.island-instruction{flex-wrap:wrap}
.island-instruction>div:first-child{flex:1;min-width:180px}
.island-ruler{flex-basis:100%;width:100%;margin:0 0 8px;font-family:system-ui,sans-serif}
.island-ruler>strong{font-size:12px;display:block;margin-bottom:8px;color:#4d6c61}
.island-ruler>div{display:grid;grid-template-columns:repeat(var(--marks),minmax(0,1fr));border-top:4px solid #cfddcf}
.island-ruler span{font-size:11px;text-align:center;border-left:1px solid #a9bca9;padding:5px 0}
.island-ruler span.built{border-top:4px solid #64b69c;margin-top:-4px;background:#dceee6}
.math-model{max-width:420px;margin:14px auto 24px;padding:12px;border:2px solid #fff;border-radius:18px;background:#f3eefb}
.math-model>strong{display:block;font-size:14px;color:var(--dark)}
.math-model svg{display:block;width:100%;height:auto;margin:10px 0}
.math-model p{font-size:13px;line-height:1.45;margin:0;color:var(--muted)}
.hint-visual .math-model{margin:0;border:0;padding:0}
.profile-reading{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:12px;color:var(--muted)}
.read-button{width:44px;height:44px;min-width:44px;border-radius:50%;padding:0;background:#f2edf9;color:var(--dark);font-size:20px;box-shadow:0 4px 0 #d8d0e7}
.question-tools{gap:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#gameScreen .quest-journey{display:none}
@media(min-width:701px){
 #gameScreen .question-row{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0 22px}
 #gameScreen .question-tools{grid-column:1;grid-row:1;justify-self:end}
 #gameScreen .question{grid-column:1;grid-row:2;max-width:800px;width:100%;font-size:clamp(30px,4vw,44px);line-height:1.18}
}
.collection-launch{float:right;margin-top:-52px;font-size:14px;padding:9px 14px}
.mini-home-preview svg{display:block;width:100%;height:100%;object-fit:cover}
.mini-choices .collectible{padding:12px;text-align:left}
.mini-choices .collectible svg{width:100%;height:auto;border-radius:16px;margin-bottom:14px}
.mini-choices .collectible strong{font-size:20px}
.mini-choices .collectible span{font-size:14px;line-height:1.5;margin:8px 0 14px}
.mini-play{display:block;color:var(--dark);font-size:15px;margin-top:12px}
.collection-preview{margin:16px 0 24px}
.mode-icon{display:block;font-style:normal;line-height:1.2;margin-bottom:7px}
#modeGrid .mode{display:flex;flex-direction:column;justify-content:flex-start}
.learner-identity{min-width:0}
.learner-name-line{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:8px;row-gap:3px}
.current-learner{display:block;margin-top:5px}
.learner-manage>div:not(.learner-actions):not(.learner-identity)>strong{margin-right:8px}
.learning-support{max-width:700px;margin:20px auto 26px;padding:16px 20px;border:2px solid #fff;border-radius:20px;background:#f2edf9;text-align:center}
.learning-support[hidden]{display:none}
.learning-support>strong{color:var(--dark);font-size:16px}
.learning-support>p{margin:8px 0 0;line-height:1.5}
.learning-support .hint-visual{margin:14px 0 0}
@media(max-width:700px){
 #gameScreen{padding:16px 14px 22px}
 #gameScreen .hud{grid-template-columns:70px minmax(0,1fr) 40px;gap:7px}
 #gameScreen .scene{justify-content:flex-start;padding:10px 12px;gap:10px;margin-top:14px;border-radius:18px}
 #gameAvatar .avatar-face{width:44px;height:44px;border-radius:14px;flex-shrink:0;box-shadow:0 3px 0 #d8d0e7}
 #gameAvatar img{width:44px;height:44px;object-fit:cover;border-radius:14px}
 #gameScreen .scene .eyebrow{display:none}
 #gameScreen .scene strong{font-size:16px;line-height:1.3}
 #gameScreen #topicContext{font-size:12px;line-height:1.4;display:block;margin-top:4px}
 #gameScreen .quest-journey{display:none}
 #gameScreen .question-row{grid-template-columns:minmax(0,1fr);position:relative;padding-top:48px;margin:8px 0 14px}
 #gameScreen .question{grid-column:1;font-size:clamp(26px,7.5vw,36px);line-height:1.2;overflow-wrap:normal}
 #gameScreen .question-tools{position:absolute;right:0;top:0}
 #gameScreen .workspace-button{width:44px;height:44px;min-width:44px}
 #gameScreen .visual{margin-bottom:24px}
 #gameScreen .answer{min-height:64px;padding:12px;font-size:27px}
 .learning-support{padding:12px;margin:16px 0 24px;font-size:14px}
 .learning-support .hint-visual{padding:10px;margin-top:10px}
 .learning-support .dot-groups{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px}
 .learning-support .dot-bundle{padding:6px;min-width:0}
 .learning-support .hint-dots{gap:4px;margin:6px}
 .learning-support .dot{width:11px;height:11px}
 .learning-support .hint-caption{font-size:12px;line-height:1.4;margin:8px 0 0}
 #gameScreen #leaveQuest{padding:6px 0;white-space:nowrap;font-size:14px}
}
