:root {
    --bg: #0f1020;
    --bg-elev: #191a30;
    --bg-card: #1e2040;
    --accent: #6c5ce7;
    --accent-2: #00d2ff;
    --text: #eef0ff;
    --text-dim: #a9adcf;
    --border: #2a2c50;
    --link: #8ee6ff;
    --link-hover: #b8f0ff;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

/* Links */
a {
    color: var(--link);
    text-decoration: none;
}

a:visited { color: var(--link); }

a:hover,
a:focus { color: var(--link-hover); }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(1200px 600px at 80% -10%, #24264a 0%, var(--bg) 55%);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(15, 16, 32, .8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo-mark { font-size: 1.5rem; }
.logo-text b { color: var(--accent-2); }

.search {
    display: flex;
    flex: 1 1 260px;
    min-width: 0;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
    padding: 12px 16px;
    font-size: 1rem;
}

.search-input::placeholder { color: var(--text-dim); }

.search-btn {
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 0 18px;
    font-size: 1.05rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 32px 0 8px;
}
.hero h1 {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.1;
}
.hero p {
    margin: 0;
    color: var(--text-dim);
    max-width: 640px;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0 8px;
}

.chip {
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text-dim);
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: .9rem;
    transition: all .15s ease;
    white-space: nowrap;
}
.chip:hover { color: var(--text); }
.chip.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border-color: transparent;
}

/* Status */
.status {
    padding: 24px 0;
    color: var(--text-dim);
    text-align: center;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 16px 0 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 0;
    color: var(--text);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover, .card:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
    outline: none;
}

.card-thumb {
    aspect-ratio: 1 / 1;
    width: 100%;
    object-fit: cover;
    background: #12132a;
    display: block;
}

.card-body { padding: 12px 14px 16px; }
.card-title {
    margin: 0 0 4px;
    font-size: 1.05rem;
    font-weight: 600;
}
.card-desc {
    margin: 0;
    font-size: .82rem;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}
.badge {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--accent-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 10px;
    white-space: nowrap;
}
.score {
    font-size: .72rem;
    color: var(--text-dim);
}

/* Modal + iframe */
.modal[hidden] { display: none; }
.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 12, .75);
    backdrop-filter: blur(4px);
}
.modal-dialog {

    position: relative;

    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.modal-title { font-weight: 600; }
.modal-actions { display: flex; gap: 6px; }
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}
.icon-btn svg { display: block; }
.icon-btn:hover { border-color: var(--accent); }
.modal-frame {
    flex: 1;
    background: #000;
    padding: 0;
    margin: 0;
}
.modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Footer */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: .85rem;
    padding: 20px 0;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* Secondary footer links (e.g. the developer panel). */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 10px;
}

/* Ensure [hidden] always wins over element/class display rules. */
[hidden] {
    display: none !important;
}

/* Setup page */
.setup-wrap {
    display: flex;
    justify-content: center;
    padding: 48px 0;
}


.setup-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.setup-card h1 {
    margin: 0 0 8px;
    font-size: 1.5rem;
}

.setup-lead {
    margin: 0 0 24px;
    color: var(--text-dim);
    line-height: 1.5;
}

.setup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-label {
    font-size: .85rem;
    color: var(--text-dim);
}

.field input {
    background: var(--bg-elev);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    padding: 12px 14px;
    font-size: 1rem;
    outline: none;
    transition: border-color .15s ease;
}

.field input:focus {
    border-color: var(--accent);
}

.setup-message {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: .9rem;
}

.setup-message.error {
    background: rgba(255, 90, 90, .12);
    border: 1px solid rgba(255, 90, 90, .45);
    color: #ff9d9d;
}

.setup-message.success {
    background: rgba(0, 210, 255, .1);
    border: 1px solid rgba(0, 210, 255, .4);
    color: var(--accent-2);
}

.setup-btn {
    margin-top: 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s ease;
}

.setup-btn:hover { opacity: .92; }
.setup-btn:disabled { opacity: .6; cursor: default; }

/* Mobile tuning */
@media (max-width: 560px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .hero { padding-top: 20px; }
    .modal { padding: 0; }
    .modal-dialog {
        width: 100%;
        height: 100%;
        border-radius: 0;
        border: 0;
    }
    .header-inner { gap: 8px; }
    .logo-text { display: none; }
}

/* ---------- Admin control panel (/cp) ---------- */

.cp-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(108, 92, 231, .18);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 13px;
}

