/* Phone-only version of the profile and colour studio. Keep all desktop controls intact. */
@media(max-width:640px){
 #sheet-explorer.ss-sheet-explorer{padding-block:8px 40px;scroll-margin-top:0}
 #sheet-explorer:has(.ss-sheet-floating) .ss-sheet-heading{margin-bottom:9px}
 #sheet-explorer:has(.ss-sheet-floating) .ss-sheet-heading h2{font-size:clamp(1.32rem,5.5vw,1.7rem);margin:0 0 4px;line-height:1.1}
 #sheet-explorer .ss-sheet-heading h2 br{display:none}
 #sheet-explorer .ss-sheet-mobile-intro{font-size:.74rem;line-height:1.4;color:#b9cfdb;margin:10px 0 0}
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage{padding-block:52px 0}
 #sheet-explorer .ss-sheet-floating .ss-sheet-profile-bar{inset:7px 7px auto;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-profile-bar button{
  min-inline-size:0;min-block-size:39px;padding:3px;font:680 .65rem/1.12 system-ui;text-wrap:balance;
 }
 #sheet-explorer .ss-sheet-floating .ss-sheet-live{top:54px;left:9px;font-size:.58rem;letter-spacing:.105em}
 #sheet-explorer .ss-sheet-floating canvas{height:clamp(172px,25svh,211px)}
 #sheet-explorer .ss-sheet-floating .ss-sheet-live-specs{padding:0 9px 6px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-live-specs::before{display:none}
 #sheet-explorer .ss-sheet-floating .ss-sheet-live-specs strong{font-size:.88rem}
 #sheet-explorer .ss-sheet-floating .ss-sheet-live-specs p{font-size:.69rem;line-height:1.25;margin:3px 0 0}
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage .ss-sheet-controls{
  position:static;margin:0 7px 7px;width:auto;padding:4px;gap:4px;
  grid-template-columns:auto auto minmax(0,1fr);border-radius:7px;box-shadow:none;
 }
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage .ss-sheet-controls :is(#se-play,#se-reset){min-height:36px;padding:3px 6px;font-size:.65rem}
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage #se-play::before{inline-size:6px;block-size:7px;margin-inline-end:4px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage .ss-sheet-controls label{
  grid-column:3;gap:3px;padding:0 3px;font-size:.58rem;min-height:36px;
 }
 #sheet-explorer .ss-sheet-floating .ss-sheet-lower{padding:6px 8px;gap:5px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-lower .ss-sheet-choice-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-lower .ss-sheet-choice-bar button{min-width:0;min-height:34px;padding:3px;font-size:.68rem}
 #sheet-explorer .ss-sheet-floating .ss-sheet-lower strong{font-size:.73rem;color:#d7ebf6}
 #sheet-explorer .ss-sheet-mobile-colours{display:flex;align-items:center;justify-content:space-between;gap:6px}
 #sheet-explorer .ss-sheet-mobile-more{min-height:31px;padding:3px 8px;border:1px solid #49697e;border-radius:5px;color:#e7f7fb;background:#143048;font:700 .65rem/1 system-ui}
 #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatches{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;--chip-height:32px}
 #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatch:not(.ss-sheet-quick-swatch){display:none}
 #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatches .ss-sheet-swatch{min-height:32px;padding:0;grid-template-rows:1fr}
 #sheet-explorer .ss-sheet-quick-ready:not(.ss-sheet-show-all) .ss-sheet-swatch span{display:none}
 #sheet-explorer .ss-sheet-floating .ss-sheet-summary{padding:5px 8px}
}
@media(max-width:360px){
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage .ss-sheet-controls label{font-size:0;gap:0;padding:0 3px}
 #sheet-explorer .ss-sheet-floating .ss-sheet-stage .ss-sheet-controls :is(#se-play,#se-reset){padding-inline:5px}
}
