.game-page-container {
    width: min(100% - 48px, 1280px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 0 56px;
}

.game-detail-inner.game-page-container {
    max-width: 1280px;
}

.game-hero {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    align-items: start;
    column-gap: 28px;
}

.game-cover-wrap {
    min-width: 0;
}

.game-cover-box {
    width: 190px;
    max-width: 100%;
    flex: 0 0 190px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid rgba(20, 24, 30, .28);
    border-radius: 3px;
    background: var(--panel2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
}

.game-cover-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: 20px;
    flex: 0 0 20px;
    box-sizing: border-box;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1;
}

.game-cover-platform-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: 15px;
    max-width: 78%;
    max-height: 15px;
    object-fit: contain;
    object-position: center;
}
.game-cover-platform--ps5 {
    color: #17202c;
    background: #fff;
    border-bottom: 1px solid #d4d8de;
}

.game-cover-platform--ps5 .game-cover-platform-logo {
    width: auto;
    height: 18px;
    max-height: 18px;
    filter: invert(1);
}
.game-cover-platform--ps4 {
    color: #fff;
    background: #003791;
    border-bottom: 1px solid #00275f;
}

.game-cover-platform--ps4 .game-cover-platform-logo {
    width: auto;
    height: 15px;
    max-height: 15px;
}

.game-cover-platform--ps3 .game-cover-platform-logo,
.game-cover-platform--vita .game-cover-platform-logo {
    max-height: 15px;
}
.game-cover-platform--ps3 {
    color: #f3f5f8;
    background: #17191d;
    border-bottom: 1px solid #08090b;
}

.game-cover-platform--ps3 .game-cover-platform-logo {
    filter: invert(1);
}

.game-cover-platform--vita {
    color: #fff;
    background: #2677b9;
    border-bottom: 1px solid #1a5687;
}

.game-cover-image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    height: auto;
    overflow: hidden;
}

.game-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    background: var(--panel2);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.game-cover-box .game-cover-image {
    min-width: 0;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
    background: #10151d;
    transform: none;
    border-radius: 0;
    box-shadow: none;
}

.game-cover-box .game-cover-image--vita {
    object-fit: contain;
    object-position: center center;
}

.game-cover-box .game-cover--trophy-fallback {
    object-fit: contain;
    background: #10151d;
}

.game-cover-placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 900;
    letter-spacing: .14em;
    background: linear-gradient(135deg, var(--accent2), #562e88);
}

.game-info {
    min-width: 0;
    padding-top: 0;
}

.game-info h1 {
    max-width: 900px;
    margin: 0 0 8px;
    font-size: clamp(36px, 3.2vw, 40px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.game-platform {
    margin: 0 0 16px;
    color: var(--accent2) !important;
    font-size: 14px;
    font-weight: 700;
}

.game-section-nav {
    display: flex;
    gap: 24px;
    margin-top: 34px;
    padding-bottom: 10px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
}

.game-section-nav a {
    flex: 0 0 auto;
    padding: 8px 0;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
}

.game-section-nav a:hover,
.game-section-nav a.is-active {
    color: var(--text);
    border-bottom: 2px solid var(--accent);
}

.game-facts {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 7px 18px;
    margin: 0;
    font-size: 14px;
    line-height: 1.42;
}

.game-facts dt {
    margin: 0;
    color: var(--muted);
}

.game-facts dd {
    min-width: 0;
    overflow-wrap: anywhere;
}

.game-description {
    max-width: 880px;
    margin: 24px 0 0;
    color: var(--muted) !important;
    font-size: 15px;
    line-height: 1.65;
}

.trophy-summary {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 36px);
    max-width: 720px;
    margin-top: 16px;
}

.trophy-summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: inherit;
}

.trophy-summary-cup {
    display: block;
    flex: 0 0 auto;
    height: 32px;
}

.trophy-summary-cup img {
    display: block;
    width: auto;
    max-width: 38px;
    height: 100%;
    object-fit: contain;
}

.trophy-summary-item strong {
    font-size: 1.35rem;
    line-height: 1;
}

.trophy-summary-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.trophy-summary-item:hover,
.trophy-summary-item:focus-visible {
    color: var(--text);
}

