:root{--ink:#101114;--muted:#656a73;--paper:#f7f7f5;--card:#fff;--line:#e7e7e3;--red:#e51c2b;--red2:#b90f1c;--navy:#0d1b2b;--gold:#ffca3a;--radius:18px;--shadow:0 16px 40px rgba(16,17,20,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.45}.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}img{display:block;width:100%;object-fit:cover}.shell{width:min(1240px,calc(100% - 36px));margin:auto}.narrow{width:min(820px,calc(100% - 36px))}.page-pad{padding-top:38px;padding-bottom:48px}.section-pad{padding-top:42px;padding-bottom:42px}.breaking-bar{background:#0e1014;color:#fff;font-size:13px}.breaking-inner{height:36px;display:flex;align-items:center;gap:14px}.breaking-label{display:flex;align-items:center;gap:7px;font-weight:900;letter-spacing:.08em;font-size:11px}.breaking-label i,.latest-pill i{width:8px;height:8px;border-radius:50%;background:#ff3043;box-shadow:0 0 0 4px rgba(255,48,67,.16)}.breaking-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.83}.breaking-inner>a{margin-left:auto;font-weight:700;opacity:.92}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.header-main{height:78px;display:flex;align-items:center;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:9px;font-weight:950;letter-spacing:-.045em}.brand>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--red);color:#fff;font-size:23px;font-style:italic}.brand strong{font-size:27px}.brand small{align-self:flex-start;margin-top:11px;color:var(--red);font-size:9px;letter-spacing:.14em}.header-actions{display:flex;align-items:center;gap:10px}.icon-btn,.menu-btn{width:42px;height:42px;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:23px;cursor:pointer}.menu-btn{display:none}.latest-pill{height:42px;padding:0 15px;display:flex;align-items:center;gap:9px;border-radius:12px;background:#f3f3f1;font-weight:800;font-size:13px}.main-nav{border-top:1px solid #f1f1ef}.nav-scroll{display:flex;gap:25px;align-items:center;height:44px;overflow:auto;scrollbar-width:none}.nav-scroll::-webkit-scrollbar{display:none}.nav-scroll a{font-size:13px;font-weight:800;white-space:nowrap;color:#333841}.nav-scroll a:hover{color:var(--red)}.search-overlay{position:fixed;inset:0;background:rgba(12,14,17,.94);z-index:100;display:none;place-items:center;padding:24px;color:#fff}.search-overlay.open{display:grid}.search-overlay form{width:min(760px,100%)}.search-overlay label{display:block;font-size:13px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;margin-bottom:14px;color:#ff6673}.search-overlay form>div{display:flex;background:#fff;border-radius:18px;padding:8px}.search-overlay input{flex:1;border:0;outline:0;font-size:24px;padding:15px;color:#111}.search-overlay form button{border:0;background:var(--red);color:#fff;border-radius:12px;padding:0 22px;font-weight:900}.search-overlay p{color:#aeb3bb}.search-close{position:absolute;top:24px;right:28px;background:transparent;border:0;color:#fff;font-size:42px;cursor:pointer}.hero-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(320px,.75fr);gap:20px}.hero-story{border-radius:24px;overflow:hidden;background:#111;min-height:560px}.hero-media{position:relative;display:block;height:100%}.hero-media>img{height:560px}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.06) 35%,rgba(0,0,0,.88) 100%)}.hero-copy{position:absolute;left:34px;right:34px;bottom:30px;color:#fff}.hero-copy h1{font-size:clamp(34px,4vw,61px);line-height:.99;letter-spacing:-.055em;max-width:880px;margin:12px 0 12px}.hero-copy p{font-size:16px;max-width:680px;color:#e7e7e7;margin:0 0 14px}.hero-copy>div:last-child{font-size:12px;color:#c7c7c7}.hero-cat{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.live-chip{display:inline-flex;background:var(--red);color:#fff;padding:6px 8px;border-radius:7px;font-size:10px;font-weight:950;letter-spacing:.09em;margin-right:8px}.hero-side{display:grid;grid-template-rows:repeat(4,1fr);gap:12px}.mini-story{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.mini-story>a{display:grid;grid-template-columns:145px 1fr;height:100%}.mini-story img{height:100%;min-height:122px}.mini-story div{padding:14px}.mini-story span,.eyebrow{color:var(--red);font-size:10px;font-weight:950;letter-spacing:.09em;text-transform:uppercase}.mini-story h3{font-size:16px;line-height:1.13;letter-spacing:-.025em;margin:5px 0 10px}.mini-story small{font-size:10px;color:var(--muted)}.trend-strip{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:26px 0 28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head.compact{margin-bottom:18px}.section-head h2{font-size:30px;letter-spacing:-.04em;margin:4px 0 0}.section-head>a{font-size:13px;font-weight:900}.section-kicker{display:block;color:var(--red);font-size:11px;font-weight:950;letter-spacing:.12em}.section-kicker.hot{color:#ff3043}.section-kicker.light{color:#ff8f98}.trend-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.trend-chip{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:14px;background:#fafaf9}.trend-chip b{font-size:18px;color:#c6c8cc}.trend-chip span{font-size:13px;font-weight:850;line-height:1.25}.content-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(290px,.8fr);gap:34px}.story-list{display:grid;gap:16px}.story-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.2s ease}.story-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.story-media{display:block;overflow:hidden}.story-card img{aspect-ratio:16/10;transition:.35s ease}.story-card:hover img{transform:scale(1.025)}.story-body{padding:16px}.story-card h3{font-size:20px;line-height:1.08;letter-spacing:-.03em;margin:6px 0 8px}.story-card p{color:var(--muted);font-size:13px;margin:0 0 13px}.story-meta{display:flex;gap:7px;font-size:10px;color:#8b8f96}.story-card.horizontal{display:grid;grid-template-columns:230px 1fr}.story-card.horizontal .story-media img{height:100%;aspect-ratio:auto;min-height:165px}.story-card.horizontal .story-body{padding:18px 20px}.story-card.horizontal h3{font-size:23px}.sidebar{display:grid;align-content:start;gap:20px}.sidebar-card,.searching-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}.sidebar-card h3{font-size:24px;line-height:1.02;margin:6px 0 18px;letter-spacing:-.035em}.rank-item{display:flex;gap:15px;padding:14px 0;border-top:1px solid var(--line)}.rank-item b{font-size:28px;color:#d2d3d6;line-height:1}.rank-item span{font-size:14px;font-weight:850;line-height:1.22}.rank-item small{display:block;color:var(--red);font-size:9px;margin-top:6px;text-transform:uppercase;letter-spacing:.08em}.searching-card{background:linear-gradient(145deg,#12233a,#0b1018);color:#fff;border:0;padding:25px}.searching-card>span{font-size:10px;font-weight:950;letter-spacing:.11em;color:#ff6f7c}.searching-card h3{font-size:29px;letter-spacing:-.045em;line-height:1.03;margin:10px 0}.searching-card p{font-size:13px;color:#c5ccd5}.searching-card a{display:inline-block;margin-top:12px;font-weight:900;font-size:12px}.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.newsletter{background:#101419;color:#fff;margin-top:40px}.newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:30px;padding-top:50px;padding-bottom:50px}.newsletter h2{font-size:35px;letter-spacing:-.045em;margin:6px 0 5px}.newsletter p{margin:0;color:#bfc4cb}.ghost-btn,.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:13px 18px;font-weight:900;font-size:13px;border:0;cursor:pointer}.ghost-btn{border:1px solid #414751;color:#fff}.primary-btn{background:var(--red);color:#fff}.primary-btn:hover{background:var(--red2)}.secondary-btn{background:#fff;border:1px solid var(--line);color:var(--ink)}.site-footer{background:#07090c;color:#fff;padding:44px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-brand{margin-bottom:14px}.footer-grid p{max-width:430px;color:#999fa8}.footer-grid h4{font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#828993}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:10px}.footer-grid a{font-size:13px;color:#d2d5d9}.footer-bottom{border-top:1px solid #1d2229;margin-top:30px;padding-top:17px;display:flex;justify-content:space-between;font-size:10px;color:#747b84}.category-title{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:26px}.category-title h1{font-size:clamp(46px,8vw,82px);line-height:.94;letter-spacing:-.065em;margin:8px 0}.category-title p{max-width:680px;color:var(--muted)}.category-cards{row-gap:24px}.search-page-form{display:flex;gap:10px;margin-bottom:18px}.search-page-form input{flex:1;border:1px solid var(--line);background:#fff;border-radius:13px;padding:15px;font-size:16px}.search-page-form button{border:0;background:var(--ink);color:#fff;padding:0 22px;border-radius:12px;font-weight:900}.result-count{color:var(--muted);font-size:13px}.article-shell{display:grid;grid-template-columns:minmax(0,830px) minmax(250px,1fr);gap:50px;padding-top:42px}.article-header h1{font-size:clamp(42px,6vw,76px);line-height:.98;letter-spacing:-.06em;margin:12px 0 17px}.article-dek{font-size:20px;line-height:1.35;color:#555b64;max-width:760px}.byline{display:flex;align-items:center;gap:11px;margin:20px 0 24px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff;font-weight:950}.byline b{display:block;font-size:12px}.byline span{display:block;font-size:11px;color:var(--muted);margin-top:2px}.article-hero{margin:0 0 28px}.article-hero img{border-radius:22px;aspect-ratio:16/9}.article-content{font-family:Georgia,"Times New Roman",serif;font-size:19px;line-height:1.72;color:#24272c}.article-content .lead{font-size:22px}.article-content h2,.article-content h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.04em;line-height:1.08;margin:36px 0 12px}.article-content h2{font-size:34px}.article-content h3{font-size:26px}.article-content a{color:var(--red);text-decoration:underline}.article-content blockquote{border-left:4px solid var(--red);margin:30px 0;padding:3px 0 3px 22px;font-size:24px;font-weight:700}.article-tags{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);margin-top:35px;padding-top:22px}.article-tags a{background:#ececea;padding:7px 10px;border-radius:8px;font-size:11px;font-weight:800}.article-aside{padding-top:115px}.sticky-side{position:sticky;top:145px}.aside-story{display:flex;gap:12px;border-top:1px solid var(--line);padding:15px 0}.aside-story b{color:#c6c8cc;font-size:20px}.aside-story span{font-size:13px;font-weight:850;line-height:1.22}.legal h1{font-size:52px;line-height:1;letter-spacing:-.05em}.legal h2{margin-top:32px}.legal p{font-size:17px;color:#50555d}.install-card,.admin-login-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:34px;box-shadow:var(--shadow)}.install-card h1,.admin-login-card h1{font-size:38px;letter-spacing:-.045em;margin:8px 0}.stack-form{display:grid;gap:14px;margin-top:24px}.stack-form label{font-size:12px;font-weight:850}.stack-form input{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:13px;font-size:15px}.stack-form small{display:block;color:var(--muted);margin-top:5px}.notice{padding:12px 14px;border-radius:10px;margin:15px 0;font-size:13px}.notice.success{background:#eaf8ef;color:#14753d}.notice.error{background:#fff0f1;color:#a31520}.admin-auth{min-height:68vh;display:grid;place-items:center;padding:40px 18px}.admin-login-card{width:min(470px,100%)}.admin-brand small{color:#7c838c}.admin-page{min-height:72vh}.admin-top{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.admin-top h1{font-size:42px;letter-spacing:-.05em;margin:6px 0}.admin-top p{margin:0;color:var(--muted)}.admin-actions{display:flex;gap:9px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px}.stat-card span{font-size:11px;color:var(--muted);font-weight:850}.stat-card b{display:block;font-size:32px;letter-spacing:-.04em;margin-top:8px}.admin-panel,.upload-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.panel-head h2{margin:0}.panel-head a{font-size:12px;font-weight:900}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;border-top:1px solid var(--line);padding:13px 10px;font-size:12px}th{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em}.status{padding:5px 7px;border-radius:7px;font-size:9px;font-weight:900;text-transform:uppercase}.status.published{background:#eaf8ef;color:#15703d}.status.draft{background:#f1f1f1;color:#666}.upload-card{display:grid;grid-template-columns:1.2fr .8fr;gap:26px}.upload-form{display:grid;gap:14px}.drop-zone{border:2px dashed #d5d6d9;border-radius:16px;padding:42px 22px;text-align:center;cursor:pointer;background:#fafafa}.drop-zone input{display:none}.drop-zone span,.drop-zone b,.drop-zone small{display:block}.drop-icon{font-size:34px}.drop-zone small{color:var(--muted);margin-top:4px}.format-help pre{background:#11161d;color:#dbe3ee;border-radius:13px;padding:16px;overflow:auto;font-size:11px}.format-help p{font-size:12px;color:var(--muted)}.import-result{display:grid;gap:4px;background:#eaf8ef;color:#15703d;padding:15px;border-radius:12px;margin-bottom:16px}.import-result b{font-size:20px}.import-result small{color:#8f2a32}.category-block{border-top:1px solid var(--line)}@media(max-width:980px){.hero-grid,.content-grid,.article-shell{grid-template-columns:1fr}.hero-side{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}.mini-story>a{grid-template-columns:130px 1fr}.trend-row,.cards-4{grid-template-columns:repeat(2,1fr)}.article-aside{padding-top:0}.sticky-side{position:static}.upload-card{grid-template-columns:1fr}.cards-3{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.shell,.narrow{width:min(100% - 24px,1240px)}.breaking-inner{height:32px}.breaking-text{font-size:11px}.breaking-inner>a{display:none}.header-main{height:62px}.brand>span{width:32px;height:32px;border-radius:10px;font-size:19px}.brand strong{font-size:21px}.brand small{font-size:7px;margin-top:8px}.latest-pill{display:none}.menu-btn{display:block}.main-nav{display:none}.main-nav.open{display:block}.nav-scroll{height:auto;padding:10px 0 13px;flex-wrap:wrap;gap:12px 18px}.hero-wrap{padding-top:18px}.hero-story{min-height:455px}.hero-media>img{height:455px}.hero-copy{left:20px;right:20px;bottom:20px}.hero-copy h1{font-size:38px}.hero-copy p{font-size:13px}.hero-side{grid-template-columns:1fr}.mini-story>a{grid-template-columns:120px 1fr}.mini-story img{min-height:112px}.trend-row{display:flex;overflow:auto;padding-bottom:3px}.trend-chip{min-width:260px}.section-head h2{font-size:25px}.content-grid{gap:20px}.story-card.horizontal{grid-template-columns:120px 1fr}.story-card.horizontal .story-media img{min-height:138px}.story-card.horizontal .story-body{padding:13px}.story-card.horizontal h3{font-size:17px}.story-card.horizontal p{display:none}.cards-4,.cards-3{grid-template-columns:1fr 1fr;gap:10px}.story-card h3{font-size:16px}.story-card p{display:none}.story-body{padding:12px}.newsletter-inner{display:block}.newsletter .ghost-btn{margin-top:20px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:4px}.article-shell{padding-top:24px}.article-header h1{font-size:43px}.article-dek{font-size:17px}.article-content{font-size:18px}.article-content .lead{font-size:20px}.article-hero img{border-radius:14px}.article-aside{border-top:1px solid var(--line);padding-top:24px}.admin-top{align-items:flex-start;flex-direction:column}.stats-grid{grid-template-columns:1fr 1fr}.admin-actions{width:100%;flex-wrap:wrap}.search-overlay input{font-size:18px}.category-title h1{font-size:52px}}@media(max-width:460px){.cards-4,.cards-3{grid-template-columns:1fr}.story-card:not(.horizontal) .story-media img{aspect-ratio:16/9}.hero-copy h1{font-size:35px}.mini-story h3{font-size:15px}.admin-login-card,.install-card{padding:24px}.stats-grid{grid-template-columns:1fr 1fr}.site-footer{padding-top:34px}}

/* ===== BILIBILII responsive media-frame fix — 2026-09-09 =====
   All editorial featured images are authored at 16:9. Keep that ratio intact
   across hero, side stories, lists, grids and article pages so thumbnails do
   not stretch or crop unpredictably on phones, tablets, laptops or desktops. */

/* Safe media defaults for editorial image slots */
.hero-media>img,
.mini-story img,
.story-card .story-media img,
.article-hero img {
  object-position: center center;
  object-fit: contain;
  background: #0e1014;
}

/* Desktop/laptop hero: true 16:9 image canvas; no forced 560px crop */
.hero-grid {
  align-items: start;
}
.hero-story {
  min-height: 0;
  aspect-ratio: 16 / 9;
}
.hero-media {
  width: 100%;
  height: 100%;
}
.hero-media>img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* Right-side homepage cards: preserve the complete 16:9 thumbnail */
.hero-side {
  align-self: stretch;
}
.mini-story>a {
  grid-template-columns: minmax(145px, 38%) 1fr;
  align-items: center;
}
.mini-story img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  align-self: center;
}

