/* Phone layout; desktop styles are intentionally outside this breakpoint. */
.mobile-instructions{display:none}
@media(max-width:600px){
/* Homepage */
body:has(.topbar){overflow-x:clip}
.topbar,body:has(.topbar) main,body:has(.topbar) footer{width:calc(100% - 24px)}
.topbar{gap:8px;padding:12px 10px 6px;margin:8px auto 12px;min-height:0;flex-direction:column}
.topbar .wordmark{font-size:29px;letter-spacing:-1px}.wordmark-the{font-size:14px}
.topbar nav{gap:22px}.topbar nav a{font-size:13px;padding:10px 0;min-height:44px}
.hero-copy{margin-top:16px;padding:0 8px}.hero-copy .eyebrow{font-size:9px;letter-spacing:1.5px}
.hero-copy h1{font-size:clamp(23px,6.4vw,30px);line-height:1.12;margin:10px 0}
.hero-copy p{font-size:15px;line-height:1.5;margin-bottom:15px}.hero-links{gap:9px;flex-direction:column}
.hero-links .button{width:100%;max-width:340px;min-height:48px;padding:13px 15px}.quiet-link{min-height:44px;display:flex;align-items:center;font-size:13px}
.tavern-hero{padding-bottom:18px}.noticeboard{padding:20px 13px}.noticeboard h2{font-size:23px;line-height:1.2;margin-bottom:22px}
.notices{gap:18px}.note{display:grid;grid-template-columns:82px minmax(0,1fr);gap:6px 12px;align-items:center;padding:16px 12px}
.note-heading{grid-column:2;grid-row:1;min-height:0;gap:6px}.note-heading br{display:none}.note-heading br::after{content:' '}.note h3{font-size:18px;line-height:1.15;letter-spacing:-.3px}.note .number{font-size:18px;width:18px;height:24px;flex-shrink:0}
.note>img{grid-column:1;grid-row:1/3;height:96px;margin:0;max-width:100%}.note p{grid-column:2;grid-row:2;font-size:12px;line-height:1.5;margin:0}.pin{width:11px;height:11px;top:-5px}
.save-note{font-size:11px;margin:17px 0 12px}.noticeboard>.button{width:100%;font-size:16px;min-height:48px;padding:13px}
.community{gap:22px;padding:28px 8px}.community h2{font-size:25px;margin:8px 0}.community p{font-size:14px;line-height:1.6}.community .button{width:100%;min-height:48px}
.tavern-photo{max-width:280px}.streams{padding:26px 8px}.streams h2{font-size:23px}.streams>p{font-size:14px}.platforms{grid-template-columns:1fr;gap:10px;margin-top:18px}.platforms a{flex-direction:row;justify-content:space-between;padding:12px 16px;gap:12px}.platforms img{height:35px;width:100px}.platforms span{font-size:12px}
body:has(.topbar) footer{padding:18px 8px;gap:16px;font-size:12px}#edge-atmosphere{opacity:.85}
/* Creator */
.site-nav{padding:10px 12px;gap:8px;flex-wrap:wrap;justify-content:center}.site-nav .wordmark{font-size:23px}.nav-links{gap:14px}.nav-links a{font-size:12px;min-height:44px;display:flex;align-items:center}
.workshop-intro{margin:12px auto;padding:0 12px}.workshop-intro .eyebrow{font-size:8px;letter-spacing:1.2px}.workshop-intro h1{font-size:23px}.workshop-intro>p:last-child{display:none}
body:has(.site-nav) main{display:flex;flex-direction:column;margin:0 8px;padding:8px;gap:14px;border-radius:12px;min-width:0}
.workspace{width:100%;position:sticky;top:0;z-index:5;background:#0d150f;border-radius:10px;padding:5px 6px 8px;overflow:visible;box-shadow:0 5px 10px #0005}
.top{padding:0 2px 5px;gap:8px}.top h1{font-size:16px!important}.top small{display:none}
.canvas{width:min(100%, 32svh, 280px);margin:0 auto;border-radius:10px}.canvas svg{width:100%;height:auto}
.desktop-instructions{display:none}.mobile-instructions{display:block}.foot{font-size:11px;line-height:1.3;padding:5px 0 0;text-align:center}
.download-dock{margin:6px 0 0;gap:7px}.download-dock .primary,.download-dock #reset{min-height:44px;padding:8px;font-size:14px;border-radius:8px;box-shadow:none}.download-dock #reset{font-size:12px}.download-dock #status:empty{display:none}.download-dock #status{font-size:11px;min-height:0}
aside{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;padding:0;align-items:stretch}
.wardrobe-title{padding:0}.wardrobe-title span{display:none}.wardrobe-title h2{font-size:18px!important;margin:0!important}
.tabs{display:flex;flex-direction:row;flex-wrap:nowrap;gap:7px;overflow-x:auto;max-width:100%;padding:3px 2px 8px;scrollbar-width:thin;scrollbar-color:#6baa46 #101916;overscroll-behavior-x:contain}
.tabs button,.tabs button:last-child{flex:0 0 auto;min-height:44px;white-space:nowrap;font-size:13px;padding:10px 14px;border-radius:8px;box-shadow:none}
aside>[role=tabpanel],#panel-effects{width:100%;min-width:0;min-height:0;max-height:none;overflow:visible;padding:14px;border-radius:10px}
aside h2{font-size:18px!important}.field{margin-bottom:16px}label{font-size:13px}.hint{font-size:12px;line-height:1.5}select,input[type=number]{font-size:16px;min-height:44px}.row input[type=number]{width:76px;flex-shrink:0}.row input[type=range]{min-width:0}input[type=range]{min-height:44px}input[type=color]{min-height:44px}
.headwear-choices,.eye-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;max-height:none;overflow:visible}.headwear-choices button{font-size:11px;min-height:100px;padding:6px 4px}.headwear-choices img{height:65px}.eye-choices button{min-height:74px;font-size:11px}.eye-choices svg{height:35px}
.layer-drawer{padding:10px 12px}.layer-drawer summary{min-height:44px;display:flex;align-items:center}.layer-drawer .buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.workshop-footer{padding:14px 15px 24px;font-size:11px;gap:12px}
}
@media(max-width:600px) and (max-height:550px){.workspace{position:static}.canvas{width:min(100%,260px)}}
