@charset "UTF-8";

:root {
    color-scheme: dark;
    --bg: #101217;
    --panel: #191c23;
    --line: #282c35;
    --muted: #9ba1ae;
    --text: #f3f4f6;
    --coral: #ff7869;
    --lime: #c0f477;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter,"Segoe UI",Arial,sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

button,input {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

button,a,input,summary {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 5px;
}

button {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

h1,h2,h3,p {
    margin: 0;
}

.icon-library {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 50;
    padding: 15px;
    background: var(--coral);
    color: #141414;
}

.skip-link:focus {
    top: 10px;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 222px;
    padding: 30px 20px;
    background: #14161c;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    white-space: nowrap;
}

.brand img {
    flex-shrink: 0;
}

.brand-light {
    font-weight: 500;
}

.brand small {
    font-size: 12px;
    color: var(--coral);
    letter-spacing: -.3px;
    margin-left: 2px;
}

.sidebar>.brand {
    margin: 0 0 53px -3px;
    font-size: 21px;
    gap: 6px;
}

.nav-caption {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #818895;
    margin: 0 12px 16px;
}

.main-nav {
    display: grid;
    gap: 7px;
}

.nav-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 13px 12px;
    border-radius: 9px;
    color: #a6abb6;
    font-size: 13px;
    font-weight: 600;
    min-height: 46px;
    transition: background .18s,color .18s;
}

.nav-item:hover {
    color: white;
    background: #21242d;
}

.nav-item.is-active {
    background: #352425;
    color: #ff9589;
}

.nav-item .icon {
    width: 18px;
    height: 18px;
}

.nav-count {
    font-size: 10px;
    margin-left: auto;
    background: #272a34;
    border-radius: 5px;
    padding: 2px 6px;
}

.sidebar-divider {
    height: 1px;
    background: var(--line);
    margin: 28px 12px;
}

.sidebar-bottom {
    margin-top: auto;
    padding: 28px 13px 4px;
    color: #9ca3b0;
}

.sidebar-bottom img {
    margin-bottom: 16px;
    opacity: .65;
}

.sidebar-bottom strong {
    display: block;
    color: #dedfe5;
    font-size: 15px;
    margin-bottom: 9px;
}

.sidebar-bottom p {
    font-size: 12px;
    line-height: 1.7;
}

.sidebar-bottom>span {
    display: block;
    font-size: 8px;
    letter-spacing: 2px;
    margin-top: 24px;
    color: #7e8591;
}

.page {
    margin-left: 222px;
}

.topbar {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    padding: 0 42px;
}

.topbar-label {
    font-size: 12px;
    color: #afb3bd;
    white-space: nowrap;
}

.search {
    height: 42px;
    max-width: 430px;
    flex: 1;
    display: flex;
    gap: 11px;
    align-items: center;
    border: 1px solid #30333d;
    border-radius: 9px;
    padding: 0 13px;
    background: #1a1d24;
    margin-left: auto;
}

.search .icon {
    color: #8e95a3;
    width: 17px;
}

.search input {
    background: transparent;
    border: 0;
    outline: 0;
    color: white;
    width: 100%;
    min-width: 0;
    font-size: 12px;
}

.search:focus-within {
    border-color: var(--coral);
}

.search input:focus-visible {
    outline: none;
}

.search input::placeholder {
    color: #969ca9;
}

.search kbd {
    border: 1px solid #3b404d;
    border-radius: 4px;
    font-size: 11px;
    padding: 1px 6px;
    color: #858e9c;
}

.free-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #b1b6c0;
    white-space: nowrap;
}

.free-label>span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--lime);
}

main {
    max-width: 1550px;
    margin: 0 auto;
    padding: 35px 42px 0;
}

.welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 20px;
}

.eyebrow {
    font-size: 9px;
    letter-spacing: 1.8px;
    font-weight: 700;
    color: #949ba8;
    margin-bottom: 10px;
}

h1 {
    font-size: clamp(25px,2.25vw,37px);
    letter-spacing: -1.3px;
    line-height: 1.15;
    font-weight: 760;
}

h1 span {
    color: #8b929f;
}

.welcome-note {
    font-size: 11px;
    color: #8c94a3;
    padding-bottom: 4px;
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 368px;
    border-radius: 18px;
    overflow: hidden;
    background: #172520;
    border: 1px solid #344039;
}

