:root {
  color-scheme: dark;
  --bg: #12101a;
  --panel: #191623;
  --line: #332b40;
  --white: #f9f4ff;
  --muted: #b6abbe;
  --pink: #ff8bb5;
  --pink-bright: #ff78a9;
  --display: "Barlow Condensed", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--white); font: 15px/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button[hidden], [hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; }
.shell { width: min(100% - 104px, 1300px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 6px; left: 10px; padding: 7px 12px; background: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.site-header { background: #13111c; border-bottom: 1px solid #2a2436; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 67px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 700 22px/1 var(--display); letter-spacing: .05em; }
.wordmark strong { color: var(--pink); font-weight: 700; }
.station-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 31px; height: 31px; border: 1px solid #ff8bb54d; border-radius: 8px; color: var(--pink); }
.station-mark i { width: 2px; height: 7px; background: currentColor; border-radius: 2px; }
.station-mark i:nth-child(even) { height: 13px; }
.station-mark i:nth-child(3) { height: 19px; }
.nav { align-self: stretch; display: flex; align-items: stretch; gap: 30px; }
.nav a { display: flex; align-items: center; color: var(--muted); font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav .current { border-color: var(--pink-bright); color: var(--white); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.quiet { background: transparent; border: 1px solid transparent; padding: 6px 10px; border-radius: 7px; }
.quiet:hover, .quiet[aria-pressed=true] { background: #ff8bb515; border-color: #ff8bb540; color: var(--pink); }
.button-icon { min-width: 36px; min-height: 36px; display: grid; place-items: center; }
.search-icon { width: 13px; height: 13px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; display: inline-block; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 1.6px; background: currentColor; right: -5px; bottom: -2px; transform: rotate(48deg); }
.saved-link { display: flex; white-space: nowrap; align-items: center; gap: 7px; min-height: 36px; border-color: var(--line); font-size: 13px; font-weight: 700; }
.bookmark { width: 13px; height: 16px; display: inline-block; background: currentColor; clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%,0 0,10% 10%,10% 81%,50% 59%,90% 81%,90% 10%,10% 10%); }
[aria-pressed=true] > .bookmark { clip-path: polygon(0 0,100% 0,100% 100%,50% 72%,0 100%); }
.hero { isolation: isolate; position: relative; min-height: clamp(440px, 39vw, 580px); background: #252036 url("/assets/vice-city-twilight.webp") center 54% / cover no-repeat; display: flex; align-items: center; }
.hero::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, #12101a 0%, #12101a10 33%, transparent 70%), linear-gradient(90deg, #100d1cf5 0%, #100d1cba 29%, #100d1c30 64%, #100d1c05 100%); }
.hero-inner { padding-block: 48px 68px; }
.hero-copy { max-width: 690px; }
.overline { display: flex; align-items: center; gap: 10px; color: #ffc3d7; font: 500 11px/1.4 var(--mono); letter-spacing: .19em; margin: 0 0 18px; }
.signal { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--pink-bright); box-shadow: 0 0 12px #ff78a999; }
h1,h2,p { margin-top: 0; }
h1 { font: 800 clamp(81px, 9.15vw, 145px)/.78 var(--display); letter-spacing: -.025em; margin: 0 0 24px; }
h1 em { color: var(--pink); font-style: normal; }
.hero-description { color: #e9deeb; max-width: 390px; font-size: 17px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.primary, .outline { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 0 15px; border-radius: 6px; font-size: 13px; font-weight: 700; border: 1px solid transparent; }
.primary { background: var(--pink); color: #22121d; }
.primary:hover { background: #ffb0ce; }
.outline { color: var(--white); border-color: #b8a5c366; background: #17102266; }
.outline:hover { background: #31233c; }
.play-icon { display: inline-block; width: 11px; height: 12px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.content { padding-block: 9px 72px; }
section[id] { scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; }
h2 { margin-bottom: 3px; font: 800 clamp(31px, 3.2vw, 48px)/.95 var(--display); letter-spacing: .016em; }
.section-heading p { color: var(--muted); margin: 7px 0 0; }
.new-filter { display: inline-flex; align-items: center; gap: 8px; color: #ffc3d7; background: #251a2c; border-color: #49304a; font-size: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.filters button { min-height: 34px; background: #1c1826; border: 1px solid var(--line); border-radius: 5px; padding: 4px 13px; color: var(--muted); font-size: 13px; font-weight: 700; }
.filters button:hover { color: var(--white); border-color: #796184; }
.filters button[aria-pressed=true] { color: #ffd8e7; border-color: #ae5d82; background: #48273c; }
.search-bar { display: flex; align-items: stretch; gap: 9px; padding-bottom: 16px; }
.search-bar input { min-width: 0; width: min(100%, 450px); border-radius: 6px; border: 1px solid var(--line); padding: 9px 12px; background: var(--panel); color: var(--white); }
.search-bar button { border-color: var(--line); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.card:hover { border-color: #815970; }
.media { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 1.82; padding: 0; border: 0; background: #2e2342; overflow: hidden; text-align: left; }
.media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .3s ease; }
.media:hover img { transform: scale(1.04); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#110b1acc, transparent 49%); pointer-events: none; }
.media .play { z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff93; background: #16101ac7; border-radius: 50%; }
.media:hover .play { background: var(--pink); color: #211021; border-color: var(--pink); }
.media .tag { position: absolute; z-index: 1; bottom: 10px; left: 11px; color: #ffd4e6; background: #221827df; border: 1px solid #ff8bb556; font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .07em; padding: 3px 5px; border-radius: 4px; }
.card-copy { position: relative; padding: 13px 43px 15px 13px; }
.card h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.28; }
.title-button { border: 0; padding: 0; font: inherit; font-weight: 700; background: none; text-align: left; }
.title-button:hover { color: var(--pink); }
.card .byline, .card .deck { color: var(--muted); margin: 0; font-size: 12px; }
.card .deck { margin-top: 6px; }
.save-card { position: absolute; right: 7px; top: 10px; display: grid; place-items: center; min-width: 34px; min-height: 34px; padding: 0; color: var(--muted); }
.empty { padding: 20px; margin: 0; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); }
.lower-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 48px; }
.panel { background: #171420; border: 1px solid var(--line); border-radius: 9px; padding: 20px; }
.panel h2 { font-size: clamp(29px, 3vw, 39px); }
.panel .section-heading { margin-bottom: 13px; }
.trending-list, .guide-list { display: grid; }
.story-row { display: flex; align-items: center; gap: 11px; min-height: 62px; border-top: 1px solid var(--line); padding: 9px 0; }
.story-row img { width: 76px; aspect-ratio: 1.78; object-fit: cover; border-radius: 4px; background: #2e2342; }
.story-row p { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 84px; font-size: 13px; }
.footer-inner p { margin: 0; }
.footer-inner .wordmark { color: var(--white); font-size: 18px; }
dialog { width: min(calc(100% - 24px), 850px); padding: 0; background: var(--panel); color: var(--white); border: 1px solid #6e4d73; border-radius: 11px; }
dialog::backdrop { background: #0b0812df; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.player-head h2 { font: 700 18px/1.25 var(--body); margin: 0; }
.player-close { font-size: 25px; line-height: 1; }
.player-frame { width: 100%; aspect-ratio: 16 / 9; background: #08070a; }
.player-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.player-meta { padding: 13px 16px; color: var(--muted); }
.player-meta p { margin-bottom: 5px; }
.player-meta a { color: var(--pink); text-decoration: underline; }
@media (max-width: 900px) {
  .shell { width: calc(100% - 48px); }
  .nav { gap: 16px; }
  .header-inner { gap: 12px; }
  h1 { font-size: clamp(73px, 12vw, 115px); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 30px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 58px; }
  .nav { grid-row: 2; grid-column: 1 / -1; gap: 22px; min-height: 32px; }
  .header-actions { grid-row: 1; grid-column: 2; }
  .header-inner .wordmark { font-size: clamp(13px, 4.2vw, 19px); gap: 6px; }
  .station-mark { width: 26px; height: 26px; }
  .hero { min-height: 425px; background-position: 61% center; }
  .hero::before { background: linear-gradient(0deg,#12101a,transparent 52%),linear-gradient(90deg,#100d1cd9,#100d1c44); }
  .hero-inner { padding-block: 34px 39px; }
  h1 { font-size: clamp(67px, 14vw, 91px); }
  .hero-description { max-width: 300px; font-size: 15px; }
  .cards, .lower-grid { grid-template-columns: 1fr; }
  .lower-grid { margin-top: 30px; }
  .section-heading { align-items: start; }
  .new-filter { max-width: 126px; text-align: left; line-height: 1.3; }
  .footer-inner { flex-wrap: wrap; justify-content: start; padding-block: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.language-link { border-color: var(--line); white-space: nowrap; color: #ffc3d7; font-size: 12px; font-weight: 700; min-height: 36px; display: inline-grid; place-items: center; }
.more { margin-top: 18px; color: var(--pink); }
.media .platform-label { position: absolute; top: 10px; right: 10px; z-index: 1; background: #171021dc; color: #fbf0f9; border-radius: 4px; padding: 3px 7px; font-size: 11px; }
.cover-art { position: absolute; inset: 0; background: linear-gradient(95deg,#120e24e8,#3d143760 70%), url("/assets/vice-city-twilight.webp") center 55% / cover; }
.cover-art.douyin { background-image: linear-gradient(95deg,#16112add,#12314880 68%), url("/assets/vice-city-twilight.webp"); background-position: center, 72% 72%; }
.cover-art.tiktok { background-image: linear-gradient(95deg,#16112add,#12314880 68%), url("/assets/vice-city-twilight.webp"); }
.story-row .small-cover { flex: 0 0 76px; position: relative; aspect-ratio: 1.78; overflow: hidden; border-radius: 4px; }
.small-cover img { display: block; }
:lang(zh-CN) { --body: "DM Sans", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh-CN) h1 { font-family: var(--body); font-size: clamp(59px, 8.4vw, 122px); font-weight: 900; line-height: .98; }
:lang(zh-CN) h2 { font-family: var(--body); font-size: clamp(28px, 3vw, 44px); font-weight: 900; line-height: 1.14; }
:lang(zh-CN) .panel h2 { font-size: clamp(25px, 2.6vw, 36px); }
:lang(zh-CN) .player-head h2 { font: 700 18px/1.25 var(--body); }
@media (max-width: 650px) {
  .header-actions { gap: 4px; }
  .language-link, .saved-link { padding-inline: 7px; }
}
@media (max-width: 380px) {
  .header-inner { column-gap: 6px; }
  .header-actions .button-icon { min-width: 27px; padding-inline: 5px; }
  .header-actions .saved-link { font-size: 11px; gap: 4px; }
}

.editorial { margin-bottom: clamp(38px, 5vw, 72px); }
.editorial-top { display: grid; grid-template-columns: 1.13fr 1fr; gap: 14px; }
.editorial-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 10px; }
.editorial-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 13px; }
.editorial-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.editorial-card:hover, .editorial-card:focus-within { border-color: #aa6c8b; }
.editorial-card a { display: flex; min-height: 100%; color: inherit; position: relative; align-items: end; }
.editorial-card a:focus-visible { outline-offset: -3px; }
.editorial-card-copy { padding: 15px 17px; }
.story-type { color: var(--pink); font: 500 11px/1.45 var(--mono); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 7px; }
:lang(zh-CN) .story-type { font-family: var(--body); letter-spacing: .045em; }
.editorial-card h3 { margin: 0 0 6px; font-size: 18px; line-height: 1.22; }
.story-summary { color: var(--muted); margin: 0; font-size: 13px; line-height: 1.45; }
.story-read { display: inline-block; margin-top: 9px; color: #ffc0d9; font-weight: 700; font-size: 12px; }
.story-read span { display: inline-block; transition: transform .2s; }
.editorial-card a:hover .story-read span { transform: translate(2px, -2px); }
.editorial-cover { min-height: 355px; }
.editorial-cover img, .editorial-cover a::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.editorial-cover img { object-fit: cover; }
.editorial-cover a::before { content: ""; background: linear-gradient(0deg, #120c1bee 8%, #120c1bac 35%, #120c1b11 74%); z-index: 1; }
.editorial-cover .editorial-card-copy { position: relative; z-index: 2; padding: clamp(18px, 2.7vw, 38px); }
.editorial-cover h3 { font: 800 clamp(38px, 4.2vw, 65px)/.91 var(--display); max-width: 500px; }
.editorial-cover:lang(zh-CN) h3 { font: 900 clamp(30px, 3.25vw, 52px)/1.08 var(--body); }
.editorial-cover .story-summary { color: #efe4ed; max-width: 440px; font-size: 15px; }
.editorial-side .editorial-card a, .editorial-shelf .editorial-card a { align-items: start; }
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.resources ul, .dispatches ul { list-style: none; padding: 0; margin: 0; }
.resources li, .dispatches li { border-top: 1px solid var(--line); }
.resources a, .dispatches a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; }
.resources a:hover, .dispatches a:hover { color: var(--pink); }
.resources strong { display: block; font-size: 14px; font-weight: 700; }
.resources small { display: block; color: var(--muted); }
.dispatches li { display: grid; grid-template-columns: 69px 1fr; align-items: baseline; gap: 8px; }
.dispatches time { color: var(--pink); font-family: var(--mono); font-size: 12px; }
.dispatches a { font-weight: 700; font-size: 14px; }

.story-header { display: flex; justify-content: space-between; align-items: center; min-height: 66px; gap: 12px; }
.story-page { max-width: 1000px; padding-block: clamp(28px, 5vw, 66px); }
.article-intro { margin-bottom: 32px; }
.story-back { display: inline-block; margin-bottom: 27px; color: var(--pink); font-weight: 700; font-size: 13px; }
.story-back:hover { text-decoration: underline; }
.article-intro h1 { font: 800 clamp(56px, 8vw, 103px)/.87 var(--display); margin: 0 0 16px; }
.article-intro:lang(zh-CN) h1 { font: 900 clamp(38px, 6.2vw, 76px)/1.08 var(--body); }
.article-deck { color: var(--muted); line-height: 1.5; font-size: clamp(16px, 2.25vw, 23px); max-width: 750px; }
.article-cover { width: 100%; height: auto; aspect-ratio: 2.18; object-fit: cover; border-radius: 9px; margin-bottom: 30px; }
.article-layout { display: grid; grid-template-columns: minmax(155px, 240px) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: start; }
.contents { border-left: 2px solid #674459; padding-left: 13px; }
.contents h2 { font: 700 14px/1.3 var(--body); margin-bottom: 9px; }
.contents ol { margin: 0; padding-left: 19px; }
.contents li { color: var(--muted); margin-bottom: 7px; font-size: 13px; }
.contents a:hover, .article-sources a:hover { color: var(--pink); text-decoration: underline; }
.article-body { min-width: 0; font-size: 17px; color: #e4dae8; }
.article-body section { margin-bottom: 26px; scroll-margin-top: 20px; }
.article-body h2 { font: 800 clamp(21px, 2.7vw, 31px)/1.17 var(--body); color: var(--white); margin-bottom: 8px; }
.article-body p { margin-bottom: 0; }
.article-sources ul { margin: 10px 0 0; padding-left: 20px; }
.article-sources a { color: #ffc0d9; }
.story-checklist { margin: 0 0 26px; width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 11px 15px; background: var(--panel); }
.story-checklist legend { padding-inline: 5px; color: var(--pink); font-weight: 700; }
.story-checklist label { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; cursor: pointer; }
.story-checklist input { accent-color: var(--pink); flex: none; }
.related { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 25px; }
.related .editorial-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 651px) and (max-width: 800px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .nav { grid-row: 2; grid-column: 1 / -1; min-height: 34px; }
  .header-actions { grid-row: 1; grid-column: 2; }
}
@media (max-width: 900px) {
  .editorial-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .nav { gap: clamp(11px, 4vw, 22px); }
  .nav a { font-size: 13px; }
  .editorial-top, .reference-grid, .article-layout { grid-template-columns: 1fr; }
  .editorial-cover { min-height: 300px; }
  .editorial-shelf, .related .editorial-shelf { gap: 8px; }
  .editorial-card-copy { padding: 12px; }
  .editorial-card h3 { font-size: 16px; }
  .editorial-cover h3 { font-size: 42px; }
  .editorial-cover:lang(zh-CN) h3 { font-size: 31px; }
  .story-header .wordmark { font-size: 17px; }
  .article-cover { aspect-ratio: 1.5; }
  .related .editorial-shelf { grid-template-columns: 1fr; }
}

.ui-icon {
  --glyph-size: 17px;
  display: inline-block;
  flex: 0 0 var(--glyph-size);
  width: var(--glyph-size);
  height: var(--glyph-size);
  background: url("/assets/section-icons.png") no-repeat;
  background-size: calc(var(--glyph-size) * 10) var(--glyph-size);
  background-position-x: calc(var(--glyph-size) * var(--i, 0) * -1);
}
.icon-notes { --i: 0; }
.icon-compass { --i: 1; }
.icon-trend { --i: 2; }
.icon-guide { --i: 3; }
.icon-map { --i: 4; }
.icon-target { --i: 5; }
.icon-spark { --i: 6; }
.icon-radio { --i: 7; }
.icon-news { --i: 8; }
.icon-resources { --i: 9; }
.nav a { gap: 5px; white-space: nowrap; }
.nav .ui-icon { --glyph-size: 15px; }
.title-with-icon, .story-type { display: flex; align-items: center; gap: 8px; }
.title-with-icon .ui-icon { --glyph-size: 23px; }
.story-type .ui-icon { --glyph-size: 14px; }
.article-body p + p { margin-top: .8em; }
.article-body ul, .article-body ol { padding-inline-start: 1.45em; margin-block: .65em 1em; }
.article-body li + li { margin-top: .36em; }
.article-table { max-width: 100%; overflow: auto; margin-block: 13px 18px; border: 1px solid var(--line); border-radius: 6px; }
.article-table table { width: 100%; border-collapse: collapse; color: #e4dae8; font-size: 14px; line-height: 1.46; }
.article-table th, .article-table td { padding: 9px 11px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 96px; }
.article-table th { background: #251d30; color: #ffd0e3; font-weight: 700; }
.article-table tr:last-child td { border-bottom: 0; }
.article-table tr:nth-child(even) { background: #1b1725; }
.filters button { display: inline-flex; align-items: center; gap: 5px; }
.filters .ui-icon { --glyph-size: 13px; }
@media (max-width: 370px) {
  .nav .ui-icon { display: none; }
}

@media (max-width: 650px) {
  .route-table table { table-layout: fixed; }
  .route-table th, .route-table td { min-width: 0; padding-inline: 8px; }
  .route-table :is(th, td):first-child { width: 23%; }
  .route-table :is(th, td):last-child { width: 26%; }
}
