/* =============================================================================
   Hydros.TV — shared styles for the redesigned pages ("Broadcast" direction).
   Tokens, base, site chrome (bulletin, header, mobile menu, footer, depth meter),
   buttons, section heads and the shared motion states. Page-specific styles
   live inline in each page.
   ========================================================================== */
/* =============================================================================
   Tokens
   ========================================================================== */
:root {
    color-scheme: dark;
    --bg: #07080c;
    --bg-1: #0a0c11;
    --bg-2: #0f1218;
    --bg-3: #151922;
    --ink: #eef1f6;
    --ink-2: #a6adba;
    --ink-3: #878d9c; /* >= 4.7:1 even over the hero / hunt blue glows (6.0:1 on canvas) */
    --line: rgba(238, 241, 246, .08);
    --line-2: rgba(238, 241, 246, .16);
    --cyan: #5ee7ff;
    --cyan-ink: #03141b;
    --cyan-10: rgba(94, 231, 255, .10);
    --cyan-35: rgba(94, 231, 255, .35);
    --navy: #0b1638;
    --f-display: 'Unbounded', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    --f-body: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --f-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
    --gutter: clamp(16px, 4vw, 48px);
    --maxw: 1320px;
    --header-h: 64px;
    --ease: cubic-bezier(.16, 1, .3, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* =============================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.55;
    font-feature-settings: 'ss01', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overflow-x: clip;
    /* Full-height column so the footer sits at the bottom on short pages. */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
body > main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol[role="list"], ul[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--cyan); color: var(--cyan-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.ico { width: 1em; height: 1em; flex: none; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.tnum { font-variant-numeric: tabular-nums; }
.skip-link {
    position: fixed; left: 16px; top: 12px; z-index: 100;
    padding: 10px 16px; border-radius: 999px;
    background: var(--cyan); color: var(--cyan-ink); font-weight: 600;
    transform: translateY(-160%);
    transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; outline-offset: 2px; }

/* =============================================================================
   Bulletin bar (construction)
   ========================================================================== */
.bulletin { background: var(--bg-1); border-bottom: 1px solid var(--line); font-size: 13.5px; transition: opacity .25s ease, transform .25s ease; }
.bulletin.is-leaving { opacity: 0; transform: translateY(-6px); }
html.bulletin-dismissed .bulletin { display: none; }
.bulletin-inner { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 8px; }
.bulletin-tag {
    flex: none; display: inline-flex; align-items: center; gap: 7px;
    color: var(--cyan); border: 1px solid var(--cyan-35);
    padding: 4px 9px 4px 8px; border-radius: 999px; font-size: 10px;
}
.bulletin-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bulletin-text { flex: 1; min-width: 0; color: var(--ink-2); line-height: 1.45; }
.bulletin-text strong { color: var(--ink); font-weight: 600; }
.bulletin-close {
    flex: none; width: 34px; height: 34px; display: grid; place-items: center;
    border: 1px solid transparent; border-radius: 10px; background: transparent;
    color: var(--ink-2); font-size: 18px; cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}
.bulletin-close:hover { color: var(--ink); border-color: var(--line-2); background: var(--bg-2); }
@media (max-width: 559px) { .bulletin-tag { display: none; } .bulletin-sep { display: none; } .bulletin-text strong { display: block; } }

/* =============================================================================
   Header
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(7, 8, 12, .78);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    backdrop-filter: saturate(140%) blur(16px);
    border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; border-radius: 10px; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px var(--line-2), 0 6px 24px -6px rgba(94, 231, 255, .45); }
.brand-word { font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.brand-tv { color: var(--cyan); }
.nav { margin-left: auto; display: none; }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a {
    position: relative; display: block; padding: 8px 12px; border-radius: 8px;
    font-size: 14px; font-weight: 500; color: var(--ink-2);
    transition: color .25s ease;
}
.nav a::after {
    content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px;
    background: var(--cyan); transform: scaleX(0); transform-origin: left center;
    transition: transform .5s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.onair {
    display: none; flex: none; align-items: center; gap: 9px;
    padding: 7px 12px 7px 10px; border: 1px solid var(--line-2); border-radius: 999px;
    color: var(--ink); font-size: 10.5px;
}
.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(94, 231, 255, .8); }
.live-dot i { position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--cyan); opacity: 0; }
.menu-btn {
    margin-left: auto; display: inline-flex; align-items: center; gap: 12px;
    height: 40px; padding: 0 14px 0 16px; border-radius: 999px;
    border: 1px solid var(--line-2); background: transparent; cursor: pointer;
    font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    transition: border-color .2s, background-color .2s;
}
.menu-btn:hover { border-color: var(--ink-3); background: var(--bg-2); }
.menu-lines { position: relative; width: 18px; height: 10px; }
.menu-lines span { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 8.5px; }
.menu-btn[aria-expanded="true"] .menu-lines span:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:last-child { top: 4.25px; transform: rotate(-45deg); }
@media (min-width: 600px) { .onair { display: inline-flex; } .menu-btn { margin-left: 0; } .onair { margin-left: auto; } }
@media (min-width: 960px) {
    .nav { display: block; }
    .onair { margin-left: 8px; }
    .menu-btn, .mobile-menu { display: none !important; }
}
/* No-JS: the menu button cannot work, so show the nav as a scrollable row instead. */
html:not(.js) .menu-btn { display: none; }
@media (max-width: 959px) {
    html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
    html:not(.js) .nav { display: block; order: 3; width: 100%; margin: 0; overflow-x: auto; }
    html:not(.js) .nav a { white-space: nowrap; }
}

/* Mobile menu panel */
.mobile-menu {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, var(--header-h)); z-index: 49;
    display: flex; flex-direction: column; gap: 32px;
    padding: 28px var(--gutter) 36px; overflow-y: auto; overscroll-behavior: contain;
    background: rgba(7, 8, 12, .97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
html:not(.js) .mobile-menu { display: none; }
html.menu-open { overflow: hidden; }
html.menu-open body { padding-right: var(--sbw, 0px); }
.mm-list li { border-bottom: 1px solid var(--line); overflow: hidden; }
.mm-list a { display: flex; align-items: baseline; gap: 16px; padding: 16px 0; }
.mm-list .mono { color: var(--ink-3); width: 44px; flex: none; }
.mm-label { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: -.03em; line-height: 1.1; }
.mm-list a[aria-current="page"] .mm-label { color: var(--cyan); }
.mm-list a:hover .mm-label { color: var(--cyan); }
.mm-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; color: var(--ink-3); }
.mm-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-socials a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); font-size: 17px; transition: border-color .2s, color .2s; }
.mm-socials a:hover { border-color: var(--cyan); color: var(--cyan); }

/* =============================================================================
   Page hero — glow, meta row, rule, intro, CTA row, stats strip
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(24px, 4.5vw, 56px) clamp(32px, 5vw, 64px); }
.hero::before {
    content: ''; position: absolute; z-index: -2; pointer-events: none;
    width: min(1100px, 95vw); aspect-ratio: 1; right: -18%; top: -42%;
    background: radial-gradient(closest-side, rgba(47, 111, 224, .26), rgba(11, 22, 56, .42) 46%, rgba(7, 8, 12, 0) 72%);
}
.hero::after {
    /* broadcast scanlines — very faint */
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018) 0 1px, transparent 1px 3px);
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
    mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; color: var(--ink-3); }
