@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--ink:#202b28;--paper:#f7f8f2;--muted:#6f7970;--green:#b8ef63}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'DM Sans',sans-serif}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #437d36;outline-offset:4px}header{height:96px;max-width:1400px;margin:auto;padding:0 48px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dce1d6}.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink);font-size:25px;font-weight:700;letter-spacing:-1.2px}.brand>span:not(.brandmark){font-weight:400}.brandmark{width:39px;height:39px;display:grid;place-items:center;background:var(--green);border:2px solid var(--ink);border-radius:12px;margin-right:10px}.brand sup{font-size:12px;background:#e6eadd;border-radius:5px;padding:3px 5px;letter-spacing:0;margin:0 0 17px 5px}.header-note{font-size:12px;letter-spacing:1.3px;display:flex;align-items:center;gap:8px}.header-note i{width:7px;height:7px;background:#6caa46;border-radius:50%}main{max-width:1400px;padding:0 48px;margin:auto}.intro{display:flex;align-items:center;justify-content:space-between;padding:50px 0 40px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#60705e}h1{font:600 clamp(36px,4.1vw,60px)/1.07 'Space Grotesk',sans-serif;letter-spacing:-2.6px;margin:15px 0}h1 em{font-style:normal;color:#63883c}.intro p{margin:18px 0 0;color:var(--muted)}.surprise{display:flex;align-items:center;gap:20px;background:#e8eddf;border:1px solid #d9e2ca;padding:25px;border-radius:20px;transform:rotate(2deg);text-align:left;color:var(--ink)}.surprise:hover{transform:rotate(0);background:#e1edcf}.surprise>span{font-size:14px;color:#697660}.surprise strong{display:block;font-size:20px;color:var(--ink);margin-top:5px}.surprise b{margin-left:20px}.surprise .dice{font-size:60px;color:#608241;line-height:1}.library-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.library-head h2{font:600 22px 'Space Grotesk',sans-serif;letter-spacing:-.6px}.library-head h2 span{font:400 13px 'DM Sans',sans-serif;letter-spacing:0;color:var(--muted);margin-left:10px}.search{border:1px solid #dbe1d5;display:flex;align-items:center;gap:7px;border-radius:12px;padding:10px 14px;background:white}.search input{border:0;background:transparent;width:180px;outline:0}nav{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 25px}nav button{border:1px solid #dce1d6;background:transparent;color:#596451;padding:10px 18px;border-radius:30px;font-size:14px}nav button.active{background:var(--ink);color:white;border-color:var(--ink)}.catalog{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 20px}.card{background:white;border:1px solid #dfe4d9;border-radius:18px;overflow:hidden;text-align:left;padding:0;color:var(--ink);transition:transform .15s,box-shadow .15s}.card:hover{transform:translateY(-5px);box-shadow:0 8px 0 #e7eadd}.art{height:158px;display:grid;place-items:center;position:relative;overflow:hidden;background:var(--tile)}.art:before{content:'';position:absolute;width:120px;height:120px;border:1px solid #ffffff55;border-radius:50%;transform:scale(1.8)}.art:after{content:'';position:absolute;inset:12px;border:1px solid #ffffff25;border-radius:10px}.symbol{font:700 68px 'Space Grotesk',sans-serif;filter:drop-shadow(0 5px 0 #00000010);transform:rotate(-8deg);color:var(--artink);z-index:1}.card:nth-child(3n) .symbol{transform:rotate(8deg)}.game-number{position:absolute;top:12px;left:14px;font-size:11px;letter-spacing:1px;color:var(--artink);opacity:.7}.play-dot{position:absolute;bottom:13px;right:13px;background:#ffffff99;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:var(--ink);font-size:11px}.card-info{padding:17px 18px 18px}.card-info h3{font:600 18px 'Space Grotesk',sans-serif;margin:0 0 7px;letter-spacing:-.4px}.card-info p{font-size:13px;color:var(--muted);margin:0;display:flex;justify-content:space-between}footer{margin-top:50px;border-top:1px solid #dce1d6;padding:25px 0;display:flex;justify-content:space-between;color:#73806e;font-size:13px}dialog{width:min(700px,95vw);max-height:95dvh;overflow:auto;border:1px solid #c5cfbb;border-radius:24px;padding:26px;background:var(--paper);color:var(--ink);box-shadow:0 30px 120px #0005}dialog::backdrop{background:#17211cd9;backdrop-filter:blur(6px)}.player-head{display:flex;justify-content:space-between;align-items:center}.player-head h2{font:600 28px 'Space Grotesk';margin:5px 0 0}.player-head button{border:0;border-radius:50%;width:40px;height:40px;background:#e3e9dc}.player-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px}.player-bottom button,.action{background:var(--ink);color:white;border:0;border-radius:10px;padding:12px 20px}.player-bottom span{font-size:12px;color:#7b8374}#instructions{color:#65705c;line-height:1.5;font-size:14px}.status{min-height:40px;padding:10px 0;font-weight:600;text-align:center}#stage{min-height:290px;background:#eaf0e1;border:1px solid #d9e1d0;border-radius:16px;padding:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;overflow:hidden}.board{display:grid;gap:7px;width:min(100%,380px)}.cell{border:0;border-radius:8px;background:#fff;color:var(--ink);aspect-ratio:1;display:grid;place-items:center;font-size:24px;font-weight:600;min-width:0;padding:3px}.cell.on{background:var(--green)}.cell.off{background:#becbad}.cell.selected{background:#a9c4f4}.cell.fixed{background:#d9e3cb}.cell.small{font-size:16px}.row{display:flex;justify-content:center;flex-wrap:wrap;gap:9px}.choice{border:1px solid #cbd5be;background:white;border-radius:10px;padding:12px 18px;min-width:60px}.big{font:600 50px 'Space Grotesk';text-align:center;letter-spacing:-2px}.answer{border:1px solid #becbb1;border-radius:10px;padding:12px;font-size:20px;width:min(100%,260px);text-align:center}.note{font-size:14px;color:#68755b;text-align:center;line-height:1.5;margin:0}.letter{width:40px;min-width:0;padding:10px}.pad{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.pad button{touch-action:none;min-width:48px;padding:12px;border:1px solid #bfc9b4;border-radius:10px;background:white}canvas{width:min(100%,440px);height:auto;display:block;border-radius:10px;background:#1e2b26;touch-action:none}.reaction{width:100%;min-height:220px;border:0;border-radius:14px;background:#ebbc92;color:#302a20;font:600 26px 'Space Grotesk';padding:24px}.targetzone{width:100%;height:280px;position:relative;background:#dae5cb;border-radius:12px;overflow:hidden}.target{position:absolute;border:0;border-radius:50%;width:50px;height:50px;background:#5c843c;color:white;font-size:24px;touch-action:manipulation}.progress{height:20px;width:100%;background:#d1ddc1;border-radius:20px;overflow:hidden}.progress span{display:block;height:100%;background:#7fa950;transition:width .2s}.tower{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;height:145px;width:30%;border:0;background:linear-gradient(90deg,transparent 47%,#7b8c67 47%,#7b8c67 53%,transparent 53%);border-bottom:6px solid #7b8c67;padding:0}.disk{height:25px;background:#a5ca70;border:2px solid #eaf0e1;border-radius:5px;flex-shrink:0}.tower.selected{background-color:#cbdcba}@media(max-width:1000px){.catalog{grid-template-columns:repeat(3,1fr)}header,main{padding-left:25px;padding-right:25px}.surprise{padding:20px}.surprise .dice{font-size:45px}}@media(max-width:700px){header{height:76px}.header-note{display:none}.intro{padding:30px 0}.surprise{padding:15px;gap:9px}.surprise .dice{display:none}.surprise strong{font-size:16px}.surprise b{margin-left:4px}h1{font-size:36px;letter-spacing:-1.7px}.intro p{font-size:14px;max-width:190px}.eyebrow{font-size:10px;letter-spacing:1.4px}.library-head{align-items:flex-start;flex-direction:column;gap:4px}.search{width:100%}.search input{width:100%}.catalog{grid-template-columns:repeat(2,1fr);gap:15px 12px}.art{height:130px}.symbol{font-size:52px}.card-info{padding:14px 12px}.card-info h3{font-size:16px}.card-info p{font-size:12px}.card-info p span:last-child{display:none}nav{gap:6px}nav button{padding:8px 13px;font-size:13px}footer span:last-child{display:none}footer{font-size:12px;gap:20px}dialog{padding:18px}.player-bottom span{display:none}#stage{padding:12px}.big{font-size:38px}}

