* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

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

body {
    overflow: hidden;
    background: #071e3e;
    background-image: linear-gradient(145deg, #071e3e 0%, #123c69 50%, #126e82 100%);
    color: #f7fbff;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

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

.falling-shape {
    position: fixed;
    z-index: 0;
    width: 5vh;
    height: 5vh;
    border: 0.35vh solid rgba(255, 255, 255, 0.2);
    border-radius: 1.2vh;
    color: rgba(255, 255, 255, 0.32);
    font-size: 2.8vh;
    font-weight: 900;
    line-height: 4.3vh;
    text-align: center;
    transform: rotate(12deg);
    pointer-events: none;
}

.falling-shape-one {
    top: 4vh;
    left: 43vw;
}

.falling-shape-two {
    right: 2.5vw;
    bottom: 3vh;
    transform: rotate(-9deg);
}

.falling-shape-three {
    bottom: 5vh;
    left: 1.8vw;
    transform: rotate(22deg);
}

.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.2);
    box-shadow: 0 1.3vh 3vh rgba(0, 10, 28, 0.28);
}

.topbar {
    display: flex;
    height: 10.5vh;
    min-height: 72px;
    padding: 1.1vh 1.5vh;
    border-radius: 2vh;
    background: rgba(5, 25, 54, 0.88);
    flex: 0 0 auto;
    align-items: center;
}

.brand-mark {
    position: relative;
    width: 8vh;
    height: 7.2vh;
    min-width: 58px;
    min-height: 52px;
    margin-right: 1.3vh;
}

.brand-card {
    position: absolute;
    display: block;
    width: 4.6vh;
    height: 4.6vh;
    min-width: 34px;
    min-height: 34px;
    border: 0.32vh solid #f7fbff;
    border-radius: 1vh;
    color: #06213e;
    font-size: 2.5vh;
    font-weight: 900;
    line-height: 4vh;
    text-align: center;
    box-shadow: 0 0.55vh 0 rgba(0, 0, 0, 0.2);
}

.brand-card-five {
    top: 0;
    left: 0;
    background: #ffcf4a;
    transform: rotate(-8deg);
}

.brand-card-three {
    top: 1.35vh;
    left: 2.05vh;
    background: #57e3d2;
    transform: rotate(4deg);
}

.brand-card-one {
    top: 2.55vh;
    left: 4vh;
    background: #ff6b6b;
    transform: rotate(11deg);
}

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

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

.brand-copy h1 {
    margin: 0.28vh 0 0;
    font-size: 4.2vh;
    line-height: 0.95;
    text-shadow: 0 0.32vh 0 #0a6a78;
}

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

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

.phase-badge,
.category-chip,
.player-count {
    display: inline-block;
    padding: 0.52vh 1vh;
    border-radius: 2vh;
    background: #57e3d2;
    color: #06213e;
    font-size: 1.2vh;
    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: #f7fbff;
    color: #06213e;
    text-align: center;
}

.points-card {
    background: #ffcf4a;
}

.points-card span,
.timer-card span {
    display: block;
    color: #0b6070;
    font-size: 0.93vh;
}

.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(7, 30, 62, 0.92);
    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: #ffcf4a;
}

.stage-kicker {
    margin-top: 1.05vh;
    color: #57e3d2;
}

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

.solve-meter {
    min-width: 11vh;
    margin-left: 1.4vh;
    padding: 1.1vh;
    border: 0.24vh solid rgba(87, 227, 210, 0.52);
    border-radius: 1.6vh;
    background: #0c475b;
    text-align: center;
}

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

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

.solve-meter span {
    margin-top: 0.5vh;
    font-size: 1.1vh;
    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 {
    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.12);
    border-radius: 1.45vh;
    background: #0b3555;
    color: rgba(247, 251, 255, 0.36);
    opacity: 0.58;
    align-items: center;
}

.clue-row.is-revealed {
    border-color: rgba(87, 227, 210, 0.4);
    background: #0e4660;
    color: #f7fbff;
    opacity: 1;
}

.clue-row.is-active {
    border-color: #ffcf4a;
    background: #14536a;
    box-shadow: 0 0 0 0.28vh rgba(255, 207, 74, 0.2), 0 0.7vh 1.6vh rgba(0, 0, 0, 0.22);
    animation: clueDrop 420ms ease-out;
}

.clue-points {
    display: block;
    width: 5.5vh;
    height: 5.5vh;
    min-width: 5.5vh;
    border-radius: 1.25vh;
    background: #163c5c;
    color: #6f91a5;
    font-size: 3vh;
    font-weight: 900;
    line-height: 5.5vh;
    text-align: center;
}

.is-revealed .clue-points {
    background: #57e3d2;
    color: #06213e;
}

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

