
:root{--ink:#171926;--muted:#626477;--line:#dcdde5;--green:#3533c7;--lime:#d4ff76;--paper:#f4f4f0;--white:#fff;--red:#bf353f;--purple:#3533c7}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Nunito Sans',system-ui,sans-serif}body:before{content:'';position:fixed;z-index:-1;top:0;right:0;width:32vw;height:220px;background:#e3e5ff;clip-path:polygon(35% 0,100% 0,100% 100%,0 100%)}.wrap{max-width:1180px;margin:auto;padding:0 32px}header{height:82px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #cfd0d6}.brand{font-family:'Outfit',sans-serif;color:var(--ink);text-decoration:none;font-weight:700;font-size:26px;letter-spacing:-1.4px}.brand:first-letter{color:var(--purple)}.header-right{display:flex;align-items:center;gap:20px}.language{display:flex;border:1px solid #c5c7d2;background:white;padding:3px;border-radius:100px}button.lang{background:transparent;color:var(--muted);font-size:11px;font-weight:800;padding:8px 11px;border-radius:100px}button.lang.active{background:var(--ink);color:#fff}.connection{font-size:12px;font-weight:700;color:#626579}main{padding:66px 0 100px;min-height:77vh}footer{border-top:1px solid #cfd0d6;padding:24px 0;color:var(--muted);font-size:10px;letter-spacing:.15em;font-weight:700}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.18em;color:var(--purple);display:flex;align-items:center;gap:8px}.eyebrow:before{content:'';width:8px;height:8px;border-radius:50%;background:#ff764f}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Outfit',sans-serif}h1{white-space:pre-line;font-size:clamp(52px,8vw,92px);line-height:.98;letter-spacing:-.075em;margin:18px 0 24px;max-width:800px}h2{font-size:clamp(29px,4vw,42px);line-height:1.1;letter-spacing:-.05em;margin:12px 0 24px}h3{font-size:20px;letter-spacing:-.035em;margin:0 0 14px}.lead{color:var(--muted);line-height:1.65;max-width:620px;font-size:16px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:36px}.card{background:var(--white);border:1px solid #dcdee7;border-radius:5px;padding:30px;box-shadow:0 5px 0 rgba(27,28,54,.035)}.card p{color:var(--muted);font-size:14px;line-height:1.55}.grid:not(.battle-layout)>.card:first-child{border-top:4px solid var(--purple)}.grid:not(.battle-layout)>.card:nth-child(2){border-top:4px solid #fe805d}.stack{display:grid;gap:15px}.topspace{margin-top:26px}.smallspace{margin-top:15px}label{font-size:12px;font-weight:800;display:block;letter-spacing:.01em}input,select{display:block;width:100%;padding:13px 14px;border:1px solid #d1d4df;border-radius:4px;background:#fafafd;color:var(--ink);font:inherit;margin-top:7px}input:hover,select:hover{border-color:#a5a8bf}input[type=checkbox]{width:19px;height:19px;display:inline;margin:0;accent-color:var(--purple)}button{font:inherit;cursor:pointer;border:0;border-radius:3px;padding:14px 19px;font-size:13px;font-weight:800;background:var(--purple);color:white;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#2523a8;transform:translateY(-1px)}button:disabled{opacity:.5;cursor:not-allowed}button.secondary{background:#e9eaff;color:var(--purple)}button.secondary:hover:not(:disabled){background:#dddfff}button.link{background:none;color:var(--muted);text-decoration:underline;padding:5px;font-size:12px}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ff9a5d;outline-offset:3px}.error{color:var(--red)!important;font-size:13px;margin-top:12px}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.badge{display:inline-block;background:#e9eaff;color:var(--purple);padding:8px 11px;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.code{overflow-wrap:anywhere;word-break:break-word;font-family:'Outfit',sans-serif;font-size:clamp(32px,5vw,54px);font-weight:700;letter-spacing:.05em;color:var(--purple);line-height:1;margin:15px 0}.linktext{overflow-wrap:anywhere;font-size:13px!important;margin-top:8px}.players{list-style:none;margin:12px 0 0;padding:0}.player{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 0;border-bottom:1px solid #eeeef1;font-size:14px}.player:last-child{border-bottom:0}.player-name{font-weight:800;overflow-wrap:anywhere}.status{color:var(--muted);font-size:12px;text-align:right}.status.done{color:#18814a;font-weight:800}.status.offline{color:#ad5d4b}.bigscore{font-family:'Outfit';font-weight:700;font-size:20px}.game-settings{margin-top:20px;max-width:500px}.game-settings label,.pair-row{display:flex;align-items:center;justify-content:space-between;gap:18px}.game-settings select,.pair-row select{width:155px;flex:none;margin:0}.battle-settings{border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.battle-toggle{display:flex;align-items:center;gap:10px;font-size:14px}.pair-list{max-width:500px;display:grid;gap:10px;margin-top:16px}.pair-row select{width:150px}.question{font-family:'Outfit';font-size:clamp(28px,4vw,42px);line-height:1.15;letter-spacing:-.05em;margin:32px 0}.timer{font-family:'Outfit';font-size:27px;font-weight:700;white-space:nowrap}.answers{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answer{text-align:left;background:#f6f6fb;border:1px solid #e1e2eb;color:var(--ink);min-height:62px}.answer:hover:not(:disabled){background:#e9eaff;color:var(--purple)}.resultline{padding:18px;background:#e8f7d5;border-left:4px solid #91cb4f;margin-top:16px;line-height:1.5;font-weight:700}.muted{color:var(--muted);font-size:13px}.battle-layout{grid-template-columns:minmax(0,2fr) minmax(220px,1fr)}.duel-row{border-top:1px solid var(--line);padding:16px 0;line-height:1.6}.ocean-boards{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:30px}.ocean-block{min-width:0}.ocean-block h3{font-size:15px}.ocean-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;max-width:300px}.cell{aspect-ratio:1;padding:0;display:grid;place-items:center;min-width:0;background:#e8eaff;color:#5457a7;font-size:clamp(14px,2vw,20px);border-radius:2px}.cell:disabled{opacity:1}.cell:not(:disabled):hover{background:#969aff;color:white}.cell.ship{background:#bec4f7;color:#3939aa}.cell.hit{background:#ff765e;color:#fff}.cell.miss{background:#d9dae0;color:#85889a}@media(max-width:760px){.wrap{padding:0 19px}header{height:70px}main{padding:44px 0 75px}.grid,.battle-layout{grid-template-columns:1fr;gap:14px}.card{padding:23px}.ocean-boards{gap:12px}.connection{max-width:95px;text-align:right;font-size:10px}.header-right{gap:8px}}@media(max-width:440px){.ocean-boards{grid-template-columns:1fr}.ocean-grid{max-width:100%}.answers{grid-template-columns:1fr}.game-settings label,.pair-row{align-items:stretch;flex-direction:column;gap:5px}.game-settings select,.pair-row select{width:100%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.game-library{margin-top:36px}.game-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:24px}.game-tile{position:relative;min-height:190px;padding:16px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:7px;background:#f2f2fa;color:var(--ink);border:2px solid transparent;border-radius:8px}.game-tile:hover:not(:disabled){background:#e9eaff;color:var(--ink)}.game-tile.selected{border-color:var(--purple);background:#eeedff;box-shadow:0 3px 0 #3533c7}.tile-icon{display:grid;place-items:center;background:#d8dafa;color:#2926a6;border-radius:7px;font-family:'Outfit',sans-serif;font-size:29px;font-weight:700;min-width:50px;height:50px;padding:0 8px;margin-bottom:8px}.tile-truth .tile-icon{background:#d6f2ce;color:#236837}.tile-quiz .tile-icon{background:#ffdeca;color:#b8542b}.tile-battle .tile-icon{background:#cfecf5;color:#146477}.tile-tic .tile-icon{background:#f1d8f7;color:#8b3ba3;font-size:23px}.tile-title{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700;letter-spacing:-.03em}.tile-desc{font-size:12px;line-height:1.4;color:#626477;font-weight:500}.tile-action{margin-top:auto;padding-top:10px;color:var(--purple);font-size:11px;font-weight:800}.summary-details{margin-top:20px}.summary-details summary{cursor:pointer;font-size:14px;font-weight:800;color:var(--purple);padding:16px 0}.summary-details summary:focus-visible{outline:3px solid #ff9a5d;outline-offset:3px}.tic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:min(100%,300px);margin-top:24px}.tic-cell{aspect-ratio:1;background:#eeedff;color:var(--purple);padding:0;font-family:'Outfit',sans-serif;font-size:clamp(32px,7vw,62px);line-height:1}.tic-cell:disabled{opacity:1;color:var(--purple)}.tic-cell:not(:disabled):hover{background:#dcdcff}@media(max-width:960px){.game-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.game-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.game-tile{min-height:170px;padding:13px}.tile-title{font-size:15px}}
.tile-world .tile-icon{background:#c8f0d8;color:#176b52}.geo-layout{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(230px,1fr);gap:18px;margin-top:26px}.geo-heading{margin-bottom:12px}.world-map{display:block;width:100%;aspect-ratio:2 / 1;margin-top:22px;background:#d9eaf8;border:1px solid #b7d1e3;border-radius:6px;touch-action:manipulation}.world-map[tabindex]{cursor:crosshair}.world-map:focus-visible{outline:3px solid #ff9a5d;outline-offset:4px}.land{fill:#a6c7b0;stroke:#f3fbf3;stroke-width:.55;vector-effect:non-scaling-stroke}.map-pin,.target-pin{stroke:white;stroke-width:3;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 2px #4448)}.outcome-overlay{position:fixed;z-index:100;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;background:rgba(20,22,42,.83);color:white;pointer-events:none;animation:outcomeFade 2.3s ease both}.outcome-symbol{font-size:92px;line-height:1;animation:outcomePop .6s cubic-bezier(.16,1.5,.4,1) both}.outcome-title{font-family:'Outfit',sans-serif;font-size:clamp(32px,7vw,74px);letter-spacing:-.06em;text-align:center;padding:0 20px;animation:outcomePop .65s .08s both}.outcome-overlay.win .outcome-symbol{color:#d4ff76}.outcome-overlay.loss .outcome-symbol{color:#ff8469}.outcome-overlay.draw .outcome-symbol{color:#dadcff}@keyframes outcomeFade{0%{opacity:0}12%,80%{opacity:1}100%{opacity:0}}@keyframes outcomePop{0%{transform:translateY(25px) scale(.75);opacity:0}100%{transform:translateY(0) scale(1);opacity:1}}@media(max-width:760px){.geo-layout{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.outcome-overlay,.outcome-symbol,.outcome-title{animation:none!important}.outcome-overlay{background:rgba(20,22,42,.9)}}
.tile-connect .tile-icon{background:#ffd6d3;color:#b72e38;font-size:23px}.session-archive{border-left:4px solid #6b67e8}.archive-run{border-top:1px solid var(--line);margin-top:12px}.archive-header{display:grid;grid-template-columns:130px 1fr auto;gap:16px;align-items:center;cursor:pointer;padding:18px 0;font-size:13px}.archive-header::marker{color:var(--purple)}.archive-number{font-family:'Outfit',sans-serif;font-size:16px;font-weight:700}.archive-winner{font-weight:700}.archive-date{color:var(--muted);font-size:12px}.archive-body{padding:4px 0 18px}.archive-detail{border-left:3px solid #d5d6f2;padding:12px 16px;margin:12px 0;background:#f9f9fd}.connect-game{max-width:480px;margin-top:25px}.connect-controls,.connect-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.connect-controls{padding:0 8px 8px}.connect-column{padding:6px 0;font-size:21px;line-height:1;background:#e8e8ff;color:#3533c7}.connect-column:disabled{opacity:.4}.connect-board{background:#3735bc;padding:8px;border-radius:8px}.connect-slot{aspect-ratio:1;border-radius:50%;background:#171976;box-shadow:inset 0 3px 4px #15114c66}.connect-slot.red{background:#e9434d;box-shadow:inset 0 -4px 0 #aa2237,inset 0 3px 4px #ffffff77}.connect-slot.white{background:#fff;box-shadow:inset 0 -4px 0 #b9bed0,inset 0 3px 4px #ffffff}.connect-column:focus-visible{outline:3px solid #ff9a5d;outline-offset:2px}@media(max-width:600px){.archive-header{grid-template-columns:1fr;gap:5px}.connect-controls,.connect-board{gap:4px}.connect-board{padding:6px}}

.brand{display:inline-flex;align-items:center;gap:10px}.brand:first-letter{color:inherit}.logo-icon{width:36px;height:36px;flex:none}.connection.is-connected::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#20a65c;margin-right:7px;vertical-align:1px;box-shadow:0 0 0 3px #20a65c20}
/* LobbyBattle v0.8: quiet, playful purple */
:root{--ink:#211837;--muted:#71677e;--line:#eae4ef;--green:#793f9e;--purple:#793f9e;--paper:#f6f2f8;--white:#fff;--lime:#e9d1ee}body{background:#f6f2f8;color:var(--ink)}body:before{display:none}.wrap{max-width:1180px}.brand{color:#211837;letter-spacing:-.045em}header{border-color:#e7deea}.language{border-color:#e6deeb;background:#fff}.language button.lang.active{background:#5f347d}.eyebrow{color:#8c4aa0;letter-spacing:.1em}.eyebrow:before{display:none}h1{font-size:clamp(48px,7vw,78px);letter-spacing:-.06em;line-height:1.03}h2{letter-spacing:-.045em}.card{border:1px solid #eee8f0;border-radius:22px;box-shadow:0 12px 32px rgba(80,45,91,.055);background:#fff}.grid:not(.battle-layout)>.card:first-child,.grid:not(.battle-layout)>.card:nth-child(2){border-top:1px solid #eee8f0}.session-archive{border-left:1px solid #eee8f0}button{background:#793f9e;border-radius:999px;padding:13px 22px}button:hover:not(:disabled){background:#63317f}button.secondary{background:#f1eaf5;color:#63317f}button.secondary:hover:not(:disabled){background:#e7d9ee}button.link{background:transparent}input,select{border-color:#e3d9e8;background:#faf8fb;border-radius:12px}.badge{border-radius:999px;background:#f1e8f4;color:#7d3f91}.resultline{border:0;border-radius:14px;background:#f1eaf5}.game-tile{border-radius:16px;background:#f8f5fa;border:2px solid transparent;box-shadow:none}.game-tile.selected{border-color:#9a6cb0;box-shadow:none;background:#f4ebf7}.game-tile:hover:not(:disabled){background:#f0e7f4}.tile-icon{border-radius:12px}.tile-action{color:#793f9e}.player-identity{display:flex;align-items:center;gap:12px;min-width:0}.avatar{width:38px;height:38px;flex:none;border-radius:50%}.map-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.map-tools button{padding:8px 14px}.world-map{aspect-ratio:2/1;height:auto;border-radius:14px;background:#e6eef4}.land{fill:#a7bba8;stroke:#f7faf6}.typing-sentence{font-size:clamp(26px,4vw,40px);line-height:1.25;margin:30px 0}.typing-clock{font-weight:800;color:#793f9e}.tile-typing .tile-icon{background:#eadbf0;color:#793f9e;font-size:23px}.logo-icon{width:36px;height:36px}.connection.is-connected::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#20a65c;margin-right:7px;vertical-align:1px}.connect-column,.cell,.answer,.tic-cell{border-radius:8px}.archive-run{border-color:#eee8f0}.archive-detail{border-left:0;border-radius:12px;background:#f8f5fa}.outcome-overlay.win .outcome-symbol{color:#e8c2f3}@media(max-width:760px){.card{border-radius:18px}}

/* v0.9: accessible in-page confirmation and touch layouts */
[hidden]{display:none!important}
.header-right{gap:10px;min-width:0}
button.header-leave{min-height:42px;white-space:nowrap;background:#f1eaf5;color:#63317f;padding:10px 16px;font-size:12px}
button.header-leave:hover:not(:disabled){background:#e7d9ee}
.players-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}
.players-heading h3{margin:0}
.player-count{font-family:'Outfit',sans-serif;font-weight:700;color:#63317f;font-size:20px}
.danger-zone{display:flex;justify-content:flex-end;margin:24px 0 36px}
button.delete-session,button.danger{background:#fff2f3;color:#982f3d;border:1px solid #e5b9bf;min-height:44px}
button.delete-session:hover:not(:disabled),button.danger:hover:not(:disabled){background:#fbe0e3}
.confirm-dialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:28px;border:1px solid #eee8f0;border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 18px 70px #21183755}
.confirm-dialog::backdrop{background:#21183799}
.dialog-title{font-size:26px;line-height:1.15;margin:0 0 12px}
.dialog-message{line-height:1.55;color:var(--muted)}
.dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}
.dialog-actions button{min-height:44px}
.card,.grid>*{min-width:0}
@media(max-width:760px){
 .wrap{padding-left:16px;padding-right:16px}
 main{padding:32px 0 70px}
 .grid,.geo-layout{margin-top:20px}
 .card{padding:20px}
 input,select{font-size:16px;min-height:44px}
 button{min-height:44px}
 .cell,.tic-cell{min-height:0}
 .connect-column{min-height:44px}
 .game-settings label,.pair-row{align-items:stretch;flex-direction:column;gap:7px}
 .game-settings select,.pair-row select{width:100%}
 .player-identity{flex:1}
 .player-name{word-break:break-word}
}
@media(max-width:440px){
 .wrap{padding-left:12px;padding-right:12px}
 header{height:70px;gap:4px}
 .brand{font-size:19px;gap:3px;letter-spacing:-.06em}
 .logo-icon{width:25px;height:25px}
 .header-right{gap:4px}
 button.header-leave{padding:8px;font-size:10px}
 .language{padding:2px}
 button.lang{padding:6px;min-height:38px;font-size:10px}
 .card{padding:17px}
 .game-tiles{gap:8px}
 .game-tile{padding:11px;min-height:168px;overflow-wrap:anywhere}
 .ocean-boards{grid-template-columns:1fr}
 .ocean-grid{max-width:100%}
 .dialog-actions{display:grid;grid-template-columns:1fr;width:100%}
 .dialog-actions button{width:100%}
 .danger-zone{justify-content:stretch}
 .danger-zone button{width:100%}
 .map-tools button{min-height:44px}
}
/* v0.10: individual game settings inside selectable tiles */
.game-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}
.game-tile-wrap{display:flex;flex-direction:column;min-width:0;background:#f8f5fa;border:2px solid transparent;border-radius:16px;overflow:hidden}
.game-tile-wrap.selected{border-color:#9a6cb0;background:#f4ebf7}
button.game-tile-select{width:100%;min-height:184px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;background:transparent;color:var(--ink);border:0;border-radius:14px}
button.game-tile-select:hover:not(:disabled){background:#f0e7f4;color:var(--ink);transform:none}
.game-tile-select .tile-action{margin-top:auto}
.tile-settings{display:grid;gap:12px;padding:0 14px 16px}
.tile-settings label{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
.tile-settings select{width:100%;margin-top:6px;font-size:14px;padding:10px 8px;min-height:42px}
@media(max-width:760px){.game-actions{justify-content:flex-start}.tile-settings select{font-size:16px}}
@media(max-width:440px){button.game-tile-select{padding:11px;min-height:158px}.tile-settings{padding:0 10px 12px}.tile-settings label{font-size:11px}.game-actions{width:100%}.game-actions button{flex:1 1 auto}}
/* Home screen and in-page notifications */
.home-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.home-card-heading h3{margin:0;line-height:1.25}
.home-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#f1eaf5;color:#793f9e}
.home-icon svg{width:25px;height:25px}
.home-games{margin-top:76px}
.home-games h2{margin:12px 0 12px}
.home-games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:26px}
.home-game{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid #eee8f0;border-radius:20px;background:#fff;box-shadow:0 8px 25px rgba(80,45,91,.04)}
.home-game .tile-icon{min-width:44px;height:44px;font-size:24px;margin-bottom:16px}
.home-game h3{font-size:18px;margin:0 0 8px}
.home-game p{font-size:13px;line-height:1.55;color:var(--muted);margin:0}
.app-notice{position:fixed;z-index:200;top:max(18px,env(safe-area-inset-top));right:max(18px,env(safe-area-inset-right));display:flex;align-items:flex-start;gap:14px;width:min(410px,calc(100vw - 32px));padding:16px 16px 16px 20px;background:#fff;color:var(--ink);border:1px solid #e6d9eb;border-radius:16px;box-shadow:0 12px 40px #25142f33;font-size:14px;line-height:1.5}
.app-notice.error{border-color:#e5b9bf;color:#842e39!important}
.app-notice.success{border-color:#9bcda9}
.notice-text{flex:1;min-width:0;overflow-wrap:anywhere}
button.notice-close{flex:none;min-height:32px;width:32px;padding:0;border-radius:50%;background:#f1eaf5;color:#63317f;font-size:20px;line-height:1}
button.notice-close:hover:not(:disabled){background:#e7d9ee;transform:none}
@media(max-width:900px){.home-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.home-games{margin-top:52px}.home-games-grid{gap:9px}.home-game{padding:15px;border-radius:16px}.home-game h3{font-size:16px}.home-game p{font-size:12px}.home-game .tile-icon{min-width:38px;height:38px;font-size:20px}.app-notice{top:max(12px,env(safe-area-inset-top));right:12px}}
/* v0.11: whole game cards, column-sized touch targets and turn signals */
.game-tile-select{flex:1 0 auto}
.game-tile-wrap:not(.selected) .game-tile-select{min-height:100%}
.game-tile-wrap.selected .game-tile-select{flex:1 1 auto}
.turn-heading{display:flex;align-items:center;gap:14px;line-height:1.1}
.turn-label{min-width:0}
.turn-indicator{display:inline-flex;align-items:center;justify-content:center;flex:none;width:27px;height:27px}
.turn-indicator.active::before{content:'';width:14px;height:14px;border-radius:50%;background:#21a461;box-shadow:0 0 0 5px #21a4611c}
.turn-indicator.waiting{color:#e47f33}
.turn-indicator.waiting svg{width:25px;height:25px}
.connect-game{position:relative;width:min(100%,480px);margin:25px auto 0;padding-top:44px}
.connect-board{width:100%}
.connect-controls{position:absolute;z-index:1;inset:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0 8px 8px}
button.connect-column{height:100%;min-height:0;position:relative;display:flex;align-items:flex-start;justify-content:center;padding:0;border:0;border-radius:8px;background:transparent;color:#793f9e}
button.connect-column:hover:not(:disabled){background:#ffffff21;transform:none}
button.connect-column:focus-visible{outline:3px solid #793f9e;outline-offset:-2px}
button.connect-column:disabled{opacity:1;cursor:default}
.column-arrow{display:grid;place-items:center;width:100%;height:36px;border-radius:8px;background:#f1eaf5;color:#793f9e;font-size:21px;line-height:1}
button.connect-column:disabled .column-arrow{opacity:.38}
@media(max-width:600px){.connect-controls{gap:4px;padding:0 6px 6px}.turn-heading{gap:10px}.turn-indicator{width:23px;height:23px}.turn-indicator.waiting svg{width:22px;height:22px}}
/* v0.12: session chat, separate from game rerenders */
.chat-dock{position:fixed;z-index:80;right:max(24px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-end;gap:10px}
button.chat-toggle{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 19px;background:#63317f;color:white;box-shadow:0 6px 22px #3d23464d}
.chat-count{min-width:22px;padding:2px 6px;border-radius:999px;background:#fff;color:#63317f;text-align:center;font-size:11px}
.chat-panel{width:min(390px,calc(100vw - 28px));height:min(520px,calc(100dvh - 110px));min-height:240px;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:var(--ink);border:1px solid #e9dfed;border-radius:20px;box-shadow:0 18px 60px #24113040}
.chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:18px 18px 14px;border-bottom:1px solid #eee8f0}
.chat-heading{font-size:19px;line-height:1.1;margin:0 0 5px}
.chat-hint{font-size:12px;line-height:1.4;color:var(--muted);margin:0}
button.chat-close{width:36px;height:36px;min-height:36px;flex:none;padding:0;background:#f1eaf5;color:#63317f;font-size:23px;line-height:1}
.chat-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding:14px;display:flex;flex-direction:column;gap:12px}
.chat-empty{color:var(--muted);font-size:13px;line-height:1.5;margin:auto;text-align:center}
.chat-message{align-self:flex-start;max-width:92%;min-width:0;padding:10px 12px;border-radius:14px 14px 14px 3px;background:#f4f0f6}
.chat-message.mine{align-self:flex-end;background:#eee4f3;border-radius:14px 14px 3px 14px}
.chat-meta{display:flex;gap:12px;justify-content:space-between;align-items:baseline;margin-bottom:4px;font-size:11px}
.chat-author{overflow-wrap:anywhere;color:#63317f}.chat-time{white-space:nowrap;color:var(--muted)}
.chat-text{font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.chat-status{font-size:12px;line-height:1.4;color:#982f3d;margin:0;padding:4px 15px}
.chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid #eee8f0}
.chat-form input{min-width:0;flex:1;margin:0;font-size:16px;min-height:44px;padding:10px 12px}
button.chat-send{min-height:44px;padding:10px 14px}
@media(max-width:600px){.chat-dock{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}.chat-panel{width:min(390px,calc(100vw - 24px));height:min(480px,calc(100dvh - 90px))}.chat-header{padding:14px}.chat-scroll{padding:10px}.chat-form{padding:10px}}
/* v0.13 */
.player-danger{margin:0 0 20px;justify-content:flex-end}
.recovery-panel,.recovery-login{background:#fff;border:1px solid #eee8f0;border-radius:16px;padding:16px 20px;margin-top:22px}
.recovery-panel summary,.recovery-login summary{cursor:pointer;font-weight:800;color:#63317f}
.recovery-panel input{font-family:monospace;font-size:12px}
.archive-player{display:flex;gap:12px;align-items:center;border-top:1px solid var(--line);padding:12px 0}
.archive-score{margin-left:auto;font-weight:700;white-space:nowrap}
.geo-pin-number{fill:white;text-anchor:middle;dominant-baseline:central;font-family:system-ui,sans-serif;font-size:8px;font-weight:800;pointer-events:none}
.connect-slot.winning{animation:winning-chip .55s ease-in-out infinite alternate;outline:3px solid #e9d466;outline-offset:-3px}
@keyframes winning-chip{from{filter:brightness(1);transform:scale(1)}to{filter:brightness(1.35);transform:scale(.84)}}
@media(prefers-reduced-motion:reduce){.connect-slot.winning{animation:none;outline:4px solid #e9d466;outline-offset:-4px}}
/* v0.14 */
.header-recovery{background:#f1eaf5!important;color:#63317f!important;padding:10px 13px!important;font-size:11px!important;white-space:nowrap}
.header-recovery:hover:not(:disabled){background:#e7d9ee!important}
.invite-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.invite-actions button{flex:1 1 auto}
.player-danger{margin:0 0 14px;justify-content:flex-start}
.player-danger button{width:auto}
.geo-layout .world-map + .map-tools + .muted + button{margin-top:8px}
@media(max-width:560px){.header-recovery{padding:8px!important;font-size:10px!important}.invite-actions{display:grid;grid-template-columns:1fr}.player-danger button{width:100%}}
/* v0.15 */
.row:has(.lobby-delete){align-items:center}
.lobby-delete{margin-left:auto}
.row:has(.lobby-delete)+.grid{margin-top:12px}
button.abort-action{background:#ac3040;color:#fff;border:1px solid #ac3040}
button.abort-action:hover:not(:disabled){background:#8c2230;color:#fff}
.archive-winner{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-width:0}
.winner-person{display:inline-flex;align-items:center;gap:5px;min-width:0}
.winner-person .avatar{width:28px;height:28px}
.pair-row .player-identity{width:auto;flex:1}
.invite-dialog .dialog-actions button{min-height:44px}
@media(max-width:500px){.lobby-delete{margin-left:0;max-width:100%}.row:has(.lobby-delete){align-items:flex-start}.row:has(.lobby-delete)+.grid{margin-top:8px}}
/* v0.16 */
.lobby-wait{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #f0d6bd;background:#fff8f1;border-radius:16px;color:#6c3e20;font-weight:800}
.wait-hourglass{font-size:28px;color:#e47f33;line-height:1}
.chat-message{display:flex;gap:8px;align-items:flex-start}
.chat-message .avatar{width:27px;height:27px}
.chat-message-body{min-width:0;flex:1}
.pixel-canvas{display:block;width:min(100%,320px);aspect-ratio:1;margin:20px auto 14px;background:#f5eff8;border-radius:18px;image-rendering:pixelated}
.pixel-status{min-height:1.4em;color:#793f9e;font-weight:700}
.pixel-answers{margin-top:16px}
.tile-pixel .tile-icon{background:#e3daf4;color:#6737ac}
@media(max-width:440px){.pixel-canvas{max-width:240px}}
.lobby-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.lobby-actions button{min-height:42px;padding:10px 15px}
.compact-session .code{font-size:clamp(25px,3vw,32px);margin:9px 0}
.compact-session p{font-size:12px;line-height:1.4}
.compact-session .invite-actions button{font-size:11px;padding:9px 14px}
@media(max-width:600px){.lobby-actions{width:100%;justify-content:flex-start}.lobby-actions button{flex:1 1 auto}}
/* v0.17: tighter lobby spacing */
main{padding-top:52px}
.lobby-actions{margin-bottom:0}
.row:has(.lobby-actions) h2{margin-bottom:8px}
.row:has(.lobby-actions)+.grid{margin-top:8px}
@media(max-width:760px){main{padding-top:26px}.row:has(.lobby-actions)+.grid{margin-top:8px}}

.stop-timer{text-align:center;min-width:0}.stop-timer .timer-goal{font-size:clamp(1.4rem,4vw,2rem);margin:1rem 0}.timer-action{min-width: min(100%, 240px);min-height:64px;margin:1.5rem auto;font-size:1.15rem}.stop-timer .duel-row{text-align:left;overflow-wrap:anywhere}

/* v0.19: compact in-session headings and consistent feedback */
.session-heading h2{margin-bottom:8px}
.session-heading + .grid,.session-heading + .geo-layout{margin-top:8px}
.result-wait{max-width:620px;margin-top:18px}
.app-notice{align-items:center;gap:12px;width:auto;max-width:min(390px,calc(100vw - 32px));padding:10px 12px 10px 16px;background:#fff;color:var(--ink);border:1px solid #eee8f0;border-radius:14px;box-shadow:0 5px 18px #2118371a;font-size:13px;font-weight:700}
.app-notice.success{border-color:#e8def0;color:#63317f}
button.notice-close{width:32px;min-height:32px;background:#f1eaf5;color:#63317f}
@media(max-width:760px){.session-heading + .grid,.session-heading + .geo-layout{margin-top:8px}.app-notice{max-width:calc(100vw - 24px)}}

/* v0.20 lobby layout */
@media(min-width:761px){.lobby-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}}
.compact-session .invite-actions{display:flex;flex-wrap:nowrap;align-items:stretch}
.compact-session .invite-actions button{flex:1 1 0;min-width:0;white-space:normal;line-height:1.25}
@media(max-width:380px){.compact-session .invite-actions{flex-wrap:wrap}.compact-session .invite-actions button{flex:1 1 100%}}
.connection-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px;background:#238c53}
.connection-dot.offline{background:#c3424d}
.invite-dialog{position:fixed}.invite-dialog .dialog-title{padding-right:45px}
button.invite-close{position:absolute;right:18px;top:18px;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:#f1eaf5;color:#63317f;font-size:24px;line-height:1}
button.invite-close:hover:not(:disabled){background:#e7d9ee;transform:none}

/* v0.21: lobby scores and awards */
.compact-session .code{text-align:center}
.copy-action{display:flex;align-items:center;justify-content:center;gap:6px}.copy-action svg{width:16px;height:16px;flex:none}
.lobby-score-heading,.lobby-player{display:grid;grid-template-columns:minmax(0,1fr) minmax(56px,auto) minmax(100px,auto);align-items:center;column-gap:12px}
.lobby-score-heading{padding:16px 0 4px;color:var(--muted);font-size:11px;font-weight:800}.lobby-score-heading span:nth-child(2),.lobby-score{text-align:right}.lobby-score-heading span:last-child{text-align:right}.lobby-score{font-weight:800;color:#63317f;white-space:nowrap}.lobby-player>div:last-child{text-align:right}
.ceremony-overlay{position:fixed;inset:0;z-index:130;background:#191126ee;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.ceremony-panel{position:relative;z-index:1;width:min(570px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:24px;padding:28px;text-align:center;box-shadow:0 24px 70px #140d25aa}.ceremony-title{margin:4px 0 12px}.ceremony-trophy{font-size:62px;line-height:1.1}.ceremony-kicker{color:#7943a8;font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px}.ceremony-winners{margin:18px 0 24px}.ceremony-winner{display:flex;align-items:center;justify-content:center;gap:8px;font-size:24px;margin-top:8px}.ceremony-winner .avatar{width:40px;height:40px}.ceremony-winning-score{font-size:20px;color:#7943a8;font-weight:800}.ceremony-board{list-style:none;text-align:left;margin:0;padding:0}.ceremony-player{display:grid;grid-template-columns:28px 36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eee8f0}.ceremony-player .avatar{width:34px;height:34px}.ceremony-rank{font-weight:800;color:#7943a8}.ceremony-score{white-space:nowrap}.ceremony-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:22px}.ceremony-wait{margin-top:20px;color:var(--muted)}
.ceremony-confetti{position:fixed;inset:0;overflow:hidden;pointer-events:none}.confetti-piece{position:absolute;top:-20px;left:calc(var(--i) * 3.5% + 1%);width:8px;height:15px;background:#df9d4c;animation:confetti-fall calc(3s + (var(--i) * 47ms)) linear infinite;animation-delay:calc(var(--i) * -173ms)}.confetti-piece:nth-child(3n){background:#c089e8}.confetti-piece:nth-child(3n+1){background:#f0768d}.confetti-piece:nth-child(3n+2){background:#78cbbc}@keyframes confetti-fall{to{transform:translateY(110vh) rotate(480deg)}}
@media(max-width:500px){.lobby-score-heading,.lobby-player{grid-template-columns:minmax(0,1fr) auto auto;gap:7px}.lobby-score{font-size:12px}.ceremony-panel{padding:22px 16px}.ceremony-actions button{flex:1 1 100%}}
@media(prefers-reduced-motion:reduce){.confetti-piece{animation:none;top:15%}}

/* v0.22: lobby, mobile chat, map and awards */
.compact-session .code{margin:20px 0}
.compact-session .invite-actions{margin-top:20px}
.compact-session .player-code-warning{margin-top:16px;line-height:1.45;color:#6f6480}
.result-wait{background:#f4edf8;border-color:#e0d2e9;color:#593474}
.result-wait .wait-hourglass{color:#7943a8}
.trophy-button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.trophy-button-icon{font-size:16px;line-height:1}
.podium{display:flex;justify-content:center;align-items:flex-end;gap:7px;margin:22px auto 26px}.podium-place{flex:1 1 0;min-width:0;background:#f4edf8;border-radius:12px 12px 5px 5px;padding:12px 6px;color:#4b2862;overflow-wrap:anywhere}.podium-1{min-height:170px;background:#eadbf2}.podium-2{min-height:135px}.podium-3{min-height:110px;background:#f7f1f8}.podium-rank{font-size:12px;font-weight:800;margin-bottom:10px}.podium-player{display:flex;flex-direction:column;align-items:center;gap:5px;margin:8px 0}.podium-player .avatar{width:38px;height:38px}.podium-player strong{font-size:14px}.podium-points{font-size:12px;font-weight:800}
.geo-layout{grid-template-columns:minmax(0,4fr) minmax(210px,1fr)}.geo-submit{display:block;margin:18px auto 0}.geo-main{min-width:0}
@media(max-width:760px){.geo-layout{grid-template-columns:minmax(0,1fr)}.geo-main{padding:16px 8px}.geo-main>.row,.geo-main>.geo-heading,.geo-main>p{margin-left:8px;margin-right:8px}.world-map{width:100%;margin-top:16px}}
@media(max-width:600px){.chat-dock{bottom:calc(max(12px,env(safe-area-inset-bottom)) + var(--chat-keyboard-offset,0px))}.chat-panel{height:min(480px,calc(var(--chat-visible-height,100dvh) - 90px));min-height:0;max-height:calc(var(--chat-visible-height,100dvh) - 90px)}}
.podium-empty{visibility:hidden;min-height:1px}

/* v0.23: chat presence and balanced podium */
.chat-count{background:#ffdc58;color:#332044;box-shadow:0 0 0 2px #fff;font-weight:900}
.chat-avatar-wrap{position:relative;flex:none;display:inline-flex}.chat-avatar-dot{position:absolute;right:-1px;bottom:-1px;width:10px;height:10px;border:2px solid white;border-radius:50%;background:#258c51}.chat-avatar-dot.offline{background:#c63f4c}
@media(max-width:600px){.chat-dock:has(.chat-panel:not([hidden])){gap:0}.chat-panel{height:min(480px,calc(var(--chat-visible-height,100dvh) - 30px));max-height:calc(var(--chat-visible-height,100dvh) - 30px)}}
@media(max-width:500px){.lobby-score-heading,.lobby-player{column-gap:clamp(12px,4vw,20px)}.lobby-player .player-name{overflow-wrap:anywhere}.lobby-player>div:last-child{min-width:0}}
.podium{align-items:end}.podium-place{background:transparent!important;border-radius:0;padding:0;min-height:0!important;display:flex;flex-direction:column;justify-content:flex-end}.podium-roster{height:155px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;justify-content:safe center;gap:7px;padding:4px}.podium-player{margin:0}.podium-player .avatar{width:30px;height:30px}.podium-player strong{font-size:13px}.podium-step{display:flex;justify-content:center;align-items:flex-start;border-radius:12px 12px 4px 4px;padding:12px 4px;background:#f4edf8;font-weight:800;font-size:12px}.podium-1 .podium-step{height:110px;background:#eadbf2}.podium-2 .podium-step{height:80px}.podium-3 .podium-step{height:55px;background:#f7f1f8}.podium-empty{visibility:hidden}

/* v0.24: clearer mobile duels and memory */
.lobby-wait-top{margin:8px 0 14px}.resume-game>summary{font-family:Outfit,sans-serif;font-weight:700;font-size:20px;cursor:pointer}.resume-game .recovery-login{box-shadow:none;padding:14px;margin-top:12px}.resume-game .saved-host{padding:14px;margin:12px 0;border:1px solid #eee8f0;box-shadow:none}.battle-count{font-size:12px!important;margin:0 0 8px!important;color:#63317f!important;font-weight:800}.memory-scores{margin:12px 0;color:#63317f;font-weight:800}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:520px;margin:20px auto}.memory-card{aspect-ratio:1;min-height:0!important;padding:0;overflow:hidden;border-radius:10px;background:#673b83;color:#fff}.memory-card img{width:100%;height:100%;display:block;object-fit:cover}.memory-card:disabled{opacity:1}.memory-card.matched{outline:3px solid #53a36d;outline-offset:-3px}.memory-back{font-size:24px}.battle-flash{position:fixed;z-index:120;inset:0;pointer-events:none;display:flex;align-items:flex-start;justify-content:center;padding:18vh 20px 0;text-align:center;color:#fff;font-size:clamp(24px,6vw,40px);font-weight:900;animation:hit-flash 2.2s ease forwards}.battle-flash.incoming{background:#b51a355e}.battle-flash.outgoing{background:#128c4d66}@keyframes hit-flash{0%,40%,80%{opacity:1}20%,60%{opacity:.35}100%{opacity:0}}
@media(max-width:600px){.battle-layout>.card:first-child{padding:16px 12px}.ocean-boards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ocean-block h3{font-size:15px}.ocean-grid{gap:3px}.ocean-grid .cell{font-size:14px;padding:0}.battle-count{font-size:11px!important;line-height:1.3!important}.memory-grid{gap:5px}}
@media(prefers-reduced-motion:reduce){.battle-flash{animation:none;opacity:1}}

/* v0.25 LobbyBattle */
.pair-matrix{max-width:100%}.matrix-row{display:grid;grid-template-columns:minmax(125px,1fr) minmax(0,3fr);gap:12px;align-items:start}.pair-choices{display:flex;flex-wrap:wrap;gap:6px}.pair-choice{position:relative;display:inline-flex;cursor:pointer}.pair-choice input{position:absolute;opacity:0;width:1px;height:1px}.pair-choice span{display:grid;place-items:center;min-width:36px;min-height:36px;padding:4px 8px;border:1px solid #dfd4e7;border-radius:7px;background:#fff;color:#63317f;font-size:12px}.pair-choice.selected span{background:#63317f;color:#fff}.pair-choice input:focus-visible+span{outline:3px solid #ff9a5d;outline-offset:2px}.battle-waiting{filter:grayscale(.65);opacity:.65}.battle-flash{align-items:center;padding:0 20px;animation-duration:1.1s}.connect-game{padding-top:0}.connect-controls{inset:0;padding:8px}.tic-cell.winning{background:#50ce82!important;color:#173d24!important;animation:winning-flash .7s ease-in-out infinite alternate}@keyframes winning-flash{to{background:#f3ef82;color:#19382b;transform:scale(.93)}}.outcome-overlay.win .outcome-title,.outcome-overlay.win .outcome-symbol{color:#79e598}.outcome-overlay.loss .outcome-title,.outcome-overlay.loss .outcome-symbol{color:#ff7f86}.pixel-visual{position:relative;width:min(100%,320px);margin:auto}.pixel-countdown{position:absolute;inset:0;display:grid;place-items:center;font-family:system-ui,sans-serif;font-size:clamp(76px,22vw,150px);font-weight:900;line-height:1;color:#63317f;background:#f1eaf5;border-radius:18px}.confetti-piece{left:var(--x);animation-duration:var(--duration);animation-delay:var(--delay)}@keyframes confetti-fall{to{transform:translate(var(--sway),110vh) rotate(var(--rotation))}}.legal-links{display:flex;gap:14px;flex-wrap:wrap;align-items:center;letter-spacing:0;font-size:12px}.legal-links a{color:#63317f}.legal-links button{font-size:12px;color:#63317f}.footer-tag{margin-bottom:18px}.footer-legal-title{font-size:14px;letter-spacing:0;margin-bottom:8px}
@media(max-width:600px){.matrix-row{grid-template-columns:1fr}.pair-choices{max-height:110px;overflow:auto}.geo-main{padding:16px 0}.geo-main .world-map{width:100%;min-height:0}.battle-waiting{opacity:.65}}
@media(prefers-reduced-motion:reduce){.tic-cell.winning{animation:none;outline:3px solid #50ce82}}
.world-map{touch-action:pan-y}
.outcome-win-text{color:#237c43}.outcome-loss-text{color:#b83040}

.pixel-countdown[hidden]{display:none}.pixel-countdown-number{display:grid;place-items:center;width:clamp(110px,44%,160px);aspect-ratio:1;border-radius:50%;background:#63317f;color:#fff;font-size:clamp(64px,18vw,110px);line-height:1}

/* LobbyBattle v0.27: logo and legible header */
.brand,.legal-brand{flex:0 1 auto;min-width:0}.brand-image{display:block;width:200px;height:auto;max-width:100%}.header-recovery{background:#63317f!important;color:#fff!important;font-size:13px!important;font-weight:700!important;padding:11px 15px!important;min-height:44px}.header-recovery:hover:not(:disabled){background:#48215f!important}.header-recovery:focus-visible{outline:3px solid #b77ed0;outline-offset:3px}@media(max-width:600px){.brand-image{width:clamp(105px,31vw,155px)}.header-right{gap:5px}.header-recovery{font-size:12px!important;padding:9px 10px!important;white-space:normal!important;line-height:1.2;max-width:145px}.language button.lang{font-size:12px;min-height:42px;min-width:38px}.legal-brand .brand-image{width:160px}}@media(max-width:360px){.brand-image{width:100px}.header-recovery{max-width:120px;font-size:11px!important}.language button.lang{min-width:34px}}

/* Landingpage: use cases */
.home-ideas{margin-top:86px;padding:52px 0 28px;border-top:1px solid #e3d9e9;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,7vw,100px)}.home-ideas-intro h2{font-size:clamp(30px,3.7vw,46px);line-height:1.08;margin:14px 0 20px;max-width:12em}.home-ideas-intro p{font-size:16px;line-height:1.7;color:#54485c;max-width:40em}.home-ideas-list{border-top:1px solid #dcd0e4}.home-idea{display:grid;grid-template-columns:38px 1fr;gap:12px;padding:22px 0;border-bottom:1px solid #dcd0e4}.home-idea-number{color:#713c89;font-size:12px;font-weight:800;padding-top:4px}.home-idea h3{font-size:18px;margin:0 0 8px}.home-idea p{font-size:14px;line-height:1.65;color:#54485c;margin:0}@media(max-width:700px){.home-ideas{margin-top:50px;padding:34px 0 15px;grid-template-columns:1fr;gap:28px}.home-ideas-intro h2{font-size:32px}.home-idea{padding:18px 0}}

/* v0.29: self-hosted Noto Sans and disabled group choices */
@font-face{font-family:LobbyNoto;src:url('/noto-sans-regular.woff2') format('woff2');font-style:normal;font-weight:100 599;font-display:swap}@font-face{font-family:LobbyNoto;src:url('/noto-sans-bold.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}body,button,input,select,textarea,h1,h2,h3,h4,.outcome-title,.legal-content,.timer,.brand{font-family:LobbyNoto,Arial,sans-serif!important}.pair-choice.is-full{cursor:not-allowed}.pair-choice input:disabled+span{color:#786f7c;background:#ede9ee;border-color:#ded7e1;opacity:.65;text-decoration:line-through}.groups-heading{font-size:14px;margin:18px 0 10px}.player-code-warning,.language-content-notice{font-size:12px;line-height:1.45;color:#605168;margin:12px 0}.header-right .language{flex-shrink:0}@media(max-width:600px){.language button.lang{min-width:31px;padding:6px;font-size:11px}.header-recovery{font-size:11px!important;max-width:118px}.brand-image{width:clamp(90px,27vw,140px)}}

.brand,.eyebrow,.timer,.player-count,.archive-number,.outcome-title,.footer-tag,.card,.home-game,.home-idea,.chat-dock,.legal-wrap{font-family:LobbyNoto,Arial,sans-serif!important}