.game-settings{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:16px 0;border-bottom:1px solid #dbe3d2}.game-settings label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#60705e}.game-settings select{padding:10px;border:1px solid #c5d1bb;background:white;border-radius:9px;color:#202b28;font:inherit;font-size:14px;max-width:100%}.game-settings button,.multiplayer button,.round-result button{border:1px solid #b8c9a7;border-radius:9px;padding:11px 13px;background:#e2edda;color:#202b28;font-size:14px}.game-settings #apply-settings{background:#202b28;color:#fff}.game-settings p{flex-basis:100%;margin:2px 0 0;font-size:13px;color:#66755a;line-height:1.4}.multiplayer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;margin:10px 0;color:#536748}.multiplayer #turn-label{flex:1}.multiplayer #challenge-clock{font-variant-numeric:tabular-nums}.round-result:empty{display:none}.round-result{background:#dcefc6;border:1px solid #b6d29b;border-radius:12px;padding:14px;margin-top:12px}.round-result p{margin:0 0 10px;line-height:1.5}.rps-area{width:100%;display:flex;flex-direction:column;gap:18px}#stage[inert]{opacity:.65}@media(max-width:700px){.game-settings{gap:8px}.game-settings label{flex:1;min-width:115px}.game-settings button{flex:1;font-size:13px}.player-head h2{font-size:23px}.multiplayer{font-size:12px}}

.game-card{position:relative;min-width:0}.game-card>.card{display:block;width:100%;height:100%}.favorite-button{position:absolute;top:10px;right:10px;z-index:2;display:grid;place-items:center;width:40px;height:40px;border:1px solid #ffffffb0;border-radius:50%;background:#ffffffed;color:#536344;font-size:27px;line-height:1;box-shadow:0 2px 7px #2030200d}.favorite-button:hover{background:white;transform:scale(1.08)}.favorite-button.saved{color:#a63e66;background:#fff0f5;border-color:#efc6d4}.favorite-button:focus-visible{outline:3px solid #437d36;outline-offset:3px}

.cell.legal{box-shadow:inset 0 0 0 2px #8cb265}.quiz-question{font:600 27px/1.4 'Space Grotesk',sans-serif;text-align:center;white-space:pre-line;overflow-wrap:anywhere}.quiz-visual:empty{display:none}.quiz-visual canvas{max-width:220px}.tube{width:65px;height:170px;border:3px solid #8ea77b;border-top:0;border-radius:0 0 25px 25px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;background:#ffffff70;padding:8px}.tube.selected{background:#b7d1e5}.sort-ball{display:block;width:38px;height:38px;border-radius:50%;flex-shrink:0}#stage .board .cell{line-height:1.1}@media(max-width:500px){.tube{width:45px;height:135px;padding:5px;gap:4px}.sort-ball{width:29px;height:29px}.quiz-question{font-size:22px}}

#catalog{display:block}.mode-jumps{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 25px}.mode-jumps a{display:inline-flex;align-items:center;gap:10px;text-decoration:none;background:#e7eedf;border:1px solid #d3dfc7;border-radius:11px;padding:12px 16px;font-size:14px;color:#35482d}.mode-jumps span{background:white;border-radius:20px;padding:2px 8px;font-size:12px}.mode-section{scroll-margin-top:24px;margin-bottom:45px}.mode-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px;padding-top:18px;border-top:1px solid #dce1d6}.mode-heading h2{font:600 25px 'Space Grotesk',sans-serif;letter-spacing:-.6px;margin:0 0 7px}.mode-heading h2 span{font:400 13px 'DM Sans',sans-serif;color:#6f7970;letter-spacing:0;margin-left:8px}.mode-heading p{font-size:14px;color:#697461;margin:0}.mode-badge{font-size:11px;letter-spacing:1px;white-space:nowrap;border:1px solid #cbd8bc;background:#edf3e6;padding:8px 10px;border-radius:7px}.mode-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}@media(max-width:1000px){.mode-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.mode-heading h2{font-size:21px}.mode-heading p{font-size:13px}.mode-badge{display:none}.mode-jumps a{font-size:13px;padding:10px 12px}.mode-heading h2 span{display:inline-block}}
