:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}body{background:#101116;background-image:radial-gradient(ellipse at 20% 0%,#353c5940,transparent 60%),radial-gradient(ellipse at 90% 90%,#53463230,transparent 55%);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,a,input,select{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8bbdff;outline-offset:4px}button{transition:background .2s,box-shadow .2s,transform .2s}.wrap{padding:48px 24px 80px}.calc{width:min(380px,100%);padding:22px;background:linear-gradient(145deg,#36383e,#202126);border:1px solid #ffffff25;border-radius:38px;box-shadow:0 40px 100px #0007,inset 0 1px #ffffff20}.brand{font-size:12px;letter-spacing:.03em;color:#b4b6c0;padding:4px 8px 18px}.dot{background:#c2c5ce;box-shadow:0 0 12px #ffffff35;width:5px;height:5px}.screen{background:transparent;height:150px;padding:12px 8px 22px;border-radius:0;margin-bottom:12px}.screen #display{font-size:64px;font-weight:300;letter-spacing:-3px}.screen #history{color:#b4b6c0;font-size:16px}.keys{gap:10px}.keys button{height:66px;border-radius:22px;background:#41434a;box-shadow:inset 0 1px #ffffff0d;color:#f5f5f7;font-size:25px;font-weight:400}.keys button:hover{background:#50525a}.keys .muted{background:#686a72;color:white}.keys .op{background:#edaa50;color:#211609}.keys .op:hover{background:#ffc475}.keys button:active{transform:scale(.94)}.legal-link{font-size:11px;color:#b7b9c3;text-decoration:none;letter-spacing:.01em;background:#23252bcc;border:1px solid #ffffff12;backdrop-filter:blur(20px);padding:11px 18px;bottom:14px}.portal{--accent:#a9c9ff;background:#101116;background-image:radial-gradient(ellipse at 80% 0%,#26395370,transparent 650px),radial-gradient(ellipse at 0% 600px,#322b4630,transparent 650px)}.flash{display:none}.secret{width:min(1140px,calc(100% - 64px));padding:44px 0 64px}.back{color:#c9ccd5;border-color:#ffffff1f;font-size:12px;padding:11px 17px;background:#ffffff05}.back:hover{background:#ffffff10}.secret .eyebrow{font-family:inherit;font-size:11px;letter-spacing:.18em;font-weight:600;color:#a9bbd7;margin-top:66px}.secret h1{font-size:clamp(44px,7vw,80px);line-height:1.05;font-weight:600;letter-spacing:-.055em;margin:18px 0}.lead{font-size:clamp(16px,2.3vw,21px);line-height:1.6;color:#a0a6b4;margin:18px 0 36px;max-width:560px}.arcade-tabs{gap:6px;padding:6px;background:#ffffff06;border:1px solid #ffffff12;border-radius:18px;width:fit-content;margin:0 0 32px;backdrop-filter:blur(24px)}.arcade-tabs button{font-family:inherit;font-size:13px;font-weight:500;background:transparent;color:#aeb5c2;border:0;border-radius:12px;padding:13px 20px}.arcade-tabs button:hover{background:#ffffff09;color:#fff}.arcade-tabs button[aria-pressed=true]{background:#e6ebf4;color:#202632;box-shadow:0 3px 12px #0003}.cards{gap:18px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch!important}.cards article,.online-panel{border:1px solid #ffffff12;background:linear-gradient(135deg,#252933bb,#1c1f27cc);border-radius:24px;padding:26px;box-shadow:inset 0 1px #ffffff05,0 12px 35px #0001}.cards article{transition:border-color .25s,box-shadow .25s}.cards article:hover{border-color:#ffffff28;box-shadow:0 14px 35px #0003}.cards h2{font-size:19px;letter-spacing:-.025em;font-weight:600;line-height:1.4}.cards p{font-size:13px;line-height:1.75;color:#adb4c2}.game-card{display:flex;flex-direction:column}.game-summary{flex:1;margin:0 0 16px;min-height:68px}.cards .game-toggle{width:auto;align-self:flex-start;padding:10px 20px;font-size:12px;font-weight:600;border-radius:999px;background:#ffffff0d;border:1px solid #ffffff12;color:#e3e9f4;min-height:40px;margin-top:0}.cards .game-toggle:hover{background:#e6ebf4;color:#202632}.game-card.is-open{background:linear-gradient(135deg,#2c3546,#1e232e);border-color:#a9c9ff55}.game-card.is-open .game-summary{min-height:0;flex:0}.game-card.is-open .game-body{width:100%;margin-top:24px}.cards button{border-radius:12px}.cards strong{font-size:14px}.tag{font-family:inherit;font-size:10px;letter-spacing:.12em;color:#b1c7e7}.arcade-note{font-size:11px!important;max-width:670px;color:#848d9e;margin:30px 0}.online-panel{padding:32px}.online-panel h2{letter-spacing:-.03em;font-size:26px}.online-panel p{color:#b3bbcb;line-height:1.7}.online-panel input,.online-panel select,.online-panel button,#admin-panel input,#admin-panel button{background:#ffffff07;border:1px solid #ffffff20;border-radius:12px;min-height:46px}.online-panel select option{background:#202631}.online-panel button:hover{background:#ffffff15}.online-panel label{font-size:13px;color:#bec7d5}#chat-log{background:#0d111850;border-color:#ffffff12;border-radius:16px}#admin-panel{background:#202631;border-color:#ffffff25;border-radius:24px;box-shadow:0 30px 100px #0009}.game-link{background:#d1e0fa;color:#202632;border-radius:12px}.portal.open{animation:soft-enter .45s ease both}@keyframes soft-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@media(max-width:950px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.secret{width:calc(100% - 36px);padding-top:24px}.secret .eyebrow{margin-top:44px}.secret h1{letter-spacing:-.05em;font-size:46px}.lead{margin-bottom:26px}.arcade-tabs{position:sticky;top:10px;width:100%;background:#1c202bee;display:grid;grid-template-columns:1fr 1fr;gap:4px;border-radius:16px;z-index:2}.arcade-tabs button{font-size:11px;padding:12px 6px}.cards{grid-template-columns:1fr;gap:12px}.cards article{padding:22px}.game-summary{min-height:0}.online-panel{padding:20px}.calc{padding:18px;border-radius:32px}.keys button{height:62px;border-radius:20px}.wrap{padding-top:28px}.screen{height:120px}.screen #display{font-size:58px}.online-panel form>*{max-width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
body:has(.portal.open){overflow:hidden}

.moderation button{margin:4px;font-size:12px}.moderation p{overflow-wrap:anywhere;border-bottom:1px solid #ffffff15;padding-bottom:12px}#chat-log a{color:#b7d6ff}#chat-upload{margin-top:20px;padding-top:20px;border-top:1px solid #ffffff15}#chat-file{width:100%;max-width:320px}@media(max-width:650px){.arcade-tabs{grid-template-columns:1fr 1.6fr 1fr}}
body.keys-returning .keys button{position:relative;z-index:1001;transition:transform 1.8s cubic-bezier(.22,.75,.2,1) var(--return-delay,0ms),background .2s;pointer-events:none;will-change:transform}body.keys-returning .keys button:active{transform:none}@media(prefers-reduced-motion:reduce){body.keys-returning .keys button{transition:none}}

.result-glow{position:fixed;inset:0;z-index:2050;pointer-events:none;background:radial-gradient(ellipse at 50% 45%,#e3edff26,#dae6ff0a 70%,transparent);animation:result-glow .6s ease-in-out both}@keyframes result-glow{0%,100%{opacity:0}35%{opacity:1}}@media(prefers-reduced-motion:reduce){.result-glow{display:none!important}}

.duo-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start;margin:24px 0}.duo-layout:has(#duo-chat[hidden]){grid-template-columns:1fr}#duo-chat[hidden]{display:none}#duo-chat{min-width:0;border:1px solid #ffffff18;background:#0e131c77;border-radius:18px;padding:18px}#duo-chat h3{margin:0 0 8px;font-size:16px}#duo-note,#duo-status{font-size:12px}#duo-log{height:220px;overflow:auto;overflow-wrap:anywhere}#duo-log p{font-size:13px;margin:10px 0}#duo-form{display:grid;gap:8px}#duo-form input{width:100%;min-width:0}#duo-form label{min-width:0;font-size:12px}@media(max-width:750px){.duo-layout{grid-template-columns:minmax(0,1fr)}#duo-log{height:160px}}
