:root{--ink:#28372e;--muted:#7b827b;--line:#e7eae3;--bg:#fafbf8;--green:#dfebdf;--blue:#e4ecf8;--yellow:#faf0ce;--red:#f6e1dc;--accent:#d8edbb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #86a8d0;outline-offset:4px}button:disabled{opacity:.4;cursor:default}[hidden]{display:none!important}.site-header{height:108px;max-width:1440px;margin:auto;padding:0 6.2%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink);font:800 29px 'Manrope',sans-serif;letter-spacing:-1.6px}.brand-mark{width:25px;height:25px;display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-right:11px}.brand-mark i{border-radius:3px}.brand-period{color:#8eae77}.brand-mark i:nth-child(1),.tiny-dots i:nth-child(1),.footer-colors i:nth-child(1){background:#e8bf50}.brand-mark i:nth-child(2),.tiny-dots i:nth-child(2),.footer-colors i:nth-child(2){background:#84aee5}.brand-mark i:nth-child(3),.tiny-dots i:nth-child(3),.footer-colors i:nth-child(3){background:#82b69b}.brand-mark i:nth-child(4),.tiny-dots i:nth-child(4),.footer-colors i:nth-child(4){background:#db887c}.header-right{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:12px}.status-dot{height:7px;width:7px;border-radius:100%;background:#a9be9a;box-shadow:0 0 0 5px #eef2e9}.calculator-layout{max-width:1110px;min-height:650px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:75px;align-items:center;padding:35px 40px 55px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:650;display:flex;align-items:center;gap:10px}.mini-line{height:2px;width:24px;background:#89a679}h1{font-family:'Manrope',sans-serif;font-size:51px;font-weight:500;line-height:1.24;letter-spacing:-2.6px;margin:24px 0}.intro p{font-size:16px;line-height:1.9;color:var(--muted);margin:24px 0 0}.underlined{position:relative;white-space:nowrap}.underlined svg{position:absolute;bottom:-9px;left:0;width:100%;height:15px;overflow:visible}.underlined path{fill:none;stroke:#eacb6e;stroke-width:5;stroke-linecap:round}.intro-note{margin-top:65px;display:flex;gap:10px;align-items:center;font-size:11px;color:#90958b}.note-icon{color:#93a97b;font-size:23px}.calculator{background:white;border:1px solid #e4e8df;border-radius:23px;padding:25px;box-shadow:0 12px 50px #31432c07,0 3px 7px #31432c03;position:relative;max-width:410px;width:100%}.calculator-top{display:flex;align-items:center;justify-content:space-between;color:#929990;font-size:9px;font-weight:600;letter-spacing:1.7px}.calculator-top>span{display:flex;align-items:center;gap:7px}.mini-dot{width:5px;height:5px;border-radius:50%;background:#b2c3a4}.icon-button{background:none;border:none;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;color:#899084}.icon-button:hover{background:#edf1e8;color:var(--ink)}svg.icon{width:19px;height:19px;display:block;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.display{height:129px;padding:22px 8px 22px;text-align:right;overflow:hidden}.expression{font-size:11px;color:#92998e;height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}output{display:block;font-family:'Manrope',sans-serif;font-size:48px;font-weight:500;line-height:1.5;letter-spacing:-2px;overflow:auto;white-space:nowrap;scrollbar-width:none}output.long{font-size:30px}output.error{font-size:21px;letter-spacing:-.5px;color:#ad6255}.keypad{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.key{height:58px;border:1px solid transparent;border-radius:12px;background:#f6f7f3;font-size:20px;transition:transform .12s,filter .12s;display:flex;align-items:center;justify-content:center;font-weight:500}.key:hover{filter:brightness(.965);border-color:#dce3d7}.key:active,.key.pressed{transform:scale(.94);filter:brightness(.94)}.key.utility,.key.clear{font-size:16px;background:#eff2ea}.key.clear{color:#738466}.key.operator{font-size:25px}.blue{background:var(--blue)}.yellow{background:var(--yellow)}.red{background:var(--red)}.green{background:var(--green)}.key.equals{background:var(--accent);font-size:26px}.calculator-foot{display:flex;align-items:center;justify-content:space-between;padding-top:21px;color:#a0a598;font-size:9px}.tiny-dots,.footer-colors{display:flex;gap:4px}.tiny-dots i{width:4px;height:4px;border-radius:50%}.keyboard-note{display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:#92998e;margin:12px 20px 69px}.keyboard-note .icon{width:17px}.key-hint{display:flex;align-items:center;gap:7px;margin-left:12px;font-size:10px}kbd{font-family:inherit;font-size:9px;border:1px solid #e4e7df;background:#fff;border-radius:4px;padding:3px 6px;color:#7f8879}.hint-divider{margin:0 5px;color:#c4cabc}.site-footer{max-width:1260px;margin:auto;border-top:1px solid var(--line);padding:25px 0;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#989e92}.footer-center{color:#a6ac9f}.footer-colors{gap:6px}.footer-colors i{width:7px;height:7px;border-radius:2px}.history-panel{position:absolute;inset:62px 15px 15px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:0 8px 30px #28372e12;z-index:2;overflow:auto}.history-heading{display:flex;align-items:center;justify-content:space-between}.history-heading h2{font-size:16px}.history-panel p{color:var(--muted);line-height:1.6}.history-row{border-bottom:1px solid var(--line);padding:12px 0;display:flex;justify-content:space-between;gap:10px}.history-row span{color:var(--muted)}.text-button{border:0;background:none;padding:14px 0;font-size:12px;color:#6d8160}.button{border:1px solid #dfe5d9;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:550;white-space:nowrap}.button:hover{background:#eef3e8}.button.small{padding:8px 12px;font-size:11px}#hub-page{max-width:1260px;margin:0 auto;padding:20px 0}.hub-intro{display:flex;align-items:center;justify-content:space-between;padding:36px 0 43px}.hub-intro h1{font-size:43px;letter-spacing:-1.8px;margin:19px 0 12px}.hub-intro p{color:var(--muted);font-size:15px}.hub-art{display:grid;grid-template-columns:65px 65px;gap:8px;transform:rotate(-10deg);margin-right:30px}.hub-art span{height:65px;border-radius:17px;display:grid;place-items:center;font-size:45px;font-weight:400;background:var(--yellow);color:#b99539}.hub-art span:nth-child(2){background:var(--blue);color:#7599c8}.hub-art span:nth-child(3){background:var(--green);color:#7ea188}.hub-art span:nth-child(4){background:var(--red);color:#c27d6b}.library-toolbar{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:15px}.library-tabs{display:flex;gap:25px}.tab{border:0;border-bottom:2px solid transparent;background:none;display:flex;align-items:center;gap:8px;padding:17px 0;font-size:12px;color:var(--muted)}.tab.active{color:var(--ink);border-bottom-color:#86a279;font-weight:650}.tab span:not([data-icon]){font-size:10px;border-radius:5px;background:#edf1e7;padding:3px 6px}.tab .icon{width:15px}.filters{display:flex;gap:20px;align-items:center;margin:28px 0 38px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;background:white;padding:11px 12px;min-width:255px;flex:1;max-width:310px;color:#96a08e}.search input{border:none;outline:none;width:100%;min-width:0;font-size:11px;background:none;color:var(--ink)}.search:focus-within{border-color:#8fa680}.genre-filters{display:flex;gap:5px;flex-wrap:wrap}.genre-filter{background:none;border:0;font-size:11px;padding:8px 10px;border-radius:7px;color:var(--muted)}.genre-filter.active{background:#eaf0e2;color:#526a43}.sort-label{margin-left:auto}.sort-label select{border:none;background:transparent;font-size:11px;color:var(--muted);max-width:130px}.results-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.results-heading h2{font-size:16px;font-weight:550;letter-spacing:-.3px;margin:0}.results-heading>span{font-size:11px;color:var(--muted)}.game-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 20px}.game-card{position:relative;background:white;border:1px solid #e6e9e0;border-radius:13px;overflow:hidden;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-4px);box-shadow:0 10px 25px #31432c09}.game-launch{border:0;background:none;display:block;text-align:left;padding:0;width:100%}.game-cover{height:154px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;background:var(--cover);color:var(--cover-ink)}.game-cover:before,.game-cover:after{content:'';position:absolute;width:150px;height:150px;border:1px solid currentColor;opacity:.09;transform:rotate(-22deg);border-radius:30px}.game-cover:before{left:-60px;bottom:-85px}.game-cover:after{right:-55px;top:-85px}.game-cover .cover-symbol{font-family:'Manrope',sans-serif;font-size:61px;letter-spacing:-4px;font-weight:800;transform:rotate(-8deg);text-shadow:3px 4px 0 #ffffff80;user-select:none}.game-cover .cover-symbol.small-symbol{font-size:40px}.game-cover .cover-symbol .icon{width:70px;height:70px;stroke-width:1.1;filter:drop-shadow(3px 4px 0 #ffffff80)}.game-badge{position:absolute;bottom:11px;left:12px;font-size:8px;font-weight:650;text-transform:uppercase;letter-spacing:1px;opacity:.65}.play-circle{position:absolute;bottom:10px;right:12px;width:28px;height:28px;background:#ffffff9c;border-radius:50%;display:grid;place-items:center;opacity:0;transition:opacity .2s}.game-card:hover .play-circle,.game-launch:focus-visible .play-circle{opacity:1}.play-circle .icon{width:13px}.game-info{padding:17px 16px}.game-info h3{margin:0 28px 8px 0;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.game-meta{display:flex;align-items:center;gap:6px;font-size:10px;color:#92998b}.game-meta .meta-dot{width:3px;height:3px;background:#bac2b2;border-radius:50%}.favorite-button{position:absolute;bottom:39px;right:12px;width:28px;height:28px;background:white;border:0;border-radius:50%;display:grid;place-items:center;color:#a7afa0}.favorite-button .icon{width:16px}.favorite-button.active{color:#bf796d}.favorite-button.active .icon{fill:#f1d4cc}.library-note{margin:40px 0 25px;text-align:center;font-size:11px;color:#90988a}.library-note span{margin-left:12px;color:#a5ac9e}.empty-state{text-align:center;padding:65px 20px}.empty-state>span{display:inline-block;color:#839975}.empty-state h2{font-size:21px}.empty-state p{color:var(--muted)}dialog{padding:0;border:1px solid #dce1d6;border-radius:15px;width:calc(100vw - 60px);height:calc(100dvh - 60px);max-width:1440px;max-height:none;background:#fff;color:var(--ink);box-shadow:0 30px 100px #15201130}dialog::backdrop{background:#263126a6;backdrop-filter:blur(5px)}dialog[open]{display:flex;flex-direction:column}.player-bar{min-height:64px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.player-bar>div,.player-actions{display:flex;align-items:center;gap:12px}.player-bar h2{font-size:14px;margin:0}.player-bar #player-category{font-size:10px;color:var(--muted)}.player-dot{width:7px;height:7px;background:#9abb80;border-radius:50%}.game-stage{position:relative;flex:1;min-height:0;background:#171c18}.game-stage iframe{border:0;width:100%;height:100%;position:relative;display:block;background:white}.game-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1;background:#f7f9f2;pointer-events:none;color:#7b8b6b;font-size:13px}.spinner{width:28px;height:28px;border:2px solid #e3e9dc;border-top-color:#90a876;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.player-foot{padding:11px 18px;display:flex;justify-content:space-between;font-size:10px;color:#939b8b}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#2d3a2b;color:white;padding:12px 20px;border-radius:10px;z-index:10;font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.calculator-layout{min-height:calc(100vh - 290px)}}@media(max-width:1350px){#hub-page,.site-footer{margin-left:6%;margin-right:6%}.filters{gap:12px}.genre-filter{padding:8px}.game-grid{gap:18px}}@media(max-width:1050px){.calculator-layout{gap:35px;padding-left:6%;padding-right:6%}h1{font-size:42px}.game-grid{grid-template-columns:repeat(3,1fr)}.filters{flex-wrap:wrap}.search{max-width:none}.genre-filters{order:3;width:100%}}@media(max-width:700px){.site-header{height:83px;padding:0 6%}.brand{font-size:25px}#header-label{display:none}.calculator-layout{grid-template-columns:1fr;gap:30px;padding:23px 22px 28px;min-height:0}.intro{text-align:center}.intro .eyebrow{justify-content:center;font-size:9px}.intro h1{font-size:35px;letter-spacing:-1.7px;margin:15px 0;line-height:1.25}.intro h1 br{display:none}.intro p{font-size:12px;margin:13px 0 0;line-height:1.6}.intro p br{display:none}.intro-note{display:none}.calculator{margin:auto;max-width:365px;padding:20px;border-radius:20px}.display{height:110px;padding-top:15px}.key{height:54px;border-radius:10px}.keypad{gap:8px}.keyboard-note{margin:5px 0 32px;font-size:10px}.key-hint{display:none}.site-footer{padding:23px 0;font-size:9px}.footer-center{display:none}.hub-intro{padding:18px 0 28px}.hub-intro h1{font-size:31px;letter-spacing:-1.5px;max-width:290px}.hub-intro p{font-size:12px}.hub-art{grid-template-columns:32px 32px;gap:5px;margin-right:0}.hub-art span{height:32px;font-size:24px;border-radius:9px}.hub-intro .eyebrow{font-size:8px;letter-spacing:1px}.library-toolbar{align-items:flex-start;flex-wrap:wrap;padding-bottom:14px;gap:10px}.library-tabs{gap:16px;width:100%;justify-content:space-between}.tab{font-size:10px;gap:5px}.tab .icon{display:none}.library-toolbar>.button{padding:8px 12px;font-size:11px}.filters{margin:20px 0 25px;gap:12px}.search{min-width:180px;padding:10px}.search kbd{display:none}.genre-filters{gap:2px}.genre-filter{font-size:10px;padding:8px}.sort-label select{font-size:10px;max-width:106px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px}.game-cover{height:115px}.game-cover .cover-symbol{font-size:45px}.game-cover .cover-symbol.small-symbol{font-size:27px}.game-cover .cover-symbol .icon{width:48px;height:48px}.game-info{padding:13px 11px}.game-info h3{font-size:11px;margin-right:19px}.game-meta{font-size:8px}.favorite-button{bottom:31px;right:6px;width:25px}.favorite-button .icon{width:14px}.results-heading h2{font-size:13px}.results-heading>span{font-size:10px}.game-badge{font-size:7px;left:9px}.library-note{font-size:9px;line-height:1.8}.library-note span{display:block;margin:0}.player-bar{padding:8px 10px;min-height:56px;gap:4px}.player-bar>div{gap:6px}.player-bar h2{font-size:11px;max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-bar #player-category,.player-dot{display:none}.player-actions{gap:1px!important}.player-actions .icon-button{width:28px}.player-actions .button{font-size:9px;padding:7px}.player-foot{font-size:9px;padding:9px}.player-foot span:last-child{display:none}dialog{width:calc(100vw - 16px);height:calc(100dvh - 24px);border-radius:10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important}}
/* Six calculators on a vertically snapping, softly curved wheel. */
.suite-heading{max-width:1160px;margin:26px auto 5px;padding:0 35px}.suite-heading h1{font-size:38px;letter-spacing:-1.6px;margin:18px 0 14px}.suite-heading p{font-size:13px;color:var(--muted);margin:0}.suite-heading .eyebrow{font-size:9px;letter-spacing:1.8px}.calculator-workspace{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:230px minmax(0,510px) 1fr;gap:42px;align-items:center;padding:18px 35px 0}.calculator-menu>.eyebrow{font-size:8px;color:#949e8c;letter-spacing:1.6px;padding:0 12px;margin:0 0 20px}.calculator-choice{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#87917f;font-size:12px;text-align:left;margin:3px 0;transition:background .2s,color .2s}.calculator-choice:hover{background:#f0f3eb}.calculator-choice.selected{background:white;border-color:#e2e8db;color:#34482c;box-shadow:0 4px 16px #28372e03}.choice-icon{height:29px;width:29px;display:grid;place-items:center;font:500 21px 'Manrope',sans-serif;border-radius:8px;opacity:.55}.selected .choice-icon{opacity:1}.choice-arrow{margin-left:auto;font-size:14px;opacity:0}.selected .choice-arrow{opacity:.6}.wheel-tip{display:flex;align-items:center;gap:12px;margin:40px 12px 0;color:#9ba391}.wheel-tip p{font-size:10px;line-height:1.8}.wheel-tip-symbol{font-size:28px;color:#a8b49b}.wheel-area{min-width:0}.wheel-caption{display:flex;justify-content:space-between;font-size:10px;color:#8c9882;padding:0 17px;letter-spacing:.3px}.wheel-caption>span:first-child{display:flex;align-items:center;gap:7px}.wheel-caption>span:last-child{font-size:9px;letter-spacing:2px}.calculator-wheel{--card-height:545px;--wheel-height:675px;height:var(--wheel-height);position:relative;overflow-x:hidden;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior-y:contain;padding:calc((var(--wheel-height) - var(--card-height))/2) 14px;perspective:1400px;mask-image:linear-gradient(transparent,#000 9%,#000 91%,transparent);-webkit-mask-image:linear-gradient(transparent,#000 9%,#000 91%,transparent)}.calculator-wheel::-webkit-scrollbar{display:none}.calculator-wheel:focus-visible{outline-offset:0;outline:2px solid #a9bb98;border-radius:14px}.wheel-slot{height:var(--card-height);margin:0 0 22px;scroll-snap-align:center;scroll-snap-stop:always;position:relative;transform-style:preserve-3d}.wheel-slot:last-child{margin-bottom:0}.wheel-card{height:100%;max-width:none;transform:rotateX(var(--wheel-angle,0deg)) scale(var(--wheel-scale,1));opacity:var(--wheel-opacity,1);transform-origin:center;box-shadow:0 8px 30px #31432c07;display:flex;flex-direction:column;transition:border-color .15s}.wheel-slot.is-selected .wheel-card{border-color:#dce4d4}.wheel-card .calculator-foot{margin-top:auto}.wheel-card .display{flex:1;min-height:115px}.wheel-card .keypad{flex:none}.wheel-card .key{height:57px}.wheel-navigation{display:flex;align-items:center;justify-content:center;gap:17px;margin-top:0;color:#a0aa95;font-size:9px}.wheel-navigation .icon-button{background:#eef2e8;width:25px;height:25px;border-radius:50%;font-size:14px;color:#7d8d6d}.wheel-navigation .icon-button:disabled{opacity:.28}.suite-note{align-self:center;padding-left:8px}.suite-note p{font-size:11px;color:#9ba493;line-height:1.9;margin:15px 0 20px}.suite-note .note-icon{font-size:28px}.calculator-workspace+.keyboard-note{margin:32px 20px 40px}.tool-top{display:flex;align-items:center;gap:12px;margin-bottom:26px}.tool-badge{display:grid;place-items:center;width:42px;height:42px;border-radius:11px;font:500 29px 'Manrope',sans-serif;flex-shrink:0}.tool-top h2{font:600 18px 'Manrope',sans-serif;letter-spacing:-.5px;margin:0 0 5px}.tool-top p{margin:0;color:#9ba391;font-size:10px}.tool-number{font-size:10px;letter-spacing:2px;color:#bec7b5;margin-left:auto}.tool-field{display:flex;flex-direction:column;gap:9px;margin-bottom:20px;min-width:0}.tool-field>span{font-size:10px;color:#8b9781}.tool-field input,.tool-field select{width:100%;min-width:0;border:1px solid #e3e8db;background:#f7f9f3;border-radius:10px;padding:14px;color:#35432c;font-size:16px;outline-offset:2px}.tool-field select{font-size:12px;padding:15px 10px;height:49px}.tool-field input{font-family:'Manrope',sans-serif;font-weight:550;height:49px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:15px}.tool-result{background:#f0f5e8;border:1px solid #e6eddc;border-radius:13px;padding:22px 20px;margin-top:8px;min-height:143px;overflow:hidden}.percentage-card .tool-result{background:#fcf6e5;border-color:#f2ead1}.tip-card .tool-result{background:#fbefeb;border-color:#f2e3dc}.temperature-card .tool-result{background:#edf3fb;border-color:#e0e9f5}.tool-result>span{font-size:10px;color:#899b77}.tool-result output{font-size:35px;letter-spacing:-1.4px;line-height:1.7;max-width:100%;overflow-x:auto;white-space:nowrap}.tool-result p{margin:0;font-size:10px;color:#96a387;line-height:1.6}.tool-explainer{font-size:10px;color:#a2ac98;text-align:center;margin:25px 0}.tool-result .invalid{color:#b57b6b}.tip-breakdown{display:flex;justify-content:space-between;margin:20px 2px;color:#9eaa92;font-size:10px}.tip-breakdown strong{color:#6c7e5c;font-weight:550;margin-left:8px}.conversion-row{display:grid;grid-template-columns:1fr 32px 1fr;gap:10px;align-items:center}.swap-button{background:#eef2e7;border:0;border-radius:50%;height:29px;width:29px;font-size:18px;color:#82966f}.science-mode{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:#95a18a;margin:-7px 0 10px}.science-mode select{border:1px solid #e2e8da;border-radius:5px;background:#f8faf5;color:#789361;font-size:9px;padding:5px}.science-input{width:100%;border:1px solid #e6eade;border-radius:9px;background:#f8faf5;padding:12px;text-align:right;font-size:15px;color:var(--ink);height:42px;flex-shrink:0}.science-input::placeholder{color:#b0b8a8;font-size:12px}.science-result{font-size:29px;letter-spacing:-.8px;min-height:53px;text-align:right;padding:7px 4px;line-height:1.4}.science-result.invalid{font-size:13px;white-space:normal;color:#b16f62;letter-spacing:0}.science-keypad{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.science-keypad .key{height:35px;border-radius:7px;font-size:12px}.science-keypad .equals{grid-column:span 5}.scientific-card .tool-top{margin-bottom:18px}.scientific-card .calculator-foot{padding-top:12px}.scientific-card .tool-badge{height:34px;width:34px;font-size:24px}@media(min-width:1500px){.calculator-workspace{margin-top:20px;margin-bottom:25px}}@media(max-width:1150px){.calculator-workspace{grid-template-columns:190px minmax(0,470px);justify-content:center;gap:32px}.suite-note{display:none}.suite-heading{max-width:800px;padding:0 35px}.suite-heading h1{font-size:34px}.calculator-wheel{--card-height:530px;--wheel-height:650px}.wheel-card .key{height:55px}.science-keypad .key{height:33px}}@media(max-width:700px){.suite-heading{margin:16px 0 26px;padding:0 24px;text-align:center}.suite-heading .eyebrow{justify-content:center;font-size:7px;letter-spacing:1.1px}.suite-heading h1{font-size:28px;letter-spacing:-1.25px;margin:14px 0 18px}.suite-heading p{font-size:11px}.calculator-workspace{display:flex;flex-direction:column;padding:0 12px;gap:22px;width:100%}.calculator-menu{width:100%;padding:0 9px}.calculator-menu>.eyebrow,.wheel-tip{display:none}#calculator-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.calculator-choice{padding:7px 6px;gap:6px;margin:0;border-radius:8px;font-size:9px;justify-content:center}.choice-icon{width:22px;height:22px;font-size:17px;border-radius:5px}.choice-arrow{display:none}.wheel-area{width:100%;max-width:425px}.calculator-wheel{--card-height:525px;--wheel-height:615px;padding-left:9px;padding-right:9px}.wheel-card{max-width:none;padding:20px}.wheel-card .key{height:54px}.wheel-card .display{min-height:113px}.wheel-caption{font-size:9px}.wheel-caption>span:last-child{font-size:8px}.wheel-navigation{font-size:8px;gap:15px}.calculator-workspace+.keyboard-note{margin:26px 0 30px}.tool-top{margin-bottom:22px}.tool-top h2{font-size:17px}.tool-top p{font-size:9px}.tool-field input{font-size:15px}.tool-field select{font-size:10px;padding-left:8px}.tool-result output{font-size:32px}.tool-result{padding:19px 16px}.tool-explainer{font-size:9px}.science-keypad .key{height:34px;font-size:11px}.science-input{font-size:13px}.science-result{font-size:26px}.tool-result p{font-size:9px}.tip-breakdown{font-size:9px}.conversion-row{gap:7px}.tool-field{margin-bottom:19px}.suite-heading .underlined{white-space:nowrap}}@media(prefers-reduced-motion:reduce){.wheel-card{transform:none!important}}
.scientific-card .tool-top{margin-bottom:10px}.scientific-card .science-mode{margin:0 0 7px}.scientific-card .science-input{height:38px}.scientific-card .science-result{min-height:44px;font-size:25px;padding:5px 4px}.scientific-card .science-result.invalid{font-size:12px}.scientific-card .science-keypad{gap:5px}.scientific-card .science-keypad .key{height:29px}.scientific-card .calculator-foot{padding-top:10px}
@media(min-width:701px) and (max-height:850px){
 .site-header{height:70px}.suite-heading{margin:8px auto 0}.suite-heading h1{font-size:29px;margin:13px 0 12px}.suite-heading p{font-size:11px}.suite-heading .eyebrow{font-size:8px}.calculator-workspace{padding-top:15px}.calculator-wheel{--card-height:435px;--wheel-height:525px}.wheel-card{padding:19px 22px}.wheel-card .display{height:85px;min-height:85px;padding:10px 6px}.wheel-card output#result{font-size:38px}.wheel-card .keypad{gap:6px}.wheel-card .keypad .key{height:41px;border-radius:9px;font-size:17px}.wheel-card .calculator-foot{padding-top:14px}.calculator-choice{padding:9px 12px}.wheel-tip{margin-top:20px}.wheel-card .tool-top{margin-bottom:16px}.tool-top h2{font-size:16px}.tool-badge{width:34px;height:34px;font-size:24px}.tool-field{gap:7px;margin-bottom:14px}.tool-field input,.tool-field select{height:40px;padding:10px;font-size:12px}.tool-result{min-height:115px;margin-top:3px;padding:13px 17px}.tool-result output{font-size:29px}.tool-explainer{margin:17px 0;font-size:9px}.tip-breakdown{margin:15px 0;font-size:9px}.scientific-card .tool-top{margin-bottom:6px}.scientific-card .tool-top p{display:none}.scientific-card .tool-badge{width:28px;height:28px;font-size:20px}.scientific-card .science-mode{margin-bottom:5px}.scientific-card .science-input{height:31px;padding:7px 10px;font-size:13px}.scientific-card .science-result{min-height:34px;font-size:23px;padding:2px 4px}.scientific-card .science-result.invalid{font-size:11px}.scientific-card .science-keypad .key{height:24px;font-size:10px}.scientific-card .calculator-foot{padding-top:8px}.calculator-workspace+.keyboard-note{margin:17px 0 23px}.wheel-caption{font-size:9px}.suite-note p{font-size:10px}
}
.wheel-area{position:relative}.wheel-peek{position:absolute;left:50%;transform:translateX(-50%) rotateX(30deg);background:var(--bg);border:0;padding:4px 20px;white-space:nowrap;font-family:'Manrope',sans-serif;font-size:11px;letter-spacing:.1px;color:#aeb8a4;border-radius:20px;z-index:1}.wheel-peek.previous{top:27px}.wheel-peek.next{bottom:42px;transform:translateX(-50%) rotateX(-30deg)}.wheel-peek:hover{color:#6e8260;background:#f0f4e9}@media(max-width:700px){.wheel-peek{font-size:10px}}
.scientific-card .science-keypad .key{height:40px;font-size:12px}
@media(min-width:701px) and (max-height:850px){.scientific-card .science-keypad .key{height:35px;font-size:11px}}
/* Lift the calculator into a star field, then return to the regular arcade. */
.calculator.is-departing{visibility:hidden}
.unlock-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:24px;background:transparent;color:#fff;box-shadow:none;overflow:hidden;opacity:1;transition:opacity .45s ease;z-index:20;outline:none}
.unlock-dialog[open]{display:grid;place-items:center}
.unlock-dialog::backdrop{background:transparent;backdrop-filter:none}
.unlock-dialog.unlock-leaving{opacity:0;pointer-events:none}
.unlock-space{position:absolute;inset:0;overflow:hidden;background:radial-gradient(ellipse at 22% 68%,#6641b899,transparent 55%),radial-gradient(ellipse at 82% 26%,#245bad99,transparent 57%),linear-gradient(145deg,#140f32,#222450 48%,#0b1b3a);animation:space-appear .55s ease-out both}
.unlock-space:after{content:'';position:absolute;width:100%;height:70%;left:0;bottom:-45%;border-radius:50%;background:radial-gradient(ellipse,#9180ef80,#4484e955 35%,transparent 70%);filter:blur(35px)}
.unlock-stars{position:absolute;inset:-30px 0;animation:star-drift 5.05s ease-out both}
.unlock-stars i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);background:#e5e7ff;border-radius:50%;box-shadow:0 0 7px #afbeff80;animation:star-shimmer 2.6s ease-in-out var(--delay) infinite alternate}
.unlock-stars i:nth-child(7n){background:#b9a6ff;box-shadow:0 0 13px 2px #b9a6ff66}
.unlock-horizon{position:absolute;width:180px;height:180px;left:calc(50% - 90px);top:calc(50% - 140px);border-radius:50%;background:radial-gradient(circle,#8b9eff35,transparent 65%);animation:horizon-expand 4.6s ease-out both}
.unlock-flight{position:fixed;z-index:2;pointer-events:none;transform-origin:center;will-change:transform,opacity;animation:calculator-liftoff 4.4s cubic-bezier(.4,0,.2,1) both}
.unlock-flight>.calculator{height:100%;width:100%;max-width:none;margin:0;transform:none;opacity:1;visibility:visible;box-shadow:0 30px 100px #09082666,0 0 65px #9b94ff22;color:var(--ink)}
.unlock-flight output{font-size:38px}
.unlock-scene{width:min(100%,460px);text-align:center;position:relative;z-index:3;padding:0 10px;align-self:center;margin-top:180px}
.unlock-copy{animation:space-copy .6s 3.1s ease-out both}
.unlock-label{font-size:9px;letter-spacing:2.5px;color:#bcb4f2;font-weight:600}
.unlock-copy h2{font:500 34px 'Manrope',sans-serif;letter-spacing:-1.3px;margin:18px 0 12px;color:#f4f2ff}
.unlock-copy p{font-size:12px;color:#b6bfde;line-height:1.8;margin:0}
.unlock-progress{width:110px;height:2px;background:#b4c3ff25;border-radius:4px;margin:27px auto 14px;overflow:hidden;animation:space-copy .5s 3.1s both}
.unlock-progress span{display:block;height:100%;background:linear-gradient(90deg,#b7a3ff,#7ebdff);transform-origin:left;animation:unlock-progress 4.6s ease-in-out both}
.unlock-scene>.text-button{font-size:10px;color:#acb4d2;padding:10px 14px;border-radius:8px;position:relative;animation:space-copy .4s .25s both}
.unlock-scene>.text-button:hover{background:#b5beff15;color:#fff}
.unlock-scene>.text-button:focus-visible{outline-color:#c4b5ff}
.hub-arriving .hub-intro{animation:hub-reveal .5s ease-out both}
.hub-arriving .game-card:nth-child(-n+12){animation:hub-reveal .55s ease-out both}
.hub-arriving .game-card:nth-child(4n+2){animation-delay:.05s}
.hub-arriving .game-card:nth-child(4n+3){animation-delay:.1s}
.hub-arriving .game-card:nth-child(4n+4){animation-delay:.15s}
@keyframes calculator-liftoff{0%{transform:translate3d(0,0,0) scale(1);opacity:1}45%,53%{transform:translate3d(0,0,0) scale(.84);opacity:1}100%{transform:translate3d(0,var(--flight-out),0) scale(.84);opacity:1}}
@keyframes space-appear{from{opacity:0}to{opacity:1}}
@keyframes star-drift{from{transform:translateY(-20px)}to{transform:translateY(30px)}}
@keyframes star-shimmer{from{opacity:.25}to{opacity:.9}}
@keyframes horizon-expand{0%{transform:scale(.4);opacity:0}55%{transform:scale(2);opacity:1}100%{transform:scale(3);opacity:0}}
@keyframes space-copy{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
@keyframes unlock-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes hub-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:480px){.unlock-copy h2{font-size:28px}.unlock-scene{margin-top:150px}.unlock-flight output{font-size:42px}}
@media(prefers-reduced-motion:reduce){.unlock-dialog,.unlock-space,.unlock-stars,.unlock-stars i,.unlock-copy,.unlock-progress,.unlock-progress span,.unlock-scene>.text-button,.hub-arriving .hub-intro,.hub-arriving .game-card:nth-child(-n+12){animation:none!important;transition:none!important}.unlock-flight,.unlock-horizon{display:none}.unlock-dialog.unlock-leaving{transform:none}}
/* Calculator-first layout: one centred workspace, sized to the screen. */
body:has(#calculator-page:not([hidden])) .site-header{height:56px;max-width:none;padding:0 28px}
body:has(#calculator-page:not([hidden])) .site-header .brand{font-size:24px}
body:has(#calculator-page:not([hidden])) .header-right,body:has(#calculator-page:not([hidden])) .site-footer{display:none}
.calculator-workspace{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;gap:0;min-height:calc(100dvh - 56px);width:100%;max-width:none;margin:0;padding:8px 24px 20px}
.wheel-area{width:min(960px,calc(100vw - 96px));max-width:100%;margin:0 auto}
.calculator-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:42px;margin:0 14px 8px}
.calculator-picker select{border:1px solid #e0e6d9;background:#fff;border-radius:10px;color:#52624a;font-size:13px;font-weight:550;padding:10px 35px 10px 14px;min-width:168px;cursor:pointer}
.calculator-switch{display:flex;gap:5px}.calculator-switch .icon-button{width:35px;height:35px;font-size:19px;background:#f0f4e9}
.calculator-wheel{--card-height:clamp(520px,calc(100dvh - 180px),820px);--wheel-height:calc(var(--card-height) + 16px);padding:8px 14px;mask-image:none;-webkit-mask-image:none}
.wheel-card{padding:clamp(22px,3dvh,36px);border-radius:24px}
.wheel-card .calculator-foot,.wheel-card .tool-explainer,.wheel-card .tool-top p,.wheel-card .tool-number{display:none}
.wheel-card .calculator-top{flex:none;height:34px;font-size:11px;letter-spacing:1.5px}
.wheel-card .display{flex:0 0 25%;height:auto;min-height:0;padding:16px 8px 22px}
.wheel-card .expression{font-size:13px;height:23px}
.wheel-card output#result,.unlock-flight .display output{font-size:clamp(48px,7.5dvh,90px);line-height:1.3}
.wheel-card output#result.long,.unlock-flight .display output.long{font-size:36px}
.wheel-card output#result.error,.unlock-flight .display output.error{font-size:24px}
.wheel-card .keypad{flex:1;min-height:0;grid-template-rows:repeat(5,minmax(0,1fr));gap:clamp(8px,1.3dvh,14px)}
.wheel-card .keypad .key{height:auto;min-height:38px;font-size:clamp(21px,3dvh,32px);border-radius:13px}
.wheel-card .keypad .key.utility,.wheel-card .keypad .key.clear{font-size:clamp(17px,2.4dvh,24px)}
.wheel-card .tool-top,.scientific-card .tool-top{flex:none;margin:0 0 22px}
.wheel-card .tool-top h2{font-size:22px;margin:0}
.wheel-card .tool-badge{width:40px;height:40px;font-size:27px}
.wheel-card .tool-field{gap:10px;margin-bottom:22px}
.wheel-card .tool-field>span{font-size:13px}
.wheel-card .tool-field input,.wheel-card .tool-field select{height:clamp(46px,6.5dvh,66px);padding:12px 16px;font-size:17px}
.wheel-card .tool-result{flex:1;display:flex;flex-direction:column;justify-content:center;min-height:130px;margin-top:6px;padding:24px;border-radius:16px}
.wheel-card .tool-result>span{font-size:13px}
.wheel-card .tool-result output{font-size:clamp(36px,6dvh,64px)}
.wheel-card .tool-result p,.wheel-card .tip-breakdown{font-size:12px}
.wheel-card .tip-breakdown{margin-bottom:0}
.scientific-card .tool-top{margin-bottom:10px}
.scientific-card .science-mode{font-size:12px;margin:0 0 9px;flex:none}
.scientific-card .science-mode select{font-size:11px;padding:6px 10px}
.scientific-card .science-input{height:46px;font-size:18px;padding:10px 14px}
.scientific-card .science-result{flex:0 0 11%;min-height:44px;padding:7px 4px;font-size:clamp(28px,4.5dvh,48px)}
.scientific-card .science-result.invalid{font-size:14px}
.scientific-card .science-keypad{flex:1;min-height:0;grid-template-rows:repeat(6,minmax(0,1fr));gap:7px}
.scientific-card .science-keypad .key{height:auto;min-height:29px;font-size:clamp(13px,1.9dvh,20px);border-radius:9px}
@media(max-width:700px){
 body:has(#calculator-page:not([hidden])) .site-header{padding:0 22px;height:56px}
 .calculator-workspace{padding:4px 8px 14px;min-height:calc(100dvh - 56px)}
 .calculator-wheel{--card-height:clamp(470px,calc(100dvh - 154px),720px);padding:16px 10px}
 .calculator-toolbar{margin-left:10px;margin-right:10px;min-height:38px;margin-bottom:4px}
 .calculator-picker select{font-size:12px;min-width:152px;padding:9px 30px 9px 12px}
 .wheel-card{padding:20px;border-radius:20px}.wheel-card .display{flex-basis:22%}
 .wheel-card .keypad{gap:8px}.wheel-card .keypad .key{font-size:24px}
 .wheel-card .keypad .key.utility,.wheel-card .keypad .key.clear{font-size:17px}
 .wheel-card .tool-top h2{font-size:19px}.wheel-card .tool-field>span{font-size:11px}
 .wheel-card .tool-field input,.wheel-card .tool-field select{font-size:13px;padding:10px}
 .wheel-card .tool-result{padding:18px}.wheel-card .tool-result p{font-size:10px}
 .scientific-card .science-input{font-size:15px}.scientific-card .science-keypad{gap:5px}
 .scientific-card .science-keypad .key{font-size:12px}
}
@media(min-width:701px) and (max-width:1100px){
 .wheel-area{width:min(900px,calc(100vw - 52px))}
 .wheel-card{padding:clamp(20px,2.7dvh,30px)}
}

/* Shared memory, reusable history, and graphing tools. */
.memory-bar{display:grid;grid-template-columns:minmax(92px,1fr) repeat(4,minmax(44px,64px));align-items:center;gap:7px;margin:0 0 10px}
.memory-bar button{height:31px;border:1px solid #e4e9de;background:#f5f7f2;border-radius:8px;color:#718068;font-size:11px;font-weight:650}
.memory-bar button:hover{background:#eaf0e5;color:#34452d}
.memory-status{font-size:10px;color:#a0a99a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.memory-status.active{color:#668054;font-weight:650}
.scientific-card .memory-bar{margin:0 0 8px}.scientific-card .memory-bar button{height:27px;font-size:10px}
.tool-actions{margin-left:auto;display:flex;align-items:center}.tool-actions+.tool-number{margin-left:0}
.global-history{position:fixed;inset:68px 20px 48px auto;width:min(390px,calc(100vw - 32px));padding:25px;background:#fff;border:1px solid #dfe5d8;border-radius:19px;box-shadow:0 18px 70px #24311e24;z-index:14;overflow:auto}
.global-history .history-heading{position:sticky;top:-25px;background:#fff;padding:0 0 14px;z-index:1}
.global-history .history-heading h2{font:600 21px 'Manrope',sans-serif;letter-spacing:-.5px;margin:5px 0 0}.history-kicker{font-size:8px;letter-spacing:1.8px;color:#92a187;font-weight:650}
.global-history>p,.global-history #history-list>p{font-size:12px;color:#8a9682;line-height:1.7;padding:22px 4px}
.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf0e9}
.history-reuse{min-width:0;border:0;background:#f7f9f4;border-radius:10px;padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left}
.history-reuse:hover{background:#eef3e9}.history-reuse span{min-width:0;color:#7d8974;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-reuse strong{font-weight:650;white-space:nowrap;color:#35452e}
.history-copy{border:0;background:transparent;color:#78906a;font-size:10px;padding:10px 4px}.history-copy:hover{text-decoration:underline}
.graph-card .tool-top{margin-bottom:12px}.graph-equation-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:12px}.graph-equation-row label{font:600 18px 'Manrope',sans-serif;color:#728365}.graph-equation-row .science-input{height:42px;text-align:left}.graph-equation-row .button{height:42px;background:#eff4e9}
.graph-stage{position:relative;flex:1;min-height:260px;border:1px solid #e1e7db;border-radius:15px;overflow:hidden;background:#fbfcf8;transition:border-color .25s,box-shadow .25s}.graph-stage.is-plotting{border-color:#cbd9ee;box-shadow:0 0 0 4px #dbe7f53b,0 12px 34px #6685b014}.graph-stage.is-changing{border-color:#d9dfbd;box-shadow:0 0 0 4px #eef2cf52,0 12px 34px #8a936414}.graph-stage canvas{display:block;width:100%;height:100%;cursor:grab;touch-action:none}.graph-stage canvas.dragging{cursor:grabbing}
.graph-controls{position:absolute;right:12px;top:12px;display:flex;gap:4px;padding:4px;background:#ffffffdc;border:1px solid #e4e9de;border-radius:10px;box-shadow:0 3px 14px #31432c0d}.graph-controls button{border:0;background:transparent;min-width:30px;height:28px;border-radius:7px;color:#687b5a;font-size:15px}.graph-controls button:hover{background:#edf3e8}.graph-controls #graph-reset{font-size:9px;padding:0 8px}
.graph-status{margin:9px 2px 0;color:#8e9986;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:700px){
 .wheel-area{width:100%;max-width:425px}
 .memory-bar{grid-template-columns:minmax(76px,1fr) repeat(4,42px);gap:5px}.memory-bar button{height:28px;font-size:10px}.memory-status{font-size:9px}
 .scientific-card .memory-bar{grid-template-columns:minmax(66px,1fr) repeat(4,38px)}
 .global-history{inset:62px 12px 40px;padding:20px;width:auto}.global-history .history-heading{top:-20px}.global-history .history-heading h2{font-size:19px}
 .graph-equation-row{gap:7px}.graph-equation-row .button{padding:8px 11px}.graph-stage{min-height:245px}.graph-status{font-size:9px}
}

/* Daily discovery and quick return shelves in the arcade. */
.game-discovery{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(390px,.86fr);gap:20px;margin:0 0 34px}
.daily-pick{--daily-bg:#e5eef8;--daily-ink:#7092bb;position:relative;isolation:isolate;overflow:hidden;min-height:274px;padding:32px;border:1px solid color-mix(in srgb,var(--daily-ink) 20%,white);border-radius:22px;background:linear-gradient(130deg,#fff 0%,var(--daily-bg) 58%,color-mix(in srgb,var(--daily-bg) 70%,white) 100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,38%);align-items:center;box-shadow:0 12px 38px #33422d0a}
.daily-pick:before,.daily-pick:after{content:'';position:absolute;border:1px solid var(--daily-ink);border-radius:38px;opacity:.11;z-index:-1;transform:rotate(-24deg)}
.daily-pick:before{width:260px;height:260px;right:-115px;top:-155px}.daily-pick:after{width:190px;height:190px;left:-105px;bottom:-145px}
.daily-copy{position:relative;z-index:2}.discovery-kicker{display:block;color:var(--daily-ink,#849476);font-size:9px;font-weight:700;letter-spacing:1.8px}.daily-copy h2,.continue-heading h2{font:600 27px/1.18 'Manrope',sans-serif;letter-spacing:-1px;margin:12px 0 8px}.daily-copy p{color:#6e786a;font-size:12px;margin:0 0 24px}.daily-copy .button{border-color:#ffffffc7;background:#ffffffc7;box-shadow:0 5px 18px #5264510e}.daily-copy .button:hover{background:#fff;transform:translateY(-1px)}.daily-copy .button .icon{width:15px;height:15px;color:var(--daily-ink)}
.daily-art{position:relative;min-height:190px;display:grid;place-items:center;color:var(--daily-ink)}.daily-halo{position:absolute;width:166px;height:166px;border-radius:50%;background:#ffffff8f;box-shadow:0 0 0 17px color-mix(in srgb,var(--daily-ink) 8%,transparent);animation:daily-breathe 4s ease-in-out infinite}.daily-symbol{position:relative;z-index:1;font:800 64px/1 'Manrope',sans-serif;letter-spacing:-5px;text-shadow:4px 5px 0 #ffffff9e;transform:rotate(-7deg)}.daily-symbol.small-symbol{font-size:43px;letter-spacing:-2px}.daily-symbol .icon{width:76px;height:76px;stroke-width:1.1;filter:drop-shadow(4px 5px 0 #ffffff9e)}.daily-spark{position:absolute;font:500 27px/1 'Manrope',sans-serif;opacity:.7}.daily-spark-one{right:5%;top:9%;animation:daily-float 3.6s ease-in-out infinite}.daily-spark-two{left:5%;bottom:8%;animation:daily-float 4.1s ease-in-out .4s infinite}
.continue-panel{padding:25px;background:#fff;border:1px solid #e4e8df;border-radius:22px;box-shadow:0 12px 38px #33422d08}.continue-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.continue-heading h2{font-size:21px;margin:8px 0 0}.continue-heading>span{color:#9aa293;font-size:9px;white-space:nowrap;padding-top:3px}.continue-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.continue-game{min-width:0;min-height:76px;padding:9px;border:1px solid #e9ece5;border-radius:13px;background:#fbfcf9;display:grid;grid-template-columns:50px minmax(0,1fr) 21px;align-items:center;gap:10px;text-align:left;transition:transform .18s,box-shadow .18s,border-color .18s}.continue-game:hover{transform:translateY(-2px);border-color:#dce3d6;box-shadow:0 7px 18px #33422d0b}.continue-art{width:50px;height:56px;border-radius:9px;background:var(--cover);color:var(--cover-ink);display:grid;place-items:center;overflow:hidden}.continue-symbol{font:800 21px/1 'Manrope',sans-serif;letter-spacing:-2px;transform:rotate(-6deg)}.continue-symbol.small-symbol{font-size:14px;letter-spacing:-1px}.continue-symbol .icon{width:28px;height:28px;stroke-width:1.2}.continue-copy{min-width:0;display:block}.continue-copy strong,.continue-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.continue-copy strong{font-size:11px;font-weight:650}.continue-copy small{color:#969e91;font-size:8px;margin-top:5px}.continue-arrow{width:21px;height:21px;border-radius:50%;background:#eef2e9;color:#829276;display:grid;place-items:center}.continue-arrow .icon{width:10px;height:10px}
.hub-arriving .daily-pick{animation:hub-reveal .55s ease-out .05s both}.hub-arriving .continue-panel{animation:hub-reveal .55s ease-out .12s both}
@keyframes daily-breathe{50%{transform:scale(1.055);box-shadow:0 0 0 24px color-mix(in srgb,var(--daily-ink) 5%,transparent)}}
@keyframes daily-float{50%{transform:translateY(-7px) rotate(8deg)}}
@media(max-width:1050px){
 .game-discovery{grid-template-columns:1fr}.continue-games{grid-template-columns:repeat(4,minmax(0,1fr))}.continue-game{grid-template-columns:44px minmax(0,1fr)}.continue-art{width:44px;height:50px}.continue-arrow{display:none}
}
@media(max-width:700px){
 .game-discovery{gap:13px;margin-bottom:25px}.daily-pick{min-height:230px;padding:23px;grid-template-columns:minmax(0,1fr) 120px;border-radius:17px}.daily-copy h2{font-size:23px}.daily-copy p{font-size:10px;margin-bottom:18px}.daily-copy .button{font-size:10px;padding:10px 12px}.daily-art{min-height:150px}.daily-halo{width:112px;height:112px;box-shadow:0 0 0 12px color-mix(in srgb,var(--daily-ink) 8%,transparent)}.daily-symbol{font-size:43px}.daily-symbol.small-symbol{font-size:29px}.daily-symbol .icon{width:52px;height:52px}.continue-panel{padding:18px;border-radius:17px}.continue-heading{margin-bottom:13px}.continue-heading h2{font-size:18px}.continue-games{grid-template-columns:repeat(2,minmax(0,1fr))}.continue-game{grid-template-columns:40px minmax(0,1fr);min-height:64px;padding:7px;gap:8px}.continue-art{width:40px;height:46px}.continue-copy strong{font-size:10px}
}
@media(max-width:480px){.daily-pick{grid-template-columns:minmax(0,1fr) 86px;padding:20px}.daily-art{min-height:120px}.daily-halo{width:85px;height:85px}.daily-symbol{font-size:35px}.daily-symbol.small-symbol{font-size:23px}.daily-symbol .icon{width:42px;height:42px}.continue-games{grid-template-columns:1fr}.continue-game{grid-template-columns:44px minmax(0,1fr) 21px}.continue-art{width:44px}.continue-arrow{display:grid}}
@media(max-width:360px){.game-grid{grid-template-columns:1fr}.game-cover{height:142px}.game-info h3{font-size:12px}.game-meta{font-size:9px}.library-tabs{gap:9px}.tab{font-size:9px}.tab span:not([data-icon]){padding:2px 4px}.daily-pick{grid-template-columns:1fr}.daily-art{display:none}.player-bar h2{max-width:78px}.player-foot{justify-content:center}.player-foot>span{display:none}}
.game-meta .meta-dot{flex:0 0 auto}.game-provider{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* A true edge-to-edge game player when the browser enters fullscreen. */
.player-shell{display:flex;flex:1;min-height:0;width:100%;flex-direction:column;background:#fff;overflow:hidden;border-radius:inherit}
#player-shell:fullscreen,#player-shell:-webkit-full-screen{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0}
#player-shell:fullscreen .player-foot,#player-shell:-webkit-full-screen .player-foot{display:none}
#player-shell:fullscreen .player-bar,#player-shell:-webkit-full-screen .player-bar{background:#fff;border-bottom:1px solid var(--line)}

/* Hidden route field notes and themed secret rooms. */
.treasure-trigger{width:31px;height:31px;margin-left:auto;margin-right:18px;border:0;border-radius:50%;background:transparent;color:#b7aa79;font-size:14px;opacity:.42;transition:opacity .2s,transform .2s,background .2s}.treasure-trigger:hover,.treasure-trigger:focus-visible{opacity:1;transform:rotate(12deg) scale(1.08);background:#f6f0d8}.treasure-trigger.has-find{color:#799c6d}
.treasure-dialog{position:fixed;inset:auto 24px 24px auto;width:min(620px,calc(100vw - 48px));height:min(760px,calc(100dvh - 48px));max-width:none;max-height:none;margin:0;padding:28px;border:1px solid #dce3d5;border-radius:23px;background:#fbfcf8;color:var(--ink);box-shadow:0 28px 90px #2631252c;overflow:auto}.treasure-dialog[open]{display:block;animation:treasure-in .28s ease-out both}.treasure-dialog::backdrop{background:#25302452;backdrop-filter:blur(4px)}.treasure-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.treasure-heading h2{font:600 30px 'Manrope',sans-serif;letter-spacing:-1px;margin:8px 0}.treasure-heading p{max-width:470px;margin:0;color:#7f8978;font-size:12px;line-height:1.7}.treasure-kicker{font-size:8px;letter-spacing:2px;color:#9a8a55;font-weight:700}.treasure-progress{display:grid;grid-template-columns:auto minmax(100px,1fr);gap:16px;align-items:center;margin:25px 0 18px;font-size:10px;color:#7d8875}.treasure-meter{height:4px;background:#e7ebdf;border-radius:8px;overflow:hidden}.treasure-meter i{display:block;height:100%;background:linear-gradient(90deg,#d8b755,#86a97a);border-radius:inherit;transition:width .4s}.treasure-clues{display:grid;grid-template-columns:1fr 1fr;gap:9px}.treasure-clue{min-width:0;display:grid;grid-template-columns:26px minmax(0,1fr) 22px;gap:9px;align-items:center;padding:13px;border:1px solid #e5e9df;background:#fff;border-radius:12px}.treasure-clue.is-found{background:#f2f7ec;border-color:#d5e2ca}.clue-number{font:600 9px 'Manrope',sans-serif;color:#a8b09f}.treasure-clue p{margin:0 0 6px;color:#687364;font-size:10px;line-height:1.45}.treasure-clue strong{display:block;color:#9ba393;font-size:8px;letter-spacing:.6px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.treasure-clue.is-found strong{color:#6f8c61}.clue-mark{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#f1f3ee;color:#a6aea0;font-size:9px}.is-found .clue-mark{background:#dcebd2;color:#638153}@keyframes treasure-in{from{opacity:0;transform:translateY(14px) scale(.98)}}
#hub-page[data-theme]{--room:#eef2e9;--room-ink:#78906b;--room-deep:#33452d}.hub-intro{transition:background .3s,border-color .3s}#hub-page[data-theme] .hub-intro{margin:12px 0 30px;padding:34px 38px;border:1px solid color-mix(in srgb,var(--room-ink) 24%,white);border-radius:24px;background:linear-gradient(125deg,#fff 0%,var(--room) 100%);overflow:hidden;position:relative}#hub-page[data-theme] .hub-intro:after{content:'';position:absolute;width:260px;height:260px;right:-155px;bottom:-190px;border:1px solid var(--room-ink);border-radius:50%;opacity:.14}#hub-page[data-theme] .mini-line{background:var(--room-ink)}#hub-page[data-theme] .hub-intro .eyebrow{color:var(--room-ink)}#hub-page[data-theme] .hub-art span{background:color-mix(in srgb,var(--room) 68%,white);color:var(--room-ink);border:1px solid color-mix(in srgb,var(--room-ink) 15%,transparent)}
#hub-page[data-theme=duo]{--room:#f5e3de;--room-ink:#bb7568}#hub-page[data-theme=daily]{--room:#f7efcf;--room-ink:#ad8b2d}#hub-page[data-theme=lucky]{--room:#e9e2f4;--room-ink:#8e72af}#hub-page[data-theme=retro]{--room:#dce7f3;--room-ink:#496f9b}#hub-page[data-theme=puzzle]{--room:#e7ead5;--room-ink:#78833e}#hub-page[data-theme=racing]{--room:#f3ded9;--room-ink:#b55d52}#hub-page[data-theme=nightmare]{--room:#dddaf0;--room-ink:#615489;--room-deep:#29233d}#hub-page[data-theme=relax]{--room:#dfeeed;--room-ink:#5e8b88}#hub-page[data-theme=math]{--room:#e1ebf7;--room-ink:#577da9}#hub-page[data-theme=developer]{--room:#e5e9e2;--room-ink:#52664d}#hub-page[data-theme=halloween]{--room:#eadfd4;--room-ink:#a36436}#hub-page[data-theme=christmas]{--room:#dcebdd;--room-ink:#5b8563}#hub-page[data-theme=newyear]{--room:#e5e1f3;--room-ink:#7767a4}#hub-page[data-theme=valentine]{--room:#f5dee4;--room-ink:#b65f77}
.destination-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:-12px 0 30px;padding:20px 24px;border:1px solid color-mix(in srgb,var(--room-ink) 20%,white);border-radius:16px;background:color-mix(in srgb,var(--room) 48%,white);color:var(--room-deep)}.destination-panel>div:not(.developer-stats){display:flex;align-items:center;gap:14px}.destination-panel strong{font:600 15px 'Manrope',sans-serif}.destination-panel p{margin:4px 0 0;color:#7a8475;font-size:11px}.destination-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#ffffffb8;color:var(--room-ink);font:700 18px 'Manrope',sans-serif}.destination-panel .button.complete{background:#dcebd3;color:#58764c}.developer-stats{width:100%;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.developer-stats article{padding:16px;background:#ffffffb8;border-radius:12px}.developer-stats strong,.developer-stats span{display:block}.developer-stats strong{font-size:25px;color:var(--room-ink)}.developer-stats span{margin-top:5px;color:#899285;font-size:9px;text-transform:uppercase;letter-spacing:.8px}
.unlock-dialog[data-destination=retro] .unlock-space{background:radial-gradient(ellipse at 20% 70%,#ef685977,transparent 52%),radial-gradient(ellipse at 80% 25%,#2b89bc88,transparent 58%),linear-gradient(145deg,#07182d,#182f55 52%,#34182f)}.unlock-dialog[data-destination=racing] .unlock-space{background:radial-gradient(ellipse at 25% 70%,#d7465e88,transparent 52%),radial-gradient(ellipse at 78% 22%,#427bd688,transparent 58%),linear-gradient(145deg,#120e23,#29294b 50%,#111a30)}.unlock-dialog[data-destination=nightmare] .unlock-space,.unlock-dialog[data-destination=halloween] .unlock-space{background:radial-gradient(ellipse at 20% 72%,#7c347888,transparent 54%),radial-gradient(ellipse at 82% 25%,#303a8988,transparent 57%),linear-gradient(145deg,#090713,#171128 48%,#0b1426)}.unlock-dialog[data-destination=relax] .unlock-space{background:radial-gradient(ellipse at 22% 68%,#4faaa677,transparent 55%),radial-gradient(ellipse at 82% 26%,#5d82c888,transparent 57%),linear-gradient(145deg,#0e2530,#24475a 48%,#142d40)}.unlock-dialog[data-destination=math] .unlock-space,.unlock-dialog[data-destination=developer] .unlock-space{background:radial-gradient(ellipse at 22% 68%,#4b76b788,transparent 55%),radial-gradient(ellipse at 82% 26%,#6d58a888,transparent 57%),linear-gradient(145deg,#081522,#172f45 48%,#121b30)}
@media(max-width:700px){.treasure-trigger{margin-right:0}.treasure-dialog{inset:10px;width:calc(100vw - 20px);height:calc(100dvh - 20px);padding:20px;border-radius:17px}.treasure-clues{grid-template-columns:1fr}.treasure-heading h2{font-size:25px}#hub-page[data-theme] .hub-intro{margin-top:4px;padding:24px 20px;border-radius:18px}.destination-panel{align-items:flex-start;flex-direction:column;padding:17px;margin-top:-15px}.developer-stats{grid-template-columns:1fr 1fr}.destination-panel .button{width:100%}}

/* After Dark: a complete black-and-blood-red room for code 9999. */
body[data-room-theme=nightmare]{background:radial-gradient(circle at 18% 8%,#3b080d 0,transparent 28%),radial-gradient(circle at 84% 34%,#260407 0,transparent 30%),linear-gradient(155deg,#050506 0%,#0c0708 52%,#030304 100%);color:#f6eeee;min-height:100vh}
body[data-room-theme=nightmare] .site-header{position:relative;z-index:1;border-bottom:1px solid #381217}
body[data-room-theme=nightmare] .brand{color:#fff4f4;text-shadow:0 0 22px #d3243566}
body[data-room-theme=nightmare] .brand-period,body[data-room-theme=nightmare] .header-right{color:#e14a57}
body[data-room-theme=nightmare] .brand-mark i:nth-child(1){background:#ff3345}body[data-room-theme=nightmare] .brand-mark i:nth-child(2){background:#8d101c}body[data-room-theme=nightmare] .brand-mark i:nth-child(3){background:#4d080e}body[data-room-theme=nightmare] .brand-mark i:nth-child(4){background:#cf1f2f}
body[data-room-theme=nightmare] .treasure-trigger{color:#ff5360}body[data-room-theme=nightmare] .treasure-trigger:hover{background:#351015}
body[data-room-theme=nightmare] #return-home{background:#160b0d;border-color:#6e1d26;color:#ffd9dc}body[data-room-theme=nightmare] #return-home:hover{background:#6f111d;border-color:#d83242;color:white}
#hub-page[data-theme=nightmare]{--room:#090607;--room-ink:#ef3143;--room-deep:#fff1f2;color:#f7eeee}
#hub-page[data-theme=nightmare] .hub-intro{isolation:isolate;border-color:#711b25;background:radial-gradient(circle at 78% 45%,#5b0c16 0,transparent 26%),linear-gradient(125deg,#070607 0%,#15090b 55%,#29080d 100%);box-shadow:0 24px 80px #0009,inset 0 0 80px #0008}
#hub-page[data-theme=nightmare] .hub-intro:before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(115deg,transparent 0 28px,#ff334508 29px 30px);opacity:.9}
#hub-page[data-theme=nightmare] .hub-intro:after{width:390px;height:390px;right:-205px;bottom:-285px;border-color:#ff3345;box-shadow:0 0 80px #c3152744;opacity:.4}
#hub-page[data-theme=nightmare] .hub-intro h1{color:#fff6f6;text-shadow:0 2px 0 #000,0 0 32px #e0203355}
#hub-page[data-theme=nightmare] .hub-intro p{color:#c99a9e}
#hub-page[data-theme=nightmare] .hub-intro .eyebrow{color:#ff5261}#hub-page[data-theme=nightmare] .mini-line{background:#e62537;box-shadow:0 0 12px #f32e41}
#hub-page[data-theme=nightmare] .hub-art{transform:rotate(-7deg)}#hub-page[data-theme=nightmare] .hub-art span{background:linear-gradient(145deg,#1a0a0c,#050505);color:#f13949;border-color:#741923;box-shadow:0 12px 28px #0008,inset 0 0 20px #6e111b40;text-shadow:0 0 18px #f4243b;animation:nightmare-pulse 3.2s ease-in-out infinite}#hub-page[data-theme=nightmare] .hub-art span:nth-child(2){animation-delay:-.8s}#hub-page[data-theme=nightmare] .hub-art span:nth-child(3){animation-delay:-1.6s}#hub-page[data-theme=nightmare] .hub-art span:nth-child(4){animation-delay:-2.4s}
#hub-page[data-theme=nightmare] .daily-pick{--daily-ink:#ff4050!important;border-color:#5e1720;background:radial-gradient(circle at 78% 42%,#52101a 0,transparent 33%),linear-gradient(135deg,#130b0d,#080708 72%);box-shadow:0 16px 45px #0008;color:#fff}
#hub-page[data-theme=nightmare] .daily-pick:before,#hub-page[data-theme=nightmare] .daily-pick:after{border-color:#de2638;opacity:.22}
#hub-page[data-theme=nightmare] .daily-copy p{color:#b98b8f}#hub-page[data-theme=nightmare] .daily-copy .button{background:#8f1420;border-color:#c72a39;color:#fff;box-shadow:0 8px 25px #b2122455}#hub-page[data-theme=nightmare] .daily-copy .button:hover{background:#c42031}#hub-page[data-theme=nightmare] .daily-copy .button .icon{color:#fff}
#hub-page[data-theme=nightmare] .daily-halo{background:#18090b;border-color:#7f1c27;box-shadow:0 0 0 18px #b6162514,0 0 55px #d71f3138}#hub-page[data-theme=nightmare] .daily-symbol{color:#f43b4c;text-shadow:0 0 24px #ed2337}
#hub-page[data-theme=nightmare] .continue-panel{background:#0d090a;border-color:#42151a;box-shadow:0 16px 45px #0008}#hub-page[data-theme=nightmare] .continue-heading>span,#hub-page[data-theme=nightmare] .continue-copy small{color:#9f7478}
#hub-page[data-theme=nightmare] .continue-game{background:#140c0e;border-color:#351419;color:#f5e7e8}#hub-page[data-theme=nightmare] .continue-game:hover{border-color:#a52431;box-shadow:0 8px 24px #a1122230}#hub-page[data-theme=nightmare] .continue-art{background:linear-gradient(145deg,#351017,#090708)!important;color:#f04a58!important}#hub-page[data-theme=nightmare] .continue-arrow{background:#321015;color:#f14a58}
#hub-page[data-theme=nightmare] .library-toolbar{border-color:#3b151a}#hub-page[data-theme=nightmare] .tab{color:#a67d81}#hub-page[data-theme=nightmare] .tab.active{color:#fff0f1;border-bottom-color:#e72c3e}#hub-page[data-theme=nightmare] .tab span:not([data-icon]){background:#2d1014;color:#ef8b94}
#hub-page[data-theme=nightmare] .library-toolbar>.button{background:#1b0c0f;border-color:#5d1a22;color:#f6dadd}#hub-page[data-theme=nightmare] .library-toolbar>.button:hover{background:#79131f}
#hub-page[data-theme=nightmare] .search{background:#0e0a0b;border-color:#40171c;color:#c35863}#hub-page[data-theme=nightmare] .search:focus-within{border-color:#dc2f40;box-shadow:0 0 0 3px #c51d2e1f}#hub-page[data-theme=nightmare] .search input{color:#fff0f1}#hub-page[data-theme=nightmare] .search input::placeholder{color:#78565a}#hub-page[data-theme=nightmare] .search kbd{background:#211013;border-color:#4d1a20;color:#c9858b}
#hub-page[data-theme=nightmare] .genre-filter{color:#a67c80}#hub-page[data-theme=nightmare] .genre-filter.active{background:#64121d;color:#ffe8ea}#hub-page[data-theme=nightmare] .sort-label select{color:#c79397;background:#080708}
#hub-page[data-theme=nightmare] .results-heading h2{color:#fff0f1}#hub-page[data-theme=nightmare] .results-heading>span{color:#a77b80}
#hub-page[data-theme=nightmare] .game-card{background:#0e0a0b;border-color:#351318;color:#f6e9ea;box-shadow:0 12px 30px #0005}#hub-page[data-theme=nightmare] .game-card:hover{border-color:#971e2a;box-shadow:0 14px 34px #000b,0 0 24px #bd1d2c24}
#hub-page[data-theme=nightmare] .game-cover{background:radial-gradient(circle at 50% 45%,#4d1118,#17090c 52%,#060607 100%)!important;color:#ef3b4b!important;border-bottom:1px solid #3c1319}#hub-page[data-theme=nightmare] .game-cover:before,#hub-page[data-theme=nightmare] .game-cover:after{border-color:#fc394b;opacity:.14}#hub-page[data-theme=nightmare] .game-cover .cover-symbol{text-shadow:3px 4px 0 #000,0 0 24px #ff263c88}#hub-page[data-theme=nightmare] .play-circle{background:#a51b28;color:#fff}
#hub-page[data-theme=nightmare] .game-meta{color:#9e7478}#hub-page[data-theme=nightmare] .game-meta .meta-dot{background:#6b242b}#hub-page[data-theme=nightmare] .favorite-button{background:#1d0c0f;color:#9b6268}#hub-page[data-theme=nightmare] .favorite-button.active{color:#ff4555}#hub-page[data-theme=nightmare] .favorite-button.active .icon{fill:#9a1a27}
#hub-page[data-theme=nightmare] .library-note,#hub-page[data-theme=nightmare] .library-note span,#hub-page[data-theme=nightmare] .empty-state p{color:#8f666a}
body[data-room-theme=nightmare]>.site-footer{border-color:#351318;color:#885e62}body[data-room-theme=nightmare]>.site-footer .footer-center{color:#674448}body[data-room-theme=nightmare]>.site-footer .footer-colors i{background:#8a1722}
.unlock-dialog[data-destination=nightmare] .unlock-space{background:radial-gradient(ellipse at 22% 72%,#be172b88,transparent 48%),radial-gradient(ellipse at 80% 22%,#5f081388,transparent 54%),linear-gradient(145deg,#030304,#130609 50%,#28050b)}
@keyframes nightmare-pulse{50%{transform:translateY(-3px);box-shadow:0 16px 36px #000b,inset 0 0 28px #9d15234d;text-shadow:0 0 28px #ff293f}}
