.game-page { max-width: 1200px; }
.game-page h2 { margin: 8px 0 20px; font-family: Georgia, serif; font-size: 2.1rem; font-weight: 500; }
.game-page h3 { margin: 16px 0 10px; font-size: 1.3rem; }
.game-page p, .game-page small { color: var(--vv-muted); }
.game-panel, .game-card { padding: 26px; border: 1px solid var(--vv-line); background: rgba(11,22,48,.86); min-width: 0; overflow-wrap: anywhere; }
.game-panel { margin-bottom: 24px; scroll-margin-top: 24px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.game-art { display: block; width: 100%; max-height: 430px; object-fit: contain; background: #060b18; margin-bottom: 16px; }
.game-icon { width: 96px; height: 96px; object-fit: contain; }
.game-cover { max-width: 440px; max-height: 330px; object-fit: contain; }
.game-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--vv-cyan); font-size: .8rem; }
.game-copy { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.game-tabs, .game-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.game-tabs a { border: 1px solid var(--vv-line); padding: 10px 14px; color: var(--vv-cyan); }
.game-tabs a:hover, .game-tabs a[aria-current="page"] { background: rgba(53,232,255,.14); border-color: var(--vv-cyan); }
.game-form { max-width: 850px; }
.game-form textarea, .game-form select { padding: 14px; width: 100%; color: var(--vv-text); background: #070e21; border: 1px solid var(--vv-line); font: inherit; border-radius: 4px; }
.game-form textarea { resize: vertical; }
.game-form input { color-scheme: dark; }
.game-form :is(textarea, select):focus, .game-tabs a:focus-visible { outline: 2px solid var(--vv-cyan); outline-offset: 2px; }
.game-form fieldset { border: 1px solid var(--vv-line); padding: 18px; display: grid; gap: 18px; }
.game-form legend { color: var(--vv-cyan); padding: 0 8px; }
.game-check { display: flex; gap: 12px; align-items: center; }
.game-actions form { margin: 0; }
.game-list { list-style: none; margin: 0; padding: 0; }
.game-list > li { padding: 18px 0; border-bottom: 1px solid var(--vv-line); overflow-wrap: anywhere; }
.game-list a { color: var(--vv-cyan); }
.game-list .game-unread { border-left: 3px solid var(--vv-cyan); padding-left: 14px; }
.game-roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-roadmap > section { min-width: 0; }
.game-roadmap .game-card { padding: 16px; margin-bottom: 14px; }
.game-roadmap h3 { font-size: 1rem; }
.game-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 20px; }
.game-filter select { padding: 10px; background: #070e21; color: var(--vv-text); border: 1px solid var(--vv-line); }
.game-notice { padding: 18px; border: 1px dashed var(--vv-line); }
@media (max-width: 900px) { .game-roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .game-grid, .game-roadmap { grid-template-columns: 1fr; } .game-panel, .game-card { padding: 20px; } .game-cover { max-width: 100%; } .game-actions .auth-button, .game-actions .auth-link { max-width: 100%; } }

/* Shared studio interface: calm surfaces, clear hierarchy and generous controls. */
.game-shell { margin: 0; font-family: "Segoe UI", sans-serif; line-height: 1.55; background: radial-gradient(ellipse at 80% 0, #112b48 0, transparent 45%), #070e1c; }
.game-shell a { text-decoration: none; }
.game-shell .topbar { min-height: 86px; gap: 24px; }
.game-shell .topbar nav { display: flex; gap: 6px; flex-wrap: wrap; }
.game-shell .topbar nav a { padding: 10px 13px; border-radius: 9px; color: #aebed3; font-size: .85rem; text-transform: none; letter-spacing: 0; }
.game-shell .topbar nav a[aria-current], .game-shell .topbar nav a:hover { background: #152b42; color: #fff; }
.game-skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px 18px; background: #35e8ff; color: #07111d; border-radius: 8px; }
.game-skip:focus { top: 16px; }
.game-page { --vv-muted: #a7b8cd; padding-top: 44px; }
.game-page [hidden] { display: none !important; }
.game-page .catalog-hero { position: relative; gap: 40px; align-items: center; padding: 38px; margin-bottom: 30px; border: 1px solid #263b52; border-radius: 22px; background: linear-gradient(120deg, rgba(20,44,67,.9), rgba(10,22,40,.8)); overflow: hidden; }
.game-page .catalog-hero h1 { font-family: inherit; font-weight: 750; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.08; letter-spacing: -.055em; margin: 14px 0 18px; }
.game-page .catalog-hero p { font-size: 1rem; line-height: 1.7; }
.game-page h2 { font-family: inherit; font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; }
.game-page h3 { line-height: 1.4; }
.game-page .catalog-eyebrow { font-size: .68rem; letter-spacing: .14em; color: #82dce9; }
.game-panel, .game-card { border-color: #24364d; border-radius: 16px; background: #101c2e; box-shadow: none; }
.game-panel { padding: 28px; margin-bottom: 24px; }
.game-card { padding: 24px; background: linear-gradient(150deg, #142339, #0f1b2d); }
.game-card h2, .game-card h3 { overflow-wrap: anywhere; }
.game-grid { gap: 20px; margin-bottom: 24px; }
.game-card .game-actions { margin-bottom: 0; }
.game-grid > .game-card { display: flex; flex-direction: column; align-items: start; }
.game-grid > .game-card > .game-actions { margin-top: auto; padding-top: 18px; }
.game-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.game-directory-card { padding: 0; overflow: hidden; }
.game-directory-card .game-art, .game-directory-card .game-cover-placeholder { width: 100%; min-height: 210px; margin: 0; border: 0; border-radius: 0; }
.game-directory-card .game-cover-placeholder { min-height: 210px; border-radius: 0; font-size: 3.4rem; }
.game-directory-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px; }
.game-directory-copy h2 { margin: 14px 0 8px; }
.game-directory-copy .game-meta { margin-top: 0; }
.game-directory-copy .game-actions { width: 100%; }
.game-catalog-grid { align-items: stretch; }
.game-catalog-item { display: grid; align-content: start; gap: 8px; min-width: 0; }
.game-catalog-source { padding: 0 4px; color: #82dce9; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.game-catalog-item .game-card { height: 100%; }
.game-art { border-radius: 10px; aspect-ratio: 16 / 9; object-fit: cover; }
.game-icon { aspect-ratio: 1; object-fit: contain; }
.game-cover { border-radius: 14px; width: 42%; box-shadow: 0 18px 45px #0005; }
.game-cover-placeholder { display: grid; place-content: center; flex: 0 0 210px; min-height: 210px; border: 1px solid #39728b; border-radius: 28px; color: #9beaff; font-size: 4rem; font-weight: 800; letter-spacing: -.07em; background: repeating-linear-gradient(135deg, transparent 0 20px, #86dcff08 20px 21px), linear-gradient(140deg, #163654, #152341); }
.game-badge { display: inline-flex; align-items: center; gap: 7px; border-radius: 30px; padding: 5px 11px; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.game-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.game-badge-green { background: #1a3b36; color: #9ee8ba; }
.game-badge-blue { background: #22364f; color: #b5d8ff; }
.game-badge-amber { background: #423723; color: #f4d495; }
.game-page .auth-button, .game-page .auth-link, .game-page .catalog-button { border-radius: 9px; min-height: 44px; font: 650 .85rem "Segoe UI", sans-serif; text-decoration: none; justify-content: center; gap: 8px; padding: 12px 18px; transition: background .15s, border-color .15s; }
.game-page .auth-button, .game-page .catalog-button { color: #071622; background: #73e1ed; border-color: #73e1ed; }
.game-page .auth-link.secondary { color: #d8e9f9; background: #14263b; border-color: #364c63; }
.game-page :is(.auth-button, .auth-link, .catalog-button):hover { transform: none; box-shadow: none; filter: brightness(1.12); }
.game-page form { border: 0; box-shadow: none; background: transparent; }
.game-tabs { gap: 6px; margin: 0 0 26px; padding: 6px; background: #0c1727; border: 1px solid #26384d; border-radius: 12px; }
.game-tabs a { padding: 10px 15px; border: 0; border-radius: 8px; color: #abbed3; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.game-tabs a:hover, .game-tabs a[aria-current="page"], .game-tabs a[aria-selected="true"] { background: #20354a; color: #f3fcff; }
.game-tabs[data-game-tabs] { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.game-tabs .game-tab-count { margin-left: 6px; opacity: .6; font-size: .7rem; }
.game-search { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.game-search label { font-size: .86rem; font-weight: 650; }
.game-search input { width: min(100%, 360px); min-height: 46px; padding: 12px 16px; background: #0d192b; border: 1px solid #354961; border-radius: 10px; color: #eff6ff; font: inherit; }
.game-search small { margin-left: auto; }
.game-search-empty { padding: 28px; text-align: center; border: 1px dashed #354961; border-radius: 12px; }
.game-form { max-width: none; gap: 22px; }
.game-admin .game-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-admin .game-form > * { grid-column: 1 / -1; }
.game-admin .game-form > .field-group:not(:has(textarea)) { grid-column: auto; }
.game-form .field-group label { font-size: .88rem; font-weight: 650; }
.game-form :is(input:not([type=checkbox]), textarea, select) { font: inherit; font-size: .92rem; border: 1px solid #374b64; background: #0b1626; border-radius: 9px; padding: 12px 14px; min-height: 48px; }
.game-form textarea { line-height: 1.65; }
.game-form :is(input, textarea)::placeholder { color: #8196b0; }
.game-form input[type=checkbox] { accent-color: #73e1ed; width: 20px; height: 20px; flex: 0 0 20px; }
.game-field-help, .game-optional { font-size: .75rem; font-weight: 400; color: #9aafc7; }
.game-optional { margin-left: 7px; }
.game-required { color: #82dce9; }
.game-form-section { display: flex; gap: 14px; align-items: start; border-top: 1px solid #273b51; padding-top: 26px; margin-top: 8px; }
.game-form-section > span { display: grid; place-content: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: #233c53; color: #a4e6ef; font-size: .78rem; }
.game-form-section h3 { margin: 0; font-size: 1rem; }
.game-form-section p { margin: 4px 0 0; font-size: .84rem; }
.game-check { background: #12283a; border: 1px solid #365569; padding: 18px; border-radius: 12px; align-items: start; }
.game-check small { display: block; margin-top: 5px; font-size: .8rem; }
.game-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #304358; margin-top: 12px; padding-top: 22px; }
.game-save-bar .game-actions { margin: 0; }
.game-form fieldset { border-radius: 12px; border-color: #354961; }
.game-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.game-stats a, .game-stats > div { padding: 22px; border: 1px solid #2a3f55; border-radius: 14px; background: #101e31; color: #edf5ff; }
.game-stats span { display: block; font-size: .8rem; color: #adc0d5; }
.game-stats strong { display: block; font-size: 2rem; line-height: 1.4; margin: 4px 0; font-weight: 700; }
.game-stats small { font-size: .75rem; }
.game-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 22px; }
.game-section-head h2 { margin: 0; }
.game-section-head .game-form { margin: 0; }
.game-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 26px; }
.game-quick-grid a { border: 1px solid #30475f; background: #11243a; padding: 16px; border-radius: 10px; color: #d8eafb; font-size: .85rem; font-weight: 600; }
.game-quick-grid a:hover { border-color: #78dcea; background: #19324b; }
.game-quick-grid small { display: block; margin-top: 5px; font-weight: 400; font-size: .73rem; }
.game-list > li { padding: 19px 8px; border-color: #273b51; }
.game-list > li > small { display: block; margin-top: 5px; }
.game-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.game-row > div { min-width: 0; }
.game-row .game-meta { margin-top: 8px; }
.game-list .game-unread { background: #142c42; border-radius: 9px; padding: 18px; margin-bottom: 8px; }
.game-notice { padding: 28px; border-radius: 12px; color: #b7c9dd; background: #101e2e; }
.game-roadmap { gap: 12px; }
.game-roadmap > section { background: #0b1727; padding: 12px; border-radius: 12px; }
.game-roadmap > section > h3 { color: #c5d7ec; margin: 4px 4px 18px; font-size: .85rem; }
.game-roadmap .game-card { background: #16273b; }
.game-disclosure { border: 1px solid #2b4058; border-radius: 12px; margin-bottom: 12px; background: #122137; }
.game-disclosure > summary { cursor: pointer; padding: 20px; }
.game-disclosure > summary strong { margin: 0 12px; }
.game-disclosure > .game-report-body { padding: 0 22px 22px; }
.game-reply { background: #15352f; padding: 18px; border-left: 3px solid #8bd6b4; border-radius: 8px; }
.game-reply h4 { margin: 0 0 8px; color: #c0f0d7; }
.game-reply p { margin: 0; }
.game-text-toggle { margin-top: 4px; border: 0; background: none; padding: 8px 0; color: #8be3ef; font: 600 .8rem "Segoe UI", sans-serif; cursor: pointer; }
.game-copy.is-collapsed { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.game-page .message { border-radius: 12px; }
.game-page .message.error { margin-top: 0; }

.game-page > .catalog-hero {
    border-color: rgba(115, 225, 237, .3);
    background:
        linear-gradient(135deg, rgba(23, 54, 82, .96), rgba(10, 23, 41, .9)),
        repeating-linear-gradient(115deg, transparent 0 34px, rgba(115, 225, 237, .035) 34px 35px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

.game-page > .catalog-hero h1 { max-width: 780px; }
.game-page > .catalog-hero p { max-width: 580px; color: #b5c8db; }
.game-page .game-stats { gap: 12px; }
.game-page .game-stats a, .game-page .game-stats > div { position: relative; overflow: hidden; border-color: #30465d; background: linear-gradient(145deg, #14283e, #0d1a2b); }
.game-page .game-stats a::after, .game-page .game-stats > div::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: #73e1ed; opacity: .65; }
.game-page .game-stats a:hover { border-color: #73e1ed; background: #172f46; transform: translateY(-2px); }
.game-page .game-stats strong { color: #f0fbff; }
.game-page .game-panel { border-color: #2b4058; background: linear-gradient(145deg, rgba(16, 31, 49, .97), rgba(11, 23, 39, .97)); }
.game-page .game-section-head { padding-bottom: 16px; border-bottom: 1px solid #273b51; }
.game-page .game-section-head h2 { font-size: 1.55rem; }
.game-page .game-card { border-color: #2d4560; }
.game-page .game-card:hover { border-color: #73e1ed; transform: translateY(-2px); }
.game-page .game-list > li { padding-left: 12px; padding-right: 12px; }
.game-page .game-list > li.game-unread { border-left: 3px solid #73e1ed; }
.game-page .game-disclosure { border-color: #30475f; background: linear-gradient(145deg, #14283e, #0d1c2e); }
.game-page .game-disclosure > summary:hover { background: rgba(115, 225, 237, .06); }
.game-page .game-notice { border: 1px dashed #416078; background: rgba(17, 39, 58, .72); }

@media (max-width: 760px) {
    .game-page > .catalog-hero { padding: 28px 22px; }
    .game-panel { padding: 22px 18px; }
    .game-section-head { align-items: flex-start; }
}
@media (max-width: 960px) { .game-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .game-shell .topbar { flex-direction: column; align-items: start; padding: 18px 0; gap: 12px; } }
@media (max-width: 760px) {
    .game-admin .game-form { grid-template-columns: 1fr; }
    .game-page { padding-top: 24px; }
    .game-page .catalog-hero { padding: 26px 22px; border-radius: 16px; }
    .game-page .catalog-hero h1 { font-size: 2.5rem; }
    .game-cover { width: 100%; margin-top: 20px; }
    .game-cover-placeholder { display: none; }
    .game-stats { gap: 8px; }
    .game-stats a, .game-stats > div { padding: 14px 10px; }
    .game-stats strong { font-size: 1.5rem; }
    .game-stats small { display: none; }
    .game-stats span { font-size: .7rem; }
    .game-save-bar { flex-direction: column; align-items: stretch; }
    .game-save-bar .game-actions > * { flex: 1; }
    .game-search { gap: 8px; }
    .game-search label { flex-basis: 100%; }
    .game-search input { width: 100%; }
    .game-search small { margin-left: 0; }
    .game-shell .topbar nav { gap: 2px; }
    .game-shell .topbar nav a { font-size: .78rem; padding: 8px 10px; }
    .game-directory { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .game-page *, .game-shell .topbar * { transition: none !important; scroll-behavior: auto !important; } }

/* Public studio collection. */
.game-page .studio-games-hero { padding: 54px 42px; margin-bottom: 48px; }
.studio-games-hero > div:first-child { flex: 1; }
.studio-games-hero h1 > span { color: #82dce9; }
.studio-games-hero p { max-width: 580px; }
.studio-games-signature { padding: 38px 12px; transform: rotate(-6deg); color: #e2f7ff; }
.studio-games-signature > span { display: block; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.07em; line-height: 1; }
.studio-games-dot { color: #35e8ff; }
.studio-games-signature small { display: block; margin-top: 20px; font-size: .7rem; }
.studio-game-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 22px; }
.studio-game-filters button { display: inline-flex; gap: 10px; align-items: center; padding: 11px 16px; border: 1px solid #32465d; border-radius: 30px; background: #101c2e; color: #b8c9db; font: inherit; font-size: .85rem; cursor: pointer; }
.studio-game-filters button span { font-size: .75rem; opacity: .8; }
.studio-game-filters button:hover, .studio-game-filters button[aria-pressed="true"] { background: #193f50; border-color: #82dce9; color: #e2faff; }
.studio-game-filters button:focus-visible, .studio-game-directory a:focus-visible { outline: 2px solid #82dce9; outline-offset: 4px; }
.studio-game-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.studio-game-directory > .game-directory-card:only-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.studio-game-directory > .game-directory-card:only-child .studio-game-art-link { align-self: center; }
.studio-game-art-link { display: block; width: 100%; overflow: hidden; }
.studio-game-directory .game-art, .studio-game-directory .game-cover-placeholder { display: grid; aspect-ratio: 16 / 9; min-height: 0; width: 100%; object-fit: cover; }
.studio-game-directory .game-directory-copy { box-sizing: border-box; width: 100%; padding: 28px; }
.studio-game-directory h3 { margin: 16px 0 0; font-size: 1.7rem; letter-spacing: -.035em; }
.studio-game-directory h3 a { color: #f0f6ff; }
.studio-game-directory .game-directory-copy > p { line-height: 1.7; }
.studio-game-directory .game-actions { margin-top: auto; padding-top: 18px; }
.studio-games-follow { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 44px; }
.studio-games-follow p { max-width: 640px; margin-bottom: 0; }
.studio-games-follow > a { flex-shrink: 0; }
@media (max-width: 760px) {
    .game-page .studio-games-hero { padding: 32px 22px; }
    .studio-games-signature { display: none; }
    .studio-game-directory { grid-template-columns: 1fr; }
    .studio-game-directory > .game-directory-card:only-child { display: flex; }
    .studio-game-directory .game-directory-copy { padding: 22px; }
    .studio-games-follow { flex-direction: column; align-items: flex-start; }
}