.trophy-summary-platinum strong { color: #d8e5f0; }
.trophy-summary-gold strong { color: #f1c45c; }
.trophy-summary-silver strong { color: #c7d2df; }
.trophy-summary-bronze strong { color: #d99b67; }

.trophy-summary-label-visible {
    color: var(--muted);
    font-size: .86rem;
    overflow-wrap: anywhere;
}


.trophy-groups {
    display: grid;
    gap: 24px;
    margin-top: 42px;
}

.trophy-group {
    padding: 22px;
    background: rgba(20, 25, 35, .86);
    border: 1px solid var(--border);
    border-radius: 14px;
}

.trophy-group-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.trophy-group-kind {
    display: block;
    margin-bottom: 5px;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.trophy-group-header h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.trophy-group-count {
    color: var(--muted);
    font-size: .9rem;
    white-space: nowrap;
}

.trophy-list {
    display: grid;
    gap: 6px;
}

.trophy-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 8px 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: border-color .15s ease, background-color .15s ease;
}

.trophy-row:hover {
    border-color: #3a4961;
    background: var(--panel2);
}

.trophy-icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 12px;
    background: var(--panel2);
}

.trophy-icon-placeholder {
    display: block;
}

.trophy-content {
    min-width: 0;
    flex: 1;
}

.trophy-content h3 {
    margin: 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.trophy-description {
    margin: 3px 0 6px;
    color: var(--muted) !important;
    font-size: .85rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.trophy-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: .82rem;
}

.trophy-type,
.trophy-rarity {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--panel2);
    color: var(--muted);
}

.trophy-type-bronze { color: #d99b67; }
.trophy-type-silver { color: #c7d2df; }
.trophy-type-gold { color: #f1c45c; }
.trophy-type-platinum { color: #8dd6f5; }

@media (max-width: 760px) {
    .game-hero {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 20px;
    }

    .game-info {
        padding-top: 0;
    }

    .game-info h1 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .game-facts {
        display: block;
    }

    .game-facts dt {
        margin-top: 10px;
    }

    .trophy-summary {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 22px;
        margin-top: 22px;
    }

    .trophy-summary-cup {
        height: 48px;
    }

    .trophy-group {
        padding: 14px;
    }

    .trophy-group-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .trophy-row {
        gap: 12px;
        padding: 10px;
    }
}

@media (max-width: 430px) {
.game-hero {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
    }

    .trophy-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .trophy-content h3 {
        font-size: .98rem;
    }

    .trophy-description {
        font-size: .88rem;
    }
}

/* Mobile game pages: keep the desktop composition above the breakpoint and
   rebuild the hero as a single readable column on narrow screens. */
@media (max-width: 768px) {
    .game-page-container {
        width: 100%;
        max-width: 1280px;
        padding: 40px max(16px, env(safe-area-inset-right)) 40px max(16px, env(safe-area-inset-left));
    }

    .game-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .game-cover-wrap {
        display: flex;
        justify-content: center;
        min-width: 0;
    }

    .game-cover-box {
        width: min(90vw, 190px);
        flex: 0 0 min(90vw, 190px);
        max-width: 100%;
    }

    .game-cover-platform {
        height: 20px;
        max-width: 100%;
        overflow: hidden;
    }

    .game-cover-image {
        height: auto;
    }

    .game-info {
        width: 100%;
        padding-top: 0;
    }

    .game-info h1 {
        max-width: none;
        margin-top: 8px;
        font-size: clamp(28px, 8vw, 32px);
        line-height: 1.08;
    }

    .game-facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .game-facts dt {
        margin-top: 12px;
    }

    .game-facts dd {
        margin-bottom: 4px;
    }

    .trophy-summary {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: none;
        margin-top: 22px;
    }

    .trophy-summary-item {
        justify-content: center;
        gap: 4px;
    }

    .trophy-summary-cup {
        height: 32px;
    }

    .trophy-summary-cup img {
        max-width: 36px;
    }

    .trophy-summary-item strong {
        font-size: 1.25rem;
    }

    .game-section-nav {
        width: 100%;
        gap: 22px;
        margin-top: 28px;
        padding-inline: 4px;
    }.trophy-group {
        padding: 14px;
    }

    .trophy-group-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .trophy-row {
        gap: 10px;
        padding: 10px;
    }

    .trophy-content {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .trophy-description {
        word-break: break-word;
    }
}

@media (max-width: 480px) {
    .game-page-container {
        padding-inline: max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-left));
    }

    .game-cover-box {
        width: min(90vw, 190px);
        flex: 0 0 min(90vw, 190px);
    }

    .game-info h1 {
        font-size: clamp(28px, 9vw, 32px);
    }

    .game-platform {
        margin-bottom: 18px;
    }

    .trophy-summary {
        gap: 6px;
    }

    .trophy-summary-cup {
        height: 28px;
    }

    .trophy-summary-cup img {
        max-width: 32px;
    }

    .trophy-summary-item strong {
        font-size: 1.2rem;
    }

    .trophy-group {
        padding: 12px;
        border-radius: 10px;
    }

    .trophy-icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
        border-radius: 9px;
    }

    .trophy-content h3 {
        font-size: .96rem;
    }

    .trophy-description {
        font-size: .86rem;
    }
}
.game-page-heading {
    margin: 0;
}

.game-page-heading h1 {
    max-width: 1000px;
    margin: 0;
    font-size: clamp(32px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.game-section-nav {
    width: 100%;
    margin-top: 10px;
    padding-bottom: 8px;
    gap: 24px;
}

.game-section-nav-disabled {
    flex: 0 0 auto;
    padding: 8px 0;
    color: #687386;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    white-space: nowrap;
    cursor: default;
}

.game-profile-grid {
    display: grid;
    grid-template-columns: 151px minmax(0, 1fr);
    align-items: start;
    column-gap: 28px;
    margin-top: 28px;
}

.game-profile-grid .game-cover-wrap {
    width: 151px;
}

.game-profile-grid .game-cover-box {
    width: 151px;
    flex: 0 0 151px;
}

.game-profile-grid .game-info {
    min-width: 0;
    padding-top: 0;
}

.game-profile-grid .game-facts {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 7px 16px;
    font-size: 14px;
    line-height: 1.42;
}

 .game-description-section {
    max-width: 1100px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.game-description-section h2 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
}

.game-description-section .game-description {
    max-width: 1100px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .game-page-heading h1 {
        font-size: clamp(28px, 7vw, 32px);
    }

    .game-section-nav {
        gap: 22px;
        margin-top: 8px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .game-section-nav::-webkit-scrollbar {
        display: none;
    }

    .game-profile-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: 24px;
    }

    .game-profile-grid .game-cover-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .game-profile-grid .game-cover-wrap {
        width: 100%;
    }

.game-profile-grid .game-cover-box {
        width: min(90vw, 151px);
        flex-basis: min(90vw, 151px);
    }



.game-profile-grid .game-cover-box .game-cover-image {
        height: min(204px, 121.6vw);
    }

    .game-profile-grid .game-facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        font-size: 14px;
    }

    .game-profile-grid .game-facts dt {
        margin-top: 9px;
    }

    .game-profile-grid .game-facts dd {
        margin-bottom: 3px;
    }

     .game-description-section {
        margin-top: 26px;
    }
}

@media (max-width: 480px) {
    .game-page-heading h1 {
        font-size: 28px;
    }

    .game-profile-grid .game-cover-wrap {
        width: 100%;
    }

.game-profile-grid .game-cover-box {
        width: min(90vw, 151px);
        flex: 0 0 min(90vw, 151px);
    }

    .game-profile-grid .game-facts {
        font-size: 13px;
    }

}
trophy-page-summary {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 28px;
    padding: 12px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.trophy-page-summary h2 {
    flex: 0 0 auto;
    margin: 0;
    color: var(--text);
    font-size: 14px;
    letter-spacing: .12em;
}

.trophy-page-summary-items {
    display: flex;
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.trophy-page-summary .trophy-summary-item {
    gap: 7px;
}

.trophy-page-summary .trophy-summary-cup {
    height: 30px;
}

.trophy-page-summary .trophy-summary-cup img {
    max-width: 34px;
}

.trophy-page-summary .trophy-summary-item strong {
    font-size: 1.2rem;
}

.trophy-page-summary-total {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 768px) {
    .trophy-page-summary {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px 18px;
        margin-top: 24px;
    }

    .trophy-page-summary-items {
        flex: 1 1 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .trophy-page-summary-total {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .trophy-page-summary {
        padding: 12px;
    }

    .trophy-page-summary-items {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


.game-related-versions{margin:28px 0 0;padding:18px 0;border-top:1px solid rgba(255,255,255,.09)}
.game-related-versions h2{margin:0 0 12px;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#9aa7b8)}
.game-related-versions-list{display:flex;flex-wrap:wrap;gap:10px}
.game-related-version{display:inline-flex;flex-direction:column;gap:3px;min-width:90px;padding:9px 13px;border:1px solid rgba(126,213,255,.25);border-radius:9px;background:rgba(126,213,255,.07);color:inherit;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}
.game-related-version:hover{background:rgba(126,213,255,.14);border-color:rgba(126,213,255,.5);transform:translateY(-1px)}
.game-related-version strong{font-size:.86rem;color:#bfeeff}
.game-related-version span{font-size:.75rem;color:var(--muted,#9aa7b8)}
@media (max-width:640px){.game-related-versions{margin-top:22px}.game-related-version{min-width:0}}
.trophy-set-selector{display:grid;gap:9px;margin:24px 0 0;padding:13px 16px;background:rgba(20,25,35,.62);border:1px solid var(--border);border-radius:10px}.trophy-set-selector-label{color:var(--muted);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.trophy-set-selector-options{display:flex;flex-wrap:wrap;gap:8px}.trophy-set-option{display:inline-flex;align-items:baseline;gap:8px;max-width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:7px;color:var(--text);text-decoration:none;transition:border-color .15s ease,background-color .15s ease}.trophy-set-option strong{font-size:.82rem;overflow-wrap:anywhere}.trophy-set-option span{color:var(--muted);font-size:.7rem}.trophy-set-option:hover,.trophy-set-option:focus-visible{border-color:var(--accent);background:var(--panel2)}.trophy-set-option:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.trophy-set-option.is-active{border-color:var(--accent);background:rgba(138,240,194,.08)}
.trophy-personal-summary{display:grid;gap:8px;margin-top:20px;padding:16px 18px;background:rgba(20,25,35,.62);border:1px solid var(--border);border-radius:10px}
.trophy-personal-summary-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;color:var(--muted);font-size:.82rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.trophy-personal-summary-heading strong{color:var(--accent);font-size:1.45rem;letter-spacing:0}
.trophy-personal-summary-total{color:var(--text);font-size:.9rem}
.trophy-personal-summary-types{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--muted);font-size:.8rem}
.trophy-personal-summary-types b{color:var(--text);font-size:.95rem}
.trophy-title-line{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}
.trophy-copy{min-width:0;flex:1}
.trophy-title-line h3{min-width:0}
.trophy-award{display:flex;flex:0 0 auto;min-width:96px;flex-direction:column;align-items:flex-end;gap:5px;text-align:right}
.trophy-user-state{flex:0 0 auto;color:var(--muted);font-size:.75rem;font-weight:700;white-space:nowrap}
.trophy-row--earned{border-color:rgba(138,240,194,.72);background:linear-gradient(135deg,rgba(138,240,194,.08),rgba(20,25,35,.96) 58%);box-shadow:0 0 0 1px rgba(138,240,194,.12),0 7px 22px rgba(62,175,132,.12),inset 0 0 18px rgba(138,240,194,.045)}
.trophy-row--earned .trophy-icon{filter:brightness(1.06) saturate(1.08);box-shadow:0 0 14px rgba(138,240,194,.18)}
.trophy-row--earned .trophy-content h3{color:#fff}
.trophy-row--earned .trophy-user-state{color:var(--accent);font-weight:800;text-shadow:0 0 10px rgba(138,240,194,.2)}
.trophy-earned-date{font-weight:700}
.trophy-type-cup{display:block;width:auto;height:38px;max-width:42px;object-fit:contain;object-position:center}
.trophy-row{color:inherit;text-decoration:none;cursor:default}
.trophy-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.trophy-inline-panel{margin:-1px 0 8px;padding:14px 16px;background:rgba(30,37,50,.92);border:1px solid var(--border);border-radius:10px;animation:trophy-panel-in .16s ease-out}
.trophy-inline-panel .trophy-hints-heading h3{margin:0;font-size:1rem}.trophy-inline-panel .trophy-hints-list{margin-top:10px}.trophy-inline-panel .trophy-hint{padding:10px 12px}.trophy-inline-panel .trophy-hint-form{margin-top:14px;padding-top:12px}.trophy-inline-panel .trophy-hint-toggle{margin-top:14px}.trophy-hint-actions{display:flex;justify-content:flex-end;gap:8px}.trophy-hint-cancel{background:transparent;color:var(--muted)}.trophy-panel-loading,.trophy-panel-error{margin:0;color:var(--muted);font-size:.85rem}.trophy-panel-error{color:#ff9b9b}@keyframes trophy-panel-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.trophy-hint-form{display:block}.trophy-hint-toggle[hidden],.trophy-hint-form[hidden],.bbcode-popover[hidden],.bbcode-help[hidden]{display:none!important}.bbcode-editor{border:1px solid var(--border);border-radius:9px;background:var(--panel);overflow:visible}.bbcode-editor-header{position:relative;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:4px 7px;border-bottom:1px solid var(--border)}.bbcode-editor-tabs{display:flex;flex:0 0 auto;gap:2px}.bbcode-editor-tab,.bbcode-toolbar button{border:0;background:transparent;color:var(--muted);font:inherit;cursor:pointer}.bbcode-editor-tab{padding:5px 8px;font-size:.8rem;border-bottom:2px solid transparent}.bbcode-editor-tab:hover,.bbcode-editor-tab:focus-visible,.bbcode-editor-tab.is-active{color:var(--text);border-bottom-color:var(--accent)}.bbcode-toolbar{display:flex;align-items:center;flex:1;flex-wrap:wrap;gap:3px;min-width:0}.bbcode-toolbar button{min-height:28px;padding:0 8px;border-radius:6px;font-size:.76rem}.bbcode-toolbar button:hover,.bbcode-toolbar button:focus-visible{color:var(--accent);background:var(--panel2)}.bbcode-toolbar [data-bbcode-action="b"]{font-weight:700}.bbcode-toolbar [data-bbcode-action="i"]{font-style:italic}.bbcode-toolbar [data-bbcode-action="u"]{text-decoration:underline}.bbcode-toolbar [data-bbcode-action="s"]{text-decoration:line-through}.bbcode-toolbar-separator{width:1px;height:18px;margin:0 3px;background:var(--border)}.bbcode-popover{position:absolute;z-index:20;top:calc(100% + 6px);right:8px;display:flex;align-items:end;flex-wrap:wrap;gap:6px;width:min(380px,calc(100vw - 32px));margin:0;padding:8px;background:var(--panel2);border:1px solid var(--border);border-radius:8px;box-shadow:0 10px 24px rgba(0,0,0,.24)}.bbcode-popover label{color:var(--muted);font-size:.75rem}.bbcode-popover input{min-width:0;flex:1;padding:6px 8px;border:1px solid var(--border);border-radius:6px;background:var(--panel);color:var(--text)}.bbcode-popover .button{padding:5px 8px;font-size:.75rem}.bbcode-help{position:absolute;z-index:20;top:calc(100% + 6px);right:8px;max-width:min(330px,calc(100vw - 32px));margin:0;padding:8px 10px;color:var(--muted);font-size:.75rem;line-height:1.5;background:var(--panel2);border:1px solid var(--border);border-radius:7px;box-shadow:0 10px 24px rgba(0,0,0,.24)}.bbcode-help strong{display:block;margin-bottom:3px;color:var(--text)}.trophy-hint-form textarea{display:block;width:100%;box-sizing:border-box;min-height:140px;height:150px;padding:11px;border:0;border-radius:0;background:transparent;color:var(--text);font:inherit;line-height:1.5;resize:vertical}.trophy-hint-form textarea:focus{outline:2px solid var(--accent);outline-offset:-2px}.bbcode-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;box-sizing:border-box;padding:8px 12px;border-top:1px solid var(--border)}.bbcode-editor-footer .trophy-hint-help{margin:0}.bbcode-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.bbcode-editor-actions .button{min-height:36px}.bbcode-counter{color:var(--muted);font-size:.74rem;white-space:nowrap}.bbcode-counter.is-near-limit{color:#f1c45c}.trophy-hint-form button[type="submit"]:disabled{opacity:.45;cursor:not-allowed}.bbcode-editor [data-bbcode-preview]{min-height:140px;height:150px;box-sizing:border-box;padding:11px;background:transparent;line-height:1.55;overflow:auto;overflow-wrap:anywhere}.trophy-hint-form [data-bbcode-preview] img{max-width:100%;height:auto}.trophy-hint-form [data-bbcode-preview] .bbcode-spoiler{margin:8px 0}
.trophy-hint-form .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}
.trophy-detail-page{max-width:1100px;margin:38px auto 0}
.trophy-detail-back{display:inline-block;margin-bottom:18px;color:var(--muted);font-size:.85rem;text-decoration:none}
.trophy-detail-back:hover,.trophy-detail-back:focus-visible{color:var(--text)}
.trophy-detail-card,.trophy-hints{padding:22px;background:rgba(20,25,35,.86);border:1px solid var(--border);border-radius:14px}
.trophy-detail-heading{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:start;gap:18px}
.trophy-detail-icon{width:76px;height:76px;border-radius:12px;object-fit:cover;background:var(--panel2)}
.trophy-detail-copy{min-width:0}.trophy-detail-copy h2{margin:0;font-size:clamp(1.35rem,3vw,2rem);overflow-wrap:anywhere}.trophy-detail-copy p{margin:8px 0 0;color:var(--muted);line-height:1.55;white-space:pre-wrap}
.trophy-detail-award{display:flex;min-width:150px;flex-direction:column;align-items:flex-end;gap:8px}.trophy-detail-earned{color:var(--accent)!important;font-weight:800!important}.trophy-detail-cup{display:block;width:auto;height:42px;max-width:48px;object-fit:contain}
.trophy-hints{margin-top:24px}.trophy-hints-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.trophy-hints-heading h2{margin:0;font-size:1.25rem}.trophy-hints-heading span{color:var(--muted);font-size:.85rem}.trophy-hints-empty,.trophy-hint-login,.trophy-hint-help{color:var(--muted);font-size:.88rem}.trophy-inline-panel .trophy-hints-empty{margin:8px 0 14px}.trophy-hints-list{display:grid;gap:12px;margin-top:16px}.trophy-hint{padding:14px 16px;background:var(--panel);border:1px solid var(--border);border-radius:10px}.trophy-hint header{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.8rem}.trophy-hint-body{margin-top:10px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.trophy-hint-body a{color:var(--accent);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;font-weight:600}.trophy-hint-body a:hover{color:#b8ffdc}.trophy-hint-body img{max-width:100%;height:auto}.bbcode-quote{margin:10px 0;padding:8px 12px;border-left:3px solid var(--accent);color:var(--muted)}.bbcode-spoiler{margin:10px 0;padding:8px 10px;background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:8px}.bbcode-spoiler summary{cursor:pointer;color:var(--accent);font-weight:700}.trophy-hint-notice{margin:14px 0;padding:10px 12px;border:1px solid rgba(138,240,194,.35);border-radius:8px;color:var(--accent)}.trophy-hint-notice.is-error{color:#ff9b9b;border-color:rgba(255,120,120,.35)}.trophy-hints-pending{margin-top:18px;padding-top:14px;border-top:1px solid var(--border)}.trophy-hints-pending h3,.trophy-hint-form h3{margin:0 0 10px;font-size:1rem}.trophy-hints-pending article{padding:10px;background:rgba(255,196,92,.08);border:1px solid rgba(255,196,92,.28);border-radius:8px}.trophy-hints-pending article span{color:#f1c45c;font-size:.78rem;font-weight:700}.trophy-hints-pending p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.trophy-hint-form label{color:var(--muted);font-size:.85rem}.trophy-hint-form textarea:focus{outline:2px solid var(--accent);outline-offset:-2px}
.trophy-row--unearned .trophy-icon{opacity:.62;filter:saturate(.65)}
.trophy-row--unearned .trophy-content{opacity:.78}
.trophy-earned-at{color:var(--muted);font-size:.75rem}
.trophy-entry{display:grid;gap:5px;scroll-margin-top:20px}.trophy-hint-trigger{display:inline-flex;align-items:center;justify-self:start;gap:7px;min-height:30px;padding:4px 9px;border:1px solid rgba(135,168,255,.22);border-radius:8px;background:rgba(135,168,255,.045);color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease,transform .15s ease}.trophy-hint-trigger__icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.trophy-hint-trigger:hover,.trophy-hint-trigger:focus-visible,.trophy-hint-trigger[aria-expanded="true"]{border-color:rgba(138,240,194,.58);background:rgba(138,240,194,.09);color:var(--accent);transform:translateY(-1px)}.trophy-hint-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.trophy-entry .trophy-panel-host{margin:4px 0 9px}.trophy-entry .trophy-inline-panel{margin:0}.trophy-hint-items{display:grid;gap:5px;width:100%;min-width:0;box-sizing:border-box;margin-top:7px}.trophy-hint-item{width:100%;min-width:0}.trophy-hint-summary{display:flex;align-items:center;gap:8px;width:100%;box-sizing:border-box;min-height:32px;padding:4px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font:inherit;font-size:.78rem;text-align:left;cursor:pointer}.trophy-hint-summary:hover,.trophy-hint-summary:focus-visible,.trophy-hint-item.is-open .trophy-hint-summary{border-color:rgba(141,245,194,.24);background:rgba(141,245,194,.06);color:var(--accent)}.trophy-hint-summary:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.trophy-hint-summary .trophy-hint-trigger__icon{width:15px;height:15px;flex:0 0 15px}.trophy-hint-chevron{width:15px;height:15px;margin-left:auto;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;transition:transform .15s ease}.trophy-hint-item.is-open .trophy-hint-chevron{transform:rotate(180deg)}.trophy-hint-content{width:100%;max-width:none;box-sizing:border-box;padding:8px 10px 10px 31px;color:var(--text);line-height:1.55;overflow-wrap:anywhere}.trophy-hint-inline-meta{margin-bottom:5px;color:var(--muted);font-size:.72rem}.trophy-hint-add{margin-top:6px}
.trophy-row--unearned .trophy-type-cup{opacity:.42;filter:grayscale(.75) saturate(.35)}.trophy-row--earned .trophy-type-cup{opacity:1;filter:drop-shadow(0 0 4px rgba(255,255,255,.16))}.trophy-hint-add-sign{display:inline-flex;align-items:center;justify-content:center;width:18px;flex:0 0 18px;font-size:24px;font-weight:300;line-height:1;color:currentColor}
.trophy-toolbar-popover-wrap{position:relative;display:inline-flex}.trophy-hint-rich-editor{min-height:150px;height:150px;box-sizing:border-box;padding:11px;color:var(--text);line-height:1.5;overflow:auto;outline:none;white-space:pre-wrap;overflow-wrap:anywhere}.trophy-hint-rich-editor:empty::before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.trophy-hint-rich-editor strong{font-weight:800}.trophy-hint-rich-editor blockquote{margin:8px 0;padding:6px 10px;border-left:3px solid var(--accent);background:rgba(255,255,255,.04);color:var(--muted)}.trophy-hint-rich-editor .bbcode-editor-spoiler{display:inline-block;min-width:160px;min-height:32px;margin:3px 0;padding:5px 10px;box-sizing:border-box;vertical-align:middle;border:1px dashed var(--accent);border-radius:6px;background:rgba(138,240,194,.06);color:var(--muted)}.trophy-hint-rich-editor .bbcode-editor-spoiler:empty::before{content:'Введите скрытый текст…';color:var(--muted);opacity:.72;pointer-events:none}.trophy-hint-rich-editor ul{margin:6px 0;padding-left:22px}.trophy-hint-rich-editor a{color:var(--accent);text-decoration:underline}.trophy-hint-rich-editor img{display:block;max-width:320px;max-height:220px;width:auto;height:auto;margin:6px 0;object-fit:contain}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover{top:calc(100% + 6px);right:auto;left:0;width:340px;max-width:calc(100vw - 32px)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover[hidden]{display:none!important}.bbcode-editor-body textarea[hidden]{display:none!important}
.bbcode-toolbar-popover-wrap{position:relative;display:inline-flex}.bbcode-toolbar .trophy-rich-tool.is-active{background:rgba(138,240,194,.12);color:var(--accent);box-shadow:inset 0 -1px 0 var(--accent)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover{display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:10px;top:calc(100% + 8px);left:50%;right:auto;transform:translateX(-50%);width:330px;max-width:calc(100vw - 32px)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover label{font-size:.76rem;color:var(--muted)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover input{width:100%;box-sizing:border-box}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover>[data-bbcode-popover-actions]{display:flex;justify-content:flex-end;gap:7px}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-insert]{border:1px solid rgba(138,240,194,.65);background:var(--accent);color:#08110f;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-insert]:hover{background:#9af5c9;border-color:#b8ffdc;box-shadow:0 4px 12px rgba(138,240,194,.16);transform:translateY(-1px)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-insert]:active{background:#82e9b7;transform:translateY(0)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-popover-cancel]{border:1px solid rgba(150,170,210,.3);background:transparent;color:var(--muted);transition:background .15s ease,border-color .15s ease,transform .15s ease}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-popover-cancel]:hover{background:rgba(150,170,210,.12);border-color:rgba(180,200,230,.55);color:var(--text);transform:translateY(-1px)}.bbcode-editor-header .bbcode-toolbar-popover-wrap .bbcode-popover [data-bbcode-popover-cancel]:active{transform:translateY(0)}.bbcode-toolbar [data-bbcode-action].is-disabled{opacity:.45;cursor:not-allowed}.bbcode-toolbar [data-bbcode-action].is-disabled:hover,.bbcode-toolbar [data-bbcode-action].is-disabled:focus-visible{background:transparent;color:var(--muted)}

@media (max-width: 640px){
    .trophy-personal-summary-heading{align-items:flex-start;flex-direction:column;gap:3px}
    .trophy-title-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
    .trophy-award{min-width:0;gap:4px}
    .trophy-earned-date{white-space:nowrap}
    .trophy-type-cup{height:34px;max-width:38px}
    .trophy-detail-page{margin-top:24px}.trophy-detail-card,.trophy-hints{padding:14px}.trophy-detail-heading{grid-template-columns:56px minmax(0,1fr);gap:12px}.trophy-detail-icon{width:56px;height:56px}.trophy-detail-award{grid-column:2;align-items:flex-start;min-width:0}.trophy-detail-award .trophy-user-state{white-space:normal}.trophy-hint header{align-items:flex-start;flex-direction:column;gap:3px}
    .bbcode-editor-header{align-items:stretch;gap:2px}.bbcode-editor-tabs{width:100%}.bbcode-toolbar{flex-basis:100%;padding-bottom:3px}.bbcode-editor-footer{align-items:flex-start;flex-direction:column}.bbcode-editor-actions{width:100%;justify-content:flex-end}.trophy-hint-form textarea,.bbcode-editor [data-bbcode-preview],.trophy-hint-rich-editor{min-height:140px;height:140px}.bbcode-popover{left:7px;right:7px;width:auto}
}
.trophy-top-summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;margin-top:20px}.trophy-top-summary .trophy-page-summary{display:flex;align-items:center;gap:18px;width:100%;margin:0;padding:12px 16px;background:var(--panel);border:1px solid var(--border);border-radius:10px}.trophy-top-summary .trophy-page-summary h2,.trophy-top-versions h2{margin:0;color:var(--text);font-size:.8rem;letter-spacing:.12em}.trophy-top-summary .trophy-page-summary-items{display:flex;align-items:center;gap:16px;min-width:0}.trophy-top-summary .trophy-summary-item{display:inline-flex;align-items:center;gap:5px}.trophy-top-summary .trophy-summary-cup{display:grid;place-items:center;width:25px;height:25px}.trophy-top-summary .trophy-summary-cup img{display:block;width:25px;height:25px;object-fit:contain}.trophy-top-summary .trophy-summary-item strong{font-size:1rem;color:var(--text)}.trophy-top-summary .trophy-page-summary-total{margin-left:auto;color:var(--muted);font-size:.8rem;white-space:nowrap}.trophy-top-versions{display:grid;gap:8px;min-width:150px}.trophy-top-versions h2{color:var(--muted);font-size:.72rem}.trophy-top-versions .game-related-versions-list{gap:7px}.trophy-top-versions .game-related-version{min-width:0;padding:8px 11px}.trophy-personal-summary{display:grid;gap:11px;margin-top:14px;padding:13px 16px}.trophy-personal-summary-heading{align-items:center;margin:0;letter-spacing:.08em}.trophy-personal-summary-heading>div{display:grid;gap:2px}.trophy-personal-summary-heading>div>span{color:var(--muted);font-size:.76rem}.trophy-personal-summary-heading>div>strong{color:var(--text);font-size:.9rem;letter-spacing:0}.trophy-personal-summary-heading>b{color:var(--accent);font-size:1.7rem;line-height:1;letter-spacing:0}.trophy-personal-progress{height:5px;overflow:hidden;border-radius:99px;background:var(--border)}.trophy-personal-progress span{display:block;height:100%;border-radius:inherit;background:var(--accent);transition:width .2s ease}.trophy-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px}.trophy-list-heading h2{margin:0;color:var(--text);font-size:.82rem;letter-spacing:.12em}.trophy-list-heading span{color:var(--muted);font-size:.8rem}@media(max-width:900px){.trophy-top-summary{grid-template-columns:1fr}.trophy-top-versions{min-width:0}.trophy-top-versions .game-related-versions-list{flex-wrap:wrap}}@media(max-width:640px){.trophy-top-summary .trophy-page-summary{align-items:flex-start;flex-wrap:wrap;gap:10px 14px;padding:12px}.trophy-top-summary .trophy-page-summary h2{flex:0 0 auto}.trophy-top-summary .trophy-page-summary-items{flex:1 1 100%;justify-content:space-between;gap:8px}.trophy-top-summary .trophy-page-summary-total{margin-left:0}.trophy-top-summary .trophy-summary-item{gap:4px}.trophy-top-summary .trophy-summary-cup,.trophy-top-summary .trophy-summary-cup img{width:22px;height:22px}.trophy-personal-summary{padding:12px}.trophy-personal-summary-heading>b{font-size:1.5rem}}

/* Compact three-column trophy overview. */
.trophy-overview{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);gap:24px;margin-top:20px;align-items:start}
.trophy-overview.has-community{grid-template-columns:minmax(180px,220px) minmax(0,1fr) minmax(260px,320px)}
.trophy-overview-cover{min-width:0}
.trophy-overview-cover .game-cover{width:min(100%,220px);margin:0 auto}
.trophy-overview-main{display:grid;gap:14px;min-width:0}
.trophy-overview-section,.trophy-overview-community{min-width:0;padding:16px 18px;background:rgba(20,25,35,.62);border:1px solid var(--border);border-radius:10px}.trophy-overview-empty{display:flex;align-items:center;min-height:100px;margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}
.trophy-overview-section h2,.trophy-overview-community h2{margin:0;color:var(--text);font-size:.8rem;letter-spacing:.12em}
.trophy-overview .trophy-page-summary{display:grid;gap:12px;margin:0;width:auto}
.trophy-overview .trophy-page-summary-items{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px}
.trophy-overview .trophy-summary-item{display:inline-flex;align-items:center;gap:6px}
.trophy-overview .trophy-summary-cup,.trophy-overview .trophy-summary-cup img{width:27px;height:27px}
.trophy-overview .trophy-summary-cup img{display:block;object-fit:contain}
.trophy-overview .trophy-summary-item strong{color:var(--text);font-size:1.05rem}
.trophy-overview .trophy-page-summary-total{margin:0;color:var(--muted);font-size:.82rem}
.trophy-overview .trophy-personal-summary{margin:0;padding:16px 18px}
.trophy-overview .trophy-top-versions{display:grid;gap:10px;min-width:0}
.trophy-overview .trophy-top-versions .game-related-versions-list{gap:8px}
.trophy-overview .trophy-top-versions .game-related-version{min-width:0;padding:8px 11px}
.trophy-overview-community{display:grid;gap:14px}
.trophy-community-stats{display:grid;gap:0}
.trophy-community-stats div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid rgba(255,255,255,.08)}
.trophy-community-stats div:first-child{padding-top:0;border-top:0}
.trophy-community-stats span{color:var(--muted);font-size:.82rem}
.trophy-community-stats strong{color:var(--text);font-size:1.15rem;white-space:nowrap}
@media (max-width:1024px){.trophy-overview.has-community{grid-template-columns:minmax(160px,190px) minmax(0,1fr)}.trophy-overview-community{grid-column:1 / -1}}
@media (max-width:640px){.trophy-overview,.trophy-overview.has-community{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}.trophy-overview-cover .game-cover{width:min(160px,55vw)}.trophy-overview-section,.trophy-overview-community{padding:14px}.trophy-overview-community{grid-column:auto}.trophy-overview .trophy-page-summary-items{gap:10px 14px}.trophy-overview .trophy-summary-cup,.trophy-overview .trophy-summary-cup img{width:24px;height:24px}}

.game-section-nav{align-items:stretch;gap:18px}
@media(max-width:768px){.game-section-nav{gap:16px;overflow-x:auto}}

/* Compact segmented version control and bounded trophy summary. */
.game-version-switcher{display:inline-flex;align-items:stretch;gap:0;margin-left:auto;align-self:center;overflow:hidden;border:1px solid var(--border);border-radius:6px;background:rgba(20,25,35,.45);flex:0 0 auto}
.game-section-nav .game-version-switcher-option{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 11px;border-bottom:0;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.08em;text-decoration:none;white-space:nowrap;transition:background-color .16s ease,color .16s ease}
.game-version-switcher-option+.game-version-switcher-option{border-left:1px solid var(--border)}
.game-version-switcher-option:hover,.game-version-switcher-option:focus-visible{background:rgba(141,245,194,.07);color:var(--text)}
.game-section-nav .game-version-switcher-option.is-active{background:rgba(141,245,194,.12);border-bottom:0;color:var(--accent)}
.game-version-switcher-option:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.trophy-overview{width:100%;max-width:none;grid-template-columns:minmax(0,1fr)}
.trophy-overview.has-community{grid-template-columns:minmax(0,1fr) minmax(260px,320px)}
.trophy-overview .trophy-page-summary,.trophy-overview .trophy-personal-summary{padding-top:13px;padding-bottom:13px}
.trophy-overview .trophy-page-summary-items{gap:10px 24px;justify-content:flex-start}
.trophy-overview .trophy-summary-item{display:inline-flex;align-items:center;gap:4px;margin:0;min-width:0;justify-content:flex-start}
.trophy-overview .trophy-summary-item strong{margin:0}
.trophy-overview .trophy-summary-cup,.trophy-overview .trophy-summary-cup img{width:25px;height:25px}
.trophy-overview .trophy-page-summary{gap:9px}
.trophy-overview .trophy-page-summary-total{margin-left:4px}
.trophy-overview .trophy-personal-summary{gap:8px}
.trophy-overview .trophy-personal-summary>h2{margin:0;color:var(--text);font-size:.8rem;letter-spacing:.12em}
.trophy-progress-rows{display:grid;gap:13px}
.trophy-progress-row{display:grid;gap:4px}
.trophy-progress-row-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.trophy-progress-row-heading strong{color:var(--text);font-size:.78rem}
.trophy-progress-row-heading b{color:var(--text);font-size:.84rem}
.trophy-progress-row-heading b.is-complete{color:var(--accent)}
.trophy-progress-row-count{color:var(--muted);font-size:.74rem}
.trophy-overview .trophy-progress-row .trophy-personal-progress{height:5px;margin-top:2px}
.trophy-overview{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
.trophy-overview.has-community{grid-template-columns:repeat(4,minmax(0,1fr))}
.trophy-overview{width:100%;max-width:none;gap:24px}
.trophy-overview>.trophy-overview-section,.trophy-overview>.trophy-overview-community{height:100%;box-sizing:border-box}
.trophy-overview .trophy-count-item{display:inline-flex;align-items:center;gap:4px;width:auto;min-width:0;justify-content:flex-start}
.trophy-overview .trophy-count-item .trophy-summary-cup{display:block;flex:0 0 auto;margin:0 -4px 0 0;padding:0}
.trophy-overview .trophy-count-item .trophy-summary-cup img{display:block;flex:0 0 auto;margin:0;padding:0}
.trophy-overview .trophy-count-item strong{margin:0;padding:0}
.trophy-overview .trophy-page-summary-items{column-gap:20px;row-gap:10px;justify-content:flex-start}
.trophy-overview>.trophy-overview-section>h2,.trophy-overview>.trophy-overview-community>h2{text-align:center;height:1.1rem;margin-bottom:12px}
.trophy-overview .trophy-page-summary-items{grid-template-columns:repeat(2,minmax(0,1fr));display:grid;gap:10px 12px}
.trophy-overview .trophy-count-item{justify-content:center}
.trophy-overview .trophy-page-summary-total{display:block;text-align:center}
.trophy-breakdown-table{display:grid;gap:7px;margin:0 auto;width:min(100%,210px)}
.trophy-breakdown-row{display:grid;grid-template-columns:28px 1fr;align-items:center;column-gap:10px;min-height:25px}
.trophy-breakdown-table.has-dlc .trophy-breakdown-row{grid-template-columns:28px repeat(2,minmax(0,1fr));column-gap:8px}
.trophy-breakdown-heading{min-height:18px;color:var(--muted);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-align:center}
.trophy-breakdown-heading span:first-child{text-align:left}
.trophy-breakdown-icon{display:flex;align-items:center;justify-content:center;width:28px;height:25px}
.trophy-breakdown-icon img{display:block;width:25px;height:25px;object-fit:contain}
.trophy-breakdown-row>strong{text-align:center;color:var(--text);font-size:.9rem}
.trophy-breakdown-totals{margin-top:3px;padding-top:6px;border-top:1px solid rgba(255,255,255,.08)}
.trophy-breakdown-totals>span{color:var(--muted);font-size:.72rem;text-align:left}
.trophy-rarity-stats{display:grid;gap:10px;margin-top:8px}
.trophy-rarity-stats div{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:.78rem}
.trophy-rarity-stats strong{color:var(--text);font-size:1rem}
@media(max-width:1024px){.trophy-overview,.trophy-overview.has-community{grid-template-columns:repeat(2,minmax(0,1fr))}.trophy-overview-community{grid-column:auto}}
@media(max-width:640px){.game-version-switcher-option{min-height:30px;padding:0 9px}.trophy-overview,.trophy-overview.has-community{grid-template-columns:minmax(0,1fr);width:100%;max-width:none}.trophy-overview-community{grid-column:auto}.trophy-overview .trophy-page-summary-items{column-gap:20px;row-gap:10px}.trophy-overview .trophy-page-summary-total{margin-left:0}}

/* Profile content follows the existing game container edge-to-edge. */
.game-description-section{width:100%;max-width:none}
.game-description-section .game-description{width:100%;max-width:none}

.game-comments-page{width:100%;max-width:100%;margin-top:24px}
.game-comments-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.game-comments-heading h2{margin:0;color:var(--text);font-size:.86rem;letter-spacing:.12em}
.game-comments-heading>span{color:var(--muted);font-size:.8rem}
.game-comment-form{display:grid;gap:9px;max-width:760px;padding:16px 18px;background:rgba(20,25,35,.62);border:1px solid var(--border);border-radius:10px}
.game-comment-form label{color:var(--muted);font-size:.8rem}
.game-comment-form textarea,.game-comment-actions textarea{box-sizing:border-box;width:100%;min-height:86px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--panel2);color:var(--text);font:inherit;line-height:1.5;resize:vertical}
.game-comment-form textarea:focus,.game-comment-actions textarea:focus{border-color:var(--accent);outline:2px solid rgba(141,245,194,.16);outline-offset:1px}
.game-comment-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.game-comment-form-actions small{color:var(--muted);font-size:.72rem}
.guest-auth-message{margin:22px 0 0;color:var(--muted);font-size:.9rem;line-height:1.5}.guest-auth-message a{display:inline;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;min-height:0;width:auto;color:var(--accent);font:inherit;font-weight:600;text-decoration:none;cursor:pointer;appearance:none}.guest-auth-message a:hover{background:none;color:var(--text);text-decoration:underline;text-underline-offset:3px}.guest-auth-message a:focus-visible{background:none;outline:2px solid var(--accent);outline-offset:2px}.guest-auth-message--trophy{margin-top:6px}
.game-comments-notice{max-width:760px;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:rgba(20,25,35,.62)}
.game-comments-notice{margin:0 0 14px}.game-comments-notice--success{color:var(--accent);border-color:rgba(141,245,194,.35)}.game-comments-notice--error{color:#ff9b9b;border-color:rgba(255,120,120,.35)}
.game-comments-list{display:grid;gap:12px;max-width:900px;margin-top:22px}.game-comments-empty{color:var(--muted)}
.game-comment{padding:15px 0;border-top:1px solid var(--border)}.game-comment-meta{display:flex;align-items:center;gap:10px}.game-comment-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;overflow:hidden;border-radius:50%;background:rgba(141,245,194,.1);color:var(--accent);font-weight:800}.game-comment-avatar .user-avatar-image{display:block;width:100%;height:100%;object-fit:cover}.game-comment-meta>div{display:grid;gap:2px}.game-comment-meta strong{color:var(--text);font-size:.9rem}.game-comment-meta time,.game-comment-meta small{color:var(--muted);font-size:.72rem}.game-comment-body{margin:11px 0 0 52px;color:var(--text);line-height:1.6;overflow-wrap:anywhere}.game-comment-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:10px;margin:10px 0 0 52px}.game-comment-actions details{max-width:520px;width:min(100%,520px)}.game-comment-actions summary,.game-comment-actions .link-button{color:var(--muted);font-size:.76rem;cursor:pointer}.game-comment-actions details[open] summary{margin-bottom:8px;color:var(--accent)}.game-comment-actions form{margin:0}.game-comment-actions details form{display:grid;gap:7px}.game-comment-actions details textarea{min-height:68px}.game-comment-actions .button{min-height:34px;padding:0 12px;font-size:.78rem}.game-comments-pagination{display:flex;align-items:center;gap:14px;margin-top:20px;color:var(--muted);font-size:.8rem}.game-comments-pagination a{color:var(--accent);text-decoration:none}.game-comments-pagination a:hover{text-decoration:underline}
@media(max-width:640px){.game-comment-body,.game-comment-actions{margin-left:0}.game-comment-actions{justify-content:flex-start;flex-wrap:wrap}.game-comment-form-actions{align-items:stretch;flex-direction:column}.game-comment-form-actions .button{width:100%}}

/* Compact comments UI: keep every comment control in the same content column. */
.game-comment-form{max-width:900px;padding:14px 16px;gap:8px}
.game-comment-form textarea{min-height:96px;height:96px}
.game-comment-form-actions{margin-top:1px}.game-comment-form-actions .button{width:auto;min-width:124px;min-height:36px;padding:0 16px}
.game-comments-notice{max-width:900px;padding:10px 12px}
.game-comment{display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:10px;padding:14px 0}
.game-comment-avatar-column{grid-column:1;grid-row:1;min-width:0}
.game-comment-content{grid-column:2;grid-row:1;min-width:0}
.game-comment-header{display:flex;align-items:center;gap:10px;width:100%;min-width:0}.game-comment-meta{display:flex;align-items:baseline;gap:10px;min-width:0;flex-wrap:wrap}.game-comment-meta>div{display:contents}
.game-comment-meta strong{font-size:.9rem}.game-comment-meta time{font-size:.72rem}
.game-comment-body{margin:10px 0 0;color:var(--text);line-height:1.55}
.game-comment-actions{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin:0 0 0 auto;flex:0 0 auto}
.game-comment-header.is-editing{align-items:flex-start;flex-wrap:wrap}.game-comment-header.is-editing .game-comment-actions{flex:1 1 100%;margin-left:0}
.game-comment-actions details{width:auto;max-width:none}.game-comment-actions summary{color:var(--accent);font-size:.76rem;cursor:pointer;list-style:none}.game-comment-actions summary::-webkit-details-marker{display:none}.game-comment-actions summary::marker{content:""}.game-comment-actions details[open] summary{margin-bottom:8px}
.game-comment-actions details form{width:100%;min-width:0;gap:7px}.game-comment-actions details textarea{width:100%;min-width:0;min-height:76px;height:76px}
.game-comment-edit-actions{display:flex;justify-content:flex-end;gap:8px}.game-comment-edit-actions .button{width:auto;min-width:116px;min-height:34px;padding:0 13px;font-size:.78rem}
.game-comment-cancel,.game-comment-delete{padding:0;border:0;background:transparent;font:inherit;font-size:.76rem;cursor:pointer}.game-comment-cancel{color:var(--muted)}.game-comment-cancel:hover{color:var(--text)}.game-comment-delete{color:#d99494}.game-comment-delete:hover{color:#ff9b9b;text-decoration:underline}
.game-comment-actions details[open]{flex:1 1 100%;width:100%;max-width:none}.game-comment-actions details[open]~form{display:none}.game-comment-actions details[open] summary{margin-bottom:8px}.game-comment-actions details[open] form{width:100%;max-width:none;box-sizing:border-box}.game-comment-actions details[open] textarea{display:block;width:100%;box-sizing:border-box;min-width:0;min-height:96px;height:96px}.game-comment-edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:10px}.game-comment-edit-actions .button{width:auto;min-width:124px;max-width:none}.game-comment-counter{color:var(--muted);font-size:.74rem}
@media(max-width:640px){.game-comment{grid-template-columns:42px minmax(0,1fr);column-gap:9px}.game-comment-actions{align-items:flex-start;flex-wrap:wrap}.game-comment-edit-actions{justify-content:flex-start;flex-wrap:wrap}.game-comment-form-actions{align-items:center;flex-direction:row}.game-comment-form-actions .button{width:auto}}

/* Final comment controls: shared primary geometry/states and a real secondary cancel button. */
.game-comment-primary-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:42px;min-height:42px;padding:0 20px;border:1px solid transparent;border-radius:7px;font:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease}
.game-comment-primary-button:hover{transform:translateY(-1px);filter:brightness(1.08)}
.game-comment-primary-button:active{transform:translateY(0);filter:brightness(.96)}
.game-comment-primary-button:focus-visible,.game-comment-secondary-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 3px rgba(141,245,194,.16)}
.game-comment-primary-button:disabled,.game-comment-secondary-button:disabled{cursor:not-allowed;opacity:.6}
.game-comment-secondary-button{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;height:42px;min-height:42px;padding:0 16px;border:1px solid var(--border);border-radius:7px;background:rgba(20,25,35,.62);color:var(--muted);font:inherit;font-size:15px;font-weight:600;line-height:1.2;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}
.game-comment-secondary-button:hover{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:var(--text)}
.game-comment-secondary-button:active{background:rgba(0,0,0,.16);transform:translateY(0)}
.game-comment-actions summary:hover{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
.game-comment-delete:hover{color:#ff9b9b;text-decoration:underline;text-underline-offset:2px}

.game-comment-actions{gap:6px}
.game-comment-action-button,.game-comment-edit-trigger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease}
.game-comment-action-button:hover,.game-comment-edit-trigger:hover{transform:none}
.game-comment-edit-trigger:hover{border-color:rgba(141,245,194,.28);background:rgba(141,245,194,.1);color:var(--accent)}
.game-comment-action-button.game-comment-delete:hover{border-color:rgba(255,120,120,.28);background:rgba(255,120,120,.08);color:#ff9b9b;text-decoration:none}
.game-comment-action-button:active,.game-comment-edit-trigger:active{transform:translateY(1px)}
.game-comment-action-button:focus-visible,.game-comment-edit-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 3px rgba(141,245,194,.16)}
.game-comment-action-icon{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}

/* Final comment button geometry: edit actions stay compact and aligned. */
.game-comment-form-actions .game-comment-primary-button{width:auto}
.game-comment-edit-buttons .game-comment-primary-button,.game-comment-edit-buttons .game-comment-secondary-button{width:auto;min-width:0;padding:0 14px}
.game-comment-form-actions .game-comment-primary-button{height:38px;min-height:38px;padding:0 18px;font-size:14px;font-weight:600}

/* Auto-growing comment fields and compact edit footer. */
.game-comment-form textarea[data-autogrow],.game-comment-actions textarea[data-autogrow]{resize:none;overflow-y:hidden;max-height:400px}
.game-comment-form textarea[data-autogrow]{min-height:92px;height:92px}
.game-comment-actions details[open] summary{display:none}
.game-comment-actions details[open] textarea[data-autogrow]{min-height:72px;height:72px}
.game-comment-edit-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}
.game-comment-edit-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}
@media(max-width:640px){.game-comment-edit-actions{align-items:flex-start;flex-wrap:wrap}.game-comment-edit-buttons{margin-left:0}}

/* Inline published trophy hints. */
.trophy-hint-body img[src^="/uploads/hints/"]{display:inline-block;width:auto;max-width:240px;max-height:160px;margin:4px 6px;height:auto;object-fit:contain;vertical-align:middle;cursor:zoom-in}
.trophy-hint-rich-editor{min-height:220px;height:auto;max-height:700px;overflow-y:auto;overflow-x:hidden}.trophy-hint-rich-editor img{display:inline-block;width:auto;max-width:180px;max-height:120px;margin:4px 6px;height:auto;object-fit:contain;vertical-align:middle}.bbcode-editor-body--image-selection{position:relative}.bbcode-editor-body--image-selection .bbcode-image-delete-control{position:absolute;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:7px;background:rgba(20,26,40,.94);color:var(--muted);cursor:pointer;box-sizing:border-box}.bbcode-editor-body--image-selection .bbcode-image-delete-control:hover{border-color:rgba(255,120,120,.55);background:rgba(110,28,36,.9);color:#ff9b9b}.bbcode-editor-body--image-selection .bbcode-image-delete-control:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.bbcode-editor-body--image-selection .bbcode-image-delete-control svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.trophy-hint-rich-editor img.is-selected{outline:2px solid var(--accent);outline-offset:2px}
.bbcode-popover .bbcode-upload-preview{display:block;max-width:180px;max-height:120px;width:auto;height:auto;object-fit:contain;border-radius:6px}.bbcode-upload-status{display:block;min-height:1.2em;color:var(--muted);font-size:.75rem;overflow-wrap:anywhere}.bbcode-upload-remove{padding:4px 8px;font-size:.75rem}@media(max-width:640px){.trophy-hint-body img[src^="/uploads/hints/"]{max-width:100%}}
.trophy-hint-lightbox{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:5vh 5vw;background:rgba(4,7,12,.88);cursor:zoom-out}.trophy-hint-lightbox img{display:block;max-width:90vw;max-height:90vh;width:auto;height:auto;object-fit:contain;cursor:zoom-out}.trophy-hint-lightbox-close{position:absolute;top:18px;right:22px;width:36px;height:36px;border:0;background:transparent;color:#fff;font-size:30px;line-height:1;cursor:pointer}.trophy-hint-lightbox-close:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.trophy-hint-body .bbcode-spoiler{display:inline;width:auto;max-width:100%;box-sizing:border-box;margin:0;border:0;background:transparent;border-radius:0;padding:0;vertical-align:baseline}.trophy-hint-body .bbcode-spoiler-trigger{display:inline;width:auto;max-width:100%;margin-right:6px;padding:0;border:0;background:none;color:var(--accent);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;cursor:pointer}.trophy-hint-body .bbcode-spoiler-trigger:hover,.trophy-hint-body .bbcode-spoiler-trigger:focus-visible{color:#b8ffdc}.trophy-hint-body .bbcode-spoiler-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.trophy-hint-body .bbcode-spoiler-content{display:inline;max-width:100%;margin-right:4px;padding:1px 4px;white-space:normal;overflow-wrap:anywhere;background:rgba(138,240,194,.05);border-radius:4px;cursor:pointer}.trophy-hint-body .bbcode-spoiler-content:hover{background:rgba(138,240,194,.1)}.trophy-hint-body .bbcode-spoiler-content[hidden],.trophy-hint-body .bbcode-spoiler-trigger[hidden]{display:none!important}

.trophy-hint-edit-form .trophy-hint-edit-editor{width:100%;box-sizing:border-box}.trophy-hint-edit-editor .trophy-hint-rich-editor{min-height:220px;height:auto;max-height:700px;overflow-y:auto;overflow-x:hidden}.trophy-hint-edit-form .trophy-hint-edit-actions{margin-top:8px}.trophy-hint-edit-form .trophy-hint-form-cancel:hover{background:rgba(150,170,210,.14);border-color:rgba(180,200,230,.6);color:var(--text)}.trophy-hint-edit-form .trophy-hint-form-cancel:active{transform:translateY(1px)}.trophy-hint-edit-form .trophy-hint-form-cancel:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.trophy-inline-panel .bbcode-editor-actions .trophy-hint-cancel,.trophy-inline-panel .bbcode-editor-actions .button[type="submit"]{height:38px;min-height:38px;width:auto;padding:0 18px;box-sizing:border-box;font-size:14px;font-weight:600;line-height:1}.trophy-inline-panel .bbcode-editor-actions .trophy-hint-cancel{height:36px;min-height:36px;padding:0 14px;border:1px solid rgba(150,170,210,.3);background:rgba(20,26,40,.8);color:var(--muted)}.trophy-inline-panel .bbcode-editor-actions .button[type="submit"]{border:1px solid rgba(138,240,194,.65);background:var(--accent);color:#102018}.trophy-inline-panel .bbcode-editor-actions .trophy-hint-cancel:hover,.trophy-inline-panel .bbcode-editor-actions .trophy-hint-cancel:focus-visible{background:rgba(150,170,210,.12);color:var(--text);border-color:rgba(180,200,230,.55)}.trophy-inline-panel .bbcode-editor-actions .trophy-hint-cancel:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.trophy-inline-panel .bbcode-editor-actions .button[type="submit"]:hover{background:#9af5c9;border-color:#b8ffdc;box-shadow:0 4px 12px rgba(138,240,194,.16);transform:translateY(-1px);filter:none}.trophy-inline-panel .bbcode-editor-actions .button[type="submit"]:active{background:#82e9b7;transform:translateY(0)}.trophy-inline-panel .bbcode-editor-actions .button[type="submit"]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.trophy-hint-inline-header{display:flex;align-items:center;gap:8px;width:100%}.trophy-hint-inline-header .trophy-hint-inline-meta{margin:0;flex:1;min-width:0}.trophy-hint-inline-actions{display:flex;align-items:center;gap:4px;margin-left:auto}.trophy-hint-action-button{width:30px;height:30px;padding:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;transition:color .15s ease,background .15s ease,border-color .15s ease}.trophy-hint-action-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.trophy-hint-edit:hover,.trophy-hint-edit:focus-visible{color:var(--accent);background:rgba(138,240,194,.08);border-color:rgba(138,240,194,.24)}.trophy-hint-delete:hover,.trophy-hint-delete:focus-visible{color:#ff8d8d;background:rgba(255,100,100,.08);border-color:rgba(255,100,100,.24)}.trophy-hint-action-button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.trophy-hint-action-button:active{transform:translateY(1px)}.trophy-hint-edit-form{display:grid;gap:8px;margin-top:8px}.trophy-hint-edit-form textarea{width:100%;min-height:96px;box-sizing:border-box;resize:none}.trophy-hint-edit-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px}.trophy-hint-form-cancel,.trophy-hint-form-submit{height:36px;min-height:36px;width:auto;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:7px;font-size:14px;font-weight:600;line-height:1;cursor:pointer}.trophy-hint-form-cancel{border:1px solid rgba(150,170,210,.3);background:rgba(20,26,40,.8);color:var(--muted)}.trophy-hint-form-submit{border:1px solid rgba(138,240,194,.65);background:var(--accent);color:#102018}.trophy-hint-form-cancel:hover,.trophy-hint-form-cancel:focus-visible{background:rgba(150,170,210,.12);color:var(--text);border-color:rgba(180,200,230,.55)}.trophy-hint-form-cancel:focus-visible,.trophy-hint-form-submit:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.trophy-hint-form-cancel:active,.trophy-hint-form-submit:active{transform:translateY(1px)}.trophy-hint-inline-error{margin:0;color:#ffb0b0;font-size:.8rem}
.trophy-hint-form-submit{transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,transform .15s ease}.trophy-hint-form-submit:hover{background:#9af5c9;border-color:#b8ffdc;box-shadow:0 4px 12px rgba(138,240,194,.16);transform:translateY(-1px)}.trophy-hint-form-submit:active{background:#82e9b7;transform:translateY(0)}.trophy-hint-form-submit:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.trophy-hint-form-submit:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}











.trophy-hints-pending h4{margin:0 0 18px;font-size:1rem}
.trophy-hints-pending .trophy-pending-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;box-sizing:border-box;min-height:32px;padding:4px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text);font:inherit;font-size:.78rem;font-weight:400;text-align:left;cursor:pointer}.trophy-hints-pending .trophy-pending-status{margin-left:auto;color:#f1c45c;font-size:.78rem;font-weight:700}.trophy-hints-pending .trophy-pending-content{margin-top:0}.trophy-hints-pending .trophy-pending-summary:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.trophy-hints-pending{display:grid;gap:8px;margin:0;padding:0;border:0}.trophy-pending-accordion{overflow:hidden;border:1px solid rgba(255,196,92,.28);border-radius:7px;background:rgba(255,196,92,.04)}.trophy-pending-summary:hover,.trophy-pending-summary:focus-visible,.trophy-pending-accordion.is-open .trophy-pending-summary{border-color:rgba(255,196,92,.3);background:rgba(255,196,92,.08);color:var(--text)}.trophy-pending-summary:focus-visible{outline:2px solid #f1c45c;outline-offset:1px}.trophy-pending-content{padding:8px 10px 10px 31px;border-top:1px solid rgba(255,196,92,.18);height:auto;min-height:0}.trophy-pending-content .trophy-hint-body{margin-top:0}
.trophy-entry .trophy-panel-host:has(.trophy-inline-panel:has(.trophy-hints-pending)){margin:12px 0}.trophy-inline-panel:has(.trophy-hints-pending){margin:0;min-height:0;height:auto;background:rgba(30,37,50,.92);border:1px solid var(--border);border-radius:10px;padding:16px 20px;box-shadow:none}
.trophy-pending-summary .trophy-hint-chevron{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:auto;font-size:0;font-weight:400;line-height:1;color:#f1c45c;transform:none}.trophy-pending-summary .trophy-hint-chevron::after{content:'+';font-size:20px;font-weight:400;line-height:1}.trophy-pending-accordion.is-open .trophy-pending-summary .trophy-hint-chevron::after{content:'−'}
.game-edition-selector{display:grid;gap:9px;margin:14px 0 0;padding:12px 16px;background:rgba(20,25,35,.62);border:1px solid var(--border);border-radius:10px}.game-edition-selector-label{color:var(--muted);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.game-edition-selector-options{display:flex;flex-wrap:wrap;gap:8px}.game-edition-selector-option{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid var(--border);border-radius:7px;color:var(--text);font-size:.82rem;font-weight:700;white-space:nowrap}.game-edition-selector-option:hover,.game-edition-selector-option:focus-visible{border-color:var(--accent);background:var(--panel2)}.game-edition-selector-option.is-active{border-color:var(--accent);background:rgba(141,245,194,.1);color:var(--accent)}.trophy-unassigned-notice{margin:18px 0 0;padding:10px 14px;border-left:3px solid var(--accent2);background:rgba(135,168,255,.08)}.trophy-unassigned-selector{display:grid;gap:9px;margin:18px 0 0;padding:13px 16px;background:rgba(20,25,35,.42);border:1px dashed var(--border);border-radius:10px}
