/* ======================================================
c050-reel.css — REEL UI (LIGHT) v1.1
CENTERED REDDIT-STYLE FEED
FULL REPLACE
====================================================== */

/* =========================
   REEL CONTAINER
========================= */
.bm-reel{
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;

  width: 100%;
  min-width: 0;

  /* ✅ REDDIT STYLE CENTER COLUMN */
  max-width: 760px;          /* readable feed width */
  margin-left: auto;
  margin-right: auto;
}

/* list */
.bm-reel__list{
  padding: 14px;
  display: grid;
  gap: 12px;
}

/* =========================
   CARD
========================= */
.bm-reelCard{
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 12px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);

  width: 100%;
  min-width: 0;
}

.bm-reelCard:hover{
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* =========================
   HEADER ROW
========================= */
.bm-reelCard__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.bm-reelCard__who{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bm-handle{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-dot{
  color: var(--muted);
  font-size: 12px;
  line-height: 1;
  transform: translateY(-1px);
}

.bm-time{
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* =========================
   BODY
========================= */
.bm-reelCard__body{
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 14.5px;
  color: var(--text);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================
   FOOT ACTIONS
========================= */
.bm-reelCard__foot{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
}

.bm-reelBtn{
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel2);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.bm-reelBtn:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,.35);
  background: #ffffff;
}

.bm-reelBtn:active{
  transform: translateY(0);
}

.bm-reelBtn--like::before{
  content: "♥";
  margin-right: 8px;
  font-size: 12px;
  color: rgba(37,99,235,.85);
}

.bm-reelBtn--reply::before{
  content: "↩";
  margin-right: 8px;
  font-size: 12px;
  color: rgba(37,99,235,.85);
}

/* =========================
   SMALL SCREENS
========================= */
@media (max-width: 720px){

  /* full width on mobile like Reddit app */
  .bm-reel{
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .bm-reel__list{ padding: 12px; }
  .bm-reelCard{ padding: 12px; }
  .bm-handle{ max-width: 160px; }
}