/* General cards / category grids */
.story-card .story-media {
  background: #0e1014;
}
.story-card .story-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Horizontal list cards: stop stretching 16:9 artwork to full card height */
.story-card.horizontal {
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: center;
}
.story-card.horizontal .story-media {
  width: calc(100% - 12px);
  margin: 12px 0 12px 12px;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
}
.story-card.horizontal .story-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
}

/* Article page hero stays complete and proportional too */
.article-hero {
  background: #0e1014;
}
.article-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
}

/* Tablet */
@media (max-width: 980px) {
  .hero-story {
    width: 100%;
  }
  .mini-story>a {
    grid-template-columns: minmax(130px, 34%) 1fr;
  }
  .story-card.horizontal {
    grid-template-columns: clamp(190px, 28vw, 250px) minmax(0, 1fr);
  }
}

/* Phones: image becomes its own clean 16:9 block in the hero, so the
   website headline never fights with/covers the artwork. */
@media (max-width: 700px) {
  .hero-story {
    aspect-ratio: auto;
    min-height: 0;
  }
  .hero-media {
    height: auto;
    aspect-ratio: auto;
    display: block;
  }
  .hero-media>img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .hero-shade {
    display: none;
  }
  .hero-copy {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 16px 18px 18px;
    background: #101114;
  }
  .hero-copy h1 {
    font-size: clamp(27px, 7.3vw, 34px);
    line-height: 1.02;
    margin: 9px 0 10px;
    letter-spacing: -.045em;
  }
  .hero-copy p {
    font-size: 13px;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .hero-side {
    gap: 12px;
  }
  .mini-story>a {
    grid-template-columns: clamp(128px, 34vw, 160px) minmax(0, 1fr);
    align-items: center;
    min-height: 0;
  }
  .mini-story img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .story-card.horizontal {
    grid-template-columns: clamp(128px, 34vw, 160px) minmax(0, 1fr);
    align-items: center;
  }
  .story-card.horizontal .story-media {
    width: calc(100% - 10px);
    margin: 10px 0 10px 10px;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
  }
  .story-card.horizontal .story-media img {
    min-height: 0;
    height: 100%;
  }
  .story-card.horizontal .story-body {
    min-width: 0;
    padding: 12px 13px;
  }
  .story-card.horizontal h3 {
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.12;
  }

  .article-hero img {
    border-radius: 0;
  }
}

/* Small phones: keep two-column story cards usable down to ~320px. */
@media (max-width: 460px) {
  .shell,.narrow {
    width: min(100% - 20px, 1240px);
  }
  .hero-copy {
    padding: 14px 15px 16px;
  }
  .hero-copy h1 {
    font-size: clamp(25px, 7.6vw, 31px);
  }
  .mini-story>a,
  .story-card.horizontal {
    grid-template-columns: clamp(112px, 34vw, 145px) minmax(0, 1fr);
  }
  .mini-story div {
    padding: 11px 12px;
  }
  .mini-story h3 {
    font-size: 14px;
    line-height: 1.15;
  }
  .story-card.horizontal .story-body {
    padding: 10px 11px;
  }
  .story-card.horizontal h3 {
    font-size: 15px;
  }
  .story-meta {
    font-size: 9px;
  }
}

/* Hero text is kept outside the artwork at every width. The imported BILIBILII
   thumbnails already contain editorial text, so overlaying another large title
   makes the image unreadable and creates breakpoint-specific collisions. */
.hero-grid{align-items:stretch;grid-template-columns:minmax(0,1.7fr) minmax(330px,.8fr)}
.hero-story{aspect-ratio:auto;min-height:0}
.hero-media{display:block;width:100%;height:auto}
.hero-media>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.hero-shade{display:none}
.hero-copy{position:static;left:auto;right:auto;bottom:auto;padding:20px 24px 22px;background:#101114;color:#fff}
.hero-copy h1{font-size:clamp(30px,2.9vw,44px);line-height:1.02;letter-spacing:-.045em;max-width:none;margin:9px 0 10px}
.hero-copy p{font-size:14px;line-height:1.42;max-width:760px;margin:0 0 10px}
.hero-side{height:100%}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr}.hero-side{height:auto}}
@media(max-width:700px){.hero-copy{padding:16px 18px 18px}.hero-copy h1{font-size:clamp(27px,7.3vw,34px)}.hero-copy p{font-size:13px}}
@media(max-width:460px){.hero-copy{padding:14px 15px 16px}.hero-copy h1{font-size:clamp(25px,7.6vw,31px)}}

