:root {
	--ink-green: #102f27;
	--ink-green-deep: #08231d;
	--ivory: #f4efdf;
	--ivory-light: #fbf8ee;
	--burgundy: #722538;
	--burgundy-dark: #511829;
	--signal-yellow: #ffd633;
	--charcoal: #171b19;
	--muted-green: #577067;
	--line: #b9b39f;
	--white: #fffdf6;
	--container: 1480px;
	--page-gutter: clamp(22px, 4vw, 68px);
	--section-space: clamp(82px, 10vw, 150px);
	--display-size: clamp(38px, 5vw, 68px);
	--h1-size: clamp(36px, 5.3vw, 72px);
	--h2-size: clamp(30px, 3.6vw, 50px);
	--h3-size: clamp(21px, 2.2vw, 30px);
	--body-size: clamp(16px, 1.25vw, 18px);
	--transition: 420ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { margin: 0; background: var(--ivory); color: var(--charcoal); font-family: "Noto Sans TC", sans-serif; font-size: var(--body-size); line-height: 1.8; overflow-x: hidden; }
body.menu-open { overflow: hidden; }

img { display: block; width: 100%; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

p { margin: 0; }

figure { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; }
h1 { font-size: var(--h1-size); line-height: 1.13; }
h2 { font-size: var(--h2-size); line-height: 1.24; }
h3 { font-size: var(--h3-size); line-height: 1.35; }

main { display: block; }

.container { width: min(calc(100% - (var(--page-gutter) * 2)), var(--container)); margin-inline: auto; }

.section-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--burgundy); font-size: 14px; font-weight: 800; letter-spacing: 0.13em; }
.section-kicker::before { content: ""; width: 38px; height: 3px; background: currentColor; }

.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid currentColor; font-weight: 800; line-height: 1.4; transition: gap var(--transition), color var(--transition); }
.text-link::after { content: "↗"; font-size: 1.05em; }
.text-link:hover, .text-link:focus-visible { gap: 19px; color: var(--burgundy); }

.solid-link { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 22px; background: var(--signal-yellow); border: 2px solid var(--charcoal); color: var(--charcoal); font-weight: 900; box-shadow: 5px 5px 0 var(--charcoal); transition: transform 180ms ease, box-shadow 180ms ease; }
.solid-link:hover, .solid-link:focus-visible { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--charcoal); }

.reveal-mask { opacity: 0; clip-path: inset(0 100% 0 0); transition: clip-path 760ms cubic-bezier(0.22, 0.7, 0.2, 1), opacity 260ms ease; }
.reveal-mask.is-visible { opacity: 1; clip-path: inset(0 0 0 0); }

:focus-visible { outline: 3px solid var(--signal-yellow); outline-offset: 4px; }

