:root{font-family:Tahoma,Arial,sans-serif;color:#10384b;background:#eaf5f5;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-height:100dvh;padding:24px;background:radial-gradient(circle at 12% 5%,#b3e7e9,transparent 40%),linear-gradient(145deg,#edf9f7,#e4f2f6)}button,select{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #f6b849;outline-offset:3px}.eyebrow{color:#078d9c;font-size:12px;font-weight:800;letter-spacing:.02em}.hub-body{display:grid;place-items:center}.hub-shell,.play-shell{width:min(100%,900px);margin:auto;background:#fff;border:1px solid #d8ebee;border-radius:28px;box-shadow:0 24px 72px #0e4b5c20;overflow:hidden}.hub-hero{min-height:225px;padding:38px 50px 15px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;background:linear-gradient(130deg,#073e58,#0796a4)}.hub-hero h1{font-size:clamp(25px,4vw,40px);margin:9px 0}.hub-hero p{color:#e2fbfa;line-height:1.9;margin:0}.hub-hero .eyebrow{color:#b7f5dd}.hero-mascot{height:190px;object-fit:contain;filter:drop-shadow(0 12px 12px #042f4770)}.game-list{display:grid;gap:14px;padding:30px 36px}.game-tile{min-height:118px;display:flex;align-items:center;gap:20px;padding:17px 22px;border:2px solid #d9ebef;border-radius:20px;background:#f8fcfc;text-decoration:none;transition:transform .15s,border-color .15s,box-shadow .15s}.game-tile:hover{transform:translateY(-2px);border-color:#08a5b5;box-shadow:0 12px 24px #087f9120}.game-tile strong{display:block;font-size:20px}.game-tile small{display:block;line-height:1.8;color:#597988;margin-top:5px}.game-tile>b{margin-right:auto;color:#078d9c;font-size:25px}.tile-icon{width:66px;height:66px;display:grid;place-items:center;flex:none;border-radius:18px;background:#d8f5f0;color:#087f91;font-size:32px;font-weight:900}.escape-tile .tile-icon{background:#ffe5ae}.hub-foot{text-align:center;margin:0 0 28px;color:#78949b;font-size:12px}.play-shell{max-width:740px;position:relative}.play-header{display:flex;align-items:center;gap:16px;padding:14px 25px;color:white;background:linear-gradient(120deg,#073e58,#078e9e)}.play-header h1{font-size:25px;margin:2px 0}.play-header .eyebrow{color:#bbefe8;font-size:10px}.back-link{align-self:center;white-space:nowrap;padding:10px 13px;border:1px solid #c6fcf488;border-radius:12px;color:white;text-decoration:none;font-size:13px;font-weight:700}.back-link:hover{background:#ffffff20}.small-mascot{height:72px;margin-right:auto;object-fit:contain}.play-content{padding:26px 30px 34px;transition:filter .15s}.control-panel,.quiz-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:16px}.control-panel label{font-weight:700;font-size:13px}.control-panel select{padding:10px 15px;border:1px solid #b5d9dd;border-radius:12px;background:#f8fcfb;color:#10384b}.timer-chip{padding:10px 14px;border-radius:12px;background:#e0f3f0;color:#087d8f;font-weight:900;font-variant-numeric:tabular-nums}.outline-button,.primary-button{border-radius:12px;padding:10px 15px;min-height:43px;font-weight:800}.outline-button{border:1px solid #95cbd2;background:#fff;color:#0b7181}.outline-button:hover{background:#eefafa}.primary-button{border:0;background:#078c9e;color:#fff;box-shadow:0 4px 0 #086c7a}.primary-button:hover{background:#067c8d}.play-message{min-height:23px;margin:10px 0 17px;color:#537985;font-size:13px;line-height:1.8}.play-message.success{color:#0b8a6b}.play-message.error{color:#c04242}.sudoku-grid{width:min(100%,504px);aspect-ratio:1;margin:0 auto;display:grid;grid-template-columns:repeat(9,1fr);direction:ltr;border:3px solid #104d65;border-radius:7px;overflow:hidden;background:#104d65;box-shadow:0 10px 28px #0e597326}.sudoku-cell{min-width:0;min-height:0;border:0;border-right:1px solid #b9d5d9;border-bottom:1px solid #b9d5d9;background:#fff;color:#087f91;font-size:clamp(16px,4vw,26px);font-weight:800;text-align:center}.sudoku-cell.given{background:#e9f5f5;color:#183e56}.sudoku-cell.peer{background:#edf8f7}.sudoku-cell.same{background:#d4f1ed}.sudoku-cell.selected{background:#ffe2a2;color:#17445a}.sudoku-cell.invalid{color:#d84747;background:#ffe6e3}.sudoku-cell:nth-child(3n){border-right:3px solid #104d65}.sudoku-cell:nth-child(n+19):nth-child(-n+27),.sudoku-cell:nth-child(n+46):nth-child(-n+54){border-bottom:3px solid #104d65}.sudoku-cell:nth-child(9n){border-right:0}.sudoku-cell:nth-child(n+73){border-bottom:0}.number-pad{width:min(100%,504px);display:grid;grid-template-columns:repeat(9,1fr);gap:5px;margin:16px auto}.number-pad button{min-width:0;aspect-ratio:1;border:1px solid #a8d4d8;border-radius:10px;background:#effafa;color:#087f91;font-size:20px;font-weight:900}.number-pad button:hover{background:#d3f0e9}.play-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.play-shell.paused .play-content{filter:blur(24px);pointer-events:none;user-select:none}.pause-cover{position:absolute;inset:82px 0 0;z-index:5;display:grid;place-items:center;padding:20px;background:#073e58eb}.pause-card{width:min(100%,360px);padding:22px;text-align:center;border-radius:24px;background:#fff;box-shadow:0 20px 40px #01293865}.pause-card img{height:130px;object-fit:contain}.pause-card h2{margin:8px 0;color:#10384b}.pause-card p{color:#537985;line-height:1.8}.pause-card button{display:block;width:100%}.pause-card a{display:inline-block;margin-top:18px;color:#087f91;font-weight:700}.quiz-meta{justify-content:space-between;font-size:13px;font-weight:800}.quiz-meta .timer-chip{margin-right:auto}.time-track{height:9px;border-radius:9px;background:#e2eff0;overflow:hidden;margin:0 0 20px}.time-track>div{height:100%;width:100%;background:linear-gradient(90deg,#0b9eaa,#ffd36d);transition:width .15s linear}.question-card{min-height:380px;padding:26px;border:1px solid #d4e9ed;border-radius:22px;background:#f9fdfc}.question-kind{margin:0;color:#078c9e;font-size:12px;font-weight:800}.question-card h2{font-size:clamp(19px,3vw,25px);line-height:1.8;margin:9px 0 18px}.answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer{min-height:68px;padding:12px;text-align:right;border:2px solid #d8e9ec;border-radius:14px;background:#fff;color:#183e56;line-height:1.7;font-size:14px}.answer:hover:not(:disabled){border-color:#0a9cab;background:#effcf9}.answer.correct{border-color:#1aa67f;background:#dbf6e8}.answer.wrong{border-color:#d66363;background:#fee8e7}.answer:disabled{cursor:default}.source-note{font-size:11px;line-height:1.8;color:#75919a}.result-card{text-align:center}.result-card img{height:140px}.result-card h2{margin:10px 0}.result-card p{line-height:1.9}.result-card .primary-button{margin:8px}.result-card a{display:inline-block;margin:15px;color:#087f91;font-weight:800}
@media(max-width:650px){body{padding:0}.hub-shell,.play-shell{border-radius:0;min-height:100dvh}.hub-hero{padding:28px 23px;min-height:185px}.hub-hero p{font-size:13px}.hero-mascot{height:140px}.game-list{padding:20px 15px}.game-tile{min-height:105px;padding:12px}.tile-icon{width:55px;height:55px}.play-header{padding:10px 14px}.play-header h1{font-size:20px}.small-mascot{height:60px}.play-content{padding:16px}.control-panel{gap:7px}.control-panel label{width:100%}.control-panel .outline-button{padding:8px;font-size:12px}.answers{grid-template-columns:1fr}.question-card{padding:17px}.answer{min-height:55px}.pause-cover{inset:72px 0 0}}
.question-scan{max-width:100%;overflow-x:auto;overflow-y:hidden;margin:8px 0 13px;border:1px solid #d8e9ec;border-radius:12px;background:#fff;scrollbar-color:#8bc5ca #eff8f8}
.question-scan-viewport{position:relative;overflow:hidden;background:#fff}
.question-scan-viewport img{position:absolute;max-width:none;height:auto;user-select:none}
.question-number-mask{position:absolute;background:#fff;pointer-events:none}
.scan-hint{display:none;margin:0 0 13px;color:#537985;font-size:12px}
@media(max-width:650px){.scan-hint{display:block}.question-card{padding:12px}.answer{min-height:50px}}
@media(max-width:380px){.hero-mascot{height:110px}.hub-hero h1{font-size:22px}.game-tile{gap:9px}.game-tile strong{font-size:17px}.number-pad button{font-size:16px}.control-panel .timer-chip{font-size:12px}}
.hub-back{display:block;width:max-content;margin:0 auto 25px;padding:11px 18px;border:1px solid #b9dce0;border-radius:12px;color:#087f91;font-size:13px;font-weight:800;text-decoration:none;background:#f6fbfb}.hub-back:hover{background:#e8f8f6;border-color:#078d9c}