.hero-art {
    position: absolute;
    right: 0;
    top: 0;
    width: 76%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 45%;
    z-index: -3;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,#17241f 2%,#17241ff5 24%,#17241fbb 43%,#17241f00 65%),linear-gradient(0deg,#10211988,transparent 40%);
}

.hero-content {
    padding: 35px 36px;
    position: relative;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d4efa9;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.7px;
    padding: 6px 10px;
    background: #c0f47712;
    border: 1px solid #c0f47730;
    border-radius: 5px;
    margin-bottom: 23px;
}

.hero-tag .icon {
    height: 12px;
    width: 12px;
}

.hero h2 {
    font-size: clamp(31px,3.1vw,49px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    font-weight: 800;
}

.hero h2 em {
    font-style: normal;
    color: var(--lime);
}

.hero p {
    font-size: 12px;
    color: #b4c4ba;
    line-height: 1.8;
    margin: 16px 0 23px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 43px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 750;
    padding: 0 18px;
    border: 0;
    transition: transform .18s,background .18s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-coral {
    background: var(--coral);
    color: #251515;
    box-shadow: 0 5px 22px #ff786914;
}

.button-coral:hover {
    background: #ff9183;
}

.button .icon {
    width: 17px;
}

.hero-footnote {
    display: block;
    font-size: 7px;
    letter-spacing: 1.4px;
    color: #a3b9aa;
    margin-top: 18px;
}

.hero-footnote span {
    padding: 0 6px;
    color: #6c8b78;
}

.hero-game-label {
    position: absolute;
    right: 29px;
    bottom: 23px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    font-style: italic;
    text-shadow: 0 2px 8px #07140b;
}

.hero-game-label>span {
    color: var(--lime);
}

.hero-game-label small {
    font-size: 7px;
    letter-spacing: 2px;
    display: block;
    text-align: right;
    margin-top: 4px;
    font-style: normal;
    color: #d0e4d0;
}

.benefits {
    display: flex;
    justify-content: space-around;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 23px 0;
    margin-bottom: 37px;
    color: #a3aab7;
    font-size: 11px;
}

.benefits>span {
    display: flex;
    align-items: center;
    gap: 9px;
}

.benefits .icon {
    width: 15px;
    height: 15px;
    color: #aab5a2;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

h2 {
    font-size: 25px;
    letter-spacing: -.8px;
}

.heading-dot {
    color: var(--coral);
}

.section-heading .eyebrow {
    font-size: 8px;
    margin-bottom: 8px;
}

.result-count {
    color: #929aa7;
    font-size: 11px;
    padding-bottom: 4px;
}

.filter-row {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    overflow-x: auto;
    padding: 2px 2px 7px;
}

.filter {
    background: #1a1d24;
    border: 1px solid #2c303a;
    color: #a8aeba;
    padding: 9px 15px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    min-height: 37px;
}

.filter:hover {
    border-color: #626978;
    color: white;
}

.filter.is-active {
    background: #e6e9e4;
    border-color: #e6e9e4;
    color: #222822;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 21px;
}

.game-card {
    border: 1px solid #2a2e38;
    border-radius: 12px;
    overflow: hidden;
    background: #191c23;
    transition: border-color .2s,transform .2s;
}

.game-card:hover {
    border-color: #5c646f;
    transform: translateY(-3px);
}

.card-visual {
    position: relative;
    aspect-ratio: 1.8;
    overflow: hidden;
    background: #222d31;
}

.card-visual>a {
    display: block;
    height: 100%;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.game-card:hover .card-visual img {
    transform: scale(1.035);
}

.card-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg,#09111acc,transparent 55%);
    pointer-events: none;
}

.card-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    max-width: calc(100% - 66px);
    font-size: 7px;
    letter-spacing: 1px;
    font-weight: 750;
    padding: 6px 8px;
    background: #10141ac7;
    border: 1px solid #ffffff20;
    color: #e1e8e3;
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.favorite {
    display: grid;
    place-items: center;
    position: absolute;
    right: 10px;
    top: 9px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #ffffff2a;
    background: #10141ac7;
    color: white;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.favorite .icon {
    width: 16px;
    height: 16px;
}

.favorite:hover {
    background: #393443;
}

.favorite[aria-pressed=true] {
    color: var(--coral);
}

.favorite[aria-pressed=true] .icon {
    fill: var(--coral);
}

.art-title {
    position: absolute;
    left: 18px;
    bottom: 14px;
    z-index: 1;
    font-size: clamp(23px,2.25vw,35px);
    font-weight: 950;
    letter-spacing: -1.4px;
    font-style: italic;
    color: var(--game-color);
    text-shadow: 0 2px 0 #0004;
    pointer-events: none;
}

.art-title small {
    font-size: 14px;
    color: white;
}

.card-body {
    padding: 16px 18px;
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-heading h3 {
    font-size: 17px;
    letter-spacing: -.4px;
}

.card-heading h3 span {
    color: #8d95a3;
    font-weight: 400;
    font-size: 12px;
}

.play-arrow {
    display: grid;
    place-items: center;
    background: #272d32;
    color: var(--game-color);
    width: 33px;
    height: 33px;
    border-radius: 50%;
    flex-shrink: 0;
}

.play-arrow:hover {
    background: #3c444a;
}

.play-arrow .icon {
    width: 16px;
}

.card-body>p {
    font-size: 11px;
    color: #a2a9b5;
    line-height: 1.7;
    margin: 8px 0 17px;
    min-height: 37px;
}

.card-meta {
    border-top: 1px solid #2b3039;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #a7afba;
}

.card-meta>span:last-child {
    color: #c0cabd;
}

.surprise-card {
    border: 1px dashed #3b414d;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    min-height: 280px;
    background: radial-gradient(ellipse at 50% 20%,#30302950,transparent 65%);
    text-align: center;
}

.surprise-icon {
    border-radius: 14px;
    transform: rotate(-10deg);
    background: #2c3028;
    border: 1px solid #444c37;
    color: var(--lime);
    padding: 12px;
    margin-bottom: 22px;
}

.surprise-icon .icon {
    width: 24px;
    height: 24px;
}

.surprise-card .eyebrow {
    font-size: 7px;
    color: #a5ad98;
}

.surprise-card h3 {
    font-size: 23px;
    letter-spacing: -.6px;
}

.surprise-card p {
    font-size: 11px;
    color: #a1a8b4;
    line-height: 1.8;
    margin: 10px 0 20px;
}

.button-outline {
    background: transparent;
    color: #e2e6de;
    border: 1px solid #444b55;
    font-size: 11px;
    min-height: 38px;
}

.button-outline:hover {
    background: #292e35;
}

.empty-state {
    text-align: center;
    padding: 55px 20px;
    border: 1px dashed #3b414d;
    border-radius: 12px;
}

.empty-state>.icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    color: var(--coral);
}

.empty-state h3 {
    font-size: 23px;
}

.empty-state p {
    color: var(--muted);
    margin: 13px 0 22px;
}

.development-tag {
    display: inline-block;
    font-size: 8px;
    margin-top: 20px;
    padding: 5px 8px;
    border: 1px solid #ffffff25;
    border-radius: 4px;
    color: #c4c2d3;
}

footer {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    padding: 25px 0;
}

.footer-top {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.footer-top .brand {
    font-size: 18px;
}

.footer-top>span {
    font-size: 10px;
    color: #8d95a3;
}

.footer-top>div {
    display: flex;
    gap: 18px;
    font-size: 10px;
    color: #afb5c0;
}

.footer-top a:hover {
    color: var(--coral);
}

.footer-bottom {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    font-size: 8px;
    color: #818995;
    margin-top: 25px;
    line-height: 1.7;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%,20px);
    padding: 13px 20px;
    border: 1px solid #4b535c;
    border-radius: 9px;
    background: #262e2a;
    color: #eaf4e3;
    box-shadow: 0 8px 30px #0005;
    font-size: 12px;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s,transform .2s;
    text-align: center;
    max-width: calc(100% - 32px);
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%,0);
}

.noscript-note {
    color: var(--muted);
    margin-top: 20px;
    line-height: 1.7;
}

@media (min-width:1600px) {
    main {
        padding: 40px 60px 0;
    }

    .hero {
        min-height: 420px;
    }

    .hero-content {
        padding: 44px;
    }

    .card-visual {
        aspect-ratio: 1.9;
    }
}

@media (max-width:1190px) {
    .sidebar {
        width: 190px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .sidebar>.brand {
        font-size: 18px;
    }

    .sidebar>.brand img {
        width: 36px;
        height: 36px;
    }

    .page {
        margin-left: 190px;
    }

    .topbar {
        padding: 0 28px;
        gap: 20px;
    }

    .topbar-label {
        display: none;
    }

    main {
        padding: 30px 28px 0;
    }

    .welcome-note {
        display: none;
    }

    .hero h2 {
        font-size: 37px;
    }

    .games-grid {
        gap: 15px;
    }

    .card-body {
        padding: 13px;
    }

    .card-body>p {
        min-height: 38px;
    }

    .art-title {
        font-size: 27px;
    }

    .footer-top>span {
        display: none;
    }
}

@media (max-width:960px) {
    .games-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .hero-content {
        padding: 30px;
    }

    .hero h2 {
        font-size: 33px;
    }

    .hero-game-label {
        font-size: 20px;
        right: 20px;
    }

    .hero-art {
        width: 95%;
        object-position: 65%;
    }

    .hero-shade {
        background: linear-gradient(90deg,#17241ff5,#17241fe0 32%,#17241f30 100%);
    }

    .benefits {
        font-size: 9px;
        gap: 10px;
    }

    .benefits .icon {
        width: 13px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (max-width:700px) {
    .sidebar {
        position: relative;
        width: 100%;
        padding: 17px 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        display: block;
    }

    .sidebar>.brand {
        font-size: 23px;
        margin: 0 0 17px;
        gap: 8px;
    }

    .sidebar>.brand img {
        width: 38px;
        height: 38px;
    }

    .nav-caption,.sidebar-divider,.sidebar-bottom {
        display: none;
    }

    .main-nav {
        display: flex;
        gap: 9px;
    }

    .nav-item {
        font-size: 11px;
        padding: 10px 12px;
        gap: 7px;
        min-height: 42px;
        border-radius: 7px 7px 0 0;
    }

    .nav-item .icon {
        width: 16px;
    }

    .page {
        margin-left: 0;
    }

    .topbar {
        height: 70px;
        padding: 13px 18px;
        gap: 14px;
        border-bottom: 0;
    }

    .search {
        max-width: none;
        margin: 0;
        height: 42px;
    }

    .search input {
        font-size: 12px;
    }

    .search kbd {
        display: none;
    }

    .free-label {
        font-size: 8px;
        max-width: 72px;
        white-space: normal;
        line-height: 1.6;
    }

    .free-label>span {
        flex-shrink: 0;
    }

    main {
        padding: 19px 18px 0;
    }

    .welcome {
        margin-bottom: 23px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.6px;
    }

    h1 {
        font-size: 27px;
        letter-spacing: -1px;
    }

    .hero {
        min-height: 420px;
        border-radius: 12px;
    }

    .hero-content {
        padding: 26px 23px;
    }

    .hero-art {
        width: 100%;
        height: 100%;
        object-position: 64% 50%;
        opacity: .65;
    }

    .hero-shade {
        background: linear-gradient(90deg,#14271fed,#14271f44),linear-gradient(0deg,#14271f22,#14271f88);
    }

    .hero h2 {
        font-size: 36px;
        letter-spacing: -1.4px;
    }

    .hero-tag {
        margin-bottom: 25px;
        font-size: 7px;
    }

    .hero p {
        font-size: 12px;
        margin-top: 18px;
    }

    .hero .button {
        min-height: 46px;
    }

    .hero-footnote {
        font-size: 6px;
        letter-spacing: 1.1px;
    }

    .hero-game-label {
        font-size: 21px;
        bottom: 18px;
        right: 19px;
    }

    .hero-game-label small {
        font-size: 6px;
    }

    .benefits {
        margin-bottom: 30px;
        padding: 18px 2px;
        justify-content: space-between;
        gap: 12px;
    }

    .benefits>span {
        font-size: 8px;
        gap: 6px;
        line-height: 1.5;
    }

    .benefits>span:nth-child(2) {
        display: none;
    }

    .section-heading {
        gap: 10px;
        margin-bottom: 18px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .section-heading .eyebrow {
        font-size: 7px;
        letter-spacing: 1.3px;
    }

    .result-count {
        font-size: 9px;
        max-width: 78px;
        text-align: right;
        line-height: 1.6;
    }

    .filter-row {
        margin-bottom: 15px;
        gap: 7px;
    }

    .filter {
        font-size: 10px;
        padding: 9px 12px;
        min-height: 40px;
    }

    .games-grid {
        gap: 13px;
    }

    .card-visual {
        aspect-ratio: 1.25;
    }

    .card-visual img {
        object-position: 60%;
    }

    .card-badge {
        font-size: 5px;
        left: 7px;
        top: 8px;
        letter-spacing: .4px;
        padding: 5px;
        max-width: calc(100% - 42px);
    }

    .favorite {
        height: 30px;
        width: 30px;
        right: 5px;
        top: 5px;
    }

    .favorite .icon {
        width: 14px;
    }

    .art-title {
        font-size: 23px;
        left: 9px;
        bottom: 10px;
        letter-spacing: -1px;
    }

    .art-title small {
        font-size: 10px;
    }

    .card-body {
        padding: 11px;
    }

    .card-heading h3 {
        font-size: 14px;
    }

    .card-heading h3 span {
        font-size: 10px;
    }

    .play-arrow {
        width: 27px;
        height: 27px;
    }

    .play-arrow .icon {
        width: 14px;
    }

    .card-body>p {
        font-size: 10px;
        min-height: 51px;
        line-height: 1.7;
        margin: 9px 0 12px;
    }

    .card-meta {
        font-size: 8px;
        padding-top: 10px;
    }

    .surprise-card {
        min-height: 0;
        padding: 15px 10px;
    }

    .surprise-icon {
        padding: 9px;
        margin-bottom: 16px;
    }

    .surprise-card .eyebrow {
        font-size: 6px;
        letter-spacing: 1px;
    }

    .surprise-card h3 {
        font-size: 19px;
    }

    .surprise-card p {
        font-size: 10px;
        margin: 9px 0 16px;
    }

    .surprise-card .button {
        font-size: 10px;
        gap: 10px;
        padding: 0 10px;
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-top>div {
        font-size: 9px;
        gap: 12px;
    }

    .footer-top .brand {
        font-size: 17px;
    }

    .footer-top .brand img {
        width: 26px;
        height: 26px;
    }

    .footer-bottom {
        font-size: 8px;
    }

    footer {
        margin-top: 35px;
    }
}

@media (max-width:370px) {
    .sidebar>.brand {
        font-size: 20px;
    }

    .nav-item {
        padding: 10px 8px;
        font-size: 10px;
    }

    .hero h2 {
        font-size: 31px;
    }

    .hero-content {
        padding: 25px 18px;
    }

    .art-title {
        font-size: 20px;
    }

    .card-heading h3 {
        font-size: 12px;
    }

    .card-body {
        padding: 9px;
    }

    .card-heading {
        gap: 3px;
    }

    .card-meta {
        font-size: 7px;
    }

    .surprise-card h3 {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*:before,*:after {
        transition: none !important;
        animation: none !important;
    }
}

.closing-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 40px;
    border: 1px solid #3c3031;
    background: linear-gradient(115deg,#302324,#1d2027);
    border-radius: 13px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.closing-banner .eyebrow {
    display: block;
    color: #d99c92;
    font-size: 8px;
}

.closing-banner h2 {
    font-size: 29px;
    line-height: 1.2;
}

.closing-banner h2 span {
    color: #ff978b;
}

.closing-banner p {
    color: #b3a8ac;
    font-size: 11px;
    margin-top: 13px;
}

.closing-banner>img {
    position: absolute;
    right: 24%;
    bottom: -35px;
    width: 210px;
    height: 210px;
    opacity: .06;
    transform: rotate(-15deg);
    z-index: -1;
}

.closing-banner .button {
    white-space: nowrap;
}

.category-link {
    margin-bottom: 5px;
}

@media (max-width:700px) {
    .category-link {
        display: none;
    }

    .closing-banner {
        padding: 25px;
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .closing-banner h2 {
        font-size: 27px;
    }

    .closing-banner>img {
        right: 0;
        bottom: 0;
    }
}

@media (min-width:961px) {
    .surprise-card {
        grid-column: span 2;
    }
}

@media (pointer:coarse) {
    .favorite {
        width: 44px;
        height: 44px;
    }

    .card-badge {
        max-width: calc(100% - 65px);
    }

    .filter {
        min-height: 44px;
    }

    .play-arrow {
        min-width: 34px;
        min-height: 34px;
    }
}

@media (max-width:700px) {
    .main-nav {
        gap: 4px;
        justify-content: space-between;
    }

    .main-nav .nav-item {
        white-space: nowrap;
        padding: 10px 9px;
    }

    .main-nav .nav-count {
        display: none;
    }

    .hero-art {
        object-position: 90% 50%;
    }

    .card-body>p {
        font-size: 11px;
        min-height: 57px;
    }

    .card-meta {
        font-size: 9px;
    }

    .card-heading h3 {
        font-size: 15px;
    }
}

@media (max-width: 370px) {
    .games-grid { grid-template-columns: 1fr; }
    .card-visual { aspect-ratio: 1.8; }
    .card-body { padding: 15px; }
    .card-heading h3 { font-size: 17px; }
    .card-body > p { min-height: 0; font-size: 12px; }
    .art-title { font-size: 30px; left: 15px; }
    .surprise-card { min-height: 240px; }
}

/* Shared account, language selector and game profiles. */
.portal-controls { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.language-form select { max-width:130px; background:#1a1d24; color:#e5e7ed; border:1px solid #3b414d; border-radius:7px; padding:11px 9px; font:inherit; font-size:12px; }
.account-trigger { white-space:nowrap; font-size:11px; max-width:180px; }
.game-details-link { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--game-color); font-size:11px; margin:12px 0 16px; min-height:30px; }
.game-details-link:hover { text-decoration:underline; }
.hero-content>p { max-width:320px; }
.account-dialog { padding:26px; width:500px; max-width:calc(100vw - 28px); max-height:90dvh; border:1px solid #454b57; border-radius:16px; color:var(--text); background:#191d25; box-shadow:0 30px 100px #0009; }
.account-dialog::backdrop { background:#080b12c9; backdrop-filter:blur(7px); }
.account-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.account-dialog-header h2 { font-size:25px; }
.dialog-close { width:38px; height:38px; border:1px solid #3b414d; border-radius:50%; color:#ddd; background:transparent; font-size:25px; }
.account-intro { color:#abb3c2; font-size:13px; line-height:1.7; margin:16px 0; }
.account-tabs { display:flex; border-bottom:1px solid #39404b; margin-bottom:18px; }
.account-tabs button { background:transparent; border:0; border-bottom:2px solid transparent; color:#a6adbb; padding:12px; flex:1; }
.account-tabs button[aria-pressed=true] { color:var(--coral); border-color:var(--coral); }
#account-form label { display:block; font-size:12px; color:#d5d9e2; margin:15px 0 7px; }
#account-form input { width:100%; background:#10151d; color:white; padding:12px; border:1px solid #424a57; border-radius:7px; }
#account-form .button { width:100%; margin-top:22px; }
#password-hint { margin-top:7px; font-size:11px; color:#a3acbb; }
.social-buttons { display:flex; flex-wrap:wrap; gap:9px; margin-top:14px; }
.social-buttons:empty { display:none; }
.social-buttons .button { flex:1; }
#account-message { color:#ffbfb5; line-height:1.6; font-size:12px; margin-top:15px; }
#account-message:empty { display:none; }
#account-retry { margin-top:12px; }
#account-name { margin:22px 0 17px; overflow-wrap:anywhere; }
.account-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.account-stats>div { background:#242a34; padding:14px 8px; border-radius:8px; text-align:center; }
.account-stats strong { display:block; color:var(--lime); font-size:23px; }
.account-stats span { display:block; color:#b4bccb; font-size:10px; margin-top:8px; }
.account-game-list { display:grid; gap:8px; margin-bottom:22px; }
.account-game-list a { display:flex; align-items:center; gap:12px; background:#252b34; border-radius:6px; padding:7px; }
.account-game-list a:hover { background:#35404c; }
.account-game-list img { border-radius:4px; object-fit:cover; }
.account-game-list a>span:last-child { margin-left:auto; margin-right:8px; color:var(--coral); }
.game-profile-page .topbar { max-width:1450px; margin:auto; }
.game-profile-page .topbar>.brand { margin-right:auto; }
.game-profile-page main { max-width:1200px; }
.back-to-portal { display:inline-block; color:#adb6c6; font-size:12px; margin-bottom:22px; }
.profile-hero { position:relative; border-radius:17px; overflow:hidden; min-height:350px; display:flex; align-items:center; border:1px solid #3b424e; isolation:isolate; }
.profile-hero>img { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; z-index:-2; }
.profile-hero:after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#0b1119ed,#0b1119b0 45%,#0b111910); z-index:-1; }
.profile-hero-copy { padding:35px; max-width:650px; }
.profile-hero h1 { font-size:60px; color:var(--game-color); }
.profile-hero h1 span { color:white; font-size:32px; }
.profile-hero-copy>p:not(.eyebrow) { font-size:15px; line-height:1.8; margin:20px 0; color:#e0e4ea; }
.profile-actions { display:flex; flex-wrap:wrap; gap:10px; }
.profile-section { margin-top:38px; scroll-margin-top:25px; }
.profile-state { padding:25px; border:1px solid #333b47; background:#191e27; border-radius:9px; color:#b0bac9; line-height:1.7; font-size:14px; }
.achievement-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.achievement-card { padding:20px; background:#1b2029; border:1px solid #37404d; border-radius:10px; }
.achievement-card.completed { border-color:#607a43; }
.achievement-card h3 { display:flex; gap:10px; align-items:center; font-size:16px; }
.achievement-card p { color:#b3bdcd; font-size:12px; line-height:1.7; min-height:42px; margin:15px 0; }
.achievement-card progress { width:100%; height:8px; accent-color:var(--lime); }
.achievement-status { font-size:10px; color:#c8d3be; margin:9px 0; }
.achievement-card small { font-size:10px; color:#f3ca7f; }
.ranking-scroll { overflow-x:auto; }
.profile-ranking { width:100%; border-collapse:collapse; font-size:13px; text-align:left; }
.profile-ranking td,.profile-ranking th { padding:16px 12px; border-bottom:1px solid #333b47; }
.profile-ranking th { color:#b9c2d2; font-weight:600; }
.profile-ranking td:nth-child(2) { color:var(--lime); overflow-wrap:anywhere; }
#ranking-retry,#achievement-retry { margin-top:13px; }
button:disabled { opacity:.6; cursor:wait; }
@media(max-width:1400px) { .topbar-label { display:none; } }
@media(max-width:1000px) { .topbar { gap:12px; padding-left:24px; padding-right:24px; } .search { min-width:130px; } .account-trigger { padding:0 12px; } .portal-controls { gap:8px; } .achievement-list { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .topbar { flex-wrap:wrap; height:auto; padding:14px 18px; gap:12px; } .topbar .search { flex-basis:100%; order:2; } .portal-controls { width:100%; justify-content:space-between; } .account-trigger { min-height:42px; } .main-nav { overflow-x:auto; } .main-nav .nav-item { flex-shrink:0; } .game-profile-page .topbar { gap:20px; } .profile-hero { min-height:350px; } .profile-hero-copy { padding:25px; } .profile-hero h1 { font-size:43px; } .profile-hero h1 span { font-size:22px; } .profile-actions .button { min-height:43px; font-size:11px; } .achievement-list { grid-template-columns:1fr; } .profile-section .section-heading { align-items:center; } .profile-ranking { min-width:480px; } .game-details-link { font-size:10px; } .account-stats strong { font-size:20px; } }

.arena-setup form{display:grid;gap:20px}.arena-setup input:not([type=radio]){display:block;padding:14px;border:1px solid #41475b;background:#171c29;color:white;border-radius:10px;max-width:100%;margin-top:8px}.arena-setup fieldset{border:0;padding:0}.arena-setup legend{margin-bottom:16px;font-weight:700}.arena-options{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.arena-option{display:flex;flex-direction:column;align-items:center;gap:14px;padding:20px 8px;background:#1b202d;border:2px solid transparent;border-radius:14px;cursor:pointer}.arena-option:has(:checked){border-color:#82e6da}.hole-preview{width:65px;height:45px;background:#050712;border:5px solid var(--rim);border-radius:50%}.bike-preview{font-size:38px;color:#62eaff}.arena-setup p{color:#b5bdca;line-height:1.6}.arena-setup iframe{width:100%;height:80vh;min-height:500px;border:0;margin-top:18px;border-radius:14px}.arena-setup [hidden]{display:none!important}@media(max-width:700px){.arena-options{grid-template-columns:repeat(3,1fr)}.arena-setup iframe{min-height:620px}}

canvas.bike-preview{width:100%;height:auto;aspect-ratio:8/5}.arena-option{min-width:0}.arena-option>span:last-child{font-size:12px;overflow-wrap:anywhere}.arena-local-progress{margin-top:24px}.arena-local-progress summary{cursor:pointer;margin-bottom:18px}