/* header */
header { position: relative; background: var(--ivory-light); border-bottom: 1px solid var(--charcoal); }
header .skip-link { position: fixed; z-index: 200; top: 12px; left: 12px; padding: 10px 16px; background: var(--signal-yellow); border: 2px solid var(--charcoal); font-weight: 800; transform: translateY(-150%); transition: transform 180ms ease; }
header .skip-link:focus { transform: translateY(0); }
header .utility-bar { display: flex; justify-content: space-between; align-items: center; min-height: 38px; padding: 6px var(--page-gutter); background: var(--ink-green); color: var(--ivory); font-size: 14px; letter-spacing: 0.04em; }
header .utility-list { display: flex; align-items: center; gap: 24px; }
header .utility-label { color: var(--signal-yellow); font-weight: 800; }
header .main-nav { position: relative; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - (var(--page-gutter) * 2)), var(--container)); min-height: 88px; margin-inline: auto; border-bottom: 1px solid var(--line); transition: min-height var(--transition), background var(--transition); }
header.is-scrolled .main-nav { min-height: 70px; }
header .nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
header .nav-list:last-of-type { justify-content: flex-end; }
header .nav-list a { position: relative; padding: 10px 0; font-size: 15px; font-weight: 700; }
header .nav-list a::after { content: ""; position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
header .nav-list a:hover::after, header .nav-list a:focus-visible::after { transform: scaleX(1); }
header .brand-lockup { display: flex; align-items: center; gap: 12px; padding-inline: 28px; }
header .brand-mark { position: relative; display: grid; width: 42px; height: 42px; place-items: center; }
header .brand-name { display: block; font-size: 17px; font-weight: 900; line-height: 1.25; }
header .brand-en { display: block; color: var(--muted-green); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; }
header .menu-toggle { display: none; width: 46px; height: 46px; padding: 0; background: var(--signal-yellow); border: 2px solid var(--charcoal); cursor: pointer; }
header .menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--charcoal); transition: transform 220ms ease, opacity 220ms ease; }
header .main-nav.is-open .menu-toggle span:first-child { transform: translateY(7px) rotate(45deg); }
header .main-nav.is-open .menu-toggle span:nth-child(2) { opacity: 0; }
header .main-nav.is-open .menu-toggle span:last-child { transform: translateY(-7px) rotate(-45deg); }
header .hero-shell { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr); gap: clamp(38px, 6vw, 100px); width: min(calc(100% - (var(--page-gutter) * 2)), var(--container)); margin-inline: auto; padding: clamp(62px, 8vw, 116px) 0 0; }
header .hero-heading { align-self: end; padding-bottom: clamp(44px, 6vw, 80px); }
header .hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; color: var(--burgundy); font-size: 14px; font-weight: 900; letter-spacing: 0.14em; }
header .hero-kicker::before { content: ""; width: 38px; height: 3px; background: var(--burgundy); }
header .hero-heading h1 { max-width: 920px; color: var(--ink-green); }
header .hero-heading h1 span { display: inline; color: var(--burgundy); }
header .hero-summary { display: grid; grid-template-columns: minmax(0, 540px) auto; align-items: end; gap: 30px; margin-top: 32px; }
header .hero-summary p { max-width: 590px; color: #3e4c46; line-height: 1.85; }
header .hero-index { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 20px 0 36px; border-top: 6px solid var(--signal-yellow); }
header .hero-index-label { font-size: 13px; font-weight: 900; letter-spacing: 0.14em; }
header .hero-index-list { border-top: 1px solid var(--charcoal); }
header .hero-index-list li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
header .hero-index-list span:last-child { color: var(--burgundy); }
header .hero-board { position: absolute; left: -36px; bottom: 10px; width: 132px; height: 132px; background: repeating-conic-gradient( var(--ink-green) 0 25%, var(--ivory) 0 50% ) 0 0/44px 44px; border: 2px solid var(--charcoal); transform: rotate(7deg); z-index: 2; }
header .hero-media { position: relative; grid-column: 1/-1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; border-top: 1px solid var(--charcoal); }
header .hero-media-frame { position: relative; overflow: hidden; aspect-ratio: 21/7; background: var(--ink-green); }
header .hero-media-frame::after { content: ""; position: absolute; inset: 0; background: rgba(8, 35, 29, 0.14); pointer-events: none; }
header .hero-media img { height: 100%; object-fit: cover; object-position: 50% 48%; filter: saturate(0.72) contrast(1.04); }
header .hero-media figcaption { max-width: 330px; padding: 24px 0 24px 28px; color: #415047; font-size: 14px; line-height: 1.7; }

/* game-index */
#game-index { padding: var(--section-space) 0; background: var(--ivory); }
#game-index .section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr); gap: clamp(38px, 7vw, 110px); align-items: end; margin-bottom: clamp(54px, 7vw, 92px); }
#game-index .section-heading h2 { max-width: 780px; color: var(--ink-green); }
#game-index .section-heading p { max-width: 560px; color: #526058; }
#game-index .catalog-layout { display: grid; grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr); gap: clamp(42px, 6vw, 92px); align-items: start; }
#game-index .featured-game { position: sticky; top: 34px; }
#game-index .featured-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--burgundy); }
#game-index .featured-media img { height: 100%; object-fit: cover; object-position: 52% 50%; filter: saturate(0.68) contrast(1.08); }
#game-index .featured-stamp { position: absolute; right: 18px; bottom: 18px; display: grid; width: 96px; height: 96px; place-items: center; padding: 10px; background: var(--signal-yellow); border: 2px solid var(--charcoal); font-size: 14px; font-weight: 900; line-height: 1.35; text-align: center; transform: rotate(-3deg); }
#game-index .featured-copy { display: grid; grid-template-columns: 1fr auto; gap: 22px; padding-top: 22px; border-top: 7px solid var(--burgundy); }
#game-index .featured-copy p { max-width: 460px; margin-top: 10px; color: #506058; }
#game-index .featured-meta { padding-top: 4px; color: var(--burgundy); font-size: 14px; font-weight: 900; letter-spacing: 0.08em; white-space: nowrap; }
#game-index .game-directory { border-top: 2px solid var(--charcoal); }
#game-index .directory-head { display: grid; grid-template-columns: 1.3fr 0.55fr 0.55fr auto; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--charcoal); font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
#game-index .game-row { display: grid; grid-template-columns: 1.3fr 0.55fr 0.55fr auto; gap: 20px; align-items: center; min-height: 104px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding var(--transition), background var(--transition); }
#game-index .game-row:hover, #game-index .game-row:focus-visible { padding-inline: 18px; background: var(--ivory-light); }
#game-index .game-title { display: flex; align-items: center; gap: 18px; }
#game-index .game-symbol { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; background: var(--ink-green); color: var(--signal-yellow); font-size: 20px; font-weight: 900; }
#game-index .game-title strong { display: block; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.35; }
#game-index .game-title small { display: block; margin-top: 4px; color: #69746e; font-size: 14px; }
#game-index .game-type, #game-index .game-mood { font-size: 15px; font-weight: 700; }
#game-index .game-entry { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--charcoal); font-size: 20px; transition: background var(--transition), color var(--transition); }
#game-index .game-row:hover .game-entry { background: var(--burgundy); color: var(--ivory); }

/* quick-room */
#quick-room { position: relative; padding: var(--section-space) 0; background: var(--ink-green); color: var(--ivory); overflow: hidden; }
#quick-room::before { content: ""; position: absolute; top: 0; right: 0; width: 35vw; min-width: 360px; height: 100%; background: repeating-conic-gradient( rgba(255, 214, 51, 0.09) 0 25%, transparent 0 50% ) 0 0/64px 64px; pointer-events: none; }
#quick-room .room-layout { position: relative; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1.22fr); gap: clamp(50px, 8vw, 120px); align-items: start; }
#quick-room .room-intro { position: sticky; top: 34px; }
#quick-room .section-kicker { color: var(--signal-yellow); }
#quick-room .room-intro h2 { max-width: 580px; }
#quick-room .room-intro > p { max-width: 530px; margin-top: 24px; color: #cbd8d2; }
#quick-room .room-mode-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
#quick-room .mode-button { min-height: 48px; padding: 10px 18px; background: transparent; border: 1px solid #8ca097; color: var(--ivory); font-weight: 800; cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition); }
#quick-room .mode-button:hover, #quick-room .mode-button:focus-visible, #quick-room .mode-button.is-active { background: var(--signal-yellow); border-color: var(--signal-yellow); color: var(--charcoal); }
#quick-room .room-console { position: relative; padding: clamp(28px, 4vw, 54px); background: var(--ivory); border: 2px solid var(--charcoal); color: var(--charcoal); box-shadow: 14px 14px 0 var(--burgundy); }
#quick-room .console-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 24px; border-bottom: 2px solid var(--charcoal); }
#quick-room .console-label { color: var(--burgundy); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; }
#quick-room .console-mode { margin-top: 5px; font-size: clamp(26px, 3vw, 42px); font-weight: 900; line-height: 1.25; letter-spacing: -0.04em; }
#quick-room .console-state { padding: 7px 10px; background: var(--signal-yellow); border: 1px solid var(--charcoal); font-size: 13px; font-weight: 900; white-space: nowrap; }
#quick-room .console-copy { max-width: 650px; min-height: 92px; padding: 22px 0; color: #4a5851; }
#quick-room .room-path { border-top: 1px solid var(--charcoal); }
#quick-room .path-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 22px; align-items: center; min-height: 74px; border-bottom: 1px solid var(--line); }
#quick-room .path-label { font-weight: 900; }
#quick-room .path-description { color: #58645e; }
#quick-room .path-mark { display: grid; width: 28px; height: 28px; place-items: center; background: var(--ink-green); color: var(--signal-yellow); font-size: 13px; font-weight: 900; }
#quick-room .console-actions { display: flex; justify-content: space-between; gap: 22px; align-items: center; margin-top: 30px; }
#quick-room .console-note { max-width: 330px; color: #66716b; font-size: 14px; }

/* season */
#season { padding: var(--section-space) 0; background: var(--burgundy); color: var(--ivory); }
#season .season-heading { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.3fr); gap: clamp(50px, 9vw, 140px); align-items: end; margin-bottom: clamp(58px, 8vw, 100px); }
#season .section-kicker { color: var(--signal-yellow); }
#season .season-heading h2 { max-width: 500px; }
#season .season-lead { max-width: 700px; color: #ead4d9; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.7; }
#season .season-ledger { border-top: 2px solid var(--ivory); }
#season .season-row { display: grid; grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr) minmax( 180px, 0.45fr ); gap: clamp(22px, 5vw, 72px); align-items: start; padding: 30px 0; border-bottom: 1px solid rgba(244, 239, 223, 0.36); }
#season .season-label { color: var(--signal-yellow); font-size: 14px; font-weight: 900; letter-spacing: 0.1em; }
#season .season-row h3 { margin-bottom: 9px; }
#season .season-row p { max-width: 690px; color: #ead4d9; }
#season .season-action { justify-self: end; color: var(--signal-yellow); }
#season .season-banner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-top: 70px; padding-top: 24px; border-top: 8px solid var(--signal-yellow); }
#season .season-banner strong { display: block; max-width: 900px; font-size: clamp(27px, 4vw, 54px); line-height: 1.23; letter-spacing: -0.04em; }
#season .season-banner span { max-width: 240px; color: #ead4d9; font-size: 14px; }

/* ranking */
#ranking { padding: var(--section-space) 0; background: var(--ivory-light); }
#ranking .ranking-layout { display: grid; grid-template-columns: minmax(260px, 0.46fr) minmax(0, 1.54fr); gap: clamp(44px, 8vw, 130px); align-items: start; }
#ranking .ranking-intro { position: sticky; top: 34px; }
#ranking .ranking-intro h2 { color: var(--ink-green); }
#ranking .ranking-intro p { max-width: 470px; margin-top: 24px; color: #536159; }
#ranking .ranking-table { border-top: 2px solid var(--charcoal); }
#ranking .ranking-row { display: grid; grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr) minmax( 150px, 0.38fr ); gap: 30px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
#ranking .ranking-row:first-child { padding: 12px 0; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; }
#ranking .ranking-row h3 { color: var(--burgundy); }
#ranking .ranking-row p { color: #526058; }
#ranking .ranking-rule { font-size: 14px; font-weight: 800; }
#ranking .ranking-note { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; margin-top: 38px; padding: 24px 0; border-top: 1px solid var(--charcoal); border-bottom: 1px solid var(--charcoal); }
#ranking .ranking-note p { max-width: 670px; }

/* creator */
#creator { padding: var(--section-space) 0; background: var(--signal-yellow); }
#creator .creator-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.62fr); gap: clamp(50px, 8vw, 130px); align-items: start; }
#creator .section-kicker { color: var(--burgundy); }
#creator .creator-copy h2 { max-width: 790px; color: var(--ink-green); }
#creator .creator-lead { max-width: 690px; margin-top: 26px; color: #36443e; }
#creator .tool-list { margin-top: 52px; border-top: 3px solid var(--charcoal); }
#creator .tool-row { display: grid; grid-template-columns: minmax(170px, 0.4fr) minmax(0, 1fr) auto; gap: 26px; align-items: center; min-height: 94px; border-bottom: 1px solid var(--charcoal); }
#creator .tool-row strong { font-size: clamp(19px, 1.8vw, 25px); }
#creator .tool-row p { color: #445149; }
#creator .tool-row span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--charcoal); font-weight: 900; }
#creator .creator-media { position: relative; margin-top: 18px; }
#creator .creator-media figure { overflow: hidden; aspect-ratio: 4/5; background: var(--burgundy); }
#creator .creator-media img { height: 100%; object-fit: cover; object-position: 52% 50%; filter: saturate(0.58) contrast(1.08); }
#creator .creator-caption { position: absolute; right: -20px; bottom: 26px; width: min(270px, 80%); padding: 18px 20px; background: var(--ivory); border: 2px solid var(--charcoal); font-size: 14px; font-weight: 700; line-height: 1.65; }
#creator .creator-action { margin-top: 34px; }
#creator .creator-action .solid-link { background: var(--burgundy); color: var(--ivory); }

/* community */
#community { padding: var(--section-space) 0; background: var(--ivory); }
#community .community-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr); gap: clamp(44px, 8vw, 130px); align-items: end; margin-bottom: 56px; }
#community .community-heading h2 { max-width: 750px; color: var(--ink-green); }
#community .community-heading p { max-width: 520px; color: #526058; }
#community .community-media { position: relative; overflow: hidden; aspect-ratio: 21/7; background: var(--ink-green); }
#community .community-media img { height: 100%; object-fit: cover; object-position: 50% 46%; filter: saturate(0.62) contrast(1.05); }
#community .community-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 35, 29, 0.48), transparent 54%); }
#community .community-quote { position: absolute; left: clamp(22px, 5vw, 72px); bottom: clamp(22px, 4vw, 52px); z-index: 2; max-width: 590px; color: var(--white); font-size: clamp(22px, 3vw, 39px); font-weight: 800; line-height: 1.4; letter-spacing: -0.03em; }
#community .discussion-layout { display: grid; grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1.58fr); gap: clamp(42px, 7vw, 110px); margin-top: 58px; }
#community .discussion-intro p { max-width: 360px; color: #526058; }
#community .discussion-index { border-top: 2px solid var(--charcoal); }
#community .discussion-row { display: grid; grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr) auto; gap: 30px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--line); }
#community .discussion-topic { color: var(--burgundy); font-size: 14px; font-weight: 900; letter-spacing: 0.08em; }
#community .discussion-row strong { font-size: clamp(18px, 1.65vw, 23px); }
#community .discussion-row span:last-child { font-size: 22px; }

/* member */
#member { position: relative; padding: var(--section-space) 0; background: var(--ink-green-deep); color: var(--ivory); overflow: hidden; }
#member::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 360px; height: 360px; border: 70px solid var(--burgundy); transform: rotate(16deg); opacity: 0.62; }
#member .member-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.54fr); gap: clamp(48px, 9vw, 150px); align-items: end; }
#member .section-kicker { color: var(--signal-yellow); }
#member h2 { max-width: 870px; }
#member .member-copy > p { max-width: 690px; margin-top: 26px; color: #cbd8d2; }
#member .member-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }
#member .member-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border: 1px solid #8ca097; font-weight: 800; transition: background var(--transition), color var(--transition); }
#member .member-link:hover, #member .member-link:focus-visible { background: var(--ivory); color: var(--ink-green); }
#member .member-directory { border-top: 7px solid var(--signal-yellow); }
#member .member-directory li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #50665d; font-weight: 700; }
#member .member-directory span:last-child { color: var(--signal-yellow); }

/* footer */
footer { background: var(--charcoal); color: var(--ivory); }
footer .footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr); gap: 50px; width: min(calc(100% - (var(--page-gutter) * 2)), var(--container)); margin-inline: auto; padding: clamp(58px, 7vw, 96px) 0 42px; }
footer .footer-brand { font-size: clamp(20px, 6vw, 40px); font-weight: 900; line-height: 1; letter-spacing: -0.055em; }
footer .footer-brand span { display: block; margin-top: 12px; color: var(--signal-yellow); font-size: clamp(12px, 1.5vw, 17px); letter-spacing: 0.08em; }
footer .footer-summary { align-self: end; max-width: 520px; color: #c9cbc5; }
footer .footer-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
footer .footer-nav a { border-bottom: 1px solid transparent; font-weight: 700; }
footer .footer-nav a:hover, footer .footer-nav a:focus-visible { border-color: var(--signal-yellow); color: var(--signal-yellow); }
footer .footer-bottom { display: flex; justify-content: space-between; gap: 30px; width: min(calc(100% - (var(--page-gutter) * 2)), var(--container)); margin-inline: auto; padding: 20px 0; border-top: 1px solid #4a4f4c; color: #aeb3af; font-size: 14px; }
footer .footer-bottom span:last-child { color: var(--signal-yellow); }

@media (max-width: 1280px) {
	:root { --page-gutter: 38px; --section-space: 112px; }
	header .hero-shell { grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr); gap: 54px; }
	header .hero-summary { grid-template-columns: 1fr; }
	header .hero-board { right: -12px; width: 110px; height: 110px; background-size: 36px 36px; }
	#game-index .catalog-layout { grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr); gap: 55px; }
	#quick-room .room-layout { grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1.32fr); gap: 64px; }
	#creator .creator-layout { gap: 72px; }
}
@media (max-width: 960px) {
	:root { --page-gutter: 28px; --section-space: 94px; }
	header .utility-list:last-child { display: none; }
	header .main-nav { grid-template-columns: auto 1fr auto; min-height: 76px; }
	header .brand-lockup { grid-column: 1; padding: 0; }
	header .menu-toggle { display: block; grid-column: 3; }
	header .nav-list { position: fixed; right: 0; left: 0; z-index: 49; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--page-gutter) 34px; background: var(--ivory-light); border-bottom: 2px solid var(--charcoal); }
	header .nav-list:first-of-type { top: 114px; }
	header .nav-list:last-of-type { top: 292px; justify-content: flex-start; padding-top: 0; }
	header .main-nav.is-open .nav-list { display: flex; }
	header .nav-list a { padding: 13px 0; border-bottom: 1px solid var(--line); }
	header .hero-shell { grid-template-columns: 1fr; padding-top: 64px; }
	header .hero-heading { padding-bottom: 18px; }
	header .hero-index { display: grid; grid-template-columns: 160px 1fr; gap: 30px; padding: 18px 0 26px; }
	header .hero-board { display: none; }
	header .hero-media { grid-template-columns: 1fr; }
	header .hero-media-frame { aspect-ratio: 16/7; }
	header .hero-media figcaption { max-width: none; padding: 18px 0; }
	#game-index .section-heading { grid-template-columns: 1fr; gap: 26px; }
	#game-index .catalog-layout { grid-template-columns: 1fr; }
	#game-index .featured-game { position: relative; top: auto; display: grid; grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1fr); gap: 32px; align-items: end; }
	#game-index .featured-copy { grid-template-columns: 1fr; }
	#quick-room .room-layout { grid-template-columns: 1fr; }
	#quick-room .room-intro { position: relative; top: auto; }
	#season .season-heading { grid-template-columns: 1fr; gap: 30px; }
	#ranking .ranking-layout { grid-template-columns: 1fr; }
	#ranking .ranking-intro { position: relative; top: auto; }
	#creator .creator-layout { grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.65fr); gap: 48px; }
	#community .community-heading { grid-template-columns: 1fr; gap: 24px; }
	#community .community-media { aspect-ratio: 16/7; }
	#community .discussion-layout { grid-template-columns: 1fr; }
	#member .member-layout { grid-template-columns: 1fr; }
	#member .member-directory { max-width: 650px; }
	footer .footer-main { grid-template-columns: 1fr; }
	footer .footer-summary { align-self: start; }
}
@media (max-width: 768px) {
	:root { --page-gutter: 22px; --section-space: 78px; --h1-size: clamp(34px, 9vw, 52px); }
	header .utility-bar { justify-content: center; text-align: center; }
	header .utility-list:first-child li:not(:first-child) { display: none; }
	header .brand-en { display: none; }
	header .hero-kicker { font-size: 12px; }
	header .hero-heading h1 br { display: none; }
	header .hero-summary { margin-top: 25px; }
	header .hero-index { grid-template-columns: 1fr; gap: 14px; }
	header .hero-index-list li { padding: 11px 0; }
	header .hero-media-frame { aspect-ratio: 4/3; }
	header .hero-media img { object-position: 52% 50%; }
	#game-index .featured-game { display: block; }
	#game-index .featured-media { aspect-ratio: 4/3; }
	#game-index .featured-copy { margin-top: 20px; }
	#game-index .directory-head { display: none; }
	#game-index .game-row { grid-template-columns: 1fr auto; gap: 16px; min-height: 118px; }
	#game-index .game-type, #game-index .game-mood { grid-column: 1; font-size: 14px; }
	#game-index .game-mood { display: none; }
	#game-index .game-entry { grid-column: 2; grid-row: 1/3; }
	#quick-room::before { width: 100%; min-width: 0; height: 250px; }
	#quick-room .room-console { padding: 26px; box-shadow: 8px 8px 0 var(--burgundy); }
	#quick-room .console-top { display: block; }
	#quick-room .console-state { display: inline-block; margin-top: 16px; }
	#quick-room .path-row { grid-template-columns: 1fr auto; gap: 12px; padding: 15px 0; }
	#quick-room .path-description { grid-column: 1; }
	#quick-room .path-mark { grid-column: 2; grid-row: 1/3; }
	#quick-room .console-actions { align-items: flex-start; flex-direction: column; }
	#season .season-row { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
	#season .season-action { justify-self: start; margin-top: 8px; }
	#season .season-banner { grid-template-columns: 1fr; }
	#ranking .ranking-row { grid-template-columns: 1fr; gap: 10px; }
	#ranking .ranking-row:first-child { display: none; }
	#ranking .ranking-note { grid-template-columns: 1fr; }
	#ranking .ranking-note .text-link { justify-self: start; }
	#creator .creator-layout { grid-template-columns: 1fr; }
	#creator .creator-media { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(190px, 0.3fr); align-items: end; }
	#creator .creator-caption { position: relative; right: auto; bottom: auto; width: auto; margin-left: -35px; margin-bottom: 28px; }
	#creator .tool-row { grid-template-columns: 1fr auto; gap: 12px; padding: 19px 0; }
	#creator .tool-row p { grid-column: 1; }
	#creator .tool-row span { grid-column: 2; grid-row: 1/3; }
	#community .community-media { aspect-ratio: 4/3; }
	#community .community-media::after { background: linear-gradient( 0deg, rgba(8, 35, 29, 0.7), transparent 76% ); }
	#community .discussion-row { grid-template-columns: 1fr auto; gap: 12px; padding: 18px 0; }
	#community .discussion-topic { grid-column: 1; }
	#community .discussion-row strong { grid-column: 1; }
	#community .discussion-row span:last-child { grid-column: 2; grid-row: 1/3; }
	#member::after { width: 250px; height: 250px; border-width: 45px; }
	footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width: 500px) {
	:root { --page-gutter: 17px; --section-space: 66px; --h1-size: clamp(32px, 10.5vw, 40px); --h2-size: clamp(28px, 8.5vw, 36px); }
	body { font-size: 16px; }
	header .utility-bar { min-height: 34px; font-size: 12px; }
	header .main-nav { min-height: 68px; }
	header .brand-mark { width: 38px; height: 38px; }
	header .brand-name { font-size: 15px; }
	header .menu-toggle { width: 42px; height: 42px; }
	header .nav-list:first-of-type { top: 102px; }
	header .nav-list:last-of-type { top: 280px; }
	header .hero-shell { padding-top: 48px; }
	header .hero-kicker { align-items: flex-start; letter-spacing: 0.08em; }
	header .hero-kicker::before { width: 24px; margin-top: 8px; }
	header .hero-summary { gap: 22px; }
	header .hero-media-frame { aspect-ratio: 1/1; }
	header .hero-media img { object-position: 55% 50%; }
	.solid-link { width: 100%; min-height: 52px; }
	.section-kicker { font-size: 12px; letter-spacing: 0.09em; }
	#game-index .section-heading { margin-bottom: 42px; }
	#game-index .featured-media { aspect-ratio: 4/5; }
	#game-index .featured-copy { display: block; }
	#game-index .featured-meta { margin-top: 15px; white-space: normal; }
	#game-index .game-title { gap: 12px; }
	#game-index .game-symbol { width: 40px; height: 40px; flex-basis: 40px; }
	#quick-room .room-mode-list { display: grid; grid-template-columns: 1fr; }
	#quick-room .mode-button { width: 100%; }
	#quick-room .room-console { padding: 22px 18px; }
	#quick-room .console-mode { font-size: 27px; }
	#quick-room .console-copy { min-height: 122px; }
	#season .season-banner strong { font-size: 28px; }
	#creator .creator-media { display: block; }
	#creator .creator-caption { margin: -28px 14px 0; position: relative; }
	#creator .creator-action .solid-link { width: 100%; }
	#community .community-media { aspect-ratio: 4/5; }
	#community .community-quote { font-size: 22px; }
	#member .member-actions { display: grid; }
	#member .member-link { width: 100%; }
	footer .footer-brand { font-size: 42px; line-height: 1.08; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto; transition-duration: 0.01ms; animation-duration: 0.01ms; animation-iteration-count: 1; }
	.reveal-mask { opacity: 1; clip-path: none; }
}