* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    overflow: hidden;
    background: #1b102d;
    background-image: linear-gradient(145deg, #171026 0%, #34204f 52%, #174f5b 100%);
    color: #fff9ef;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

.mystery-mark {
    position: fixed;
    z-index: 0;
    color: rgba(255, 255, 255, 0.08);
    font-weight: 900;
    pointer-events: none;
    transform: rotate(-9deg);
}

.mystery-mark-one {
    top: 11vh;
    left: 40vw;
    font-size: 16vh;
}

.mystery-mark-two {
    right: 2vw;
    bottom: 2vh;
    font-size: 6vh;
    letter-spacing: 0.1em;
    transform: rotate(7deg);
}

.mystery-mark-three {
    bottom: -4vh;
    left: 1vw;
    font-size: 20vh;
    transform: rotate(14deg);
}

.app-shell {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1.5vh;
    flex-direction: column;
}

.topbar,
.stage-card,
.join-card,
.score-card {
    border: 0.18vh solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 1.3vh 3vh rgba(8, 2, 18, 0.35);
}

.topbar {
    display: flex;
    height: 10.5vh;
    min-height: 72px;
    padding: 1vh 1.5vh;
    border-radius: 2vh;
    background: rgba(31, 17, 52, 0.93);
    flex: 0 0 auto;
    align-items: center;
}

.brand-mark {
    position: relative;
    width: 7.5vh;
    height: 7.2vh;
    min-width: 55px;
    min-height: 52px;
    margin-right: 1.4vh;
    border: 0.3vh solid #ffcc5c;
    border-radius: 1.5vh;
    background: #3a2457;
    overflow: hidden;
}

.brand-head,
.brand-shoulders {
    position: absolute;
    display: block;
    left: 50%;
    background: #856ab5;
    transform: translateX(-50%);
}

.brand-head {
    top: 0.8vh;
    width: 2.6vh;
    height: 2.6vh;
    border-radius: 50%;
}

.brand-shoulders {
    bottom: -1.1vh;
    width: 5.2vh;
    height: 4.1vh;
    border-radius: 50% 50% 0 0;
}

.brand-mark strong {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0.45vh;
    color: #ffcc5c;
    font-size: 3.6vh;
    line-height: 1;
    text-shadow: 0 0.2vh 0 #251638;
}

.brand-copy {
    min-width: 0;
}

.eyebrow,
.caption-kicker,
.stage-kicker,
.overlay-kicker,
.points-card span,
.timer-card span {
    margin: 0;
    color: #ffcc5c;
    font-size: 1.15vh;
    font-weight: 900;
    letter-spacing: 0.17em;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-copy h1 {
    margin: 0.25vh 0 0;
    font-size: 4vh;
    line-height: 0.95;
    text-shadow: 0 0.3vh 0 #784765;
}

.round-meta {
    min-width: 23vh;
    margin-left: auto;
    padding: 0 1.8vh;
    text-align: right;
}

.round-meta strong {
    display: block;
    margin-top: 0.55vh;
    font-size: 1.5vh;
}

.phase-badge,
.category-chip,
.player-count {
    display: inline-block;
    padding: 0.52vh 1vh;
    border-radius: 2vh;
    background: #55d6be;
    color: #1e1632;
    font-size: 1.15vh;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.points-card,
.timer-card {
    min-width: 8.8vh;
    margin-left: 0.8vh;
    padding: 0.62vh 0.8vh;
    border-radius: 1.4vh;
    background: #fff9ef;
    color: #251638;
    text-align: center;
}

.points-card {
    background: #ffcc5c;
}

.points-card span,
.timer-card span {
    display: block;
    color: #5a3f70;
    font-size: 0.9vh;
}

.points-card strong,
.timer-card strong {
    display: inline-block;
    margin-top: 0.1vh;
    font-size: 2.8vh;
    line-height: 1;
}

.points-card small {
    font-size: 1vh;
    font-weight: 900;
}

.timer-card {
    min-width: 9.8vh;
}

.game-layout {
    display: flex;
    min-height: 0;
    padding-top: 1.35vh;
    flex: 1 1 auto;
}

.stage-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    margin-right: 1.35vh;
    overflow: hidden;
    border-radius: 2.4vh;
    background: rgba(36, 21, 57, 0.95);
    flex: 1 1 auto;
    flex-direction: column;
}

.stage-heading {
    display: flex;
    min-height: 12.5vh;
    padding: 2vh 2.5vh 1.1vh;
    flex: 0 0 auto;
    align-items: center;
}

.stage-heading > div:first-child {
    min-width: 0;
    flex: 1 1 auto;
}

.category-chip {
    background: #f06c8d;
    color: #fff;
}

.stage-kicker {
    margin-top: 1.05vh;
    color: #55d6be;
}

.stage-heading h2 {
    margin: 0.4vh 0 0;
    font-size: 3.4vh;
    line-height: 1.05;
}

.solve-meter {
    min-width: 11vh;
    margin-left: 1.4vh;
    padding: 1.1vh;
    border: 0.24vh solid rgba(85, 214, 190, 0.5);
    border-radius: 1.6vh;
    background: #233f50;
    text-align: center;
}

.solve-meter strong,
.solve-meter span {
    display: block;
}

.solve-meter strong {
    color: #ffcc5c;
    font-size: 3.5vh;
    line-height: 0.92;
}

.solve-meter span {
    margin-top: 0.5vh;
    font-size: 1.05vh;
    font-weight: 900;
    text-transform: uppercase;
}

.clue-stack {
    display: flex;
    min-height: 0;
    margin: 0;
    padding: 0.2vh 2.2vh;
    list-style: none;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
}

.clue-row {
    position: relative;
    display: flex;
    min-height: 7.8vh;
    margin: 0.48vh 0;
    padding: 0.85vh 1.5vh 0.85vh 1vh;
    border: 0.2vh solid rgba(255, 255, 255, 0.1);
    border-radius: 0.7vh 1.5vh 1.5vh 0.7vh;
    background: #34234c;
    color: rgba(255, 249, 239, 0.35);
    opacity: 0.62;
    align-items: center;
}

.clue-row:after {
    position: absolute;
    top: 1vh;
    right: 1vh;
    color: rgba(255, 255, 255, 0.11);
    content: "EVIDENCE";
    font-size: 0.9vh;
    font-weight: 900;
    letter-spacing: 0.13em;
}

.clue-row.is-revealed {
    border-color: rgba(85, 214, 190, 0.38);
    background: #3b2b55;
    color: #fff9ef;
    opacity: 1;
}

.clue-row.is-active {
    border-color: #ffcc5c;
    background: #4b365e;
    box-shadow: 0 0 0 0.28vh rgba(255, 204, 92, 0.18), 0 0.7vh 1.6vh rgba(0, 0, 0, 0.25);
    animation: evidenceOpen 420ms ease-out;
}

.clue-points {
    display: block;
    width: 5.5vh;
    height: 5.5vh;
    min-width: 5.5vh;
    border-radius: 50%;
    background: #2c1d42;
    color: #806c92;
    font-size: 3vh;
    font-weight: 900;
    line-height: 5.5vh;
    text-align: center;
}

.is-revealed .clue-points {
    background: #55d6be;
    color: #1e1632;
}

.is-active .clue-points {
    background: #ffcc5c;
}

.clue-row p {
    margin: 0 6vh 0 1.35vh;
    font-size: 2.02vh;
    font-weight: 800;
    line-height: 1.18;
}

.stage-footer {
    display: flex;
    min-height: 8.8vh;
    padding: 1.1vh 2.5vh 1.5vh;
    flex: 0 0 auto;
    align-items: center;
}

.clue-dots {
    display: flex;
    flex: 0 0 auto;
}

.clue-dots span {
    display: block;
    width: 3.2vh;
    height: 3.2vh;
    margin-right: 0.5vh;
    border: 0.2vh solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.42);
    font-size: 1.35vh;
    font-weight: 900;
    line-height: 2.8vh;
    text-align: center;
}

.clue-dots span.is-past {
    border-color: #55d6be;
    color: #55d6be;
}

.clue-dots span.is-active {
    border-color: #ffcc5c;
    background: #ffcc5c;
    color: #251638;
}

.stage-footer p {
    margin: 0 0 0 auto;
    color: #cbbddd;
    font-size: 1.35vh;
    font-weight: 800;
    text-align: right;
}

.stage-overlay {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 4vh;
    background: #27183d;
    background-image: linear-gradient(150deg, rgba(39, 24, 61, 0.98), rgba(25, 78, 88, 0.97));
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mystery-portrait {
    position: relative;
    width: 17vh;
    height: 17vh;
    margin-bottom: 2vh;
    border: 0.45vh solid #ffcc5c;
    border-radius: 50%;
    background: #382351;
    overflow: hidden;
    box-shadow: 0 1vh 0 rgba(0, 0, 0, 0.22);
}

.portrait-head,
.portrait-body {
    position: absolute;
    display: block;
    left: 50%;
    background: #8366ad;
    transform: translateX(-50%);
}

.portrait-head {
    top: 2.3vh;
    width: 6.2vh;
    height: 6.2vh;
    border-radius: 50%;
}

.portrait-body {
    bottom: -3vh;
    width: 13.5vh;
    height: 10vh;
    border-radius: 50% 50% 0 0;
}

.mystery-portrait strong {
    position: absolute;
    z-index: 2;
    top: 2.3vh;
    left: 50%;
    color: #ffcc5c;
    font-size: 10vh;
    line-height: 1;
    text-shadow: 0 0.35vh 0 #251638;
    transform: translateX(-50%);
}

.overlay-kicker {
    color: #ffcc5c;
}

.stage-overlay h2 {
    margin: 0.75vh 0 0;
    font-size: 5.3vh;
    line-height: 1;
}

.stage-overlay > p:not(.overlay-kicker) {
    max-width: 68vh;
    margin: 1.5vh auto 0;
    color: #e4dff0;
    font-size: 1.72vh;
    line-height: 1.4;
}

.primary-button {
    min-width: 31vh;
    min-height: 5.7vh;
    margin-top: 2.3vh;
    padding: 1vh 2.5vh;
    border: 0;
    border-radius: 3vh;
    background: #ffcc5c;
    color: #251638;
    box-shadow: 0 0.62vh 0 #c96a62;
    font-size: 1.72vh;
    font-weight: 900;
}

.primary-button:active {
    box-shadow: none;
    transform: translateY(0.5vh);
}

.primary-button:disabled {
    opacity: 0.55;
    box-shadow: none;
}

.answer-reveal {
    position: absolute;
    z-index: 6;
    top: 50%;
    left: 50%;
    width: 80%;
    padding: 2.8vh 3vh;
    border: 0.35vh solid #fff9ef;
    border-radius: 2.2vh;
    background: #226b6b;
    box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.42);
    text-align: center;
    transform: translate(-50%, -50%);
    animation: revealPop 420ms ease-out;
}

.answer-reveal > p:first-child {
    margin: 0;
    color: #ffcc5c;
    font-size: 1.22vh;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.answer-reveal h2 {
    margin: 0.8vh 0;
    font-size: 5vh;
    line-height: 1;
}

.answer-reveal > p:last-child {
    max-width: 72vh;
    margin: 0 auto;
    color: #e5fffa;
    font-size: 1.55vh;
    line-height: 1.35;
}

.side-rail {
    display: flex;
    width: 26vh;
    min-width: 228px;
    min-height: 0;
    flex: 0 0 23.5%;
    flex-direction: column;
}

.join-card,
.score-card {
    min-height: 0;
    padding: 1.5vh;
    border-radius: 2.1vh;
    background: rgba(31, 17, 52, 0.94);
}

.join-card {
    height: 34vh;
    min-height: 262px;
    flex: 0 0 auto;
}

.score-card {
    margin-top: 1.3vh;
    overflow: hidden;
    flex: 1 1 auto;
}

.side-heading {
    display: flex;
    align-items: center;
}

.side-heading > div {
    min-width: 0;
}

.side-heading h2 {
    margin: 0.45vh 0 0;
    overflow: hidden;
    font-size: 2.05vh;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.network-dot {
    width: 1.7vh;
    height: 1.7vh;
    min-width: 12px;
    min-height: 12px;
    margin-left: auto;
    border-radius: 50%;
    background: #ffcc5c;
}

.network-dot.is-online {
    background: #55d6be;
    box-shadow: 0 0 1vh #55d6be;
}

.network-dot.is-error {
    background: #f06c8d;
}

.qr-panel {
    height: 24.5vh;
    min-height: 205px;
    margin-top: 1vh;
    overflow: hidden;
}

.qr-placeholder,
.empty-score {
    margin: 2.5vh 0 0;
    color: #b9abc9;
    font-size: 1.25vh;
    text-align: center;
}

.qr-modal-button {
    display: none;
}

.player-count {
    margin-left: auto;
    padding-right: 0.8vh;
    padding-left: 0.8vh;
    background: #f06c8d;
    color: #fff;
    white-space: nowrap;
}

.score-list {
    margin: 1.2vh 0 0;
    padding: 0;
    list-style: none;
}

.score-row {
    display: flex;
    min-height: 5.2vh;
    margin-top: 0.62vh;
    padding: 0.75vh 0.85vh;
    border: 0.18vh solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2vh;
    background: #34234c;
    align-items: center;
}

.score-row.has-solved {
    border-color: #55d6be;
    background: #285556;
}

.score-row.is-away {
    opacity: 0.55;
}

.score-rank {
    width: 3vh;
    color: #ffcc5c;
    font-size: 1.55vh;
    font-weight: 900;
}

.score-name {
    min-width: 0;
    overflow: hidden;
    font-size: 1.55vh;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}

.score-status {
    margin-left: 0.5vh;
    color: #55d6be;
    font-size: 1.25vh;
    font-weight: 900;
}

.score-points {
    min-width: 3.5vh;
    margin-left: 0.8vh;
    color: #ffcc5c;
    font-size: 1.75vh;
    text-align: right;
}

.qr-modal {
    position: fixed;
    z-index: 20;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.qr-modal-backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(10, 4, 20, 0.9);
}

.qr-modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 310px;
    padding: 22px 22px 18px;
    border: 2px solid rgba(255, 255, 255, 0.26);
    border-radius: 22px;
    background: #34234c;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    text-align: center;
    transform: translate(-50%, -50%);
}

.qr-modal-card h2 {
    margin: 8px 0 5px;
    font-size: 28px;
}

.qr-modal-card > p:not(.overlay-kicker) {
    margin: 0;
    color: #d7cce2;
    font-size: 14px;
}

.qr-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f06c8d;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 36px;
}

.qr-modal-panel {
    height: 244px;
    margin-top: 13px;
    overflow: hidden;
}

.qr-modal-panel .rcRoomQrCodeLink {
    margin-top: 0;
    transform: scale(1);
    transform-origin: top center;
}

.rcRoomQrCodeLink,
.rcRoomQrCodeLink * {
    box-sizing: content-box;
}

.rcRoomQrCodeLink {
    display: block;
    width: 150px;
    margin: 0.5vh auto 0;
    overflow: hidden;
    border: solid 8px #fff;
    border-radius: 14px;
    background-color: #fff;
    color: #fff;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.42);
    text-align: center;
    text-decoration: none;
    transform: scale(0.86);
    transform-origin: top center;
}

.rcTechLabel {
    margin: 0 0 8px;
    padding: 4px;
    border-radius: 6px 6px 0 0;
    background: #000;
    color: #fff;
    font-family: monospace;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.rcRoomQrCode {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.rcRoomQrCode img,
.rcRoomQrCode canvas {
    display: block;
    width: 150px !important;
    height: 150px !important;
}

.rcRoomId {
    margin: 8px 0 0;
    padding: 4px;
    overflow: hidden;
    border-radius: 0 0 6px 6px;
    background: #000;
    color: #fff;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 0.25em;
    text-overflow: clip;
    white-space: nowrap;
}

@keyframes evidenceOpen {
    from { opacity: 0; transform: translateX(-2vh) rotate(-0.5deg); }
    to { opacity: 1; transform: none; }
}

@keyframes revealPop {
    from { opacity: 0; transform: translate(-50%, -46%) scale(0.94); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.lean-paint body,
body.lean-paint {
    background: #34204f;
    background-image: none;
}

.lean-paint .mystery-mark {
    display: none;
}

.lean-paint .topbar,
.lean-paint .stage-card,
.lean-paint .join-card,
.lean-paint .score-card,
.lean-paint .stage-overlay,
.lean-paint .answer-reveal,
.lean-paint .primary-button,
.lean-paint .mystery-portrait,
.lean-paint .clue-row.is-active,
.lean-paint .network-dot.is-online,
.lean-paint .rcRoomQrCodeLink,
.lean-paint .qr-modal-card {
    box-shadow: none;
}

.lean-paint .stage-overlay {
    background: #294f59;
    background-image: none;
}

.lean-paint .clue-row.is-active,
.lean-paint .answer-reveal {
    animation: none;
}

@media (max-width: 1450px), (max-height: 760px) {
    .side-rail {
        min-width: 210px;
        flex-basis: 24.5%;
    }

    .join-card {
        height: 32.5vh;
        min-height: 220px;
    }

    .qr-panel {
        height: 22.5vh;
        min-height: 177px;
    }

    .rcRoomQrCodeLink {
        transform: scale(0.72);
    }

    .clue-row p {
        font-size: 1.78vh;
    }
}

@media (orientation: portrait) {
    html,
    body {
        height: auto;
        min-height: 100%;
    }

    body {
        overflow: auto;
    }

    .app-shell {
        height: auto;
        min-height: 100vh;
    }

    .game-layout {
        display: block;
    }

    .stage-card {
        min-height: 62vh;
        margin-right: 0;
    }

    .side-rail {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 27vh;
        min-height: 330px;
        margin-top: 1.3vh;
        flex-direction: row;
    }

    .join-card,
    .score-card {
        width: 49.35%;
        height: 100%;
        min-height: 0;
    }

    .score-card {
        margin-top: 0;
        margin-left: 1.3%;
    }

    .qr-panel {
        height: 21vh;
        min-height: 230px;
    }

    .rcRoomQrCodeLink {
        transform: scale(0.9);
    }
}

@media (max-width: 700px) {
    .app-shell {
        padding: 8px;
    }

    .topbar {
        height: 76px;
        min-height: 76px;
        padding: 9px 10px;
        border-radius: 15px;
    }

    .brand-mark {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        margin-right: 8px;
        border-width: 2px;
        border-radius: 11px;
    }

    .brand-head {
        top: 6px;
        width: 19px;
        height: 19px;
    }

    .brand-shoulders {
        bottom: -8px;
        width: 38px;
        height: 30px;
    }

    .brand-mark strong {
        right: 3px;
        font-size: 27px;
    }

    .brand-copy .eyebrow,
    .round-meta {
        display: none;
    }

    .brand-copy h1 {
        font-size: 24px;
    }

    .points-card,
    .timer-card {
        min-width: 57px;
        margin-left: auto;
        padding: 6px 4px;
        border-radius: 11px;
    }

    .timer-card {
        min-width: 62px;
        margin-left: 5px;
    }

    .points-card span,
    .timer-card span {
        font-size: 7px;
    }

    .points-card strong,
    .timer-card strong {
        font-size: 21px;
    }

    .points-card small {
        display: none;
    }

    .game-layout {
        padding-top: 8px;
    }

    .stage-card {
        min-height: 650px;
        border-radius: 17px;
    }

    .stage-heading {
        min-height: 95px;
        padding: 14px 14px 7px;
    }

    .category-chip {
        padding: 4px 8px;
        font-size: 9px;
    }

    .stage-kicker {
        margin-top: 7px;
        font-size: 9px;
    }

    .stage-heading h2 {
        margin-top: 3px;
        font-size: 23px;
    }

    .solve-meter {
        min-width: 62px;
        margin-left: 8px;
        padding: 8px 5px;
        border-radius: 11px;
    }

    .solve-meter strong {
        font-size: 26px;
    }

    .solve-meter span {
        font-size: 7px;
    }

    .clue-stack {
        padding: 2px 10px;
    }

    .clue-row {
        min-height: 82px;
        margin: 4px 0;
        padding: 7px 10px 7px 7px;
        border-radius: 6px 12px 12px 6px;
    }

    .clue-row:after {
        display: none;
    }

    .clue-points {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 24px;
        line-height: 45px;
    }

    .clue-row p {
        margin-right: 0;
        margin-left: 10px;
        font-size: 14px;
    }

    .stage-footer {
        min-height: 62px;
        padding: 8px 12px 11px;
    }

    .clue-dots span {
        width: 25px;
        height: 25px;
        margin-right: 3px;
        font-size: 10px;
        line-height: 22px;
    }

    .stage-footer p {
        max-width: 46%;
        font-size: 10px;
    }

    .stage-overlay {
        padding: 22px;
    }

    .mystery-portrait {
        width: 125px;
        height: 125px;
    }

    .portrait-head {
        top: 17px;
        width: 45px;
        height: 45px;
    }

    .portrait-body {
        bottom: -22px;
        width: 98px;
        height: 73px;
    }

    .mystery-portrait strong {
        top: 17px;
        font-size: 73px;
    }

    .stage-overlay h2 {
        font-size: 37px;
    }

    .stage-overlay > p:not(.overlay-kicker) {
        font-size: 14px;
    }

    .primary-button {
        min-width: 0;
        width: 100%;
        min-height: 52px;
        font-size: 15px;
    }

    .answer-reveal {
        width: 90%;
        padding: 23px 18px;
    }

    .answer-reveal h2 {
        font-size: 33px;
    }

    .answer-reveal > p:last-child {
        font-size: 13px;
    }

    .side-rail {
        display: block;
        height: auto;
        min-height: 0;
        margin-top: 8px;
    }

    .join-card,
    .score-card {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 10px;
        border-radius: 15px;
    }

    .join-card {
        height: 62px;
    }

    .join-card .side-heading,
    .join-card .qr-panel {
        display: none;
    }

    .qr-modal-button {
        display: block;
        width: 100%;
        height: 40px;
        border: 0;
        border-radius: 20px;
        background: #55d6be;
        color: #251638;
        font-size: 14px;
        font-weight: 900;
    }

    .score-card {
        min-height: 250px;
        margin: 8px 0 0;
    }

    .side-heading h2 {
        font-size: 18px;
    }

    .caption-kicker,
    .player-count {
        font-size: 9px;
    }

    .score-row {
        min-height: 44px;
        padding: 7px 9px;
    }

    .score-rank,
    .score-name,
    .score-points {
        font-size: 14px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .app-shell {
        padding: 7px;
    }

    .topbar {
        height: 66px;
        min-height: 66px;
        border-radius: 14px;
    }

    .game-layout {
        padding-top: 7px;
    }

    .stage-card,
    .join-card,
    .score-card {
        border-radius: 14px;
    }

    .stage-heading {
        min-height: 76px;
        padding-top: 8px;
        padding-bottom: 5px;
    }

    .clue-row {
        min-height: 57px;
        margin: 2px 0;
    }

    .clue-row p {
        font-size: 12px;
    }

    .clue-points {
        width: 39px;
        height: 39px;
        min-width: 39px;
        font-size: 21px;
        line-height: 39px;
    }

    .stage-footer {
        min-height: 46px;
    }

    .join-card {
        height: 215px;
        min-height: 215px;
    }

    .qr-panel {
        min-height: 160px;
    }

    .rcRoomQrCodeLink {
        transform: scale(0.63);
    }
}