.hero-meta .live { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.hero-meta .live .live-dot { width: 7px; height: 7px; }
.timecode { font-variant-numeric: tabular-nums; color: var(--ink-2); letter-spacing: .1em; }
.hero-meta .topics { display: none; }
@media (min-width: 760px) { .hero-meta .topics { display: block; } }
.hero-rule { height: 1px; background: var(--line-2); margin: 16px 0 clamp(18px, 3.4vw, 40px); transform-origin: left center; }
.hero-intro { max-width: 34ch; font-size: clamp(1.125rem, 1.6vw, 1.45rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }
.hero-intro b { font-weight: 500; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(28px, 4.5vw, 56px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stat-num { font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--ink-3); }
@media (min-width: 680px) {
    .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat { border-bottom: 0; padding-top: 18px; }
    .stat + .stat { padding-left: 20px; border-left: 1px solid var(--line); }
}
/* =============================================================================
   Buttons, link CTA, empty state
   ========================================================================== */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px; border-radius: 999px;
    font-size: 15px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
    transition: color .35s var(--ease), border-color .35s var(--ease);
}
.btn .ico { font-size: 17px; transition: transform .45s var(--ease); }
.btn:hover .ico-arrow-r, .btn:hover .ico-arrow-ur { transform: translateX(3px); }
.btn:hover .ico-arrow-ur { transform: translate(2px, -2px); }
.btn::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    transform: translateX(-101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn-primary { background: var(--cyan); color: var(--cyan-ink); }
.btn-primary::before { background: var(--ink); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost::before { background: var(--cyan); }
.btn-ghost:hover { color: var(--cyan-ink); border-color: var(--cyan); }
.btn:active { translate: 0 1px; }
.link-cta {
    position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-top: 10px;
    padding: 10px 0; font-weight: 600; font-size: 15px; color: var(--ink);
    background: linear-gradient(var(--cyan), var(--cyan)) left bottom / 100% 1px no-repeat;
    transition: color .3s, background-size .5s var(--ease);
}
.link-cta .ico { font-size: 17px; transition: transform .45s var(--ease); }
.link-cta:hover { color: var(--cyan); }
.link-cta:hover .ico { transform: translateX(4px); }
.empty {
    display: grid; justify-items: start; gap: 10px; padding: clamp(32px, 6vw, 64px);
    border: 1px dashed var(--line-2); border-radius: 16px;
    background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .015) 0 10px, transparent 10px 20px);
}
.empty .mono { color: var(--cyan); }
.empty h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: -.03em; }
.empty p:last-child { color: var(--ink-2); }

/* =============================================================================
   Sections — shared editorial head
   ========================================================================== */
.section { padding-top: clamp(80px, 11vw, 160px); scroll-margin-top: var(--header-h); }
.sec-head { margin-bottom: clamp(28px, 4.5vw, 56px); }
.sec-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 14px; }
.sec-kicker { display: inline-flex; align-items: baseline; gap: 12px; color: var(--ink); font-size: 12px; }
.sec-kicker .tc { color: var(--cyan); font-variant-numeric: tabular-nums; }
.sec-kicker .dash { color: var(--ink-3); }
.sec-meta { color: var(--ink-3); }
.rule { height: 1px; background: var(--line-2); transform-origin: left center; }
.sec-row { display: grid; gap: 16px 48px; margin-top: clamp(20px, 3vw, 36px); }
.sec-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.1rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.sec-sub { color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.125rem); max-width: 42ch; }
@media (min-width: 900px) {
    .sec-row { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; }
    .sec-sub { justify-self: end; text-align: left; padding-bottom: .5em; }
}
.sec-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(24px, 3.5vw, 40px); }
.sec-foot .mono { color: var(--ink-3); }

