.game-page {
    width: min(1180px, calc(100% - 2rem));
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: 1.4rem 0 4.5rem;
}
.game-loading { padding: 4rem 0; text-align: center; color: var(--text-muted); }
.game-detail { display: grid; gap: 1rem; }
.game-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.9fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--white) 92%, var(--bg) 8%);
    box-shadow: var(--shadow);
}
.game-visual { position: relative; min-width: 0; overflow: hidden; background: color-mix(in srgb, var(--spotlight-grad-start) 72%, #111827 28%); }
.game-carousel { width: 100%; height: 100%; min-height: 430px; position: relative; overflow: hidden; }
.game-slide { display: none; width: 100%; height: 100%; min-height: 430px; position: absolute; inset: 0; overflow: hidden; contain: paint; margin: 0; }
.game-slide.is-active { display: grid; place-items: center; }
.game-slide img { display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.game-slide#game-cover-link img { display: none; }
#game-cover-link img.is-ready { display: block; }
.game-cover-fallback { height: 100%; display: grid; place-items: center; color: #fff; font-size: 4rem; font-weight: 800; }
.game-cover-fallback.is-hidden { display: none; }
.game-carousel-control { position: absolute; z-index: 2; top: 50%; width: 36px; height: 44px; transform: translateY(-50%); border: 1px solid rgba(255,255,255,0.5); background: rgba(18,24,38,0.72); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.game-carousel-control:hover { background: rgba(18,24,38,0.9); }
.game-carousel-prev { left: 0.75rem; }
.game-carousel-next { right: 0.75rem; }
.game-carousel-dots { position: absolute; z-index: 2; left: 50%; bottom: 0.75rem; display: flex; gap: 0.4rem; transform: translateX(-50%); }
.game-carousel-dot { width: 9px; height: 9px; padding: 0; border: 1px solid rgba(255,255,255,0.9); border-radius: 50%; background: rgba(18,24,38,0.5); cursor: pointer; }
.game-carousel-dot.is-active { background: #fff; }
.game-overview {
    align-self: stretch;
    min-width: 0;
    padding: clamp(1.4rem, 3.2vw, 2.4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.game-back {
    width: fit-content;
    margin-bottom: auto;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}
.game-back::before { content: '\2190'; margin-right: 0.35rem; }
.game-back:hover { color: var(--blue); }
.game-kicker,
.section-kicker,
.account-fit-eyebrow {
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
}
.game-kicker { margin: 1.6rem 0 0.5rem; }
.game-overview h1 { margin: 0 0 0.65rem; font-size: clamp(2rem, 4.5vw, 3.5rem); line-height: 1.02; overflow-wrap: anywhere; }
.game-tagline { font-size: clamp(1rem, 1.8vw, 1.15rem); line-height: 1.55; color: var(--text-muted); }
.game-developer { margin-top: 0.8rem; font-weight: 700; }
.game-tags { display: flex; flex-wrap: wrap; gap: 0.42rem; margin: 1.1rem 0 1.4rem; }
.game-tag {
    --tile-cat-accent: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.58rem;
    border: 1px solid color-mix(in srgb, var(--tile-cat-accent) 48%, var(--border) 52%);
    border-radius: 10px;
    background: color-mix(in srgb, var(--tile-cat-accent) 22%, var(--white) 78%);
    color: color-mix(in srgb, var(--tile-cat-accent) 84%, var(--text) 16%);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}
.game-tag svg { width: 14px; height: 14px; flex: 0 0 14px; }
.game-tag--strategy { --tile-cat-accent: var(--cat-strategy); }
.game-tag--puzzle { --tile-cat-accent: var(--cat-puzzle); }
.game-tag--rpg { --tile-cat-accent: var(--cat-rpg); }
.game-tag--arcade { --tile-cat-accent: var(--cat-arcade); }
.game-tag--rhythm { --tile-cat-accent: var(--cat-rhythm); }
.game-tag--action { --tile-cat-accent: var(--cat-action); }
.game-tag--idle { --tile-cat-accent: var(--cat-idle); }
.game-tag--pets { --tile-cat-accent: var(--cat-pets); }
.game-tag--adventure { --tile-cat-accent: var(--cat-adventure); }
.game-tag--racing { --tile-cat-accent: var(--cat-racing); }
.game-tag--sports { --tile-cat-accent: var(--cat-sports); }
.game-tag--other { --tile-cat-accent: var(--cat-other); }
.game-play { --game-play-color: var(--action-play); display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1rem; border-radius: 6px; font-weight: 800; text-decoration: none; }
.game-play { width: 100%; gap: 0.55rem; margin-top: auto; background: var(--game-play-color); color: #fff; transition: background 0.15s; }
.game-play:hover { background: color-mix(in srgb, var(--game-play-color) 84%, #000 16%); text-decoration: none; }
.game-play--warning { --game-play-color: var(--action-check); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2); }
.game-play--login { --game-play-color: var(--blue); }
.game-play--claim { --game-play-color: var(--blue); }
.game-play--explore { --game-play-color: var(--action-explore); color: #fff; transition: none; }
.game-play-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.game-play-icon--default { filter: brightness(0) invert(1); }
.game-play-icon--warning, .game-play-icon--login { display: none; filter: brightness(0) invert(1); }
.game-play--warning .game-play-icon--default { display: none; }
.game-play--warning .game-play-icon--warning { display: block; }
.game-play--login .game-play-icon--default { display: none; }
.game-play--login .game-play-icon--login { display: block; }
.game-play--claim .game-play-icon--default { display: none; }
.game-play--explore .game-play-icon--default { display: none; }
.game-sections { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr); gap: 1rem; align-items: stretch; }
.game-info-stack { display: grid; gap: 1rem; align-content: start; }
.game-section {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--white) 92%, var(--bg) 8%);
    box-shadow: var(--shadow);
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
}
.game-section h2 { margin: 0.35rem 0 0.7rem; font-size: 1.45rem; line-height: 1.15; }
.game-description p { color: var(--text-muted); white-space: pre-line; line-height: 1.65; }
.game-ownership-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.15rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.game-claim-button,
.game-record-link { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 0.75rem; border-radius: 5px; font: inherit; font-size: 0.76rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.game-claim-button[hidden],
.game-ownership-feedback[hidden] { display: none; }
.game-claim-button { border: 1px solid var(--blue); background: var(--blue); color: #fff; }
.game-claim-button:disabled { opacity: 0.6; cursor: wait; }
.game-record-link { border: 1px solid var(--border); background: var(--white); color: var(--text-muted); }
.game-record-link svg { width: 14px; height: 14px; flex: 0 0 14px; margin-right: 0.35rem; }
.game-ownership-feedback { margin-top: 0.8rem; padding: 0.55rem 0.65rem; border-radius: 5px; background: var(--bg); color: var(--text-muted); font-size: 0.76rem; }
.game-ownership-feedback.is-error { color: #b42318; background: color-mix(in srgb, #ef4444 9%, var(--white)); }
.account-fit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.account-fit {
    --account-open: color-mix(in srgb, var(--blue) 68%, var(--text) 32%);
    --account-open-soft: color-mix(in srgb, var(--blue) 12%, var(--white) 88%);
    --account-ready: color-mix(in srgb, #2ea66f 52%, var(--text) 48%);
    --account-ready-soft: color-mix(in srgb, #2ea66f 13%, var(--white) 87%);
    --account-required: color-mix(in srgb, var(--blue) 58%, var(--text) 42%);
    --account-optional: color-mix(in srgb, #c07a24 52%, var(--text) 48%);
    --account-optional-soft: color-mix(in srgb, #c07a24 11%, var(--white) 89%);
    --account-missing: color-mix(in srgb, #d7673f 56%, var(--text) 44%);
    --account-missing-soft: color-mix(in srgb, #d7673f 12%, var(--white) 88%);
}
.account-login { flex-shrink: 0; gap: 0.45rem; }
.account-summary,
.account-open-access { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.8rem; align-items: center; padding: 0.9rem; border-radius: 7px; }
.account-summary[hidden],
.account-group[hidden],
.account-group h3[hidden] { display: none; }
.account-summary { margin: 0 0 1rem; }
.account-summary-icon,
.account-open-access-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; }
.account-summary-icon svg,
.account-summary-icon img,
.account-open-access-icon svg { width: 20px; height: 20px; }
.account-summary-icon img { filter: brightness(0) invert(1); }
.account-summary strong,
.account-open-access strong { display: block; font-size: 0.95rem; }
.account-summary small,
.account-open-access small { display: block; margin-top: 0.16rem; color: var(--text-muted); line-height: 1.35; }
.account-summary--check { border: 1px solid color-mix(in srgb, var(--account-open) 34%, var(--border)); background: var(--account-open-soft); }
.account-summary--check .account-summary-icon { background: var(--account-open); }
.account-summary--check strong { color: var(--account-open); }
.account-summary--ready { border: 1px solid color-mix(in srgb, var(--account-ready) 34%, var(--border)); background: var(--account-ready-soft); }
.account-summary--ready .account-summary-icon { background: var(--account-ready); }
.account-summary--ready strong { color: var(--account-ready); }
.account-summary--missing { border: 1px solid color-mix(in srgb, var(--account-missing) 34%, var(--border)); background: var(--account-missing-soft); }
.account-summary--missing .account-summary-icon { background: var(--account-missing); }
.account-summary--missing strong { color: var(--account-missing); }
.account-summary--coming-soon { border: 1px solid color-mix(in srgb, var(--action-explore) 42%, var(--border)); background: color-mix(in srgb, var(--action-explore) 12%, var(--white) 88%); }
.account-summary--coming-soon .account-summary-icon { background: var(--action-explore); }
.account-summary--coming-soon strong { color: color-mix(in srgb, var(--action-explore) 72%, var(--text) 28%); }
.account-stack { display: grid; gap: 1.25rem; }
.account-stack[hidden] { display: none; }
.account-group h3 { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.25rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; }
.account-group h3::after { content: ''; height: 1px; flex: 1; background: currentColor; opacity: 0.22; }
.account-group--required h3 { color: var(--account-required); }
.account-group--optional h3 { color: var(--account-optional); }
.account-records { display: grid; }
.account-open-access { border: 1px solid color-mix(in srgb, var(--account-open) 34%, var(--border)); background: var(--account-open-soft); }
.account-open-access-icon { background: var(--account-open); }
.account-open-access strong { color: var(--account-open); }
.account-record { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.8rem; align-items: start; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.account-record:last-child { border-bottom: 0; padding-bottom: 0; }
.account-record-icon { position: relative; width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); border-radius: 7px; color: var(--blue); background: color-mix(in srgb, var(--blue-light) 38%, var(--white) 62%); }
.account-record-icon[href] { transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.account-record-icon[href]:hover { border-color: color-mix(in srgb, var(--blue) 58%, var(--border)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 12%, transparent); }
.account-record-icon img { position: absolute; inset: 4px; display: block; width: 30px; height: 30px; object-fit: contain; opacity: 0; }
.account-record-icon.has-image img { opacity: 1; }
.account-record-icon.has-image svg { display: none; }
.account-record-icon svg { width: 16px; height: 16px; }
.account-record-copy { min-width: 0; }
.account-record-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.45rem; min-height: 24px; }
.account-record-title { max-width: 100%; min-width: 0; display: flex; flex: 0 0 auto; align-items: center; flex-wrap: nowrap; gap: 0.4rem; }
.account-record-title strong,
.account-record-type { display: inline-flex; align-items: center; min-height: 24px; margin: 0; line-height: 1.15; }
.account-record-name { display: inline-flex; align-items: center; min-height: 24px; color: var(--text); font-size: 0.88rem; font-weight: 800; line-height: 1.15; text-decoration: none; overflow-wrap: anywhere; transition: color 0.15s ease; }
.account-record-name:hover { color: color-mix(in srgb, var(--blue) 76%, var(--text) 24%); text-decoration: none; }
.account-record-type { padding-left: 0.4rem; border-left: 1px solid var(--border); color: var(--text-muted); font-size: 0.72rem; font-weight: 700; }
.account-record-actions { display: flex; align-items: center; flex: 0 0 auto; gap: 0.35rem; margin-left: auto; }
.account-record strong, .account-record small { display: block; }
.account-record strong { min-width: 0; font-size: 0.88rem; line-height: 1.25; overflow-wrap: anywhere; }
.account-record-copy > small { margin-top: 0.25rem; color: var(--text-muted); font-size: 0.75rem; line-height: 1.4; }
.account-state { display: inline-flex; align-items: center; flex: 0 0 auto; padding: 0.14rem 0.42rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text-muted); font-size: 0.62rem; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; }
.account-state--required { color: var(--account-required); border-color: color-mix(in srgb, var(--account-required) 38%, var(--border)); background: var(--white); }
.account-state--ok { color: var(--account-ready); border-color: color-mix(in srgb, var(--account-ready) 40%, var(--border)); background: var(--account-ready-soft); }
.account-state--missing { color: var(--account-missing); border-color: color-mix(in srgb, var(--account-missing) 40%, var(--border)); background: var(--account-missing-soft); }
.account-state--optional { color: var(--account-optional); border-color: color-mix(in srgb, var(--account-optional) 35%, var(--border)); background: var(--account-optional-soft); }
.account-verifier { width: 100%; max-width: 100%; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0.5rem; align-items: center; margin-top: 0.65rem; padding: 0.55rem 0 0; border: 0; border-top: 1px solid color-mix(in srgb, var(--account-ready) 28%, var(--border)); border-radius: 0; background: transparent; color: var(--text); text-decoration: none; }
.account-verifier:hover { color: var(--account-ready); text-decoration: none; }
.account-verifier-icon { position: relative; width: 24px; height: 24px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--account-ready); color: var(--white); }
.account-verifier-icon svg { width: 12px; height: 12px; }
.account-verifier-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.account-verifier-icon.has-avatar img { opacity: 1; }
.account-verifier-copy { min-width: 0; display: block; }
.account-verifier-copy small { flex: 0 0 auto; margin: 0; color: var(--account-ready); font-size: 0.62rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.account-verifier-copy strong { min-width: 0; margin: 0.08rem 0 0; font-size: 0.72rem; line-height: 1.25; overflow-wrap: anywhere; }
.account-verifier-handle { color: var(--text-muted); font-weight: 600; }
body.play-warning-open { overflow: hidden; }
.play-warning[hidden] { display: none; }
.play-warning {
    --account-missing: color-mix(in srgb, #d7673f 56%, var(--text) 44%);
    --account-missing-soft: color-mix(in srgb, #d7673f 10%, var(--white) 90%);
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.play-warning-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: color-mix(in srgb, var(--text) 72%, transparent); backdrop-filter: blur(3px); cursor: default; }
.play-warning-dialog { position: relative; z-index: 1; width: min(520px, 100%); max-height: min(86vh, 720px); overflow: auto; padding: 1.35rem; border: 1px solid color-mix(in srgb, var(--blue) 28%, var(--border)); border-top: 4px solid var(--blue); border-radius: 8px; background: color-mix(in srgb, var(--white) 96%, var(--bg) 4%); box-shadow: 0 24px 70px color-mix(in srgb, var(--text) 34%, transparent); }
.play-warning-close { position: absolute; top: 0.65rem; right: 0.7rem; width: 32px; height: 32px; border: 0; background: transparent; color: var(--text-muted); font-size: 1.45rem; line-height: 1; cursor: pointer; }
.play-warning-eyebrow { color: var(--blue); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.play-warning-dialog h2 { margin: 0.35rem 2rem 0.45rem 0; font-size: 1.35rem; }
.play-warning-dialog > p { margin: 0; color: var(--text-muted); line-height: 1.5; }
.play-warning-records { display: grid; gap: 0.65rem; margin-top: 1rem; }
.play-warning-record { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0.75rem; align-items: center; padding: 0.8rem; border: 1px solid var(--border); border-radius: 7px; background: var(--white); }
.play-warning-record--missing { border-color: color-mix(in srgb, #d7673f 28%, var(--border)); background: color-mix(in srgb, #d7673f 8%, var(--white) 92%); }
.play-warning-record-icon { color: var(--blue); }
.play-warning-record--missing .play-warning-record-icon { border-color: color-mix(in srgb, var(--account-missing) 38%, var(--border)); color: var(--account-missing); background: var(--account-missing-soft); }
.play-warning-record-copy { min-width: 0; }
.play-warning-record-heading { display: flex; align-items: center; min-width: 0; }
.play-warning-record-heading strong,
.play-warning-record-copy small { display: block; }
.play-warning-record-heading strong { min-width: 0; font-size: 0.86rem; overflow-wrap: anywhere; }
.play-warning-record-heading .account-record-type { flex: 0 0 auto; margin-left: 0.4rem; }
.play-warning-record-copy > small { margin-top: 0.25rem; color: var(--text-muted); font-size: 0.72rem; line-height: 1.4; }
.play-warning-record .account-verifier { margin-top: 0.5rem; padding-top: 0.45rem; }
.play-warning-explore { padding: 0.52rem 0.72rem; border: 1px solid var(--blue); border-radius: 5px; background: var(--blue); color: #fff; font-size: 0.74rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.play-warning-actions { display: flex; justify-content: flex-end; gap: 0.55rem; margin-top: 1.1rem; }
.play-warning-button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0.55rem 0.85rem; border: 1px solid var(--border); border-radius: 5px; font: inherit; font-size: 0.8rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.play-warning-button--quiet { border-color: transparent; background: transparent; color: var(--text-muted); }
.play-warning-button--continue { background: var(--white); color: var(--blue); border-color: color-mix(in srgb, var(--blue) 42%, var(--border)); }
.play-warning-button--login { border-color: var(--blue); background: var(--blue); color: #fff; }
.play-warning-button[hidden] { display: none; }
@media (max-width: 900px) {
    .game-hero { grid-template-columns: 1fr; }
    .game-carousel, .game-slide { min-height: 0; aspect-ratio: 16 / 9; }
    .game-overview { min-height: 350px; }
    .game-sections { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .game-page { width: min(100% - 1rem, 1180px); padding-top: 0.6rem; }
    .game-overview { min-height: 320px; padding: 1.2rem; }
    .game-overview h1 { font-size: 2.3rem; }
    .account-fit-head { flex-direction: column; }
    .account-record-title { gap: 0.3rem; }
    .account-record-type { padding-left: 0.3rem; }
    .account-record-actions { gap: 0.4rem; }
    .account-record-actions .account-state { padding-inline: 0.32rem; font-size: 0.58rem; }
    .play-warning-record { grid-template-columns: 40px minmax(0, 1fr); }
    .play-warning-explore { grid-column: 1 / -1; text-align: center; }
    .play-warning-actions { flex-wrap: wrap; }
    .play-warning-button { flex: 1 1 auto; }
}