/* The duel and tournament lobby share one readable game menu. */
.lg-shell .lg-setup{position:relative;isolation:isolate;display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start;gap:28px;width:100%;max-width:none;margin:0;padding:24px clamp(22px,3vw,44px) 28px;background:#173d54;color:#fff;overflow-y:auto;overscroll-behavior:contain}
.lg-shell .lg-setup::before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,#102e4980,#153f5799 40%,#14394fc4),url("../images/liga-lobby.webp") center/cover no-repeat;pointer-events:none}
.lg-shell .lg-setup::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#133b5150,transparent 55%);pointer-events:none}
.lg-shell .lg-setup-intro{position:sticky;top:20px;align-self:start;min-width:0;padding:20px 3px;text-align:center}
.lg-shell .lg-setup-intro .lg-lobby-kicker{margin:0 0 13px!important;font:600 11px/1.4 LigaGame,system-ui,sans-serif;color:#d6eeee;letter-spacing:.15em;text-transform:uppercase;text-shadow:0 2px 4px #09283e}
.lg-shell .lg-setup-intro h2{margin:12px 0 17px!important;font:700 clamp(38px,4.1vw,61px)/.99 LigaGame,system-ui,sans-serif;letter-spacing:-.025em;color:#ffe29c;text-shadow:0 2px #fff0be,0 5px #8b5a2b,0 8px #16364a,0 11px 13px #08263988;text-wrap:balance}
.lg-shell .lg-setup-intro [data-lg-setup-description]{max-width:270px;margin:0 auto!important;color:#e4f1ee;font-size:15px;line-height:1.55;text-shadow:0 1px 4px #08273e}
.lg-shell .lg-lobby-emblem{display:grid;place-items:center;width:145px;height:145px;margin:18px auto 0;border:2px solid #d5b777;border-radius:32px;background:radial-gradient(ellipse at 50% 35%,#7aa49c55,#163d5566 65%);box-shadow:inset 0 2px #f9e4b140,0 8px 20px #102c4855;transform:rotate(-3deg)}
.lg-shell .lg-lobby-emblem img{display:block;width:118px;height:118px;object-fit:contain;transform:rotate(3deg);filter:drop-shadow(0 4px 3px #0a28445e)}
.lg-shell .lg-setup-intro>img.lg-lobby-emblem{object-fit:contain;padding:14px}
.lg-shell .lg-setup[data-lg-kind=tournament] .lg-lobby-emblem{background:radial-gradient(ellipse at 50% 35%,#8b73bb66,#273d6666 65%)}
.lg-shell .lg-setup .lg-form{min-width:0;max-width:1080px;width:100%;margin:0 auto;padding:18px;border:2px solid #d6b979;border-bottom:6px solid #705a36;border-radius:23px;background:linear-gradient(135deg,#173f54ee,#10354ced);box-shadow:inset 0 2px #d1e4ce33,0 10px 28px #092a4350;color:#e9f1e9}
.lg-shell .lg-lobby-section{min-width:0;margin-bottom:13px;padding:14px 15px;border:1px solid #cfdbd5;border-bottom:4px solid #8ba8a4;border-radius:16px;background:#f7f6ee;color:#264b57;box-shadow:inset 0 2px #fff}
.lg-shell .lg-lobby-section-heading{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0 0 11px!important;font:600 19px/1.1 LigaGame,system-ui,sans-serif;color:#2c5b65}
.lg-shell .lg-lobby-section-heading::before{content:"";display:block;width:7px;height:22px;flex:0 0 7px;border-radius:4px;background:linear-gradient(#f4d38b,#d19a48);box-shadow:0 2px #a37a3a}
.lg-shell .lg-lobby-section-heading>span{flex:1}.lg-shell .lg-lobby-section-heading small{font:500 11px/1.4 system-ui,sans-serif;color:#68817c}
.lg-shell .lg-setup .lg-settings-grid{display:grid;grid-template-columns:155px 120px minmax(0,1fr) minmax(0,1.1fr);gap:12px}
.lg-shell .lg-setup .lg-field{gap:5px;font-size:12px;font-weight:600;color:#41616b}
.lg-shell .lg-setup .lg-field>span{font-size:12px;font-weight:650;color:#41616b}
.lg-shell .lg-setup .lg-field input,.lg-shell .lg-setup .lg-field select,.lg-shell .lg-setup .lg-field textarea{min-height:44px;padding:9px 10px;border:1px solid #b6cac9;border-bottom:3px solid #93aaa9;border-radius:9px;background:#fffef8;color:#244957;font-size:15px;box-shadow:inset 0 2px #fff}
.lg-shell .lg-setup .lg-field input:focus,.lg-shell .lg-setup .lg-field select:focus,.lg-shell .lg-setup .lg-field textarea:focus{border-color:#b48a37;background:#fffefb}
.lg-shell .lg-setup .lg-field small{font-size:11px;line-height:1.4;color:#607d7d}
.lg-shell .lg-lobby-players,.lg-shell .lg-lobby-section:has(>.lg-choice){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 14px;align-items:end}
.lg-shell .lg-lobby-players>.lg-lobby-section-heading,.lg-shell .lg-lobby-section:has(>.lg-choice)>.lg-lobby-section-heading{grid-column:1 / -1;margin-bottom:0!important}
.lg-shell .lg-setup .lg-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;min-width:0}
.lg-shell .lg-setup .lg-choice .lg-button{min-height:46px;padding:9px 13px;border:1px solid #6e96a6;border-bottom:4px solid #395d73;border-radius:11px;background:linear-gradient(#e9f2f3,#cfdfe2);color:#31556b;font:600 17px/1.1 LigaGame,system-ui,sans-serif;box-shadow:inset 0 2px #fff9}
.lg-shell .lg-setup .lg-choice .lg-button[aria-pressed=true]{border-color:#ad8138;border-bottom-color:#89622e;background:linear-gradient(#ffe7ac,#f4c46c);color:#5c4125;box-shadow:inset 0 2px #fff3cf,0 0 0 2px #f7d88842}
.lg-shell .lg-roster-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0;font-size:12px;color:#496a72}
.lg-shell .lg-roster-toolbar .lg-field{display:grid;grid-template-columns:auto 110px;gap:9px;align-items:center}
.lg-shell .lg-roster-toolbar select{min-width:72px;width:auto;min-height:46px;padding:9px 12px;border:1px solid #b7a476;border-bottom:3px solid #a58b50;border-radius:10px;background:#fff7df;color:#4b5b53;font:600 17px LigaGame,system-ui,sans-serif}
.lg-shell .lg-setup .lg-duel-names{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
.lg-shell .lg-setup .lg-name-card{position:relative;min-width:0;padding:11px 12px;border:1px solid #aecac9;border-top:4px solid #4f9294;border-bottom:3px solid #a3bcb6;border-radius:13px;background:#eaf2ee;box-shadow:inset 0 1px #fff}
.lg-shell .lg-setup .lg-name-card:nth-child(even){border-top-color:#987eaf;background:#efedf5}
.lg-shell .lg-setup .lg-name-card>.lg-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
.lg-shell .lg-setup .lg-name-card>.lg-field-grid .lg-field>span{font-size:11px}
.lg-shell .lg-setup .lg-team-number{position:absolute;left:11px;top:28px;display:grid;place-items:center;width:31px;height:33px;border:1px solid #ddc078;border-bottom:3px solid #7b683a;border-radius:10px;background:linear-gradient(#f9dda0,#deb15f);color:#5e482a;font:700 18px/1 LigaGame,system-ui,sans-serif;box-shadow:inset 0 1px #fff0ba}
.lg-shell .lg-setup .lg-name-card:has(.lg-team-number)>.lg-field{padding-left:40px}
.lg-shell .lg-setup [data-lg-roster-field]{grid-column:1 / -1;margin:0}
.lg-shell .lg-setup textarea[data-lg-roster]{min-height:130px;line-height:1.6;resize:vertical}
.lg-shell .lg-setup .lg-options{margin:13px 0 10px;padding:0 13px;border:1px solid #8fb1b55e;border-bottom:3px solid #0b293e;border-radius:12px;background:#0d3047b8;color:#d8e9e5;font-size:12px}
.lg-shell .lg-setup .lg-options>summary{min-height:44px;cursor:pointer;padding:12px 0;font:500 14px/1.4 LigaGame,system-ui,sans-serif;color:#f7dea0}
.lg-shell .lg-setup .lg-options>.lg-field-grid{gap:14px;margin:7px 0 14px}.lg-shell .lg-setup .lg-options .lg-field>span{color:#d2e5e0}
.lg-shell .lg-setup .lg-options>label{margin:10px 0}.lg-shell .lg-setup .lg-options>p{color:#c9dfd9;font-size:11px;margin-bottom:13px!important}
.lg-shell .lg-setup .lg-pool{font-size:11px;line-height:1.4;color:#cbe3dd;margin:0!important}
.lg-shell .lg-setup .lg-error{font-size:12px;color:#ffddb0}
.lg-shell .lg-setup .lg-replace{font-size:12px;padding:10px 12px;margin:11px 0;background:#fff1cb;color:#654923}
.lg-shell .lg-setup .lg-actions{justify-content:flex-end;gap:10px;margin-top:13px}
.lg-shell .lg-setup .lg-actions .lg-button{min-height:48px;padding:11px 18px;border:1px solid #98b5be;border-bottom:3px solid #34546a;background:#214b60;color:#e5f1ed;font:600 16px LigaGame,system-ui,sans-serif}
.lg-shell .lg-setup .lg-actions .lg-primary{min-width:235px;min-height:52px;border:1px solid #b38439;border-bottom:5px solid #795a2b;background:linear-gradient(#ffe7a7,#f5c568);color:#5b3e24;font:600 22px/1 LigaGame,system-ui,sans-serif;box-shadow:inset 0 2px #fff0c7}
@media(min-width:1500px){.lg-shell .lg-setup{grid-template-columns:minmax(280px,.45fr) minmax(0,1.35fr);padding-inline:6vw;gap:40px}.lg-shell .lg-setup-intro{padding-top:35px}}
@media(max-width:1180px){.lg-shell .lg-setup{grid-template-columns:230px minmax(0,1fr);gap:21px;padding:22px}.lg-shell .lg-setup-intro h2{font-size:43px}.lg-shell .lg-lobby-emblem{width:120px;height:120px;border-radius:26px}.lg-shell .lg-lobby-emblem img{width:99px;height:99px}.lg-shell .lg-setup .lg-form{padding:15px}.lg-shell .lg-setup .lg-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.lg-shell .lg-lobby-section{padding:13px}.lg-shell .lg-lobby-players,.lg-shell .lg-lobby-section:has(>.lg-choice){grid-template-columns:1fr}.lg-shell .lg-roster-toolbar{justify-content:flex-start}.lg-shell .lg-roster-toolbar .lg-field{grid-template-columns:auto 90px}.lg-shell .lg-setup .lg-choice .lg-button{font-size:16px}}
@media(max-width:900px){.lg-shell .lg-setup{grid-template-columns:1fr;gap:19px;padding:21px}.lg-shell .lg-setup-intro{position:static;display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:6px 19px;padding:0;align-items:center;text-align:left}.lg-shell .lg-setup-intro .lg-lobby-kicker{grid-column:1;margin:0!important;font-size:10px}.lg-shell .lg-setup-intro h2{grid-column:1;margin:5px 0!important;font-size:41px;line-height:1;text-wrap:normal}.lg-shell .lg-setup-intro [data-lg-setup-description]{grid-column:1;max-width:none;margin:0!important;font-size:13px}.lg-shell .lg-lobby-emblem{grid-column:2;grid-row:1 / span 3;width:96px;height:96px;border-radius:23px;margin:0}.lg-shell .lg-lobby-emblem img{width:80px;height:80px}.lg-shell .lg-setup .lg-form{max-width:800px}.lg-shell .lg-lobby-players,.lg-shell .lg-lobby-section:has(>.lg-choice){grid-template-columns:minmax(0,1fr) auto}.lg-shell .lg-setup .lg-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.lg-shell .lg-setup{padding:17px 14px 24px;gap:17px}.lg-shell .lg-setup-intro{grid-template-columns:minmax(0,1fr) 73px;gap:5px 10px}.lg-shell .lg-setup-intro h2{font-size:34px;text-shadow:0 2px #fff0be,0 4px #8b5a2b,0 6px #16364a}.lg-shell .lg-setup-intro .lg-lobby-kicker{font-size:9px;letter-spacing:.09em}.lg-shell .lg-setup-intro [data-lg-setup-description]{font-size:12px;line-height:1.45}.lg-shell .lg-lobby-emblem{width:71px;height:76px;border-radius:18px}.lg-shell .lg-lobby-emblem img{width:62px;height:62px}.lg-shell .lg-setup .lg-form{padding:11px;border-radius:18px}.lg-shell .lg-lobby-section{padding:12px 10px;border-radius:13px}.lg-shell .lg-lobby-section-heading{font-size:17px;gap:9px}.lg-shell .lg-setup .lg-settings-grid{gap:11px 9px}.lg-shell .lg-setup .lg-field input,.lg-shell .lg-setup .lg-field select{font-size:14px;padding-inline:8px}.lg-shell .lg-lobby-players,.lg-shell .lg-lobby-section:has(>.lg-choice){grid-template-columns:1fr}.lg-shell .lg-setup .lg-duel-names{grid-template-columns:1fr}.lg-shell .lg-roster-toolbar{justify-content:flex-start}.lg-shell .lg-setup .lg-name-card{padding:11px}.lg-shell .lg-setup .lg-name-card>.lg-field-grid{gap:9px}.lg-shell .lg-setup .lg-actions{justify-content:center}.lg-shell .lg-setup .lg-actions .lg-button{flex:1}.lg-shell .lg-setup .lg-actions .lg-primary{min-width:180px;font-size:21px}.lg-shell .lg-setup .lg-options{padding-inline:10px}}
@media(max-width:360px){.lg-shell .lg-setup-intro h2{font-size:30px}.lg-shell .lg-setup .lg-settings-grid{grid-template-columns:1fr}.lg-shell .lg-setup .lg-name-card>.lg-field-grid{grid-template-columns:1fr}.lg-shell .lg-setup .lg-actions{flex-direction:column;align-items:stretch}.lg-shell .lg-setup .lg-actions .lg-primary{min-width:0}}
@media(min-width:1181px) and (max-height:800px){.lg-shell .lg-setup{padding-top:17px;padding-bottom:19px;gap:25px}.lg-shell .lg-setup-intro{padding-top:13px}.lg-shell .lg-setup .lg-form{padding:15px}.lg-shell .lg-lobby-section{padding:12px 13px;margin-bottom:11px}.lg-shell .lg-lobby-section-heading{margin-bottom:9px!important;font-size:18px}.lg-shell .lg-setup .lg-name-card{padding:10px 11px}.lg-shell .lg-setup .lg-name-card>.lg-field-grid{margin-top:8px}.lg-shell .lg-setup .lg-options{margin-top:11px;margin-bottom:8px}.lg-shell .lg-setup .lg-actions{margin-top:11px}}
/* Competition keeps the problem above each independent controller and board. */
.lg-shell .lg-arena{padding-top:12px;padding-bottom:18px;scroll-padding-top:calc(var(--lg-reading-height,180px) + 12px)}
.lg-shell .lg-arena .lg-round-strip{min-height:24px;font-size:12px}
.lg-shell .lg-arena .lg-round-tabs,.lg-shell .lg-arena .lg-solve-question{display:none}
.lg-shell .lg-arena .lg-problem{display:block;max-width:1180px;margin:9px auto 14px;padding:10px 18px}
.lg-shell .lg-arena>.lg-problem{position:sticky;top:0;z-index:12;box-shadow:0 4px 12px #173b4e1c}
.lg-shell .lg-arena .lg-problem .lg-statement{font-size:calc(clamp(24px,2.05vw,30px) + var(--lg-size));line-height:1.35}
.lg-shell .lg-arena .lg-problem .lg-reading-actions{margin-top:9px;gap:8px}
.lg-shell .lg-arena .lg-problem .lg-reading-actions .lg-button{min-height:44px;padding:6px 11px;font-size:12px}
.lg-shell .lg-arena .lg-player-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;max-width:1440px;margin:0 auto}
.lg-shell .lg-arena .lg-player{min-width:0;padding:11px;border-radius:17px}
.lg-shell .lg-arena .lg-player>header{gap:12px;margin-bottom:10px;min-height:30px}
.lg-shell .lg-arena .lg-player h3{font-size:23px;line-height:1.1;overflow-wrap:anywhere}.lg-shell .lg-arena .lg-player header small{font-size:11px}
.lg-shell .lg-arena .lg-score{font-size:27px}.lg-shell .lg-arena .lg-score small{font-size:10px!important}
.lg-shell .lg-arena [data-lg-player-inputs]{min-width:0;align-items:start;gap:10px}
.lg-shell[data-lg-mode=mental] .lg-arena [data-lg-player-inputs]{display:grid;grid-template-columns:minmax(0,1fr) 306px}
.lg-shell[data-lg-mode=mental] .lg-arena .lg-answer-fields{grid-column:1;grid-row:1;grid-template-columns:1fr;gap:8px}
.lg-shell[data-lg-mode=mental] .lg-arena .lg-answer-actions{grid-column:1;grid-row:2;margin:0}
.lg-shell[data-lg-mode=mental] .lg-arena .lg-controller{grid-column:2;grid-row:1 / span 2;margin:0;position:static}
.lg-shell .lg-arena .lg-answer-fields .lg-field{gap:4px;font-size:11px}
.lg-shell .lg-arena .lg-answer-fields input,.lg-shell .lg-arena .lg-answer-fields select{min-height:44px;padding:8px 9px;font-size:17px}
.lg-shell .lg-arena .lg-answer-fields input{font-size:25px}
.lg-shell .lg-arena .lg-answer-actions .lg-primary{min-width:0;width:100%;min-height:44px;padding:9px 12px;font-size:18px}
.lg-shell .lg-arena .lg-controller{width:100%;padding:10px;gap:9px;border-radius:24px;box-shadow:inset 0 2px #a8d0e04d,0 3px 7px #102b4c20}
.lg-shell .lg-arena .lg-controller .lg-keypad{gap:5px}
.lg-shell .lg-arena .lg-controller .lg-keypad .lg-button{min-width:44px;min-height:44px;padding:4px;font-size:23px}
.lg-shell .lg-arena .lg-controller .lg-controller-grip>img{width:51px;height:51px}
.lg-shell .lg-arena .lg-controller .lg-controller-arrows{gap:4px;margin:3px 0}
.lg-shell .lg-arena .lg-controller .lg-controller-arrows .lg-button{min-width:44px;min-height:44px}
.lg-shell .lg-arena .lg-player-notes{grid-column:1 / -1;grid-row:3;min-width:0;margin-top:10px;--ln-height:150px}
.lg-shell .lg-arena .lg-player-notes .ln-board{padding:8px;border-radius:13px;box-shadow:none}
.lg-shell .lg-arena .lg-player-notes .ln-board>header{gap:7px;margin-bottom:6px}
.lg-shell .lg-arena .lg-player-notes .ln-board h3{font-size:20px}
.lg-shell .lg-arena .lg-player-notes .ln-toolbar{gap:4px}
.lg-shell .lg-arena .lg-player-notes .ln-toolbar button{min-width:44px;min-height:44px;padding:6px 8px;font-size:11px}
.lg-shell .lg-arena .lg-player-notes [data-ln-canvas]{height:var(--ln-height,150px);min-height:150px}
.lg-shell .lg-arena .lg-round-bottom{gap:10px;margin-top:12px}
.lg-shell .lg-arena .lg-round-bottom>.lg-button{min-height:44px}
.lg-shell .lg-team-switcher{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;max-width:1200px;margin:0 auto 13px}
.lg-shell .lg-team-switcher [data-lg-action=participant]{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:125px;min-height:50px;max-width:245px;padding:8px 12px;border:1px solid #8fadb6;border-bottom:4px solid #3f6478;border-radius:12px;background:linear-gradient(#f5faf7,#dce8e4);color:#315467;text-align:left;box-shadow:inset 0 2px #fff;font:600 16px/1.1 LigaGame,system-ui,sans-serif}
.lg-shell .lg-team-switcher [data-lg-action=participant][aria-pressed=true],.lg-shell .lg-team-switcher [data-lg-action=participant][aria-selected=true]{border-color:#bd944b;border-bottom-color:#8e6831;background:linear-gradient(#ffe9b7,#f6d185);color:#5c4224}
.lg-shell .lg-team-switcher [data-lg-action=participant] strong{font:inherit;overflow-wrap:anywhere}.lg-shell .lg-team-switcher [data-lg-action=participant] small{display:block;margin-top:4px;font:500 10px/1.2 system-ui,sans-serif;color:#5a7882}
.lg-shell .lg-team-switcher [data-lg-action=participant]>span:last-child{min-width:0;overflow-wrap:anywhere}
.lg-shell .lg-team-switcher .lg-team-number,.lg-shell .lg-team-switcher .lg-team-tab-badge{position:static;display:grid;place-items:center;flex:0 0 30px;width:30px;height:31px;border:1px solid #d8bd82;border-radius:9px;background:#fbe3a7;color:#67502d;font:600 17px LigaGame,system-ui,sans-serif}
.lg-shell .lg-arena .lg-player-grid.is-multi{grid-template-columns:minmax(0,1fr)}
.lg-shell .lg-arena .lg-player-grid.is-multi .lg-player{width:100%;max-width:1000px;margin:0 auto}
.lg-shell .lg-arena .lg-player-grid.is-multi .lg-player[hidden]{display:none!important}
.lg-shell[data-lg-mode=written] .lg-arena [data-lg-player-inputs]{display:grid;grid-template-columns:minmax(0,1fr) 244px}
.lg-shell[data-lg-mode=written] .lg-arena .lg-work{grid-column:1;grid-row:1;margin:0}
.lg-shell .lg-arena .lg-work-tabs .lg-button,.lg-shell .lg-arena .lg-work-actions .lg-button{min-width:44px;min-height:44px}
.lg-shell .lg-arena .lga-workpad{--lga-cell:44px}
.lg-shell .lg-arena .lga-note{height:44px;min-height:44px}.lg-shell .lg-arena .lga-notes .lga-comma,.lg-shell .lg-arena .lga-notes .lga-sign{height:44px}
.lg-shell[data-lg-mode=written] .lg-arena .lg-controller{grid-column:2;grid-row:1;position:sticky;top:6px}
.lg-shell[data-lg-mode=written] .lg-arena .lg-answer-fields{grid-column:1 / -1;grid-row:2;grid-template-columns:minmax(0,1fr) minmax(120px,1fr);gap:10px}
.lg-shell[data-lg-mode=written] .lg-arena .lg-answer-actions{grid-column:1 / -1;grid-row:3;margin:0}
.lg-shell[data-lg-mode=written] .lg-arena .lg-player-notes{grid-column:1 / -1;grid-row:4}
.lg-shell[data-lg-mode=written] .lg-arena .lg-player-grid.is-multi [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr) 306px}
.lg-shell .lg-ready-sides.is-multi{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:100%;max-width:1250px;margin:12px auto}
.lg-shell .lg-ready-sides.is-multi>div{width:100%;max-width:none;min-width:0;min-height:111px;padding:15px 11px;border-width:2px;border-bottom-width:5px;border-radius:17px;gap:6px}
.lg-shell .lg-ready-sides.is-multi strong{font-size:24px;line-height:1.1}.lg-shell .lg-ready-sides.is-multi span:not(.lg-vs),.lg-shell .lg-ready-sides.is-multi small{font-size:11px}
.lg-shell .lg-ready-sides.is-multi>div:nth-child(even){border-color:#cbb3e8;border-bottom-color:#51406e;background:linear-gradient(145deg,#7866a7ee,#42345eef)}
.lg-shell .lg-result .lg-final-scores{flex-wrap:wrap}
@media(max-width:1180px){.lg-shell .lg-arena .lg-player-grid{grid-template-columns:1fr}.lg-shell .lg-arena .lg-player{width:100%;max-width:1000px;margin:auto}.lg-shell[data-lg-mode=mental] .lg-arena [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr) 320px}.lg-shell[data-lg-mode=written] .lg-arena [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr) 306px}}
@media(max-width:760px){.lg-shell .lg-arena{padding-inline:14px}.lg-shell .lg-arena .lg-problem{padding-inline:4px}.lg-shell .lg-arena .lg-problem .lg-statement{font-size:calc(23px + var(--lg-size));line-height:1.4}.lg-shell .lg-arena .lg-player{padding:11px}.lg-shell .lg-arena .lg-player h3{font-size:22px}.lg-shell[data-lg-mode=mental] .lg-arena [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr) 306px}.lg-shell[data-lg-mode=written] .lg-arena [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr)}.lg-shell[data-lg-mode=written] .lg-arena .lg-work{grid-column:1;grid-row:1}.lg-shell[data-lg-mode=written] .lg-arena .lg-controller{grid-column:1;grid-row:2;position:static;max-width:365px;justify-self:center}.lg-shell[data-lg-mode=written] .lg-arena .lg-answer-fields{grid-column:1;grid-row:3}.lg-shell[data-lg-mode=written] .lg-arena .lg-answer-actions{grid-column:1;grid-row:4}.lg-shell[data-lg-mode=written] .lg-arena .lg-player-notes{grid-column:1;grid-row:5}.lg-shell .lg-team-switcher [data-lg-action=participant]{min-width:115px;max-width:200px;font-size:15px}}
@media(max-width:1000px){.lg-shell .lg-ready-sides.is-multi{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.lg-shell .lg-ready-sides.is-multi strong{font-size:22px}}
@media(max-width:620px){.lg-shell .lg-ready-sides.is-multi{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lg-shell .lg-ready-sides.is-multi>div{padding:13px 9px;min-height:107px}.lg-shell .lg-ready-sides.is-multi strong{font-size:21px}}
@media(max-width:620px){.lg-shell[data-lg-mode=mental] .lg-arena [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr)}.lg-shell[data-lg-mode=mental] .lg-arena .lg-answer-fields{grid-column:1;grid-row:1;grid-template-columns:repeat(2,minmax(0,1fr))}.lg-shell[data-lg-mode=mental] .lg-arena .lg-answer-actions{grid-column:1;grid-row:2}.lg-shell[data-lg-mode=mental] .lg-arena .lg-controller{grid-column:1;grid-row:3;max-width:365px;justify-self:center}.lg-shell[data-lg-mode=mental] .lg-arena .lg-player-notes{grid-column:1;grid-row:4}.lg-shell .lg-arena .lg-player-notes .ln-board>header{align-items:flex-start}.lg-shell .lg-team-switcher{gap:7px}.lg-shell .lg-team-switcher [data-lg-action=participant]{flex:1 1 130px;max-width:none}.lg-shell .lg-arena .lg-round-bottom{font-size:11px}}
@media(max-width:430px){.lg-shell .lg-arena .lg-controller{display:grid;grid-template-columns:minmax(0,1fr);max-width:320px}.lg-shell .lg-arena .lg-controller-grip{display:none}.lg-shell[data-lg-mode=written] .lg-arena .lg-player-grid.is-multi [data-lg-player-inputs]{grid-template-columns:minmax(0,1fr)}.lg-shell .lg-arena .lg-player-notes .ln-board{padding:7px}.lg-shell .lg-arena .lg-player-notes .ln-toolbar{gap:4px}.lg-shell .lg-arena .lg-player-notes .ln-toolbar button{padding:6px;font-size:10px}}
