/* A blue sketchbook with bright, tactile controls and white drawing surfaces. */
select { font:inherit; color:inherit; }
.site-header { height:auto; min-height:72px; flex-wrap:wrap; justify-content:space-between; padding-block:10px; }
.site-header nav { display:flex; gap:clamp(10px,2vw,28px); align-items:center; margin-left:auto; padding:8px; }
.site-header nav a { position:relative; isolation:isolate; overflow:hidden; display:block; padding:8px 18px; color:var(--ink); text-decoration:none; font-size:17px; border:2px solid var(--ink); border-radius:999px; box-shadow:0 3px 0 #173c72; transition:transform .2s; }
.site-header nav a[data-route=home] { background:var(--red); }
.site-header nav a[data-route=canvas] { background:var(--green); }
.site-header nav a[data-route=gallery] { background:var(--yellow); }
.site-header nav a::after { content:''; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none; background:repeating-linear-gradient(-45deg,#142d4829 0 3px,transparent 3px 10px); mask-image:repeating-linear-gradient(45deg,#000 0 6px,transparent 6px 10px); }
.site-header nav a[aria-current] { transform:scale(1.09); color:var(--ink); }
.site-header nav a[aria-current]::after { display:none; }
.site-header nav a:hover,.site-header nav a:focus-visible { transform:scale(1.09); }
.site-header nav a:hover::after,.site-header nav a:focus-visible::after { animation:dash-drift 3s linear infinite; }
@keyframes dash-drift { to {background-position:28.284271px 0;mask-position:28.284271px 0;} }
.home-view { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; width:100%; margin:auto; min-width:0; padding:30px 0; }
.home-hero { display:grid; grid-template-columns:1.25fr .85fr; align-items:center; gap:clamp(28px,4vw,64px); width:min(1600px,calc(100% - 2 * clamp(14px,3vw,42px))); margin-inline:auto; padding-inline:16px; min-width:0; }
.home-gallery { min-width:0; }
.home-gallery .feed-heading { margin-top:0; }
.home-gallery .feed-heading,.home-gallery .feed-status { padding-inline:clamp(14px,3vw,42px); }
.home-title h1 { font-size:clamp(62px,7.8vw,128px); margin:18px 0 22px; letter-spacing:-2px; }
.home-title>p:last-child { font-size:clamp(15px,1.5vw,20px); line-height:1.8; color:#f0f7ff; }
.home-title .eyebrow { letter-spacing:1.8px; }
.home-art { min-width:0; }
.start-sketch { padding:0; width:min(100%,clamp(280px,50dvh,520px)); aspect-ratio:1; margin-inline:auto; position:relative; display:block; border:2px solid var(--ink); background:var(--yellow); border-radius:18px; overflow:hidden; text-align:left; box-shadow:5px 6px 0 #173c72; transition:transform .2s; }
.start-sketch img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; opacity:.62; }
.start-sketch>span { position:absolute; left:18px; right:18px; bottom:18px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px; background:var(--yellow); border:2px solid var(--ink); border-radius:12px; font-size:clamp(18px,2vw,28px); line-height:1.3; }
.feed-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:28px 0 12px; }
.feed-heading h2 { font-size:14px; font-weight:400; margin:0; color:#fff; }
.motion-button,.text-button { border:0; background:none; color:#64715c; text-decoration:underline; text-underline-offset:4px; padding:6px 3px; font-size:11px; }
.feed-status { font-size:12px; color:#f0f7ff; }
.empty-state { display:grid; place-content:center; text-align:center; min-height:160px; margin:0; padding:25px; border:1px dashed #b8c2a7; border-radius:8px; color:#738267; line-height:1.8; }
.art-feed { overflow:hidden; min-width:0; min-height:0; position:relative; }
.horizontal-feed { mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.horizontal-feed .feed-track,.horizontal-feed .feed-group { display:flex; width:max-content; }
.feed-track { will-change:transform; animation:feed-horizontal 70s linear infinite; }
.feed-group { gap:14px; padding-right:14px; flex-shrink:0; }
.feed-card { width:215px; flex-shrink:0; }
.feed-card img { aspect-ratio:3/2; object-fit:contain; }
.motion-paused .feed-track,.artwork-open .feed-track { animation-play-state:paused; }
@keyframes feed-horizontal {to {transform:translateX(-50%);} }
@keyframes feed-vertical {to {transform:translateY(-50%);} }
.gallery-view { overflow:auto; scrollbar-gutter:stable; padding:25px 5px 50px; }
.gallery-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.gallery-heading h1 { font-size:44px; margin-top:9px; color:#fff; }
.gallery-filters { display:flex; flex-wrap:wrap; gap:16px; align-items:start; padding:16px 20px; background:#e8ecd9; border:1px solid #dce1cd; border-radius:8px; margin-bottom:24px; }
.gallery-filters label,.character-filter { display:flex; flex-direction:column; gap:8px; font-size:12px; }
.gallery-filters input,.gallery-filters select { background:#fdfcf8; border:1px solid #c3cdb6; border-radius:5px; height:40px; padding:8px 12px; min-width:190px; font-size:14px; }
.gallery-filters>label:last-child { margin-left:auto; }
.character-filter { position:relative; }
#character-suggestions { position:absolute; z-index:10; top:65px; left:0; right:0; max-height:min(280px,45dvh); overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; scrollbar-color:#7893ae #e8f0f8; list-style:none; margin:0; padding:5px; background:#fdfcf8; border:1px solid #b5c0a9; border-radius:5px; box-shadow:0 8px 18px #253c3817; }
#character-suggestions button { width:100%; padding:10px; text-align:left; border:0; background:transparent; font-size:14px; }
#character-suggestions button:hover,#character-suggestions button:focus { background:#e8ecd9; }
.character-no-match { padding:10px; font-size:14px; color:#45627e; }
#clear-character { align-self:flex-start; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); gap:22px; }
.painting-card { position:relative; min-width:0; border:1px solid #d5d8c9; padding:10px; border-radius:6px; background:#fffef9; }
.painting-open { display:block; width:100%; padding:0; border:0; background:#fff; overflow:hidden; }
.painting-card img { display:block; width:100%; height:auto; background:#fff; aspect-ratio:3/2; object-fit:contain; border:1px solid #ecebe2; }
.painting-open:hover img { filter:brightness(.98); }
.painting-footer { display:flex; gap:8px; align-items:center; justify-content:space-between; margin-top:10px; }
.painting-name { font-size:13px; overflow-wrap:anywhere; }
.star-button { display:flex; gap:6px; align-items:center; justify-content:center; border:1px solid transparent; border-radius:4px; min-width:55px; min-height:36px; padding:0 5px; background:transparent; }
.star-symbol { font:26px Georgia,serif; color:#a3a798; }
.star-button[aria-pressed=true] .star-symbol { color:#e9b82b; text-shadow:0 1px #bb931f; }
.star-button:hover { background:#f4f0df; }
.star-count { font-size:12px; }
#gallery-status { font-size:13px; color:#68745e; }
#load-more { display:flex; margin:28px auto 0; }
.admin-panel { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:18px; padding:12px; border:1px dashed #b18f7c; border-radius:5px; font-size:12px; }
.painting-select { position:absolute; top:16px; left:16px; padding:5px; background:#fffaf1; border-radius:4px; }
.painting-select input { width:20px; height:20px; accent-color:var(--green); }
.button-danger { color:var(--ink); background:var(--red); border-color:var(--ink); }
.artwork-dialog { width:min(1000px,92vw); max-height:92dvh; overflow:auto; padding:30px; border:1px solid #bfc8b2; border-radius:10px; background:#f5f3ec; color:var(--ink); }
.artwork-dialog h2 { font-size:30px; font-weight:400; margin:0 40px 8px 0; }
.artwork-dialog>p { line-height:1.6; font-size:13px; color:#69765f; }
dialog::backdrop { background:#1e312baa; backdrop-filter:blur(3px); }
.dialog-close { position:absolute; top:9px; right:12px; border:0; background:transparent; font:30px Georgia,serif; padding:3px 9px; }
.expanded-card img { max-height:65dvh; }
#expanded-delete { margin-top:14px; }
#admin-form { display:grid; gap:10px; }
#admin-form input { width:100%; border:1px solid #bfc9b2; border-radius:5px; min-height:40px; padding:8px; }
#admin-form label { font-size:13px; }
#admin-error { font-size:12px; color:#923e32; }
#draw-view { grid-template-rows:auto minmax(0,1fr); }
.studio-sidebar { align-self:start; display:grid; gap:10px; min-width:0; }
.tools-panel { align-self:start; }
.drawing-actions { margin:0; display:flex; justify-content:flex-end; }
.drawing-actions .button { width:100%; min-width:0; }
.play-reminder { padding:16px; border:2px solid var(--ink); border-radius:12px; background:var(--yellow); color:var(--ink); }
.play-reminder h2 { margin:0; font-size:22px; font-weight:400; line-height:1.25; }
.play-reminder p { margin:8px 0 0; font-size:14px; line-height:1.5; }
.tool-rail { padding-block:12px; gap:3px; }
.tool-button { padding-block:9px; }
.rail-label { margin-bottom:4px; }
.tool-options-wrap { padding-bottom:14px; }
.publish-notice { font-size:11px; line-height:1.5; color:#617455; margin:10px 0; }
.keep-view { grid-template-rows:auto minmax(0,1fr) auto; gap:14px; }
.reveal-layout { display:grid; grid-template-columns:minmax(130px,210px) minmax(0,1fr) minmax(130px,210px); gap:24px; min-height:0; }
.reveal-layout .artwork-slot { min-width:0; min-height:0; }
.vertical-feed { mask-image:linear-gradient(transparent,#000 7%,#000 93%,transparent); }
.vertical-feed .feed-track { animation-name:feed-vertical; }
.vertical-feed .feed-group { display:flex; flex-direction:column; padding:0 0 14px; }
.vertical-feed .feed-card { width:100%; }
#reveal-right .feed-track { animation-duration:83s; }
#reveal-mobile { display:none; }
body[data-route=home] main { overflow:auto; }
body[data-route=home] .app-shell { padding-inline:0; }
body[data-route=home] .site-header { margin-inline:clamp(14px,3vw,42px); }
@media(max-width:900px) {
  .reveal-layout { grid-template-columns:140px minmax(0,1fr) 140px; gap:12px; }
  .home-hero { gap:25px; padding-inline:0; }
  .home-title h1 { font-size:clamp(48px,7.5vw,75px); }
}
@media(max-width:850px) {
  .workspace { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr) auto; }
  .studio-sidebar { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; }
  .play-reminder { grid-column:1/-1; display:flex; align-items:center; gap:14px; padding:10px 12px; }
  .play-reminder h2 { flex-shrink:0; font-size:18px; }
  .play-reminder p { margin:0; line-height:1.4; }
  .tools-panel { grid-template-columns:1fr; }
  .tool-rail { flex-direction:row; justify-content:center; padding:4px 8px; gap:10px; border-right:0; border-bottom:1px solid var(--line); }
  .tool-button { flex-direction:row; padding:5px; gap:5px; font-size:10px; }
  .rail-label,.rail-divider,.options-heading { display:none; }
  .tool-options-wrap { padding:8px 12px; }
  #tool-options { display:grid; grid-template-columns:1fr 1fr 1.4fr; gap:16px; align-items:center; }
  .option-group+.option-group { margin-top:0; }
  .option-label { margin-bottom:5px; font-size:10px; }
  .size-buttons button { width:28px; height:27px; }
  .color-palette { grid-template-columns:repeat(6,minmax(0,1fr)); gap:4px; }
  .palette-swatch { width:17px; height:17px; }
  .range-labels,.range-ticks { display:none; }
  .drawing-actions .button { max-width:110px; line-height:1.5; padding:10px; }
}
@media(max-width:640px) {
  .site-header { min-height:54px; gap:0; padding:6px 0; }
  .site-header nav { gap:8px; padding:6px 4px; }
  .site-header nav a { padding:6px 7px; font-size:13px; }
  .brand { font-size:27px; }
  .home-view { padding:22px 0; gap:20px; }
  .home-hero { grid-template-columns:1fr; width:calc(100% - 28px); padding-inline:5px; gap:20px; }
  .home-title h1 { font-size:62px; margin:12px 0; }
  .home-title>p:last-child { font-size:13px; line-height:1.6; }
  .home-title>p:last-child br { display:none; }
  .home-title .eyebrow { font-size:9px; }
  .start-sketch { width:100%; aspect-ratio:auto; height:210px; }
  .start-sketch>span { font-size:18px; padding:14px; }
  .feed-heading { margin-top:23px; }
  .feed-heading h2 { font-size:12px; }
  .feed-card { width:175px; }
  .gallery-view { padding-top:18px; }
  .gallery-heading h1 { font-size:35px; }
  .gallery-filters { gap:12px; padding:12px; }
  .gallery-filters>label,.character-filter { flex:1; min-width:0; }
  .gallery-filters>label:last-child { flex-basis:100%; }
  .gallery-filters input,.gallery-filters select { width:100%; min-width:0; font-size:12px; }
  .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .painting-card { padding:6px; }
  .painting-name { font-size:10px; }
  .painting-footer { flex-wrap:wrap; gap:0; margin-top:5px; }
  .star-button { margin-left:auto; min-height:30px; }
  .studio-sidebar { grid-template-columns:1fr; gap:6px; }
  .drawing-actions .button { max-width:none; width:auto; min-height:32px; padding:5px 12px; font-size:11px; }
  .tool-rail { gap:8px; }
  #tool-options { gap:9px; grid-template-columns:1fr 1fr 1.3fr; }
  .size-buttons button { width:23px; }
  .size-buttons button span { max-width:20px; max-height:20px; }
  .tool-options-wrap { padding:7px 9px; }
  .palette-swatch { width:14px; height:14px; }
  .option-label>span,.option-label>output { font-size:8px; }
  .publish-notice { font-size:10px; margin:6px 0; }
  .reveal-layout { display:block; }
  #reveal-left,#reveal-right { display:none; }
  #reveal-mobile { display:block; margin:8px 0; }
  body[data-route=canvas][data-stage=keep] main { overflow:auto; }
  .keep-view { display:flex; flex-direction:column; min-height:0; padding-bottom:20px; }
  .keep-view .artwork-slot { display:block; container-type:normal; }
  .keep-view .photo-frame { width:100%; max-width:100%; }
  .finished-actions { flex-wrap:wrap; }
  .artwork-dialog { padding:22px 12px; }
  .artwork-dialog h2 { font-size:24px; }
}
@media(max-width:430px) {
  .site-header nav { flex-basis:100%; justify-content:flex-end; padding-block:4px; }
  .site-header { min-height:75px; }
  .site-header .brand { font-size:27px; }
}
@media(max-height:650px) and (min-width:851px) {
  .site-header { min-height:45px; padding:2px 0; }
  .site-header nav a { font-size:13px; padding-block:4px; }
  .studio-sidebar { gap:6px; }
  .tool-rail { padding:4px 2px; gap:0; }
  .tool-button { padding:5px 2px; font-size:9px; }
  .tool-options-wrap { padding:8px 12px; }
  .options-heading { margin-bottom:9px; }
  .option-group+.option-group { margin-top:10px; }
  .drawing-actions .button { min-height:30px; font-size:11px; padding:5px; }
}
@media(prefers-reduced-motion:reduce) { .feed-track,.site-header nav a::after { animation:none !important; } }
.motion-paused .site-header nav a::after { animation:none; }

/* Independent rotation preserves button scaling and the strips' scrolling motion. */
@keyframes hover-wobble {
  0%,50%,100% { rotate:0deg; }
  25% { rotate:var(--hover-wobble-angle,1.2deg); }
  75% { rotate:calc(-1 * var(--hover-wobble-angle,1.2deg)); }
}
.painting-card,.start-sketch { --hover-wobble-angle:.7deg; }
@media(prefers-reduced-motion:no-preference) {
  button:not(:disabled):focus-visible,
  .site-header nav a:focus-visible,
  .painting-card:not(.expanded-card):has(:focus-visible) { animation:hover-wobble 1.8s ease-in-out infinite; }
  /* Move each card as one piece, without also wobbling its nested buttons. */
  .painting-card:not(.expanded-card):has(:focus-visible) button { animation:none; }
  @media(hover:hover) {
    button:not(:disabled):hover,
    .site-header nav a:hover,
    .painting-card:not(.expanded-card):hover { animation:hover-wobble 1.8s ease-in-out infinite; }
    .painting-card:not(.expanded-card):hover button { animation:none; }
  }
}
.wordmark { display:flex; align-items:baseline; width:max-content; max-width:100%; text-shadow:0 3px 0 #123d7980; }
.wordmark-white { color:#fff; }
.wordmark-red { color:var(--red); }
.wordmark-green { color:var(--green); }
.wordmark-yellow { color:var(--yellow); }
.site-header { border-bottom-color:#ffffff45; }
.site-header nav a:focus-visible { outline:3px solid white; outline-offset:4px; }
.button { border:2px solid var(--ink); border-radius:14px; box-shadow:0 3px 0 #173c7240; }
.prompt-card,.gallery-filters { background:#edf6ff; border-color:#c2dcf5; border-radius:14px; }
.prompt-card { grid-template-columns:minmax(0,1fr) auto; overflow:visible; z-index:2; }
.prompt-controls { display:flex; align-items:center; gap:10px; }
.media-filter { position:relative; color:var(--ink); }
#media-filter-button { display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:104px; height:44px; padding:8px 12px; border:2px solid var(--ink); border-radius:14px; background:var(--yellow); cursor:pointer; font-size:13px; white-space:nowrap; }
#media-filter-button:focus-visible { outline:3px solid #2464b5; outline-offset:3px; }
#media-filter-button svg { width:16px; height:16px; transition:transform .15s; }
#media-filter-button[aria-expanded=true] svg { transform:rotate(180deg); }
.media-menu { position:absolute; top:calc(100% + 8px); right:0; width:230px; max-width:calc(100vw - 35px); z-index:5; background:white; border:2px solid var(--ink); border-radius:12px; padding:14px; box-shadow:0 8px 24px #173c7240; }
.media-menu legend { float:left; width:100%; padding:0 0 10px; font-size:14px; }
#media-options { clear:both; display:grid; gap:5px; }
#media-options label { display:flex; align-items:center; gap:10px; padding:8px 3px; font-size:14px; cursor:pointer; }
#media-options input { width:18px; height:18px; accent-color:#276948; margin:0; }
#media-options input:disabled { opacity:.65; cursor:not-allowed; }
.media-menu p { margin:12px 0 0; color:#526b83; font-size:12px; line-height:1.5; }
@media(max-width:640px) {
  .prompt-card { grid-template-columns:minmax(0,1fr); gap:8px; }
  .prompt-controls { justify-self:end; }
  #media-filter-button { height:36px; min-width:96px; padding:5px 10px; font-size:12px; }
  .prompt-controls .prompt-reset-button { width:36px; height:36px; }
}
.prompt-copy p { color:#466079; }
.prompt-corner { display:none; }
.prompt-reset-button { background:var(--red); color:var(--ink); border:2px solid var(--ink); border-radius:50%; }
.prompt-reset-button:not(:disabled):hover { background:#ff9289; border-color:var(--ink); }
.canvas-panel,.tools-panel { border-color:#183d73; border-radius:12px; background:white; }
.canvas-stage { background:#dbeafb; }
.canvas-topline,.canvas-bottomline { background:#f0f7ff; }
.tool-options-wrap,.tools-panel:has(fieldset:enabled) .tool-options-wrap { background:white; }
.tool-button,.size-buttons button { border-radius:8px; color:#355575; }
.tool-button[aria-pressed=true],.size-buttons button[aria-pressed=true] { background:var(--green); color:var(--ink); border-color:#537c37; }
.tool-button[data-tool=bucket]:hover,.tool-button[data-tool=bucket][aria-pressed=true] { background:var(--yellow); color:var(--ink); }
.tool-button[data-tool=eraser]:hover,.tool-button[data-tool=eraser][aria-pressed=true],.clear-button:hover { background:var(--red); color:var(--ink); }
.history-button { color:var(--ink); background:var(--yellow); border-radius:8px; }
#redo-button { background:var(--green); }
.empty-frame { display:flex; flex-direction:column; align-items:center; justify-content:center; aspect-ratio:3/2; gap:12px; border:7px solid #f8fbff; background:#edf5ff; box-shadow:inset 0 0 0 1px #acc8e7; color:#43647f; text-align:center; }
.empty-frame span { font-size:19px; }
.empty-frame small { font-size:12px; padding:0 12px; line-height:1.5; }
.empty-state { background:#edf6ff; color:#38546d; border-color:#a9c7e5; }
.painting-card { border-color:#b9d1e9; background:#fff; border-radius:12px; }
.painting-open,.painting-card img { border-radius:5px; }
.gallery-heading .text-button,.admin-panel .text-button,.feed-status .text-button { color:#fff; }
#gallery-status,.admin-panel { color:#f0f7ff; }
.gallery-filters .text-button { color:#355575; }
.sign-copy h1,.signature-heading,.finished-heading h1,#text-signature-panel>label { color:#fff; }
.sign-description,#finished-description,.publish-notice,.signature-count,#signature-form>label { color:#edf6ff; }
.signature-error { color:#ffe399; }
.signature-mode { background:#dcecff; border-color:#173c72; }
.signature-mode button[aria-pressed=true] { color:var(--ink); }
.signature-tools { background:#edf6ff; }
.signature-tools button[aria-pressed=true] { background:var(--yellow); border-color:#b59430; }
.modal,.artwork-dialog { background:#f5faff; border-color:#b1cce9; }
.modal p,.artwork-dialog>p { color:#45627e; }
.modal-icon { background:var(--yellow); color:var(--ink); }
.home-title { min-width:0; container-type:inline-size; }
.home-title h1 { font-size:clamp(40px,16cqw,160px); white-space:nowrap; overflow-wrap:normal; }
.home-title h1>span { display:inline-block; flex-shrink:0; transform-origin:50% 75%; }
@keyframes letter-wobble {
  0%,100% { rotate:-1.4deg; }
  50% { rotate:1.4deg; }
}
@media(prefers-reduced-motion:no-preference) {
  .home-title h1>span { animation:letter-wobble 4.8s ease-in-out infinite; }
  .home-title h1>span:nth-child(2n) { animation-duration:5.6s; animation-direction:reverse; }
  .home-title h1>span:nth-child(3n) { animation-duration:6.2s; }
  .home-title h1>span:nth-child(2) { animation-delay:-1.1s; }
  .home-title h1>span:nth-child(3) { animation-delay:-2.6s; }
  .home-title h1>span:nth-child(4) { animation-delay:-.7s; }
  .home-title h1>span:nth-child(5) { animation-delay:-3.4s; }
  .home-title h1>span:nth-child(6) { animation-delay:-1.9s; }
  .home-title h1>span:nth-child(7) { animation-delay:-4.1s; }
  .home-title h1>span:nth-child(8) { animation-delay:-2.3s; }
  .home-title h1>span:nth-child(9) { animation-delay:-.4s; }
}
@media(max-height:650px) and (min-width:641px) {
  .site-header { min-height:43px; padding:0; }
  .site-header nav { padding-block:3px; }
  .site-header nav a { padding-block:4px; font-size:13px; }
  .workspace { grid-template-columns:minmax(0,1fr) 230px; grid-template-rows:minmax(0,1fr); }
  .studio-sidebar { grid-template-columns:1fr; gap:6px; }
  .tools-panel { grid-template-columns:44px minmax(0,1fr); }
  .tool-rail { flex-direction:column; justify-content:space-around; border-bottom:0; border-right:1px solid var(--line); padding:4px 2px; gap:0; }
  .tool-button { flex-direction:column; padding:4px 0; font-size:8px; gap:2px; }
  .tool-button svg { width:17px; height:17px; }
  #tool-options { display:flex; flex-direction:column; gap:8px; }
  .option-group { width:100%; }
  .option-group+.option-group { margin-top:0; }
  .tool-options-wrap { padding:7px 10px; }
  .options-heading,.range-ticks,.range-labels,.rail-label,.rail-divider { display:none; }
  .option-label { font-size:9px; margin-bottom:4px; }
  .size-buttons button { height:23px; }
  .palette-swatch { width:16px; height:16px; }
  .drawing-actions .button { max-width:none; width:100%; min-height:30px; padding:5px; font-size:10px; }
  .play-reminder { display:block; padding:8px 10px; }
  .play-reminder h2 { font-size:18px; }
  .play-reminder p { margin-top:4px; line-height:1.3; }
}