/* Crawlable category archive navigation. */
.pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:14px;margin:34px 0 4px;padding-top:24px;border-top:1px solid var(--line)}
.pagination a{display:inline-flex;width:max-content;align-items:center;justify-content:center;padding:11px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:12px;font-weight:900}
.pagination a:last-child{justify-self:end}
.pagination strong{font-size:12px;color:var(--muted)}
@media(max-width:460px){.pagination{grid-template-columns:1fr 1fr}.pagination strong{grid-column:1/-1;grid-row:1;text-align:center}.pagination a{grid-row:2}}

/* Admin article editing and safe image replacement. */
.row-actions{display:flex;gap:7px;flex-wrap:wrap}.admin-thumb{width:112px;height:63px;object-fit:contain;background:#0e1014;border-radius:8px}.no-thumb{display:grid;place-items:center;width:112px;height:63px;background:#eee;border-radius:8px;color:#777;font-size:10px}.table-note{display:block;color:var(--muted);margin-top:5px}.status.deleted{background:#fff0f1;color:#a31520}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.admin-tabs a{padding:9px 13px;border-radius:10px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:850}.admin-tabs a.active{background:#111;color:#fff}.editor-form{display:grid;gap:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .wide{grid-column:1/-1}.form-grid label,.image-editor label{font-size:12px;font-weight:850}.form-grid input,.form-grid textarea,.form-grid select,.image-editor input{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;background:#fff}.form-grid textarea{resize:vertical}.image-editor{display:grid;grid-template-columns:1fr 1fr;gap:22px}.image-editor h2,.form-grid h2{margin:0}.current-featured{margin-top:12px;aspect-ratio:16/9;object-fit:contain;background:#0e1014;border-radius:12px}.empty-image{margin-top:12px;aspect-ratio:16/9;display:grid;place-items:center;background:#eee;border-radius:12px;color:var(--muted)}.check-line{display:flex!important;align-items:center;gap:8px}.check-line input{width:auto!important;margin:0!important}.editor-actions{display:flex;gap:10px;flex-wrap:wrap}.danger-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:13px 18px;font-weight:900;font-size:13px;border:1px solid #f2b8bd;background:#fff0f1;color:#a31520;cursor:pointer}.stack-form input[type=file]{padding:10px;background:#fff}.stack-form small{display:block;color:var(--muted);margin-top:5px}
@media(max-width:460px){.form-grid,.image-editor{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.admin-thumb,.no-thumb{width:88px;height:50px}}
