:root {
  color-scheme: dark;
  --floor: #15111d;
  --rail: #1a1422;
  --panel: #211a2b;
  --field: #191322;
  --line: #3a2d43;
  --text: #f8eadc;
  --muted: #c0adbf;
  --soft: #d0abbf;
  --accent: #e6a0b3;
  --deep: #512438;
  --glow: #863e59;
  --thread: #e8b995;
  --paper: #fae7ce;
  --ink: #472a38;
  --serif: Georgia, "Times New Roman", serif;
  --ui: "Segoe UI", sans-serif;
}
body[data-palette="moon"] {
  --floor: #111321;
  --rail: #171a2c;
  --panel: #1d2134;
  --field: #15192b;
  --line: #383e5c;
  --soft: #c6beda;
  --accent: #c9b7f1;
  --deep: #342851;
  --glow: #625092;
  --thread: #d5bcef;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--floor); font: 15px/1.55 var(--ui); }
button, input, select, textarea { font: inherit; }
button, select, a.button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a.button, select {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 40px; padding: 7px 13px; color: var(--text);
  border: 1px solid var(--line); border-radius: 9px; background: var(--field);
}
button:hover, a.button:hover, select:hover { border-color: var(--accent); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { opacity: .44; cursor: default; }
button.primary { color: #251623; background: var(--accent); border-color: transparent; font-weight: 650; }
input:not([type="range"]):not([type="color"]), textarea {
  width: 100%; min-height: 40px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text); background: var(--field); font-size: 14px;
}
textarea { resize: vertical; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
input[type="color"] { width: 38px; height: 35px; padding: 2px; background: var(--field); border: 1px solid var(--line); border-radius: 6px; }
.rail { position: fixed; inset: 0 auto 0 0; width: 245px; padding: 30px 16px 22px; display: flex; flex-direction: column; overflow: auto; background: var(--rail); border-right: 1px solid var(--line); }
.brand { display: flex; gap: 12px; align-items: center; margin: 0 7px 36px; font: 20px/1.15 var(--serif); }
.brand small { display: block; margin-top: 4px; color: var(--soft); font: 11px/1.3 var(--ui); letter-spacing: .13em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; flex: none; color: #f4cbac; background: #68354e; border: 1px solid #bd7b90; border-radius: 13px 13px 13px 5px; box-shadow: inset 0 0 0 4px #572c45; }
#widgets { display: grid; gap: 6px; }
.nav-label { margin: 6px 9px; color: var(--soft); font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.nav-item { display: flex; gap: 11px; min-height: 43px; align-items: center; padding: 7px 9px; border: 1px solid transparent; border-radius: 9px; color: var(--muted); font-size: 14px; }
.nav-item:hover { color: var(--text); background: var(--panel); }
.nav-item[aria-current="page"] { border-color: var(--line); background: var(--deep); color: var(--text); }
.nav-icon { text-align: center; width: 24px; flex: none; color: var(--accent); font: bold 20px var(--serif); }
.rail-footer { margin: auto 8px 0; padding-top: 27px; color: var(--muted); font-size: 12px; }
.rail-footer span, .preview-heading i { display: inline-block; vertical-align: .07em; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #a3bb9c; }
#desk { max-width: 1655px; margin-left: 245px; padding: clamp(22px,4vw,55px); }
.desk-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 32px; }
.eyebrow { color: var(--accent); margin: 0 0 8px; font-size: 11px; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
.desk-head h1 { margin: 0; font: clamp(33px,4.6vw,65px)/1.05 var(--serif); letter-spacing: -.037em; }
#description { margin: 10px 0 0; color: var(--muted); max-width: 48ch; }
.top-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.palette-label { color: var(--muted); font-size: 12px; }
#view-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.workspace { display: grid; grid-template-columns: minmax(0,1.72fr) minmax(280px,1fr); align-items: start; gap: 19px; }
.preview-column, .control { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.preview-column { overflow: hidden; }
.preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 12px 16px; gap: 5px; color: var(--muted); background: var(--panel); border-bottom: 1px solid var(--line); font-size: 12px; }
.preview-heading span:first-child { color: var(--text); }
#stage { min-height: 570px; display: grid; place-items: center; padding: clamp(17px,4vw,47px); position: relative; isolation: isolate; background-color: #221a2e; background-image: radial-gradient(ellipse at top, #4a324b70, transparent 60%), radial-gradient(#b69bab23 1px, transparent 1px); background-size: auto, 16px 16px; }
#stage[data-widget="bedtime"].has-art { background-image: linear-gradient(0deg,#17101d,transparent 60%), var(--art); background-size: cover; background-position: 58% top; align-items: end; padding-top: 240px; }
#stage[data-widget="novel"] { background-color: #2f2530; }
#stage[data-widget="forecast"] { background-color: #252139; }
#stage[data-widget="recipe"] { background-color: #362533; }
#stage[data-widget="cliffhanger"] { background-color: #281e36; }
#stage[data-widget="bingo"] { background-color: #2e3637; }
#stage[data-widget="stickers"] { padding: 20px; background-color: #322037; }
.control { padding: 20px; }
.control h2 { margin: 0; color: var(--text); font: 23px/1.15 var(--serif); }
.control h3 { margin: 0 0 9px; font: 17px/1.25 var(--serif); }
.control .hint { color: var(--muted); font-size: 12px; }
.control > .hint { margin: 5px 0 16px; }
.control .row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0; }
.control label.field { display: block; font-size: 13px; color: var(--muted); margin: 9px 0; }
.control label.field > :is(input, textarea, select) { margin-top: 4px; }
.control label.field > select { display: flex; width: 100%; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.control hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
#feedback { min-height: 1.5em; margin: 10px 0 0; color: var(--accent); font-size: 13px; }
.timer { min-width: 61px; color: var(--paper); font-variant-numeric: tabular-nums; text-align: right; }
.effect { width: min(100%, 650px); max-width: 100%; }
.hero-word { margin: 0; font: clamp(27px,3.6vw,48px)/1.05 var(--serif); text-wrap: balance; }
.mini { margin: 0 0 7px; color: var(--thread); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.tile-frame { position: relative; padding: clamp(18px,3vw,35px); color: var(--text); border: 1px solid var(--thread); border-radius: 26px 26px 17px 17px; background: linear-gradient(150deg,var(--glow), var(--deep) 52%,#251522); box-shadow: 0 18px 38px #0d0917aa, inset 0 0 0 6px #1e11252e; }
.tile-frame::after { position: absolute; inset: 7px; border: 1px dashed var(--thread); border-radius: inherit; opacity: .47; content: ""; pointer-events: none; }
.tile-frame header { display: flex; align-items: start; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.vote-slip { overflow: hidden; position: relative; margin: 6px 0; border-radius: 8px; color: var(--ink); background: #f9e5cf; }
.vote-slip > div { position: absolute; inset: 0 auto 0 0; background: #e6a3ac9c; transition: width .45s ease; }
.vote-slip > span { position: relative; display: flex; justify-content: space-between; gap: 8px; padding: 7px 11px; font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
.vote-slip > span b { white-space: nowrap; }
.vote-slip.is-winner { outline: 2px solid var(--thread); outline-offset: 1px; }
.vote-letter { margin: 12px 0 0; color: #fce0c5; font-size: 13px; }
.novel-frame { color: var(--ink); background: linear-gradient(100deg,#b47969,#e5ba94 14%,#f6dec1 17%,var(--paper)); border: 2px solid #e9c0a2; border-left-width: 12px; border-radius: 8px 20px 20px 7px; }
.novel-frame .mini, .novel-frame .timer, .novel-frame .vote-letter { color: #744254; }
.novel-frame .vote-slip { border: 1px solid #75345449; background: #fff0d9; }
.novel-frame::after { border-color: #72384b; }
.forecast-frame { border-radius: 42px 42px 14px 14px; background: radial-gradient(ellipse at 80% 0,#605586,transparent 68%),linear-gradient(130deg,#3c355b,#1a182e); }
.forecast-frame .vote-slip { background: #efdcf2; }
.forecast-frame .vote-slip > div { background: #a78ccba8; }
.recipe-frame, .bingo-frame { display: grid; gap: 12px; }
.recipe-slips, .bingo-quilt { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.recipe-slip { padding: 12px 9px; text-align: center; border: 2px solid #f4cea5; border-radius: 7px; color: var(--ink); background: #ebbd93; box-shadow: 0 5px 8px #22111c66; }
.recipe-slip:nth-child(2) { background: #f6cee0; border-color: #f6d1d5; transform: translateY(5px) rotate(2deg); }
.recipe-slip:nth-child(3) { background: #d3d8b7; border-color: #d7ddae; }
.recipe-slip small { display: block; font-size: 10px; font-weight: 650; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .11em; }
.recipe-slip span { font: clamp(13px,1.8vw,19px)/1.15 var(--serif); overflow-wrap: anywhere; }
.envelope-frame { background: conic-gradient(from 55deg at 50% 60%,#6d3b61,#542d52,#4b2749,#623253,#6d3b61); }
.wax { width: 48px; height: 48px; display: grid; place-items: center; font: 30px var(--serif); color: #ffd6bd; background: #9b4b69; border: 3px double #f8a5ad; border-radius: 50%; box-shadow: 0 6px 12px #1b0d20ae; }
.envelope-list { margin: 0; padding: 0; list-style: none; max-height: 290px; overflow: auto; }
.envelope-list li { padding: 6px 0; overflow-wrap: anywhere; border-bottom: 1px solid #fbd6eb36; }
.bingo-frame { background: linear-gradient(135deg,#4d655b,#273b3e 70%); }
.bingo-tile { display: grid; place-items: center; min-height: 78px; text-align: center; padding: 7px; background: #eadacb; color: #423340; border: 1px solid #f9e8c9; border-radius: 7px; font: 14px/1.2 var(--serif); overflow-wrap: anywhere; }
.bingo-tile:nth-child(3n+2) { background: #e9c7ce; }
.bingo-tile:nth-child(3n) { background: #d1d6ba; }
.bingo-tile.marked { background: #cddcae; color: #233825; box-shadow: inset 0 0 0 4px #648461, inset 0 0 0 6px #b8c99c; }
.bingo-tile.line-hit { outline: 2px solid #ffe3a5; outline-offset: 1px; }
.bingo-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.bingo-buttons button { padding: 5px; font-size: 12px; text-align: center; overflow-wrap: anywhere; }
.bingo-buttons button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.rig-board { width: min(100%,520px); position: relative; aspect-ratio: 1; }
.rig-board .calico { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 15px 19px #170e1bb8); }
.mouth-sticker, .mouth-target { position: absolute; top: var(--y); left: var(--x); width: var(--size); max-height: 90%; object-fit: contain; transform: translate(-50%,-50%) rotate(var(--angle)); transform-origin: 50% 50%; }
.mouth-sticker { filter: drop-shadow(0 4px 4px #21151a55); animation: pop-on .36s cubic-bezier(.23,.95,.4,1.28) both; }
.mouth-target { display: grid; place-items: center; height: max(18px,calc(var(--size) * .26)); color: white; border: 1px dashed currentColor; border-radius: 5px; opacity: .85; pointer-events: none; }
@keyframes pop-on { from { transform: translate(-50%,-65%) rotate(calc(var(--angle) - 12deg)) scale(.8); opacity: 0; } }
.sticker-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(55px,1fr)); gap: 6px; }
.sticker-grid > button { min-width: 0; aspect-ratio: 1; min-height: 0; padding: 3px; }
.sticker-grid img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sticker-grid button[aria-pressed="true"] { border-color: var(--accent); background: var(--deep); }
.placement-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 10px; }
.queue-list { max-height: 180px; overflow: auto; padding: 0; margin: 8px 0; list-style: none; }
.queue-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 7px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.queue-list img { width: 43px; height: 32px; object-fit: contain; }
.queue-list .hint { flex: 1 1 64px; overflow-wrap: anywhere; }
.queue-list button { min-height: 30px; padding: 3px 6px; font-size: 12px; }
details { margin-top: 12px; color: var(--muted); }
summary { cursor: pointer; }
canvas#drawing { display: block; width: 100%; max-width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: repeating-conic-gradient(#282031 0% 25%,#211827 0% 50%) 0 0 / 20px 20px; touch-action: none; }
body.overlay { overflow: hidden; background: transparent; }
body.overlay .rail, body.overlay .desk-head, body.overlay .preview-heading, body.overlay .control { display: none; }
body.overlay #desk { margin: 0; padding: 0; height: 100vh; max-width: none; }
body.overlay .workspace, body.overlay .preview-column, body.overlay #stage { display: grid; width: 100%; height: 100%; min-height: 0; background: transparent; border: 0; border-radius: 0; }
body.overlay .workspace:has(#stage[data-widget="bedtime"]) { grid-template-columns: minmax(0,1fr); }
body.overlay #stage { padding: 14px; align-items: center; }
body.overlay #stage[data-widget="bedtime"] { align-items: end; }
body.overlay #stage .rig-board { width: min(100%, 100vh); }
body.overlay #stage .calico { visibility: hidden; }
@media (max-width: 1130px) and (min-width: 901px) {
  .rail { width: 205px; }
  #desk { margin-left: 205px; padding: 26px; }
  .workspace { grid-template-columns: minmax(0,1.35fr) minmax(265px,1fr); }
}
@media (max-width: 900px) {
  .rail { position: static; width: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 0 12px; }
  #widgets { display: flex; overflow: auto; white-space: nowrap; }
  .rail-footer, .nav-label { display: none; }
  #desk { margin: 0; }
}
@media (max-width: 660px) {
  .workspace { grid-template-columns: 1fr; }
  #desk { padding: 14px; }
  #stage { min-height: 400px; }
  #stage[data-widget="bedtime"].has-art { padding-top: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
#stage[data-widget="bedtime"].has-art { background-image: radial-gradient(ellipse at 56% 25%,#634050,transparent 62%),radial-gradient(#b69bab23 1px,transparent 1px); background-size: auto,16px 16px; align-items: center; padding-top: clamp(17px,4vw,47px); }
.story-frame { --book-pad: clamp(18px,3vw,35px); display: flex; flex-direction: column; }
.story-portrait { display: block; width: calc(100% + 2 * var(--book-pad) - 14px); height: clamp(120px,27vw,245px); object-fit: cover; object-position: center 59%; margin: calc(7px - var(--book-pad)) calc(7px - var(--book-pad)) 16px; border: 0; border-bottom: 1px solid var(--thread); border-radius: 19px 19px 5px 5px; }
.story-frame .hero-word:not(.compact) { font-size: clamp(23px,2.8vw,39px); }
.story-frame .vote-slip { overflow: visible; }
.story-frame .vote-slip > div { border-radius: inherit; }
.vote-slip-line { align-items: center; }
.vote-slip-title { flex: 1; }
.story-frame .vote-slip-line { min-height: 37px; }
.story-many .story-portrait { height: clamp(75px, calc(100vh - 477px), 148px); object-position: center 54%; }
.story-many header { margin-bottom: 10px; }
.story-many .vote-slip { margin: 4px 0; }
.story-many .vote-slip-line { min-height: 34px; padding-block: 5px; }
.story-option-number { display: inline-grid; flex: 0 0 22px; height: 22px; place-items: center; border: 1px dashed #a15d61; border-radius: 50%; font-size: 12px; }
.story-vote-instruction { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 12px 0 0; color: #fce0c5; font-size: 13px; }
.story-vote-instruction code { padding: 2px 5px; border-radius: 4px; background: #261720; color: #ffe3bc; font-size: 12px; }
.story-bookmark { position: relative; align-self: start; flex: 0 0 25px; height: 40px; margin: -10px 2px -10px 4px; background: linear-gradient(90deg,#893c51,#b56879 46%,#923f56); clip-path: polygon(0 0,100% 0,100% 100%,50% 81%,0 100%); transform-origin: top center; animation: story-bookmark-settle .68s cubic-bezier(.22,.7,.3,1) both; }
.story-bookmark::before { content: ""; position: absolute; inset: 3px 3px 7px; border: 1px dashed #ffdbc1; border-bottom: 0; }
.story-bookmark::after { content: "✦"; position: absolute; inset: 4px 0 auto; color: #ffe7b2; text-align: center; font-size: 15px; }
@keyframes story-bookmark-settle {
  0% { opacity: 0; transform: translateY(-34px) rotate(-17deg); }
  63% { opacity: 1; transform: translateY(4px) rotate(5deg); }
  84% { transform: translateY(-1px) rotate(-2deg); }
  100% { transform: translateY(0) rotate(0); }
}
.story-tab { position: relative; display: flex; align-items: center; gap: 10px; width: max-content; max-width: min(100%,310px); padding: 7px 14px 7px 9px; border: 1px solid #d69a97; border-radius: 11px; color: #ffe3c8; background: linear-gradient(115deg,#61344e,#321f32); box-shadow: 0 4px 13px #1e0f2070; font: 650 14px var(--serif); }
.story-tab::after { position: absolute; inset: 3px; content: ""; border: 1px dashed #f2b7987d; border-radius: 8px; pointer-events: none; }
.story-tab > div { min-width: 0; }
.story-tab-icon { display: grid; place-items: center; flex: 0 0 24px; height: 24px; color: #4f2940; background: #f3bc89; border: 1px dashed #994f63; border-radius: 7px; font: 700 14px var(--sans); }
.story-tab-title { display: block; max-width: 245px; overflow: hidden; color: #ffd4bb; font: 12px var(--sans); text-overflow: ellipsis; white-space: nowrap; }
[data-palette="moon"] .story-tab { border-color: #b19bd0; background: linear-gradient(115deg,#584777,#29263e); }
.story-opening { transform-origin: bottom center; animation: story-open .45s cubic-bezier(.2,.75,.32,1) both; }
.story-settled { animation: story-open .3s ease-out both; }
@keyframes story-open { from { opacity: 0; transform: translateY(11px) scale(.97); } }
#stage[data-phase="closed"] .vote-slip.is-winner { animation: stamp-ink 440ms cubic-bezier(.28,.79,.31,1.2) both; }
@keyframes stamp-ink { from { opacity: .5; transform: scale(.975); } }
@media (max-width: 660px) { #stage[data-widget="bedtime"].has-art { padding-top: 17px; } }

.typing-link { margin-top: 16px; border-top-color: var(--line); }

/* Studio controls use the warm palette of the original Beanie portrait. */
body.studio:not(.overlay) {
  min-height: 100vh;
  color-scheme: light;
  --desk-ink: #3c281f;
  --desk-muted: #76533e;
  --desk-copper: #914e34;
  --desk-line: #d8b59a;
  --desk-paper: #fff5e8;
  --desk-field: #fffbf3;
  color: var(--desk-ink);
  background:
    radial-gradient(ellipse at 32% 0%, #fff2db 0%, transparent 57%),
    linear-gradient(134deg, #f4e2c9, #e5c6a9 100%);
}
.studio:not(.overlay) .rail {
  color-scheme: dark;
  color: #f8e7d3;
  border-color: #5f3d29;
  background:
    radial-gradient(ellipse at 16% 4%, #714a32 0%, transparent 54%),
    linear-gradient(155deg, #4d3324, #322219 76%);
}
.studio:not(.overlay) .brand { margin-bottom: 26px; }
.studio:not(.overlay) .brand-mark {
  color: #fff0cf;
  background: linear-gradient(155deg, #ae6e4e, #784632);
  border-color: #cb986e;
  box-shadow: inset 0 0 0 3px #57332566;
}
.studio:not(.overlay) :is(.brand small,.nav-label,.rail-footer) { color: #dfbaa0; }
.studio:not(.overlay) .nav-item { color: #f0d7c2; }
.studio:not(.overlay) .nav-item:hover { color: #fff3e2; background: #5d3b29; }
.studio:not(.overlay) .nav-item[aria-current="page"] { border-color: #bd8969; background: #875344; color: #fff7e9; }
.studio:not(.overlay) .nav-icon { color: #f1bf91; }
.studio:not(.overlay) .typing-link { border-top-color: #886047; }
.studio:not(.overlay) .desk-head { padding-bottom: 19px; margin-bottom: 19px; border-bottom: 1px solid var(--desk-line); }
.studio:not(.overlay) .desk-head .eyebrow { color: var(--desk-copper); }
.studio:not(.overlay) :is(#description,.palette-label) { color: var(--desk-muted); }
.studio:not(.overlay) :is(.preview-column,.control) {
  background-color: var(--desk-paper);
  color: var(--desk-ink);
  border-color: var(--desk-line);
  box-shadow: 0 9px 25px #69432715;
}
.studio:not(.overlay) .preview-heading {
  background: linear-gradient(120deg, #fbecda, #f4deca);
  border-color: var(--desk-line);
  color: var(--desk-muted);
}
.studio:not(.overlay) .preview-heading span:first-child { color: var(--desk-ink); }
.studio:not(.overlay) .preview-heading i { background-color: #638060; }
.studio:not(.overlay) :is(.top-actions,.control) :is(button,select,a.button) {
  color: var(--desk-ink);
  background: var(--desk-field);
  border-color: #cba487;
}
.studio:not(.overlay) :is(.top-actions,.control) :is(button,select,a.button):hover { border-color: var(--desk-copper); }
.studio:not(.overlay) :is(.top-actions,.control) :focus-visible { outline-color: var(--desk-copper); }
.studio:not(.overlay) .control button.primary { color: #fff7e8; background: #985338; border-color: #84452e; }
.studio:not(.overlay) .control button.primary:hover { background: #84452e; }
.studio:not(.overlay) .control :is(input:not([type="range"]):not([type="color"]),textarea,input[type="color"]) {
  color: var(--desk-ink);
  background: var(--desk-field);
  border-color: #cba487;
}
.studio:not(.overlay) .control input[type="range"] { accent-color: var(--desk-copper); }
.studio:not(.overlay) .control h2 { color: var(--desk-ink); }
.studio:not(.overlay) .control :is(.hint,label.field,details) { color: var(--desk-muted); }
.studio:not(.overlay) .control :is(hr,.queue-list li) { border-color: var(--desk-line); }
.studio:not(.overlay) #feedback { color: var(--desk-copper); }
.studio:not(.overlay) .control .sticker-grid button[aria-pressed="true"],
.studio:not(.overlay) .control .bingo-buttons button[aria-pressed="true"] {
  color: var(--desk-ink);
  background: #f7dfc8;
  border-color: var(--desk-copper);
}
.studio:not(.overlay) #stage,
.studio:not(.overlay) #stage[data-widget="bedtime"].has-art {
  background-color: #483128;
  background-image:
    radial-gradient(ellipse at 28% 7%, #a564404a, transparent 70%),
    radial-gradient(#f3c8a52e 1px, transparent 1px);
  background-size: auto, 15px 15px;
}
.studio[data-palette="moon"]:not(.overlay) #stage {
  background-color: #28213a;
  background-image:
    radial-gradient(ellipse at 30% 7%, #9780b348, transparent 67%),
    radial-gradient(#d1bbf129 1px, transparent 1px);
}
.studio:not(.overlay) #stage[data-widget="pawin"] { padding: 14px; min-height: 310px; }
.paw-preview { display: block; width: min(100%, 440px); height: auto; aspect-ratio: 440 / 640; border: 0; }
.paw-preview.is-badge { width: min(100%, 430px); aspect-ratio: 430 / 148; }
.paw-source-size {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline;
  justify-content: space-between; margin: 18px 0 7px; padding-top: 14px;
  border-top: 1px solid var(--desk-line); font-size: 13px;
}
.paw-source-size span { color: var(--desk-muted); font-variant-numeric: tabular-nums; }
