.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#mobile-nav-wrap{display:none}
html[data-design="sketch"] #theme{min-width:42px;min-height:42px;display:inline-grid;place-items:center;padding:8px;border-radius:50%;font-size:1.2rem;line-height:1}
#theme svg{width:20px;height:20px;display:block}
#thl{display:grid;grid-template-columns:repeat(auto-fill,minmax(54px,1fr));gap:10px;align-items:center}
#thl>.msg{display:none!important}
#thl .sw{position:relative;justify-content:center;width:54px;height:48px;padding:6px;border:1px solid var(--bd);border-radius:8px;background:var(--card)!important;box-shadow:none}
#thl .swatch-colors{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;width:100%;height:100%;border-radius:5px;border:1px solid color-mix(in srgb,var(--tx) 18%,transparent)}
#thl .swatch-colors i{display:block;width:100%;min-width:0;height:100%;border-radius:0;background:var(--sw)}
#thl .sw.on{outline:2px solid var(--pri);outline-offset:2px;border-color:var(--pri)}
#thl .sw-check{position:absolute;top:2px;inset-inline-end:2px;width:15px;height:15px;display:grid;place-items:center;border-radius:4px;background:var(--pri);color:var(--on);font-size:.65rem;font-weight:900}
html[data-design="modern"] .v.on{animation:page-enter-modern .22s cubic-bezier(.2,.7,.3,1) both}
html[data-design="sketch"] .v.on{animation:page-enter-sketch .32s ease-out both}
.quiz-resume{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px;margin:12px 0;border:1px solid var(--bd);border-radius:10px;background:var(--soft)}
.quiz-resume p{margin:0;color:var(--mut)}.quiz-session-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:14px 0 2px}.quiz-session-actions button{min-height:42px}
@keyframes page-enter-modern{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes page-enter-sketch{from{opacity:0;transform:translateY(8px) rotate(-.25deg)}to{opacity:1;transform:none}}
@media(max-width:720px){
  html[data-design="sketch"] #menu,html[data-design="sketch"] #snd,.design-switch{display:none!important}
  #bnav{display:none!important}
  #mobile-nav-wrap{display:block;position:fixed;z-index:24;bottom:0;inset-inline:0;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--bd);background:var(--card)}
  #mobile-nav{display:block;width:min(100%,560px);min-width:0;height:44px;margin:0 auto;padding:0 12px;border:1px solid var(--bd);border-radius:8px;background:var(--bg);color:var(--tx);font-family:inherit;font-size:.95rem;font-weight:700}
  main{padding-bottom:100px}
  .hd{gap:8px}
  .hd .brand{gap:7px}
  .hd .brand img{width:32px;height:32px}
  .hd .brand small{display:none}
  .hd #theme{flex:none}
}
@media(max-width:380px){#thl{grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:8px}#thl .sw{width:48px;height:44px}.hd .brand b{font-size:1rem}}
@media(prefers-reduced-motion:reduce){html[data-design] .v.on{animation:none!important}}
