.game-details-open, .player-dialog-open {overflow:hidden}
.player-dialog {
    --profile-duration:480ms;
    position:fixed;
    inset:auto 0 0;
    margin:0 auto;
    width:min(1100px, calc(100% - 48px));
    max-width:100%;
    height:calc(100vh - max(4vh, 18px, env(safe-area-inset-top, 0px)));
    height:calc(100dvh - max(4dvh, 18px, env(safe-area-inset-top, 0px)));
    max-height:none;
    padding:0;
    overflow:hidden;
    border:1px solid var(--line);
    border-bottom:0;
    border-radius:24px 24px 0 0;
    background:var(--bg);
    color:var(--text);
    box-shadow:0 -16px 70px #0006;
}
.player-dialog[open] {display:flex;flex-direction:column}
.player-dialog [hidden] {display:none!important}
.player-dialog::backdrop {background:#080b1266;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.player-dialog-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px clamp(16px,3vw,32px);border-bottom:1px solid var(--line);background:var(--surface)}
.player-dialog-label {font-size:.875rem;font-weight:650}
.player-dialog .player-dialog-close {position:static;flex:none;color:var(--text)}
.player-dialog-content {flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom)}
.player-dialog-status {margin:0;padding:16px clamp(16px,3vw,32px);color:var(--muted)}
.player-dialog-status:empty {display:none}
.player-dialog-fallback {align-self:flex-start;margin-inline:clamp(16px,3vw,32px)}
@media (max-width:639px) {
    .player-dialog {width:100%;border-inline:0;border-radius:20px 20px 0 0}
}
@media (prefers-reduced-motion:no-preference) {
    .player-dialog[open]::backdrop {animation:game-details-backdrop var(--profile-duration) ease-out}
    .player-dialog.is-closing::backdrop {animation:game-details-backdrop-close var(--profile-duration) ease-in forwards}
}
.game-details-drawer {--details-duration:660ms;position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,calc(100% - 64px));max-width:100%;height:100vh;height:100dvh;max-height:none;padding:0;border:0;border-left:1px solid var(--line);border-radius:18px 0 0 18px;background:var(--surface);color:var(--text);box-shadow:-24px 0 80px #0006;overflow:hidden;touch-action:pan-y pinch-zoom}
.game-details-drawer[open] {display:flex;flex-direction:column}
.game-details-drawer::backdrop {background:#080b1266;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.game-details-close {position:absolute;top:12px;right:18px;z-index:3;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff30;border-radius:50%;background:#101218e6;font-size:28px;line-height:1;box-shadow:0 3px 12px #0005}
.game-details-close:hover {background:var(--line);color:var(--accent)}
.game-details-scroll {overflow-y:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-gutter:stable;touch-action:pan-y pinch-zoom}
.game-details-media {position:relative;isolation:isolate}
.game-details-image {width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:var(--bg)}
.game-details-name-art {position:absolute;inset:auto 0 0;padding:28px 16px 12px;background:transparent;pointer-events:none}
.game-details-name-art img {width:100%;height:auto;max-height:100px;object-fit:contain;filter:drop-shadow(0 3px 5px #0008)}
.game-details-copy {padding:8px 24px max(32px,env(safe-area-inset-bottom));overflow-wrap:anywhere}
.game-details-tags {display:flex;flex-wrap:wrap;gap:8px;margin-bottom:26px}
.game-details-tags .badge {display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px 8px;white-space:normal;font-size:.7rem;line-height:1.4}
.game-details-tags .icon {width:16px;height:16px;flex-shrink:0}
.game-details-copy h3 {font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}
.game-details-description {white-space:pre-line;line-height:1.8}
.game-details-status {color:var(--muted);font-size:.9rem;margin-top:16px}
.game-details-status:empty {display:none}
.game-details-retry {margin-top:12px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}
.game-details-action {padding:20px 24px}
.game-details-action .game-details-play {display:flex;align-items:center;justify-content:center;gap:12px;min-height:62px;width:100%;padding:16px;background:var(--accent);color:#101218;border:0;border-radius:14px;font-size:1rem;font-weight:850;letter-spacing:.04em;box-shadow:0 5px 24px #c1f66b15}
.game-details-play:hover {filter:brightness(1.08)}
.game-details-drawer [hidden] {display:none!important}
@media(prefers-reduced-motion:no-preference) {
    .game-details-drawer[open]:not(.is-closing) .game-details-play {animation:game-details-play-glow 5s ease-in-out infinite}
    .game-details-drawer .game-details-play:hover,.game-details-drawer .game-details-play:focus-visible {animation-play-state:paused}
    @keyframes game-details-play-glow {0%,100% {box-shadow:0 0 0 0 #c1f66b00,0 4px 14px #c1f66b15;filter:brightness(1)} 50% {box-shadow:0 0 0 5px #c1f66b0c,0 4px 30px #c1f66b55;filter:brightness(1.07)}}
    .game-details-drawer[open]::backdrop {animation:game-details-backdrop 660ms ease-out}
    .game-details-drawer.is-closing::backdrop {animation:game-details-backdrop-close 660ms ease-in forwards}
    @keyframes game-details-backdrop {from {opacity:0} to {opacity:1}}
    @keyframes game-details-backdrop-close {from {opacity:1} to {opacity:0}}
}
@media(max-width:540px) {
    .game-details-drawer {width:calc(100% - 64px)}
    .game-details-close {top:10px;right:16px}
    .game-details-name-art {padding:20px 12px 10px}
    .game-details-copy {padding:8px 20px max(28px,env(safe-area-inset-bottom))}
    .game-details-action {padding:18px 20px}
}
.policy-page {max-width:900px;padding-block:36px;overflow-wrap:anywhere;line-height:1.75}
.policy-page h2 {margin-top:28px}
.policy-links,.privacy-actions {display:flex;flex-wrap:wrap;gap:14px;padding-block:20px}
.policy-links a,.policy-page a {text-decoration:underline;text-underline-offset:3px}
.privacy-panel {background:var(--surface);border-block:1px solid var(--line);padding-block:20px}
.privacy-panel[hidden],.privacy-panel [hidden] {display:none!important}
.privacy-panel fieldset {border:1px solid var(--line);margin-block:18px;padding:16px}
.privacy-panel label {display:block;margin-block:14px;max-width:900px}
.privacy-panel input {width:20px;height:20px;vertical-align:middle;accent-color:var(--accent)}
.contact-form {display:grid;gap:18px;max-width:700px}
.contact-form[hidden] {display:none}
.contact-form label {display:grid;gap:7px}
.contact-form input,.contact-form select,.contact-form textarea {width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font:inherit}
.contact-form .contact-trap {position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
:root {
    color-scheme:dark;
    --bg:#101218;
    --surface:#181c25;
    --raised:#202632;
    --line:#2a303d;
    --text:#f2f4f8;
    --muted:#a1a9ba;
    --accent:#c1f66b;
    --purple:#b5a0ff;
    --radius:18px;
    --font:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

.discovery-filters {display:flex;flex-wrap:wrap;gap:16px;align-items:end;margin:24px 0}
.discovery-filters label {display:flex;flex:1 1 180px;flex-direction:column;gap:6px;color:var(--muted);min-width:0}
.discovery-filters input,.discovery-filters select {font:inherit;width:100%;min-height:46px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);padding:10px}
.discovery-filters select:focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.pagination,.related-categories {display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}
.search {position:relative;overflow:visible}
.search-suggestions {position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:30;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #0008}
.search-suggestions a {display:block;padding:12px;overflow-wrap:anywhere}
.search-suggestions a:hover,.search-suggestions a:focus-visible {background:var(--raised);color:var(--accent)}
@media(max-width:480px) {.discovery-filters label {flex-basis:100%}.discovery-filters .button {width:100%}}

* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth;
    scroll-padding-top:24px
}
body {
    margin:0;
    background:var(--bg);
    color:var(--text);
    font:15px/1.6 var(--font)
}
a {
    color:inherit;
    text-decoration:none
}
button,input,summary {
    font:inherit
}
button,a,summary {
    -webkit-tap-highlight-color:transparent
}
button,summary {
    cursor:pointer
}
button {
    color:inherit
}
img {
    display:block;
    max-width:100%
}
svg {
    display:block
}
.icon {
    width:22px;
    height:22px;
    flex-shrink:0
}
h1,h2,h3,p {
    margin:0
}
h1,h2,h3 {
    line-height:1.2;
    letter-spacing:-.035em
}
h2 {
    font-size:clamp(1.3rem,2.3vw,1.65rem)
}
h3 {
    font-size:1rem
}
a,button,input,summary {
    outline-offset:5px
}
:focus-visible {
    outline:2px solid var(--accent)
}
.container {
    width:min(1280px,calc(100% - 40px));
    margin-inline:auto
}
.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
}
.skip-link {
    position:fixed;
    top:-80px;
    left:16px;
    z-index:20;
    padding:12px;
    background:var(--accent);
    color:#101218
}
.skip-link:focus {
    top:12px
}
.site-header {
    border-bottom:1px solid var(--line);
    background:#12151c
}
.header-inner {
    display:flex;
    align-items:center;
    gap:32px;
    flex-wrap:wrap;
    padding-block:20px
}
.brand {
    display:inline-flex;
    align-items:center;
    gap:11px;
    font-weight:850;
    font-size:1.1rem;
    letter-spacing:-.04em;
    white-space:nowrap
}
.brand b {
    color:var(--accent)
}
.brand-mark {
    display:block;
    flex-shrink:0;
    width:40px;
    height:40px;
    object-fit:contain
}
.desktop-nav {
    display:none;
    align-items:center;
    gap:26px;
    font-size:.83rem;
    font-weight:600
}
.desktop-nav a,.footer-inner a {
    transition:color .15s
}
.desktop-nav a:hover,.footer-inner a:hover {
    color:var(--accent)
}
.search {
    display:flex;
    align-items:center;
    order:3;
    flex-basis:100%;
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    min-width:0
}
.search input {
    background:none;
    border:0;
    color:var(--text);
    min-width:0;
    width:100%;
    padding:12px 15px;
    font-size:.85rem
}
.search input::placeholder {
    color:var(--muted)
}
.search button {
    display:grid;
    place-items:center;
    border:0;
    background:none;
    width:46px;
    height:46px;
    flex-shrink:0;
    color:var(--muted)
}
.mobile-menu {
    margin-left:auto
}
.mobile-menu summary {
    display:flex;
    align-items:center;
    gap:6px;
    min-height:44px;
    font-size:.8rem;
    list-style:none
}
.mobile-menu summary::-webkit-details-marker {
    display:none
}
.mobile-menu[open] {
    flex-basis:100%;
    order:2
}
.mobile-menu nav {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-top:10px
}
.mobile-menu nav a {
    padding:12px;
    border-radius:8px;
    background:var(--surface)
}
.category-nav {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    padding-block:22px
}
.category-pill {
    display:flex;
    align-items:center;
    gap:8px;
    min-height:44px;
    padding:8px 16px;
    border:1px solid var(--line);
    border-radius:10px;
    background:var(--surface);
    font-size:.8rem;
    font-weight:600
}
.category-pill:hover {
    border-color:var(--muted)
}
.category-pill.selected {
    background:#c1f66b14;
    color:var(--accent);
    border-color:#c1f66b50
}
.category-pill .icon {
    width:17px;
    height:17px
}
.category-note {
    color:var(--muted);
    font-size:.75rem;
    padding:6px
}
.hero {
    display:grid;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:radial-gradient(ellipse at 90% 20%,#323653 0,transparent 65%),#1a202b;
    border:1px solid #343b4a;
    border-radius:24px;
    margin:0 0 40px
}
.hero-copy {
    padding:32px 24px;
    z-index:1
}
.eyebrow {
    font-size:.65rem;
    font-weight:750;
    letter-spacing:.17em;
    text-transform:uppercase;
    color:var(--accent)
}
.status-dot {
    display:inline-block;
    width:6px;
    height:6px;
    background:var(--accent);
    border-radius:50%;
    margin-right:8px
}
.hero h1 {
    font-size:clamp(2.6rem,5.1vw,4.4rem);
    letter-spacing:-.06em;
    line-height:1.06;
    margin:20px 0
}
.hero h1 span {
    color:var(--accent)
}
.hero-intro {
    max-width:430px;
    color:#b5bdcd;
    font-size:.95rem;
    line-height:1.8
}
.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    background:var(--accent);
    color:#17210c;
    padding:13px 20px;
    min-height:48px;
    border-radius:10px;
    font-weight:750;
    font-size:.85rem;
    margin-top:24px;
    transition:background .15s,transform .15s
}
.button:hover {
    background:#d4ff94;
    transform:translateY(-2px)
}
.hero-note {
    color:var(--muted);
    font-size:.68rem;
    letter-spacing:.05em;
    margin-top:18px
}
.hero-art {
    min-height:250px;
    position:relative;
    display:grid;
    place-items:center;
    background-image:linear-gradient(#a1a9ba08 1px,transparent 1px),linear-gradient(90deg,#a1a9ba08 1px,transparent 1px);
    background-size:40px 40px
}
.play-core {
    display:grid;
    place-items:center;
    width:150px;
    height:150px;
    background:linear-gradient(140deg,#d2ff83,#8fcb45);
    color:#253b17;
    border-radius:35px;
    transform:rotate(-14deg);
    box-shadow:12px 16px 0 #526a3e,24px 30px 70px #02090770,inset 2px 2px 0 #e2ffac
}
.play-core svg {
    width:100px;
    transform:rotate(14deg)
}
.orbit {
    position:absolute;
    width:230px;
    height:230px;
    border:1px solid #c4ceec26;
    border-radius:50%;
    transform:rotate(-30deg) scaleY(.7)
}
.orbit-two {
    width:320px;
    height:320px;
    transform:rotate(45deg) scaleY(.7);
    border-style:dashed
}
.art-cross {
    position:absolute;
    color:var(--purple);
    font-size:35px;
    font-weight:200
}
.cross-one {
    top:12%;
    left:17%
}
.cross-two {
    bottom:14%;
    right:14%;
    color:var(--accent)
}
.art-caption {
    position:absolute;
    bottom:16px;
    left:24px;
    font:9px monospace;
    letter-spacing:.14em;
    color:#a1a9ba
}
.art-coordinate {
    position:absolute;
    top:20px;
    right:22px;
    color:#8e98b1;
    font:11px monospace
}
.game-section {
    margin-bottom:36px;
    scroll-margin-top:24px
}
.section-heading {
    display:flex;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
    margin-bottom:18px
}
.section-title {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0
}
.section-title>.icon {
    color:var(--accent);
    width:20px
}
.section-description {
    font-size:.72rem;
    color:var(--muted);
    margin-bottom:0
}
.badge {
    display:inline-block;
    font-size:.55rem;
    letter-spacing:.07em;
    font-weight:800;
    background:#c1f66b16;
    color:var(--accent);
    padding:4px 7px;
    border-radius:5px
}
.empty-state {
    display:flex;
    align-items:center;
    gap:18px;
    border:1px solid var(--line);
    background:linear-gradient(110deg,#1a1f29,#151922);
    padding:26px;
    border-radius:var(--radius);
    min-height:112px
}
.empty-state>.icon {
    color:#8b96ac;
    width:32px;
    height:32px
}
.empty-state h3 {
    font-size:.95rem;
    font-weight:600;
    letter-spacing:-.015em
}
.empty-state p {
    color:var(--muted);
    font-size:.8rem;
    margin-top:7px;
    max-width:580px
}
.empty-featured {
    min-height:160px;
    background:radial-gradient(ellipse at 95% 0,#32374c 0,transparent 60%),#1a1f29
}
.empty-featured>.icon {
    color:var(--purple);
    width:40px;
    height:40px
}
.empty-featured h3 {
    font-size:1.2rem
}
.game-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px
}
.game-card {
    min-width:0;
    border:1px solid var(--line);
    border-radius:15px;
    background:var(--surface);
    transition:transform .18s,border-color .18s,box-shadow .18s;
    overflow:hidden
}
.game-card:hover,.game-card:focus-within {
    transform:translateY(-4px);
    border-color:#829d61;
    box-shadow:0 12px 30px #0003
}
.game-card-link {
    display:block;
    height:100%
}
.game-card-link:focus-visible { outline-offset:-4px; border-radius:14px }
.game-media {
    position:relative;
    aspect-ratio:8/5;
    overflow:hidden;
    background:#262d3b
}
.game-media .game-poster {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s
}
.game-card:hover .game-poster {
    transform:scale(1.04)
}
.game-card-body {
    padding:14px
}
.game-card h3 {
    font-size:.9rem;
    overflow-wrap:anywhere
}
.game-card p {
    color:var(--muted);
    font-size:.73rem;
    margin-top:7px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    overflow-wrap:anywhere
}
.ad-slot {
    margin:28px auto 38px;
    text-align:center
}
.ad-placeholder {
    min-height:110px;
    border:1px dashed #333a49;
    border-radius:12px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:7px;
    background:#13161d;
    color:#778297;
    font-size:.68rem;
    max-width:970px;
    padding:20px
}
.ad-label {
    display:block;
    text-transform:uppercase;
    font-size:.55rem;
    letter-spacing:.2em;
    color:var(--muted)
}
.about {
    border-top:1px solid var(--line);
    display:grid;
    gap:20px;
    padding-block:36px
}
.about h2 {
    margin-top:12px
}
.about>p {
    color:var(--muted);
    font-size:.85rem;
    max-width:640px
}
.site-footer {
    background:#0d1016;
    border-top:1px solid var(--line);
    padding-block:32px 22px
}
.footer-inner {
    display:flex;
    justify-content:space-between;
    gap:24px;
    flex-wrap:wrap
}
.footer-inner p {
    font-size:.75rem;
    color:var(--muted);
    margin-top:8px
}
.footer-inner nav {
    display:flex;
    flex-wrap:wrap;
    gap:8px 22px;
    align-items:center;
    font-size:.78rem
}
.footer-inner nav a {
    padding-block:12px
}
.footer-bottom {
    display:flex;
    justify-content:space-between;
    gap:15px;
    flex-wrap:wrap;
    border-top:1px solid var(--line);
    margin-top:24px;
    padding-top:20px;
    color:#929bad;
    font-size:.68rem
}
.message-panel {
    padding-block:60px;
    min-height:65vh;
    max-width:900px
}
.message-panel h1 {
    font-size:clamp(2rem,5vw,3.5rem);
    margin:18px 0 24px;
    overflow-wrap:anywhere
}
.message-panel h2 {
    margin:30px 0 14px
}
.message-panel p {
    color:var(--muted);
    margin-block:16px
}
.message-panel .reference {
    font:12px monospace
}
.text-link {
    color:var(--accent);
    font-size:.8rem;
    display:inline-flex;
    align-items:center;
    min-height:44px
}
.detail-image {
    border-radius:18px;
    object-fit:cover;
    width:min(640px,100%);
    height:auto;
    margin-block:28px
}
.notice {
    padding:18px;
    border:1px solid var(--line);
    border-radius:12px;
    color:var(--muted)
}
.prose {
    white-space:pre-line;
    overflow-wrap:anywhere
}
.admin-label {
    color:var(--muted)
}

@media(min-width:640px) {
    .hero {
    grid-template-columns:1.2fr 1fr
}
.hero-copy {
    padding:40px 30px
}
.hero-art {
    min-height:360px
}
.game-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
}
.about {
    grid-template-columns:1fr 1.3fr;
    gap:48px
}
.search {
    flex-basis:auto;
    flex:1;
    order:0;
    max-width:350px;
    margin-left:auto
}
.mobile-menu {
    margin-left:0
}
.featured-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
}

}

@media(min-width:1050px) {
    .container {
    width:min(1280px,calc(100% - 80px))
}
.desktop-nav {
    display:flex
}
.mobile-menu {
    display:none
}
.header-inner {
    flex-wrap:nowrap
}
.hero-copy {
    padding:50px
}
.hero-art {
    min-height:390px
}
.play-core {
    width:190px;
    height:190px;
    border-radius:42px
}
.play-core svg {
    width:120px
}
.orbit-one {
    width:310px;
    height:310px
}
.orbit-two {
    width:400px;
    height:400px
}
.game-grid {
    grid-template-columns:repeat(6,minmax(0,1fr))
}
.featured-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))
}
.featured-grid .game-card h3 {
    font-size:1.1rem
}

}

@media(max-width:380px) {
    .container {
    width:calc(100% - 28px)
}
.header-inner {
    gap:12px
}
.brand {
    font-size:.95rem
}
.brand-mark {
    width:30px;
    height:30px
}
.hero-copy {
    padding:28px 20px
}
.hero h1 {
    font-size:2.45rem
}
.empty-state {
    padding:20px;
    gap:12px
}
.section-title {
    gap:8px
}
.section-title h2 {
    font-size:1.2rem
}
.game-grid {
    gap:10px
}
.game-card-body {
    padding:10px
}
.category-note {
    font-size:.7rem
}
.mobile-menu summary span {
    display:none
}

}

@media(prefers-reduced-motion:reduce) {
    html {
    scroll-behavior:auto
}
*,*::before,*::after {
    transition:none!important;
    animation:none!important
}
.game-card:hover,.button:hover {
    transform:none
}

}


/* Keep user-authored titles and taxonomy names within narrow screens. */
p,.category-pill {
    overflow-wrap:anywhere
}
.category-pill {
    max-width:100%
}
.empty-state>div {
    min-width:0
}

@media(max-width:380px) {
    .mobile-menu summary span {
    display:block;
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0)
}

}



/* Keep the poster underneath until a decoded video is playing; title artwork stays above both. */
.game-preview {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    pointer-events:none;
}
.game-preview.is-playing { opacity:1 }
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    .game-preview { display:none }
}

/* Game pages: controls and reserved ads stay outside the playable surface. */
.game-page { padding-block:24px 48px }
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; color:var(--muted); font-size:.85rem }
.breadcrumbs li { overflow-wrap:anywhere; min-width:0 }
.breadcrumbs li+li::before { content:'/'; margin-right:8px; color:var(--muted) }
.breadcrumbs a:hover { color:var(--accent) }
.game-heading { margin:24px 0 }
.game-heading h1 { margin:0; font-size:clamp(1.8rem,5vw,3.2rem); line-height:1.15; overflow-wrap:anywhere }
.game-heading p { color:var(--muted); max-width:75ch }
.game-player { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:12px; min-width:0 }
.player-stage { position:relative; width:100%; aspect-ratio:16/9; background:#080a0e; overflow:hidden; border-radius:10px }
.player-stage.player-portrait { aspect-ratio:3/4; max-width:540px; margin-inline:auto }
.player-stage iframe { display:block; border:0; width:100%; height:100%; position:absolute; inset:0 }
.player-cover { position:absolute; inset:0 }
.player-cover img { width:100%; height:100%; object-fit:cover; opacity:.3 }
.player-start { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:16px; overflow:auto }
.player-play { font-size:1.4rem; min-width:160px; min-height:64px }
.player-toolbar { display:flex; flex-wrap:wrap; gap:10px; margin-top:14px }
.game-player .button { margin-top:0; border:1px solid transparent }
.game-player .button-secondary { background:var(--raised); color:var(--text); border-color:var(--line) }
.game-player [hidden] { display:none!important }
.player-status { color:var(--muted); margin:12px 0; min-height:1.6em }
.player-help { color:var(--muted); margin-bottom:12px }
.player-help summary { min-height:44px; display:list-item; padding-block:10px }
.player-direct { display:inline-block; padding-block:10px }
.player-provider-note { color:var(--muted); font-size:.8rem; margin-bottom:0 }
.game-player input { display:block; width:100%; padding:12px; background:var(--bg); color:var(--text); border:1px solid var(--line); font:inherit }
.player-stage:fullscreen { width:100vw; height:100vh; max-width:none; aspect-ratio:auto; border-radius:0; background:#000 }
.game-advertisement { margin:28px 0 }
.ad-managed { box-sizing:border-box; border:1px solid var(--line); background:#13161d; padding:16px; max-width:100%; margin:48px auto; overflow:hidden; }
.ad-managed .ad-label { margin-bottom:12px; }
.ad-creative, .adsbygoogle { display:block; width:100%; min-height:100px; }
.ad-creative iframe { display:block; border:0; width:100%; height:250px; }
.ad-creative[data-ad-provider="frame"] { min-height:250px; }
.ad-size-horizontal { min-height:150px; }
.ad-size-rectangle, .ad-size-auto { min-height:300px; }
.ad-size-rectangle .ad-creative, .ad-size-auto .ad-creative { min-height:250px; }
.ad-managed img, .ad-preview img { display:block; width:100%; max-height:250px; object-fit:contain; }
.ad-desktop_sidebar { display:none; }
.ad-below_game, .ad-game_details { margin-block:64px; }
.ad-preview { border:2px dashed var(--line); padding:20px; text-align:center; margin-block:24px; }
@media (min-width:1100px) {
    .public-ad-grid { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:24px; padding-right:24px; }
    .public-ad-grid main { min-width:0; }
    .ad-desktop_sidebar { display:block; width:320px; align-self:start; margin-top:64px; }
    .ad-mobile { display:none; }
}
.game-advertisement .ad-slot { width:100%; min-height:100px; margin:0 }
.game-information { display:grid; gap:24px; margin-top:30px }
.game-prose,.game-facts { min-width:0; overflow-wrap:anywhere }
.game-prose h2,.game-facts h2 { font-size:1.2rem; margin-top:28px }
.game-prose .prose { white-space:pre-line; color:var(--muted) }
.game-facts { padding:0 20px 20px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius) }
.game-category-links { display:flex; flex-wrap:wrap; gap:8px; padding:0; list-style:none }
.game-category-links li { min-width:0; max-width:100% }
.game-related { margin-block:40px }
.hero-featured { width: min(100%, 420px); margin: auto; }
.category-pill img { border-radius: 4px; object-fit: cover; flex-shrink: 0; }
@media(min-width:900px) { .game-information { grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:40px } .game-player { padding:18px } }
/* Visitor engagement controls share the game facts panel on narrow screens. */
.engagement-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
[data-engagement] button[aria-pressed="true"] { outline: 2px solid currentColor; outline-offset: 2px; }
[data-favorites] { overflow-wrap: anywhere; }
/* Intrinsic grid/flex minimums must not let editorial text widen the viewport. */
h1,h2,h3 { overflow-wrap:anywhere }
.hero>*,.section-heading>*,.mobile-menu nav>* { min-width:0 }
.mobile-menu summary { min-width:44px; justify-content:center }
.policy-links a,.seo-tabs a { display:inline-flex; align-items:center; min-height:44px }
.privacy-panel summary { min-height:44px; padding-block:10px; cursor:pointer }
.player-toolbar { min-height:48px }
@media (prefers-reduced-motion:reduce) { .game-card:focus-within,.game-card:hover .game-poster { transform:none } }

/* Public player accounts share the portal palette without third-party embeds. */
.account-page {max-width:1120px;padding-block:28px 56px;overflow-wrap:anywhere}
.account-card {min-width:0;padding:clamp(18px,4vw,28px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);margin-block:18px}
.account-entry {max-width:420px;margin-inline:auto}
.account-form {display:grid;gap:16px}.account-form label {display:grid;gap:8px;font-weight:600}
.account-form input,.account-form textarea,.account-form select {width:100%;min-width:0;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);font:inherit}
.account-form .account-check {display:flex;align-items:center;gap:10px;font-weight:400}.account-check input {width:18px;height:18px;accent-color:var(--accent)}
.account-fields {display:grid;gap:16px;min-width:0;margin:0;padding:0;border:0}
.account-form button {min-height:46px;cursor:pointer}
.account-page button:disabled,.account-page button:disabled:hover {background:#30343b;color:#aeb2ba;border:1px solid #484d56;opacity:1;cursor:not-allowed;transform:none;box-shadow:none}
.account-fields:disabled input,.account-fields:disabled textarea,.account-fields:disabled select {color:#aeb2ba;background:#25282e;cursor:not-allowed}
.account-unavailable {color:#9ca1aa;cursor:not-allowed}
.account-social {margin-block:16px}.account-social-methods {display:grid;gap:12px;margin-bottom:24px}.account-social button,.account-social-methods button {width:100%;white-space:normal}
.account-form .account-provider-apple {display:flex;justify-content:center;align-items:center;min-height:44px;height:44px;padding:0;border:0;background:#fff;color:#000;border-radius:8px}
.account-provider-apple img {display:block;max-width:100%;height:44px;object-fit:contain}
.account-links {display:flex;flex-wrap:wrap;gap:14px;margin-top:24px;font-size:.9rem}.account-page a {color:var(--accent)}
.account-help,.account-card small {color:var(--muted);line-height:1.6}.account-notice {padding:18px;border:1px solid var(--accent);border-radius:12px;line-height:1.6}.account-error {border-color:#ff9292;color:#ffc0c0}
.account-list {list-style:none;padding:0}.account-list li {padding:16px 0;border-bottom:1px solid var(--line)}
.account-list p {margin:8px 0}.account-list .account-form {margin-top:12px}
.account-header-link {max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--accent);font-size:.9rem;font-weight:600;flex-shrink:1}.account-game-link {margin-block:24px}
@media(max-width:640px) {.account-header-link {max-width:95px}.account-page {padding-top:16px}}
.comments-section{margin-block:32px;padding:clamp(16px,3vw,28px);border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow-wrap:anywhere}
.comments-header,.comment-form-footer,.comments-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.comments-header form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.comments-header select{max-width:100%;padding:8px;border-radius:8px}
.comment-form{display:grid;gap:10px;margin-block:18px}.comment-form textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:100px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:inherit;font:inherit}
.comment{display:flex;gap:12px;padding-block:20px;border-top:1px solid var(--line)}.comment-avatar{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--accent);color:#111;font-weight:700}.comment-main{flex:1;min-width:0}.comment header{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}.comment time,.comment small{font-size:.82rem}.comment-text{white-space:pre-wrap;line-height:1.65}.comment-text a{text-decoration:underline}.comment-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px}.comment-actions details{flex:1;min-width:160px}.comment-actions summary{cursor:pointer;padding:10px}.comments-empty{padding-block:24px;line-height:1.7}.comments-pagination{justify-content:center;margin-top:20px}

/* A shared vertical category rail keeps the catalog close on every public page. */
.has-mobile-navigation { --public-gutter:clamp(16px,1.25vw,20px) }
.site-header .header-inner,
.site-footer > .container,
.site-footer.container,
.container.policy-links {
    width:auto;
    margin-inline:var(--public-gutter)
}
.public-shell { padding:20px var(--public-gutter); display:grid; gap:24px; align-items:start }
.public-content,.public-shell main { min-width:0 }
.public-content main>.container,.public-content>.container { width:100% }
.category-sidebar { min-width:0; border:1px solid var(--line); border-radius:16px; background:#141820 }
.category-menu>summary { display:flex; align-items:center; gap:10px; padding:14px; font-size:.78rem; font-weight:750; list-style:none }
.category-menu>summary::-webkit-details-marker { display:none }
.category-menu>summary>.icon { width:19px; height:19px; color:var(--accent) }
.category-toggle { margin-left:auto; font-size:20px; line-height:1; transition:transform .15s }
.category-menu[open] .category-toggle { transform:rotate(180deg) }
.category-nav { flex-direction:column; align-items:stretch; flex-wrap:nowrap; gap:5px; padding:0 8px 10px; max-height:270px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--line) transparent }
.category-nav .category-pill { border-color:transparent; background:transparent; padding:7px 10px; gap:12px; min-height:44px; font-size:.8rem; line-height:1.35 }
.category-nav .category-pill:hover { background:var(--raised); border-color:var(--line) }
.category-nav .category-pill.selected { background:#c1f66b12; border-color:#c1f66b35; color:var(--accent) }
.category-icon { display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; border-radius:8px; background:#ffffff06; color:var(--purple) }
.category-icon .icon { width:20px; height:20px }
.category-pill.selected .category-icon { color:var(--accent) }
.category-icon img { width:24px; height:24px; border-radius:5px; object-fit:cover }

/* The featured showcase uses the same single-row browsing as homepage sections. */
.featured-showcase { margin-bottom:36px }
.game-row { position:relative; min-width:0 }
.game-row-track {
    display:flex;
    flex-wrap:nowrap;
    gap:14px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x proximity;
    scroll-padding-inline:2px;
    scrollbar-width:thin;
    scrollbar-color:var(--line) transparent;
    padding:6px 2px 14px
}
.game-row-track>.game-card {
    flex:0 0 clamp(160px,44vw,220px);
    scroll-snap-align:start
}
.game-row-featured .game-row-track>.game-card { flex-basis:min(82vw,360px) }
.game-row-button {
    --row-button-color:var(--accent);
    position:absolute;
    top:0;
    bottom:8px;
    z-index:4;
    display:flex;
    align-items:center;
    width:clamp(48px,6vw,72px);
    padding:0 10px;
    border:0;
    border-radius:0;
    background:linear-gradient(var(--row-button-direction),transparent 0%,var(--row-button-color) 88%);
    color:#17210c;
    box-shadow:none;
    touch-action:pan-y pinch-zoom
}
.game-row-button[hidden] { display:none }
.game-row-button .icon { width:28px; height:28px; flex:none; pointer-events:none }
.game-row-previous { --row-button-direction:to left; left:0; justify-content:flex-start }
.game-row-previous .icon { transform:rotate(180deg) }
.game-row-next { --row-button-direction:to right; right:0; justify-content:flex-end }
.game-row-button[aria-disabled="true"] { --row-button-color:var(--bg); cursor:default; color:var(--muted) }
.game-row-button[aria-disabled="true"] .icon { opacity:.45 }
.game-row-button:not([aria-disabled="true"]):hover { --row-button-color:#d3ff8d }
.game-row-button:focus-visible { outline-offset:-3px }
/* Phones and touch-first tablets browse rows with native swiping. */
@media(max-width:899px),(hover:none) and (pointer:coarse) {
    .game-row-button { display:none }
}
.spotlight-card { border-radius:18px; border-color:#3b4558; box-shadow:0 8px 30px #0002 }
.spotlight-card .game-media { aspect-ratio:16/9 }
.spotlight-card .game-card-link { position:relative }
.spotlight-card .game-poster { height:100%; object-fit:cover }
.spotlight-title { position:absolute; inset:auto 0 0; z-index:2; padding:28px 16px 14px; font-weight:850; font-size:clamp(.95rem,2.2vw,1.5rem); line-height:1.2; background:linear-gradient(transparent,#071018ef); text-shadow:0 2px 6px #000; overflow-wrap:anywhere }
.spotlight-card:first-child .spotlight-title { font-size:clamp(1.5rem,3vw,2.4rem) }
.game-media { aspect-ratio:16/9 }
.game-title-overlay { position:absolute; inset:auto 0 0; z-index:2; width:100%; height:34%; background:transparent; pointer-events:none }
.game-title-overlay[hidden] { display:none }
.game-media .game-title-image { width:100%; height:100%; object-fit:fill; object-position:center bottom; transform:none; transition:none }
.game-card:hover .game-title-image { transform:none }
.spotlight-card .game-card-body:not(.sr-only) { position:absolute; inset:auto 0 0; background:#101218e8; z-index:2 }
.spotlight-card .game-card-body:not(.sr-only) p,.spotlight-card .game-card-body:not(.sr-only) .badge { display:none }

@media(min-width:900px) {
    .public-shell { grid-template-columns:196px minmax(0,1fr); padding-block:28px; gap:28px }
    .category-sidebar { position:sticky; top:24px }
    .category-menu>summary { padding:18px 14px 14px }
    .category-nav { max-height:calc(100dvh - 118px) }
    .public-shell .game-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
    .public-shell .featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media(min-width:1200px) {
    .game-row-featured .game-row-track>.game-card { flex-basis:max(360px,calc((100% - 28px) / 3)) }
    .public-shell .game-grid { grid-template-columns:repeat(4,minmax(0,1fr)) }
    .public-shell .featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
    .public-content .public-ad-grid { grid-template-columns:minmax(0,1fr) 300px; gap:20px; padding-right:0 }
    .public-ad-grid .game-grid { grid-template-columns:repeat(3,minmax(0,1fr)) }
}
@media(min-width:1500px) {
    .public-shell .game-grid:not(.featured-grid) { grid-template-columns:repeat(auto-fill,minmax(230px,1fr)) }
}
@media(max-width:1199px) { .public-content .public-ad-grid { display:block; padding-right:0 }.public-content .public-ad-grid>.ad-slot { display:none } }
@media(max-width:639px) { .public-shell { padding-block:16px; gap:20px }.spotlight-card { border-radius:12px }.category-nav { max-height:245px } }

/* Game artwork stands alone; descriptions appear above or below the hovered image. */
.image-only-card { position:relative }
.image-only-card:hover,.image-only-card:focus-within { transform:none }
.game-description-panel {
    position:fixed;
    z-index:80;
    width:280px;
    padding:16px 18px;
    border:1px solid #829d61;
    border-radius:12px;
    background:rgba(32,38,50,.2);
    pointer-events:none;
    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
    color:var(--text);
    box-shadow:0 12px 32px #0008;
    font-size:.85rem;
    line-height:1.65;
    overflow:hidden;
    overflow-wrap:anywhere
}
.game-description-panel[hidden] { display:none }


/* Compact shared header. Native details keeps click-to-open search usable without JS. */
.site-header { position:relative; z-index:60 }
.site-header .header-inner { min-height:52px; padding-block:4px; gap:18px; flex-wrap:nowrap }
.site-header .brand { gap:8px; font-size:.95rem }
.site-header .brand-mark { width:36px; height:36px }

.site-header .desktop-nav { gap:20px; font-size:.78rem }
.header-search { position:relative; flex:none; margin-left:auto }
.search-toggle { display:grid; place-items:center; width:40px; height:40px; border:1px solid transparent; border-radius:10px; color:var(--muted); list-style:none }
.search-toggle::-webkit-details-marker { display:none }
.search-toggle:hover,.header-search[open]>.search-toggle { background:var(--raised); border-color:var(--line); color:var(--accent) }
.header-search .search { position:absolute; z-index:65; top:calc(100% + 8px); right:0; width:min(360px,calc(100vw - 32px)); max-width:none; margin:0; order:initial; flex:none; box-shadow:0 12px 32px #0008 }
.header-search .search input { padding:10px 12px }
.header-search .search button { height:44px; width:44px }
.site-header .account-header-link { font-size:.8rem }
.account-photo { display:block; flex:none; width:28px; height:28px; border-radius:50%; object-fit:cover; background:var(--raised) }
.account-header-link:has(.account-photo) { display:flex; align-items:center; gap:8px; max-width:190px }
.account-header-link [data-account-label] { min-width:0; overflow:hidden; text-overflow:ellipsis }
.site-header .mobile-menu { position:relative; margin-left:0 }
.site-header .mobile-menu[open] { flex-basis:auto; order:initial }
.site-header .mobile-menu[open] nav { position:absolute; right:0; top:100%; width:260px; padding:10px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 12px 30px #0008 }
@media(max-width:639px) {
    .site-header .header-inner { gap:8px }
    .site-header .brand { gap:6px; font-size:.8rem }
    .site-header .brand-mark { width:32px; height:32px }
    .header-search { position:static }
    .header-search .search { top:calc(100% + 6px); left:14px; right:14px; width:auto }
    .site-header .mobile-menu summary span { display:none }
    .site-header .account-header-link { max-width:65px; font-size:.75rem }
}

/* Put the playable surface first, with one compact row of controls beneath it. */
.game-page { padding-top:0 }
.game-page .breadcrumbs ol { margin:0 0 8px; font-size:.72rem }
.game-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 20px; margin:0 0 14px }
.game-name-art { display:block; width:min(240px,60vw); height:auto; aspect-ratio:4/1; object-fit:contain }
.game-device-badges { display:flex; align-items:center; flex-wrap:wrap; gap:8px }
.game-device-badges .badge { display:inline-flex; align-items:center; gap:6px; padding:5px 9px; color:var(--muted); background:var(--surface); font-size:.72rem }
.game-device-badges .icon { width:16px; height:16px }
.game-player { padding:0; border:0; border-radius:0; background:transparent }
.player-stage { border:1px solid var(--line); border-radius:14px }
.player-cover img { opacity:.5 }
.player-play { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:56px; min-width:150px; font-size:1.15rem }
.player-desktop-warning,.player-phone-label { display:none }
@media (pointer:coarse) and (max-width:599px),
       (pointer:coarse) and (orientation:landscape) and (max-width:959px) and (max-height:599px) {
    .player-cover--desktop-only > img,
    .game-details-drawer.is-desktop-only .game-details-image { filter:grayscale(1) blur(6px); transform:scale(1.06); opacity:.35 }
    .player-cover--desktop-only .player-start { flex-direction:column; gap:14px; text-align:center }
    :is(.player-cover--desktop-only,.is-desktop-only) .player-desktop-warning { display:flex; align-items:center; justify-content:center; gap:8px; margin:0; color:#fff; font-size:clamp(1rem,3vw,1.25rem); font-weight:700; line-height:1.25 }
    .player-desktop-warning .icon { flex:none; width:24px; height:24px }
    .player-cover--desktop-only .player-play,
    .game-details-drawer.is-desktop-only .game-details-play { min-height:48px; max-width:100%; padding:10px 18px; background:#ff9a42; color:#241305; font-size:1rem; line-height:1.25 }
    .player-cover--desktop-only .player-play:hover,
    .game-details-drawer.is-desktop-only .game-details-play:hover { background:#ffb36b }
    :is(.player-cover--desktop-only,.is-desktop-only) .player-play-label { display:none }
    :is(.player-cover--desktop-only,.is-desktop-only) .player-phone-label { display:inline }
    .is-desktop-only .game-details-preview { display:grid; grid-template-columns:minmax(0,1fr) }
    .is-desktop-only .game-details-media,
    .is-desktop-only .game-details-action { grid-area:1 / 1 }
    .is-desktop-only .game-details-media { overflow:hidden; background:#080a0e; aspect-ratio:16/9; width:100%; min-width:0; min-height:0; align-self:stretch }
    .is-desktop-only .game-details-image { position:absolute; inset:0; height:100% }
    .is-desktop-only .game-details-name-art { inset:12px 64px auto 16px; padding:0 }
    .is-desktop-only .game-details-name-art img { height:32px; object-position:left center }
    .is-desktop-only .game-details-action { z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-width:0; padding:56px 16px 18px; text-align:center }
    .game-details-drawer.is-desktop-only[open] .game-details-play { animation:none; width:auto; margin:0; box-shadow:none; letter-spacing:normal }
}
.game-action-bar,.game-social-actions,.game-engagement,.engagement-actions,.game-action-bar .player-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:6px }
.game-action-bar { justify-content:space-between; gap:8px 12px; padding-block:10px; border-bottom:1px solid var(--line) }
.game-action-bar .player-toolbar { margin:0 0 0 auto; min-height:0 }
.game-engagement { min-width:0; position:relative }
.game-action-bar .game-action { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:8px 10px; min-height:40px; margin:0; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--muted); font-size:.74rem; font-weight:600; line-height:1.3; white-space:nowrap; cursor:pointer; transform:none }
.game-action-bar .game-action:hover { background:var(--raised); color:var(--text) }
.game-action-bar .game-action[aria-pressed="true"] { color:var(--accent); background:#c1f66b12; outline-color:var(--accent) }
.game-action-bar .icon { flex:none; width:18px; height:18px }
.game-action-bar .report-section { margin:0 }
.game-action-bar .report-section summary { list-style:none }
.game-action-bar .report-section summary::-webkit-details-marker { display:none }
.game-action-bar .report-section details[open] { flex-basis:100% }
.engagement-status { position:absolute; z-index:10; top:100%; left:0; width:max-content; max-width:min(360px,80vw); padding:8px 12px; border:1px solid var(--line); border-radius:8px; background:var(--surface); box-shadow:0 6px 20px #0005; font-size:.8rem }
.engagement-status:empty,.player-status:empty { display:none }
.player-status { margin:8px 0 0; min-height:0; font-size:.8rem }
.game-summary { color:var(--muted); margin:12px 0; max-width:90ch; font-size:.9rem; line-height:1.65 }
.game-category-links { gap:7px; margin:0 }
.game-category-links a { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:4px 10px; font-size:.72rem }
.game-category-links .icon { width:15px; height:15px }
.game-information { display:block; margin-top:28px }
.game-prose { display:grid; gap:24px }
.game-controls { display:none }
@media (hover:hover) and (pointer:fine) {
    .game-controls { display:block }
}
.game-prose h2 { display:flex; align-items:center; gap:8px; font-size:1rem; margin:0 0 10px }
.game-prose h2 .icon { width:19px; height:19px; color:var(--purple) }
.game-prose p { margin:0 0 10px; font-size:.88rem }
.game-credits { display:flex; flex-wrap:wrap; gap:24px 48px; border-top:1px solid var(--line); padding-top:20px }
.game-credits>section { min-width:0; flex:1 1 250px }
@media(min-width:900px) {
    .game-prose { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:24px 36px }
    .game-overview { grid-row:span 2 }
    .game-credits,.game-additional { grid-column:1/-1 }
}
@media(max-width:639px) {
    .game-heading { margin-bottom:10px }
    .game-name-art { width:200px; max-width:100% }
    .game-action-bar { gap:4px; padding-block:6px }
    .game-social-actions { width:100%; justify-content:space-between; gap:2px }
    .engagement-actions { gap:2px }
    .game-action-bar .game-action { padding:8px 6px; font-size:.68rem; gap:4px }
    .game-action-bar .icon { width:16px; height:16px }
    .game-action-bar .player-toolbar { gap:2px }
    .player-stage { border-radius:10px }
    .game-summary { font-size:.84rem }
}

.game-name-art[hidden] { display:none }
.game-action-bar .report-section summary.game-action { background:transparent; color:var(--muted); border-color:transparent; font-weight:600 }
.game-action-bar .report-section summary.game-action:hover { background:var(--raised); color:var(--text) }
@media(max-width:639px) {
    .game-social-actions { flex-wrap:nowrap; align-items:start; gap:3px }
    .game-social-actions .game-engagement { flex:1; min-width:0 }
    .game-social-actions .engagement-actions { width:100%; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:3px }
    .game-social-actions>.report-section { flex:0 0 24% }
    .game-social-actions .game-action { flex-direction:column; width:100%; min-height:50px; padding:6px 3px; gap:4px }
}

/* Catalog search retains category/tag/sort fields while staying collapsed until chosen. */
.discovery-search { position:relative; align-self:flex-end; flex:0 0 auto }
.discovery-search>.search-toggle { width:46px; height:46px; border-color:var(--line); background:var(--surface) }
.discovery-search>label { position:absolute; z-index:20; top:calc(100% + 8px); left:0; width:min(280px,calc(100vw - 64px)); padding:12px; border:1px solid var(--line); border-radius:12px; background:var(--surface); box-shadow:0 12px 30px #0008 }

/* Languages stay visible in the header on both desktop and small screens. */
.language-switcher { display:flex; flex-wrap:wrap; gap:.35rem; align-items:center; }
.language-switcher a { display:inline-flex; align-items:center; gap:.4rem; color:var(--muted, #b7c1d2); border:1px solid transparent; border-radius:999px; padding:.3rem .65rem; font-size:.8rem; line-height:1.25; text-decoration:none; white-space:nowrap; }
.language-flag { display:inline-flex; width:1.5rem; height:1rem; flex-shrink:0; vertical-align:middle; overflow:hidden; border-radius:2px; box-shadow:0 0 0 1px rgba(255,255,255,.15); }
.language-flag svg { display:block; width:100%; height:100%; }
.language-progress-table { min-width:62rem; }
.language-progress-table .admin-form { min-width:11rem; }
.language-switcher a:hover, .language-switcher a:focus-visible { color:var(--text, #fff); border-color:currentColor; }
.language-switcher a[aria-current] { color:var(--accent, #b6e35f); background:rgba(182,227,95,.08); border-color:currentColor; }
.header-inner > .language-switcher { order:10; }
@media (max-width: 900px) { .site-header .header-inner { flex-wrap:wrap; } .header-inner > .language-switcher { flex-basis:100%; justify-content:flex-end; padding-bottom:.35rem; } }

/* Collection headings: source-based colors and artwork survive translated or custom titles. */
.collection-title {
    --collection-rgb:112,229,207;
    --collection-end:27,65,69;
    position:relative;
    isolation:isolate;
    display:inline-flex;
    align-items:center;
    gap:12px;
    min-width:0;
    max-width:100%;
    min-height:60px;
    padding:7px 66px 7px 8px;
    margin:0;
    overflow:hidden;
    border:1px solid rgba(var(--collection-rgb),.28);
    border-radius:16px 24px 24px 16px;
    background:radial-gradient(ellipse at 0 0,rgba(var(--collection-rgb),.18),transparent 70%),linear-gradient(110deg,rgba(var(--collection-end),.9),rgba(var(--collection-end),.38));
    box-shadow:inset 0 1px 0 #ffffff08,0 5px 18px #00000014;
    color:#f8f9ff;
    font-size:clamp(1rem,.9rem + .35vw,1.25rem);
    line-height:1.3;
    font-weight:800;
    letter-spacing:-.02em;
}
.collection-title--popular,.game-section:has(> .section-heading > .collection-title--popular) { --collection-rgb:255,151,81; --collection-end:89,42,29 }
.collection-title--newest,.game-section:has(> .section-heading > .collection-title--newest) { --collection-rgb:112,239,190; --collection-end:22,69,62 }
.collection-title--trending,.game-section:has(> .section-heading > .collection-title--trending) { --collection-rgb:255,120,172; --collection-end:80,32,67 }
.collection-title--rated,.game-section:has(> .section-heading > .collection-title--rated) { --collection-rgb:255,209,102; --collection-end:77,59,24 }
.collection-title--multiplayer,.game-section:has(> .section-heading > .collection-title--multiplayer) { --collection-rgb:108,211,255; --collection-end:25,55,88 }
.collection-title--editors,.game-section:has(> .section-heading > .collection-title--editors) { --collection-rgb:188,140,255; --collection-end:58,36,87 }
.collection-title-icon {
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    border:1px solid rgba(var(--collection-rgb),.2);
    border-radius:12px;
    background:linear-gradient(145deg,rgba(var(--collection-rgb),.12),#10121866);
    box-shadow:0 2px 8px #0002;
}
.collection-title-icon svg { display:block; width:34px; height:34px; filter:drop-shadow(0 2px 3px #0003) }
.collection-title-text { position:relative; min-width:0; overflow-wrap:anywhere; text-shadow:0 1px 3px #0003 }
.collection-title-motif { position:absolute; z-index:-1; width:70px; height:70px; right:-8px; bottom:-14px; opacity:.14; transform:rotate(-14deg); pointer-events:none }
@media(max-width:480px) {
    .collection-title { min-height:54px; gap:10px; padding:6px 46px 6px 6px; border-radius:14px 20px 20px 14px; font-size:1rem }
    .collection-title-icon { flex-basis:40px; width:40px; height:40px; border-radius:10px }
    .collection-title-icon svg { width:32px; height:32px }
    .collection-title-motif { width:58px; height:58px }
}
@media(forced-colors:active) {
    .collection-title,.collection-title-icon { border-color:CanvasText }
    .collection-title-motif { display:none }
}

/* A softer version of the heading color groups its title and game row together. */
.game-section:has(> .section-heading > .collection-title) {
    --collection-surface:color-mix(in srgb,rgb(var(--collection-rgb,112,229,207)) 6%,var(--bg));
    padding:16px;
    border:1px solid rgba(var(--collection-rgb,112,229,207),.16);
    border-radius:22px;
    background:linear-gradient(115deg,rgba(var(--collection-rgb,112,229,207),.035),transparent 65%),var(--collection-surface);
    box-shadow:inset 0 1px 0 rgba(var(--collection-rgb,112,229,207),.04);
}
.game-section:has(> .section-heading > .collection-title) .game-row-button[aria-disabled="true"] {
    --row-button-color:var(--collection-surface);
}
@media(max-width:480px) {
    .game-section:has(> .section-heading > .collection-title) { padding:10px; border-radius:18px }
}
@media(forced-colors:active) {
    .game-section:has(> .section-heading > .collection-title) { border-color:CanvasText }
}


/* Phone navigation and homepage mosaic. The desktop layout remains above. */
.mobile-bottom-nav { display:none }
@media(max-width:639px) {
    .has-mobile-navigation { padding-bottom:calc(72px + env(safe-area-max-inset-bottom,36px)) }
    .has-mobile-navigation .account-header-link { display:none }
    .mobile-bottom-nav {
        position:fixed;
        inset:auto 0 0;
        z-index:70;
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:4px;
        padding:7px max(8px,env(safe-area-inset-right,0px)) calc(7px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));
        border-top:1px solid #ffffff12;
        background:#181c25f5;
        box-shadow:0 -8px 28px #0003;
        -webkit-backdrop-filter:blur(16px);
        backdrop-filter:blur(16px)
    }
    .mobile-nav-link {
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
        min-width:0;
        min-height:52px;
        padding:5px 3px;
        border-radius:12px;
        color:var(--muted);
        font-size:.68rem;
        font-weight:650;
        line-height:1.2;
        text-decoration:none;
        -webkit-tap-highlight-color:transparent;
        touch-action:manipulation
    }
    .mobile-nav-link .icon,.mobile-nav-link .account-photo { width:23px; height:23px; flex:none }
    .mobile-nav-label { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
    .mobile-nav-link[aria-current="page"],.mobile-nav-link[aria-expanded="true"] {
        color:var(--accent);
        background:#c1f66b0d
    }
    .mobile-nav-link[aria-current="page"]::before,.mobile-nav-link[aria-expanded="true"]::before {
        content:"";
        position:absolute;
        top:-7px;
        width:28px;
        height:3px;
        border-radius:0 0 3px 3px;
        background:var(--accent)
    }
    .mobile-nav-link:active { background:var(--raised) }
    .mobile-search-open .header-search .search {
        position:fixed;
        top:max(12px,env(safe-area-inset-top,0px));
        left:12px;
        right:12px;
        width:auto;
        border-color:var(--accent);
        box-shadow:0 0 0 8px var(--surface),0 12px 40px #000a
    }
    .mobile-search-open .search-suggestions { max-height:50dvh; overflow-y:auto }
    .home-page .featured-showcase { margin-bottom:24px }
    .home-page .game-section { margin-bottom:24px }
    .home-page .section-heading { margin-bottom:12px; gap:8px }
    .home-page .game-row { container-type:inline-size }
    .home-page .game-row-track {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        grid-auto-flow:row;
        grid-auto-rows:calc((100vw - 64px) * .28125);
        gap:8px;
        padding:0;
        overflow:visible;
        scroll-snap-type:none
    }
    @supports (width:1cqw) {
        .home-page .game-row-track { grid-auto-rows:calc((100cqw - 8px) * .28125) }
    }
    .home-page .game-row-track>.game-card { min-height:0; border-radius:12px; scroll-snap-align:none }
    .home-page .game-row-track>.game-card:nth-child(6n + 1),
    .home-page .game-row-track>.game-card:nth-child(6n + 2):last-child,
    .home-page .game-row-track>.game-card:nth-child(6n + 4):last-child {
        grid-column:span 2;
        grid-row:span 2
    }
    /* Only make a portrait tile when two following cards can fill its side. */
    .home-page .game-row-track>.game-card:nth-child(6n + 4):has(+ .game-card + .game-card) { grid-row:span 2 }
    .home-page .game-row-track .game-media { height:100%; aspect-ratio:auto }
    .home-page .game-title-overlay { height:auto; aspect-ratio:4/1; max-height:34% }
    .home-page .game-media .game-title-image { object-fit:contain }
    .home-page .game-row-button { display:none }
}

/* Keep phone controls stable while browser chrome expands and collapses. */
.language-picker-control { display:none }
.language-picker:not([open]) { display:none }
.language-picker-open { overflow:hidden }
.language-picker {
    margin:auto; padding:20px; width:min(360px,calc(100% - 32px));
    max-height:70vh; max-height:70svh; overflow-y:auto; overscroll-behavior:contain;
    border:1px solid var(--line); border-radius:20px; background:var(--surface); color:var(--text);
    box-shadow:0 24px 80px #0009
}
.language-picker::backdrop { background:#060911b3 }
.language-picker-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px }
.language-picker-heading h2 { margin:0; font-size:1.15rem }
.language-picker-heading button { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:12px; background:var(--raised); color:var(--text); font-size:26px }
.language-picker-list { display:grid; gap:8px }
.language-picker-list a { display:flex; align-items:center; gap:12px; min-height:52px; padding:12px; border:1px solid var(--line); border-radius:12px; color:var(--text); text-decoration:none; overflow-wrap:anywhere }
.language-picker-list a[aria-current] { border-color:var(--accent); background:#c1f66b0d; color:var(--accent) }
.language-picker-check { margin-left:auto }
@media(max-width:639px) {
    .mobile-bottom-nav {
        height:67px; min-height:67px; max-height:67px;
        grid-template-rows:52px; align-content:start; box-sizing:border-box;
        bottom:env(safe-area-inset-bottom,0px);
        padding-block:7px;
        background:var(--surface);
        -webkit-backdrop-filter:none; backdrop-filter:none;
        transform:none;
        contain:layout paint;
        overflow:clip;
        transition:none
    }
    .mobile-bottom-nav::after { content:none; display:none }
    .mobile-nav-link { height:52px; min-height:52px; max-height:52px; flex-shrink:0 }
    .site-header .header-inner { flex-wrap:nowrap; gap:8px }
    .header-inner>.language-switcher { display:none }
    .language-picker-control { display:block; position:relative; order:3; margin-left:auto; min-width:0; max-width:46% }
    .language-picker-trigger { display:flex; align-items:center; gap:6px; height:40px; padding:6px 9px; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--text); font-size:.75rem; list-style:none }
    .language-picker-trigger::-webkit-details-marker { display:none }
    .language-picker-fallback { position:absolute; z-index:65; top:calc(100% + 8px); right:0; width:min(360px,calc(100vw - 32px)); max-height:70vh; max-height:70svh; overflow-y:auto; padding:12px; border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:0 12px 32px #0008 }
    .language-picker-trigger>span[lang] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
    .language-picker-trigger .language-flag { width:20px; height:14px }
    .site-header .mobile-menu { order:4; flex:none }
    .has-mobile-navigation .header-search { margin:0; width:0; flex:0 0 0 }
    .has-mobile-navigation .header-search>.search-toggle { display:none }
}


/* Phone page scrolls independently; navigation is a stationary layout row. */
.mobile-page-scroll { display:contents }
@supports (height:100svh) {
    @media(max-width:639px) {
        html:has(> body.has-mobile-navigation > .mobile-page-scroll) { height:100%; overflow:hidden }
        body.has-mobile-navigation:has(> .mobile-page-scroll) {
            display:grid;
            grid-template-rows:minmax(0,1fr) 67px;
            height:100svh;
            min-height:0;
            margin:0;
            padding:0 0 env(safe-area-max-inset-bottom,0px);
            overflow:hidden
        }
        .has-mobile-navigation>.mobile-page-scroll {
            display:block;
            min-width:0;
            min-height:0;
            overflow-x:hidden;
            overflow-y:auto;
            overscroll-behavior-y:contain;
            -webkit-overflow-scrolling:touch
        }
        .has-mobile-navigation>.mobile-bottom-nav {
            position:relative;
            inset:auto;
            grid-row:2;
            width:100%;
            margin:0;
            align-self:start
        }
        .language-picker-open .mobile-page-scroll,
        .game-details-open .mobile-page-scroll,
        .player-dialog-open .mobile-page-scroll { overflow:hidden }
    }
}


/* Pull-to-refresh feedback overlays the page without moving either layout row. */
.mobile-refresh { display: none; }
@media (max-width: 639px) {
    .mobile-refresh:not([hidden]) {
        position: fixed;
        z-index: 1200;
        inset: 12px 12px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: max-content;
        max-width: calc(100% - 24px);
        margin-inline: auto;
        padding: 10px 16px;
        border: 1px solid #536393;
        border-radius: 24px;
        background: #18223b;
        color: #fff;
        box-shadow: 0 4px 20px #0005;
        font-size: 13px;
        pointer-events: none;
    }
    .mobile-refresh .icon { width: 20px; height: 20px; transform: rotate(calc(var(--pull-progress, 0) * 180deg)); }
    .mobile-refresh[data-ready="true"] { border-color: #9dafff; }
}

/* Game page: the window and its controls fit in one screen; related games sit beside them. */
.game-page { --player-fit:max(560px,calc((100vh - 206px) * 16 / 9)); padding-bottom:24px }
@supports (height:100svh) { .game-page { --player-fit:max(560px,calc((100svh - 206px) * 16 / 9)) } }
.game-main { width:100%; min-width:0; max-width:min(1200px,var(--player-fit)); margin-inline:auto }
.game-heading { flex-wrap:nowrap; min-height:40px; margin-bottom:10px }
.game-heading .game-name-art { width:min(160px,45vw); flex:none }
.game-heading .game-device-badges { margin-left:auto; justify-content:flex-end }
.player-portrait:not(:fullscreen) { max-width:min(540px,max(320px,calc((100vh - 206px) * .75))) }
.game-action-bar .player-toolbar [data-fullscreen] { color:var(--accent) }
.game-page .game-summary { margin-block:14px 10px }
.game-page .game-information { margin-top:22px }
.game-page .account-game-link { margin:20px 0 0; font-size:.85rem }
.game-page .comments-section { margin-block:24px; padding:clamp(14px,2vw,20px); border-radius:14px }
.game-page .game-related { margin-block:0 }
.game-related h2 { margin:0 0 12px; font-size:1.05rem }
@media(max-width:1279px) { .game-page .game-related { margin-top:28px } }
@media(min-width:1280px) {
    .game-layout { display:grid; grid-template-columns:minmax(0,min(1200px,62vw,var(--player-fit))) minmax(220px,1fr); gap:24px; align-items:start }
    .game-main { max-width:none }
    .public-shell .game-related .game-grid { grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px }
}

/* The privacy choice is a compact bar that never pushes the page or the game window down. */
.privacy-panel { position:fixed; z-index:75; inset:auto 12px 12px; max-width:960px; max-height:calc(100vh - 24px); margin-inline:auto; padding:14px 0; overflow-y:auto; border:1px solid var(--line); border-radius:14px; box-shadow:0 16px 48px #000a; font-size:.85rem; line-height:1.5 }
.privacy-panel>.container { display:grid; gap:10px; width:100%; padding-inline:18px }
.privacy-panel h2 { margin:0 0 2px; font-size:.95rem }
.privacy-panel h2:focus { outline:none }
.privacy-panel p { margin:0; color:var(--muted) }
.privacy-panel a { color:var(--text); text-decoration:underline; text-underline-offset:3px }
.privacy-panel .button { min-height:40px; margin:0; border:1px solid transparent; padding:8px 16px; font-size:.8rem }
.privacy-panel .privacy-actions { gap:8px; padding:0 }
.privacy-panel [data-privacy-form] { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px }
.privacy-panel details[open] { flex-basis:100% }
.privacy-panel summary { display:inline-flex; align-items:center; min-height:40px; padding:0; color:var(--muted); text-decoration:underline; text-underline-offset:3px; list-style:none }
.privacy-panel summary::-webkit-details-marker { display:none }
.privacy-panel fieldset { display:grid; gap:10px; margin:6px 0 0; padding:12px 0 0; border:0; border-top:1px solid var(--line) }
.privacy-panel label { display:flex; align-items:flex-start; gap:10px; margin:0 }
.privacy-panel input { flex:none; width:18px; height:18px; margin:2px 0 0 }
.privacy-panel [data-privacy-status]:empty { display:none }
.privacy-panel-page { position:static; max-width:none; max-height:none; padding-block:20px; border-width:1px 0; border-radius:0; box-shadow:none }
@media(min-width:800px) {
    .privacy-panel:not(.privacy-panel-page)>.container { grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:8px 24px }
    .privacy-panel:not(.privacy-panel-page):has(details[open])>.container { grid-template-columns:minmax(0,1fr) }
}
@media(max-width:639px) {
    .privacy-panel:not(.privacy-panel-page) { inset:auto 8px calc(75px + env(safe-area-inset-bottom,0px)); max-height:calc(100vh - 150px); padding-block:12px }
    .privacy-panel>.container { padding-inline:14px }
    .privacy-panel .privacy-actions { flex:1 1 100% }
    .privacy-panel .privacy-actions .button { flex:1 1 0 }
}

/* Compact comments: one box, quiet secondary actions. */
.comments-header h2 { display:flex; align-items:center; gap:8px; margin:0; font-size:1.05rem }
.comments-header select { border:1px solid var(--line); background:var(--bg); color:var(--text); font:inherit; font-size:.8rem }
.comments-section .button { min-height:40px; margin:0; padding:8px 16px; border:1px solid transparent; font-size:.8rem }
.comments-section .button-secondary { background:var(--raised); color:var(--text) }
.comments-section [hidden] { display:none }
.comments-section>p { margin:10px 0 0; font-size:.88rem }
.comments-section .notice { padding:10px 12px }
.comment-form { margin-block:14px }
.comment-form textarea { min-height:76px; background:var(--bg); font-size:.9rem }
.comment-form textarea:focus-visible { outline:2px solid var(--accent); outline-offset:1px }
.comment-form-footer small { flex:1; min-width:180px; color:var(--muted); font-size:.78rem }
.comment-form-footer small a { text-decoration:underline; text-underline-offset:3px }
.comments-section .comments-empty { padding-block:8px 0; color:var(--muted) }
.comment { padding-block:14px }
.comment-avatar { width:32px; height:32px; font-size:.85rem }
img.comment-avatar { display:block; object-fit:cover; background:var(--raised) }
.comment-main header { font-size:.88rem }
.comment time { color:var(--muted); font-size:.78rem }
.comment .badge { font-size:.68rem; letter-spacing:0; font-weight:600 }
.comment-text { margin:4px 0 0; font-size:.9rem; line-height:1.55 }
.comment-actions { gap:4px 14px; margin-top:4px }
.comment-actions details { flex:none; min-width:0 }
.comment-actions details[open] { flex:1 1 100% }
.comment-actions summary { padding:0; list-style:none }
.comment-actions summary::-webkit-details-marker { display:none }
.comment-actions summary,.comment-action { display:inline-flex; align-items:center; min-height:32px; padding:0; border:0; background:none; color:var(--muted); font:inherit; font-size:.78rem; cursor:pointer }
.comment-actions summary:hover,.comment-action:hover { color:var(--text); text-decoration:underline; text-underline-offset:3px }
.game-page form.account-game-link { margin:14px 0 0 }
.privacy-panel .button-secondary { border-color:var(--line); background:var(--raised); color:var(--text) }
/* Category banner: picture anchored left, fading to transparent toward the right. */
.category-banner { position:relative; display:flex; align-items:center; height:clamp(64px,6vw,96px); margin:0 0 8px; border-radius:14px; overflow:hidden; isolation:isolate; background:linear-gradient(90deg,#1d2433 0,#151a24 45%,transparent 90%) }
.category-banner-art { position:absolute; top:0; left:0; z-index:-1; height:100%; width:auto; max-width:none; -webkit-mask-image:linear-gradient(90deg,#000 0,#000 55%,transparent 100%); mask-image:linear-gradient(90deg,#000 0,#000 55%,transparent 100%) }
.category-banner:has(.category-banner-art) { background:none }
.category-banner::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#0b0e14b3 0,#0b0e1440 18%,transparent 34%) }
.category-banner-copy { padding:0 20px; min-width:0 }
.category-banner h1 { margin:0; font-size:clamp(1.3rem,2.3vw,1.9rem); line-height:1.1; letter-spacing:-.02em; color:#fff; white-space:nowrap; text-shadow:0 2px 3px #000c,0 0 16px #000 }
.category-intro { margin:0 0 8px; color:var(--muted) }

/* Public player profiles */
.player-page {padding-top:28px;padding-bottom:56px}
.player-card {display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px;padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(135deg,var(--surface),var(--raised))}
.player-avatar {position:relative;width:112px;height:112px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#26303f;color:#dbe3ef;font-size:2.6rem;font-weight:800;text-transform:uppercase}
.player-avatar img {width:100%;height:100%;border-radius:50%;object-fit:cover}
.player-avatar--online::after {content:"";position:absolute;right:6px;bottom:6px;width:22px;height:22px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px var(--surface)}
.player-identity {flex:1 1 260px;min-width:0}
.player-kicker {margin:0;color:var(--muted);font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.player-identity h1 {margin:4px 0 10px;font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.1;overflow-wrap:anywhere}
.player-presence {display:inline-flex;align-items:center;gap:8px;margin:0;padding:5px 12px;border-radius:999px;background:rgba(148,163,184,.12);color:var(--muted);font-size:.88rem;font-weight:600}
.player-presence-dot {width:9px;height:9px;border-radius:50%;background:#64748b;flex:none}
.player-presence--online {background:rgba(34,197,94,.14);color:#86efac}
.player-presence--online .player-presence-dot {background:#22c55e}
@keyframes player-online {0% {box-shadow:0 0 0 0 rgba(34,197,94,.6)} 80%,100% {box-shadow:0 0 0 8px rgba(34,197,94,0)}}
@media (prefers-reduced-motion:no-preference) {.player-presence--online .player-presence-dot {animation:player-online 2s ease-out infinite}}
.player-facts {display:flex;flex-wrap:wrap;gap:6px 18px;margin:14px 0 0;padding:0;list-style:none;color:var(--muted);font-size:.9rem}
.player-edit {align-self:flex-start}
.player-games {margin-top:34px}
.player-games-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.player-games h2 {margin:0;font-size:1.3rem;line-height:1.3;overflow-wrap:anywhere}
.player-games-controls {display:flex;align-items:center;gap:6px;flex:none}
.player-games-controls button {width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--raised);color:var(--text)}
.player-games-controls button[hidden] {display:none}
.player-games-controls button:disabled {opacity:.45}
.player-games-controls .icon {width:18px;height:18px}
.player-games-controls [data-player-step="-1"] .icon {transform:rotate(180deg)}
.player-games-track {min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:var(--muted) var(--surface)}
.player-game-list {display:flex;align-items:stretch;gap:12px;margin:0;padding:3px 2px 12px;list-style:none}
.player-game {flex:0 0 clamp(152px,47vw,220px);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--raised)}
.player-game:focus-within {border-color:var(--accent)}
.player-game .game-card {flex:1;border:0;border-radius:0;background:transparent;box-shadow:none;transform:none}
.player-game .game-card-body {padding:9px 12px}
.player-game .game-card h3 {margin:0;font-size:.95rem;line-height:1.35}
.player-game .game-card-body p,.player-game .game-card-body .badge {display:none}
.player-game-stats {display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;padding:8px 12px;border-top:1px solid var(--line);color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}
.player-game-stats > span {display:inline-flex;align-items:center;gap:5px}
.player-game-stats .icon {width:15px;height:15px;flex:none;color:var(--accent)}
.player-games-pages {display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin-top:12px;color:var(--muted);font-size:.9rem}
.player-games-pages a {display:inline-flex;align-items:center;min-height:44px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.player-empty,.player-more {color:var(--muted)}
.player-note {margin:0 0 16px;padding:10px 14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.9rem}
.player-note a {color:var(--accent)}
.comment-main header .comment-author {color:inherit;font-weight:700;text-decoration:none}
.comment-online-dot {display:inline-block;width:8px;height:8px;margin-inline-start:5px;border-radius:50%;background:#22c55e;vertical-align:.08em}
.comment-main header .comment-author:hover,.comment-main header .comment-author:focus-visible {color:var(--accent);text-decoration:underline}
@media (max-width:560px) {.player-card {padding:20px}.player-avatar {width:88px;height:88px;font-size:2rem}.player-edit {width:100%}}

/* Game collection button: a stack with a plus to add, a stack with a check once added. */
.collection-action .collection-icon {display:inline-flex;align-items:center}
.collection-action .collection-icon--added {display:none}
.collection-action[aria-pressed="true"] .collection-icon--add {display:none}
.collection-action[aria-pressed="true"] .collection-icon--added {display:inline-flex}
.collection-action[aria-pressed="true"] {color:var(--accent);border-color:var(--accent);background:rgba(193,246,107,.1)}
a.collection-action {text-decoration:none}

.collection-dialog {
    width:min(26rem,calc(100% - 32px)); max-height:calc(100% - 32px); margin:auto; padding:0;
    border:1px solid var(--line); border-radius:var(--radius); background:var(--surface);
    color:var(--text); box-shadow:0 24px 80px #0008;
}
.collection-dialog::backdrop {background:#080b1299;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}
.collection-dialog form {display:grid;gap:18px;padding:clamp(20px,5vw,28px)}
.collection-dialog h2 {margin:0;font-size:1.2rem;line-height:1.45;overflow-wrap:anywhere;text-align:start}
.collection-dialog-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.collection-dialog .button {min-height:44px;margin:0;padding:10px 20px;border:1px solid transparent}
.collection-dialog .button-secondary {color:var(--text);background:var(--raised);border-color:var(--line)}
.collection-dialog .button-secondary:hover {background:#2b3342}
