.game-shell {
    overflow: hidden;
    border: 1px solid rgba(158,229,170,.24);
    border-radius: 30px;
    background: #0d1d13;
    box-shadow: 0 35px 100px rgba(0,0,0,.3);
}

.game-start, .game-result {
    padding: 44px;
}

.game-start {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 44px;
    align-items: center;
}

.game-eyebrow {
    color: var(--orange);
    font-size: .72rem;
    font-weight: 950;
    letter-spacing: .18em;
}

.game-start h3, .game-result h3 {
    margin-top: 10px;
    color: var(--cream);
    font-size: clamp(2rem,4vw,3.5rem);
}

.game-start p, .game-result p {
    margin-top: 12px;
    color: var(--muted);
    line-height: 1.75;
}

.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.role-grid button, .game-era-choice button {
    min-height: 58px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}

.role-grid button.active, .game-era-choice button:hover {
    border-color: var(--green-light);
    background: rgba(86,184,112,.12);
    color: var(--lime);
}

.game-era-choice {
    grid-column: 1/-1;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.game-era-choice > span {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-weight: 800;
}

.game-era-choice div {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
}

.game-era-choice button {
    color: var(--orange);
    font-size: 1.4rem;
}

.game-toolbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.game-toolbar > div:last-child {
    text-align: right;
}

.game-toolbar span {
    color: var(--muted);
    margin-right: 10px;
}

.game-toolbar strong {
    color: var(--lime);
}

.game-stage {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 30px;
}

.game-stage-image {
    position: absolute;
    inset: 0;
    opacity: .2;
}

.game-stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-event {
    position: relative;
    z-index: 2;
    width: min(720px,100%);
    padding: 28px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 24px;
    background: rgba(7,17,11,.92);
    box-shadow: 0 28px 80px rgba(0,0,0,.45);
}

.event-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 900;
}

.game-event h3 {
    margin-top: 16px;
    color: var(--cream);
    font-size: 1.65rem;
}

.game-event p {
    margin-top: 10px;
    color: var(--text);
}

.event-actions {
    display: grid;
    gap: 9px;
    margin-top: 22px;
}

.event-actions button {
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    color: #fff;
    text-align: left;
    font-weight: 750;
    cursor: pointer;
}

.event-actions button:hover {
    border-color: var(--green-light);
    background: rgba(86,184,112,.1);
}

.game-progress {
    height: 6px;
    background: rgba(255,255,255,.05);
}

.game-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,var(--orange),var(--lime));
    transition: .25s;
}

.game-result {
    text-align: center;
}

.game-result p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.result-best {
    margin-top: 20px;
    color: var(--text);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.result-actions button {
    font: inherit;
}

.game-note {
    margin-top: 14px;
    color: #6f8075;
    font-size: .78rem;
    text-align: center;
}

@media(max-width:760px) {
    .game-start {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
    .role-grid {
        grid-template-columns: 1fr;
    }
    .game-toolbar {
        grid-template-columns: 1fr 1fr;
        padding: 12px 16px;
    }
    .game-time {
        display: none;
    }
    .game-stage {
        min-height: 500px;
        padding: 18px;
    }
    .game-event {
        padding: 22px 18px;
    }
}
