:root{--green:#1d6b52;--green-dark:#114637;--gold:#d7a63a;--ink:#18332a;--muted:#6b7772;--paper:#fffdf7;--line:#e1dccf;--bg:#f4f0e6}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,ui-sans-serif,system-ui,sans-serif}a{color:inherit}button,input,textarea,select{font:inherit}.topbar{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffdf7f0;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;min-height:68px;padding:10px clamp(16px,4vw,56px);display:grid;position:sticky;top:0}.brand{color:var(--green-dark);font-size:1.12rem;font-weight:900;text-decoration:none}.topbar nav{justify-content:center;gap:8px;display:flex;overflow-x:auto}.topbar nav a{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;padding:9px 12px;font-weight:750;text-decoration:none;display:inline-flex}.page{width:min(1160px,100% - 32px);margin:0 auto;padding:42px 0 72px}.hero{color:#fff;background:radial-gradient(circle at 80% 20%,#d7a63a59,#0000 18rem),linear-gradient(125deg,#103f32,#1d7054);border-radius:32px;flex-direction:column;justify-content:center;align-items:flex-start;min-height:470px;padding:clamp(32px,7vw,80px);display:flex;box-shadow:0 18px 50px #222f271f}.hero h1,.title,.auth-card h1{letter-spacing:-.05em;margin:0;font-size:clamp(2.4rem,6vw,5rem);line-height:.98}.title,.auth-card h1{color:var(--ink);font-size:clamp(2rem,4vw,3.3rem)}.hero p{color:#ffffffd6;max-width:680px;margin:22px 0;font-size:1.08rem;line-height:1.7}.hero small{color:#ffffffa3;margin-top:22px}.eyebrow{color:#b37c12;letter-spacing:.13em;text-transform:uppercase;margin-bottom:12px;font-size:.82rem;font-weight:900;display:block}.hero .eyebrow{color:#f0cc72}.button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:9px 16px;font-weight:850;text-decoration:none;display:inline-flex}.button.small{min-height:36px;padding:7px 11px;font-size:.9rem}.button.secondary{color:var(--green-dark);background:#edf1ee}.button:disabled{opacity:.55;cursor:not-allowed}.icon-button{border:1px solid var(--line);background:var(--paper);width:42px;height:42px;color:var(--green-dark);cursor:pointer;border-radius:12px;place-items:center;display:grid}.text-button{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-weight:800;display:inline-flex}.card{border:1px solid var(--line);background:var(--paper);border-radius:20px;box-shadow:0 12px 35px #28322b0f}.auth-card{width:min(520px,100%);margin:24px auto;padding:34px}.auth-card form{gap:15px;margin-top:24px;display:grid}label{gap:6px;font-size:.9rem;font-weight:750;display:grid}input,textarea,select{width:100%;color:var(--ink);background:#fff;border:1px solid #d5d0c4;border-radius:11px}input,select{min-height:43px;padding:9px 11px}textarea{resize:vertical;min-height:105px;padding:11px}.error{color:#96372a;background:#fff0ec;border-radius:10px;padding:10px 12px}.notice,.pack-message{color:var(--green-dark);background:#edf5f0;border-radius:12px;margin:16px 0;padding:11px 13px;font-weight:700}.mode-grid,.master-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px;display:grid}.mode-grid article{flex-direction:column;gap:8px;min-height:160px;padding:24px;display:flex}.mode-grid strong{font-size:1.12rem}.mode-grid span{color:var(--muted)}.muted{opacity:.62}.master-card{align-items:flex-start;gap:18px;min-height:170px;padding:24px;text-decoration:none;transition:transform .2s,box-shadow .2s,border-color .2s;display:flex}.master-card:hover{border-color:#1d6b5259;transform:translateY(-2px);box-shadow:0 18px 44px #28322b1a}.master-card strong{margin-bottom:8px;font-size:1.12rem;display:block}.master-card span{color:var(--muted);line-height:1.55}.master-icon{width:48px;height:48px;color:var(--green);background:#edf5f0;border-radius:14px;flex:none;place-items:center;display:grid}.back-link{color:var(--green);margin-bottom:16px;font-size:.9rem;font-weight:800;text-decoration:none;display:inline-block}.section-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin:24px 0 16px;padding-bottom:12px;display:flex}.section-tab{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;align-items:center;gap:7px;padding:9px 13px;font-weight:800;display:inline-flex}.section-tab.active{color:var(--green-dark);background:#edf5f0;border-color:#cddcd5}.import-box{grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin:16px 0;padding:20px;display:grid}.import-result{color:var(--muted);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;display:flex}.filter-panel{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 20px;padding:18px;display:grid}.filter-title{grid-column:1/-1;align-items:center;gap:8px;display:flex}.filter-actions{grid-column:1/-1}.question-list,.pack-list,.category-list,.import-history,.management-stack{gap:10px;display:grid}.question-card{overflow:hidden}.question-summary{padding:17px}.question-summary>strong{line-height:1.5;display:block}.question-actions{gap:16px;margin-top:13px;display:flex}.meta{color:var(--muted);margin:4px 0 7px;font-size:.78rem}.inline-editor{gap:12px;width:100%;padding:18px;display:grid}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.checkbox-label{align-self:end;align-items:center;gap:8px;min-height:43px;display:flex}.checkbox-label input{width:18px;min-height:18px}.option-line{grid-template-columns:auto 24px 1fr;align-items:center;gap:8px;display:grid}.option-line input[type=radio]{width:18px;min-height:18px}.actions{flex-wrap:wrap;gap:8px;display:flex}.history-panel{border-top:1px solid var(--line);background:#fbfaf5;padding:0 17px 17px}.history-panel h3{margin:18px 0 10px}.history-row{border-top:1px solid #ebe6dc;padding:14px 0}.history-row:first-of-type{border-top:0}.history-heading{color:var(--muted);justify-content:space-between;gap:12px;font-size:.8rem;display:flex}.history-heading strong{color:var(--ink)}.history-row p{margin:9px 0;line-height:1.5}.history-options{gap:5px;margin:8px 0;display:grid}.history-option{background:#fff;border:1px solid #ebe6dc;border-radius:8px;padding:7px 9px;font-size:.86rem}.history-option.correct{background:#edf7f1;border-color:#bad8c7;font-weight:750}.category-create{grid-template-columns:1.2fr 2fr .6fr auto;align-items:end;gap:10px;padding:18px;display:grid}.management-heading{grid-column:1/-1;justify-content:space-between;gap:16px;display:flex}.management-heading strong{font-size:1.05rem;display:block}.management-heading span{color:var(--muted);margin-top:4px;font-size:.86rem;display:block}.category-row,.import-history-row,.pack-row{justify-content:space-between;align-items:flex-start;gap:16px;padding:17px;display:flex}.category-row p{color:var(--muted);margin:8px 0 0}.error-review{margin-top:8px;padding:18px}.error-row{border-top:1px solid var(--line);padding:14px 0}.error-row:first-of-type{margin-top:12px}.error-row ul{color:#96372a;margin:8px 0 0;padding-left:20px}.pack-form{grid-template-columns:2fr 1fr 1fr auto;align-items:end;gap:12px;margin:24px 0 16px;padding:20px;display:grid}@media (width<=860px){.filter-panel,.category-create,.pack-form{grid-template-columns:1fr 1fr}.filter-title,.filter-actions,.management-heading{grid-column:1/-1}}@media (width<=760px){.topbar{grid-template-columns:1fr auto}.topbar nav{grid-column:1/-1;justify-content:flex-start}.mode-grid,.master-grid,.filter-panel,.category-create,.pack-form,.editor-grid,.import-box{grid-template-columns:1fr}.import-result,.filter-title,.filter-actions,.management-heading{grid-column:auto}.category-row,.import-history-row,.pack-row{flex-direction:column}.history-heading{flex-direction:column;gap:3px}}@media print{.question-list,.question-card{display:none!important}}.mode-link{flex-direction:column;gap:8px;min-height:160px;padding:24px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:flex}.mode-link:hover{transform:translateY(-2px);box-shadow:0 18px 44px #28322b1a}.mode-link strong{font-size:1.12rem}.mode-link span{color:var(--muted)}.local-game-loading,.game-empty{text-align:center;place-items:center;gap:10px;min-height:240px;padding:30px;display:grid}.spin{animation:1s linear infinite bq-spin}@keyframes bq-spin{to{transform:rotate(360deg)}}.local-setup{grid-template-columns:1fr 1fr;gap:16px;width:min(720px,100%);margin-top:24px;padding:24px;display:grid}.local-setup .checkbox-label,.local-setup .setup-pack-note,.local-setup .error,.local-setup .button{grid-column:1/-1}.setup-pack-note{color:var(--muted);background:#f2efe6;border-radius:11px;padding:11px 13px;font-size:.9rem}.game-topline{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.game-title{letter-spacing:-.035em;margin:0;font-size:clamp(1.7rem,3vw,2.5rem)}.game-topline .back-link{align-items:center;gap:6px;display:inline-flex}.pack-chip{color:var(--green-dark);white-space:nowrap;background:#edf5f0;border-radius:999px;padding:8px 11px;font-size:.8rem;font-weight:800}.game-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;display:grid}.board-shell{border:1px solid var(--line);background:#dfd5bd;border-radius:22px;padding:10px;overflow:auto;box-shadow:0 18px 40px #28322b14}.game-board{aspect-ratio:1;background:#fffaf0;border:3px solid #6e624e;border-radius:14px;grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);min-width:690px;display:grid;overflow:hidden}.board-square{background:#fffdf7f2;border-bottom:1px solid #4d43332e;border-right:1px solid #4d43332e;justify-content:center;align-items:center;min-width:0;display:flex;position:relative}.board-square:nth-child(2n){background:#f3eddcf5}.board-square.start-square{background:#e2f3e9}.board-square.home-square{background:#f8e9b8}.board-square.ladder-square{box-shadow:inset 0 0 0 3px #1d6b5233}.board-square.snake-square{box-shadow:inset 0 0 0 3px #8f493233}.square-number{color:#756b5d;font-size:.64rem;font-weight:800;position:absolute;top:4px;left:5px}.transport-label{color:#766137;font-size:.62rem;font-weight:850;position:absolute;bottom:4px;right:4px}.square-tokens{flex-wrap:wrap;justify-content:center;gap:3px;padding:10px 3px 3px;display:flex}.player-token{color:#fff;background:#1d6b52;border:2px solid #fff;border-radius:50%;flex:0 0 26px;place-items:center;width:26px;height:26px;font-size:.72rem;font-weight:900;display:inline-grid;box-shadow:0 2px 7px #0000002e}.token-2{background:#a86522}.token-3{background:#5b5aaa}.token-4{background:#9a3f61}.token-5{background:#247487}.token-6{background:#66533d}.game-sidebar{gap:12px;display:grid}.turn-card,.player-panel{padding:18px}.turn-card h2{margin:3px 0;font-size:1.45rem}.turn-card p{color:var(--muted);margin:0 0 14px}.turn-label{color:#a26f12;letter-spacing:.1em;text-transform:uppercase;font-size:.75rem;font-weight:900}.roll-chain{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.roll-chain span{background:#f2efe6;border-radius:9px;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.movement-bank{color:var(--muted);margin:10px 0 14px;font-size:.9rem}.dice-button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:14px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:58px;font-weight:900;display:flex}.choice-actions{gap:8px;display:grid}.player-panel>strong{margin-bottom:10px;display:block}.player-row{border-radius:11px;align-items:center;gap:9px;padding:9px;display:flex}.player-row.active{background:#edf5f0}.player-row>div{gap:2px;min-width:0;display:grid}.player-row>div>strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-row>div>span{color:var(--muted);font-size:.78rem}.question-overlay{z-index:80;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#11221cb8;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.gameplay-question,.answer-result{width:min(680px,100%);max-height:calc(100vh - 40px);padding:clamp(22px,5vw,38px);overflow:auto}.question-meta{color:#a26f12;text-transform:uppercase;margin-bottom:9px;font-size:.78rem;font-weight:900}.gameplay-question h2,.answer-result h2{margin:0 0 20px;line-height:1.35}.answer-options{gap:10px;display:grid}.answer-options button{border:1px solid var(--line);color:var(--ink);text-align:left;cursor:pointer;background:#fff;border-radius:13px;grid-template-columns:38px 1fr;align-items:center;gap:10px;padding:13px;display:grid}.answer-options button:hover{background:#f4faf6;border-color:#1d6b5280}.answer-options button strong{width:32px;height:32px;color:var(--green-dark);background:#edf5f0;border-radius:9px;place-items:center;display:grid}.answer-result.correct{border-color:#b7d6c4}.answer-result.wrong{border-color:#e2b7ad}.correct-answer,.transport-result{background:#f2efe6;border-radius:11px;margin:14px 0;padding:12px 14px}.winner-card{text-align:center;width:min(520px,100%);margin:40px auto;padding:34px}.winner-card h2{margin:10px 0 20px;font-size:2rem}.ranking-list{text-align:left;gap:8px;margin:20px 0 24px;display:grid}.ranking-list>div{background:#f2efe6;border-radius:11px;padding:12px 14px}@media (width<=980px){.game-layout{grid-template-columns:1fr}.game-sidebar{grid-template-columns:1fr 1fr}}@media (width<=760px){.local-setup{grid-template-columns:1fr}.local-setup .checkbox-label,.local-setup .setup-pack-note,.local-setup .error,.local-setup .button{grid-column:auto}.game-topline{flex-direction:column}.game-sidebar{grid-template-columns:1fr}.game-board{min-width:620px}}@media print{.bible-quest-game,.question-overlay,.answer-options{display:none!important}}.local-game-page{position:relative}.local-game-page:before{content:"";z-index:-1;background:radial-gradient(circle at 0 0,#ffd4662e,#0000 28%),radial-gradient(circle at 100% 0,#56aaff29,#0000 24%),radial-gradient(circle at 0 100%,#69d2962e,#0000 24%),linear-gradient(#fbf8f0 0%,#f2eee2 100%);position:fixed;inset:0}.board-shell{background:linear-gradient(#ffffff7a,#ffffff14),linear-gradient(135deg,#f9dd6f 0%,#ef8f42 34%,#4cb3f3 68%,#57c486 100%);border:0;border-radius:28px;padding:16px;box-shadow:0 20px 48px #28322b26,inset 0 1px #ffffff8c}.board-heading{color:#fff;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.board-heading strong{letter-spacing:.02em;font-size:1rem;display:block}.board-heading span{opacity:.92;font-size:.82rem}.board-legend{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.legend-pill{color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#fff3;border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:900}.legend-start{background:#17b16a47}.legend-home{background:#f6b11d4d}.legend-ladder{background:#545fff47}.legend-snake{background:#de434347}.game-board{background:#fff;border:5px solid #ffffffb8;border-radius:22px;min-width:690px;box-shadow:0 12px 26px #0000002e,inset 0 0 0 2px #43361f1a}.board-square{isolation:isolate;overflow:hidden}.board-square:before{content:"";z-index:0;background:linear-gradient(#ffffff3d,#0000 45%),radial-gradient(circle at 100% 100%,#00000014,#0000 45%);position:absolute;inset:0}.board-square>*{z-index:1;position:relative}.palette-1{color:#342707;background:#f8d54a!important}.palette-2{color:#fff;background:#f05942!important}.palette-3{color:#fff;background:#4db3ff!important}.palette-4{color:#fff;background:#4abf6d!important}.palette-5{color:#fff;background:#8246d5!important}.palette-6{color:#fff;background:#f28f38!important}.palette-7{color:#fff;background:#ff5ba6!important}.palette-8{color:#fff;background:#2546ad!important}.square-number{color:inherit;text-shadow:0 1px 1px #00000024;font-size:.7rem;font-weight:900;top:5px;left:6px}.board-marker{letter-spacing:.08em;color:#fff;border-radius:999px;padding:3px 6px;font-size:.54rem;font-weight:900;position:absolute;bottom:6px;left:50%;transform:translate(-50%)}.start-square,.home-square{box-shadow:inset 0 0 0 4px #ffffffb8}.start-square:after,.home-square:after{content:"";pointer-events:none;border:2px dashed #ffffffb8;border-radius:10px;position:absolute;inset:5px}.ladder-square{box-shadow:inset 0 0 0 3px #ffffff85,inset 0 0 0 6px #3c54ff2e}.snake-square{box-shadow:inset 0 0 0 3px #ffffff85,inset 0 0 0 6px #d039392e}.transport-label{color:#fff;border-radius:999px;padding:2px 6px;font-size:.56rem;font-weight:900;line-height:1.2;bottom:6px;right:6px}.transport-ladder{background:#4456ffd9}.transport-snake{background:#da2e2ed9}.square-tokens{gap:4px;padding:14px 4px 4px}.player-token{border-width:2px;flex-basis:28px;width:28px;height:28px;font-size:.74rem;box-shadow:0 4px 12px #00000038,inset 0 1px #ffffff59}.game-sidebar{gap:14px}.turn-card,.player-panel{background:linear-gradient(#ffffffeb,#ffffffd1);border-radius:22px;box-shadow:0 20px 45px #28322b14}.dice-stage{background:linear-gradient(#ffffffe0,#f8f5ebeb);border:1px solid #8d783e24;border-radius:18px;justify-items:center;gap:10px;margin:14px 0 10px;padding:16px 14px;display:grid}.dice-stage-text{color:var(--muted);font-size:.86rem;font-weight:700}.dice-face{background:linear-gradient(145deg,#fff 0%,#f2ead8 100%);border:2px solid #a3803433;border-radius:20px;grid-template-columns:repeat(3,1fr);gap:8px;width:84px;height:84px;padding:12px;display:grid;box-shadow:0 18px 30px #372b1524,inset 0 1px #ffffffd6}.dice-face.rolling{animation:.2s linear infinite bq-dice-roll}@keyframes bq-dice-roll{0%{transform:rotate(0)scale(1)}25%{transform:rotate(6deg)scale(1.03)}50%{transform:rotate(-7deg)scale(.98)}75%{transform:rotate(8deg)scale(1.03)}to{transform:rotate(0)scale(1)}}.pip{background:0 0;border-radius:999px;width:100%;height:100%;box-shadow:inset 0 0 0 1px #0000000a}.pip.filled{background:linear-gradient(#273b77 0%,#0d1735 100%);box-shadow:0 1px 2px #00000040}.roll-chain span{color:#46340b;background:linear-gradient(#fff3ba,#f2d465);border:1px solid #7f5f1326;box-shadow:0 6px 14px #00000014}.dice-button{background:linear-gradient(#1f8a60 0%,#12684a 100%);border-radius:16px;min-height:60px;transition:transform .15s,box-shadow .15s;box-shadow:0 14px 24px #12684a40,inset 0 1px #fff3}.dice-button:hover:not(:disabled){transform:translateY(-1px)}.dice-button:disabled{opacity:.7;cursor:not-allowed}.choice-actions .button,.winner-card .button,.answer-result .button{border-radius:14px}.answer-options button{border-radius:16px;transition:transform .15s,border-color .15s,box-shadow .15s}.answer-options button:hover{transform:translateY(-1px);box-shadow:0 12px 22px #1d6b5214}.question-overlay{background:#121822b8}.gameplay-question,.answer-result,.winner-card{border-radius:24px}.transport-result,.correct-answer,.ranking-list>div{background:linear-gradient(#fbf7eb,#f2e9d2)}@media (width<=760px){.board-heading{flex-direction:column}.board-legend{justify-content:flex-start}.dice-face{width:76px;height:76px}}.game-board{position:relative}.board-square{z-index:1}.board-transports{z-index:6;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.square-tokens{z-index:10;position:relative}.board-marker,.transport-label,.square-number{z-index:8}@media (width<=760px){.ladder-outline{stroke-width:13px}.ladder-rail{stroke-width:7px}.snake-outline{stroke-width:24px}.snake-body{stroke-width:15px}}.square-number{min-width:24px;height:24px;text-shadow:none;background:#fffffff5;border-radius:999px;place-items:center;padding:0 6px;font-size:.7rem;font-weight:900;display:inline-grid;top:6px;left:6px;box-shadow:0 2px 7px #00000029,inset 0 1px #fffc;color:#23313d!important}.transport-label{z-index:7}.ladder-outline,.ladder-rung-outline{stroke:#573613ad;stroke-linecap:round}.ladder-outline{stroke-width:11px}.ladder-rung-outline{stroke-width:9px}.ladder-rail,.ladder-rung{stroke:#f7f0db;stroke-linecap:round;filter:drop-shadow(0 2px 2px #0000002e)}.ladder-rail{stroke-width:6.6px}.ladder-rung{stroke-width:5px}.snake-outline{fill:none;stroke:#36211ad1;stroke-width:19px;stroke-linecap:round;stroke-linejoin:round}.snake-body{fill:none;stroke-width:13px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 3px 2px #0003)}.snake-belly{fill:none;stroke-width:4.3px;stroke-linecap:round;stroke-linejoin:round;opacity:.88}.snake-pattern{fill:none;stroke-width:2.6px;stroke-linecap:round;stroke-dasharray:1 18;opacity:.8}.snake-head-outline{fill:#36211adb}.snake-head-top{opacity:.8}.snake-tail{stroke:#36211ab8;stroke-width:2px}@media (width<=760px){.square-number{min-width:22px;height:22px;font-size:.66rem}.ladder-outline{stroke-width:10px}.ladder-rung-outline{stroke-width:8px}.snake-outline{stroke-width:17px}.snake-body{stroke-width:11.5px}}.classic-board-shell{background:linear-gradient(#d1cbc1 0%,#b8b0a3 100%);border-radius:18px;padding:14px;box-shadow:0 18px 36px #28322b24,inset 0 1px #ffffff80}.classic-board-heading{color:#fff6e8;margin-bottom:10px}.classic-board-heading strong{font-size:.98rem}.classic-board-heading span{font-size:.78rem}.classic-board-heading .board-legend{display:none}.classic-game-board{background:#fff;border:3px solid #f2efe7;border-radius:16px;min-width:690px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 2px #4d43332e,0 10px 22px #0000001f}.classic-square{border-bottom:1px solid #ffffff61;border-right:1px solid #ffffff61;overflow:hidden}.classic-square:before{background:linear-gradient(#ffffff2e,#0000 42%)}.square-number{min-width:auto;height:auto;box-shadow:none;text-shadow:0 1px 2px #0000008c,0 0 2px #00000059;z-index:15;border-radius:0;padding:0;font-size:.95rem;font-weight:900;line-height:1;display:block;top:9px;left:10px;color:#fff!important;background:0 0!important}.palette-1 .square-number,.palette-6 .square-number{text-shadow:0 1px 2px #ffffff59;color:#1f1f1f!important}.board-marker{letter-spacing:.05em;border-radius:999px;padding:2px 6px;font-size:.53rem;bottom:7px;left:8px;right:auto;transform:none}.marker-start{background:#14914ef2}.marker-home{background:#df9a07f5}.start-square:after,.home-square:after{display:none}.square-tokens{z-index:16;justify-content:center;align-items:center;height:100%;padding:16px 4px 6px;position:relative}.player-token{flex-basis:28px;width:28px;height:28px;box-shadow:0 3px 8px #0000003d,inset 0 1px #ffffff59}.palette-1{background:#f0d44c!important}.palette-2{background:#ec5945!important}.palette-3{background:#4aa8eb!important}.palette-4{background:#50b96a!important}.palette-5{background:#844fd0!important}.palette-6{background:#ef9437!important}.palette-7{background:#eb5fa7!important}.palette-8{background:#314db7!important}.ladder-shadow{stroke:#48382261;stroke-width:9px;stroke-linecap:round}.snake-outline{fill:none;stroke-width:18px;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 2px #0000002e)}.snake-pattern{fill:none;stroke-width:2.1px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 14;opacity:.8}.snake-tail{stroke-width:1.6px}@media (width<=760px){.square-number{font-size:.82rem;top:7px;left:7px}.board-marker{bottom:5px;left:6px}.snake-outline{stroke-width:16px}.snake-body{stroke-width:11px}}.classic-game-board{border:3px solid #f0ece3}.board-transports{z-index:2}.square-number{z-index:20;border-radius:8px;place-items:center;min-width:25px;height:25px;padding:0 6px;font-size:.84rem;font-weight:900;line-height:1;display:inline-grid;top:7px;left:7px;box-shadow:0 1px 2px #0000002e,inset 0 1px #ffffffe6;color:#20252b!important;text-shadow:none!important;background:#fffffff2!important}.board-marker{z-index:18}.square-tokens{z-index:22}.ladder-rail-shadow{stroke:#00000038;stroke-width:8px;stroke-linecap:round}.ladder-rail{stroke:#4d3013;stroke-width:5.2px;stroke-linecap:round}.ladder-rung-shadow{stroke:#0000002e;stroke-width:6px;stroke-linecap:round}.ladder-rung{stroke:#4d3013;stroke-width:3.6px;stroke-linecap:round}.snake-outline{fill:none;stroke-width:15px;stroke-linecap:round;stroke-linejoin:round;opacity:.95}.snake-body{fill:none;stroke-width:11px;stroke-linecap:round;stroke-linejoin:round}.snake-belly{fill:none;stroke-width:2.2px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:5 18;opacity:.95}.snake-spots{fill:none;stroke-width:5.6px;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 22;opacity:.92}.snake-head{stroke:#ffffff4d;stroke-width:1.1px}.snake-eye{fill:#fff}.snake-pupil{fill:#161616}.snake-tongue{fill:none;stroke:#d43c60;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round}.classic-game-board .transport-label{display:none}@media (width<=760px){.square-number{min-width:23px;height:23px;font-size:.76rem}.snake-outline{stroke-width:13px}.snake-body{stroke-width:9.5px}}.ghana-board-shell{background:linear-gradient(#d4c8b0 0%,#b59d72 100%);border-radius:18px;padding:12px;box-shadow:0 18px 34px #28322b24,inset 0 1px #ffffff59}.ghana-board-heading{color:#fff3d6;margin-bottom:10px}.ghana-board-heading strong{font-size:1rem;display:block}.ghana-board-heading span{opacity:.92;font-size:.78rem}.ghana-board{aspect-ratio:1;background-position:50%;background-repeat:no-repeat;background-size:cover;border:2px solid #34230d8c;border-radius:10px;min-width:690px;position:relative;overflow:hidden;box-shadow:0 10px 22px #0000001f,inset 0 0 0 2px #ffffff1a}.ghana-board-grid{grid-template-rows:repeat(10,1fr);grid-template-columns:repeat(10,1fr);display:grid;position:absolute;inset:0}.ghana-board-square{min-width:0;min-height:0;position:relative}.ghana-square-tokens{z-index:10;flex-wrap:wrap;justify-content:flex-end;gap:4px;display:flex;position:absolute;bottom:7px;right:7px}.ghana-square-tokens .player-token{text-shadow:0 1px 1px #00000059;border-width:3px;flex-basis:30px;width:30px;height:30px;font-size:.84rem;box-shadow:0 0 0 2px #ffffffeb,0 4px 10px #0000004d,inset 0 1px #fff6}.ghana-board .transport-label,.ghana-board .square-number,.ghana-board .board-marker{display:none!important}@media (width<=760px){.ghana-board{min-width:100%}.ghana-square-tokens{gap:3px;bottom:5px;right:5px}.ghana-square-tokens .player-token{border-width:3px;flex-basis:25px;width:25px;height:25px;font-size:.74rem;box-shadow:0 0 0 1.5px #ffffffeb,0 3px 8px #00000047,inset 0 1px #ffffff61}}.local-players-setup{grid-column:1/-1;gap:12px;display:grid}.local-players-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.local-players-heading>div{gap:2px;display:grid}.local-players-heading>div>strong{font-size:1rem}.local-players-heading>div>span{color:var(--muted);font-size:.78rem}.local-player-inputs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.local-player-input-row{border:1px solid var(--line);background:#ffffffad;border-radius:14px;grid-template-columns:auto 1fr auto;align-items:end;gap:9px;padding:11px;display:grid}.local-player-input-row .player-token{align-self:center}.remove-local-player{width:38px;height:38px;margin-bottom:2px}@media (width<=760px){.local-player-inputs{grid-template-columns:1fr}.local-players-heading{align-items:flex-start}}.computer-setup{gap:18px;width:min(860px,100%);margin-top:24px;padding:24px;display:grid}.human-player-field{max-width:430px}.computer-setup-heading{border-top:1px solid var(--line);justify-content:space-between;align-items:end;gap:16px;padding-top:6px;display:flex}.computer-setup-heading strong{margin-top:16px;font-size:1.05rem;display:block}.computer-setup-heading span{color:var(--muted);margin-top:4px;font-size:.86rem;display:block}.computer-opponent-list{gap:9px;display:grid}.computer-opponent-row{border:1px solid var(--line);background:#fbfaf5;border-radius:14px;grid-template-columns:auto 1.2fr 1fr auto;align-items:center;gap:9px;padding:10px;display:grid}.computer-seat{width:42px;height:42px;color:var(--green-dark);background:#edf5f0;border-radius:11px;grid-template-columns:1fr;place-items:center;gap:0;display:grid}.computer-seat svg{opacity:.32;grid-area:1/1}.computer-seat strong{z-index:1;grid-area:1/1;font-size:.78rem}.computer-game-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.computer-level{color:#76591e;background:#f2efe6;border-radius:999px;align-items:center;width:fit-content;margin:2px 0 7px;padding:4px 8px;font-size:.7rem;font-weight:900;display:inline-flex}.level-intermediate{color:#315d87;background:#e8f1fb}.level-advanced{color:#604285;background:#efe8fa}.player-type-icon{color:var(--muted);margin-left:auto}.ranking-list .computer-level{margin-left:8px}@media (width<=760px){.computer-setup-heading{flex-direction:column;align-items:stretch}.computer-opponent-row{grid-template-columns:auto 1fr auto}.computer-opponent-row select{grid-column:2/-1}.computer-game-options{grid-template-columns:1fr}}.pass-device-popup{z-index:95;background:#fffdf7fa;border:1px solid #1d6b5238;border-radius:18px;width:min(330px,100vw - 32px);padding:16px;animation:.2s ease-out bq-handoff-pop;position:fixed;top:92px;right:24px;box-shadow:0 18px 44px #1a2a232e,0 4px 12px #1a2a2314}@keyframes bq-handoff-pop{0%{opacity:0;transform:translateY(-8px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}.pass-device-popup-header{align-items:center;gap:11px;display:flex}.pass-device-popup-header>div{gap:2px;display:grid}.pass-device-popup-header strong{font-size:1rem}.pass-device-kicker{color:#a26f12;letter-spacing:.09em;text-transform:uppercase;font-size:.7rem;font-weight:900}.pass-device-popup p{color:var(--muted);margin:11px 0 13px;font-size:.9rem;line-height:1.45}.pass-device-popup .button{width:100%}.pass-device-token{border-width:3px;flex-basis:38px;width:38px;height:38px;font-size:.86rem;box-shadow:0 0 0 2px #fffffff5,0 5px 14px #0000002e}@media (width<=760px){.pass-device-popup{width:auto;top:76px;left:16px;right:16px}}.position-preview{color:var(--green-dark);text-align:center;background:#edf7f1;border-radius:13px;margin:14px 0 8px;padding:13px 15px;font-size:1.02rem;font-weight:900}.auto-advance-note{color:var(--muted);text-align:center;margin-top:12px;font-size:.82rem;font-weight:700}.pass-device-popup.auto-dismiss{pointer-events:none}.pass-device-popup.auto-dismiss:after{content:"";background:#1d6b5229;border-radius:999px;height:3px;margin-top:11px;animation:1.2s linear forwards bq-next-turn-progress;display:block;overflow:hidden}@keyframes bq-next-turn-progress{0%{box-shadow:inset 330px 0 0 var(--green)}to{box-shadow:inset 0 0 0 var(--green)}}.resume-game-card{background:linear-gradient(#f3fbf6,#fffdf7);border-color:#1d6b5240;justify-content:space-between;align-items:center;gap:18px;margin:18px 0 4px;padding:17px 18px;display:flex}.resume-game-card>div:first-child{gap:4px;display:grid}.resume-game-card strong{font-size:1rem}.resume-game-card span{color:var(--muted);font-size:.84rem}@media (width<=650px){.resume-game-card{flex-direction:column;align-items:flex-start}}:root{--green:#138a62;--green-dark:#07583f;--gold:#ffb703;--ink:#183248;--muted:#667386;--paper:#fffefa;--line:#e4e5ef;--bg:#f7f8ff;--blue:#3b82f6;--purple:#8b5cf6;--pink:#ec4899;--orange:#f97316;--cyan:#06b6d4}body{background:radial-gradient(circle at 8% 4%,#3b82f61a,#0000 23rem),radial-gradient(circle at 92% 8%,#ec489917,#0000 20rem),radial-gradient(circle at 50% 95%,#ffb70314,#0000 24rem),#f7f8ff;min-height:100vh}.topbar{background:#ffffffe8;border-bottom:1px solid #7e8ba72e;box-shadow:0 6px 25px #29375612}.game-brand{color:#49349b;align-items:center;gap:9px;font-size:1.2rem;display:inline-flex}.brand-logo{object-fit:contain;filter:drop-shadow(0 5px 10px #4c30942e);flex:0 0 48px;width:48px;height:48px}.game-brand{min-width:max-content}.game-brand>span:last-child{letter-spacing:-.025em;font-weight:950}@media (width<=760px){.brand-logo{flex-basis:42px;width:42px;height:42px}.game-brand>span:last-child{display:none}}.topbar-actions,.pwa-controls{align-items:center;gap:8px;display:flex}.connection-pill{border-radius:999px;align-items:center;gap:6px;min-height:34px;padding:6px 9px;font-size:.75rem;font-weight:850;display:inline-flex}.connection-pill.online{color:#08724f;background:#eafaf3}.connection-pill.offline{color:#a64a11;background:#fff2e6}.pwa-icon-button{color:#49349b;cursor:pointer;background:#fff;border:1px solid #e3e5ef;border-radius:11px;place-items:center;width:38px;height:38px;display:grid;position:relative}.pwa-icon-button.install{color:#0b7c59;background:#ecfbf4}.pwa-icon-button.update-ready{color:#fff;background:linear-gradient(135deg,#7c3aed,#ec4899);border-color:#0000}.update-dot{background:#ffb703;border:2px solid #fff;border-radius:50%;width:10px;height:10px;position:absolute;top:-3px;right:-3px}.offline-banner{z-index:100;color:#fff;background:#263042;border-radius:999px;align-items:center;gap:8px;max-width:calc(100vw - 28px);padding:10px 14px;font-size:.82rem;font-weight:750;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 35px #0f172a3d}.game-hero{background:radial-gradient(circle at 80% 10%,#fff3,#0000 13rem),linear-gradient(135deg,#6d38d1 0%,#3b82f6 35%,#0ea5a4 70%,#18a76f 100%);min-height:540px;position:relative;overflow:hidden;box-shadow:0 24px 70px #4a3e9d40,inset 0 1px #fff3}.game-hero:after{content:"";background:#ffb70340;border-radius:42%;width:320px;height:320px;position:absolute;bottom:-100px;right:-90px;transform:rotate(18deg)}.hero-copy{z-index:2;max-width:760px;position:relative}.game-hero h1 span{color:#ffe66d}.game-hero .eyebrow{color:#fff4a8;align-items:center;gap:7px;display:inline-flex}.hero-game-pieces span{z-index:1;color:#fff;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#ffffff2e;border:4px solid #ffffffd9;border-radius:18px;place-items:center;font-size:1.6rem;font-weight:950;display:grid;position:absolute;box-shadow:0 12px 30px #1f293726}.hero-game-pieces span:first-child{width:74px;height:74px;top:15%;right:15%;transform:rotate(10deg)}.hero-game-pieces span:nth-child(2){background:#ffb70352;width:62px;height:62px;top:39%;right:7%;transform:rotate(-9deg)}.hero-game-pieces span:nth-child(3){background:#ec489947;width:67px;height:67px;bottom:18%;right:22%;transform:rotate(-12deg)}.hero-game-pieces span:nth-child(4){background:#0ea5a457;width:54px;height:54px;bottom:14%;right:6%;transform:rotate(12deg)}.hero-actions{flex-wrap:wrap;align-items:center;gap:15px;display:flex}.game-cta{color:#3b2a0a;background:linear-gradient(135deg,#ffe66d,#ffb703);border-radius:15px;min-height:52px;padding:12px 22px;box-shadow:0 10px 26px #ffb70347}.hero-mini-note{color:#ffffffd1;font-size:.84rem;font-weight:700}.play-intro{color:var(--muted);margin:10px 0 0}.colourful-mode-grid{gap:18px}.mode-card{color:#fff;border:0;flex-direction:column;align-items:flex-start;gap:10px;min-height:205px;padding:24px;text-decoration:none;transition:transform .22s,box-shadow .22s;display:flex;position:relative;overflow:hidden}.mode-card:after{content:"";background:#ffffff21;border-radius:36%;width:120px;height:120px;position:absolute;bottom:-42px;right:-34px;transform:rotate(24deg)}.mode-card:hover{transform:translateY(-4px)rotate(-.25deg);box-shadow:0 20px 45px #343f6933}.mode-card strong{font-size:1.25rem}.mode-card>span:not(.mode-icon){color:#ffffffdb}.mode-card em{letter-spacing:.08em;text-transform:uppercase;margin-top:auto;font-size:.78rem;font-style:normal;font-weight:900}.mode-icon{background:#ffffff2e;border-radius:18px;place-items:center;width:58px;height:58px;display:grid;box-shadow:inset 0 1px #ffffff47}.mode-computer{background:linear-gradient(135deg,#7c3aed,#a855f7)}.mode-local{background:linear-gradient(135deg,#0ea5a4,#22c55e)}.mode-online{background:linear-gradient(135deg,#2563eb,#06b6d4)}.mode-family{background:linear-gradient(135deg,#ec4899,#f97316)}.card{box-shadow:0 12px 35px #3a426614}.button{background:linear-gradient(135deg,#138a62,#0d9f73);box-shadow:0 5px 14px #138a6229}.button.secondary{color:#49349b;box-shadow:none;background:#eef1ff}.turn-card{border-top:5px solid #8b5cf6}.player-panel{border-top:5px solid #06b6d4}.dice-face{box-shadow:0 13px 28px #3741512e,inset 0 1px #fffc}.roll-chain span:nth-child(4n+1){color:#6d28d9;background:#ede9fe}.roll-chain span:nth-child(4n+2){color:#1d4ed8;background:#dbeafe}.roll-chain span:nth-child(4n+3){color:#15803d;background:#dcfce7}.roll-chain span:nth-child(4n){color:#a16207;background:#fef3c7}.gameplay-question{border:3px solid #ffffffb3;box-shadow:0 28px 70px #191e3747}.answer-options button{border:2px solid #ececf5;transition:transform .15s,border-color .15s,box-shadow .15s}.answer-options button:first-child strong{background:#8b5cf6}.answer-options button:nth-child(2) strong{background:#3b82f6}.answer-options button:nth-child(3) strong{background:#22c55e}.answer-options button:nth-child(4) strong{background:#f97316}.answer-options button:hover{border-color:#b8b6ef;transform:translateY(-2px);box-shadow:0 8px 20px #5653a01a}.pwa-help-backdrop{z-index:150;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#1d23378c;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.pwa-help-card{width:min(430px,100%);padding:28px;position:relative}.pwa-help-close{cursor:pointer;background:#f1f3f9;border:0;border-radius:10px;place-items:center;width:34px;height:34px;display:grid;position:absolute;top:12px;right:12px}.app-error-screen{background:radial-gradient(circle at top,#e8e9ff,#0000 32rem),#f8f8ff;place-items:center;min-height:100vh;padding:24px;display:grid}.app-error-card{text-align:center;width:min(490px,100%)}.error-game-icon{margin-bottom:14px;font-size:4rem}.app-error-card h1{margin:12px 0 8px}.app-error-card p{color:var(--muted);line-height:1.6}.app-error-card .actions{justify-content:center;margin-top:20px}@media (width<=760px){.connection-pill span{display:none}.game-hero{min-height:510px;padding:32px 25px}.hero-game-pieces span{opacity:.45}.colourful-mode-grid{grid-template-columns:1fr}.mode-card{min-height:175px}.topbar{gap:10px;padding-inline:12px}.topbar nav a{padding-inline:8px}}.account-message{color:#315d87;background:#eff6ff;border:1px solid #3b82f62e;border-radius:13px;margin:16px 0;padding:11px 14px;font-size:.88rem;font-weight:750}.profile-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;margin-top:22px;display:grid}.profile-card{gap:17px;padding:22px;display:grid}.profile-card-heading{align-items:center;gap:14px;display:flex}.profile-card-heading>div{gap:3px;display:grid}.profile-card-heading span{color:var(--muted);font-size:.84rem}.profile-avatar-large{background:linear-gradient(135deg,#ede9fe,#dbeafe);border-radius:21px;flex:0 0 68px;place-items:center;width:68px;height:68px;font-size:2rem;display:grid}.avatar-picker{gap:9px;display:grid}.avatar-grid{flex-wrap:wrap;gap:9px;display:flex}.avatar-option{background:#fff;border:2px solid #ebeaf4;border-radius:15px;width:50px;height:50px;font-size:1.5rem}.avatar-option.selected{background:#f5f3ff;border-color:#8b5cf6}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.stat-card{color:#fff;border:0;align-content:center;gap:5px;min-height:135px;padding:18px;display:grid}.stat-card strong{font-size:1.8rem}.stat-card span{color:#ffffffd9;font-size:.79rem}.stat-purple{background:linear-gradient(135deg,#7c3aed,#a855f7)}.stat-gold{background:linear-gradient(135deg,#f59e0b,#f97316)}.stat-green{background:linear-gradient(135deg,#10a574,#22c55e)}.stat-blue{background:linear-gradient(135deg,#2563eb,#06b6d4)}.account-settings-card,.history-card{margin-top:18px;padding:22px}.section-heading{align-items:center;gap:11px;margin-bottom:18px;display:flex}.section-heading>div{gap:3px;display:grid}.section-heading span{color:var(--muted);font-size:.82rem}.preference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px;margin-bottom:18px;display:grid}.switch-row{background:#fbfbfe;border:1px solid #ececf4;border-radius:12px;align-items:center;gap:9px;padding:10px 12px;display:flex}.history-list{gap:8px;display:grid}.history-list article{border:1px solid #ececf4;border-radius:13px;justify-content:space-between;gap:15px;padding:12px 14px;display:flex}.history-list article>div{display:grid}.history-list span,.history-list time{color:var(--muted);font-size:.78rem}.empty-account-state{color:var(--muted);text-align:center;padding:22px}.family-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.family-action-card{gap:11px;padding:22px;display:grid}.family-action-icon{border-radius:16px;place-items:center;width:50px;height:50px;display:grid}.family-action-icon.purple{color:#6d28d9;background:#ede9fe}.family-action-icon.green{color:#08724f;background:#dcfce7}.family-tabs{gap:8px;margin:18px 0 10px;display:flex;overflow-x:auto}.family-tabs button{background:#fff;border:1px solid #e5e5ef;border-radius:999px;align-items:center;gap:6px;padding:9px 13px;display:inline-flex}.family-tabs button.active{color:#fff;background:linear-gradient(135deg,#7c3aed,#4f46e5)}.family-detail-card{padding:22px}.family-detail-heading{justify-content:space-between;align-items:center;gap:18px;display:flex}.family-code{color:#49349b;background:#f7f5ff;border:1px solid #e4e3f0;border-radius:13px;grid-template-columns:1fr auto;gap:3px 8px;padding:10px 12px;display:grid}.family-code span{grid-column:1/-1;font-size:.67rem}.family-invite-row{background:#f8f8fe;border-radius:14px;grid-template-columns:auto 1fr auto;gap:10px;margin:19px 0;padding:13px;display:grid}.family-members{gap:9px;display:grid}.family-members article{border:1px solid #ececf4;border-radius:14px;align-items:center;gap:12px;padding:11px 12px;display:flex}.family-member-avatar{background:linear-gradient(135deg,#fef3c7,#ede9fe);border-radius:13px;place-items:center;width:42px;height:42px;display:grid}.family-members article>div{flex:1;display:grid}.family-members article span{color:var(--muted);font-size:.77rem}.icon-button.danger{color:#b42318;background:#fff1f0}@media (width<=800px){.profile-layout,.family-action-grid,.preference-grid{grid-template-columns:1fr}.family-detail-heading{flex-direction:column;align-items:flex-start}.family-code{width:100%}}@media (width<=560px){.family-invite-row{grid-template-columns:1fr}.family-invite-row>svg{display:none}}.online-setup-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px;display:grid}.online-create-card,.online-join-card{align-content:start;gap:13px;padding:24px;display:grid}.online-create-card>span:not(.online-card-icon),.online-join-card>span:not(.online-card-icon){color:var(--muted);font-size:.86rem;line-height:1.5}.online-card-icon{border-radius:18px;place-items:center;width:58px;height:58px;display:grid}.online-card-icon.purple{color:#6d28d9;background:#ede9fe}.online-card-icon.green{color:#08724f;background:#dcfce7}.room-code-input{text-align:center;text-transform:uppercase;letter-spacing:.2em;min-height:62px;font-size:1.25rem;font-weight:950}.online-lobby-heading{justify-content:space-between;align-items:end;gap:18px;margin-top:16px;display:flex}.online-lobby-heading p{color:var(--muted);margin:6px 0 0}.room-code-card{color:#49349b;cursor:pointer;text-align:left;background:linear-gradient(135deg,#f5f3ff,#eff6ff);border:1px solid #dad8ee;border-radius:16px;grid-template-columns:1fr auto;align-items:center;gap:3px 10px;min-width:190px;padding:12px 15px;display:grid}.room-code-card>span{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;grid-column:1/-1;font-size:.68rem;font-weight:900}.room-code-card strong{letter-spacing:.14em;font-size:1.25rem}.online-lobby-card{margin-top:18px;padding:22px}.online-lobby-status{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;font-size:.78rem;display:flex}.lobby-status{border-radius:999px;align-items:center;gap:7px;padding:6px 9px;font-weight:850;display:inline-flex}.lobby-status>span{border-radius:50%;width:8px;height:8px}.lobby-status.waiting{color:#08724f;background:#eafaf3}.lobby-status.waiting>span{background:#10b981;box-shadow:0 0 0 4px #10b9811f}.lobby-status.started{color:#5b21b6;background:#ede9fe}.lobby-status.started>span{background:#8b5cf6}.online-player-list{gap:10px;display:grid}.online-player{background:#fff;border:1px solid #ececf4;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:68px;padding:11px 13px;display:grid}.online-player.me{background:linear-gradient(90deg,#faf8ff,#fff);border-color:#c4b5fd}.online-player.empty{opacity:.72;background:#fafafa;border-style:dashed}.online-token{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:43px;height:43px;font-weight:950;display:grid;box-shadow:0 0 0 2px #3a415a1a,0 5px 13px #232a4624}.empty-token{color:#89909f;background:#e7e9ef!important}.online-player>div{gap:2px;display:grid}.online-player>div strong{align-items:center;gap:6px;display:flex}.online-player>div span{color:var(--muted);font-size:.76rem}.host-crown{color:#f59e0b}.ready-badge{color:#7b8190;background:#f1f2f5;border-radius:999px;align-items:center;gap:4px;padding:5px 8px;font-size:.72rem;font-weight:850;display:inline-flex}.ready-badge.ready{color:#08724f;background:#dcfce7}.online-lobby-actions{flex-wrap:wrap;gap:9px;margin-top:20px;display:flex}.host-wait-note{color:var(--muted);align-items:center;gap:7px;margin-top:13px;font-size:.78rem;display:flex}.online-lobby-loading{text-align:center;justify-items:center;gap:8px;width:min(440px,100%);margin:70px auto;padding:35px;display:grid}.online-lobby-loading span{color:var(--muted);font-size:.84rem}.online-pulse{color:#7c3aed;animation:1.1s ease-in-out infinite alternate online-pulse}@keyframes online-pulse{0%{opacity:.45;transform:scale(.92)}to{opacity:1;transform:scale(1.08)}}@media (width<=760px){.online-setup-grid{grid-template-columns:1fr}.online-lobby-heading{flex-direction:column;align-items:stretch}.room-code-card{width:100%}.online-lobby-status{flex-direction:column;align-items:flex-start}.online-player{grid-template-columns:auto 1fr}.ready-badge{grid-column:2;width:fit-content}}.online-game-page{padding-bottom:34px}.online-game-top{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px;display:flex}.online-game-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:18px;display:grid}.online-board-column{min-width:0}.online-turn-card{border-top:5px solid #8b5cf6;margin-top:14px;padding:18px}.online-turn-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.online-turn-heading>div{gap:2px;display:grid}.online-turn-heading span{color:var(--muted);font-size:.76rem}.online-current-token,.online-side-token{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;font-weight:950;display:grid;box-shadow:0 0 0 2px #3d435e1a,0 7px 16px #242a4824}.online-current-token{width:48px;height:48px}.online-roll-chain{background:#f8f8fe;border-radius:14px;gap:7px;margin-top:14px;padding:12px;display:grid}.online-roll-chain>span,.online-roll-chain small{color:var(--muted);font-size:.76rem}.online-roll-chain>div{flex-wrap:wrap;gap:7px;display:flex}.online-roll-chain strong{color:#5b3ab8;background:linear-gradient(135deg,#ede9fe,#dbeafe);border-radius:10px;place-items:center;width:33px;height:33px;display:grid}.online-roll-button{width:100%;min-height:62px;margin-top:16px;font-size:1rem}.online-die-symbol{font-size:1.55rem}.online-choice-actions,.online-lobby-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.online-waiting-turn{color:var(--muted);background:#f8f8fe;border-radius:13px;align-items:center;gap:8px;margin-top:14px;padding:12px 13px;font-size:.84rem;display:flex}.online-player-panel{gap:14px;display:grid}.online-player-panel>.card{padding:16px}.online-side-players{gap:8px;margin-top:12px;display:grid}.online-side-players article{background:#fff;border:1px solid #ededf4;border-radius:13px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:9px;display:grid;position:relative}.online-side-players article.active{background:#faf8ff;border-color:#c4b5fd}.online-side-token{width:37px;height:37px}.online-side-players article>div{gap:1px;display:grid}.online-side-players article>div span{color:var(--muted);font-size:.72rem}.turn-dot{background:#22c55e;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #22c55e21}.online-ranking-card{gap:8px;display:grid}.online-ranking-card>div{border-top:1px solid #eeeef4;grid-template-columns:48px 1fr;align-items:center;gap:8px;padding:7px 0;display:grid}.online-ranking-card strong{color:#6d38d1;align-items:center;gap:4px;display:flex}.online-question-card{width:min(680px,100%)}.online-result-card{text-align:center;width:min(420px,100%);padding:28px}.online-result-card.correct{border-top:6px solid #22c55e}.online-result-card.wrong{border-top:6px solid #ef4444}.online-result-card>svg{color:#16a34a}.online-result-x{color:#dc2626;background:#fee2e2;border-radius:50%;place-items:center;width:48px;height:48px;margin:0 auto;font-size:2rem;font-weight:900;display:grid}.online-result-card h2{margin:10px 0 6px}.online-result-card p{color:var(--muted)}.transport-chain-result{flex-wrap:wrap;justify-content:center;gap:7px;margin:14px 0;display:flex}.transport-chain-result span{color:#5b3ab8;background:#f5f3ff;border-radius:999px;padding:7px 10px;font-size:.8rem;font-weight:850}.online-result-wait{color:var(--muted);margin-top:14px;font-size:.78rem;display:block}.online-game-loading{text-align:center;justify-items:center;gap:8px;width:min(440px,100%);margin:70px auto;padding:34px;display:grid}.online-game-spinner{color:#7c3aed;animation:.8s linear infinite online-game-spin}@keyframes online-game-spin{to{transform:rotate(360deg)}}.online-finish-card{text-align:center;width:min(450px,100%);padding:28px}.finish-crown{font-size:3.2rem}.online-final-ranking{gap:8px;margin-top:18px;display:grid}.online-final-ranking article{text-align:left;background:#f8f8fe;border-radius:13px;grid-template-columns:56px 1fr;align-items:center;gap:9px;padding:10px 12px;display:grid}.online-final-ranking strong{color:#6d38d1}@media (width<=900px){.online-game-layout,.online-player-panel{grid-template-columns:1fr}}.realtime-badge{border-radius:999px;align-items:center;gap:7px;width:fit-content;margin-top:8px;padding:6px 9px;font-size:.72rem;font-weight:850;display:inline-flex}.realtime-badge>span{border-radius:50%;width:8px;height:8px}.realtime-badge.live{color:#08724f;background:#dcfce7}.realtime-badge.live>span{background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.realtime-badge.fallback{color:#9a5316;background:#fff4df}.realtime-badge.fallback>span{background:#f59e0b;animation:1s ease-in-out infinite alternate realtime-pulse}@keyframes realtime-pulse{0%{opacity:.45}to{opacity:1}}.reconnect-banner{background:linear-gradient(90deg,#fffaf0,#fff);border:1px solid #f6d58a;border-left:5px solid #f59e0b;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;margin:0 0 15px;padding:13px 15px;display:grid}.reconnect-banner-icon{background:#fff1cf;border-radius:14px;place-items:center;width:45px;height:45px;font-size:1.45rem;animation:1s ease-in-out infinite alternate reconnect-float;display:grid}.reconnect-banner-copy{gap:2px;min-width:0;display:grid}.reconnect-banner-copy strong{color:#7b4715}.reconnect-banner-copy span{color:#5d6470;font-size:.84rem}.reconnect-banner-copy small{color:var(--muted);font-size:.74rem}.reconnect-status-pill{color:#8a5416;white-space:nowrap;background:#fff1cf;border-radius:999px;align-items:center;gap:6px;padding:6px 9px;font-size:.72rem;font-weight:850;display:inline-flex}.reconnect-status-pill>span{background:#f59e0b;border-radius:50%;width:8px;height:8px;animation:.85s ease-in-out infinite alternate reconnect-pulse}@keyframes reconnect-float{0%{transform:translateY(1px)}to{transform:translateY(-3px)}}@keyframes reconnect-pulse{0%{opacity:.4}to{opacity:1}}@media (width<=600px){.reconnect-banner{grid-template-columns:auto minmax(0,1fr)}.reconnect-status-pill{grid-column:2;width:fit-content;margin-top:3px}}.online-results-loading{text-align:center;width:min(440px,100%);margin:70px auto;padding:30px}.results-hero{text-align:center;justify-items:center;margin:20px 0;display:grid}.results-hero p{color:var(--muted);margin:5px 0 0}.results-trophy{font-size:3.5rem}.results-tabs{justify-content:center;gap:8px;margin:18px 0;display:flex}.results-tabs button{color:var(--muted);cursor:pointer;background:#fff;border:1px solid #e3e1ee;border-radius:999px;align-items:center;gap:7px;padding:10px 15px;font-weight:850;display:inline-flex}.results-tabs button.active{color:#fff;background:linear-gradient(135deg,#7c3aed,#2563eb);border-color:#0000}.results-ranking-grid{gap:10px;width:min(760px,100%);margin:0 auto;display:grid}.result-rank{grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:16px;display:grid}.result-rank.winner{background:linear-gradient(135deg,#fffdf2,#fff);border:2px solid #facc15}.result-token{color:#fff;border:3px solid #fff;border-radius:50%;place-items:center;width:50px;height:50px;font-weight:950;display:grid;box-shadow:0 0 0 2px #3c415a1a}.result-rank>div:nth-child(2){gap:2px;display:grid}.result-rank>div:nth-child(2) span{color:var(--muted);font-size:.78rem}.result-answer-stats{gap:9px;display:flex}.result-answer-stats span{background:#f7f7fb;border-radius:999px;align-items:center;gap:4px;padding:6px 8px;font-size:.78rem;font-weight:850;display:inline-flex}.result-answer-stats span:first-child{color:#08724f}.result-answer-stats span:last-child{color:#b42318}.game-review-list{gap:12px;width:min(820px,100%);margin:0 auto;display:grid}.review-question-card{padding:20px}.review-question-top{color:var(--muted);justify-content:space-between;gap:10px;font-size:.77rem;display:flex}.review-correct{color:#08724f}.review-wrong{color:#b42318}.review-question-card h3{margin:13px 0;line-height:1.45}.review-answer-row{background:#fff1f0;border-radius:12px;gap:3px;margin-top:9px;padding:10px 12px;display:grid}.review-answer-row.correct{background:#ecfdf3}.review-answer-row span{color:var(--muted);font-size:.72rem;font-weight:800}.review-explanation{color:#4b5563;margin-top:14px;line-height:1.55}.review-source{color:#4f46e5;align-items:center;gap:6px;margin-top:12px;font-size:.82rem;font-weight:850;text-decoration:none;display:inline-flex}@media (width<=600px){.result-rank{grid-template-columns:auto 1fr}.result-answer-stats{grid-column:2}.review-question-top{flex-direction:column;align-items:flex-start}}.active-online-games,.online-active-section{margin:22px 0}.active-online-heading{justify-content:space-between;align-items:end;gap:12px;margin-bottom:11px;display:flex}.active-online-heading h2{margin:5px 0 0;font-size:1.12rem}.active-game-count{color:#6d28d9;background:#ede9fe;border-radius:999px;place-items:center;min-width:34px;height:34px;font-weight:950;display:grid}.active-game-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:11px;display:grid}.active-game-card{color:inherit;text-align:left;cursor:pointer;background:linear-gradient(135deg,#fbfaff,#fff);border:1px solid #dcd9ef;border-left:5px solid #7c3aed;gap:6px;padding:16px;text-decoration:none;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid}.active-game-card:hover{border-color:#b9a8f3;transform:translateY(-2px);box-shadow:0 9px 22px #4b388c1a}.active-game-button{width:100%;font:inherit}.active-game-status{width:fit-content;color:var(--muted);align-items:center;gap:7px;font-size:.72rem;font-weight:850;display:inline-flex}.active-dot{border-radius:50%;width:8px;height:8px}.active-dot.playing{background:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.active-dot.waiting{background:#f59e0b;box-shadow:0 0 0 4px #f59e0b1f}.active-game-card>strong{letter-spacing:.03em;font-size:1rem}.active-game-card>span:not(.active-game-status){color:var(--muted);font-size:.8rem}.active-game-card>em{color:#5b3ab8;margin-top:3px;font-size:.8rem;font-style:normal;font-weight:900}@media (width<=600px){.active-game-list{grid-template-columns:1fr}.active-online-heading{align-items:flex-start}}.question-file-picker{flex:520px;gap:4px;min-width:0;display:grid}.question-file-picker>strong{font-size:.88rem}.question-file-picker>span{color:var(--muted);font-size:.77rem}.question-file-picker input[type=file]{width:100%;margin-top:5px}.question-file-checking{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:13px;grid-column:1/-1;align-items:center;gap:11px;width:100%;padding:13px 15px;display:flex}.question-file-checking>div{gap:2px;display:grid}.question-file-checking span{font-size:.78rem}.question-file-spinner{border:3px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;flex:none;width:22px;height:22px;animation:.8s linear infinite bq-file-spin}@keyframes bq-file-spin{to{transform:rotate(360deg)}}.import-result{border-radius:14px;grid-column:1/-1;width:100%;padding:15px 17px}.import-result-error{color:#991b1b;background:#fff1f2;border:2px solid #dc2626}.import-result-success{color:#166534;background:#f0fdf4;border:2px solid #16a34a}.import-result-heading{gap:3px;margin-bottom:7px;display:grid}.import-result-heading>strong{font-size:1.05rem}.import-result-heading>span{font-size:.8rem;font-weight:700}.import-result p{margin:5px 0 11px;font-size:.84rem}.button.danger{color:#fff;background:#dc2626;border-color:#dc2626}.button.danger:hover{background:#b91c1c}@media (width<=700px){.question-file-picker{flex-basis:100%}.import-result-heading>strong{font-size:.98rem}}@media (prefers-reduced-motion:reduce){.question-file-spinner{animation:none}}.question-operation-progress{color:#243b7a;background:#f5f8ff;border:1px solid #c7d7fe;border-radius:14px;grid-column:1/-1;gap:10px;width:100%;padding:15px 17px;display:grid}.question-operation-progress.complete{color:#166534;background:#f0fdf4;border-color:#bbdfc7}.question-operation-progress.error{color:#991b1b;background:#fff1f2;border-color:#fecaca}.question-progress-top{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.question-progress-top>div{gap:2px;min-width:0;display:grid}.question-progress-top>div>strong{font-size:.95rem}.question-progress-top>div>span{color:inherit;opacity:.75;font-size:.77rem}.question-progress-percent{flex:none;font-size:1.08rem}.question-progress-track{background:#2563eb21;border-radius:999px;width:100%;height:12px;overflow:hidden}.question-progress-track>span{border-radius:inherit;background:#2563eb;height:100%;transition:width .45s;display:block}.question-operation-progress.complete .question-progress-track{background:#16a34a24}.question-operation-progress.complete .question-progress-track>span{background:#16a34a}.question-operation-progress.error .question-progress-track{background:#dc26261f}.question-operation-progress.error .question-progress-track>span{background:#dc2626}.question-progress-times{flex-wrap:wrap;justify-content:space-between;gap:7px 16px;font-size:.78rem;font-weight:750;display:flex}.question-operation-progress small{opacity:.72;font-size:.7rem;line-height:1.4}@media (width<=640px){.question-progress-top{align-items:center}.question-progress-times{display:grid}}@media (prefers-reduced-motion:reduce){.question-progress-track>span{transition:none}}.home-game-hub,.game-library,.word-search-home{gap:24px;display:grid}.home-game-intro{text-align:center;justify-items:center;gap:10px;padding:34px 24px 20px;display:grid;position:relative;overflow:hidden}.home-game-logo{aspect-ratio:1;object-fit:contain;width:min(138px,34vw)}.home-game-intro h1{letter-spacing:-.045em;max-width:760px;margin:0;font-size:clamp(2rem,6vw,4.1rem);line-height:.98}.home-game-intro h1 span{color:var(--primary);display:block}.home-game-intro p,.game-library-heading>p{max-width:680px;color:var(--muted);margin:0}.game-library.compact .game-library-heading{display:none}.game-library-heading{gap:7px;display:grid}.game-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.game-choice-card{border:1px solid var(--border);background:var(--card);min-width:0;box-shadow:var(--shadow);color:inherit;border-radius:24px;grid-template-columns:minmax(180px,.78fr) minmax(0,1.22fr);text-decoration:none;transition:transform .18s,box-shadow .18s,border-color .18s;display:grid;overflow:hidden}.game-choice-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px #1f293724}.game-choice-art{place-items:center;min-height:285px;padding:22px;display:grid}.dice-choice-art{color:#fff;background:radial-gradient(circle at 23% 18%,#ffffff6b,#0000 24%),linear-gradient(145deg,#805ad5,#4f2db5 58%,#312075);position:relative}.dice-face{color:#4f2db5;background:#fff;border-radius:23px;place-items:center;width:94px;height:94px;font-size:2.5rem;font-weight:900;display:grid;transform:rotate(-8deg);box-shadow:0 18px 34px #00000038}.dice-path,.dice-home{font-weight:900;position:absolute}.dice-path{font-size:3rem;bottom:28px;right:27px;transform:rotate(-8deg)}.dice-home{font-size:1.9rem;bottom:28px;left:28px}.word-search-art{background:linear-gradient(145deg,#eef8f2,#d8f1df)}.mini-word-grid{grid-template-columns:repeat(5,38px);gap:5px;display:grid}.mini-word-grid span{color:#24583b;background:#ffffffe0;border-radius:9px;place-items:center;width:38px;height:38px;font-size:.88rem;font-weight:900;display:grid;box-shadow:0 3px 9px #24583b17}.mini-word-grid span:nth-child(-n+5),.mini-word-grid span:nth-child(8),.mini-word-grid span:nth-child(9),.mini-word-grid span:nth-child(10),.mini-word-grid span:nth-child(11){color:#123c26;background:#7bc79a}.game-choice-copy{align-content:center;gap:10px;padding:27px;display:grid}.game-choice-kicker{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;font-size:.72rem;font-weight:900}.game-choice-copy h2{margin:0;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.05}.game-choice-copy p{color:var(--muted);margin:0;line-height:1.55}.game-choice-tags{flex-wrap:wrap;gap:7px;margin-top:5px;display:flex}.game-choice-tags span{background:var(--soft);border-radius:999px;padding:6px 9px;font-size:.72rem;font-weight:800}.game-choice-action{color:var(--primary);margin-top:7px;font-size:.86rem}.back-to-games{width:fit-content;color:var(--muted);font-size:.82rem;font-weight:800;text-decoration:none}.back-to-games:hover{color:var(--primary)}.word-search-hero{align-items:center;gap:18px;padding:24px;display:flex}.word-search-hero-icon{color:#24583b;background:#e3f5e9;border-radius:20px;flex:none;place-items:center;width:68px;height:68px;display:grid}.word-search-hero .title{margin:4px 0 6px}.word-search-hero p{color:var(--muted);margin:0}.word-search-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.word-search-preview{gap:8px;padding:20px;display:grid}.word-search-preview svg{color:var(--primary)}.word-search-preview span,.word-search-next span{color:var(--muted);font-size:.82rem;line-height:1.5}.word-search-next{gap:5px;padding:18px 20px;display:grid}@media (width<=900px){.game-choice-grid{grid-template-columns:1fr}.game-choice-card{grid-template-columns:minmax(150px,.7fr) minmax(0,1.3fr)}.word-search-preview-grid{grid-template-columns:1fr}}@media (width<=620px){.home-game-intro{padding-inline:8px}.game-choice-card{grid-template-columns:1fr}.game-choice-art{min-height:205px}.game-choice-copy{padding:21px}.word-search-hero{align-items:flex-start}}.home-game-hub-simple{gap:14px;min-height:calc(100vh - 120px);position:relative;overflow:hidden}.compact-home-intro .home-game-logo{width:min(102px,24vw)}.compact-home-intro h1{max-width:680px;font-size:clamp(1.85rem,5vw,3.3rem)}.game-library-simple{isolation:isolate;position:relative}.simple-heading{margin-bottom:12px}.simple-game-grid{z-index:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,28px);width:min(100%,1100px);margin:0 auto;display:grid;position:relative}.simple-game-card{border:1px solid var(--border);background:var(--card);min-height:420px;color:inherit;text-align:center;border-radius:28px;justify-items:center;gap:14px;padding:18px 18px 22px;text-decoration:none;transition:transform .24s,box-shadow .24s,border-color .24s;display:grid;position:relative;overflow:hidden;box-shadow:0 18px 48px #1f29371a}.simple-game-card:before{content:"";filter:blur(4px);pointer-events:none;background:#ffffff3b;border-radius:50%;width:60%;height:80%;position:absolute;inset:-45% auto auto -15%;transform:rotate(22deg)}.simple-game-card:hover{transform:translateY(-7px)scale(1.012);box-shadow:0 28px 60px #1f293729}.simple-game-card h2{margin:0;font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.05}.simple-game-image{border-radius:22px;place-items:center;width:100%;min-height:290px;display:grid}.dice-game-image{background:radial-gradient(circle at 24% 20%,#ffffff61,#0000 22%),linear-gradient(145deg,#875ee1,#5d34ca 58%,#382184)}.word-game-image{background:radial-gradient(circle at 75% 18%,#ffffff8c,#0000 24%),linear-gradient(145deg,#effaf2,#d8f2e0)}.dice-showpiece{aspect-ratio:1;width:min(250px,74%);position:relative}.dice-showpiece-face{color:#5d34ca;background:#fff;border-radius:28px;place-items:center;width:118px;height:118px;font-size:3rem;font-weight:900;animation:3.1s ease-in-out infinite diceFloat;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(-8deg);box-shadow:0 24px 44px #19104f47}.dice-showpiece-star,.dice-showpiece-arrow{color:#fff;font-weight:900;position:absolute}.dice-showpiece-star{font-size:2.1rem;animation:2s ease-in-out infinite sparklePulse;bottom:12%;left:7%}.dice-showpiece-arrow{font-size:3.4rem;animation:2.4s ease-in-out infinite arrowBounce;bottom:7%;right:8%}.simple-word-grid{grid-template-columns:repeat(5,42px);gap:7px;display:grid;transform:rotate(-1deg)}.simple-word-grid span{color:#24583b;background:#ffffffeb;border-radius:10px;place-items:center;width:42px;height:42px;font-weight:900;animation:3.6s ease-in-out infinite letterBreathe;display:grid;box-shadow:0 4px 10px #164d2f14}.simple-word-grid span:nth-child(-n+5),.simple-word-grid span:nth-child(7),.simple-word-grid span:nth-child(8),.simple-word-grid span:nth-child(9),.simple-word-grid span:nth-child(10),.simple-word-grid span:nth-child(11),.simple-word-grid span:nth-child(16),.simple-word-grid span:nth-child(17),.simple-word-grid span:nth-child(18),.simple-word-grid span:nth-child(19),.simple-word-grid span:nth-child(20){color:#123c26;background:#75c895}.simple-word-grid span:nth-child(2n){animation-delay:.18s}.simple-word-grid span:nth-child(3n){animation-delay:.35s}.simple-game-button{background:var(--primary);color:#000;border-radius:999px;justify-content:center;align-items:center;min-height:44px;padding:0 20px;font-size:.84rem;font-weight:900;transition:transform .18s,box-shadow .18s;display:inline-flex;box-shadow:0 10px 22px #5b2cc92e}.simple-game-card:hover .simple-game-button{transform:scale(1.04);box-shadow:0 14px 26px #5b2cc942}.fun-bursts{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.burst,.confetti{position:absolute}.burst{color:#f3ba2f;text-shadow:0 0 14px #f3ba2f61;animation:2.8s ease-in-out infinite sparklePulse}.burst-one{font-size:1.55rem;top:11%;left:4%}.burst-two{font-size:2rem;animation-delay:.6s;top:16%;right:5%}.burst-three{font-size:1rem;animation-delay:1.1s;top:3%;left:48%}.burst-four{font-size:1.4rem;animation-delay:1.7s;bottom:4%;right:42%}.confetti{opacity:.72;background:#7c5ce4;border-radius:4px;width:7px;height:16px;animation:4.8s ease-in-out infinite confettiFloat}.confetti-one{top:7%;left:10%}.confetti-two{background:#2fa46f;animation-delay:.8s;top:1%;left:25%}.confetti-three{background:#f3ba2f;animation-delay:1.3s;top:6%;right:22%}.confetti-four{background:#ee6d78;animation-delay:1.9s;top:24%;right:8%}.confetti-five{background:#2fa46f;animation-delay:2.6s;bottom:0;left:46%}.confetti-six{background:#7c5ce4;animation-delay:3.1s;bottom:1%;right:38%}@keyframes diceFloat{0%,to{transform:translate(-50%,-50%)rotate(-8deg)translateY(0)}50%{transform:translate(-50%,-50%)rotate(-4deg)translateY(-9px)}}@keyframes arrowBounce{0%,to{transform:translate(0)rotate(-4deg)}50%{transform:translate(7px,-7px)rotate(3deg)}}@keyframes sparklePulse{0%,to{opacity:.55;transform:scale(.86)rotate(0)}50%{opacity:1;transform:scale(1.16)rotate(12deg)}}@keyframes letterBreathe{0%,to{transform:translateY(0)}50%{transform:translateY(-2px)}}@keyframes confettiFloat{0%,to{opacity:.45;transform:translateY(0)rotate(0)}50%{opacity:.95;transform:translateY(14px)rotate(120deg)}}@media (width<=760px){.simple-game-grid{grid-template-columns:1fr}.simple-game-card{min-height:355px}.simple-game-image{min-height:230px}.compact-home-intro h1{font-size:clamp(1.7rem,10vw,2.5rem)}}@media (width<=420px){.simple-word-grid{grid-template-columns:repeat(5,34px);gap:5px}.simple-word-grid span{border-radius:8px;width:34px;height:34px;font-size:.8rem}.dice-showpiece-face{width:96px;height:96px;font-size:2.5rem}}@media (prefers-reduced-motion:reduce){.dice-showpiece-face,.dice-showpiece-arrow,.dice-showpiece-star,.simple-word-grid span,.burst,.confetti{animation:none}.simple-game-card,.simple-game-button{transition:none}}.word-search-game{gap:18px;max-width:1260px;margin:0 auto;display:grid}.word-search-game .back-to-games,.word-back-button{align-items:center;gap:6px;display:inline-flex}.word-search-title-block{align-items:center;gap:17px;display:flex}.word-search-title-icon{color:#24583b;background:#e3f5e9;border-radius:20px;flex:none;place-items:center;width:68px;height:68px;display:grid}.word-search-title-block .title{margin:3px 0 4px}.word-search-title-block p{color:var(--muted);margin:0}.word-search-setup-card{gap:25px;padding:clamp(18px,3vw,30px);display:grid}.word-search-setup-section{gap:12px;display:grid}.word-search-setup-section>strong{font-size:.95rem}.word-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.word-option,.word-difficulty{border:1px solid var(--border);background:var(--card);color:inherit;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}.word-option{text-align:center;border-radius:15px;place-items:center;gap:7px;min-height:98px;padding:12px;display:grid}.word-option svg{color:#26734a}.word-option span{font-size:.76rem;font-weight:850}.word-option:hover,.word-difficulty:hover{transform:translateY(-2px)}.word-option.selected,.word-difficulty.selected{background:#eefaf2;border-color:#4caf78;box-shadow:0 0 0 2px #4caf781f}.word-difficulty-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.word-difficulty{text-align:left;border-radius:14px;gap:4px;padding:14px;display:grid}.word-difficulty span{font-weight:850}.word-difficulty small{color:var(--muted);line-height:1.35}.word-search-start{justify-self:center;width:fit-content;min-width:220px}.word-game-topline{justify-content:space-between;align-items:center;gap:14px;display:flex}.word-back-button{cursor:pointer;background:0 0;border:0}.word-game-stats{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.word-game-stats>span{border:1px solid var(--border);background:var(--card);border-radius:999px;align-items:center;gap:6px;min-height:38px;padding:0 11px;font-size:.78rem;font-weight:850;display:inline-flex}.word-play-layout{grid-template-columns:minmax(0,1fr) minmax(250px,320px);align-items:start;gap:17px;display:grid}.word-board-card,.word-list-card{padding:clamp(14px,2vw,22px)}.word-board-heading,.word-list-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.word-board-heading>div,.word-list-heading>div{gap:2px;display:grid}.word-board-heading>div>strong,.word-list-heading>div>strong{font-size:1rem}.word-search-grid{--word-grid-size:10;grid-template-columns:repeat(var(--word-grid-size), minmax(0, 1fr));aspect-ratio:1;touch-action:none;-webkit-user-select:none;user-select:none;background:linear-gradient(145deg,#e6f6eb,#d6efdf);border-radius:18px;gap:clamp(2px,.35vw,5px);width:min(100%,720px);margin:0 auto;padding:clamp(6px,1vw,10px);display:grid}.word-cell{aspect-ratio:1;color:#173d29;cursor:pointer;background:#ffffffe8;border:1px solid #26734a17;border-radius:clamp(4px,.8vw,9px);place-items:center;min-width:0;min-height:0;padding:0;font-family:inherit;font-size:clamp(.57rem,1.6vw,1.05rem);font-weight:900;line-height:1;transition:background .1s,transform .1s,box-shadow .1s;display:grid;box-shadow:0 2px 6px #23593a0f}.word-cell:hover{transform:scale(1.04)}.word-cell.selected{color:#4c3700;background:#f8d66d;transform:scale(1.04);box-shadow:0 0 0 2px #d79b002e}.word-cell.found{color:#102d1c;background:#56bb7d;box-shadow:0 0 0 1px #1a79412e}.word-cell.hinted{color:#3e247e;background:#cbb8ff;animation:.65s ease-in-out infinite alternate wordHintPulse}.word-board-tip{max-width:700px;color:var(--muted);text-align:center;margin:12px auto 0;font-size:.72rem;line-height:1.45}.word-progress-number{color:#26734a;font-size:1.15rem;font-weight:900}.word-progress-track{background:#e9edf2;border-radius:999px;width:100%;height:9px;margin-bottom:14px;overflow:hidden}.word-progress-track>span{border-radius:inherit;background:linear-gradient(90deg,#4caf78,#73cb95);height:100%;transition:width .25s;display:block}.word-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.word-list>span{background:var(--soft);overflow-wrap:anywhere;border-radius:9px;align-items:center;gap:5px;min-width:0;padding:8px 9px;font-size:.68rem;font-weight:850;display:flex}.word-list>span.found{color:#22663f;opacity:.72;background:#e2f6e9;text-decoration:line-through}.word-list-actions{margin-top:16px;display:grid}.word-list-actions .button{width:100%}.word-complete-card{text-align:center;justify-items:center;gap:12px;max-width:720px;margin:30px auto;padding:clamp(30px,6vw,60px);display:grid;position:relative;overflow:hidden}.word-complete-trophy{color:#694c00;background:linear-gradient(145deg,#fff0a8,#f5c94d);border-radius:26px;place-items:center;width:92px;height:92px;animation:2.1s ease-in-out infinite completeTrophy;display:grid}.word-complete-card h1{margin:0;font-size:clamp(2rem,6vw,3.5rem)}.word-complete-card>p{color:var(--muted);margin:0}.word-complete-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:min(100%,480px);margin:8px 0;display:grid}.word-complete-stats>div{background:var(--soft);border-radius:14px;gap:3px;padding:14px 10px;display:grid}.word-complete-stats strong{font-size:1.25rem}.word-complete-stats span{color:var(--muted);font-size:.72rem}.word-complete-actions{flex-wrap:wrap;justify-content:center;gap:9px;display:flex}.word-complete-fireworks{pointer-events:none;position:absolute;inset:0}.word-complete-fireworks span{color:#e6ad24;animation:2.4s ease-in-out infinite completeSparkle;position:absolute}.word-complete-fireworks span:first-child{font-size:1.8rem;top:18%;left:9%}.word-complete-fireworks span:nth-child(2){font-size:2.2rem;animation-delay:.45s;top:14%;right:10%}.word-complete-fireworks span:nth-child(3){font-size:1.35rem;animation-delay:.9s;bottom:15%;left:16%}.word-complete-fireworks span:nth-child(4){font-size:1.7rem;animation-delay:1.35s;bottom:12%;right:17%}@keyframes wordHintPulse{0%{transform:scale(1);box-shadow:0 0 #764ed31f}to{transform:scale(1.09);box-shadow:0 0 0 5px #764ed31f}}@keyframes completeTrophy{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-7px)rotate(2deg)}}@keyframes completeSparkle{0%,to{opacity:.45;transform:scale(.75)rotate(0)}50%{opacity:1;transform:scale(1.25)rotate(20deg)}}@media (width<=920px){.word-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.word-difficulty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.word-play-layout{grid-template-columns:1fr}.word-list-card{order:-1}.word-list{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=620px){.word-search-title-block{align-items:flex-start}.word-search-title-icon{border-radius:16px;width:54px;height:54px}.word-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.word-game-topline{flex-direction:column;align-items:flex-start}.word-game-stats{justify-content:flex-start;width:100%}.word-list{grid-template-columns:repeat(2,minmax(0,1fr))}.word-board-card{padding-inline:7px}.word-search-grid{border-radius:13px;padding:5px}.word-cell{border-radius:5px;font-size:clamp(.5rem,3vw,.82rem)}}@media (width<=390px){.word-difficulty-grid{grid-template-columns:1fr}.word-list{grid-template-columns:1fr 1fr}.word-game-stats>span{min-height:34px;padding-inline:9px;font-size:.7rem}}@media (prefers-reduced-motion:reduce){.word-cell,.word-cell.hinted,.word-complete-trophy,.word-complete-fireworks span{transition:none;animation:none}}.word-bank-page{gap:18px;display:grid}.word-bank-intro{color:var(--muted);margin-top:-8px}.word-bank-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.word-bank-summary>div{gap:2px;padding:17px;display:grid}.word-bank-summary strong{font-size:1.5rem}.word-bank-summary span{color:var(--muted);font-size:.78rem}.word-bank-add,.word-bank-import,.word-bank-filter{gap:14px;padding:20px;display:grid}.word-bank-heading{justify-content:space-between;gap:12px;display:flex}.word-bank-heading>div{gap:2px;display:grid}.word-bank-heading span{color:var(--muted);font-size:.78rem}.word-bank-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;display:grid}.word-bank-form-grid label,.word-bank-filter-grid label{gap:5px;font-size:.75rem;font-weight:800;display:grid}.word-bank-wide{grid-column:span 2}.word-bank-import-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.word-bank-filter-grid{grid-template-columns:1.3fr 1fr 1fr auto;align-items:end;gap:10px;display:grid}.input-with-icon{position:relative}.input-with-icon svg{color:var(--muted);position:absolute;top:50%;left:11px;transform:translateY(-50%)}.input-with-icon input{padding-left:34px}.word-bank-message{background:var(--soft);border-radius:11px;margin:0;padding:11px 13px;font-weight:750}.word-bank-table{overflow-x:auto}.word-bank-table-head,.word-bank-row{grid-template-columns:1.2fr 1fr .8fr 1.2fr .55fr auto;align-items:center;gap:9px;min-width:900px;display:grid}.word-bank-table-head{border-bottom:1px solid var(--border);color:var(--muted);text-transform:uppercase;padding:12px 14px;font-size:.7rem;font-weight:900}.word-bank-row{border-bottom:1px solid var(--border);padding:10px 14px;font-size:.78rem}.word-bank-row:last-child{border-bottom:0}.word-bank-row input,.word-bank-row select{min-width:0}.word-bank-row-actions{justify-content:flex-end;gap:5px;display:flex}.word-bank-inline-active{align-items:center;gap:5px;display:flex}.word-load-message{text-align:center;color:var(--muted);margin:0;font-size:.78rem}@media (width<=900px){.word-bank-summary,.word-bank-form-grid,.word-bank-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.word-bank-form-grid,.word-bank-filter-grid{grid-template-columns:1fr}.word-bank-wide{grid-column:auto}}.home-game-hub-simple{gap:6px;min-height:calc(100svh - 96px);padding-top:0}.compact-home-intro{gap:3px;padding:8px 12px 2px}.compact-home-intro .eyebrow{letter-spacing:.12em;font-size:.72rem}.compact-home-intro h1{white-space:nowrap;letter-spacing:-.035em;max-width:none;margin:0;font-size:clamp(1.55rem,3vw,2.35rem);line-height:1.05}.compact-home-intro h1 span{color:var(--primary);display:inline}.game-library-simple{margin-top:0}.simple-game-grid{gap:clamp(14px,2vw,22px);width:min(100%,1180px)}.simple-game-card{will-change:transform;gap:10px;min-height:360px;padding:14px 14px 18px;animation:2.15s ease-in-out infinite homeCardFloat}.simple-game-card:nth-child(2){animation-delay:.28s}.simple-game-card:hover{animation-play-state:paused;transform:translateY(-9px)scale(1.018)}.simple-game-image{min-height:235px}.dice-showpiece-face{animation:1.85s ease-in-out infinite diceFloat}.dice-showpiece-star{animation-duration:1.25s}.dice-showpiece-arrow{animation-duration:1.55s}.simple-word-grid span{animation-duration:2.05s}.burst{animation-duration:1.75s}.confetti{animation-duration:2.8s}.firework{opacity:0;color:#f3ba2f;border-radius:50%;width:7px;height:7px;animation:2.6s ease-out infinite homeFirework;position:absolute;box-shadow:0 -27px 0 -1px,19px -19px 0 -1px,27px 0 0 -1px,19px 19px 0 -1px,0 27px 0 -1px,-19px 19px 0 -1px,-27px 0 0 -1px,-19px -19px 0 -1px}.firework-one{top:24%;left:8%}.firework-two{color:#7c5ce4;animation-delay:.85s;top:18%;right:9%}.firework-three{color:#2fa46f;animation-delay:1.55s;top:6%;left:52%}@keyframes homeCardFloat{0%,to{transform:translateY(0)rotate(0)}50%{transform:translateY(-6px)rotate(.22deg)}}@keyframes homeFirework{0%,28%{opacity:0;transform:scale(.25)rotate(0)}38%{opacity:.95}68%{opacity:.65;transform:scale(1.05)rotate(18deg)}to{opacity:0;transform:scale(1.32)rotate(30deg)}}.game-launch-transition{z-index:10000;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#18143285;place-items:center;animation:.62s both launchBackdrop;display:grid;position:fixed;inset:0;overflow:hidden}.launch-transition-card{z-index:2;text-align:center;background:#fffffff5;border:1px solid #ffffff57;border-radius:26px;justify-items:center;gap:7px;min-width:min(330px,100vw - 38px);padding:26px 28px;animation:.62s cubic-bezier(.18,.9,.3,1.15) both launchCardPop;display:grid;position:relative;box-shadow:0 26px 70px #0e0d2647}.launch-transition-icon{color:#fff;background:linear-gradient(145deg,#7c5ce4,#5635c8);border-radius:19px;place-items:center;width:62px;height:62px;font-size:2rem;font-weight:950;animation:.62s both launchIconBounce;display:grid;box-shadow:0 14px 28px #5635c847}.game-launch-transition.word .launch-transition-icon{background:linear-gradient(145deg,#3aa86f,#168957);box-shadow:0 14px 28px #16895740}.launch-transition-card strong{font-size:1.12rem}.launch-transition-card>span{color:var(--muted);font-size:.8rem;font-weight:750}.launch-fireworks span{color:#f7c744;border-radius:50%;width:8px;height:8px;animation:.62s ease-out both launchFirework;position:absolute;top:50%;left:50%;box-shadow:0 -48px 0 -1px,34px -34px 0 -1px,48px 0 0 -1px,34px 34px 0 -1px,0 48px 0 -1px,-34px 34px 0 -1px,-48px 0 0 -1px,-34px -34px 0 -1px}.launch-fireworks span:first-child{transform:translate(-190px,-70px)}.launch-fireworks span:nth-child(2){color:#9e83ef;animation-delay:60ms;transform:translate(170px,-90px)}.launch-fireworks span:nth-child(3){color:#58c98a;animation-delay:.12s;transform:translateY(130px)}@keyframes launchBackdrop{0%{opacity:0}to{opacity:1}}@keyframes launchCardPop{0%{opacity:0;transform:scale(.82)translateY(18px)}70%{opacity:1;transform:scale(1.025)translateY(-2px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes launchIconBounce{0%{transform:rotate(-9deg)scale(.72)}65%{transform:rotate(4deg)scale(1.08)}to{transform:rotate(0)scale(1)}}@keyframes launchFirework{0%{opacity:0;scale:.25}35%{opacity:1}to{opacity:0;scale:1.18}}@media (width<=760px){.home-game-hub-simple{min-height:auto}.compact-home-intro{padding-top:6px}.compact-home-intro h1{white-space:normal;font-size:clamp(1.42rem,7vw,2rem)}.simple-game-card{min-height:315px}.simple-game-image{min-height:205px}}@media (height<=820px) and (width>=761px){.simple-game-card{min-height:330px}.simple-game-image{min-height:210px}.compact-home-intro h1{font-size:clamp(1.45rem,2.6vw,2rem)}}@media (prefers-reduced-motion:reduce){.simple-game-card,.firework,.game-launch-transition,.launch-transition-card,.launch-transition-icon,.launch-fireworks span{animation:none!important}}.local-setup,.computer-setup{background:linear-gradient(150deg,#fffefa 0%,#f8fcf8 50%,#fcf9f0 100%);border:1px solid #1c664a24;border-radius:25px;gap:18px;width:min(1020px,100%);box-shadow:0 22px 55px #1c43331c,inset 0 1px #fff}.local-setup .game-choice-group,.computer-setup .game-choice-group,.local-setup .game-toggle,.computer-setup .game-toggle,.local-setup .game-settings-board,.computer-setup .game-settings-board{grid-column:1/-1}.game-settings-board{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 16px;min-width:0;display:grid}.game-settings-board>.wide,.game-settings-board>.game-toggle{grid-column:1/-1}.game-choice-group{gap:11px;min-width:0;display:grid}.game-choice-heading{flex-wrap:wrap;align-items:baseline;gap:5px 10px;display:flex}.game-choice-heading strong{color:#193e2f;font-size:1.02rem;font-weight:900}.game-choice-heading span{color:#64746c;font-size:.83rem;font-weight:600;line-height:1.4}.game-choice-grid{gap:12px;min-width:0;display:grid}.game-choice-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.game-choice{--choice-ink:#213a33;--choice-accent:#1f936c;appearance:none;color:var(--choice-ink);text-align:left;cursor:pointer;background:linear-gradient(148deg,#edfbf4,#fffefa 85%);border:2px solid #256d4d2e;border-radius:19px;grid-template-rows:auto auto;grid-template-columns:47px minmax(0,1fr);align-content:center;align-items:center;gap:4px 12px;min-height:108px;padding:15px 17px;transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;display:grid;box-shadow:0 9px 21px #17453414,inset 0 1px #fff}.game-choice-grid.two>.game-choice:nth-child(2){--choice-accent:#246ed1;background:linear-gradient(148deg,#eef6ff,#fffefa 85%);border-color:#246ed133}.question-language-choice>.game-choice:nth-child(2){--choice-accent:#d68020;background:linear-gradient(148deg,#fff2e4,#fffefa 85%);border-color:#d680203b}.game-choice-icon{background:color-mix(in srgb, var(--choice-accent) 14%, white);width:47px;height:47px;color:var(--choice-accent);border-radius:14px;grid-row:1/3;place-items:center;font-size:1rem;font-weight:950;display:grid}.game-choice strong{color:#203a32;font-size:.99rem;font-weight:900;line-height:1.25}.game-choice small{color:#596d66;font-size:.81rem;font-weight:650;line-height:1.4}.game-choice:hover:not(:disabled){border-color:var(--choice-accent);transform:translateY(-3px);box-shadow:0 14px 28px #1b463524}.game-choice:active:not(:disabled){transform:translateY(0)scale(.99)}.game-choice.selected,.game-choice-grid.two>.game-choice.selected,.question-language-choice>.game-choice.selected{color:#fff;background:linear-gradient(135deg,#154e3c 0%,#116b4e 55%,#157b59 100%);border-color:#137f5c;box-shadow:0 13px 28px #1577544a,inset 0 1px #ffffff3b}.game-choice-grid.two>.game-choice:nth-child(2).selected{background:linear-gradient(135deg,#1e428b,#255bb3 68%,#2c6bbd);border-color:#2869c4;box-shadow:0 13px 28px #2561bf45}.question-language-choice>.game-choice:nth-child(2).selected{background:linear-gradient(135deg,#7f3610,#9b4614 70%,#a95513);border-color:#cd7021;box-shadow:0 13px 28px #bc691c45}.game-choice.selected strong,.game-choice.selected small{color:#fff}.game-choice.selected small{opacity:.91}.game-choice.selected .game-choice-icon{color:#fff;background:#fff3}.game-choice.selected:hover{filter:brightness(1.04)}.difficulty-choice-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;display:grid}.difficulty-choice{--diff-accent:#6342b7;--diff-pale:#f2ecff;appearance:none;text-align:center;border:2px solid color-mix(in srgb, var(--diff-accent) 28%, white);background:linear-gradient(150deg, var(--diff-pale),#fff 91%);color:#243d33;cursor:pointer;border-radius:17px;align-content:center;place-items:center;gap:5px;min-width:0;min-height:100px;padding:12px 8px;transition:transform .18s,border-color .18s,box-shadow .18s;display:grid;box-shadow:0 8px 20px #233c4512}.difficulty-choice:nth-child(2){--diff-accent:#137348;--diff-pale:#e9faf1}.difficulty-choice:nth-child(3){--diff-accent:#1c61aa;--diff-pale:#eaf5ff}.difficulty-choice:nth-child(4){--diff-accent:#a85010;--diff-pale:#fff1df}.difficulty-choice:nth-child(5){--diff-accent:#9f3473;--diff-pale:#fff0f8}.difficulty-choice>span{font-size:1.4rem;line-height:1.1}.difficulty-choice strong{color:#233b32;font-size:.9rem;font-weight:900;line-height:1.25}.difficulty-choice small{color:#607166;font-size:.75rem;font-weight:650;line-height:1.3}.difficulty-choice:hover{border-color:var(--diff-accent);transform:translateY(-3px);box-shadow:0 12px 27px #233c4524}.difficulty-choice.selected{border-color:var(--diff-accent);background:linear-gradient(140deg, color-mix(in srgb, var(--diff-accent) 79%, #162f35), var(--diff-accent));color:#fff;box-shadow:0 13px 28px color-mix(in srgb, var(--diff-accent) 30%, transparent);transform:translateY(-2px)}.difficulty-choice.selected strong,.difficulty-choice.selected small{color:#fff}.difficulty-choice.selected small{opacity:.93}.game-toggle{appearance:none;text-align:left;color:#213c32;cursor:pointer;background:linear-gradient(145deg,#eaf8f0,#fffefa);border:2px solid #157b562e;border-radius:19px;align-items:center;gap:14px;width:100%;min-height:81px;padding:14px 17px;transition:transform .18s,box-shadow .18s;display:flex;box-shadow:0 8px 20px #1e593b14}.game-toggle:hover{transform:translateY(-2px);box-shadow:0 12px 25px #1e593b26}.game-toggle strong{color:#203d31;font-size:.97rem;font-weight:900;display:block}.game-toggle small{color:#627568;font-size:.8rem;line-height:1.4;display:block}.game-toggle-switch{background:#bdcbc5;border-radius:99px;flex:0 0 48px;width:48px;height:28px;transition:background .22s;position:relative;box-shadow:inset 0 2px 4px #00000024}.game-toggle-switch>span{background:#fff;border-radius:50%;width:22px;height:22px;transition:transform .22s;position:absolute;top:3px;left:3px;box-shadow:0 2px 7px #0003}.game-toggle.on{background:linear-gradient(145deg,#e2f7e9,#fffefa);border-color:#58b58d}.game-toggle.on .game-toggle-switch{background:linear-gradient(135deg,#137c56,#1ac386)}.game-toggle.on .game-toggle-switch>span{transform:translate(20px)}.local-setup>.button[type=submit],.computer-setup>.button[type=submit]{color:#fff;background:linear-gradient(135deg,#11593f,#14714f 65%,#147b57);border:0;border-radius:17px;min-height:60px;padding:12px 22px;font-size:1.03rem;font-weight:950;transition:transform .16s,box-shadow .16s,filter .16s;box-shadow:0 13px 28px #0e734c45,inset 0 1px #fff3}.local-setup>.button[type=submit]:hover:not(:disabled),.computer-setup>.button[type=submit]:hover:not(:disabled){filter:saturate(1.08);transform:translateY(-3px);box-shadow:0 18px 32px #0e734c54}.local-setup label,.computer-setup label{color:#27473a;font-weight:750}.local-setup input,.computer-setup input,.computer-setup select{color:#243b32;background:#fff;border-radius:12px;min-height:46px}.local-player-input-row,.computer-opponent-row{background:linear-gradient(145deg,#fffefb,#f2faf6);border:1px solid #dbece2;border-radius:17px;box-shadow:0 5px 13px #1744320f}.local-game-page .game-topline{background:linear-gradient(100deg,#e9f8ee,#fff8df);border:1px solid #d3e6d9;border-radius:19px;box-shadow:0 10px 24px #1d4f3314}.local-game-page .board-shell{background:linear-gradient(145deg,#c8a65a,#fae9b8 47%,#ac8546);border:3px solid #af8e4f;border-radius:18px;padding:9px;box-shadow:0 19px 44px #3a352130,inset 0 0 0 2px #ffffff54}.local-game-page .game-board{border:4px solid #fffffff0;box-shadow:0 8px 21px #392d1d36}.local-game-page .turn-card,.local-game-page .player-panel{color:#203d30;border:1px solid #d2e5da;border-radius:20px;box-shadow:0 15px 32px #1f41311c}.local-game-page .turn-card{background:linear-gradient(165deg,#fff 8%,#f2fbf6 78%,#eaf6ef);border-top:5px solid #1b9469;padding:18px}.local-game-page .turn-card h2,.local-game-page .turn-card p{color:#224532}.local-game-page .turn-label{color:#997010;font-weight:950}.local-game-page .player-panel{background:linear-gradient(155deg,#fffefa,#fff3d9);border-top:5px solid #d0a43b;padding:17px}.local-game-page .player-panel>strong{color:#304335;font-size:1.08rem}.local-game-page .player-row{border:1px solid #0000;transition:transform .17s,background .17s}.local-game-page .player-row.active{background:linear-gradient(90deg,#e2f7e9,#fff3cf);border-color:#b8ddc9;transform:translate(2px)}.local-game-page .player-row>div>strong{color:#1d3d31}.local-game-page .player-row>div>span{color:#677468}.local-game-page .dice-stage{background:linear-gradient(165deg,#f6fdf8,#fff9e9);border:1px solid #dbe9d8;border-radius:18px;min-height:150px}.local-game-page .dice-stage-text{color:#5c7564}.local-game-page .movement-bank{color:#496455;background:linear-gradient(100deg,#eaf8f0,#fffaea);border:1px solid #e3ecda;border-radius:13px;padding:11px 13px;font-weight:750}.local-game-page .movement-bank strong{color:#14805c;font-size:1.07rem}.local-game-page .roll-chain span{color:#674e0d;background:linear-gradient(145deg,#fff4c5,#ffe39a);border:1px solid #d9bd6a;border-radius:10px;box-shadow:0 4px 10px #684f0f1c}.dice-intensity{--energy-a:#329be8;--energy-b:#49c7ea;background:linear-gradient(145deg,#f7fcfa,#fffdf5);border:1px solid #d7e7db;border-radius:17px;margin:12px 0;padding:13px 14px;box-shadow:0 6px 16px #184e360f}.dice-intensity-top{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.dice-intensity-top>span:first-child{color:#264d3b;font-size:.83rem;font-weight:900}.dice-energy-label{color:#2076aa;background:#e3f5ff;border-radius:99px;padding:5px 9px;font-size:.77rem;font-weight:900}.dice-intensity-track{background:linear-gradient(90deg,#e1eef4,#e2ebe4);border-radius:99px;width:100%;height:18px;position:relative;overflow:hidden;box-shadow:inset 0 2px 5px #1d403833}.dice-intensity-track:before{content:"";pointer-events:none;background:repeating-linear-gradient(100deg,#0000 0 20px,#ffffff4d 20px 25px);border-radius:99px;position:absolute;inset:3px}.dice-intensity-track>span{background:linear-gradient(90deg,var(--energy-a),var(--energy-b));width:0;height:100%;box-shadow:0 0 15px color-mix(in srgb,var(--energy-b) 45%,transparent),inset 0 1px 0 #ffffff59;border-radius:99px;transition:width 40ms linear,background .14s;display:block;position:relative}.dice-intensity.charging .dice-intensity-track>span:after,.turn-card[data-charging=true] .dice-intensity-track>span:after{content:"";background:linear-gradient(105deg,#0000 15%,#ffffff8c 47%,#0000 70%);animation:.72s linear infinite bq-charge-shine;position:absolute;inset:0}@keyframes bq-charge-shine{0%{transform:translate(-105%)}to{transform:translate(105%)}}.dice-intensity small{color:#5f7468;font-size:.78rem;font-weight:650}.turn-card[data-roll-power=medium] .dice-intensity{--energy-a:#6750d8;--energy-b:#aa77f0}.turn-card[data-roll-power=strong] .dice-intensity{--energy-a:#e67d25;--energy-b:#f6a22a}.turn-card[data-roll-power=max] .dice-intensity{--energy-a:#e99e16;--energy-b:#ffd64e}.turn-card[data-roll-power=medium] .dice-energy-label{color:#6540ad;background:#eee7ff}.turn-card[data-roll-power=strong] .dice-energy-label{color:#ad5d11;background:#fff0d7}.turn-card[data-roll-power=max] .dice-energy-label{color:#865800;background:#fff1b4}.turn-card .dice-face{background:linear-gradient(145deg,#fffefa,#f2eedf);border:2px solid #b9d8c5;border-radius:21px;transition:background .18s,box-shadow .18s,transform .18s;box-shadow:0 14px 30px #284c3830,inset 0 2px #ffffffde}.turn-card .pip.filled{background:linear-gradient(145deg,#214f3d,#143a31)}.turn-card[data-roll-power=low] .dice-face{background:linear-gradient(145deg,#fff,#d5edff);border-color:#83c8ed;box-shadow:0 15px 31px #2b94da38}.turn-card[data-roll-power=low] .pip.filled{background:#277ab5}.turn-card[data-roll-power=medium] .dice-face{background:linear-gradient(145deg,#fff,#e5d5ff);border-color:#ae8ff0;transform:translateY(-2px)rotate(-2deg);box-shadow:0 15px 33px #6447c745}.turn-card[data-roll-power=medium] .pip.filled{background:#6748c3}.turn-card[data-roll-power=strong] .dice-face{background:linear-gradient(145deg,#fff6e9,#ffce92);border-color:#efa255;transform:translateY(-3px)rotate(2deg)scale(1.03);box-shadow:0 17px 37px #da771b4f}.turn-card[data-roll-power=strong] .pip.filled{background:#b25b12}.turn-card[data-roll-power=max] .dice-face{background:linear-gradient(145deg,#fffadf,#ffd450);border-color:#e8b12a;transform:translateY(-4px)scale(1.06);box-shadow:0 19px 40px #cf961457,0 0 0 7px #fbbf2417}.turn-card[data-roll-power=max] .pip.filled{background:#704d02}.turn-card[data-charging=true][data-roll-power=max] .dice-face{animation:.55s ease-in-out infinite alternate bq-max-glow}@keyframes bq-max-glow{to{filter:brightness(1.075)}}.turn-card .dice-face.rolling{animation:.2s linear infinite bq-dice-roll}.local-game-page .dice-button{color:#fff;background:linear-gradient(135deg,#154d3c,#166d50);border-radius:16px;min-height:61px;font-size:1rem;font-weight:950;transition:transform .16s,filter .16s,box-shadow .16s;box-shadow:0 11px 22px #116c4740}.local-game-page .dice-button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-2px)}.turn-card[data-roll-power=medium] .dice-button{background:linear-gradient(135deg,#50398f,#6845ad);box-shadow:0 11px 24px #5940ad40}.turn-card[data-roll-power=strong] .dice-button{background:linear-gradient(135deg,#93430d,#b45a10);box-shadow:0 11px 24px #bf631545}.turn-card[data-roll-power=max] .dice-button{color:#543500;background:linear-gradient(135deg,#ffd45c,#f9b523);box-shadow:0 11px 27px #ca961945}.turn-card .choice-actions .button:not(.secondary){color:#fff;background:linear-gradient(135deg,#12553d,#167550);border-radius:14px}.turn-card .choice-actions .button.secondary{color:#3b4e95;background:linear-gradient(145deg,#eaf0ff,#fff);border:1px solid #cdd5ed;border-radius:14px}.question-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(150deg,#0d2c21c9,#111e2ec9)}.question-overlay .gameplay-question,.question-overlay .answer-result{color:#253f31;background:linear-gradient(160deg,#fffefa 0%,#fff9eb 100%);border:2px solid #e4c477;border-radius:25px;width:min(730px,100%);padding:clamp(22px,3.3vw,35px);box-shadow:0 28px 74px #0815145c,inset 0 2px #fff}.question-overlay .gameplay-question .question-meta{color:#946b13;letter-spacing:.07em;font-size:.79rem;font-weight:950}.question-overlay .gameplay-question h2{color:#1f3b2f;margin:0 0 22px;font-size:clamp(1.35rem,2.4vw,1.85rem);font-weight:900;line-height:1.42}.question-overlay .answer-options{gap:13px;display:grid}.question-overlay .answer-options button{--answer:#6542b2;--answer-pale:#f1edff;border:2px solid color-mix(in srgb,var(--answer) 22%,white);text-align:left;background:linear-gradient(135deg,var(--answer-pale),#fff 80%);color:#233b32;cursor:pointer;border-radius:17px;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:16px;width:100%;min-height:82px;padding:14px 17px;transition:transform .16s,border-color .16s,box-shadow .16s,background .16s;display:grid;box-shadow:0 8px 19px #213a3012}.question-overlay .answer-options button:nth-child(2){--answer:#1d60af;--answer-pale:#ebf5ff}.question-overlay .answer-options button:nth-child(3){--answer:#13734c;--answer-pale:#eafaef}.question-overlay .answer-options button:nth-child(4){--answer:#a7500f;--answer-pale:#fff3df}.question-overlay .answer-options button strong{background:var(--answer);color:#fff;width:47px;height:47px;box-shadow:0 6px 12px color-mix(in srgb,var(--answer) 23%,transparent);border-radius:14px;place-items:center;margin:0;font-size:1.02rem;font-weight:950;display:grid}.question-overlay .answer-options button span{color:#233b32;overflow-wrap:anywhere;font-size:clamp(.99rem,1.35vw,1.1rem);font-weight:750;line-height:1.42}.question-overlay .answer-options button:hover:not(:disabled),.question-overlay .answer-options button:focus-visible{border-color:var(--answer);background:var(--answer-pale);transform:translateY(-2px);box-shadow:0 13px 25px #1d332d21}.question-overlay .answer-options button:active:not(:disabled){transform:translateY(0)scale(.992)}.question-overlay .answer-options button:focus-visible{outline-offset:3px;outline:3px solid #3982ce40}.question-overlay .answer-result h2,.question-overlay .answer-result p{color:#213b2e}.question-overlay .answer-result.correct{background:linear-gradient(145deg,#effcf4,#fffef6);border-color:#77c6a1}.question-overlay .answer-result.wrong{background:linear-gradient(145deg,#fff3ef,#fffdfa);border-color:#efb7ad}.question-overlay .answer-result .button{color:#fff}.word-search-setup-card{border:1px solid #3483832e;box-shadow:0 16px 39px #22475514}.word-search-game button:focus-visible,.game-choice:focus-visible,.difficulty-choice:focus-visible,.game-toggle:focus-visible{outline-offset:3px;outline:3px solid #64b2ec}@media (prefers-reduced-motion:reduce){.game-choice,.difficulty-choice,.game-toggle,.local-game-page .dice-button,.question-overlay .answer-options button{transition:none;transform:none}.turn-card .dice-face.rolling,.turn-card[data-charging=true][data-roll-power=max] .dice-face,.dice-intensity-track>span:after{animation:none}}@media (width<=900px){.difficulty-choice-row{grid-template-columns:repeat(3,minmax(0,1fr))}.game-settings-board{grid-template-columns:1fr}}@media (width<=660px){.local-setup,.computer-setup{gap:15px;padding:18px}.game-choice-grid.two{grid-template-columns:1fr}.game-choice{min-height:92px;padding:13px 15px}.difficulty-choice-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.difficulty-choice{min-height:93px}.game-choice-heading{display:grid}.question-overlay{padding:12px}.question-overlay .gameplay-question{max-height:calc(100dvh - 24px);padding:19px 15px}.question-overlay .answer-options button{grid-template-columns:42px minmax(0,1fr);gap:12px;min-height:76px;padding:11px 12px}.question-overlay .answer-options button strong{border-radius:11px;width:40px;height:40px}.question-overlay .answer-options button span{font-size:1rem}.local-game-page .turn-card,.local-game-page .player-panel{padding:15px}}:root{font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,sans-serif}html,body,#root{min-width:320px;min-height:100%}
