:root{color-scheme:dark;--navy:#091426;--panel:#102035;--paper:#f0eef5;--muted:#899bb7;--purple:#bd9af3;--line:#b9cbea21;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{min-width:320px}body{margin:0;overflow-x:hidden;background:radial-gradient(ellipse at 80% 10%,#40296024,transparent 58%),var(--navy);color:var(--paper);font:14px Arial,Helvetica,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--purple);outline-offset:4px}button,select,input{border:1px solid var(--line);border-radius:10px}header{height:84px;padding:0 30px;display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);background:#091426e8;position:relative;z-index:20}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.brand img{width:49px;height:49px}.brand>span{font:29px var(--serif);letter-spacing:-.8px}.brand em,h1 em{color:var(--purple);font-weight:400}.brand small{font:9px Arial;color:var(--muted);border:1px solid var(--line);padding:4px;border-radius:4px}.back{background:#f0eef5;color:#132035;border-radius:7px;padding:10px 12px;font-size:11px;white-space:nowrap;display:flex;gap:7px;align-items:center}.back:hover{background:#fff}.header-tools{display:flex;gap:4px;margin-left:auto}.header-tools button{border-color:transparent;background:none;width:33px;height:33px;padding:8px;color:#a6b7ce;display:grid;place-items:center}.header-tools button:hover{background:#ffffff08;border-color:var(--line);color:#fff}.header-tools svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.header-tools #help{font:16px var(--serif)}#sound[aria-pressed=false]{opacity:.5}.school-status{display:flex;align-items:center;justify-content:center;gap:16px;flex:1;white-space:nowrap}.school-status time{font-size:10px;color:#99aac2}.clock-sideways{display:flex;align-items:center;gap:11px}.school-clock{display:flex;align-items:center;gap:1.5px;color:#c9c2df}.school-digit{width:11px;height:22px}.school-digit path{fill:currentColor;opacity:.05;stroke:var(--navy);stroke-width:.8}.school-digit path.on{opacity:1}.school-colon{width:4px;height:22px;fill:currentColor;opacity:.65}.period-badge{display:flex;align-items:center;gap:4px}.period-badge small{font:8px Arial;color:var(--muted)}.school-wheel{height:26px;width:57px;position:relative;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}.school-wheel>span{position:absolute;left:50%;top:50%;width:15px;text-align:center;font:20px Arial;color:#d8d2e8;opacity:var(--opacity,0);transform:translateX(calc(var(--offset,0)*15px)) translate(-50%,-50%) scale(var(--scale,1));transition:transform .65s,opacity .5s}.school-wheel b{font-weight:400}[hidden]{display:none!important}.home{max-width:1420px;min-height:calc(100svh - 151px);margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:55px 74px 55px 85px}.eyebrow{display:flex;gap:10px;align-items:center;color:#a595bd;letter-spacing:2.2px;font-size:9px}.live-dot{height:5px;width:5px;border-radius:50%;background:var(--purple);box-shadow:0 0 14px #bd9af380}.edition{margin-left:18px;font-size:8px;color:#68778f;letter-spacing:1.6px}h1{font:clamp(54px,5.8vw,88px)/1.02 var(--serif);letter-spacing:-3.5px;margin:28px 0 23px;font-weight:400}h1 em{font-style:italic}.home-copy>p{color:#9eabc1;line-height:1.75;font-size:13px;margin:0 0 27px}.home-copy form{max-width:375px}.home-copy label{display:block;font-size:9px;color:#8796ad;letter-spacing:1px;margin-bottom:9px}.name-field{display:flex;align-items:center;border:1px solid #b9cbea29;background:#ffffff03;border-radius:10px;margin-bottom:10px;height:47px;padding:0 15px;color:var(--purple)}.name-field input{background:none;border:none;width:100%;height:100%;color:#eee8f7;padding:0 12px;font-size:12px;outline:none}.name-field:focus-within{border-color:#bd9af38f;box-shadow:0 0 0 3px #bd9af30a}.name-field input::placeholder{color:#607089}.primary{background:var(--purple);border:1px solid #d0b5ff;color:#1d1831;border-radius:10px;min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;padding:12px 17px;font-size:12px;transition:background .2s,transform .2s}.primary span{font-size:20px;line-height:1}.primary:hover{background:#d3b6ff;transform:translateY(-1px)}.secondary-actions{display:flex;gap:10px;max-width:375px;margin-top:10px}.secondary-actions button{background:#ffffff03;color:#a6b5c9;flex:1;padding:12px 14px;font-size:10px;text-align:left;display:flex;justify-content:space-between}.secondary-actions button:hover{background:#bd9af30c;color:var(--purple)}.home-copy .status{font-size:10px;line-height:1.5;color:#71829d;min-height:15px;margin:15px 0}.home-meta{display:flex;align-items:center;gap:28px;margin-top:34px;color:#5f718b;font-size:8px;letter-spacing:1px}.home-meta>span:first-child{display:flex;flex-direction:column;gap:6px}.home-meta b{color:#b5a2d4;font:24px var(--serif);letter-spacing:-.3px}.home-scene{height:490px;position:relative;perspective:1000px;isolation:isolate}.scene-grid{position:absolute;inset:-50px;background:linear-gradient(#ba91f307 1px,transparent 1px),linear-gradient(90deg,#ba91f307 1px,transparent 1px);background-size:44px 44px;mask-image:radial-gradient(ellipse,#000 5%,transparent 70%);transform:rotate(-20deg)}.paper-stack{position:absolute;left:49%;top:45%;width:370px;height:370px;transform:translate(-50%,-50%) rotateX(38deg) rotateZ(-22deg);transform-style:preserve-3d;animation:paper-float 8s ease-in-out infinite;filter:drop-shadow(20px 45px 22px #02091588)}.sheet{position:absolute;inset:0;border-radius:18px;background:#14243a;border:1px solid #7e95b344}.sheet-back{transform:translate(-8px,9px) translateZ(-10px);background:#263852;border-color:#7283a94a}.sheet-main{overflow:hidden;background:linear-gradient(#ffffff07 1px,transparent 1px),linear-gradient(90deg,#ffffff07 1px,transparent 1px),#14243a;background-size:23px 23px;box-shadow:0 4px #37405e,0 8px #222b44}.patch{position:absolute;border-radius:7px;box-shadow:0 0 0 1px #ffffff18 inset}.patch-purple{background:#a680d6;left:44px;top:92px;width:160px;height:160px;box-shadow:0 7px #6a4b99}.patch-blue{background:#496a93;right:-28px;top:23px;width:130px;height:92px;box-shadow:0 5px #354967}.patch-orange{background:#b77e62;left:0;bottom:0;width:86px;height:71px;box-shadow:0 5px #855b48}.art-trail{position:absolute;width:115px;height:160px;border:9px solid #c5a0fc;border-left:none;left:194px;top:180px;filter:drop-shadow(0 4px 0 #674793)}.art-head{position:absolute;left:292px;top:174px;width:27px;height:27px;background:#e6d4ff;border-radius:5px;box-shadow:0 7px #9776c5;animation:head-pulse 3s ease-in-out infinite}.paper-crease{position:absolute;inset:0;background:linear-gradient(135deg,#ffffff08,transparent 45%)}.art-percent{position:absolute;right:-35px;bottom:28px;font:70px var(--serif);color:#e8dcff;transform:rotateZ(22deg) rotateX(-38deg);text-shadow:0 6px 25px #080e27;letter-spacing:-3px}.art-percent small{font-size:31px;color:#ad8fdb;margin-left:5px}.wave-card{position:absolute;left:8px;top:10px;background:#101e32df;border:1px solid #cbb5ec2d;backdrop-filter:blur(12px);padding:18px 22px;border-radius:14px;box-shadow:0 15px 25px #0002;display:grid;gap:8px;transform:rotate(-4deg)}.wave-card>span{font-size:8px;letter-spacing:1.5px;color:#9b8bad}.wave-card output{font:36px/1 Arial;letter-spacing:-1px;font-variant-numeric:tabular-nums;color:#d8c6f6}.wave-card i{font:9px Arial;color:#657994}.scene-tag{position:absolute;right:-4px;bottom:8px;color:#8b7ea2;font:italic 22px/1.3 var(--serif);text-align:right}footer{min-height:67px;padding:15px 30px;display:flex;align-items:center;gap:20px;color:#4e607b;border-top:1px solid #ffffff08}footer>span{font:19px var(--serif);white-space:nowrap}footer em{color:#746687}footer p{font-size:9px;line-height:1.7;margin:0 0 0 auto;max-width:490px;text-align:right}.arena{height:calc(100svh - 84px);min-height:460px;position:relative;overflow:hidden;background:#101e31}.arena #board{width:100%;height:100%;display:block;outline:none;touch-action:none}.arena-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 130px #020b1b55}.hud{position:absolute;top:24px;pointer-events:none;z-index:2}.hud-left{left:28px;display:flex;flex-direction:column;gap:6px}.micro-label{font-size:8px;color:#b4a6cd;letter-spacing:1.8px}.hud-left strong{font:44px/1 Arial;font-weight:500;letter-spacing:-2px;font-variant-numeric:tabular-nums}.hud-left strong small{font-size:23px;margin-left:4px;color:#c2a9df}.hud-left>span:last-child{font-size:10px;color:#a4b1c6}.hud-center{left:50%;transform:translateX(-50%);text-align:center;display:flex;flex-direction:column;gap:7px;background:#091426c9;border:1px solid #ffffff12;padding:10px 22px;border-radius:12px;backdrop-filter:blur(10px)}.hud-center strong{font:25px/1 Arial;font-variant-numeric:tabular-nums;letter-spacing:1px}.hud-center #network{font-size:8px;color:#6f8e9d}.standings{position:absolute;right:24px;top:24px;width:176px;z-index:2;background:#091426cc;border:1px solid #ffffff16;border-radius:12px;padding:14px 13px;backdrop-filter:blur(10px)}.standings-title{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b8c5d8;margin-bottom:11px}.standings-title>span{font-size:8px;color:#6c809e}#leaderboard{list-style:none;margin:0;padding:0;display:grid;gap:9px}#leaderboard li{display:flex;align-items:center;gap:7px;font-size:9px;color:#b2bfd0}#leaderboard li.me{color:#eee7ff}#leaderboard .dot{width:6px;height:6px;flex:none;border-radius:2px;background:var(--color)}#leaderboard .rank{color:#627590;font-size:8px;width:7px}#leaderboard .entrant-name{min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1}#leaderboard .ai{font-size:6px;color:#7891a5;margin-left:2px}#leaderboard .score{font-size:8px;font-variant-numeric:tabular-nums}.minimap{position:absolute;right:24px;bottom:75px;background:#091426d9;border:1px solid #a7b8d32b;border-radius:10px;padding:5px;width:136px;height:136px;z-index:2;box-shadow:0 12px 25px #030b1938}.minimap canvas{display:block;width:100%;height:100%;border-radius:5px}.arena-footer{position:absolute;bottom:21px;left:26px;right:24px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:3}.arena-footer>*{pointer-events:auto}.controls-hint{display:flex;gap:12px;align-items:center;color:#6e8099}.controls-hint>span{display:flex;align-items:center;flex-direction:column;gap:3px}.controls-hint>span>span{display:flex;gap:3px}.controls-hint kbd{display:inline-grid;place-items:center;border:1px solid #a5b5cd35;border-bottom-width:2px;border-radius:4px;width:20px;height:20px;font:9px Arial;color:#a8b7cc;background:#0914268f}.controls-hint b{font-size:8px;font-weight:400;letter-spacing:1px}.controls-hint i{font-size:8px;font-style:normal;color:#61728d}.quiet-button{font-size:10px;padding:10px 13px;background:#0b192bd9;border:1px solid #acc0dc2b;border-radius:8px;color:#9eafc7;display:flex;align-items:center;justify-content:space-between;gap:15px}.quiet-button:hover{color:#dfcaff;border-color:#bd9af377}.arena-overlay{position:absolute;inset:0;z-index:5;display:grid;place-items:center;background:#06112285;backdrop-filter:blur(7px);padding:20px}.lobby-panel,.result-panel{background:linear-gradient(140deg,#1d2540,#0e1c30);border:1px solid #c7ace844;border-radius:20px;padding:35px 42px;text-align:center;width:min(100%,420px);box-shadow:0 30px 100px #03091699}.lobby-panel .eyebrow,.result-panel .eyebrow{justify-content:center;font-size:8px}.lobby-panel h2,.result-panel h2{font:39px var(--serif);letter-spacing:-1px;margin:19px 0;color:#eee8f9}.lobby-panel output{font:64px/1.2 Arial;font-variant-numeric:tabular-nums;letter-spacing:-2px;color:#cfb1f8}.lobby-panel p{font-size:11px;color:#8d9fba}.lobby-panel>small{font-size:9px;color:#72819e;display:block;margin-top:18px}#lobby-roster{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:19px}#lobby-roster>span{font-size:9px;padding:6px 9px;border:1px solid #c4a7ea21;border-radius:6px;background:#bd9af309;color:#b7a3d2}.result-panel{max-width:390px}.result-panel #result-percent{font:65px/1.1 Arial;color:#d3b9fb;letter-spacing:-3px}.result-panel #result-percent small{font-size:28px;letter-spacing:0;margin-left:4px}.result-stats{display:flex;justify-content:center;gap:37px;margin:23px 0}.result-stats>span{display:flex;flex-direction:column;gap:7px;font-size:8px;letter-spacing:1px;color:#71839f}.result-stats b{font:23px Arial;color:#d9d5e2;letter-spacing:0}.result-panel p{font-size:11px;color:#93a3bc;line-height:1.6}.result-panel .quiet-button{margin-top:9px;width:100%;justify-content:center}.text-button{border:0;background:none;color:#7f90ac;padding:13px 8px 0;font-size:9px}.touch-controls{position:absolute;left:22px;bottom:73px;z-index:4;display:none;grid-template-columns:repeat(3,42px);grid-template-rows:42px 42px;gap:5px}.touch-controls button{background:#10223bcc;border:1px solid #c1a7e94a;color:#e5d2ff;border-radius:10px;font-size:20px;touch-action:none}.touch-controls button:first-child{grid-column:2}.touch-controls button:nth-child(2){grid-column:1;grid-row:2}.touch-controls button:nth-child(3){grid-column:2;grid-row:2}.touch-controls button:nth-child(4){grid-column:3;grid-row:2}.notice{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:100;background:#1b2942;border:1px solid #b799dc70;border-radius:12px;padding:14px 20px;color:#e2d5f4;font-size:11px;box-shadow:0 12px 45px #0007;max-width:90vw;text-align:center}dialog{border:1px solid #b59bdc55;color:#eee7f8;background:linear-gradient(145deg,#1c2840,#101d31);border-radius:20px;box-shadow:0 40px 130px #0009;padding:35px;width:min(480px,calc(100vw - 32px));max-height:90svh}dialog::backdrop{background:#030b19a8;backdrop-filter:blur(8px)}.modal-close{position:absolute;right:13px;top:11px;width:27px;height:27px;background:none;border:0;color:#8d9db7;font-size:22px}dialog h2{font:35px var(--serif);letter-spacing:-1px;margin:0 0 7px}dialog .sub{font-size:11px;color:#96a6bf;line-height:1.7;margin:0 0 23px}.tutorial-steps{display:grid;gap:13px;margin:24px 0}.tutorial-steps>div{display:flex;gap:13px;align-items:center;padding:13px;background:#ffffff03;border:1px solid #ffffff0d;border-radius:10px}.tutorial-steps b{display:grid;place-items:center;width:29px;height:29px;flex:none;border:1px solid #bd9af34a;border-radius:7px;color:var(--purple);font-weight:400}.tutorial-steps span{color:#bec8d8;font-size:11px;line-height:1.65}.tutorial-steps strong{color:#ded3ee;font-weight:400}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:16px 0;border-bottom:1px solid #ffffff0c;font-size:12px;color:#b4c0d4}.setting-row select{background:#15263d;color:#cbb8e7;padding:8px 10px;max-width:170px;font-size:11px}.setting-row input[type=checkbox]{width:18px;height:18px;accent-color:#b994ee}.dialog-primary{margin-top:24px}.small-note{font-size:10px;color:#6e809d;line-height:1.7;margin-top:18px}.connection-error{color:#d4adbd!important}.spectating-note{position:absolute;bottom:80px;left:50%;transform:translateX(-50%);padding:10px 15px;border-radius:9px;background:#0c192bd9;color:#b7a1d3;font-size:10px;z-index:4;pointer-events:none}
@keyframes paper-float{0%,100%{transform:translate(-50%,-50%) rotateX(38deg) rotateZ(-22deg) translateY(0)}50%{transform:translate(-50%,-50%) rotateX(36deg) rotateZ(-19deg) translateY(-12px)}}@keyframes head-pulse{50%{box-shadow:0 7px #9776c5,0 0 25px #c5a0fc3b}}
@media(min-width:1500px){.home{gap:95px}.home-scene{height:550px}.paper-stack{width:420px;height:420px}.sheet-main{background-size:26px 26px}.patch-purple{left:48px;top:104px;width:182px;height:182px}.art-trail{left:220px;top:205px;width:133px;height:170px}.art-head{left:337px;top:199px}}
@media(max-width:1120px){header{padding:0 20px;gap:13px}.brand>span{font-size:25px}.brand img{width:43px;height:43px}.brand small{display:none}.school-status{gap:10px}.school-status time{display:none}.back{font-size:10px;padding:9px}.home{padding:45px;gap:25px}.home-scene{transform:scale(.89)}.home-meta{gap:15px}.home-meta>span:last-child{font-size:7px}}
@media(max-width:850px){header{height:72px;gap:10px;padding:0 13px}.brand>span{font-size:23px}.brand img{width:36px;height:36px}.back{font-size:0;width:31px;padding:7px;justify-content:center}.back>span{font-size:16px}.school-status{gap:8px}.period-badge small{display:none}.school-wheel{width:42px}.header-tools{gap:0}.header-tools button{width:29px;padding:6px}.home{grid-template-columns:1fr 1fr;padding:44px 30px;gap:0;min-height:calc(100svh - 139px)}h1{font-size:61px}.home-scene{transform:scale(.76);margin-left:-50px;margin-right:-50px}.wave-card{top:14px;left:-5px}.home-meta>span:last-child{display:none}.arena{height:calc(100svh - 72px)}.standings{width:158px;right:15px;top:18px}.hud-left{left:18px;top:20px}.hud-center{top:18px}.minimap{right:16px;width:116px;height:116px}.arena-footer{left:18px;right:16px}.controls-hint i{display:none}}
@media(max-width:620px){header{height:65px;gap:9px}.brand>span{font-size:22px}.brand img{width:35px;height:35px}.school-status{flex:1}.school-clock{gap:1px}.school-digit{width:8px;height:17px}.school-colon{height:17px;width:3px}.clock-sideways{gap:4px}.school-wheel{width:31px}.school-wheel>span{font-size:16px}.header-tools button{width:27px;height:29px}.header-tools #sound{display:none}.home{grid-template-columns:1fr;padding:36px 25px 35px;min-height:auto;overflow:hidden;gap:10px}.home-copy{position:relative;z-index:2}.home-copy .eyebrow{font-size:8px}.edition{font-size:7px}h1{font-size:67px;margin-top:24px}.home-copy>p{font-size:12px}.home-copy form,.secondary-actions{max-width:none}.home-meta{margin-top:23px}.home-scene{height:310px;transform:scale(.8);margin:-35px -30px -35px;opacity:.83}.paper-stack{width:320px;height:320px;left:52%;top:50%}.wave-card{left:10px;top:30px;padding:13px 17px}.wave-card output{font-size:29px}.wave-card>span{font-size:7px}.scene-tag{right:20px;bottom:-8px;font-size:18px}.patch-purple{left:40px;top:82px;width:137px;height:137px}.art-trail{left:168px;top:153px;width:104px;height:143px}.art-head{left:256px;top:148px}.art-percent{font-size:57px;right:-15px;bottom:20px}.arena{height:calc(100svh - 65px);min-height:430px}.hud-left{top:17px;left:16px}.hud-left strong{font-size:34px}.hud-left>span:last-child{font-size:9px}.hud-center{padding:9px 13px;top:13px}.hud-center strong{font-size:22px}.hud-center .micro-label{font-size:7px}.hud-center #network{font-size:7px}.standings{right:12px;top:13px;width:115px;padding:10px 9px;background:#091426a8}.standings-title{font-size:8px}.standings-title>span{display:none}#leaderboard{gap:7px}#leaderboard li{font-size:8px}#leaderboard .rank{display:none}#leaderboard .ai{display:none}#leaderboard .score{font-size:7px}.minimap{width:91px;height:91px;bottom:76px;right:13px}.controls-hint{display:none}.arena-footer{bottom:18px;left:16px;right:13px;justify-content:flex-end}.touch-controls{display:grid}.lobby-panel,.result-panel{padding:28px 25px;max-width:350px}.lobby-panel h2,.result-panel h2{font-size:34px}.lobby-panel output{font-size:55px}.result-panel #result-percent{font-size:54px}.arena-overlay{padding:14px}footer{padding:17px 24px;align-items:flex-start;gap:20px}footer>span{font-size:17px}footer p{font-size:8px}.school-status{gap:0}dialog{padding:29px 24px}}
@media(max-width:400px){.brand>span{display:none}header{gap:8px}.school-status{gap:8px}.school-status time{display:block;font-size:9px}.header-tools button{width:25px}h1{font-size:62px}.home{padding:31px 23px}.home-scene{transform:scale(.72)}.hud-center{left:44%;padding:9px 10px}.standings{width:102px}.hud-left strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}.paper-stack{transform:translate(-50%,-50%) rotateX(38deg) rotateZ(-22deg)}}
@media(pointer:coarse){.touch-controls{display:grid}}

/* Compact Minis menu. The arena retains the full available viewport. */
.home{max-width:1080px;min-height:0;grid-template-columns:minmax(320px,430px) minmax(260px,1fr);align-items:center;gap:42px;padding:32px 36px;margin:0 auto}
.home-copy{border:1px solid #b6a2d52e;background:linear-gradient(150deg,#1a2340aa,#101d30bb);border-radius:20px;padding:26px;box-shadow:0 16px 50px #020a1733}
.menu-title{display:flex;align-items:center;gap:12px;justify-content:space-between}.home h1{font:38px/1.15 var(--serif);letter-spacing:-1.3px;margin:0}.home h1 em{font-style:normal}.mini-label{font-size:8px;letter-spacing:1.2px;color:#bca5dd;border:1px solid #b69bd536;border-radius:5px;padding:5px 6px}.home-copy>.rules-summary{font-size:11px;line-height:1.5;margin:12px 0 23px;color:#aab7cb}.home-copy form{max-width:none}.home-copy label{font-size:10px;letter-spacing:0;margin-bottom:7px;color:#b2bfd0}.name-field{height:45px;padding:0 13px;margin-bottom:10px}.name-field input{padding:0;font-size:13px}.home .primary{font-size:13px;min-height:47px}.queue-info{display:flex;align-items:center;gap:9px;color:#9ba9c0;font-size:10px;padding:12px 2px}.queue-info output{font-size:14px;font-variant-numeric:tabular-nums;color:#d1b7f5}.queue-info small{font-size:9px;margin-left:auto;color:#72829e}.secondary-actions{max-width:none;margin-top:0}.secondary-actions button{padding:11px 12px;font-size:11px;color:#c1ccdc;background:#0a172933}.menu-controls{display:flex;gap:10px;align-items:center;border-top:1px solid #aabadd16;padding-top:17px;margin-top:18px}.key-layout{display:flex;flex-direction:column;align-items:center;gap:3px;flex:none}.key-layout>span{display:flex;gap:3px}.key-layout kbd{display:grid;place-items:center;width:22px;height:22px;font:10px Arial;border:1px solid #bca8d944;border-bottom-width:2px;border-radius:5px;background:#16243a;color:#d9c7f3}.menu-controls>span{color:#a0afc7;font-size:10px;line-height:1.5}.menu-controls>button{margin-left:auto;background:none;border:0;padding:8px 0 8px 6px;font-size:10px;color:#bd9af3}.menu-controls>button:hover{color:#e2ceff}.home-copy .status{margin:13px 0 0;min-height:0;font-size:10px}.home-copy .status:empty{display:none}.home-meta{gap:15px;justify-content:space-between;margin-top:18px;font-size:8px;letter-spacing:.3px}.home-meta>span:first-child{display:flex;flex-direction:row;align-items:center;gap:5px}.home-meta b{font:11px Arial;letter-spacing:0}.home-meta>span:last-child{display:block;font-size:8px}.home-scene{height:370px;transform:none;margin:0;pointer-events:none}.paper-stack{width:300px;height:300px;left:50%;top:48%;animation:none;transform:translate(-50%,-50%) rotateX(38deg) rotateZ(-22deg)}.patch-purple{left:36px;top:75px;width:130px;height:130px}.patch-blue{right:-24px;top:20px;width:105px;height:74px}.patch-orange{width:70px;height:58px}.art-trail{left:157px;top:146px;width:94px;height:130px;border-width:8px}.art-head{left:236px;top:140px;width:24px;height:24px}.scene-grid{inset:0}.tutorial-keys{display:flex;align-items:center;gap:14px;color:#b6c3d8;font-size:12px;margin:18px 0}.setting-row select{appearance:none;background:#122238;color:#ddd4ef;padding:10px 31px 10px 12px;border:1px solid #b9a0db44;border-radius:9px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' stroke='%23bd9af3' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}.setting-row select:focus-visible{outline-offset:2px}.setting-row select option{background:#122238;color:#ddd4ef}footer{min-height:54px;padding-top:12px;padding-bottom:12px}
@media(min-width:1400px){.home{padding-top:40px;padding-bottom:40px}}
@media(max-width:900px){.home{max-width:790px;grid-template-columns:minmax(310px,410px) minmax(210px,1fr);gap:12px;padding:26px 24px}.home-scene{height:330px;transform:scale(.85);margin:0 -20px}.home-copy{padding:23px}.home h1{font-size:35px}}
@media(max-width:680px){.home{max-width:470px;grid-template-columns:1fr;padding:23px 18px;gap:0}.home-copy{padding:24px}.home-scene{display:none}.home h1{font-size:37px}.home-meta>span:last-child{display:block}.home .rules-summary{font-size:11px}footer{padding:14px 20px}}
@media(max-width:390px){.home{padding:16px 12px}.home-copy{padding:20px}.home h1{font-size:33px}.menu-controls{gap:8px}.menu-controls>span{font-size:9px}.mini-label{font-size:7px}}