.cp-logout {
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 14px;
}
.cp-logout:hover { background: var(--bg-elev); }

.cp-panel {
    padding: 24px 0 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cp-title {
    margin: 8px 0 4px;
}

.cp-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.cp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.cp-card-head h2 {
    margin: 0;
    font-size: 18px;
}

.cp-lead {
    margin: 0 0 14px;
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.5;
}

.cp-btn {
    padding: 9px 16px;
    border-radius: 10px;
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}
.cp-btn:hover { opacity: .92; }
.cp-btn:disabled { opacity: .6; cursor: default; }

.cp-btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
}
.cp-btn-ghost:hover { background: var(--bg-elev); opacity: 1; }

.cp-inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.cp-input {
    flex: 1 1 220px;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-elev);
    color: var(--text);
    font-size: 15px;
}
.cp-input:focus {
    outline: none;
    border-color: var(--accent);
}

.cp-message {
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
}
.cp-message.error {
    background: rgba(255, 90, 90, .12);
    color: #ff9b9b;
}
.cp-message.success {
    background: rgba(0, 210, 255, .1);
    color: var(--accent-2);
}

.cp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--bg-elev);
    border: 1px solid var(--border);
}

.cp-list-name {
    font-size: 15px;
}

/* --- Published games management (/cp) --- */

.cp-list-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cp-list-meta {
    font-size: .82rem;
    opacity: .7;
}

.cp-game-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cp-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cp-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.cp-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cp-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.cp-page-info {
    font-size: .9rem;
    opacity: .8;
}

.cp-list-empty {
    padding: 10px 4px;

    color: var(--text-dim);
    font-size: 14px;
}

/* Game status badge shown in the developer panel game list. */
.cp-status {
    margin-left: 0;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    white-space: nowrap;
}
.cp-status-draft {
    background: rgba(255, 190, 90, .12);
    color: #ffcf8f;
}
.cp-status-published {
    background: rgba(0, 210, 255, .1);
    color: var(--accent-2);
}
.cp-status-banned {
    background: rgba(255, 90, 90, .12);
    color: #ff9b9b;
}

/* Game list: the game thumbnail is always shown at 128x128. */
.cp-list-thumb {
    width: 128px;
    height: 128px;
    flex: 0 0 128px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

/* Game list: let the title take the free space so the actions stay on the right. */
#gameList .cp-list-name {
    flex: 1 1 auto;
    min-width: 0;
}

/* Version list: push the status badge to the right, before the action button. */
#versionList .cp-list-name {
    flex: 1 1 auto;
    min-width: 0;
}

#versionList .cp-status {
    margin-left: auto;
    text-align: right;
}


/* Multiline description field in the developer game form. */
textarea.cp-input {
    flex-basis: 100%;
    min-height: 96px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

/* ---------- Developer panel: game versions ---------- */

.cp-back {
    margin: 8px 0 0;
    font-size: 14px;
}

/* Actions column of a list row (status badge + link). */
.cp-list-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cp-list-link {
    text-decoration: none;
    display: inline-block;
}

.cp-list-sub {
    display: block;
    margin-top: 2px;
    color: var(--text-dim);
    font-size: 13px;
}

/* Stacked form used for creating a game version. */
.cp-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 4px 0 18px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-elev);
}

/* Inside a stacked field the control must not stretch vertically:
   .cp-field is a flex column, so the generic `flex: 1 1 220px` from
   .cp-input would be treated as a 220px tall box. */
.cp-form .cp-input,
.field .cp-input {
    flex: 0 0 auto;
    width: 100%;
}

/* Profile form (/dev): stack the label, the hint and the button. */
#profileForm {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

#profileForm .field {
    width: 100%;
    max-width: 440px;
}

#profileForm .cp-btn {
    margin-top: 4px;
}



.cp-form-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cp-form-row .cp-field {
    flex: 1 1 200px;
}

.cp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cp-field-label {
    font-size: .85rem;
    color: var(--text-dim);
}

/* Icon upload preview frame (512x512) */
.cp-icon-frame {
    position: relative;
    margin-top: 10px;
    width: 512px;
    height: 512px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
}

.cp-icon-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cp-icon-frame.is-loading {
    opacity: .6;
}

.cp-icon-frame-hint {
    font-size: 13px;
    opacity: .6;
}

/* Slug availability feedback in the developer create-game form. */
.cp-field-hint.error {
    color: #ff8f8f;
}