.clue-row p {
    margin: 0 0 0 1.35vh;
    font-size: 2.05vh;
    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: #57e3d2;
    color: #57e3d2;
}

.clue-dots span.is-active {
    border-color: #ffcf4a;
    background: #ffcf4a;
    color: #06213e;
}

.stage-footer p {
    margin: 0 0 0 auto;
    color: #b9d7e5;
    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: #082746;
    background-image: linear-gradient(150deg, rgba(8, 39, 70, 0.97), rgba(10, 94, 105, 0.96));
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-logo {
    display: flex;
    margin-bottom: 2.4vh;
    align-items: flex-start;
}

.overlay-logo span {
    display: block;
    width: 7vh;
    height: 7vh;
    margin-left: -0.8vh;
    border: 0.4vh solid #f7fbff;
    border-radius: 1.45vh;
    background: #57e3d2;
    color: #06213e;
    font-size: 3.8vh;
    font-weight: 900;
    line-height: 6.2vh;
    box-shadow: 0 0.8vh 0 rgba(0, 0, 0, 0.2);
    transform: rotate(-7deg);
}

.overlay-logo span:nth-child(2) {
    margin-top: 1vh;
    background: #7ce8df;
    transform: rotate(4deg);
}

.overlay-logo span:nth-child(3) {
    margin-top: 2vh;
    background: #ffcf4a;
    transform: rotate(-3deg);
}

.overlay-logo span:nth-child(4) {
    margin-top: 3vh;
    background: #ff9d57;
    transform: rotate(5deg);
}

.overlay-logo span:nth-child(5) {
    margin-top: 4vh;
    background: #ff6b6b;
    transform: rotate(-5deg);
}

.overlay-kicker {
    color: #ffcf4a;
}

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

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

.primary-button {
    min-width: 30vh;
    min-height: 5.7vh;
    margin-top: 2.3vh;
    padding: 1vh 2.5vh;
    border: 0;
    border-radius: 3vh;
    background: #ffcf4a;
    color: #06213e;
    box-shadow: 0 0.62vh 0 #d87d31;
    font-size: 1.75vh;
    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: 78%;
    padding: 2.8vh 3vh;
    border: 0.35vh solid #f7fbff;
    border-radius: 2.2vh;
    background: #0b766f;
    box-shadow: 0 1.2vh 3vh rgba(0, 0, 0, 0.38);
    text-align: center;
    transform: translate(-50%, -50%);
    animation: revealPop 420ms ease-out;
}

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

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

.answer-reveal > p:last-child {
    max-width: 70vh;
    margin: 0 auto;
    color: #e4fffb;
    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(5, 25, 54, 0.9);
}

.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.1vh;
    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: #ffcf4a;
}

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

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

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

.qr-placeholder,
.empty-score {
    margin: 2.5vh 0 0;
    color: #aac9d8;
    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: #ffcf4a;
    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.09);
    border-radius: 1.2vh;
    background: #0c3554;
    align-items: center;
}

.score-row.has-solved {
    border-color: #57e3d2;
    background: #0a514f;
}

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

.score-rank {
    width: 3vh;
    color: #ffcf4a;
    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: #57e3d2;
    font-size: 1.25vh;
    font-weight: 900;
}

.score-points {
    min-width: 3.5vh;
    margin-left: 0.8vh;
    color: #ffcf4a;
    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(2, 14, 32, 0.88);
}

.qr-modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 310px;
    padding: 22px 22px 18px;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: #0b3555;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    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: #cce3ed;
    font-size: 14px;
}

.qr-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #ff6b6b;
    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 clueDrop {
    from { opacity: 0; transform: translateY(-2.2vh) rotate(-1deg); }
    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: #123c69;
    background-image: none;
}

.lean-paint .falling-shape {
    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 .brand-card,
.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: #0a5e69;
    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.8vh;
    }
}

@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: 54px;
        height: 50px;
        min-width: 54px;
        min-height: 50px;
        margin-right: 6px;
    }

    .brand-card {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        border-width: 2px;
        border-radius: 7px;
        font-size: 17px;
        line-height: 28px;
    }

    .brand-card-three {
        top: 9px;
        left: 12px;
    }

    .brand-card-one {
        top: 17px;
        left: 23px;
    }

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

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

    .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: 24px;
    }

    .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: 12px;
    }

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

    .clue-row p {
        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;
    }

    .overlay-logo span {
        width: 47px;
        height: 47px;
        margin-left: -7px;
        border-width: 3px;
        border-radius: 11px;
        font-size: 25px;
        line-height: 40px;
    }

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

    .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: 34px;
    }

    .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: #57e3d2;
        color: #06213e;
        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);
    }
}
