        :root {
            color-scheme: dark;
            --bg: #101a18;
            --panel: rgba(24, 39, 35, .88);
            --muted: #9aaca4;
            --text: #f3f5ee;
            --green: #c8f169;
            --green-dark: #a8d44c;
            --line: rgba(230, 242, 220, .13);
        }

        * { box-sizing: border-box; }

        body {
            margin: 0;
            min-width: 320px;
            min-height: 100vh;
            color: var(--text);
            background:
                radial-gradient(ellipse at 82% 12%, rgba(101, 139, 71, .2), transparent 33%),
                radial-gradient(ellipse at 8% 92%, rgba(38, 107, 90, .18), transparent 35%),
                var(--bg);
            font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
        }

        button, input { font: inherit; }
        button { cursor: pointer; }

        .page-shell {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
            padding: 28px clamp(20px, 6vw, 88px) 22px;
        }

        .topbar, .brand, .user-bar, .eyebrow, .game-meta, .footer {
            display: flex;
            align-items: center;
        }

        .topbar { justify-content: space-between; }
        .brand { gap: 11px; font-size: 18px; font-weight: 750; letter-spacing: -.04em; }
        .brand-mark {
            display: grid;
            width: 34px;
            height: 34px;
            place-items: center;
            border-radius: 11px;
            color: #152015;
            background: var(--green);
            font-size: 19px;
            font-weight: 900;
        }
        .top-note { color: var(--muted); font-size: 13px; }
        main { display: grid; flex: 1; place-items: center; padding: 52px 0; }

        .auth-layout {
            display: grid;
            grid-template-columns: minmax(280px, 1fr) minmax(320px, 430px);
            align-items: center;
            gap: clamp(50px, 9vw, 140px);
            width: min(100%, 1060px);
        }

        .intro { max-width: 490px; }
        .eyebrow {
            gap: 9px;
            margin-bottom: 22px;
            color: var(--green);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .19em;
        }
        .eyebrow::before { width: 25px; height: 1px; background: var(--green); content: ""; }
        h1 {
            margin: 0;
            font-size: clamp(48px, 7vw, 82px);
            line-height: .98;
            letter-spacing: -.075em;
        }
        h1 span { color: var(--green); }
        .intro-copy {
            max-width: 390px;
            margin: 25px 0 0;
            color: #aabbb2;
            font-size: 16px;
            line-height: 1.9;
        }
        .intro-foot {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: 38px;
            color: #d3ded5;
            font-size: 12px;
        }
        .avatar-stack { display: flex; padding-left: 5px; }
        .avatar-stack span {
            display: grid;
            width: 29px;
            height: 29px;
            margin-left: -5px;
            place-items: center;
            border: 2px solid var(--bg);
            border-radius: 50%;
            background: #526c59;
            font-size: 13px;
        }
        .avatar-stack span:nth-child(2) { background: #8b684b; }
        .avatar-stack span:nth-child(3) { background: #65709a; }

        .auth-card {
            padding: clamp(26px, 4vw, 38px);
            border: 1px solid var(--line);
            border-radius: 22px;
            background: var(--panel);
            box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
            backdrop-filter: blur(16px);
        }
        .card-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
        .card-heading p { margin: 9px 0 23px; color: var(--muted); font-size: 13px; }
        .tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            padding: 4px;
            margin-bottom: 23px;
            border-radius: 11px;
            background: rgba(0, 0, 0, .22);
        }
        .tab {
            padding: 10px;
            border: 0;
            border-radius: 8px;
            color: #a3b2aa;
            background: transparent;
            font-size: 13px;
            font-weight: 650;
        }
        .tab[aria-selected="true"] { color: var(--text); background: #34463d; }
        .field { margin-bottom: 17px; }
        .field label { display: block; margin-bottom: 8px; color: #d7e0d9; font-size: 12px; font-weight: 650; }
        .field input {
            width: 100%;
            height: 47px;
            padding: 0 14px;
            outline: none;
            border: 1px solid var(--line);
            border-radius: 10px;
            color: var(--text);
            background: rgba(8, 15, 13, .44);
            transition: border-color .2s, box-shadow .2s;
        }
        .field input::placeholder { color: #67766e; }
        .field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(200, 241, 105, .1); }
        .hint { margin: 7px 0 0; color: #809087; font-size: 11px; }
        .admin-account-section { padding-top: 22px; margin-top: 24px; border-top: 1px solid var(--line); }
        .admin-account-heading, .admin-account-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
        .admin-account-heading h3 { margin: 0; font-size: 16px; }
        .admin-account-list { display: grid; gap: 8px; padding: 0; margin: 12px 0 0; list-style: none; }
        .admin-account-item { padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
        .admin-account-details { min-width: 0; }
        .admin-account-details strong, .admin-account-details span { display: block; overflow-wrap: anywhere; }
        .admin-account-details span { margin-top: 3px; color: var(--muted); font-size: 11px; }
        .admin-account-delete { flex: 0 0 auto; color: #ffd0c7; }
        .admin-account-list-empty { color: var(--muted); font-size: 12px; }
        .primary, .secondary {
            min-height: 47px;
            border: 0;
            border-radius: 10px;
            font-weight: 750;
            transition: transform .18s, background .18s;
        }
        .primary { width: 100%; margin-top: 4px; color: #172013; background: var(--green); }
        @media (hover: hover) and (pointer: fine) {
            .primary:hover { transform: translateY(-1px); background: #d8fa91; }
        }
        button:disabled { cursor: wait; opacity: .7; }
        .status { min-height: 20px; margin: 13px 0 0; color: #ffb3a8; font-size: 12px; line-height: 1.6; }
        .status.success { color: var(--green); }
        .footer { justify-content: space-between; color: #718078; font-size: 11px; }
        .footer span:last-child { color: #9aaa9f; }

        .games-view { width: min(100%, 950px); }
        .games-heading { margin-bottom: 33px; }
        .games-heading h1 { font-size: clamp(42px, 6vw, 66px); }
        .games-heading p { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
        .user-bar { gap: 10px; color: #c6d1c9; font-size: 13px; }
        .user-bar strong { color: var(--green); }
        .nickname-form { display: flex; align-items: center; gap: 6px; margin: 0; }
        .nickname-input {
            width: 125px;
            height: 35px;
            padding: 0 9px;
            outline: none;
            border: 1px solid var(--line);
            border-radius: 9px;
            color: var(--text);
            background: rgba(8, 15, 13, .44);
            font-size: 16px;
        }
        .nickname-input:focus { border-color: var(--green); }
        .nickname-status { color: var(--muted); font-size: 11px; }
        .secondary {
            min-height: 35px;
            padding: 0 13px;
            border: 1px solid var(--line);
            color: #dbe3dc;
            background: rgba(255,255,255,.04);
            font-size: 12px;
        }
        @media (hover: hover) and (pointer: fine) {
            .secondary:hover { background: rgba(255,255,255,.09); }
        }
        .game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
        .game-card {
            position: relative;
            display: flex;
            min-height: 276px;
            flex-direction: column;
            justify-content: space-between;
            overflow: hidden;
            padding: 27px;
            border: 1px solid var(--line);
            border-radius: 20px;
            background: linear-gradient(140deg, rgba(42, 69, 54, .91), rgba(24, 39, 35, .95));
            text-align: left;
            transition: transform .2s, border-color .2s;
        }
        @media (hover: hover) and (pointer: fine) {
            .game-card:not(:disabled):hover { transform: translateY(-4px); border-color: rgba(200,241,105,.55); }
        }
        .upcoming-game { cursor: default; opacity: .76; }
        .upcoming-game .game-meta strong { color: #c2cec5; }
        .game-icon { font-size: 37px; }
        .game-card h2 { margin: 18px 0 8px; font-size: 25px; letter-spacing: -.04em; }
        .game-card p { max-width: 290px; margin: 0; color: #b4c1b8; font-size: 13px; line-height: 1.7; }
        .game-meta { justify-content: space-between; margin-top: 27px; color: #aebdb2; font-size: 11px; }
        .game-meta strong { color: var(--green); font-size: 12px; }
        .hidden { display: none !important; }

        @media (max-width: 760px) {
            .page-shell { padding-top: 19px; }
            main { padding: 45px 0; }
            .auth-layout { grid-template-columns: 1fr; gap: 35px; max-width: 430px; }
            .intro { text-align: center; }
            .intro .eyebrow, .intro-foot { justify-content: center; }
            h1 { font-size: clamp(48px, 14vw, 68px); }
            .intro-copy { margin-right: auto; margin-left: auto; }
            .intro-foot { margin-top: 20px; }
            .game-grid { grid-template-columns: 1fr; }
            .game-card { min-height: 230px; }
        }
        @media (max-width: 440px) {
            .top-note { display: none; }
            .user-bar { gap: 8px; font-size: 11px; }
            .secondary { padding: 0 9px; }
            .footer { gap: 12px; font-size: 10px; }
        }
        @media (max-width: 560px) {
            .page-shell { min-height: 100svh; padding: 12px 16px; }
            .topbar { flex-wrap: wrap; gap: 10px; }
            .user-bar { width: 100%; justify-content: flex-end; }
            main { padding: 12px 0; }
            .auth-layout { display: block; width: 100%; max-width: 430px; }
            .auth-layout .intro { display: none; }
            .auth-card { padding: 20px; border-radius: 17px; }
            .card-heading p { margin: 7px 0 16px; }
            .tabs { margin-bottom: 16px; }
            .field { margin-bottom: 12px; }
            .field label { margin-bottom: 6px; }
            .field input { height: 43px; }
            .status { margin-top: 8px; }
            .back-link { margin-top: 10px; }
        }
        @media (pointer: coarse) {
            html { -webkit-text-size-adjust: 100%; }
            body { min-height: 100vh; min-height: 100dvh; }
            .page-shell {
                min-height: 100vh;
                min-height: 100dvh;
                padding-top: calc(12px + env(safe-area-inset-top, 0px));
                padding-right: max(16px, env(safe-area-inset-right, 0px));
                padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
                padding-left: max(16px, env(safe-area-inset-left, 0px));
            }
            main { padding-top: 16px; padding-bottom: 16px; }
            button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
            .primary, .secondary, .room-control-button, .copy-button, .back-link {
                min-height: 44px;
            }
            .field input, .room-action-card input, .draw-form input, .member-score-input {
                font-size: 16px;
            }
            .game-card { transition: none; }
        }

        .room-page-heading { margin-bottom: 25px; }
        .room-page-heading h1 { font-size: clamp(42px, 6vw, 66px); }
        .room-page-heading h1 span { color: var(--green); }
        .room-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
        .room-action-card, .room-panel {
            padding: 23px;
            border: 1px solid var(--line);
            border-radius: 17px;
            background: rgba(24, 39, 35, .78);
        }
        .room-action-card { display: flex; min-width: 0; flex-direction: column; }
        .action-icon {
            display: grid;
            width: 36px;
            height: 36px;
            place-items: center;
            border-radius: 11px;
            color: var(--green);
            background: rgba(200, 241, 105, .1);
            font-size: 22px;
        }
        .room-action-card h2 { margin: 17px 0 7px; font-size: 18px; }
        .room-action-card p { min-height: 42px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
        .room-action-card label, .draw-form label { margin-bottom: 7px; color: #d7e0d9; font-size: 12px; font-weight: 650; }
        .room-action-card input, .draw-form input {
            width: 100%;
            height: 43px;
            padding: 0 12px;
            outline: none;
            border: 1px solid var(--line);
            border-radius: 9px;
            color: var(--text);
            background: rgba(8, 15, 13, .44);
        }
        .room-action-card input:focus, .draw-form input:focus { border-color: var(--green); }
        .room-action-card input::placeholder { color: #67766e; font-size: 11px; }
        .room-action-card .primary, .room-action-card .secondary { min-height: 42px; margin-top: auto; }
        .room-action-card > input + .primary { margin-top: 13px; }
        .inline-field { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--muted); }
        .room-action-status { min-height: 22px; }
        .room-directory { padding: 22px; margin: 0 0 22px; border: 1px solid var(--line); border-radius: 17px; background: rgba(24, 39, 35, .56); }
        .room-directory-heading, .room-directory-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
        .room-directory-heading h2 { margin: 0; font-size: 18px; }
        .room-directory-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
        .room-directory-status { min-height: 18px; }
        .room-directory-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
        .room-directory-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-width: 0; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 14, 12, .26); }
        .room-directory-info { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-width: 0; gap: 6px 10px; }
        .room-directory-code { min-width: 0; overflow-wrap: anywhere; color: var(--green); font-size: 16px; font-weight: 850; letter-spacing: .06em; }
        .room-directory-phase { padding: 4px 8px; border-radius: 999px; color: #f0c886; background: rgba(240,200,134,.1); font-size: 10px; font-weight: 750; white-space: nowrap; }
        .room-directory-phase.playing { color: #b9c9ff; background: rgba(137,160,255,.12); }
        .room-directory-meta { display: flex; grid-column: 1 / -1; flex-wrap: wrap; gap: 3px 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
        .room-directory-item button { width: auto; min-width: 104px; min-height: 42px; padding: 0 14px; margin: 0; }
        .room-directory-empty { grid-column: 1 / -1; padding: 12px 0; color: var(--muted); font-size: 12px; }
        .room-panel { padding: clamp(20px, 4vw, 32px); }
        .room-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
        .room-label { color: var(--muted); font-size: 11px; }
        .room-code-row { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
        .room-code-row strong { color: var(--green); font-size: clamp(25px, 5vw, 34px); letter-spacing: .08em; }
        .copy-button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #dbe3dc; background: transparent; font-size: 11px; }
        .phase-pill, .member-badge { padding: 6px 10px; border-radius: 999px; color: var(--green); background: rgba(200,241,105,.1); font-size: 11px; white-space: nowrap; }
        .room-summary { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 15px 0 19px; color: #b4c1b8; font-size: 12px; }
        .room-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
        .room-section-heading h2 { margin: 0; font-size: 15px; }
        .room-section-heading span { color: var(--muted); font-size: 11px; }
        .room-members { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
        .room-member { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; border: 1px solid rgba(230,242,220,.08); border-radius: 10px; background: rgba(0,0,0,.15); }
        .member-info { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
        .member-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
        .member-name { overflow-wrap: anywhere; color: #e5ebe5; font-size: 12px; font-weight: 650; }
        .member-unpotted-count { padding: 4px 8px; border: 1px solid rgba(200,241,105,.2); border-radius: 999px; color: var(--green); background: rgba(200,241,105,.08); font-size: 10px; font-weight: 750; white-space: nowrap; }
        .member-score { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; white-space: nowrap; }
        .member-score-input { width: 86px; min-height: 32px; padding: 5px 7px; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: rgba(8,15,13,.55); font: inherit; font-size: 12px; }
        .member-score-input:disabled { opacity: .72; }
        .member-score-input:focus { border-color: var(--green); outline: 2px solid rgba(200,241,105,.2); }
        .member-score-controls { display: inline-flex; align-items: center; gap: 6px; }
        .member-score-confirm { min-height: 32px; padding: 5px 9px; font-size: 10px; }
        .member-badge { display: inline-flex; width: fit-content; padding: 4px 8px; color: #b9c9bf; background: rgba(255,255,255,.06); font-size: 10px; }
        .member-ready { color: var(--green); }
        .member-waiting { color: #f0c886; }
        .member-card-groups { display: grid; min-width: 0; gap: 10px; }
        .card-group { display: grid; gap: 8px; }
        .card-group-heading {
            display: flex;
            align-items: center;
            gap: 7px;
            margin: 0;
            color: #d6e0d7;
            font-size: 12px;
            font-weight: 750;
        }
        .card-group-heading::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; }
        .member-cards { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px; }
        .playing-card {
            position: relative;
            display: grid;
            width: clamp(76px, 10vw, 96px);
            min-height: 112px;
            padding: 11px 8px 9px;
            place-items: center;
            border: 2px solid rgba(255,255,255,.82);
            border-radius: 12px;
            color: #233024;
            background: linear-gradient(145deg, #fffef0, #e4ebd7);
            box-shadow: 0 7px 16px rgba(0,0,0,.24), inset 0 0 0 1px rgba(24,39,35,.12);
            font-size: 21px;
            font-weight: 850;
            cursor: pointer;
            transition: box-shadow .17s ease, background .17s ease, opacity .17s ease;
        }
        .playing-card::before {
            position: absolute;
            top: 6px;
            left: 8px;
            color: currentColor;
            content: attr(data-card-label);
            font-size: 10px;
            font-weight: 800;
        }
        .drawn-card-marker {
            position: absolute;
            top: 7px;
            right: 7px;
            display: grid;
            width: 19px;
            height: 19px;
            place-items: center;
            border-radius: 50%;
            color: #243021;
            background: var(--green);
            font-size: 11px;
            font-weight: 900;
            line-height: 1;
        }
        .playing-card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
        .playing-card.red-card { color: #b53e3e; }
        .playing-card small { display: block; padding: 4px 6px; border-radius: 999px; color: #364432; background: rgba(200,241,105,.57); font-size: 10px; font-weight: 800; white-space: nowrap; }
        .pocketed-card-marker { display: inline-flex; padding: 3px 5px; border-radius: 999px; color: #492b1c; background: rgba(255,255,255,.56); font-size: 9px; font-weight: 850; line-height: 1; white-space: nowrap; }
        .playing-card.pocketed {
            border-color: #f0aa69;
            background: linear-gradient(145deg, #f4c995, #d98f5f);
            box-shadow: 0 0 0 2px rgba(240,170,105,.13), 0 5px 13px rgba(0,0,0,.24);
            opacity: .78;
        }
        .playing-card.pocketed small { color: #492b1c; background: rgba(255,255,255,.5); }
        .playing-card:disabled { cursor: default; }
        .my-cards { display: grid; gap: 17px; margin-top: 21px; }
        .my-cards .playing-card { width: clamp(88px, 12vw, 112px); min-height: 137px; font-size: 26px; }
        .my-cards .playing-card small { font-size: 11px; }
        .draw-more-button { width: auto; min-height: 43px; padding: 0 18px; margin-top: 19px; }
        .member-card-groups .playing-card { width: 66px; min-height: 84px; padding: 8px 5px 6px; border-radius: 9px; font-size: 16px; }
        .member-card-groups .playing-card::before { top: 4px; left: 5px; font-size: 8px; }
        .member-card-groups .drawn-card-marker { top: 4px; right: 4px; width: 16px; height: 16px; font-size: 9px; }
        .member-card-groups .playing-card small { padding: 3px 4px; font-size: 8px; }
        .member-card-groups .pocketed-card-marker { padding: 2px 4px; font-size: 7px; }
        .room-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 17px; }
        .room-control-button { width: auto; min-width: 190px; padding: 0 18px; }
        .room-control-status { flex: 1; min-width: 160px; margin: 0; }
        .draw-panel { margin-top: 23px; padding: clamp(18px, 3vw, 27px); border: 1px solid var(--line); border-radius: 14px; background: rgba(7, 14, 12, .3); }
        .draw-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
        .draw-intro .eyebrow { margin-bottom: 10px; }
        .draw-intro h2 { margin: 0; font-size: 20px; }
        .draw-intro p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
        .deck-mark { display: grid; width: 51px; height: 65px; flex: 0 0 auto; place-content: center; border: 1px solid rgba(255,255,255,.3); border-radius: 8px; color: #243021; background: #f0f0dd; font-size: 20px; font-weight: 800; line-height: 1; transform: rotate(6deg); }
        .deck-mark span { color: #ba4141; }
        .draw-form { display: flex; align-items: end; gap: 10px; max-width: 420px; margin-top: 20px; }
        .draw-form label { display: block; }
        .draw-form input { width: 100px; }
        .draw-form .primary { width: auto; min-width: 125px; margin: 0; padding: 0 16px; }
        .my-cards { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
        .my-cards-label { width: 100%; color: var(--muted); font-size: 11px; }
        .back-link { display: block; padding: 8px 0; margin-top: 18px; border: 0; color: #aabbb2; background: transparent; font-size: 12px; }
        @media (hover: hover) and (pointer: fine) {
            .back-link:hover { color: var(--green); }
        }

        @media (max-width: 850px) {
            .room-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        }
        @media (max-width: 560px) {
            .room-actions { grid-template-columns: 1fr; }
            .room-action-card p { min-height: 0; }
            .room-member { display: flex; flex-direction: column; }
            .member-cards { justify-content: flex-start; }
            .room-control-button { width: 100%; }
            .room-control-status { flex-basis: 100%; }
        }

        @supports (-webkit-touch-callout: none) {
            html { -webkit-text-size-adjust: 100%; }
            body { min-height: 100vh; min-height: 100svh; }
        }

        @media (pointer: coarse) {
            .nickname-input { min-height: 44px; font-size: 16px; }
            .member-score-input { min-height: 44px; }
            .member-score-confirm { min-height: 44px; }
            .room-directory-item button { min-height: 44px; }
        }

        @media (max-width: 560px) {
            .page-shell {
                padding-top: calc(12px + env(safe-area-inset-top, 0px));
                padding-right: max(16px, env(safe-area-inset-right, 0px));
                padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
                padding-left: max(16px, env(safe-area-inset-left, 0px));
            }
            .user-bar { justify-content: flex-start; flex-wrap: wrap; }
            .nickname-form { width: 100%; flex-wrap: wrap; }
            .nickname-input { flex: 1 1 110px; }
            .user-bar > #logoutButton { margin-left: auto; }
            .room-panel-top { align-items: flex-start; flex-wrap: wrap; }
            .room-directory { padding: 16px; }
            .room-directory-item { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
            .room-directory-info { gap: 7px 10px; }
            .room-directory-item button { width: 100%; }
            .room-controls { gap: 8px; }
            .draw-form { flex-wrap: wrap; align-items: center; }
            .draw-form label { width: 100%; margin: 0; }
            .my-cards .playing-card { width: clamp(78px, 22vw, 96px); min-height: 112px; }
        }
