/* DailyTape — daily read layout (read.css)
   Loaded only by /daily.html, on top of pro.css + board.css. */

.rd { padding: 20px 16px 92px; }

/* ---------- head ---------- */
.rd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.rd-head h1 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -.02em; margin: 6px 0 0; }
.rd-chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- the written read ---------- */
.rd-hero {
  border: 1px solid var(--line2); border-radius: 16px; padding: 22px 22px 18px;
  background: radial-gradient(620px 240px at 4% -30%, rgba(232,184,75,.10), transparent 70%),
              linear-gradient(180deg, #0C141C, #080D13);
  box-shadow: 0 30px 70px -50px #000;
}
.rd-hero .kick { margin: 0 0 6px; }
.rd-lead { font-size: clamp(17px, 2.1vw, 20px); line-height: 1.55; color: #F3F7FB; font-weight: 600; letter-spacing: -.01em; margin: 8px 0 14px; }
.rd-body p { font-size: 14.8px; line-height: 1.78; color: #B7C4D1; margin: 0 0 11px; }
.rd-body p b { color: #E9F1F8; font-weight: 650; }
.rd-watch { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.rd-watch .kick { color: var(--gold); }
.rd-watch ol { margin: 8px 0 0; padding-left: 20px; }
.rd-watch li { font-size: 13.4px; line-height: 1.7; color: #CBD6E2; margin-bottom: 4px; }
.rd-watch li b { color: #E9F1F8; }

/* ---------- compare strip ---------- */
.rd-delta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 14px; }
.rd-delta > div { background: #0A1118; padding: 13px 14px; }
.rd-delta .ph { display: block; }
.rd-delta b { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 17px; font-weight: 600; color: #EAF2FA; letter-spacing: -.01em; }
.rd-delta b.pos { color: var(--up); }
.rd-delta b.neg { color: var(--down); }
.rd-delta span { display: block; font-size: 9.5px; letter-spacing: .13em; color: var(--muted); margin-top: 5px; }
.rd-delta i { font-style: normal; font-size: 11.5px; margin-top: 4px; display: block; }
.rd-delta .pos { color: var(--up); }
.rd-delta .neg { color: var(--down); }
.rd-delta .flat { color: var(--muted); }

/* ---------- 4 numbers ---------- */
.rd-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 6px; }
.rd-nums > div { background: #0A1118; padding: 14px 15px; }
.rd-nums b { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 19px; font-weight: 600; color: #EAF2FA; }
.rd-nums span { font-size: 9.5px; letter-spacing: .13em; color: var(--muted); }

/* ---------- movers with context ---------- */
.rd-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.rd-mv h3 { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.rd-mv h3 em { font-style: normal; color: var(--gold2); margin-left: 6px; }
.rd-row { padding: 9px 0; border-bottom: 1px solid var(--line); }
.rd-row:last-child { border-bottom: 0; }
.rd-row .top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rd-row .sym { font-weight: 700; color: #E7EEF6; font-size: 14px; }
.rd-row .sym small { font-weight: 500; color: var(--muted); font-size: 11px; margin-left: 6px; }
.rd-row .px { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: #D6E1EC; }
.rd-row .px em { font-style: normal; margin-left: 8px; }
.rd-row .ctx { font-size: 11.6px; line-height: 1.55; color: #8C9AA7; margin-top: 3px; }
.rd-row .ctx b { color: #B9C6D3; font-weight: 600; }

/* ---------- watchlist ---------- */
.rd-wl { border: 1px solid var(--line2); border-radius: 14px; padding: 18px 18px 16px; background: #0A1118; }
.rd-wl .hint { font-size: 12.8px; color: var(--muted); margin: 6px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-sel { border: 1px solid var(--line2); background: #0D151D; color: #B7C4D1; border-radius: 999px; padding: 7px 13px; font-size: 12.5px; font-weight: 600; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.chip-sel.on { border-color: rgba(232,184,75,.65); background: rgba(232,184,75,.10); color: var(--gold); }
.chip-sel:active { transform: translateY(1px); }
.rd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.rd-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: #0C141C; }
.rd-card .s { font-size: 11px; letter-spacing: .1em; color: var(--gold2); }
.rd-card .p { font-family: ui-monospace, Menlo, monospace; font-size: 15px; color: #EAF2FA; margin: 5px 0 3px; }
.rd-card .c { font-size: 12px; }
.rd-empty { font-size: 12.8px; color: var(--muted); margin-top: 12px; }

/* ---------- headlines compact ---------- */
.rd-news { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.rd-news a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.rd-news .t { font-size: 13.2px; line-height: 1.5; color: #CBD6E3; }
.rd-news .m { font-size: 10px; color: var(--muted); font-family: ui-monospace, Menlo, monospace; margin-top: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .rd-mv { grid-template-columns: 1fr; gap: 10px; }
  .rd-news { grid-template-columns: 1fr; }
  .rd-delta { grid-template-columns: 1fr 1fr; }
  .rd-delta .ph { display: none; }
  .rd-nums { grid-template-columns: 1fr 1fr; }
  .rd-cards { grid-template-columns: 1fr 1fr; }
  .rd-hero { padding: 18px 16px 14px; border-radius: 14px; }
  .rd-lead { font-size: 16.5px; }
  .rd-body p { font-size: 14px; }
  .rd-head h1 { font-size: 22px; }
}
@media (min-width: 900px) {
  .rd-hero .rd-lead, .rd-hero .rd-body p, .rd-hero .rd-watch { max-width: 78ch; }
}
@media (max-width: 400px) {
  .rd-cards { grid-template-columns: 1fr; }
}
