@media(min-width:1450px){.shell{max-width:1330px}.layout{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:1000px){.shell{padding:22px}.layout{gap:18px;grid-template-columns:minmax(0,1fr) 310px}.card{padding:20px}.intro h1{font-size:29px}.legend{gap:9px}.board-top span{font-size:9px}}
@media(max-width:760px){.shell{padding:17px 15px}.topbar{padding-bottom:16px}.brandname{font-size:22px}.brandmark{width:39px;height:39px;border-radius:12px}.brand small{font-size:8px;letter-spacing:1.6px}.tools{gap:5px}.iconbtn{width:35px;height:35px;font-size:16px}.tools>.pill,.edition{display:none}.intro{margin:21px 0 18px}.intro h1{font-size:28px}.intro p{font-size:12px;max-width:270px;line-height:1.7}.layout{grid-template-columns:1fr;gap:8px}.board-card{padding:11px;border-radius:22px}.board-wrap{padding:5px;border-radius:15px}.board-top{padding:1px 2px 10px}.board-top strong{font-size:12px}.board-bottom{font-size:9px;padding-top:13px}.legend{gap:12px}.board-note{padding:13px 5px;font-size:11px}.side{gap:12px}.side:has(#setup:not([hidden])){margin-top:3px}.card{padding:21px}.names{grid-template-columns:1fr 1fr}.namefield input{font-size:14px}.turn-card{padding:20px}.turn-who{padding-right:110px}.dice-area{position:absolute;top:21px;right:24px;margin:0}.die{width:61px;height:61px;padding:11px}.pip{width:8px;height:8px}.dice-caption{display:none}.turn-card .primary{margin-top:22px}.status{min-height:0;margin-top:13px}.players-card{padding:18px 20px}.trail-card{display:none}.footer{font-size:9px;line-height:1.8;margin-top:20px}.footer span:last-child{max-width:120px;text-align:right}.modal{padding:26px 21px;border-radius:24px}.modal h2{font-size:25px}.question{font-size:22px}.question.math{font-size:35px}.answer{padding:13px 10px;font-size:13px;gap:7px}.quiz-top{padding-right:15px}.answers{gap:8px}.quiz-bottom{line-height:1.8}.overlay{padding:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}.modal{max-height:calc(100dvh - 28px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
