/* Shared navigation: Play World, English, Maths, and administrator. */
.worldReturn{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:6px;margin:4px 0 24px;background:#f4edf7;border:1px solid #e9deed;border-radius:21px;font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;font-size:13px;font-weight:750;box-shadow:0 5px 14px #795c7906}
.worldReturn a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:8px 5px;margin:0;border:1px solid transparent;border-radius:15px;background:transparent;color:#795c79;text-decoration:none;white-space:nowrap;line-height:1.4;transition:background .15s,color .15s}
.worldReturn a svg{width:18px;height:18px;flex:none}.worldReturn a[aria-current=page]{background:#fff;color:#654a91;border-color:#e7d8ee;box-shadow:0 3px 8px #795c7910}.worldReturn a:hover{background:#fff9fd}.worldReturn a:focus-visible{outline:3px solid #9976bf;outline-offset:2px}
@media(max-width:360px){.worldReturn{gap:2px;padding:4px;font-size:12px}.worldReturn a{gap:4px}.worldReturn a svg{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){.worldReturn a{transition:none}}

/* Matching compact utilities, with a deliberate second row on narrow phones. */
.topbar .topTools,.topbar .headerTools,.worldTools{gap:8px;flex-wrap:wrap}.topbar .headerAction,.topbar .smallBtn,.worldTools button{font-size:12px;line-height:1.4;min-height:44px;padding:10px 12px;white-space:nowrap;color:#795c79;border:1px solid #e9dfea;background:#fff;border-radius:99px;font-weight:750}.topbar .ageBadge,.worldTools>span{font-size:12px;line-height:1.5;padding:10px 12px;white-space:nowrap;color:#795c79;background:#fff;border:1px solid #e9dfea;border-radius:99px}.worldTools>div{display:flex;gap:8px}.worldTools>span{margin-right:auto}.topbar .headerAction:hover,.topbar .smallBtn:hover,.worldTools button:hover{background:#fbf3f8}
@media(max-width:360px){.topbar .topTools,.topbar .headerTools{display:grid;grid-template-columns:1fr 1fr}.topbar .ageBadge{grid-column:1/-1;justify-self:start}.worldTools{justify-content:flex-end}.worldTools>span{flex-basis:100%;background:transparent;border:0;text-align:left;padding:0 0 5px}}