/* =============================================================================
   Footer (classes from footer.php — styled here; alpha.css is not loaded)
   ========================================================================== */
.site-footer { margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line); padding: 28px var(--gutter) 44px; }
.footer-content { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.footer-brand { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--f-display); font-weight: 600; font-size: 14px; letter-spacing: .02em; color: var(--ink); border-radius: 6px; }
.version-footer { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer-link { font-size: 14px; color: var(--ink-2); transition: color .2s; border-radius: 4px; }
.footer-link:hover { color: var(--cyan); }
.footer-divider { width: 1px; height: 16px; background: var(--line-2); }
.footer-logo { display: inline-flex; border-radius: 4px; }
.footer-logo img { height: auto; opacity: .62; transition: opacity .25s; }
.footer-logo:hover img { opacity: 1; }

/* =============================================================================
   Depth meter — decorative scroll progress, wide screens only
   ========================================================================== */
.depth { display: none; }
@media (min-width: 1100px) {
    html.js .depth {
        position: fixed; right: clamp(8px, 1.3vw, 22px); top: 50%; z-index: 30; transform: translateY(-50%);
        display: flex; flex-direction: column; align-items: center; gap: 12px;
        color: var(--ink-3); pointer-events: none;
    }
}
.depth-zone { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.depth-track { position: relative; width: 1px; height: 200px; background: var(--line-2); }
.depth-fill { position: absolute; inset: 0; transform-origin: top center; transform: scaleY(0); background: linear-gradient(180deg, var(--cyan), rgba(94, 231, 255, .3)); }
.depth-tick { position: absolute; left: -3px; width: 7px; height: 1px; background: var(--ink-3); }
.depth-dot { position: absolute; left: -3.5px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(94, 231, 255, .8); }
.depth-val { min-width: 7ch; text-align: center; color: var(--ink-2); text-transform: none; letter-spacing: .08em; font-variant-numeric: tabular-nums; }

/* =============================================================================
   Rating meter — score, 10-segment bar, stars (render_meter() in site.php)
   ========================================================================== */
.meter { display: grid; gap: 14px; width: 100%; max-width: 460px; margin-top: 8px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.meter-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.meter-label { color: var(--ink-3); padding-bottom: .4em; }
.meter-val { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.75rem); line-height: .9; letter-spacing: -.05em; color: var(--cyan); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-val small { margin-left: .12em; font-weight: 500; font-size: .36em; letter-spacing: -.01em; color: var(--ink-3); }
.meter-bar {
    position: relative; height: 10px; background: rgba(94, 231, 255, .1);
    -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent calc(10% - 3px) 10%);
    mask-image: repeating-linear-gradient(90deg, #000 0 calc(10% - 3px), transparent calc(10% - 3px) 10%);
}
.meter-fill { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, rgba(94, 231, 255, .5), var(--cyan)); }
.stars { display: flex; flex-wrap: wrap; gap: 5px; font-size: 17px; line-height: 1; }
.star { position: relative; display: inline-block; color: rgba(238, 241, 246, .14); }
.star.is-full { color: var(--cyan); }
.star.is-half::before { content: '★'; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: var(--cyan); }

/* =============================================================================
   Feed — timeline rail of post cards (homepage journal, blogs archive)
   ========================================================================== */
.feed-main { position: relative; }
.feed-rail { position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; transform-origin: top center; background: linear-gradient(180deg, var(--cyan), rgba(94, 231, 255, .06)); }
.feed { display: grid; gap: 16px; padding-left: 30px; }
.feed-item { position: relative; }
.feed-item::before {
    content: ''; position: absolute; left: -30px; top: 26px; width: 11px; height: 11px; border-radius: 50%;
    border: 1px solid var(--cyan); background: var(--bg);
    box-shadow: 0 0 0 3px var(--bg), 0 0 14px rgba(94, 231, 255, .5);
}
.feed-item::after { content: ''; position: absolute; left: -27px; top: 29px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.feed-card {
    position: relative; display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden;
    border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-1);
    transition: border-color .35s, translate .5s var(--ease), box-shadow .35s;
}
@media (min-width: 640px) { .feed-card { grid-template-columns: minmax(180px, 36%) minmax(0, 1fr); } }
.feed-card:hover { border-color: var(--cyan-35); translate: 4px 0; box-shadow: 0 24px 48px -32px rgba(94, 231, 255, .5); }
.feed-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
@media (min-width: 640px) { .feed-thumb { aspect-ratio: auto; min-height: 176px; } }
.feed-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feed-card:hover .feed-thumb img { transform: scale(1.05); }
.feed-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 22px; }
.feed-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--cyan); }
.feed-meta .feed-no { color: var(--ink-3); }
.feed-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.2; letter-spacing: -.03em; text-wrap: balance; }
.feed-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.feed-title a:focus-visible { outline: none; }
.feed-title a:focus-visible::after { outline: 2px solid var(--cyan); outline-offset: 2px; }
.feed-sum { color: var(--ink-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feed-more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 14px; transition: color .3s; }
.feed-more .ico { font-size: 16px; transition: transform .45s var(--ease); }
.feed-card:hover .feed-more { color: var(--cyan); }
.feed-card:hover .feed-more .ico { transform: translateX(4px); }
.ph-grad {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: radial-gradient(100% 140% at 0% 0%, rgba(94, 231, 255, .2), rgba(11, 22, 56, .85) 55%, #05070c);
}
.ph-grad span { font-family: var(--f-display); font-weight: 800; letter-spacing: -.05em; color: rgba(238, 241, 246, .16); font-size: clamp(1rem, 3vw, 2rem); }

/* =============================================================================
   Radar — shiny hunt stage rings + sweep (homepage card, Shiny Dex)
   ========================================================================== */
.radar { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.radar > i { position: absolute; border-radius: 50%; }
.radar-ring { aspect-ratio: 1; border: 1px solid rgba(94, 231, 255, .14); }
.radar-ring:nth-child(1) { height: 34%; }
.radar-ring:nth-child(2) { height: 62%; }
.radar-ring:nth-child(3) { height: 90%; }
.radar-sweep {
    height: 90%; aspect-ratio: 1;
    background: conic-gradient(from 0deg, rgba(94, 231, 255, .32), rgba(94, 231, 255, 0) 24%, transparent);
    -webkit-mask-image: radial-gradient(closest-side, #000 98%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 98%, transparent 100%);
}
.radar-cross {
    inset: 0; border-radius: 0 !important;
    background: linear-gradient(rgba(94, 231, 255, .1), rgba(94, 231, 255, .1)) center / 100% 1px no-repeat,
                linear-gradient(rgba(94, 231, 255, .1), rgba(94, 231, 255, .1)) center / 1px 100% no-repeat;
}

/* =============================================================================
   Motion: shared pre-animation states (only with JS + until reveal/ready)
   ========================================================================== */
@media screen {
    html.js:not(.reveal-all) :is(.bulletin, .site-header, .sec-kicker, .sec-title, .sec-meta, .sec-sub, [data-row], [data-fx]) { opacity: 0; }
    /* page hero pieces: each page's hero intro reveals them */
    html.js:not(.reveal-all) :is(.hero-meta > *, .hero-intro, .hero-cta > *, .hero-stats .stat) { opacity: 0; }
    html.js:not(.reveal-all) :is(.rule, .hero-rule) { transform: scaleX(0); }
    /* meters opted into the shared scroll animation */
    html.js:not(.reveal-all) [data-meter] :is(.meter-val, .star) { opacity: 0; }
    html.js:not(.reveal-all) [data-meter] .meter-fill { transform: scaleX(0); }
}
/* Watchdog override (set by JS only if a reveal failed to fire) */
.reveal-all .feed-rail, .feed-main:has(.force-reveal) .feed-rail { transform: none !important; }
.force-reveal, .force-reveal :is(.sec-kicker, .sec-title, .sec-meta, .sec-sub, [data-row], [data-fx], .meter-val, .star) { opacity: 1 !important; }
.force-reveal .meter-fill, .force-reveal[data-meter] .meter-fill { transform: scaleX(var(--p, 0)) !important; }
.force-reveal:is([data-row], [data-fx]), .force-reveal :is([data-word], [data-char], [data-row], [data-fx], .rule) { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
    /* 0s (not .01ms): a non-zero duration would switch on `transition: all` for every element, turning each
       per-frame inline style anime.js writes into a new CSS transition. Delay reset so the menu hides at once. */
    *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
@media print {
    .site-header, .bulletin, .mobile-menu, .depth { display: none !important; }
    [data-meter] :is(.meter-val, .star) { opacity: 1 !important; transform: none !important; }
    .meter-fill { transform: scaleX(var(--p, 0)) !important; }
    /* scroll-linked animations pre-render their "from" state inline; never print hidden content */
    html.js :is(.sec-kicker, .sec-title, .sec-meta, .sec-sub, [data-row], [data-fx], [data-word], [data-char], .rule,
        .hero-meta > *, .hero-intro, .hero-cta > *, .hero-stats .stat, .hero-rule) { opacity: 1 !important; transform: none !important; }
}
