:root {
  --canvas: #fff;
  --ink: #111114;
  --muted: #686677;
  --line: #e9e7f2;
  --lavender: #f4f2ff;
  --violet: #6e40ff;
  --violet-deep: #4b22d6;
  --sky: #0797ff;
  --mint: #00b995;
  --yellow: #ffe045;
  --coral: #ff5d73;
  --header-height: 76px;
  --gutter: clamp(24px, 3vw, 46px);
  --max: 1536px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
body [hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(110, 64, 255, .3); outline-offset: 3px; }

.site-header {
  height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .98);
  position: relative;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, #a97cff, #6238f5); color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: -.04em; box-shadow: 0 10px 24px rgba(93, 50, 222, .22); }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; }
.brand-divider { width: 1px; height: 24px; background: #d7d4e1; }
.brand-section { color: var(--violet); font-size: .85rem; font-weight: 800; }
.site-nav { min-width: 0; display: flex; justify-content: center; align-items: center; gap: 1px; white-space: nowrap; }
.site-nav a { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; color: #45434f; font-size: .76rem; font-weight: 650; padding: 0 8px; border-radius: 10px; }
.site-nav a:hover { background: var(--lavender); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--violet-deep); background: #eee9ff; }
.header-actions { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.creator-link, .account-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; padding: 0 14px; font-size: .75rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.creator-link { gap: 7px; background: var(--ink); color: #fff; }
.creator-link svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.creator-link:hover { background: var(--violet-deep); }
.account-button { max-width: 156px; gap: 8px; overflow: hidden; border: 1px solid #d9d6e4; background: #fff; cursor: pointer; text-overflow: ellipsis; }
.account-button:hover { border-color: var(--violet); }
.account-button .avatar,
.account-button .ai-user-avatar { width: 26px; height: 26px; min-width: 26px; flex: 0 0 26px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--violet); color: #fff; font-size: .69rem; line-height: 1; }
.account-button .avatar img,
.account-button .ai-user-avatar img { display: block; width: 26px !important; height: 26px !important; min-width: 26px; min-height: 26px; max-width: 26px; max-height: 26px; object-fit: cover; }

.module-status {
  width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2));
  min-height: 62px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 13px;
  padding: 10px 13px;
  border: 1px solid #d9d4f5;
  border-radius: 14px;
  background: #f5f2ff;
  color: #2e2850;
}
.module-status__signal { width: 26px; height: 26px; border: 3px solid rgba(110, 64, 255, .18); border-top-color: var(--violet); border-radius: 50%; animation: spin .8s linear infinite; }
.module-status__copy { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 10px; }
.module-status__copy strong { font-size: .78rem; }
.module-status__copy > span { min-width: 0; overflow: hidden; color: #6a6680; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }
.module-progress { grid-column: 1 / -1; height: 4px; margin-top: 7px; overflow: hidden; border-radius: 4px; background: rgba(110, 64, 255, .13); }
.module-progress i { display: block; width: 12%; height: 100%; border-radius: inherit; background: var(--violet); transition: width .35s cubic-bezier(.2, .8, .2, 1); }
.module-status code { max-width: 190px; overflow: hidden; color: #746e91; font: 650 .6rem/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.module-status button { min-height: 38px; border: 0; border-radius: 10px; padding: 0 13px; background: var(--ink); color: #fff; font-size: .68rem; font-weight: 800; cursor: pointer; }
.module-status.is-warning { border-color: #ead891; background: #fff9df; color: #534512; }
.module-status.is-warning .module-status__signal { border: 0; border-radius: 8px; background: #f1b900; animation: none; }
.module-status.is-warning .module-progress { background: rgba(145, 104, 0, .13); }
.module-status.is-warning .module-progress i { background: #c58b00; }
.module-status.is-error { border-color: #f2b2bc; background: #fff0f2; color: #721b2a; }
.module-status.is-error .module-status__signal { border: 0; border-radius: 8px; background: var(--coral); animation: none; }
.module-status.is-error .module-progress { background: rgba(176, 35, 58, .12); }
.module-status.is-error .module-progress i { background: var(--coral); }
.module-status.is-success { border-color: #9fdfd0; background: #eaf9f5; color: #095b4a; }
.module-status.is-success .module-status__signal { border: 0; border-radius: 8px; background: var(--mint); animation: none; }
.module-status.is-success .module-progress { background: rgba(0, 125, 101, .12); }
.module-status.is-success .module-progress i { background: var(--mint); }
.module-status--admin { width: calc(100% - 32px); margin: 16px; background: #1f1e25; color: #fff; border-color: #383641; }
.module-status--admin .module-status__copy > span,
.module-status--admin code { color: #aaa5b8; }

main { overflow: hidden; }
.global-lab { width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2)); margin: 24px auto 0; display: grid; grid-template-columns: minmax(290px, 1.1fr) minmax(520px, 1.6fr) auto; align-items: center; gap: 28px; padding: 24px 26px; border: 1px solid #2a2440; border-radius: 19px; background: radial-gradient(circle at 78% -20%, rgba(113, 70, 255, .42), transparent 38%), linear-gradient(120deg, #121019, #211538); color: #fff; box-shadow: 0 20px 55px rgba(33, 21, 70, .16); }
.global-lab__copy > span { color: #a991ff; font: 850 .59rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.global-lab h2 { margin: 9px 0 0; font-size: clamp(1.4rem, 2.3vw, 2rem); letter-spacing: -.04em; }
.global-lab__copy p { max-width: 560px; margin: 9px 0 0; color: #c9c3d6; font-size: .7rem; line-height: 1.65; }
.global-lab__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.global-lab__facts div { min-width: 0; padding: 4px 15px; border-left: 1px solid rgba(255, 255, 255, .13); }
.global-lab__facts strong, .global-lab__facts span { display: block; }
.global-lab__facts strong { color: #ffe168; font-size: clamp(1rem, 1.55vw, 1.35rem); letter-spacing: -.03em; white-space: nowrap; }
.global-lab__facts span { margin-top: 5px; color: #a9a2b7; font-size: .57rem; white-space: nowrap; }
.global-lab > a { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 11px; background: #fff; color: #17131f; font-size: .66rem; font-weight: 850; text-decoration: none; white-space: nowrap; }
.theater {
  width: min(var(--max), 100%);
  min-height: clamp(650px, calc(100dvh - 124px), 736px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(330px, 31fr) minmax(480px, 40fr) minmax(300px, 29fr);
  padding: 0 var(--gutter);
  background: radial-gradient(circle at 20% 54%, rgba(110, 64, 255, .1), transparent 35%), #fff;
  border-bottom: 1px solid var(--line);
}
.feature-copy { min-width: 0; padding: 38px clamp(25px, 2.6vw, 42px) 36px 0; display: flex; flex-direction: column; }
.section-sign { width: max-content; max-width: 100%; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 11px; padding: 12px 15px; border-radius: 13px; background: #efebff; color: var(--violet-deep); }
.section-sign > span { grid-row: 1 / 3; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--violet); color: #fff; font-size: .7rem; }
.section-sign strong { font-size: .9rem; }
.section-sign small { margin-top: 2px; color: #716c8f; font-size: .66rem; }
.feature-copy__body { margin: 44px 0 auto; }
.feature-copy h1 { position: relative; width: max-content; max-width: 9ch; margin: 0; font-size: clamp(2.45rem, 3.55vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.feature-copy h1::after { content: ""; position: absolute; left: 0; bottom: -9px; width: 76%; height: 5px; border-radius: 50%; background: var(--violet); transform: rotate(-3deg); }
.feature-description { max-width: 30rem; margin: 32px 0 0; color: #4f4d59; font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.75; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-tags span { padding: 7px 10px; border-radius: 8px; background: #e8f5ff; color: #075b98; font-size: .68rem; font-weight: 750; }
.feature-tags .feature-type { background: #eee9ff; color: var(--violet-deep); }
.feature-tags span:nth-child(3) { background: #e4f8f1; color: #006d55; }
.feature-tags span:nth-child(4) { background: #fff3ba; color: #685200; }
.feature-actions { display: flex; align-items: center; gap: 12px; margin-top: 25px; }
.primary-action { min-height: 56px; display: inline-flex; align-items: center; gap: 11px; padding: 0 22px; border-radius: 14px; background: var(--violet); color: #fff; text-decoration: none; font-size: .96rem; font-weight: 800; box-shadow: 0 16px 34px rgba(88, 48, 220, .2); transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .2s; }
.primary-action:hover { background: var(--violet-deep); transform: translateY(-2px); }
.primary-action > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #fff; color: var(--violet); font-size: .68rem; }
.icon-action { width: 56px; height: 56px; border: 1px solid #d8d5e2; border-radius: 14px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.icon-action:hover { border-color: var(--violet); background: var(--lavender); }
.icon-action svg, .game-card__title svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-action:disabled { opacity: .45; cursor: wait; }
.creator-byline { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.creator-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #1b1a20, #6e40ff); color: #fff; font-size: .78rem; font-weight: 800; }
.creator-byline > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.creator-byline small { color: var(--muted); font-size: .65rem; }
.creator-byline strong { font-size: .78rem; }
.feature-store { max-width: 330px; min-height: 88px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 0 13px; margin-top: 18px; padding: 9px 11px; border-radius: 14px; background: #111c2f; color: #fff; box-shadow: 0 15px 34px rgba(14, 23, 42, .16); }
.feature-store > img { grid-row: 1 / 3; width: 70px; height: 70px; border-radius: 10px; background: #fff; }
.feature-store > span { min-width: 0; align-self: end; }
.feature-store > span small, .feature-store > span strong { display: block; }
.feature-store > span small { color: #a9b5c8; font-size: .59rem; }
.feature-store > span strong { margin-top: 2px; font-size: .76rem; }
.feature-store > a { align-self: start; width: max-content; margin-top: 5px; color: #69e5d5; font-size: .65rem; font-weight: 800; text-decoration: none; }
.feature-store > a:hover { color: #fff; }
.feature-store:has(> img[hidden]) { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 15px 17px; }
.feature-store:has(> img[hidden]) > span,
.feature-store:has(> img[hidden]) > a { grid-column: 1; }

.projection-shell { position: relative; min-width: 0; min-height: 100%; overflow: hidden; background: #111114; isolation: isolate; clip-path: polygon(0 19%, 58% 0, 100% 0, 100% 100%, 64% 100%, 0 80%); }
.projection { position: absolute; inset: 0; overflow: hidden; background: #111114; color: inherit; }
.projection img { position: absolute; inset: 9px 0 9px 9px; width: calc(100% - 9px); height: calc(100% - 18px); clip-path: polygon(0 18.7%, 57% 0, 100% 0, 100% 100%, 63% 100%, 0 80.3%); }
.projection .projection-backdrop { z-index: 0; object-fit: cover; transform: scale(1.08); filter: blur(16px) saturate(.8); opacity: .52; transition: opacity .24s ease-out; }
.projection .projection-image { z-index: 1; object-fit: cover; transition: clip-path .42s cubic-bezier(.16, 1, .3, 1), opacity .2s ease-out, transform .55s cubic-bezier(.16, 1, .3, 1); }
.projection-shell.is-gallery .projection-image { object-fit: contain; }
.projection-shell.is-changing .projection-image { clip-path: polygon(0 18.7%, 0 18.7%, 0 80.3%, 0 80.3%); opacity: .28; }
.projection-shell.is-changing .projection-backdrop { opacity: .18; }
.projection:hover .projection-image { transform: scale(1.018); }
.projection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 13, 24, .12), transparent 26%, transparent 78%, rgba(15, 13, 24, .08)); pointer-events: none; }
.projection-shutter { display: none; }
.projection-play { position: absolute; left: 50%; top: 50%; z-index: 3; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; transform: translate(-50%, -50%) scale(.92); background: rgba(255, 255, 255, .94); color: var(--violet); font-size: 1.1rem; opacity: 0; transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.projection:hover .projection-play, .projection:focus-visible .projection-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.projection-controls { position: absolute; z-index: 5; left: 50%; bottom: 26px; display: flex; align-items: center; gap: 9px; transform: translateX(-50%); padding: 7px 9px; border-radius: 13px; background: rgba(14, 14, 20, .86); box-shadow: 0 12px 30px rgba(0, 0, 0, .28); }
.projection-controls > button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.projection-controls > button:hover { background: #fff; color: #17151e; }
.projection-controls > button:disabled { opacity: .38; cursor: default; }
.projection-controls svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.projection-dots { display: flex; align-items: center; gap: 7px; }
.projection-dots button { width: 8px; height: 8px; border: 0; border-radius: 50%; padding: 0; background: rgba(255, 255, 255, .36); cursor: pointer; transform: scaleX(1); transform-origin: center; transition: transform .22s cubic-bezier(.16, 1, .3, 1), background .2s; }
.projection-dots button[aria-current="true"] { background: #ffe045; transform: scaleX(3); }

.program { min-width: 0; padding: 36px 0 30px clamp(26px, 2.4vw, 38px); display: flex; flex-direction: column; }
.program-title, .program-secondary { display: flex; align-items: center; gap: 10px; }
.program-title > span, .program-secondary > span { width: 3px; height: 18px; border-radius: 3px; background: var(--violet); }
.program-title h2, .program-secondary strong { margin: 0; font-size: .82rem; }
.program-list { display: grid; grid-template-rows: minmax(174px, 1.45fr) auto minmax(104px, 1fr) minmax(104px, 1fr); gap: 10px; min-height: 0; margin: 18px 0 12px; }
.program-secondary { margin-top: 2px; }
.program-secondary > span { height: 15px; background: var(--coral); }
.program-item { position: relative; width: 100%; min-height: 104px; overflow: hidden; border: 0; border-radius: 14px; background: #17161d; color: #fff; text-align: left; padding: 0; cursor: pointer; }
.program-item.is-current { min-height: 174px; outline: 3px solid var(--violet); outline-offset: 2px; }
.program-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .88; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.program-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 9, 14, .92) 0, rgba(10, 9, 14, .08) 70%); }
.program-item:hover img { transform: scale(1.045); opacity: 1; }
.program-status, .program-copy, .program-arrow { position: relative; z-index: 2; }
.program-status { position: absolute; left: 11px; top: 11px; padding: 5px 7px; border-radius: 7px; background: var(--violet); color: #fff; font-size: .58rem; font-weight: 800; }
.program-status--more { background: #ff7d1a; }
.program-copy { position: absolute; left: 13px; right: 44px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.program-copy strong { font-size: .88rem; line-height: 1.2; }
.program-copy small { color: rgba(255, 255, 255, .8); font-size: .61rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.program-arrow { position: absolute; right: 13px; bottom: 15px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.program-arrow svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.program-all { align-self: flex-end; text-decoration: none; color: var(--violet); font-size: .74rem; font-weight: 750; }
.program-all span { margin-left: 8px; }

.creator-spotlight { width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2)); margin: 26px auto 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); background: #0f1828; color: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 54px rgba(15, 24, 40, .18); }
.creator-spotlight__story { padding: 31px 34px 30px; background: radial-gradient(circle at 86% 0, rgba(255, 170, 52, .24), transparent 36%), #0f1828; }
.creator-spotlight h2 { max-width: 20ch; margin: 0; font-size: clamp(1.6rem, 2.35vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.creator-spotlight__story > p { max-width: 72ch; margin: 17px 0 0; color: #c6d2e2; font-size: .79rem; line-height: 1.78; }
.creator-spotlight__highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.creator-spotlight__highlights span { color: #aebdd1; font-size: .66rem; line-height: 1.5; }
.creator-spotlight__highlights strong { display: block; margin-bottom: 4px; color: #ffcf64; font-size: .75rem; }
.creator-spotlight__follow { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 20px; padding: 25px 28px; background: #18243a; }
.creator-spotlight__follow > img { width: 126px; height: 126px; border-radius: 13px; background: #fff; object-fit: cover; }
.creator-spotlight__follow > img.is-portrait { height: 172px; object-position: center top; }
.creator-spotlight__follow strong { font-size: .88rem; }
.creator-spotlight__follow p { margin: 8px 0 13px; color: #aebdd1; font-size: .66rem; line-height: 1.65; }
.creator-spotlight__follow a { display: inline-flex; align-items: center; gap: 6px; color: #62e2d0; font-size: .7rem; font-weight: 800; text-decoration: none; }
.creator-spotlight__follow a:hover { color: #fff; }

.game-community { width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2)); min-height: 132px; margin: 12px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 24px; padding: 12px 16px 12px 22px; overflow: hidden; border: 1px solid #dcd8ee; border-radius: 15px; background: radial-gradient(circle at 8% 0, rgba(110, 64, 255, .13), transparent 34%), #fbfaff; box-shadow: 0 12px 34px rgba(55, 43, 103, .07); }
.game-community__eyebrow { color: var(--violet-deep); font: 850 .59rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.game-community h2 { max-width: 34ch; margin: 7px 0 0; font-size: clamp(1.04rem, 1.55vw, 1.34rem); line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.game-community__copy > p { display: inline; margin: 7px 12px 0 0; color: #5e5a6c; font-size: .68rem; line-height: 1.55; }
.game-community__copy > a { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--violet-deep); font-size: .66rem; font-weight: 800; text-decoration: none; }
.game-community__copy > a:hover { text-decoration: underline; text-underline-offset: 3px; }
.game-community__qr { min-width: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 13px; padding: 8px; border: 1px solid #ded9ef; border-radius: 13px; background: #fff; color: var(--ink); text-align: left; cursor: zoom-in; box-shadow: 0 8px 24px rgba(66, 50, 127, .07); }
.game-community__qr:hover { border-color: #b6a6f6; transform: translateY(-1px); }
.game-community__qr-frame { position: relative; width: 96px; height: 96px; display: block; overflow: hidden; border: 1px solid #eeeaf6; border-radius: 8px; background: #fff; }
.game-community__qr-frame img { position: absolute; width: 150px; max-width: none; height: auto; left: -27px; top: -72px; }
.game-community__qr strong, .game-community__qr small { display: block; }
.game-community__qr strong { font-size: .72rem; line-height: 1.4; }
.game-community__qr small { margin-top: 6px; color: #777181; font-size: .58rem; line-height: 1.55; }

.game-account-reminder { width: min(520px, calc(100% - 28px)); padding: 30px; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 30px 90px rgba(18, 13, 38, .32); }
.game-account-reminder::backdrop { background: rgba(15, 12, 25, .58); backdrop-filter: blur(5px); }
.game-account-reminder__close { position: absolute; top: 13px; right: 13px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 10px; background: #f1eef9; color: #4f4960; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.game-account-reminder__eyebrow { color: var(--violet-deep); font: 850 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.game-account-reminder h2 { max-width: 19ch; margin: 12px 0 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.18; letter-spacing: -.035em; }
.game-account-reminder p { margin: 15px 0 0; color: #686273; font-size: .77rem; line-height: 1.75; }
.game-account-reminder__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.game-account-reminder__actions button { min-height: 46px; border: 1px solid #d9d3ed; border-radius: 11px; padding: 0 12px; background: #fff; color: #332d42; font-size: .7rem; font-weight: 820; cursor: pointer; }
.game-account-reminder__actions button:first-child { border-color: var(--violet); background: var(--violet); color: #fff; }
.game-account-reminder__actions button:last-child { grid-column: 1 / -1; border-color: transparent; background: #f2eff9; color: #686273; }
.game-account-reminder__actions button:hover { border-color: var(--violet); }

.library { width: min(var(--max), 100%); margin: 0 auto; padding: 28px var(--gutter) clamp(68px, 7vw, 96px); }
.library-topbar { display: grid; grid-template-columns: auto minmax(560px, 1fr); align-items: center; gap: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.library-heading { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.library-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--violet); color: #fff; }
.library-symbol svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.library-heading h2 { display: inline; margin: 0; color: var(--violet); font-size: 1.45rem; letter-spacing: -.03em; }
.library-heading p { display: inline; margin: 0 0 0 10px; color: var(--muted); font-size: .72rem; }
.library-controls { min-width: 0; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.catalog-modes { min-height: 62px; display: flex; align-items: stretch; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.catalog-modes button { position: relative; min-width: 158px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; padding: 0 18px; background: transparent; color: #6d6878; font-size: .76rem; font-weight: 800; cursor: pointer; }
.catalog-modes button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--violet); transform: scaleX(0); transform-origin: center; transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.catalog-modes button:hover { color: var(--ink); background: #faf9ff; }
.catalog-modes button[aria-selected="true"] { color: var(--violet-deep); }
.catalog-modes button[aria-selected="true"]::after { transform: scaleX(1); }
.catalog-modes button[data-mode="classic"][aria-selected="true"] { color: #6f5300; background: linear-gradient(180deg, #fff6ce, #fff); }
.catalog-modes button[data-mode="classic"][aria-selected="true"]::after { background: var(--yellow); }
.catalog-modes button[data-mode="classic"][aria-selected="true"] small { background: #fff6ce; color: #6f5300; }
.catalog-modes small { min-width: 28px; height: 24px; display: grid; place-items: center; border-radius: 12px; background: #eeeaff; color: var(--violet-deep); font-size: .61rem; }
.catalog-modes p { max-width: 54ch; align-self: center; margin: 0 0 0 auto; color: #777181; font-size: .64rem; line-height: 1.55; }
.game-search { min-width: 240px; max-width: 320px; flex: 1; height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid #dcd9e7; border-radius: 11px; background: #fff; }
.game-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.game-search input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font-size: .75rem; }
.category-filters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.category-filters::-webkit-scrollbar { display: none; }
.category-filters button { flex: 0 0 auto; min-height: 40px; border: 1px solid transparent; border-radius: 10px; padding: 0 11px; background: transparent; color: #5c5a68; font-size: .7rem; font-weight: 700; cursor: pointer; }
.category-filters button:hover { background: var(--lavender); }
.category-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.result-note { min-height: 18px; margin: 13px 0 0; color: var(--muted); font-size: .68rem; }
.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 14px; }
.game-grid.is-source { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
.game-card:hover { transform: translateY(-5px); border-color: #cfc8ff; box-shadow: 0 22px 52px rgba(56, 44, 116, .12); }
.game-card__visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #17141f 0%, #2d2450 54%, #17141f 100%); }
.game-card__visual::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(0deg, rgba(9, 8, 13, .9), transparent); pointer-events: none; }
.game-card__visual img { width: 100%; height: 100%; object-fit: cover; color: transparent; opacity: 0; transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .22s ease-out; }
.game-card__visual img.is-loaded { opacity: 1; }
.game-card__visual img.is-error { display: none; }
.game-card:hover .game-card__visual img { transform: scale(1.04); }
.game-card__category { position: absolute; z-index: 2; left: 11px; top: 11px; padding: 5px 8px; border-radius: 7px; background: #0db897; color: #fff; font-size: .6rem; font-weight: 800; }
.game-card__login { position: absolute; z-index: 2; right: 11px; top: 11px; padding: 5px 8px; border: 1px solid rgba(255,255,255,.5); border-radius: 7px; background: rgba(12, 10, 18, .7); backdrop-filter: blur(8px); color: #fff; font-size: .57rem; font-weight: 800; }
.game-card__login.is-editorial { border-color: #ffe58a; background: #8b6500; color: #fff8d6; }
.game-card:nth-child(3n) .game-card__category { background: #f6ad00; }
.game-card:nth-child(4n) .game-card__category { background: var(--sky); }
.game-card__visual-title { position: absolute; z-index: 2; left: 13px; right: 50px; bottom: 12px; display: flex; flex-direction: column; gap: 3px; color: #fff; }
.game-card__visual-title strong { font-size: .95rem; line-height: 1.2; }
.game-card__visual-title small { color: rgba(255, 255, 255, .78); font-size: .59rem; }
.game-card__play { position: absolute; z-index: 3; right: 11px; bottom: 11px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: var(--violet); box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
.game-card__play svg { width: 17px; height: 17px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.game-card__body { padding: 14px 15px 15px; }
.game-card__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.game-card h3 { margin: 0; font-size: .96rem; letter-spacing: -.02em; }
.game-card__title button { width: 33px; height: 33px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 9px; background: var(--lavender); cursor: pointer; }
.game-card__title button:hover { background: #e6dfff; color: var(--violet-deep); }
.game-card__body > p { min-height: 3em; margin: 8px 0 0; color: #5e5c69; font-size: .74rem; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.game-card__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
.game-card__metric { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 3px; padding: 7px 5px; border-radius: 8px; background: #f6f4fb; color: #332e40; font-size: .68rem; font-weight: 850; white-space: nowrap; }
.game-card__metric.is-score { background: #fff6ce; color: #6f5300; }
.game-card__metric small { color: #8a8498; font-size: .5rem; font-weight: 700; }
.game-card__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); color: #898694; font-size: .62rem; }
.game-card__meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-card__meta span:first-child { max-width: 70%; }
.game-card--source .game-card__body > p { min-height: 4.5em; -webkit-line-clamp: 3; }
.game-card--classic { border-color: #ffe58a; background: linear-gradient(180deg, #fff6ce 0%, #fff 45%); }
.game-card--classic:hover { border-color: #f6ad00; box-shadow: 0 22px 52px rgba(56, 44, 116, .12); }
.game-card--classic .game-card__category { background: #8b6500; }
.game-card--classic .game-card__play { color: #6f5300; }

.dev-tools-board, .creator-invite { content-visibility: auto; contain-intrinsic-size: auto 920px; }

.project-detail { position: relative; scroll-margin-top: calc(var(--header-height) + 18px); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); gap: 0; margin-top: 18px; overflow: hidden; border-radius: 16px; background: #17141f; color: #fff; box-shadow: 0 28px 70px rgba(38, 25, 86, .2); }
.project-detail[hidden] { display: none; }
.project-detail__close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; background: rgba(18,15,26,.78); color: #fff; cursor: pointer; }
.project-detail__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.project-detail__gallery { min-width: 0; min-height: 520px; display: grid; grid-template-rows: minmax(0, 1fr) 132px; gap: 6px; padding: 6px; background: #09080d; }
.project-detail__gallery.is-single { grid-template-rows: minmax(0, 1fr); }
.project-detail__gallery > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.project-detail__gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; overflow: hidden; }
.project-detail__gallery > div:empty { display: none; }
.project-detail__gallery > div img { width: 100%; height: 132px; object-fit: cover; }
.project-detail__content { min-width: 0; align-self: center; padding: 46px clamp(28px, 3vw, 50px) 38px; }
.project-detail__status { display: flex; align-items: center; gap: 12px; color: #c8bfdd; font-size: .61rem; }
.project-detail__status span { padding: 6px 8px; border-radius: 7px; background: #6c43f2; color: #fff; font-weight: 850; }
.project-detail__status strong { color: #ffe071; font-weight: 850; }
.project-detail h3 { max-width: 14ch; margin: 18px 0 0; font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.04; letter-spacing: -.035em; }
.project-detail__lead { max-width: 70ch; margin: 18px 0 0; color: #d0cad9; font-size: .77rem; line-height: 1.76; }
.project-detail__facts { display: grid; gap: 0; margin: 24px 0 0; }
.project-detail__facts div { display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 14px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.project-detail__facts dt { color: #968daa; font-size: .61rem; }
.project-detail__facts dd { margin: 0; color: #e6e0eb; font-size: .68rem; line-height: 1.65; }
.project-detail__review { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.project-detail__review strong { color: #fff; font-size: .68rem; }
.project-detail__review ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.project-detail__review li { position: relative; padding-left: 13px; color: #c5bed0; font-size: .64rem; line-height: 1.5; }
.project-detail__review li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: #54d2b6; }
.project-detail__review > div:last-child li::before { background: #f2bd4d; }
.project-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 26px; }
.project-detail__actions a, .project-detail__actions button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; padding: 0 13px; background: transparent; color: #fff; text-decoration: none; font-size: .65rem; font-weight: 800; cursor: pointer; }
.project-detail__actions .project-detail__primary { border-color: #fff; background: #fff; color: #17141f; }
.project-detail__actions a:hover, .project-detail__actions button:hover { border-color: #9c80ff; background: #6c43f2; color: #fff; }
.catalog-modes button:focus-visible, .game-card:focus-visible, .project-detail__actions a:focus-visible, .project-detail__actions button:focus-visible, .project-detail__close:focus-visible { outline: 3px solid #7ecfff; outline-offset: 3px; }

.catalog-sortbar { display: flex; align-items: center; gap: 10px; margin-top: 15px; padding: 9px 11px; border: 1px solid #ebe8f3; border-radius: 12px; background: #fbfaff; }
.catalog-sortbar > span { color: #7d788a; font-size: .63rem; font-weight: 800; }
.catalog-sortbar > div { display: flex; flex-wrap: wrap; gap: 5px; }
.catalog-sortbar button { min-height: 32px; border: 0; border-radius: 8px; padding: 0 10px; background: transparent; color: #5a5664; font-size: .62rem; font-weight: 750; cursor: pointer; }
.catalog-sortbar button[aria-pressed="true"] { background: #201a2e; color: #fff; }
.catalog-sortbar small { margin-left: auto; color: #8d8798; font-size: .56rem; }
.empty-state { padding: 70px 20px; text-align: center; background: var(--lavender); border-radius: 16px; margin-top: 24px; }
.empty-state strong, .empty-state span { display: block; }
.empty-state span { margin-top: 8px; color: var(--muted); font-size: .82rem; }

.dev-tools-board { width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2)); margin: 0 auto 32px; padding: 34px 36px 38px; border: 1px solid #ded9f2; background: linear-gradient(145deg, #fbfaff 0%, #fff 38%, #f7f4ff 100%); box-shadow: 0 22px 65px rgba(64, 47, 128, .08); }
.dev-tools-board__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 24px; border-bottom: 1px solid #ded9e9; }
.dev-tools-board__header > div { max-width: 760px; }
.dev-tools-board__eyebrow { color: var(--violet); font: 850 .62rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.dev-tools-board h2 { margin: 9px 0 0; color: var(--ink); font-size: clamp(1.65rem, 2.8vw, 2.7rem); letter-spacing: -.045em; }
.dev-tools-board__header p { margin: 11px 0 0; color: #666070; font-size: .78rem; line-height: 1.72; }
.dev-tools-board__header > a { min-height: 44px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; border: 1px solid #cbc2f8; color: var(--violet-deep); text-decoration: none; font-size: .68rem; font-weight: 850; }
.dev-tools-board__header > a:hover { border-color: var(--violet); background: var(--violet); color: #fff; }
.dev-tools-board__method { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 16px; align-items: center; margin: 16px 0 0; padding: 10px 13px; background: #f1edff; color: #655f70; font-size: .62rem; line-height: 1.5; }
.dev-tools-board__method strong { color: #352961; }
.dev-tools-status { min-height: 118px; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-content: center; gap: 3px 12px; margin-top: 20px; padding: 22px; border: 1px dashed #cfc7ee; color: #655d74; }
.dev-tools-status > span { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid #d9d1ff; border-top-color: var(--violet); border-radius: 50%; color: #a62640; font-weight: 900; }
.dev-tools-status.is-loading > span { animation: spin .9s linear infinite; }
.dev-tools-status strong { color: var(--ink); font-size: .78rem; }
.dev-tools-status small { font-size: .62rem; }
.dev-tools-status.is-error { grid-template-columns: 30px minmax(0, 1fr) auto; border-color: #edbec7; background: #fff7f8; }
.dev-tools-status.is-error > span { border: 0; border-radius: 0; background: #a62640; color: #fff; }
.dev-tools-status button { grid-column: 3; grid-row: 1 / 3; align-self: center; min-height: 38px; border: 0; padding: 0 13px; background: var(--ink); color: #fff; font-size: .64rem; font-weight: 800; cursor: pointer; }
.dev-tools-board__content { margin-top: 24px; }
.dev-tools-podium, .dev-tools-list { margin: 0; padding: 0; list-style: none; }
.dev-tools-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dev-tools-podium li { min-width: 0; }
.dev-tools-podium a { min-height: 250px; height: 100%; display: grid; grid-template-rows: auto auto auto minmax(3.3em, 1fr) auto auto; align-content: start; padding: 20px; border: 1px solid #d8d1ef; background: #fff; color: inherit; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.dev-tools-podium li:first-child a { border-color: #8b72ff; background: linear-gradient(155deg, #21183b 0%, #302053 68%, #5a39d1 160%); color: #fff; box-shadow: 0 19px 45px rgba(65, 42, 154, .22); }
.dev-tools-podium a:hover { transform: translateY(-3px); border-color: var(--violet); box-shadow: 0 18px 40px rgba(57, 43, 120, .13); }
.dev-tool-rank { color: var(--violet); font: 900 1.2rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.dev-tools-podium li:first-child .dev-tool-rank { color: #ffe169; }
.dev-tool-category { width: max-content; margin-top: 18px; padding: 5px 7px; background: #eee9ff; color: #5c3be1; font-size: .57rem; font-weight: 850; }
.dev-tools-podium li:first-child .dev-tool-category { background: rgba(255,255,255,.12); color: #cfc5ff; }
.dev-tools-podium strong { margin-top: 11px; font-size: 1rem; line-height: 1.3; letter-spacing: -.02em; }
.dev-tools-podium p { margin: 8px 0 0; color: #6e6878; font-size: .67rem; line-height: 1.6; }
.dev-tools-podium li:first-child p { color: #cfc8dc; }
.dev-tool-meta { display: flex; gap: 10px; align-items: center; margin-top: 14px; color: #8a8494; font-size: .58rem; }
.dev-tools-podium li:first-child .dev-tool-meta { color: #bcb4ca; }
.dev-tool-stars { color: #7b5b00; font-weight: 900; }
.dev-tools-podium li:first-child .dev-tool-stars { color: #ffe169; }
.dev-tool-open { display: flex; justify-content: space-between; margin-top: 17px; padding-top: 13px; border-top: 1px solid #ece8f4; color: var(--violet-deep); font-size: .63rem; font-weight: 850; }
.dev-tools-podium li:first-child .dev-tool-open { border-color: rgba(255,255,255,.15); color: #fff; }
.dev-tools-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; border-top: 1px solid #dcd6e9; }
.dev-tools-list li { min-width: 0; border-bottom: 1px solid #e5e0ed; }
.dev-tools-list li:nth-child(odd) { border-right: 1px solid #e5e0ed; }
.dev-tools-list a { min-height: 76px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 11px 14px; color: inherit; text-decoration: none; }
.dev-tools-list a:hover { background: #f0ecff; }
.dev-tool-list__rank { color: #8776c9; font: 850 .74rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.dev-tool-list__copy { min-width: 0; display: block; }
.dev-tool-list__copy strong, .dev-tool-list__copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev-tool-list__copy strong { font-size: .72rem; }
.dev-tool-list__copy small { margin-top: 5px; color: #777182; font-size: .55rem; }
.dev-tool-list__metric { display: flex; gap: 8px; color: #888291; font-size: .55rem; white-space: nowrap; }
.dev-tool-list__arrow { color: var(--violet); }

.creator-invite { width: min(calc(var(--max) - var(--gutter) * 2), calc(100% - var(--gutter) * 2)); margin: 0 auto 76px; display: grid; grid-template-columns: 1.1fr 1fr auto; align-items: center; gap: 42px; padding: 36px 40px; border-radius: 16px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.creator-invite::before { content: ""; position: absolute; right: 24%; top: -100px; width: 260px; height: 260px; border-radius: 50%; background: var(--violet); opacity: .45; filter: blur(2px); }
.creator-invite > * { position: relative; z-index: 1; }
.creator-invite > div > p { margin: 0 0 8px; color: #b9acf3; font-size: .65rem; font-weight: 800; letter-spacing: .14em; }
.creator-invite h2 { max-width: 13ch; margin: 0; font-size: clamp(1.65rem, 2.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.03em; }
.creator-invite > p { margin: 0; color: #cac8d2; font-size: .86rem; line-height: 1.7; }
.creator-invite > a { min-height: 50px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 12px; background: var(--yellow); color: #18150a; text-decoration: none; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.creator-invite > a:hover { background: #fff; }
.site-footer { display: flex; justify-content: center; gap: 9px; padding: 24px; color: #777482; font-size: .7rem; border-top: 1px solid var(--line); }
.site-footer a { text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .76rem; box-shadow: 0 18px 52px rgba(0, 0, 0, .22); transform: translate(-50%, 18px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* Player */
.player-page { background: #faf9ff; }
.player-page .sl-companion-root[data-panel-open="false"] .sl-companion-dock { display: none !important; }
.player-page .sl-companion-root[data-panel-open="false"] .sl-companion-orb { opacity: 1 !important; pointer-events: auto !important; transform: none !important; }
.player-main { width: min(var(--max), 100%); margin: 0 auto; padding: 22px var(--gutter) 60px; }
.player-toolbar { min-height: 64px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 10px 28px rgba(74, 63, 126, .06); }
.tool-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 13px; border: 0; border-radius: 11px; background: transparent; text-decoration: none; font-size: .74rem; font-weight: 750; cursor: pointer; }
.tool-button:hover { background: var(--lavender); }
.tool-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool-button--back { width: 42px; padding: 0; border: 1px solid var(--line); }
.player-title { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.player-title strong { font-size: 1.05rem; }
.status-live { padding: 5px 7px; border-radius: 7px; background: #e7f6ff; color: #005d98; font-size: .6rem; font-weight: 800; }
.status-live.is-loading { background: #eee9ff; color: var(--violet-deep); }
.status-live.is-warning { background: #fff1bd; color: #715400; }
.status-live.is-error { background: #ffe3e8; color: #9b1831; }
.tool-button--primary { background: var(--violet); color: #fff; }
.tool-button--primary:hover { background: var(--violet-deep); }
.tool-button:disabled { opacity: .42; cursor: wait; }
.player-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; margin-top: 16px; align-items: start; }
.game-stage { position: relative; min-width: 0; overflow: visible; }
.game-frame { position: relative; padding: 28px 48px 26px; border: 1px solid #d9d7e2; border-radius: 14px; background: linear-gradient(145deg, #fafafd, #e9e8ef 46%, #fff 74%, #e1e0e8); box-shadow: 0 22px 66px rgba(40, 30, 90, .13), inset 0 0 0 7px rgba(255, 255, 255, .52); }
.game-frame::before { content: ""; position: absolute; inset: 13px 23px; border: 1px solid rgba(126, 120, 146, .28); border-radius: 9px; pointer-events: none; }
.stage-fullscreen-button { position: absolute; top: 38px; right: 58px; z-index: 7; min-width: 116px; min-height: 42px; border: 1px solid rgba(255, 255, 255, .34); background: rgba(78, 42, 220, .94); color: #fff; box-shadow: 0 8px 24px rgba(24, 15, 62, .24); }
.stage-fullscreen-button:hover { background: var(--violet); }
.stage-fullscreen-button:focus-visible { outline: 3px solid #ffe05b; outline-offset: 3px; }
.frame-speaker { position: absolute; z-index: 2; top: 40%; width: 17px; height: 22%; border-radius: 9px; background: repeating-linear-gradient(90deg, #6b6a72 0 2px, #a4a3aa 2px 4px); box-shadow: inset 0 0 0 3px #57565e, 0 0 0 2px rgba(255, 255, 255, .68); }
.frame-speaker--left { left: 19px; }
.frame-speaker--right { right: 19px; }
.game-window { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; overflow: hidden; display: grid; place-items: center; border: 3px solid #313039; border-radius: 4px; background-color: #151419; background-position: center; background-size: cover; box-shadow: inset 0 0 0 4px #777680, 0 0 0 3px #b9b8c1; }
.game-window iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.game-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) brightness(.62); }
.game-loading { position: absolute; inset: 0; z-index: 3; min-width: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: clamp(22px, 4vw, 44px); color: #fff; text-align: center; background: rgba(15, 14, 20, .73); backdrop-filter: blur(8px); }
.game-loading__dot { width: 38px; height: 38px; margin-bottom: 4px; border: 4px solid rgba(255, 255, 255, .2); border-top-color: var(--yellow); border-radius: 50%; animation: spin .8s linear infinite; }
.game-loading strong { font-size: clamp(.92rem, 1.4vw, 1.12rem); }
.game-loading > span:not(.game-loading__dot) { max-width: 44ch; color: rgba(255, 255, 255, .76); font-size: .72rem; line-height: 1.55; }
.game-loading small { color: rgba(255, 255, 255, .58); font: 650 .6rem/1.3 ui-monospace, SFMono-Regular, Consolas, monospace; }
.game-loading__progress { width: min(330px, 72%); height: 7px; margin: 7px 0 2px; overflow: hidden; border-radius: 7px; background: rgba(255, 255, 255, .18); }
.game-loading__progress i { display: block; width: 8%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--sky), var(--yellow)); transition: width .42s cubic-bezier(.2, .8, .2, 1); }
.game-error { position: relative; z-index: 4; width: min(470px, calc(100% - 32px)); max-height: calc(100% - 28px); overflow-y: auto; padding: clamp(22px, 3vw, 32px); color: #fff; text-align: left; background: rgba(17, 17, 20, .94); border-radius: 14px; box-shadow: 0 26px 70px rgba(0, 0, 0, .36); }
.game-error__mark { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; border-radius: 8px; background: #ffe2e8; color: #94162e; font-size: .64rem; font-weight: 850; }
.game-error h1 { margin: 15px 0 0; font-size: clamp(1.15rem, 2.2vw, 1.65rem); letter-spacing: -.025em; }
.game-error p { margin: 10px 0 0; color: #d1cdd9; font-size: .74rem; line-height: 1.65; }
.game-error dl { display: grid; gap: 6px; margin: 16px 0 0; padding: 12px; border-radius: 10px; background: #27252d; }
.game-error dl div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; font-size: .63rem; }
.game-error dt { color: #aaa5b6; }
.game-error dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.game-error__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.game-error__actions button,
.game-error__actions a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 11px; padding: 0 15px; background: var(--violet); color: #fff; font-size: .7rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.game-error__actions a { background: #35323d; }
.session-strip { min-height: 46px; display: flex; align-items: center; gap: 20px; margin-top: 10px; padding: 0 18px; border-radius: 11px; background: #f1efff; color: #5b5868; font-size: .68rem; }
.session-strip strong { color: var(--ink); }
.session-strip span + span { padding-left: 20px; border-left: 1px solid #d3cee8; }
.game-info { padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; align-self: start; box-shadow: 0 18px 50px rgba(68, 55, 126, .07); }
.game-info__eyebrow { width: max-content; margin-bottom: 10px; padding: 5px 8px; border-radius: 7px; background: #e8faf4; color: #08705b; font-size: .59rem; font-weight: 850; letter-spacing: .04em; }
.game-info h1 { margin: 0; font-size: 1.45rem; letter-spacing: -.03em; }
.game-info__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.game-info__tags span { padding: 6px 8px; border-radius: 7px; background: var(--lavender); color: var(--violet-deep); font-size: .63rem; font-weight: 700; }
.game-info__description { margin: 18px 0 0; color: #555360; font-size: .8rem; line-height: 1.72; white-space: pre-line; }

.source-dossier { margin-top: 18px; overflow: hidden; border: 1px solid #ded8fb; border-radius: 18px; background: linear-gradient(180deg, #faf9ff 0, #fff 38%); }
.source-dossier__heading { min-height: 142px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 30px; border-bottom: 1px solid #e8e3fb; background: radial-gradient(circle at 88% 0, rgba(104, 64, 255, .18), transparent 34%), linear-gradient(120deg, #f8f5ff, #fff); }
.source-dossier__heading > div:first-child > span { color: var(--violet); font: 800 .61rem/1 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .13em; }
.source-dossier__heading h2 { margin: 10px 0 0; font-size: clamp(1.35rem, 2.2vw, 1.85rem); letter-spacing: -.035em; }
.source-dossier__heading p { margin: 7px 0 0; color: var(--muted); font-size: .72rem; }
.editor-score { width: 112px; height: 90px; flex: 0 0 auto; display: grid; place-items: center; align-content: center; gap: 3px; border: 1px solid #cfc4ff; border-radius: 17px; background: #17131f; color: #fff; box-shadow: 0 15px 38px rgba(45, 29, 98, .18); }
.editor-score strong { color: #ffe05b; font-size: 2rem; line-height: 1; letter-spacing: -.05em; }
.editor-score span { color: #c9c1d8; font-size: .56rem; }
.source-dossier__grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.source-dossier__grid > article { min-width: 0; padding: 25px 28px 27px; border-right: 1px solid #eeeaf8; border-bottom: 1px solid #eeeaf8; }
.source-dossier__grid > article:nth-child(2n) { border-right: 0; }
.source-dossier__grid > article:nth-last-child(-n+2) { border-bottom: 0; }
.dossier-kicker { color: #746b8a; font-size: .59rem; font-weight: 850; letter-spacing: .08em; }
.source-dossier h3 { margin: 9px 0 0; font-size: 1rem; line-height: 1.35; }
.source-dossier article > p { margin: 11px 0 0; color: #5b5868; font-size: .74rem; line-height: 1.75; }
.source-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.source-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid #d9d2f6; border-radius: 10px; color: #5330cf; background: #fff; font-size: .66rem; font-weight: 800; text-decoration: none; }
.source-links a:first-child { border-color: #19171e; background: #19171e; color: #fff; }
.ai-evidence { display: grid; gap: 13px; margin: 16px 0 0; }
.ai-evidence div { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
.ai-evidence dt { color: var(--violet); font-size: .66rem; font-weight: 850; }
.ai-evidence dd { margin: 0; color: #595665; font-size: .7rem; line-height: 1.65; }
.review-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 16px; }
.review-columns strong { color: #302c3d; font-size: .68rem; }
.review-columns ul { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }
.review-columns li { position: relative; padding-left: 13px; color: #5c5966; font-size: .67rem; line-height: 1.5; }
.review-columns li::before { content: ""; position: absolute; left: 0; top: .56em; width: 5px; height: 5px; border-radius: 2px; background: var(--mint); }
.review-columns > div:last-child li::before { background: #f0ae14; }
.source-facts dl { display: grid; gap: 8px; margin: 14px 0 0; }
.source-facts dl div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; padding-bottom: 7px; border-bottom: 1px dashed #e8e4ef; }
.source-facts dt { color: #8a8597; font-size: .62rem; }
.source-facts dd { min-width: 0; margin: 0; overflow: hidden; color: #35313f; font: 700 .64rem/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }
.info-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-section h2 { margin: 0 0 9px; font-size: .8rem; }
.info-section p { margin: 0; color: #5d5a68; font-size: .73rem; line-height: 1.65; white-space: pre-line; }
.info-facts { display: grid; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-facts div { display: flex; justify-content: space-between; gap: 15px; font-size: .68rem; }
.info-facts span { color: var(--muted); }
.game-store-link { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 10px 13px; border-radius: 12px; background: #0cc8b2; color: #082b2a; text-decoration: none; }
.game-store-link span { display: flex; flex-direction: column; gap: 2px; }
.game-store-link small { font-size: .58rem; }
.game-store-link strong { font-size: .72rem; }
.game-store-link > strong { font-size: .95rem; }
.game-store-link:hover { background: #0fdec6; }
.share-panel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 13px; background: #eeeaff; }
.share-panel > span { font-size: .72rem; font-weight: 800; }
.share-copy { min-width: 0; padding: 10px 12px; border-radius: 9px; background: #fff; color: #5c576c; font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.share-panel button { min-height: 40px; border: 0; border-radius: 10px; padding: 0 15px; background: var(--violet); color: #fff; font-size: .7rem; font-weight: 800; cursor: pointer; }
.related { margin-top: 16px; padding: 15px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.related-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.related h2 { margin: 0; font-size: 1rem; }
.related-heading a { color: var(--violet); text-decoration: none; font-size: .7rem; font-weight: 750; }
.related-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-card { min-width: 0; display: grid; grid-template-columns: 94px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.related-card:hover { border-color: #cfc8ff; background: #fbfaff; }
.related-card > img { width: 94px; height: 62px; object-fit: cover; border-radius: 8px; }
.related-card > div { min-width: 0; }
.related-card strong, .related-card span, .related-card p { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.related-card strong { font-size: .74rem; }
.related-card span { margin-top: 4px; color: var(--violet); font-size: .59rem; }
.related-card p { margin: 4px 0 0; color: var(--muted); font-size: .6rem; }
.related-card > svg { width: 16px; height: 16px; fill: none; stroke: var(--violet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.game-stage:fullscreen { width: 100vw; height: 100vh; padding: 0; background: #000; display: flex; flex-direction: column; }
.game-stage:fullscreen .game-frame { flex: 1; min-height: 0; padding: 0; border: 0; border-radius: 0; background: #000; box-shadow: none; }
.game-stage:fullscreen .game-frame::before, .game-stage:fullscreen .frame-speaker { display: none; }
.game-stage:fullscreen .game-window { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
.game-stage:fullscreen .session-strip { flex: 0 0 46px; margin: 0; border-radius: 0; background: #242329; color: #d9d6e2; }
.game-stage:fullscreen .session-strip strong { color: #fff; }
.game-stage:fullscreen .stage-fullscreen-button { top: 16px; right: 16px; }

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1260px) {
  .global-lab { grid-template-columns: minmax(260px, 1fr) minmax(430px, 1.45fr); }
  .global-lab > a { display: none; }
  .brand-section, .brand-divider { display: none; }
  .site-nav a { padding-inline: 7px; font-size: .72rem; }
  .creator-link { width: 42px; padding-inline: 0; }
  .creator-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .theater { grid-template-columns: minmax(285px, 29fr) minmax(420px, 43fr) minmax(260px, 28fr); }
  .program { padding-left: 22px; }
  .game-grid { gap: 15px; }
  .game-grid.is-source { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library-topbar { grid-template-columns: 1fr; gap: 18px; }
  .library-controls { justify-content: flex-start; }
  .player-layout { grid-template-columns: minmax(0, 1fr) 285px; }
  .game-frame { padding-inline: 42px; }
  .game-window { min-height: 360px; }
  .related-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .global-lab { grid-template-columns: 1fr; }
  .global-lab__facts div:first-child { border-left: 0; }
  .catalog-sortbar { align-items: flex-start; flex-wrap: wrap; }
  .catalog-sortbar small { width: 100%; margin-left: 0; }
  .catalog-modes { flex-wrap: wrap; }
  .catalog-modes p { width: 100%; max-width: none; margin: 0; padding: 10px 2px 14px; }
  .project-detail { grid-template-columns: 1fr; }
  .project-detail__gallery { min-height: 440px; }
  :root { --header-height: 124px; }
  .site-header { grid-template-columns: 1fr auto; grid-template-rows: 68px 56px; padding-inline: 20px; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 3px 20px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .creator-link { display: none; }
  .module-status { width: calc(100% - 40px); }
  .theater { min-height: 0; grid-template-columns: .82fr 1.18fr; padding-top: 26px; }
  .feature-copy { padding-top: 16px; }
  .projection-shell { min-height: 590px; }
  .creator-spotlight { grid-template-columns: 1fr; }
  .creator-spotlight__follow { grid-template-columns: 126px minmax(0, 1fr); }
  .game-community { grid-template-columns: minmax(0, 1fr) 300px; }
  .program { grid-column: 1 / -1; padding: 28px 0 34px; }
  .program-list { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto; align-items: stretch; }
  .program-secondary { display: none; }
  .program-item, .program-item.is-current { min-height: 150px; }
  .program-all { align-self: auto; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev-tools-podium { grid-template-columns: 1.15fr 1fr; }
  .dev-tools-podium li:last-child { grid-column: 1 / -1; }
  .dev-tools-podium li:last-child a { min-height: 190px; }
  .dev-tools-list { grid-template-columns: 1fr; }
  .dev-tools-list li:nth-child(odd) { border-right: 0; }
  .creator-invite { grid-template-columns: 1fr 1fr; }
  .creator-invite > a { grid-column: 2; justify-self: start; }
  .player-layout { grid-template-columns: 1fr; }
  .game-info { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .game-info > h1, .game-info > .game-info__tags, .game-info > .game-info__description { grid-column: 1 / -1; }
  .info-facts { align-self: end; }
  .player-toolbar { overflow-x: auto; }
  .player-title { min-width: max-content; }
}

@media (max-width: 680px) {
  .global-lab { width: calc(100% - 30px); margin-top: 15px; gap: 18px; padding: 20px 18px; border-radius: 16px; }
  .global-lab__facts { grid-template-columns: 1fr 1fr; gap: 14px 0; }
  .global-lab__facts div:nth-child(odd) { border-left: 0; }
  .global-lab__facts strong { font-size: 1.05rem; }
  .catalog-sortbar { margin-top: 12px; }
  .catalog-sortbar > div { width: calc(100% - 38px); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .catalog-sortbar button { flex: 0 0 auto; }
  .catalog-modes button { gap: 4px; padding-inline: 2px; font-size: .65rem; }
  .catalog-modes button span { white-space: nowrap; }
  .catalog-modes small { min-width: 22px; height: 22px; font-size: .54rem; }
  :root { --header-height: 118px; }
  .site-header { grid-template-rows: 62px 56px; }
  .brand { gap: 9px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 1.05rem; }
  .account-button { min-width: 68px; max-width: 120px; padding-inline: 10px; }
  .module-status { grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; margin-top: 10px; }
  .module-status__copy { display: block; }
  .module-status__copy > span { display: block; margin-top: 3px; }
  .module-status code { display: none; }
  .module-status button { padding-inline: 10px; }
  .theater { display: flex; flex-direction: column; padding: 0; }
  .feature-copy { padding: 28px 20px 26px; }
  .feature-copy__body { margin-top: 34px; }
  .feature-copy h1 { max-width: 9ch; font-size: clamp(2.35rem, 12vw, 3.6rem); }
  .feature-store { max-width: none; }
  .projection-shell { min-height: 0; height: auto; aspect-ratio: 4 / 3; order: 2; clip-path: none; }
  .projection { position: absolute; inset: 0; }
  .projection img { inset: 0; width: 100%; height: 100%; clip-path: none; }
  .projection-shell.is-changing .projection-image { clip-path: inset(0 100% 0 0); }
  .projection-controls { bottom: 12px; }
  .program { order: 3; padding: 28px 20px; }
  .program-list { display: flex; overflow-x: auto; margin: 20px -20px 12px; padding: 4px 20px; scroll-snap-type: x mandatory; }
  .program-item, .program-item.is-current { flex: 0 0 78vw; min-height: 160px; scroll-snap-align: start; }
  .creator-spotlight { width: calc(100% - 30px); margin-top: 18px; }
  .creator-spotlight__story { padding: 27px 21px 25px; }
  .creator-spotlight__highlights { grid-template-columns: 1fr; gap: 13px; }
  .creator-spotlight__follow { grid-template-columns: 92px minmax(0, 1fr); gap: 15px; padding: 20px; }
  .creator-spotlight__follow > img { width: 92px; height: 92px; }
  .creator-spotlight__follow > img.is-portrait { height: 126px; }
  .game-community { width: calc(100% - 20px); min-height: 0; grid-template-columns: minmax(0, 1fr) 112px; gap: 10px; margin-top: 9px; padding: 11px 10px 11px 14px; }
  .game-community h2 { max-width: 24ch; font-size: .95rem; }
  .game-community__copy > p { display: none; }
  .game-community__copy > a { display: flex; width: max-content; }
  .game-community__qr { display: block; padding: 5px; text-align: center; }
  .game-community__qr-frame { width: 96px; height: 96px; margin: 0 auto; }
  .game-community__qr-copy { display: none; }
  .game-account-reminder { padding: 27px 20px 20px; }
  .game-account-reminder__actions { grid-template-columns: 1fr; }
  .game-account-reminder__actions button:last-child { grid-column: auto; }
  .library { padding: 28px 20px 66px; }
  .library-heading { align-items: flex-start; white-space: normal; }
  .library-heading p { display: block; margin: 4px 0 0; }
  .library-controls { display: block; }
  .catalog-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-modes button { min-width: 0; min-height: 54px; padding-inline: 8px; }
  .catalog-modes p { grid-column: 1 / -1; }
  .game-search { min-width: 0; width: 100%; max-width: none; }
  .category-filters { margin-top: 10px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-grid.is-source { grid-template-columns: 1fr; }
  .game-card__body > p { min-height: 0; -webkit-line-clamp: 3; }
  .project-detail { margin-inline: -6px; }
  .project-detail__gallery { min-height: 320px; grid-template-rows: minmax(0, 1fr) 88px; }
  .project-detail__gallery > div img { height: 88px; }
  .project-detail__content { padding: 28px 20px 24px; }
  .project-detail h3 { padding-right: 34px; font-size: 1.8rem; }
  .project-detail__facts div { grid-template-columns: 68px minmax(0,1fr); }
  .project-detail__review { grid-template-columns: 1fr; gap: 16px; }
  .project-detail__actions > * { flex: 1 1 130px; }
  .dev-tools-board { width: calc(100% - 30px); margin-bottom: 24px; padding: 26px 18px 28px; }
  .dev-tools-board__header { display: block; }
  .dev-tools-board__header > a { width: max-content; margin-top: 18px; }
  .dev-tools-board__method { grid-template-columns: 1fr; gap: 4px; }
  .dev-tools-podium { grid-template-columns: 1fr; }
  .dev-tools-podium li:last-child { grid-column: auto; }
  .dev-tools-podium a, .dev-tools-podium li:last-child a { min-height: 0; }
  .dev-tool-list__metric span:not(.dev-tool-stars) { display: none; }
  .dev-tools-list a { grid-template-columns: 28px minmax(0, 1fr) auto 14px; gap: 8px; padding-inline: 8px; }
  .dev-tools-status.is-error { grid-template-columns: 28px minmax(0, 1fr); }
  .dev-tools-status button { grid-column: 2; grid-row: 3; width: max-content; margin-top: 8px; }
  .creator-invite { width: calc(100% - 40px); display: block; padding: 30px 24px; }
  .creator-invite > p { margin: 20px 0; }
  .creator-invite > a { display: flex; width: max-content; }
  .player-main { padding: 12px 12px 40px; }
  .player-toolbar { border-radius: 13px; }
  .player-title strong { max-width: 34vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tool-button span { display: none; }
  .tool-button { width: 42px; padding: 0; }
  .game-frame { padding: 12px; border-radius: 11px; }
  .stage-fullscreen-button { top: 20px; right: 20px; min-width: 42px; }
  .game-frame::before, .frame-speaker { display: none; }
  .game-window { min-height: 0; aspect-ratio: 3 / 4; border-width: 2px; }
  .game-loading__progress { width: min(300px, 86%); }
  .game-error { width: calc(100% - 20px); max-height: calc(100% - 20px); padding: 18px; }
  .game-error dl div { grid-template-columns: 76px minmax(0, 1fr); }
  .session-strip { flex-wrap: wrap; gap: 7px; padding: 10px 13px; }
  .session-strip span + span { padding-left: 0; border-left: 0; }
  .game-info { display: block; padding: 20px; }
  .source-dossier__heading { min-height: 0; align-items: flex-start; padding: 20px; }
  .source-dossier__heading p { line-height: 1.55; }
  .editor-score { width: 76px; height: 72px; border-radius: 13px; }
  .editor-score strong { font-size: 1.45rem; }
  .editor-score span { width: 6em; text-align: center; line-height: 1.3; }
  .source-dossier__grid { grid-template-columns: 1fr; }
  .source-dossier__grid > article { padding: 21px 20px; border-right: 0; border-bottom: 1px solid #eeeaf8 !important; }
  .source-dossier__grid > article:last-child { border-bottom: 0 !important; }
  .review-columns { gap: 12px; }
  .share-panel { grid-template-columns: 1fr auto; }
  .share-panel > span { grid-column: 1 / -1; }
  .related-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .related-card { flex: 0 0 84vw; scroll-snap-align: start; }
  .game-stage:fullscreen .game-window { aspect-ratio: auto; }
  .game-stage:fullscreen .session-strip { display: none; }
  .game-stage:fullscreen .stage-fullscreen-button { top: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
