:root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;color:#173a49;background:#f1f6f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0;line-height:1.6}.shell{max-width:760px;margin:40px auto;padding:0 24px 28px}.brand{display:flex;align-items:center;gap:14px;margin-bottom:26px}.brand-icon{display:grid;place-items:center;background:#137b72;border-radius:15px;width:52px;height:52px;color:white;font-size:30px;font-weight:800}.brand strong{letter-spacing:.08em}.brand div span{display:block;font-size:14px;color:#546b77}.badge{margin-left:auto;font-size:11px;font-weight:700;letter-spacing:.08em;background:#e5efee;border-radius:20px;padding:6px 12px}.lab-note{border-left:4px solid #d09a2b;padding:14px 18px;background:#fff6df;border-radius:8px;font-size:14px;margin-bottom:18px}.card{padding:36px;border-radius:22px;border:1px solid #d3e3e9;box-shadow:0 15px 45px #1a42530a;background:white}.tabs{display:flex;background:#eef4f6;border-radius:12px;padding:5px;gap:6px;margin-bottom:26px}.tabs a{flex:1;text-align:center;text-decoration:none;padding:10px;color:#375667;font-weight:650;border-radius:9px}.tabs a.active{background:#fff;color:#0b7167;box-shadow:0 2px 7px #163a4810}h1{font-size:32px;line-height:1.25;letter-spacing:-.035em;margin:0 0 12px}h2{font-size:19px;margin:0 0 8px}.intro{color:#506a78;margin:0 0 26px;font-size:17px}label,legend{font-weight:650;font-size:15px;display:block;margin:20px 0 7px}input,select{width:100%;min-height:50px;padding:12px 14px;font:inherit;font-size:17px;border:1.5px solid #bcd0d8;border-radius:10px;background:#fff;color:#173a49}input:focus,select:focus{outline:3px solid #98dcd350;outline-offset:2px;border-color:#117c70}fieldset{border:0;padding:0;margin:0}legend{padding:0;float:left;width:100%}.grades{display:flex;gap:12px;clear:both}.grades label{flex:1;margin:0;position:relative}.grades input{position:absolute;opacity:0;width:1px;height:1px}.grades span{display:block;padding:12px;text-align:center;border:1.5px solid #bcd0d8;border-radius:10px;font-size:17px;background:#f8fbfc}.grades input:checked+span{border-color:#167e74;background:#e5f5f0;color:#076258;box-shadow:inset 0 0 0 1px #167e74}.grades input:focus-visible+span{outline:3px solid #a5dcd4}.secret{position:relative}.secret input{padding-right:86px}button,.button{display:block;width:100%;border:0;border-radius:11px;background:#147b71;color:#fff;font:inherit;font-weight:700;font-size:17px;padding:14px;margin-top:22px;cursor:pointer;text-align:center;text-decoration:none}button:hover,.button:hover{background:#0e625a}button:disabled{opacity:.65;cursor:wait}.reveal{position:absolute;right:8px;top:8px;background:#edf4f6;color:#315668;padding:5px 8px;font-size:13px;min-height:34px;width:auto;margin:0}.reveal:hover{background:#d5e8e8}.hint{font-size:13px;color:#607580;margin:9px 0 0}.remember{display:flex;align-items:flex-start;gap:10px;font-size:14px}.remember input{width:18px;min-height:18px;margin-top:3px}.alert{background:#fff0ee;border:1px solid #e9b3ab;padding:14px 16px;border-radius:10px;margin-bottom:20px;color:#8a2d24}.success{background:#edf8f3;border:1px solid #addbcc;padding:16px 18px;border-radius:12px;margin-bottom:20px}.success span{display:block;font-size:14px;margin-top:4px}.eyebrow{font-size:12px;font-weight:750;letter-spacing:.08em;color:#177f72;margin-bottom:12px}.steps{display:flex;gap:10px;margin:26px 0}.steps div{flex:1;text-align:center;border:1px solid #dae7ec;border-radius:12px;padding:14px 8px;font-size:13px}.steps b{display:block;font-size:22px;color:#138275}.next{background:#f3f7fa;padding:20px;border-radius:12px;margin:24px 0}.next p{font-size:14px;margin:0}details{font-size:13px;padding:14px;border:1px solid #dae7ec;border-radius:10px;margin:16px 0}summary{cursor:pointer;font-weight:650}.uid{word-break:break-all;display:block;padding:10px;background:#edf2f5}.secondary{background:#eaf2f5;color:#254e60}.secondary:hover{background:#d8e7ec}footer{font-size:12px;color:#647e88;text-align:center;margin-top:24px}footer a{color:inherit}@media(max-width:520px){.shell{margin:22px auto;padding:0 14px 22px}.card{padding:24px 20px}.badge{font-size:9px;padding:5px 8px}.brand{gap:10px}.brand strong{font-size:14px}.brand div span{font-size:12px}h1{font-size:28px}.grades{gap:8px}.grades span{padding:10px 5px}.steps{gap:6px}}
[hidden]{display:none!important}.shell{max-width:960px}.card{padding:30px}.profile-head{display:flex;gap:15px;justify-content:space-between;align-items:center}.profile-head h1{font-size:27px}.profile-head .intro{font-size:15px;margin-bottom:12px}.points{background:#fff4d3;color:#644506;padding:12px 18px;border-radius:15px;font-weight:850;font-size:24px;white-space:nowrap;text-align:center}.points small{display:block;font-weight:500;font-size:11px}.save-status{padding:10px 14px;border-radius:9px;background:#eaf5f2;color:#176759;font-size:14px;margin:16px 0}.save-status.problem{background:#fff0ea;color:#822a1c}#retry-box{border:1px solid #d8846c;background:#fff8f4;padding:16px;border-radius:12px;margin:14px 0}#retry-box p{margin:0;font-size:14px}.level{border:1px solid #d4e3e9;border-radius:14px;padding:18px;margin:16px 0;background:#f9fcfd}.level h3{margin:0 0 5px;font-size:23px}.level .theme{color:#597581;font-size:13px;margin:0 0 5px}.mode-buttons{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.mode-buttons button{font-size:14px;padding:12px 8px;margin:10px 0 0}.mode-buttons button:disabled{background:#ecf1f4;color:#6b7f88;opacity:1;cursor:not-allowed}.mode-buttons small{display:block;font-size:11px;font-weight:400}.mode-buttons .classic{background:#78519b}.game-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between}.small{width:auto;margin:0;font-size:14px;padding:10px 14px;min-height:44px}.game-stats{display:flex;justify-content:space-between;gap:10px;padding:12px 4px;font-size:14px}.game-stats b{font-size:20px;color:#876009}.game-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.clue{width:240px;max-width:100%;aspect-ratio:1/1;background:#fff;border:2px solid #d8e7ea;border-radius:20px;display:flex;align-items:center;justify-content:center;margin:20px auto;text-align:center;padding:14px;overflow:hidden}.clue img{width:100%;height:100%;object-fit:contain}.clue .meaning{font-size:26px;font-weight:750;color:#255769}.clue .meaning small{display:block;font-size:14px;font-weight:400;color:#657b88}.slots,.letters{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:15px 0}.slots button,.letters button{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:42px;width:48px;min-height:52px;padding:6px;font-size:23px;margin:0;border-radius:10px}.slots button{background:#edf5f7;color:#184a5b;border:1px solid #b7ced9}.letters button{background:#1c8175;box-shadow:0 3px 0 #11594f}.letters button:disabled{opacity:.18;cursor:default}.word-feedback{text-align:center;min-height:1.8em;font-weight:700;color:#19685c}.complete{text-align:center;padding:20px}.medal{font-size:70px;color:#d3970c}.complete h2{font-size:30px}.profile-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.profile-button{background:#eef7f4;color:#155c50;text-align:left;margin:0;padding:16px}.profile-button small{display:block;font-size:12px;font-weight:400}.forget{margin-top:24px;color:#5b6f7a}button:focus-visible,a:focus-visible{outline:3px solid #d49620;outline-offset:3px}@media(max-width:600px){.shell{padding:0 12px}.card{padding:20px 16px}.brand{flex-wrap:wrap}.badge{font-size:9px}.profile-head{display:block}.points{display:inline-block;font-size:21px;margin-bottom:5px}.profile-head h1{font-size:25px}.mode-buttons{grid-template-columns:1fr}.game-stats{font-size:12px}.game-stats b{font-size:17px}.game-actions{gap:6px}.small{padding:9px;font-size:13px}.slots,.letters{gap:6px}.slots button,.letters button{width:40px;min-width:40px;min-height:48px;font-size:21px}.clue{width:205px}.game-toolbar{font-size:13px}.level{padding:14px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.profile-head h1,.profile-button,.level h3{overflow-wrap:anywhere}.playing .shell{margin-top:16px}.playing .brand{margin-bottom:12px}.playing .lab-note{font-size:12px;padding:8px 12px;margin-bottom:12px}.playing .card{padding:20px 26px}.playing .profile-head h1{font-size:22px}.playing .profile-head .intro{margin:0;font-size:13px}.playing .points{padding:7px 12px;font-size:22px}.playing .save-status{margin:10px 0}.playing .clue{width:190px;margin:14px auto}.playing .card>details,.playing .card>form,.playing footer{display:none}@media(max-width:600px){.playing .card{padding:16px 14px}.playing .profile-head h1{font-size:21px}.playing .profile-head{display:flex}.playing .points{font-size:18px;flex:none}.playing .points small{font-size:9px}.playing .clue{width:165px}.playing .game-stats{padding:8px 0;font-size:11px}.playing .brand{gap:8px}}

/* 0.4.0 — Zogo’ya Öğret */
.mode-buttons .teach{background:#1d9a64}.mode-buttons .teach:hover{background:#14784d}.mode-statuses{display:grid;grid-template-columns:1fr 1fr;gap:4px 14px;margin-top:6px}.mode-statuses .hint{margin:0}.teach-prompt{text-align:center;font-weight:750;color:#255769;margin:4px 0 12px}.teach-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:680px;margin:0 auto 12px}.teach-choice{margin:0;min-height:58px;background:#1d9a64;font-size:18px}.teach-choice:hover{background:#14784d}.teach-choice:disabled{opacity:1;cursor:default}.teach-choice.correct{background:#167b6a;box-shadow:inset 0 0 0 3px #9ce0c7}.teach-choice.wrong{background:#b95454;box-shadow:inset 0 0 0 3px #f0b0b0}.teach-clue{border-color:#bee2d2}.playing #teach-panel .clue{width:210px}.playing #teach-panel .word-feedback{margin:10px 0}.mode-buttons button small{line-height:1.25;margin-top:4px}.mode-buttons button:not(:disabled) small{color:#eefcf6}.mode-buttons .classic small{color:#f4ecfb}@media(max-width:600px){.mode-statuses{grid-template-columns:1fr}.teach-options{grid-template-columns:1fr}.teach-choice{font-size:17px;min-height:52px}.playing #teach-panel .clue{width:170px}}

/* 0.6.0 — Pilot yayın; üç oyun tek kodsuz profilde */
.mode-statuses{grid-template-columns:1fr 1fr 1fr}.mode-buttons .speaking{background:#d58a28}.mode-buttons .speaking:hover{background:#ad6915}.mode-buttons .speaking small{color:#fff8e9}.speaking-clue{border-color:#efd19f}.speaking-word{text-align:center;font-size:22px;color:#244f60;margin:6px 0 14px}.speaking-word strong{font-size:30px;color:#b16a13}.speaking-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:560px;margin:0 auto}.speaking-actions button{margin:0}.speaking-heard{text-align:center;min-height:1.3em}.speaking-actions #speaking-mic{background:#d58a28}.speaking-actions #speaking-mic:hover{background:#ad6915}.playing #speaking-panel .clue{width:210px}.playing #speaking-panel .word-feedback{margin:10px 0}.playing #speaking-panel .speaking-word{margin:2px 0 10px}.playing #speaking-panel .speaking-word strong{font-size:26px}@media(max-width:600px){.mode-statuses{grid-template-columns:1fr}.speaking-actions{grid-template-columns:1fr}.playing #speaking-panel .clue{width:170px}.speaking-word{font-size:18px}.speaking-word strong{font-size:25px}}

/* 0.8.0 — Mobil/tablet kalite paketi, başarı reaksiyonu ve reklam alanı */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;background:#f1f6f8}body{min-height:100vh;min-height:100dvh;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);overflow-x:hidden}button,.button,input,select{touch-action:manipulation}.shell{width:100%}.profile-tools{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.sound-toggle{margin:0;min-height:42px;padding:8px 11px;font-size:12px;white-space:nowrap}.game-toolbar #district-label{font-weight:750;text-align:right;overflow-wrap:anywhere}.game-stats{flex-wrap:wrap;align-items:center}.game-stats>span{white-space:nowrap}.mode-buttons button,.teach-choice,.speaking-actions button,.game-actions button,#next,#teach-next,#speaking-next,#speaking-restart{min-height:48px}.word-feedback{font-size:16px;line-height:1.35}.complete button{max-width:520px;margin-left:auto;margin-right:auto}

/* Başarı katmanı oyun alanını kaplamaz; dokunmaları asla yakalamaz. */
.celebration{position:fixed;inset:0;z-index:9999;pointer-events:none;display:grid;place-items:center;opacity:0;visibility:hidden;transition:opacity .16s ease,visibility .16s ease}.celebration.active{opacity:1;visibility:visible}.celebration-message{position:relative;z-index:2;transform:scale(.86);padding:14px 24px;border-radius:999px;background:#fff;color:#146b60;border:3px solid #9bd9cc;box-shadow:0 16px 48px #173a4933;font-size:clamp(30px,8vw,58px);font-weight:950;letter-spacing:.03em;line-height:1;animation:ktsv-pop .6s cubic-bezier(.2,.9,.2,1)}.celebration.big .celebration-message{font-size:clamp(36px,9vw,68px);border-radius:24px}.confetti-layer{position:absolute;inset:0;overflow:hidden}.confetti-piece{position:absolute;left:var(--x);top:-18px;width:10px;height:18px;border-radius:3px;background:#1d9a64;animation:ktsv-confetti var(--fall) ease-in var(--delay) forwards;transform:translate3d(0,-20px,0) rotate(0deg)}.confetti-piece:nth-child(4n+2){background:#d58a28}.confetti-piece:nth-child(4n+3){background:#78519b}.confetti-piece:nth-child(4n+4){background:#e8bd32}@keyframes ktsv-confetti{to{transform:translate3d(var(--drift),110vh,0) rotate(var(--rot));opacity:.9}}@keyframes ktsv-pop{0%{transform:scale(.55);opacity:0}55%{transform:scale(1.08);opacity:1}100%{transform:scale(1)}}

/* AdSense: oyun içeriğinden görsel olarak ayrılmış, dikkat çekmeyen banner alanı. */
.ad-zone{width:min(100%,728px);margin:28px auto 0;text-align:center;min-height:70px;display:flex;flex-direction:column;justify-content:center;align-items:stretch}.ad-label{display:none!important}.ktsv-ad{display:block;width:100%;min-height:90px}.ad-preview-box{min-height:90px;border:1px dashed #cbd8de;border-radius:10px;background:#f8fafb;color:#6f8189;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px}.ad-preview-box strong{font-size:13px}.ad-preview-box small{display:block;margin-top:3px;font-size:10px}.playing .ad-zone{margin-top:28px}

/* Tablet ve telefon: genişlikten çok dokunma alanı, satır kırılması ve dikey alan korunur. */
@media(max-width:820px){.shell{margin:24px auto;padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}.brand{margin-bottom:18px}.card{border-radius:18px;padding:24px}.profile-head{align-items:flex-start}.profile-tools{flex:none}.mode-buttons{grid-template-columns:1fr 1fr}.mode-buttons .speaking{grid-column:1/-1}.mode-statuses{grid-template-columns:1fr}.game-toolbar{gap:10px}.game-stats{justify-content:flex-start;column-gap:18px;row-gap:4px}.clue{width:min(220px,58vw)}.playing .card{padding:18px}.playing .clue{width:min(180px,48vw)}.playing #teach-panel .clue,.playing #speaking-panel .clue{width:min(190px,50vw)}}
@media(max-width:560px){.shell{margin:14px auto;padding:0 max(10px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.brand{gap:9px;margin-bottom:12px}.brand-icon{width:44px;height:44px;border-radius:12px;font-size:25px}.brand div span{font-size:11px}.badge{font-size:8px;padding:4px 7px}.lab-note{font-size:12px;padding:9px 11px;margin-bottom:10px}.card{padding:17px 13px;border-radius:16px}h1{font-size:24px}.profile-head{display:flex;gap:10px;align-items:flex-start}.profile-head>div:first-child{min-width:0;flex:1}.profile-head h1{font-size:21px;margin-bottom:5px}.profile-head .intro{font-size:12px;line-height:1.35;margin:0}.profile-tools{display:flex;flex-direction:column;align-items:stretch;gap:6px}.points{font-size:18px;padding:7px 9px;border-radius:12px}.points small{font-size:9px}.sound-toggle{min-height:38px;padding:7px 8px;font-size:10px}.save-status{font-size:12px;padding:8px 10px;margin:10px 0}.level{padding:13px;margin:12px 0}.level h3{font-size:20px}.mode-buttons{grid-template-columns:1fr;gap:7px}.mode-buttons .speaking{grid-column:auto}.mode-buttons button{margin-top:4px;min-height:52px;font-size:14px}.game-toolbar{align-items:stretch;flex-direction:column}.game-toolbar .small{align-self:flex-start}.game-toolbar #district-label{text-align:left;font-size:13px}.game-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;font-size:11px;padding:8px 0}.game-stats>span{white-space:normal}.game-stats b{font-size:16px}.game-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.game-actions .small{width:100%;min-height:44px}.clue{width:min(180px,54vw);margin:12px auto}.playing .clue,.playing #teach-panel .clue,.playing #speaking-panel .clue{width:min(158px,47vw);margin:9px auto}.slots,.letters{gap:5px;margin:10px 0}.slots button,.letters button{width:38px;min-width:38px;min-height:46px;font-size:20px;padding:4px}.teach-options{gap:7px}.teach-choice{min-height:50px}.speaking-actions{gap:7px}.speaking-actions button{min-height:50px}.speaking-word{margin:2px 0 8px}.speaking-word strong{font-size:24px}.word-feedback{font-size:14px;margin:8px 0}.complete{padding:12px 2px}.medal{font-size:54px}.complete h2{font-size:25px}.playing .card{padding:13px 11px}.playing .brand{margin-bottom:8px}.playing .lab-note{display:none}.playing .profile-head h1{font-size:18px}.playing .profile-head .intro{font-size:11px}.playing .points{font-size:16px}.playing .sound-toggle{font-size:9px}.ad-zone{min-height:96px;margin-top:28px}.playing .ad-zone{margin-top:28px}.ktsv-ad,.ad-preview-box{min-height:82px}}
@media(max-width:380px){.brand div span{display:none}.profile-head{display:block}.profile-tools{margin-top:8px;flex-direction:row;justify-content:flex-start}.points{display:inline-block}.game-stats{grid-template-columns:1fr 1fr}.slots button,.letters button{width:34px;min-width:34px;min-height:43px;font-size:18px}.clue,.playing .clue,.playing #teach-panel .clue,.playing #speaking-panel .clue{width:min(145px,44vw)}.celebration-message{padding:12px 18px}.playing .ad-zone{margin-top:24px}}

/* Telefon/tablet yatay kullanımında soruyu ekranda tut. */
@media(orientation:landscape) and (max-height:560px){.playing .shell{margin-top:6px}.playing .brand{display:none}.playing .lab-note{display:none}.playing .card{padding:10px 14px}.playing .eyebrow{display:none}.playing .profile-head{min-height:40px;align-items:center}.playing .profile-head h1{font-size:16px;margin:0}.playing .profile-head .intro{display:none}.playing .profile-tools{flex-direction:row}.playing .points{font-size:15px;padding:5px 9px}.playing .sound-toggle{min-height:34px}.playing .save-status{padding:5px 8px;margin:6px 0;font-size:10px}.playing .game-toolbar{flex-direction:row;align-items:center}.playing .game-stats{padding:4px 0}.playing .clue,.playing #teach-panel .clue,.playing #speaking-panel .clue{width:112px;margin:5px auto}.playing .slots,.playing .letters{margin:6px 0}.playing .slots button,.playing .letters button{min-height:38px;width:34px;min-width:34px;font-size:17px}.playing .game-actions .small{min-height:36px;padding:6px}.playing .teach-choice,.playing .speaking-actions button{min-height:40px}.playing .word-feedback{min-height:1.3em;margin:4px 0}.playing .ad-zone{margin-top:28px}}

@media(hover:none) and (pointer:coarse){button:hover,.button:hover,.secondary:hover,.teach-choice:hover,.mode-buttons .teach:hover,.mode-buttons .speaking:hover{filter:none}.small{min-height:44px}}
@media(prefers-reduced-motion:reduce){.celebration,.celebration-message,.confetti-piece{animation:none!important;transition:none!important}.confetti-layer{display:none!important}}
/* 0.8.0: shared touch layout, bounded celebration, once-per-profile announcement. */
.card{position:relative;isolation:isolate;overflow:hidden}.card>*{min-width:0}.profile-head h1{overflow-wrap:anywhere}.mode-buttons button,.teach-choice{overflow-wrap:anywhere}.letters,.slots{flex-wrap:wrap;max-width:100%}.letters button,.slots button{min-width:44px;width:44px;min-height:48px}.small,.sound-toggle,.playing .sound-toggle{min-height:44px}.auto-next-note{margin:8px 0;text-align:center;font-size:14px;color:#0d766d;min-height:1.5em}.celebration{position:absolute;inset:0;z-index:30;overflow:hidden;pointer-events:none}.celebration-message{position:absolute;top:clamp(100px,20vh,220px);left:50%;max-width:85%;white-space:normal}.confetti-layer{position:absolute;inset:0;overflow:hidden}.confetti-piece{left:var(--x);max-width:12px}.ad-zone,.playing .ad-zone{margin-top:28px;min-height:70px;padding:0;text-align:center;max-width:100%;overflow:hidden}.ktsv-ad{display:inline-block;width:320px;height:50px;min-height:50px;max-width:none}.ad-preview-box{display:inline-flex;width:320px;max-width:100%;height:50px;min-height:50px;align-items:center;justify-content:center;flex-direction:column;font-size:12px;border:1px dashed #afbdc5;background:#f6f8f9}.ad-preview-box small{font-size:10px}.ad-label{display:none!important}.ad-zone[hidden]{display:none!important}.notice-overlay[hidden]{display:none!important}.notice-overlay{position:fixed;inset:0;z-index:1000;background:rgba(17,35,45,.7);padding:max(14px,env(safe-area-inset-top)) 14px;display:flex;align-items:center;justify-content:center}.notice-dialog{background:#fff;color:#1a3949;border-radius:18px;width:min(640px,100%);max-height:calc(100dvh - 28px);max-height:calc(100vh - 28px);overflow-y:auto;overscroll-behavior:contain;padding:24px;box-shadow:0 16px 60px #0004}.notice-dialog h2{font-size:26px;overflow-wrap:anywhere}.notice-dialog button{width:100%;min-height:48px;margin-top:10px}.notice-body{overflow-wrap:anywhere;line-height:1.55}.notice-body img,.notice-body video{max-width:100%;height:auto;display:block;margin:auto}.notice-body table{max-width:100%;display:block;overflow:auto}.notice-body a{color:#096860;text-decoration:underline}.notice-body pre{white-space:pre-wrap}.notice-dialog iframe{width:100%;aspect-ratio:16/9;border:0;margin-top:12px}.notice-open{overflow:hidden}.notice-dialog :focus-visible{outline:3px solid #f1a53f;outline-offset:3px}.mode-buttons button[data-unavailable="1"]{background:#e9eff2;color:#657e8b;opacity:1;cursor:not-allowed}@media(max-width:600px){.shell{width:100%;box-sizing:border-box}.card{padding:16px 12px}.notice-dialog{padding:18px}.notice-dialog h2{font-size:23px}.letters button,.slots button,.playing .letters button,.playing .slots button{min-width:44px;width:44px;min-height:48px}.game-actions .small,.playing .game-actions .small,.playing .teach-choice,.playing .speaking-actions button{min-height:46px}.teach-options{grid-template-columns:1fr}.speaking-actions{display:grid;grid-template-columns:1fr 1fr}.mode-statuses{display:none}.celebration-message{top:120px}.ad-zone,.playing .ad-zone{margin-top:28px}}@media(max-width:339px){.ad-live{display:none!important}.brand{flex-wrap:wrap}.grades{gap:5px}.grades label span{padding:10px 6px}}@media(orientation:landscape) and (max-height:560px){.playing .game-actions .small,.playing .teach-choice,.playing .speaking-actions button,.playing .letters button,.playing .slots button{min-height:44px}.notice-dialog{max-height:calc(100vh - 20px)}.celebration-message{top:70px}}

/* Small-screen identity stays legible, without squeezing a long pupil name. */
@media(max-width:600px){
 .profile-head,.playing .profile-head{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
 .profile-head>div:first-child{width:100%}.profile-head h1,.playing .profile-head h1{font-size:24px;line-height:1.2}
 .profile-tools,.playing .profile-tools{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;width:100%}
 .profile-tools .points,.playing .profile-tools .points{font-size:21px;padding:8px 14px;flex:0 1 auto}
 .profile-tools .sound-toggle,.playing .profile-tools .sound-toggle{width:auto;min-height:44px;margin:0;white-space:normal;font-size:13px;flex:0 1 150px}
 .profile-head .intro{margin-bottom:0}.notice-dialog{max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px)}
}

/* 0.10.2 — one active district at a time; previous districts stay collapsed. */
.journey-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 14px;margin:10px 0 8px;border:1px solid #d7e6eb;border-radius:14px;background:#f4f9fb;color:#234a5b}
.journey-head strong{font-size:16px;line-height:1.25;color:#0d756a;white-space:nowrap}.journey-head span{font-size:12px;line-height:1.4;color:#617984;text-align:right}
.level.journey-current{border:2px solid #66aa9f;background:linear-gradient(180deg,#fff 0%,#fbfefd 100%);box-shadow:0 8px 22px rgba(19,101,91,.08)}
.journey-current-badge{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;margin:0 0 8px;border-radius:999px;background:#dff4ec;color:#0b6e5e;font-size:11px;font-weight:750;letter-spacing:.01em}
.journey-history{margin:12px 0 4px;border:1px solid #d8e5ea;border-radius:14px;background:#fff;overflow:hidden}.journey-history>summary{cursor:pointer;list-style:none;padding:13px 15px;font-weight:720;color:#31596a;background:#f5f9fb}.journey-history>summary::-webkit-details-marker{display:none}.journey-history>summary::before{content:'▸';display:inline-block;margin-right:7px;transition:transform .15s ease}.journey-history[open]>summary::before{transform:rotate(90deg)}
.journey-history-list{padding:8px 12px 12px}.journey-history .level{margin:8px 0;padding:11px}.journey-history .level h3{font-size:18px}.journey-history .mode-buttons button{min-height:46px}
.journey-next-note{margin:10px 0 2px;padding:10px 12px;border-radius:12px;background:#fff8e5;color:#725514;font-size:12px;line-height:1.4;text-align:center}
@media(max-width:600px){.journey-head{padding:10px 11px;gap:6px;flex-direction:column}.journey-head strong{font-size:15px}.journey-head span{text-align:left;font-size:11px}.level.journey-current{margin-top:8px}.journey-history>summary{padding:12px}.journey-history-list{padding:6px 8px 9px}}
