:root {
  --red: #ff2d22;
  --black: #0a0a0a;
  --paper: #f7f7f3;
  --line: #b9b9b4;
  --muted: #656560;
  --display: "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: Arial, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--black); font-family: var(--body); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.utility-bar { height: 42px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px; background: var(--black); color: white; border-bottom: 1px solid #333; font-size: 11px; letter-spacing: .12em; }
.wordmark { font-family: Arial Black, var(--display); text-decoration: none; }
.edition { opacity: .7; }
.menu-toggle { justify-self: end; border: 0; background: none; color: white; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; display: none; }
.site-nav { height: 43px; display: flex; justify-content: center; gap: 42px; align-items: center; background: var(--black); color: white; font-size: 12px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--red); }

.masthead { position: relative; min-height: clamp(310px, 24vw, 460px); display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--red); border-bottom: 1px solid var(--black); }
.masthead h1 { margin: 0; font-family: Arial Black, Impact, var(--display); line-height: .72; letter-spacing: -.075em; color: var(--black); white-space: nowrap; }
.masthead .identity-rotator { position: relative; width: 100%; height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; padding: clamp(58px, 6vw, 92px) 3vw; overflow: hidden; }
.identity-rotator #identity-text { position: relative; z-index: 1; display: block; width: max-content; font-size: var(--identity-size, 10.2vw); font-weight: 900; line-height: .82; letter-spacing: -.075em; transform: scaleX(.94) scaleY(1.02); transform-origin: center; transition: opacity .12s ease; }
.paint-swipe { position: absolute; z-index: 2; left: 4%; right: 4%; top: 7%; bottom: 8%; display: block; background: var(--black); border-radius: 10% 2% 13% 4% / 25% 15% 35% 12%; opacity: 0; transform: scaleX(0) rotate(-1deg); transform-origin: left center; pointer-events: none; }
.paint-swipe::before,
.paint-swipe::after { content: ""; position: absolute; background: var(--black); border-radius: 50%; }
.paint-swipe::before { width: 9%; height: 36%; left: -2%; bottom: -13%; box-shadow: 14vw 1.2vw 0 -1vw var(--black), 38vw -1vw 0 -1.3vw var(--black), 67vw 1vw 0 -1.1vw var(--black); }
.paint-swipe::after { width: 12%; height: 27%; right: -3%; top: -8%; box-shadow: -17vw 1vw 0 -1vw var(--black), -44vw -1vw 0 -1.4vw var(--black); }
.masthead.is-painting .paint-swipe { animation: paint-wipe .5s cubic-bezier(.72,.02,.3,1) both; }
.masthead.is-painting #identity-text { opacity: .4; }
@keyframes paint-wipe {
  0% { opacity: 0; transform: scaleX(0) rotate(-1deg); transform-origin: left center; }
  12% { opacity: 1; }
  48% { opacity: 1; transform: scaleX(1.02) rotate(-1deg); transform-origin: left center; }
  52% { opacity: 1; transform: scaleX(1.02) rotate(-1deg); transform-origin: right center; }
  100% { opacity: 0; transform: scaleX(0) rotate(-1deg); transform-origin: right center; }
}
.masthead p, .masthead span { position: absolute; margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.masthead p { left: 24px; top: 22px; }
.masthead span { right: 24px; bottom: 18px; }
.ticker { display: flex; justify-content: center; gap: 0; min-height: 44px; border-bottom: 1px solid var(--black); background: white; overflow-x: auto; }
.ticker span { padding: 15px 28px 13px; border-left: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.ticker span:last-child { border-right: 1px solid var(--line); }

.section-shell { padding: 54px 24px 70px; border-bottom: 1px solid var(--black); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 28px; border-top: 8px solid var(--black); border-bottom: 1px solid var(--black); padding: 10px 0 8px; }
.section-heading h2 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(35px, 5vw, 65px); letter-spacing: -.06em; line-height: .9; }
.section-heading > span { font-size: 11px; font-weight: 800; letter-spacing: .15em; }

.lead-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.lead-story { min-width: 0; padding: 16px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.cover { position: relative; width: 100%; aspect-ratio: 1; padding: 19px; border: 0; color: white; text-align: left; overflow: hidden; cursor: pointer; transition: filter .2s ease, transform .2s ease; }
.cover:hover { filter: saturate(1.15); }
.cover:focus-visible, .mini-cover:focus-visible, .filter:focus-visible, .open-detail:focus-visible { outline: 3px solid #3975ff; outline-offset: 3px; }
.cover strong { position: absolute; left: 8%; bottom: 7%; z-index: 2; font-family: Arial Black, var(--display); font-size: clamp(42px, 7vw, 115px); line-height: .78; letter-spacing: -.09em; }
.cover-kicker, .cover-index { position: absolute; z-index: 2; top: 19px; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.cover-kicker { left: 19px; }
.cover-index { right: 19px; }
.cover--silence { background: radial-gradient(circle at 64% 34%, rgba(255,255,255,.95) 0 1.5%, transparent 1.7%), radial-gradient(circle at 67% 36%, rgba(255,255,255,.25) 0 9%, transparent 9.3%), linear-gradient(135deg, #291358 0%, #40278b 41%, #eb5559 100%); }
.cover--silence::after { content: ""; position: absolute; width: 55%; height: 90%; right: -6%; bottom: -15%; border-radius: 50% 50% 20% 30%; background: rgba(4, 3, 20, .62); transform: rotate(-15deg); }
.cover--night { background: linear-gradient(160deg, #0b0c17, #121730 60%, #2d4a67); }
.cover--night::before { content: ""; position: absolute; inset: 9% 13%; border: 1px solid rgba(255,255,255,.35); box-shadow: 22px 22px 0 rgba(255,45,34,.85); }
.cover--demon { background: radial-gradient(circle at 52% 50%, #f8d69a 0 8%, transparent 8.5%), repeating-radial-gradient(circle at 52% 50%, transparent 0 12%, rgba(252,215,148,.32) 12.3% 12.8%, transparent 13% 18%), #3b130b; }
.cover--demon::after { content: "妖"; position: absolute; right: 7%; top: 13%; font-family: serif; font-size: clamp(70px, 11vw, 180px); color: rgba(255,226,173,.13); }
.lead-story:not(.lead-story--primary) .cover strong { font-size: clamp(38px, 4.4vw, 70px); }
.lead-copy { padding: 15px 2px 3px; }
.hits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.hit-card { min-width: 0; padding: 18px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.hit-cover { position: relative; display: block; aspect-ratio: 1; margin-bottom: 18px; overflow: hidden; background: #ddd; }
.hit-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.hit-cover:hover img { transform: scale(1.025); filter: contrast(1.05); }
.hit-cover b { position: absolute; z-index: 3; right: 14px; top: 12px; color: white; font-size: 10px; letter-spacing: .12em; text-shadow: 0 1px 4px rgba(0,0,0,.8); transition: opacity .15s ease; }
.hit-card h3 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(30px, 4vw, 58px); line-height: .9; letter-spacing: -.06em; }
.hit-card > p:last-child { margin: 12px 0 2px; color: #41413d; font-family: Georgia, "Songti SC", serif; font-size: 13px; line-height: 1.6; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lead-copy h3, .work-card h3 { margin: 0; font-family: Arial Black, var(--display); letter-spacing: -.045em; }
.lead-copy h3 { font-size: clamp(26px, 3vw, 48px); line-height: .94; }
.credit { margin: 8px 0; font-family: Georgia, "Songti SC", serif; font-size: 14px; }
.dek { margin: 14px 0; color: #353532; font-family: Georgia, "Songti SC", serif; font-size: 14px; line-height: 1.7; }
.text-link { border: 0; border-bottom: 1px solid; padding: 0 0 3px; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.text-link:hover { color: var(--red); }

.section-heading--filters { align-items: center; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.filter { padding: 8px 13px; border: 1px solid var(--black); border-radius: 999px; background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; }
.filter:hover, .filter.is-active { background: var(--black); color: white; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.work-grid--curated { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-card { min-width: 0; padding: 14px 14px 23px; border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); background: var(--paper); }
.work-card[hidden] { display: none; }
.mini-cover { position: relative; display: block; width: 100%; aspect-ratio: 1; margin-bottom: 15px; padding: 16px; border: 0; overflow: hidden; background: #ddd; color: white; text-align: left; text-decoration: none; cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.mini-cover:hover { transform: scale(.985); filter: contrast(1.08); }
.mini-cover span { position: absolute; z-index: 2; left: 16px; bottom: 14px; max-width: 82%; font-family: Arial Black, var(--display); font-size: clamp(25px, 3vw, 46px); line-height: .84; letter-spacing: -.07em; }
.mini-cover b { position: absolute; z-index: 3; right: 12px; top: 10px; font-size: 10px; letter-spacing: .12em; }
.mini-cover img { position: absolute; width: 180%; height: 180%; left: -40%; top: -40%; object-fit: cover; filter: grayscale(1) contrast(1.25); }
.mini-cover--silence { background: linear-gradient(135deg, #2b155a, #5040a5 48%, #e04a52); }
.mini-cover--night { background: linear-gradient(165deg, #070914, #202949); }
.mini-cover--xiang { background: #8b351f; }
.mini-cover--jealousy { background: linear-gradient(120deg, #163029, #3b7156); }
.mini-cover--writing { background: #d8d2c3; color: var(--black); }
.mini-cover--matrix { background: radial-gradient(circle, #ff3a2e 0 2%, transparent 2.3%), repeating-radial-gradient(circle, transparent 0 13%, #ff3a2e 13.2% 13.8%, transparent 14% 21%), #050505; }
.mini-cover--demon { background: radial-gradient(circle at center, #e8b664 0 7%, transparent 7.5%), repeating-radial-gradient(circle at center, transparent 0 14%, rgba(232,182,100,.6) 14.4% 15%, transparent 15.3% 22%), #351006; }
.mini-cover--overmind { background: linear-gradient(135deg, #020202 0 42%, #cdfb50 42% 46%, #171717 46% 100%); }
.mini-cover--image { background: #efefed; }
.mini-cover--trojan { background: linear-gradient(45deg, #ff342a 0 20%, #111 20% 80%, #ff342a 80%); }
.mini-cover--rules { background: linear-gradient(90deg, #f2e6c8 0 48%, #111 48% 52%, #f2e6c8 52%); color: #111; }
.mini-cover--career { background: conic-gradient(from 40deg, #e5322a, #141414, #ffb300, #141414, #e5322a); }
.mini-cover--data { background: linear-gradient(135deg, #104c72, #1aa1a8); }
.mini-cover--device { background: repeating-linear-gradient(135deg, #171717 0 12px, #3b3b3b 12px 13px); }
.mini-cover--collection { background: repeating-linear-gradient(90deg, #111 0 15%, #ff2d22 15% 16%, #111 16% 31%); }
.corner-mark::before,
.corner-mark::after { content: ""; position: absolute; z-index: 6; right: 0; top: 0; opacity: 0; transform: translate(8px, -8px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
.corner-mark::before {
  width: 72px;
  height: 72px;
  background:
    conic-gradient(from 30deg at 50% 67%, var(--red) 0 60deg, transparent 61deg) 12px 4px / 20px 18px no-repeat,
    conic-gradient(from 30deg at 50% 67%, var(--red) 0 60deg, transparent 61deg) 40px 4px / 20px 18px no-repeat,
    #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.corner-mark::after {
  display: block;
  z-index: 7;
  right: 25px;
  top: 4px;
  width: 22px;
  height: 39px;
  background: var(--red);
  clip-path: polygon(34% 0, 66% 0, 66% 56%, 100% 56%, 50% 100%, 0 56%, 34% 56%);
}
.corner-mark:hover::before,
.corner-mark:hover::after,
.corner-mark:focus-visible::before,
.corner-mark:focus-visible::after { opacity: 1; transform: translate(0, 0); }
.corner-mark:hover b,
.corner-mark:focus-visible b { opacity: 0; }
.work-card h3 { font-size: 24px; line-height: 1; }
.work-card > p:not(.eyebrow) { min-height: 44px; margin: 9px 0 15px; color: #444; font-family: Georgia, "Songti SC", serif; font-size: 13px; line-height: 1.6; }
.work-card > p.honor { min-height: 0; margin: -5px 0 15px; color: var(--red); font-family: var(--body); font-size: 10px; font-weight: 900; line-height: 1.4; }
.meta { display: block; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.is-archived .meta::before { content: "ARCHIVE · "; color: var(--red); }
.empty-state { padding: 40px; text-align: center; }
.read-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid; font-size: 10px; font-weight: 900; text-decoration: none; }
.read-link:hover { color: var(--red); }
.demo-showcase { margin-top: 50px; border: 1px solid var(--black); background: white; }
.demo-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 24px 26px 22px; border-bottom: 1px solid var(--black); }
.demo-heading h3 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(42px, 7vw, 92px); line-height: .82; letter-spacing: -.07em; }
.demo-heading > span { padding-bottom: 4px; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.demo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo-entry { min-height: 240px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 22px; padding: 24px; background: var(--black); color: white; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.demo-entry + .demo-entry { border-left: 1px solid var(--paper); }
.demo-entry--red { background: var(--red); color: var(--black); }
.demo-entry:hover { background: var(--red); color: var(--black); }
.demo-entry--red:hover { background: var(--black); color: white; }
.demo-entry:focus-visible { outline: 4px solid #3975ff; outline-offset: -4px; }
.demo-index { font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.demo-copy { align-self: center; min-width: 0; }
.demo-copy strong { display: block; font-family: Arial Black, var(--display); font-size: clamp(30px, 4.2vw, 62px); line-height: .88; letter-spacing: -.06em; }
.demo-copy small { display: block; margin-top: 15px; overflow-wrap: anywhere; font-size: 10px; font-weight: 700; letter-spacing: .05em; opacity: .72; }
.demo-action { grid-column: 1 / -1; justify-self: end; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.collection-card { background: #ecece6; }
.download-list { margin-top: 17px; border-top: 1px solid var(--black); }
.download-list a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; text-decoration: none; }
.download-list a:hover { color: var(--red); padding-left: 5px; }
.download-list em { color: var(--muted); font-size: 9px; font-style: normal; letter-spacing: .08em; }
.game-library { display: grid; grid-template-columns: minmax(240px, .85fr) 2.15fr; gap: 34px; margin-top: 50px; padding: 28px; border: 1px solid var(--black); background: var(--black); color: white; }
.game-library > header { align-self: start; position: sticky; top: 20px; }
.game-library > header h3 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(45px, 7vw, 95px); line-height: .82; letter-spacing: -.07em; }
.game-library > header > p:last-child { max-width: 310px; color: #bdbdb7; font-family: Georgia, "Songti SC", serif; font-size: 13px; line-height: 1.7; }
.game-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #555; border-left: 1px solid #555; }
.game-group { min-width: 0; border-right: 1px solid #555; }
.game-group h4 { min-height: 64px; margin: 0; padding: 15px; border-bottom: 1px solid #555; color: var(--red); font-size: 12px; letter-spacing: .08em; }
.game-group a { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 15px; border-bottom: 1px solid #555; color: white; font-size: 11px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.game-group a:hover { background: var(--red); color: var(--black); }
.game-group em { color: #92928c; font-size: 9px; font-style: normal; white-space: nowrap; }
.game-group a:hover em { color: var(--black); }

.music-library { display: grid; grid-template-columns: minmax(270px, .85fr) 2.15fr; gap: 34px; background: var(--black); color: white; }
.music-intro { align-self: start; position: sticky; top: 72px; }
.music-intro h2 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(62px, 9vw, 135px); line-height: .78; letter-spacing: -.08em; }
.music-intro > p:last-of-type { max-width: 330px; color: #bdbdb7; font-family: Georgia, "Songti SC", serif; font-size: 13px; line-height: 1.7; }
.music-player-panel { margin-top: 28px; padding: 18px; border: 1px solid #555; background: #151515; }
.music-player-panel[hidden] { display: none; }
.music-player-panel span { display: block; color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.music-player-panel strong { display: block; margin: 8px 0 14px; font-size: 16px; }
.music-player-panel audio { width: 100%; height: 34px; accent-color: var(--red); }
.music-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #555; border-left: 1px solid #555; }
.music-group { min-width: 0; border-right: 1px solid #555; }
.music-group h3 { min-height: 58px; margin: 0; padding: 15px; border-bottom: 1px solid #555; color: var(--red); font-size: 11px; letter-spacing: .12em; }
.music-track { width: 100%; min-height: 51px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 10px 13px; border: 0; border-bottom: 1px solid #555; background: transparent; color: white; text-align: left; cursor: pointer; }
.music-track:hover, .music-track.is-playing { background: var(--red); color: var(--black); }
.music-track:focus-visible { outline: 3px solid #3975ff; outline-offset: -3px; }
.music-track b { font-size: 9px; letter-spacing: .1em; }
.music-track span { min-width: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.music-track em { color: #92928c; font-size: 8px; font-style: normal; letter-spacing: .08em; }
.music-track:hover em, .music-track.is-playing em { color: var(--black); }

.about { display: grid; grid-template-columns: .8fr 2fr 1.2fr; align-items: end; gap: 28px; background: var(--black); color: white; }
.about-number { font-family: Arial Black, var(--display); font-size: clamp(130px, 20vw, 300px); line-height: .72; letter-spacing: -.12em; color: var(--red); }
.about-copy h2 { max-width: 760px; margin: 0; font-family: Arial Black, var(--display); font-size: clamp(35px, 5vw, 72px); line-height: .91; letter-spacing: -.06em; }
.about-copy > p:last-child { max-width: 640px; margin: 24px 0 0; color: #c7c7c2; font-family: Georgia, "Songti SC", serif; line-height: 1.8; }
.about-stats { display: grid; border-top: 1px solid #555; }
.about-stats div { display: flex; align-items: baseline; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid #555; }
.about-stats strong { font-size: 30px; }
.about-stats span { color: #aaa; font-size: 11px; }

footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 24px; background: var(--red); }
footer div { display: flex; gap: 20px; align-items: baseline; }
footer strong { font-family: Arial Black, var(--display); font-size: 28px; }
footer span, footer a { font-size: 10px; font-weight: 800; letter-spacing: .1em; }

.work-dialog { width: min(620px, calc(100% - 32px)); padding: 34px; border: 1px solid var(--black); background: var(--paper); color: var(--black); box-shadow: 18px 18px 0 var(--red); }
.work-dialog::backdrop { background: rgba(0,0,0,.78); }
.work-dialog h2 { margin: 0; font-family: Arial Black, var(--display); font-size: clamp(42px, 8vw, 84px); line-height: .85; letter-spacing: -.07em; }
.dialog-close { position: absolute; right: 15px; top: 10px; border: 0; background: none; font-size: 32px; cursor: pointer; }
.dialog-lead { margin: 24px 0; font-family: Georgia, "Songti SC", serif; font-size: 17px; line-height: 1.8; }
.work-dialog dl { margin: 0 0 28px; border-top: 1px solid; }
.work-dialog dl div { display: grid; grid-template-columns: 90px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.work-dialog dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.work-dialog dd { margin: 0; font-size: 13px; }
.download-button { display: inline-block; padding: 12px 18px; background: var(--black); color: white; font-size: 12px; font-weight: 800; text-decoration: none; }
.download-button:hover { background: var(--red); color: var(--black); }

@media (max-width: 980px) {
  .lead-grid { grid-template-columns: 1fr 1fr; }
  .lead-story--primary { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
  .hits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid--curated { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-list { grid-template-columns: 1fr; }
  .demo-entry + .demo-entry { border-left: 0; border-top: 1px solid var(--paper); }
  .game-library { grid-template-columns: 1fr; }
  .game-library > header { position: static; }
  .game-groups { grid-template-columns: 1fr; }
  .music-library { grid-template-columns: 1fr; }
  .music-intro { position: static; }
  .about { grid-template-columns: 1fr 2fr; }
  .about-stats { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 680px) {
  .utility-bar { grid-template-columns: 1fr auto; padding: 0 15px; }
  .edition { display: none; }
  .menu-toggle { display: block; }
  .site-nav { display: none; height: auto; padding: 16px; flex-direction: column; gap: 16px; }
  .site-nav.is-open { display: flex; }
  .masthead { min-height: 180px; }
  .masthead p { left: 15px; top: 14px; }
  .masthead span { right: 15px; bottom: 12px; }
  .ticker { justify-content: flex-start; }
  .section-shell { padding: 38px 15px 54px; }
  .section-heading--filters { display: block; }
  .filters { margin-top: 15px; justify-content: flex-start; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-story--primary { grid-column: auto; display: block; }
  .hits-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid--curated { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-heading { display: block; padding: 20px 18px; }
  .demo-heading > span { display: block; margin-top: 14px; }
  .demo-entry { min-height: 190px; padding: 18px; }
  .work-card { padding: 10px 10px 19px; }
  .work-card h3 { font-size: 19px; }
  .mini-cover span { font-size: 23px; }
  .work-card > p:not(.eyebrow) { min-height: 0; }
  .game-library { margin-top: 34px; padding: 18px; }
  .music-groups { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-number { font-size: 180px; }
  .about-stats { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  footer, footer div { align-items: flex-start; flex-direction: column; }
  .work-dialog { padding: 28px 22px; box-shadow: 8px 8px 0 var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Final editorial layout: quieter dividers, text-led fiction cards and matched archives. */
.utility-bar,
.masthead,
.ticker,
.section-shell,
.section-heading,
.hits-grid,
.hit-card,
.work-grid,
.work-card,
.demo-showcase,
.demo-heading,
.demo-entry + .demo-entry,
.game-library,
.game-groups,
.game-group,
.game-group h4,
.game-group a,
.music-groups,
.music-group,
.music-group h3,
.music-track,
.demo-action,
.read-link,
.meta { border: 0; }

.ticker { gap: 10px; padding: 0 16px; }
.ticker span,
.ticker span:last-child { border: 0; }
.section-heading { padding: 0; margin-bottom: 32px; }
.hits-grid { gap: 18px; }
.hit-card { padding: 0; }
.hit-cover:hover img { transform: none; filter: none; }
.corner-mark::before,
.corner-mark::after { display: none !important; }
.paint-swipe { display: none !important; }
.identity-rotator #identity-text { font-size: clamp(24px, 7vw, 170px); }

.work-grid--curated {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.work-card {
  min-height: 245px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: white;
}
.work-card h3 { font-size: clamp(30px, 3.4vw, 52px); line-height: .92; }
.work-card > p:not(.eyebrow) { min-height: 0; max-width: 32em; }
.read-link { margin-top: auto; padding: 0; }
.work-card--coming { justify-content: space-between; background: var(--red); color: var(--black); }
.work-card--coming .eyebrow { color: var(--black); }
.work-card--coming h3 { max-width: 9ch; font-size: clamp(34px, 4.5vw, 72px); overflow-wrap: anywhere; }
.work-card--coming > p:not(.eyebrow) { color: var(--black); }

.demo-showcase { margin-top: 32px; }
.demo-heading { padding: 24px 0; }

.game-library,
.music-library {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) 2.15fr;
  gap: 34px;
  margin-top: 0;
  padding: 28px;
  background: var(--black);
  color: white;
}
.game-library { margin: 0 24px; }
.music-library { margin: 28px 24px 0; }
.game-library > header,
.music-intro { position: sticky; top: 20px; align-self: start; }
.game-library > header h3,
.music-intro h2 {
  margin: 0;
  font-family: Arial Black, var(--display);
  font-size: clamp(45px, 7vw, 95px);
  line-height: .82;
  letter-spacing: -.07em;
}
.game-library > header > p:last-child,
.music-intro > p:last-of-type {
  max-width: 330px;
  color: #bdbdb7;
  font-family: Georgia, "Songti SC", serif;
  font-size: 13px;
  line-height: 1.7;
}
.game-groups,
.music-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: #292929; }
.game-group,
.music-group { background: var(--black); }
.game-group h4,
.music-group h3 { margin-bottom: 2px; background: #111; }
.game-group a,
.music-track { margin-bottom: 2px; background: #111; }
.music-player-panel { border: 0; }

.about-me {
  display: grid;
  grid-template-columns: .62fr .82fr 1.75fr;
  align-items: center;
  gap: 28px;
  min-height: 0;
  margin: 32px 24px;
  padding: 28px 32px;
  background: var(--red);
  color: var(--black);
}
.about-me .eyebrow { color: var(--black); }
.about-me h2 {
  margin: 0;
  font-family: Arial Black, var(--display);
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: .84;
  letter-spacing: -.07em;
}
.about-identity { align-self: center; }
.about-identity strong,
.about-identity span { display: block; font-family: Arial Black, var(--display); line-height: .9; letter-spacing: -.06em; }
.about-identity strong { font-size: clamp(30px, 3.5vw, 48px); }
.about-identity span { margin-top: 6px; font-size: clamp(20px, 2.2vw, 30px); }
.about-details { display: grid; grid-template-columns: .9fr 1.45fr .7fr; gap: 20px; margin: 0; }
.about-details div { display: block; min-width: 0; padding: 0; }
.about-details dt { font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.about-details dd { margin: 7px 0 0; font-family: Arial Black, var(--display); font-size: clamp(15px, 1.45vw, 22px); overflow-wrap: anywhere; }
.about-details a { text-decoration: none; }
.about-details a:hover { color: white; }

@media (max-width: 980px) {
  .game-library,
  .music-library { grid-template-columns: 1fr; }
  .game-library > header,
  .music-intro { position: static; }
  .about-me { grid-template-columns: 1fr 1fr; }
  .about-details { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .work-grid--curated { grid-template-columns: 1fr; }
  .work-card { min-height: 220px; padding: 24px; }
  .game-library,
  .music-library { padding-top: 46px; padding-bottom: 54px; }
  .game-library { margin: 0 15px; }
  .music-library { margin: 22px 15px 0; }
  .about-me { grid-template-columns: 1fr; min-height: 0; margin: 22px 15px; padding: 24px; }
  .about-details { grid-column: auto; grid-template-columns: 1fr; gap: 14px; }
}

/* Restored red, black and warm-white palette. Chinese copy stays neutral. */
:root {
  --red: #ff2d22;
  --black: #0a0a0a;
  --paper: #f7f7f3;
  --line: #b9b9b4;
  --muted: #656560;
}
.section-heading h2,
.hit-card .eyebrow,
.work-card .eyebrow { color: var(--black); }
.game-group h4 { color: white; }
.footer-about-label { color: var(--black); }
footer { background: var(--red); color: var(--black); }

footer {
  min-height: 0;
  display: block;
  padding: 26px 24px 22px;
}
.footer-about {
  display: grid;
  grid-template-columns: auto auto auto minmax(220px, 1fr) auto;
  align-items: baseline;
  gap: 22px;
}
.footer-about strong { font-size: 18px; }
.footer-about span,
.footer-about a {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
}
.footer-about-label { color: var(--purple); }
.footer-about a:hover { color: var(--red); }
.footer-signoff {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
}
.footer-signoff > div { display: flex; align-items: baseline; gap: 18px; }
.footer-signoff strong { font-size: 24px; }
.footer-signoff span,
.footer-signoff a { font-size: 9px; }

@media (max-width: 980px) {
  .footer-about { grid-template-columns: auto auto 1fr; }
}

@media (max-width: 680px) {
  footer { padding: 24px 15px; }
  .footer-about { grid-template-columns: 1fr; gap: 9px; }
  .footer-signoff,
  .footer-signoff > div { align-items: flex-start; flex-direction: column; }
}

/* Open archive sections: remove the two large black outer panels. */
.game-library,
.music-library {
  background: transparent;
  color: var(--black);
}
.game-library > header > p:last-child,
.music-intro > p:last-of-type { color: var(--muted); }

/* Multi-column footer inspired by the supplied reference layout. */
footer {
  min-height: 430px;
  padding: 70px max(24px, 12vw) 34px;
  background: var(--red);
  color: var(--black);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 74px);
}
.footer-brand-column,
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-brand-column strong {
  font-family: Arial Black, var(--display);
  font-size: clamp(22px, 2.5vw, 38px);
  line-height: .88;
  letter-spacing: -.06em;
}
.footer-brand-column span,
.footer-column h3 {
  margin: 0;
  color: var(--black);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}
.footer-column strong,
.footer-column span,
.footer-column a {
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}
.footer-column a:hover { text-decoration: underline; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 120px;
  color: var(--black);
}
.footer-legal span { font-size: 9px; letter-spacing: .08em; }

@media (max-width: 980px) {
  footer { min-height: 0; padding: 54px 24px 30px; }
  .footer-columns { grid-template-columns: repeat(3, 1fr); }
  .footer-legal { margin-top: 70px; }
}

@media (max-width: 680px) {
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .footer-brand-column { grid-column: 1 / -1; }
  .footer-legal { align-items: flex-start; flex-direction: column; margin-top: 50px; }
}
