/* ==========================================================================
   NJIC Conference Schedule — a focused, modern scheduler.
   Palette: NJIC royal blue + red (from their seal) on a cool off-white.
   Type: Barlow Condensed (display) + Inter (UI/body).
   ========================================================================== */
:root {
    --navy: #0e1cc4;        /* NJIC royal blue (from their seal) */
    --navy-700: #1526d6;
    --navy-600: #2233ea;
    --gold: #d21f2c;        /* NJIC red accent */
    --gold-600: #a8121e;
    --ink: #182231;
    --muted: #5d6a7d;
    --faint: #8a95a6;
    --line: #e3e8f0;
    --line-soft: #eef1f7;
    --bg: #f5f7fb;
    --card: #ffffff;
    --shadow-sm: 0 1px 2px rgba(15, 42, 85, .06), 0 4px 14px rgba(15, 42, 85, .06);
    --shadow-md: 0 10px 34px rgba(15, 42, 85, .12);
    --radius: 14px;
    --wrap: 1120px;
    --disp: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--body); font-size: 16px; line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--navy-600); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--disp); font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
    text-transform: uppercase; text-decoration: none; cursor: pointer;
    padding: 10px 20px; border-radius: 9px; border: 1.5px solid transparent; transition: all .16s ease;
    white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--soft { background: #fff; color: var(--navy-600); border-color: var(--line); font-family: var(--body); font-weight: 600; text-transform: none; font-size: .9rem; box-shadow: var(--shadow-sm); }
.btn--soft:hover { border-color: var(--navy-600); color: var(--navy); }
.btn--lg { padding: 13px 26px; font-size: 1.14rem; }
.btn--sm { padding: 8px 14px; font-size: .85rem; border-radius: 8px; }

/* ---------- header ---------- */
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-tag { font-family: var(--disp); font-weight: 600; font-size: .92rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); }
.head-actions { display: flex; align-items: center; gap: 18px; }
.link-muted { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.link-muted:hover { color: var(--navy); }

/* ---------- hero ---------- */
.hero {
    color: #fff; overflow: hidden; position: relative;
    background:
        radial-gradient(40rem 24rem at 88% -20%, rgba(255,255,255,.12), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: linear-gradient(90deg, var(--gold) 0 40%, #fff 40% 60%, var(--gold) 60%); }
.hero-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: center; padding: 58px 22px 62px; }
.hero-copy h1 { font-family: var(--disp); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: .98; letter-spacing: .005em; margin: 0 0 16px; text-transform: uppercase; }
.hero-copy p { font-size: 1.08rem; color: #cdd8ec; max-width: 46ch; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-stats li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px 18px; }
.hero-stats b { display: block; font-family: var(--disp); font-weight: 700; font-size: 2.1rem; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #b9c5db; font-weight: 600; }

/* The times the schedule was actually checked today, shown as a receipt rather
   than a promised cadence - a missed run leaves a visible gap, by design. */
.refresh-strip {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
    margin: 12px 0 0; padding: 10px 14px;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 10px;
    font-size: .8rem; color: #dce5f5; font-variant-numeric: tabular-nums;
}
.refresh-strip:empty { display: none; }
.refresh-strip .rs-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb0cc; font-weight: 700; margin-right: 2px; }
.refresh-strip .rs-time { font-weight: 600; }
.refresh-strip .rs-time.is-warn { color: #ffd27a; }
.refresh-strip .rs-time.is-warn::after { content: '*'; }
.refresh-strip i { color: #7e8fab; font-style: normal; }
.refresh-strip .rs-tz { font-size: .68rem; letter-spacing: .1em; color: #9fb0cc; margin-left: 2px; }
@media (max-width: 720px) { .refresh-strip { font-size: .74rem; } }

/* ---------- controls ---------- */
.board { padding: 30px 0 70px; }
.controls {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 14px 16px; box-shadow: var(--shadow-sm); margin-bottom: 22px;
    position: sticky; top: 74px; z-index: 40;
}
.view-toggle { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.view-btn {
    font-family: var(--disp); font-weight: 600; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em;
    color: var(--muted); background: transparent; border: 0; border-radius: 8px; padding: 7px 16px; cursor: pointer; transition: all .15s;
}
.view-btn.is-on { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.filter {
    font-family: var(--body); font-size: .92rem; color: var(--ink); background: #fff;
    border: 1px solid var(--line); border-radius: 9px; padding: 9px 12px; min-width: 0; transition: border-color .15s, box-shadow .15s;
}
.filter:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(30,75,143,.14); }
select.filter { padding-right: 30px; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235d6a7d' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 11px center; }
.filter--search { flex: 1; min-width: 140px; }
.filter--date { min-width: 150px; cursor: pointer; }
.filter-clear { background: none; border: 0; color: var(--gold-600); font-weight: 600; font-size: .88rem; cursor: pointer; padding: 6px; }
.controls-right { margin-left: auto; }

/* ---------- agenda (upcoming list) ---------- */
.agenda { display: flex; flex-direction: column; gap: 8px; }
.day-head {
    display: flex; align-items: baseline; gap: 12px; margin: 22px 2px 8px;
    font-family: var(--disp); text-transform: uppercase;
}
.day-head:first-child { margin-top: 2px; }
.day-head b { font-size: 1.35rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.day-head.is-today b { color: var(--gold-600); }
.day-head span { font-size: .78rem; letter-spacing: .12em; color: var(--faint); font-weight: 600; }
.day-head em { margin-left: auto; font-style: normal; font-size: .74rem; letter-spacing: .1em; color: var(--faint); font-weight: 600; font-family: var(--body); }

.game {
    display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 16px;
    background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--navy-600);
    border-radius: 11px; padding: 13px 16px; transition: box-shadow .15s, transform .15s, border-color .15s;
}
.game:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.game.is-off { border-left-color: #c23b3b; opacity: .82; }
.game-time { font-family: var(--disp); font-weight: 600; font-size: 1.06rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.game-time small { display: block; font-family: var(--body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
.game-match { min-width: 0; }
.game-teams { font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.game-teams .home { font-weight: 700; }
.game-teams .vs { color: var(--faint); font-weight: 500; padding: 0 6px; font-size: .9rem; }
.game-meta { margin-top: 3px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: #eef2fa; color: var(--navy-600); border: 1px solid #e0e7f4; }
.pill--sport { background: var(--navy); color: #fff; border-color: var(--navy); }
.pill--off { background: #fbe7e7; color: #a52a2a; border-color: #f3cccc; }
.game-side { font-family: var(--disp); font-size: .92rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.game-side.home { color: var(--gold-600); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.02rem; }
.load-more { display: block; margin: 22px auto 0; }

/* ---------- calendar (month grid) ---------- */
.cal-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 6px 0 18px; }
.cal-title { font-family: var(--disp); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; color: var(--navy); margin: 0; min-width: 240px; text-align: center; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-sm); }
.cal-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-dow { text-align: center; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding-bottom: 4px; }
.cal-cell {
    aspect-ratio: 1 / .82; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 9px; cursor: default; display: flex; flex-direction: column; transition: all .13s;
}
.cal-cell.empty-cell { background: transparent; border: 0; }
.cal-cell.has-games { cursor: pointer; }
.cal-cell.has-games:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.cal-cell.is-selected { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.cal-cell.is-today .cal-num { color: var(--gold-600); }
.cal-num { font-family: var(--disp); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.cal-count { margin-top: auto; font-size: .72rem; font-weight: 600; color: var(--navy-600); }
.cal-count b { font-family: var(--disp); font-size: 1.1rem; }
.cal-day { margin-top: 22px; }
.cal-day .day-head { margin-top: 0; }
.cal-hint { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- subscribe drawer ---------- */
.sub-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15,42,85,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.sub { position: relative; width: 100%; max-width: 480px; background: #fff; border-radius: 18px; padding: 30px 30px 26px; box-shadow: var(--shadow-md); animation: subin .25s ease; }
@keyframes subin { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.sub-x { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--faint); cursor: pointer; }
.sub-x:hover { color: var(--ink); }
.sub h2 { font-family: var(--disp); font-weight: 700; font-size: 1.7rem; color: var(--navy); text-transform: uppercase; margin: 0 0 8px; }
.sub-lede { color: var(--muted); font-size: .96rem; margin: 0 0 20px; }
.sub-pick { margin-bottom: 18px; }
.sub-pick label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 7px; }
.sub-pick .filter { width: 100%; font-size: 1rem; padding: 12px 14px; }
.sub-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.sub-btn {
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none;
    background: #fff; border: 1.5px solid var(--line); border-radius: 11px; padding: 14px 12px; transition: all .15s;
}
.sub-btn:hover { border-color: var(--navy-600); background: #f7f9fd; }
.sub-copy { display: flex; gap: 8px; margin-bottom: 14px; }
.sub-url { flex: 1; font-family: var(--body); font-size: .82rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; }
.sub-foot { font-size: .84rem; color: var(--muted); margin: 0; }
.sub-foot em { font-style: normal; font-weight: 600; color: var(--navy); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #c6d1e6; margin-top: 20px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding: 40px 22px 26px; }
.foot-inner b { color: #fff; font-family: var(--disp); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; }
.foot-inner p { font-size: .86rem; max-width: 52ch; margin: 8px 0 0; color: #a9b6d0; }
.foot-updated { color: #ffffff; font-weight: 700; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-links a { color: #c6d1e6; text-decoration: none; font-weight: 600; font-size: .92rem; }
.foot-links a:hover { color: #fff; }
.foot-credit { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #93a2c2; }
.foot-credit .atq { display: inline-flex; align-items: center; gap: .55em; color: #93a2c2; text-decoration: none; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transition: color .18s ease; }
.foot-credit .atq:hover { color: #cfd6da; }
.foot-credit .atq-logo { height: 22px; width: auto; display: block; transition: opacity .18s ease; }
.foot-credit .atq:hover .atq-logo { opacity: .85; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 40px 22px 46px; }
    .controls { position: static; }
    .controls-right { margin-left: 0; width: 100%; }
    .controls-right .btn { width: 100%; }
}
@media (max-width: 560px) {
    .brand-tag { display: none; }
    .brand-logo { height: 38px; }
    .head-actions { gap: 10px; }
    .head-actions .link-muted { font-size: .78rem; }
    .game { grid-template-columns: 72px 1fr; }
    .game-side { display: none; }
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .cal-grid { gap: 4px; }
    .cal-cell { padding: 5px 6px; }
    .cal-count { font-size: .64rem; }
    .sub-actions { grid-template-columns: 1fr; }
    .filters { flex-direction: column; align-items: stretch; }
    .filters label.sr-only {
        position: static; width: auto; height: auto; overflow: visible; clip: auto;
        white-space: normal; margin: 4px 0 2px;
        font-size: .72rem; font-weight: 700; color: var(--muted);
        letter-spacing: .05em; text-transform: uppercase;
    }
    .filters label.sr-only:first-child { margin-top: 0; }
    .filters .filter { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- team logos in game cards ---------- */
.game-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 2px; }
.team { display: inline-flex; align-items: center; gap: 7px; }
.team.home .team-name { font-weight: 700; }
.team-logo { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; }
@media (max-width: 560px) { .team-logo { width: 20px; height: 20px; flex-basis: 20px; } }

/* ---------- view toggle: draw attention to the Calendar view ---------- */
.view-btn { display: inline-flex; align-items: center; gap: 7px; }
.view-icon { width: 15px; height: 15px; flex: 0 0 15px; }
/* the unselected Calendar tab gets the red brand accent + a gentle pulse so the
   "money" feature never reads as disabled. Once selected it takes the navy fill. */
.view-btn[data-view="calendar"]:not(.is-on) {
    color: var(--gold);
    background: #fdecec;
    box-shadow: inset 0 0 0 1.5px rgba(210,31,44,.42);
    animation: calpulse 2.4s ease-in-out infinite;
}
.view-btn[data-view="calendar"]:not(.is-on):hover { background: #fbd9d9; color: var(--gold-600); }
@keyframes calpulse {
    0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(210,31,44,.42), 0 0 0 0 rgba(210,31,44,.30); }
    50%      { box-shadow: inset 0 0 0 1.5px rgba(210,31,44,.60), 0 0 0 5px rgba(210,31,44,0); }
}


/* ---------- printable schedule ---------- */
#print-area { display: none; }
@media print {
  body { background: #fff; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; color: #000; font-family: var(--body); }
  .print-head h1 { font-family: var(--disp); font-size: 21pt; margin: 0 0 2pt; text-transform: uppercase; letter-spacing: .01em; }
  .print-head h2 { font-family: var(--disp); font-size: 13pt; color: #333; margin: 0 0 3pt; font-weight: 600; }
  .print-head p { font-size: 9pt; color: #555; margin: 0 0 14pt; border-bottom: 2pt solid #000; padding-bottom: 8pt; }
  .print-day { font-family: var(--disp); font-size: 11.5pt; margin: 13pt 0 3pt; text-transform: uppercase; page-break-after: avoid; }
  .print-tbl { width: 100%; border-collapse: collapse; font-size: 9.5pt; page-break-inside: auto; }
  .print-tbl td { padding: 3.5pt 8pt 3.5pt 0; vertical-align: top; border-bottom: .5pt solid #d8d8d8; }
  .print-tbl tr { page-break-inside: avoid; }
  .pt-time { width: 62pt; white-space: nowrap; font-weight: 700; }
  .pt-match span { color: #777; font-size: 8.5pt; padding: 0 2pt; }
  .pt-meta { width: 160pt; color: #444; text-align: right; }
}

/* ==========================================================================
   Phase 2 — prominent view tab-cards, Full Schedule, redesigned subscribe
   drawer (matches the conference sites). Later in the file, so these override
   the earlier segmented-toggle / drawer rules.
   ========================================================================== */
.view-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; background: none; border: 0; padding: 0; }
.view-btn { display: flex; align-items: center; gap: 13px; justify-content: flex-start; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 13px; padding: 14px 18px; cursor: pointer; font-family: var(--body); color: var(--muted); text-transform: none; letter-spacing: 0; transition: border-color .16s, background .16s; }
.view-btn .view-icon { width: 21px; height: 21px; flex: 0 0 21px; color: var(--navy); }
.vb-tx { min-width: 0; }
.vb-tx b { display: block; font-family: var(--disp); font-weight: 700; font-size: 1.18rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); line-height: 1.05; }
.vb-tx small { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; line-height: 1.25; }
.view-btn.is-on { background: var(--navy); border-color: var(--navy); box-shadow: none; }
.view-btn.is-on .view-icon, .view-btn.is-on .vb-tx b { color: #fff; }
.view-btn.is-on .vb-tx small { color: rgba(255,255,255,.82); }
.view-btn:not(.is-on):hover { border-color: var(--navy); }
.view-btn[data-view="full"]:not(.is-on) { border-color: var(--gold); background: #fdecec; animation: njpulse 2.6s ease-in-out infinite; }
.view-btn[data-view="full"]:not(.is-on) .view-icon, .view-btn[data-view="full"]:not(.is-on) .vb-tx b { color: var(--gold); }
.view-btn[data-view="full"]:not(.is-on):hover { background: #fbd9d9; }
@keyframes njpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(210,31,44,.34); } 50% { box-shadow: 0 0 0 6px rgba(210,31,44,0); } }
.controls { position: static; margin-bottom: 22px; }
.full-hint { background: var(--bg); border: 1px solid var(--line); border-radius: 11px; padding: 13px 16px; color: var(--muted); font-size: .93rem; margin: 0 0 16px; }
.filter--school { flex: 1; min-width: 180px; }
.day-head.is-past b { color: var(--muted); }
.game.is-past { opacity: .68; border-left-color: var(--line); }
.game.is-past:hover { opacity: 1; }
/* redesigned subscribe drawer */
.sub { max-height: calc(100vh - 40px); overflow-y: auto; }
.sub-sect { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.sub-h3 { display: flex; align-items: center; gap: 9px; font-family: var(--disp); font-weight: 600; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); margin: 0 0 12px; }
.sub-tag { font-family: var(--body); font-weight: 700; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); background: #fdecec; border: 1px solid #f5c6cb; border-radius: 999px; padding: 3px 8px; }
.sub-tag--muted { color: var(--muted); background: var(--bg); border-color: var(--line); }
.sub-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.sub-row { display: flex; align-items: flex-start; gap: 12px; text-decoration: none; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, background .15s; cursor: pointer; }
.sub-row:hover { border-color: var(--navy); background: #f7f8ff; }
.sub-row-ic { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--disp); font-weight: 700; font-size: 1.05rem; color: #fff; margin-top: 1px; }
.sub-ic-g { background: #4285f4; } .sub-ic-a { background: #111; } .sub-ic-o { background: #0a5ac0; } .sub-ic-d { background: var(--navy); }
.sub-row-tx { min-width: 0; }
.sub-row-tx b { display: block; font-size: .98rem; color: var(--ink); font-weight: 700; line-height: 1.25; }
.sub-row-tx small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 1px; }
.sub-row-tx em { font-style: normal; font-weight: 600; color: var(--navy); }
.sub-note { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45; }
.sub-note em { font-style: normal; font-weight: 600; color: var(--navy); }
.sub-note strong { color: var(--gold-600); }
.sub-rss-url { flex: 1; min-width: 0; font-family: var(--body); font-size: .82rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; overflow: hidden; text-overflow: ellipsis; }
.sub-sect--rss { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }
.sub-sect--rss .sub-h3 { font-size: 1rem; margin-bottom: 8px; }
@media (max-width: 560px) { .view-toggle { grid-template-columns: 1fr; gap: 8px; } }