.cp-field-hint.success {
    color: #7ee08a;
}

.cp-field-hint {
    font-size: 12px;

    color: var(--text-dim);
}

.cp-input[readonly] {
    opacity: .75;
    cursor: default;
}

/* Custom checkbox row (e.g. "inject <base href>" in the version form). */
.cp-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-elev);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.cp-check:hover { border-color: var(--accent); }

/* The native input stays for accessibility, but is visually replaced. */
.cp-check-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cp-check-box {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    position: relative;
    transition: background .15s ease, border-color .15s ease;
}

/* Checkmark drawn with a rotated rectangle. */
.cp-check-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(.6);
    opacity: 0;
    transition: opacity .15s ease, transform .15s ease;
}

.cp-check-input:checked + .cp-check-box {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: transparent;
}

.cp-check-input:checked + .cp-check-box::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.cp-check-input:focus-visible + .cp-check-box {
    outline: 2px solid var(--accent-2);
    outline-offset: 2px;
}

.cp-check-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-check-title {
    font-size: .9rem;
    color: var(--text);
}

.cp-input[type="file"] {
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
}

/* Multi-select dropdown with removable chips (developer version form). */
.cp-multiselect {
    position: relative;
    width: 100%;
}

.cp-multiselect-control {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    min-height: 44px;
}

.cp-multiselect-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
}

.cp-multiselect-placeholder {
    opacity: .6;
}

.cp-multiselect-arrow {
    opacity: .7;
    transition: transform .15s ease;
}

.cp-multiselect.is-open .cp-multiselect-arrow {
    transform: rotate(180deg);
}

.cp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 13px;
    line-height: 1.4;
}

.cp-chip-remove {
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    opacity: .8;
}

.cp-chip-remove:hover,
.cp-chip-remove:focus {
    opacity: 1;
    color: #ff9a9a;
    outline: none;
}

.cp-multiselect-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 10px;
    background: #171833;
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.cp-multiselect-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.cp-multiselect-option:hover {
    background: rgba(255, 255, 255, .08);
}

.cp-multiselect-option.is-selected::after {
    content: '✓';
    float: right;
    opacity: .8;
}

select.cp-select {
    padding: 8px 10px;

    height: auto;
    min-height: 132px;
}


.cp-form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Version status badges. */
.cp-version-status-draft {
    background: rgba(255, 190, 90, .12);
    color: #ffcf8f;
}
.cp-version-status-moderation_wait {
    background: rgba(160, 160, 255, .12);
    color: #b9b9ff;
}
.cp-version-status-moderation_success,
.cp-version-status-published {
    background: rgba(0, 210, 255, .1);
    color: var(--accent-2);
}
.cp-version-status-moderation_fail {
    background: rgba(255, 90, 90, .12);
    color: #ff9b9b;
}


/* ---------- Moderator panel (/moderator) ---------- */

/* Task list: the version icon is always shown at 126x126. */
.mod-task-icon {
    width: 126px;
    height: 126px;
    flex: 0 0 126px;
    object-fit: contain;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    margin-right: 14px;
}

/* Opened task: icon at 512x512 next to the version details. */
.mod-task {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin: 12px 0 16px;
}
.mod-task-icon-lg {
    width: 512px;
    height: 512px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
}
.mod-task-info {
    flex: 1 1 260px;
    min-width: 240px;
}
.mod-task-text {
    white-space: pre-wrap;
    opacity: .85;
    margin: 0 0 12px;
}


/* ---------- Public game page (/game/{slug}) ---------- */

.game-page {
    padding-top: 24px;
    padding-bottom: 40px;
}

.game-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.game-thumb {
    width: 260px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
}

.game-info {
    flex: 1 1 300px;
    min-width: 260px;
}

.game-title {
    margin: 0 0 10px;
    font-size: 1.9rem;
}

.game-desc {
    color: var(--text-dim);
    margin: 12px 0;
    white-space: pre-wrap;
}

.game-organization {
    color: var(--text-dim);
    font-size: .9rem;
}

.play-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.play-btn:hover { color: #fff; opacity: .9; }

.game-section {
    margin-top: 32px;
}

.game-section h2 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.version-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.version-item {
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-elev);
    margin-bottom: 10px;
}

.version-num {
    font-weight: 700;
    color: var(--accent-2);
    flex: 0 0 auto;
}

.version-desc { white-space: pre-wrap; }

.game-page .muted { color: var(--text-dim); }
