:root {
  --ink: #4a422c;
  --muted: #8f8876;
  --sunflower: #ae9f78;
  --sunflower-deep: #96855a;
  --lavender: #fbf9f1;
  --sunflower: #f7f3e5;
  --sunflower: #f8f4e6;
  --hairline: #f6f1e1;
  --shadow: 0 22px 60px rgba(60,100,81,.11);
  font-family: 'Trebuchet MS', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-optical-sizing: auto;
  color: var(--ink);
  background: #fcfbf6;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .37; }
button:focus-visible, a:focus-visible, input:focus-visible, label:has(input:focus-visible) { outline: 3px solid #e2dac7; outline-offset: 3px; }
svg { display:block; }
[hidden] { display: none !important; }
.site-width { width: min(1240px, calc(100% - 84px)); margin-inline: auto; }
.landing { position: relative; isolation: isolate; min-height: 100vh; overflow: hidden; background: radial-gradient(ellipse at 85% 13%, #f7f3e5 0, transparent 35%), radial-gradient(ellipse at 15% 93%, #f9f6eb 0, transparent 38%), #fefdfa; }
.sky-glow { position:absolute; z-index:-1; border-radius: 50%; pointer-events:none; }
.sky-glow-one { width:650px;height:650px;right:-260px;top:200px;background:radial-gradient(circle,#f6f1e1 0,transparent 72%);opacity:.6; }
.sky-glow-two { width:550px;height:550px;left:-320px;top:360px;background:radial-gradient(circle,#f9f6ea 0,transparent 72%);opacity:.65; }
.landing-header { height:106px;display:flex;justify-content:space-between;align-items:center; }
.brand { color:var(--ink);text-decoration:none;display:flex;align-items:center;gap:12px; }
.brand-mark { width:48px;height:48px;border-radius:16px;display:grid;place-items:center;color:#ffffff;background:linear-gradient(145deg,#d2c6a7,#ae9f77);box-shadow:0 6px 16px #ac9d7533;font-size:32px;line-height:1; }
.brand strong { display:block;font-size:17px;font-weight:900;line-height:1.15;letter-spacing:-.6px; }
.brand small { display:block;color:#a8a08b;font-size:14px;line-height:1.3; }
.header-tag { display:flex;align-items:center;gap:9px;border:1px solid #f6f1e0;border-radius:30px;padding:11px 17px;background:#ffffffac;font-size:12px;color:#a09579;font-weight:800;letter-spacing:.05px; }
.tag-dot { width:9px;height:9px;border-radius:50%;background:#beb293;box-shadow:0 0 0 4px #f5efdc; }
.hero { display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:70px;min-height: min(680px, calc(100vh - 224px));padding-top:26px;padding-bottom:38px; }
.hero-copy { position:relative;z-index:1;padding-top:3px; }
.eyebrow {display:inline-flex;align-items:center;gap:12px;font-weight:900;letter-spacing:2px;font-size:11px;color:#ab9c74;padding:11px 17px;border-radius:18px;background:#f9f6eb;}
.eyebrow span { color:#baad8c;font-size:19px;line-height:9px; }
h1 { max-width:700px;font-size:clamp(52px,5.6vw,90px);letter-spacing:-4px;line-height:1.055;margin:28px 0 23px;font-weight:950; }
h1 span:not(.title-star) { display:block;color:#938258; }
h1 .title-star { position:relative;top:-25px;color:#dfd6c0;font-weight:500;font-size:57px;letter-spacing:0;margin-left:8px; }
.hero-desc { max-width:525px;color:#878171;font-size:clamp(16px,1.55vw,19px);line-height:1.72;margin:0 0 38px; }
.start-button { display:inline-flex;align-items:center;gap:18px;border:0;border-radius:20px;padding:20px 25px;background:linear-gradient(105deg,#b2a480,#857650);box-shadow:0 14px 28px #ae9f784d;color:white;font-size:17px;font-weight:900;transition:transform .2s,box-shadow .2s; }
.start-button:hover { transform:translateY(-3px);box-shadow:0 18px 36px #ae9f785c; }
.start-button svg { width:20px;height:20px;stroke:white;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;fill:none; }
.start-icon { display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#ffffff28;font-size:21px;transform:rotate(-25deg); }
.feature-pills { display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:32px; }
.feature-pills span { font-size:12px;font-weight:750;color:#857d69;padding:9px 11px;background:#ffffff;border:1px solid #f8f5e9;border-radius:30px;white-space:nowrap; }
.cover-area { position:relative;display:flex;justify-content:center;align-items:center;max-height:630px; }
.cover-card { width:min(100%,430px);aspect-ratio:1122 / 1402;padding:22px 23px 18px;background:#ffffff;border:1px solid #f8f4e8;border-radius:32px;box-shadow:0 34px 90px #665b3e33,0 6px 20px #665b3e0c;transform:rotate(3deg);position:relative; }
.cover-card::after { position:absolute;content:"";z-index:-1;inset:13px -9px -9px 13px;border:3px solid #f7f3e3;border-radius:32px;transform:rotate(3deg); }
.cover-card img { width:100%;height:100%;object-fit:contain;display:block;background:#ffffff;border-radius:18px; }
.cover-ribbon { position:absolute;z-index:1;top:36px;left:-27px;color:#ffffff;background:#9a895c;transform:rotate(-7deg);padding:12px 21px;border-radius:10px 10px 10px 1px;box-shadow:0 6px 16px #ccbf9c40;font-size:11px;letter-spacing:1.2px;font-weight:900; }
.cover-ribbon span { color:#d9cfb4;margin-right:6px; }
.cover-scribble { position:absolute;z-index:1;bottom:-23px;right:-20px;width:70px;height:70px;border-radius:25px;background:#f8f4e6;box-shadow:0 9px 19px #b1a27c29;display:grid;place-items:center;font-size:55px;color:#ad9e77;transform:rotate(-18deg); }
.cover-badge { position:absolute;left:-49px;bottom:50px;z-index:2;background:#e4ddca;border:7px solid white;box-shadow:0 8px 25px #c3b89a44;border-radius:50%;height:99px;width:99px;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(-11deg);color:#807559; }
.cover-badge span { font-size:23px;font-weight:950;line-height:1.15; }
.cover-badge small { font-size:10px;font-weight:900; }
.cover-deco { position:absolute;font-size:65px;color:#d8ceb3; }
.cover-deco-a { top:13px;left:3px;transform:rotate(-18deg); }
.cover-deco-b { bottom:-24px;right:6px;color:#e4ddcb;font-size:47px; }
.how-it-works { display:flex;justify-content:space-between;gap:30px;align-items:center;border-top:1px solid #f7f3e3;padding-top:26px;padding-bottom:26px; }
.how-intro { color:#9f9781;font-size:14px;font-weight:700; }
.how-intro b { color:#a7966c; }
.how-intro span { color:#d6cbaf;font-size:22px; }
.how-steps { display:flex;align-items:center;flex-wrap:wrap;gap:26px; }
.how-steps span { display:flex;align-items:center;gap:10px;font-size:13px;font-weight:750;color:#88806d;white-space:nowrap; }
.how-steps b { color:#c3b89b;border:1px solid #f6f1e0;padding:8px;border-radius:50%;height:33px;width:33px;text-align:center;font-size:11px; }
.landing-footer { text-align:center;font-size:12px;color:#b7b09d;padding:10px 0 24px; }
.landing-footer span {color:#d0c4a5;}
body.studio-open { overflow:hidden; }
.studio { position:fixed;z-index:30;inset:0;display:grid;grid-template-rows:72px minmax(0,1fr);height:100vh;height:100dvh;background:#fdfbf6; }
.studio-header { display:flex;justify-content:space-between;align-items:center;padding:0 24px;background:#ffffff;border-bottom:1px solid #f7f3e4;gap:15px;box-shadow:0 3px 13px #3b342306;z-index:2; }
.studio-brand { display:flex;align-items:center;gap:12px;min-width:0; }
.studio-brand-flower { width:44px;height:44px;background:#f8f5e9;color:#baad8c;border-radius:15px;display:grid;place-items:center;font-size:32px;flex-shrink:0; }
.studio-brand strong { display:block;font-size:16px;letter-spacing:-.3px;white-space:nowrap; }
.studio-brand span:last-child { display:block;font-size:11px;color:#b7b1a0;margin-top:2px; }
.header-controls { display:flex;align-items:center;gap:11px; }
.history-actions {display:flex;gap:6px;padding-right:11px;border-right:1px solid #f6f2e2;}
.icon-button,.subtle-button,.save-button {border:1px solid transparent;display:flex;justify-content:center;align-items:center;gap:8px;flex-shrink:0;transition:background .15s,transform .15s;}
.icon-button {border-radius:12px;width:43px;height:43px;background:#fbf9f3;color:#9f957b;}
.icon-button:hover:not(:disabled) { background:#f6f0de; }
.icon-button svg,.subtle-button svg,.save-button svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.subtle-button {height:43px;padding:0 13px;background:transparent;color:#99927f;border-radius:12px;font-size:12px;font-weight:800;}
.subtle-button:hover {background:#fbf9f1;}
.save-button {height:43px;padding:0 18px;border-radius:12px;background:#938258;color:white;font-size:12px;font-weight:900;box-shadow:0 6px 15px #a9996f2b;}
.save-button:hover:not(:disabled) {background:#a49366;transform:translateY(-1px);}
.exit-button {background:transparent;color:#aea899;}
.studio-layout {display:grid;grid-template-columns:104px minmax(0,1fr) 302px;min-height:0;}
.tool-rail {display:flex;flex-direction:column;align-items:stretch;gap:7px;padding:23px 12px 17px;background:#ffffff;border-right:1px solid #f6f1e1;min-height:0;}
.rail-title {text-align:center;margin:0 0 12px;color:#beb7a6;font-size:9px;letter-spacing:1px;font-weight:950;}
.tool-button {border:1px solid transparent;background:transparent;border-radius:16px;min-height:84px;padding:9px 3px;color:#9e9786;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:900;transition:background .18s,transform .18s,color .18s;}
.tool-button:hover {background:#fbf9f3;}
.tool-button.active {color:#a59468;background:#f9f6eb;border-color:#f4eeda;box-shadow:inset 0 0 0 1px #fdfcf7;}
.tool-button:active {transform:scale(.95);}
.tool-icon {height:41px;width:41px;display:grid;place-items:center;border-radius:13px;background:#fbf9f3;}
.tool-button.active .tool-icon {background:white;box-shadow:0 3px 10px #b3a58128;}
.tool-icon svg {width:26px;height:26px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.rail-tip {margin-top:auto;text-align:center;border-radius:15px;background:#fdfcfa;color:#beb49a;padding:13px 7px;line-height:1.5;font-size:10px;font-weight:800;}
.rail-tip span {display:block;font-size:20px;color:#dcd3bc;}
.canvas-stage {display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:radial-gradient(ellipse at 15% 15%,#faf7ec 0,transparent 45%),radial-gradient(ellipse at 90% 85%,#faf7ed 0,transparent 50%),#fdfbf6;}
.canvas-stage-top {height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 29px;}
.story-badge {color:#ac9e7b;font-size:12px;font-weight:850;}
.story-badge span {color:#ccbf9c;font-size:18px;margin-right:6px;}
.area-counter {font-weight:750;color:#b6ae9b;font-size:11px;white-space:nowrap;}
.paper-viewport { min-height:0;min-width:0;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;touch-action:none;cursor:default; }
.paper-wrap { position:relative;flex-shrink:0;background:white;border-radius:5px;box-shadow:0 15px 42px #70634333, 0 0 0 1px #f4eeda;overflow:hidden;will-change:transform;transform-origin:center center; }
#artCanvas { display:block;width:100%;height:100%;touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none;}
body.tool-fill #artCanvas {cursor:cell;}
body.tool-hand #artCanvas {cursor:grab;}
body.tool-hand #artCanvas:active {cursor:grabbing;}
.loading-overlay {position:absolute;inset:0;z-index:3;background:#fcfaf4ee;display:flex;align-items:center;justify-content:center;gap:15px;font-weight:850;color:#ab9c74;font-size:15px;}
.loading-flower {font-size:37px;animation:flower-spin 2.5s infinite ease-in-out;}
@keyframes flower-spin {50%{transform:rotate(30deg) scale(1.15);}100%{transform:rotate(0)}}
.stage-footer {height:65px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 20px 0 29px;}
.tool-instruction {font-size:11px;font-weight:700;color:#b8b09b;line-height:1.35;}
.zoom-controls {flex-shrink:0;display:flex;align-items:center;gap:3px;background:#ffffff;border:1px solid #f7f3e5;padding:5px;border-radius:12px;box-shadow:0 4px 15px #675c3e15;}
.zoom-controls button {width:28px;height:29px;border:none;color:#998c6a;border-radius:8px;background:transparent;font-size:18px;font-weight:750;display:grid;place-items:center;}
.zoom-controls button:hover {background:#f9f6eb;}
.zoom-controls span {min-width:45px;text-align:center;color:#9f957d;font-size:11px;font-weight:850;font-variant-numeric:tabular-nums;}
.zoom-controls .fit-button {min-width:76px;width:auto;border-left:1px solid #f7f3e5;border-radius:0;font-size:10px;padding:0 6px;}
.color-panel {min-width:0;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e6e0cf transparent;background:white;border-left:1px solid #f7f3e3;padding:29px 22px 24px;}
.panel-heading {display:flex;align-items:center;gap:12px;}
.panel-heading>span {width:42px;height:42px;display:grid;place-items:center;border-radius:14px;color:#baad8c;background:#f9f6eb;font-size:28px;flex-shrink:0;}
.panel-heading h2 {font-size:16px;letter-spacing:-.2px;margin:0 0 3px;}
.panel-heading p {font-size:11px;color:#b7b09d;margin:0;}
.current-color-box {display:flex;align-items:center;gap:12px;margin:23px 0 25px;background:#fdfcf8;border:1px solid #f9f5e9;border-radius:16px;padding:13px;}
.current-color-preview {display:block;flex-shrink:0;width:40px;height:40px;border-radius:14px;background:#938258;box-shadow:0 0 0 3px #ffffff,0 0 0 4px #f7f2e2;}
.current-color-box div {min-width:0;}
.current-color-box small {display:block;font-size:9px;letter-spacing:.7px;font-weight:950;color:#bfb6a0;margin-bottom:4px;}
.current-color-box strong {display:block;font-size:11px;color:#7f7660;white-space:normal;line-height:1.3;}
.current-spark {color:#d3c8aa;align-self:flex-start;margin-left:auto;}
.panel-section-label {color:#b8b2a1;font-size:10px;letter-spacing:1.1px;font-weight:900;margin:0 0 15px;}
.color-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px 8px;}
.color-swatch {position:relative;display:grid;place-items:center;padding:0;border:0;background:transparent;width:100%;aspect-ratio:1;color:transparent;border-radius:50%;}
.color-swatch .swatch-inner {width:35px;height:35px;max-width:100%;max-height:100%;border-radius:50%;display:grid;place-items:center;border:1px solid #4b432d15;transition:transform .15s;box-shadow:inset 0 2px 4px #ffffff40;}
.color-swatch:hover .swatch-inner {transform:scale(1.1);}
.color-swatch[aria-pressed="true"]::after {content:"";position:absolute;inset:-3px;border:2px solid #b7aa87;border-radius:50%;}
.color-swatch .check {display:none;color:#ffffff;font-size:18px;text-shadow:0 1px 3px #594f3590;}
.color-swatch[aria-pressed="true"] .check {display:block;}
.color-swatch.light .check {color:#786b48;text-shadow:none;}
.custom-color-link {display:flex;gap:9px;align-items:center;justify-content:space-between;margin:18px 0 23px;font-size:11px;color:#ae9f79;font-weight:850;cursor:pointer;}
.rainbow-badge {font-size:22px;color:#c4b99e;line-height:1;}
.native-color-picker {position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}
.brush-options {border-top:1px solid #f8f4e6;padding-top:23px;}
.brush-size-head {display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:800;color:#7c7460;}
.brush-size-head output {color:#b7aa88;font-size:11px;background:#faf7ee;border-radius:7px;padding:3px 9px;font-variant-numeric:tabular-nums;}
#brushSize {display:block;width:100%;margin:15px 0 11px;accent-color:#b2a480;cursor:pointer;}
.brush-demo {display:flex;align-items:center;gap:11px;font-size:10px;font-weight:750;color:#ada89a;margin-bottom:22px;min-height:24px;}
.brush-demo-dot {display:block;border-radius:50%;background:#938258;height:12px;width:12px;flex-shrink:0;box-shadow:0 0 0 3px #f9f6eb;}
.smart-switch {padding:13px 11px;border-radius:13px;background:#fcfaf5;display:flex;gap:10px;align-items:center;cursor:pointer;user-select:none;}
.smart-switch input {position:absolute;opacity:0;width:1px;height:1px;}
.switch-track {width:34px;height:21px;position:relative;border-radius:20px;background:#ddd4be;transition:background .15s;flex-shrink:0;}
.switch-track::after {content:"";position:absolute;top:3px;left:3px;background:white;height:15px;width:15px;border-radius:50%;box-shadow:0 1px 2px #22222222;transition:transform .15s;}
.smart-switch input:checked + .switch-track {background:#b7a986;}
.smart-switch input:checked + .switch-track::after {transform:translateX(13px);}
.smart-copy {min-width:0;flex:1;}
.smart-copy b {display:block;font-size:10px;color:#928870;line-height:1.3;}
.smart-copy small {display:block;font-size:9px;color:#cfc3a3;margin-top:2px;}
.color-tips {border-top:1px solid #f8f4e6;margin-top:22px;padding-top:15px;}
.color-tips p {font-size:11px;font-weight:900;color:#a39981;margin:0 0 13px;}
.color-tips>div {display:flex;flex-wrap:wrap;gap:8px;}
.color-tips button {border:1px solid #f7f2e2;border-radius:22px;display:flex;align-items:center;gap:6px;padding:8px 9px;color:#948c79;background:#ffffff;font-size:10px;font-weight:750;}
.color-tips button:hover {background:#fcfaf3;}
.tip-dot {width:11px;height:11px;border-radius:50%;}
.privacy-note {color:#d0c4a5;font-size:10px;line-height:1.55;margin:20px 0 0;}
.privacy-note span {color:#cec1a0;}
.toast {position:fixed;z-index:60;left:50%;bottom:27px;max-width:min(90vw,500px);transform:translate(-50%,30px);opacity:0;pointer-events:none;background:#64593c;color:#ffffff;box-shadow:0 13px 29px #5c523733;font-size:12px;font-weight:850;border-radius:13px;padding:13px 19px;transition:opacity .2s,transform .2s;text-align:center;}
.toast.show {opacity:1;transform:translate(-50%,0);}
.confirm-layer {position:fixed;z-index:55;inset:0;background:#453d2a66;display:grid;place-items:center;padding:22px;backdrop-filter:blur(6px);}
.confirm-card {background:#ffffff;border-radius:27px;box-shadow:0 24px 90px #3a332250;padding:28px 30px 30px;max-width:410px;width:100%;text-align:center;}
.confirm-art {font-size:49px;background:#fbf9f1;border-radius:50%;width:91px;height:91px;display:grid;place-items:center;margin:0 auto 13px;}
.confirm-card h2 {font-size:23px;letter-spacing:-.6px;}
.confirm-card p {color:#9e9785;font-size:14px;line-height:1.6;margin:0 0 20px;}
.confirm-buttons {display:flex;gap:10px;justify-content:center;}
.confirm-buttons button {border:0;border-radius:12px;padding:13px 12px;font-size:12px;font-weight:900;flex:1;}
.cancel-confirm {color:#8b8065;background:#faf8ef;}
.approve-confirm {color:#ffffff;background:#b2a47f;}
@media (max-height:720px) and (min-width:901px) {
 .tool-rail {padding-top:14px;gap:3px;}
 .tool-button {min-height:67px;}
 .rail-title {margin-bottom:1px;}
 .rail-tip {padding:6px;}
 .color-panel {padding-top:15px;}
 .current-color-box {margin:10px 0 16px;}
 .color-grid {gap:6px;}
 .color-swatch .swatch-inner {width:31px;height:31px;}
 .color-tips {margin-top:12px;}
}
@media (max-width:1100px) {
 .site-width {width:min(100% - 46px,1000px);}
 .hero {gap:35px;min-height:600px;}
 h1 {font-size:clamp(48px,6.2vw,68px);}
 .studio-layout {grid-template-columns:87px minmax(0,1fr) 275px;}
 .tool-rail {padding-inline:7px;}
 .color-panel {padding-inline:17px;}
 .tool-button {min-height:76px;}
 .cover-badge {left:-20px;}
}
@media (max-width:900px) {
 .studio {grid-template-rows:59px minmax(0,1fr);}
 .studio-header {padding:0 13px;}
 .studio-brand-flower {height:34px;width:34px;font-size:25px;border-radius:11px;}
 .studio-brand strong {font-size:12px;}
 .studio-brand span:last-child {font-size:9px;}
 .header-controls {gap:5px;}
 .history-actions {gap:1px;padding-right:5px;}
 .icon-button {width:35px;height:35px;border-radius:10px;}
 .icon-button svg,.subtle-button svg,.save-button svg {height:17px;width:17px;}
 .subtle-button,.save-button {height:35px;padding-inline:10px;}
 .studio-layout {grid-template-columns:74px minmax(0,1fr) 230px;}
 .color-panel {padding:17px 12px;}
 .color-grid {gap:9px 5px;}
 .color-swatch .swatch-inner {width:30px;height:30px;}
 .tool-button {font-size:9px;min-height:72px;}
 .tool-icon {height:35px;width:35px;}
 .tool-icon svg {width:23px;height:23px;}
 .panel-heading h2 {font-size:14px;}
 .panel-heading p {font-size:10px;}
 .story-badge,.area-counter {font-size:10px;}
 .canvas-stage-top {padding-inline:12px;height:44px;}
 .stage-footer {height:56px;padding-inline:10px;}
 .tool-instruction {font-size:10px;}
}
@media (max-width:720px) {
 .site-width {width:min(100% - 36px,590px);}
 .landing-header {height:78px;}
 .header-tag {display:none;}
 .hero {grid-template-columns:1fr;gap:30px;min-height:0;padding:28px 0 50px;}
 .hero-copy {text-align:center;}
 .eyebrow {font-size:9px;}
 h1 {font-size:clamp(44px,9vw,65px);letter-spacing:-2.5px;margin:20px auto;}
 h1 .title-star {top:-12px;font-size:38px;}
 .hero-desc {margin:0 auto 25px;font-size:15px;}
 .start-button {font-size:15px;padding:16px 20px;gap:10px;}
 .feature-pills {justify-content:center;margin-top:24px;}
 .cover-area {min-height:350px;margin-inline:28px;}
 .cover-card {width:min(100%,330px);padding:15px;border-radius:24px;}
 .cover-deco-a {left:-14px;top:3px;}
 .cover-ribbon {font-size:9px;top:22px;left:-16px;padding:9px 12px;}
 .cover-badge {left:-25px;bottom:35px;height:80px;width:80px;}
 .cover-badge span {font-size:19px;}
 .cover-badge small {font-size:9px;}
 .how-it-works {display:block;text-align:center;}
 .how-steps {gap:11px;justify-content:center;margin-top:17px;}
 .how-steps span {font-size:11px;gap:4px;}
 .how-steps b {width:27px;height:27px;padding:7px 3px;font-size:10px;}
 .studio {grid-template-rows:54px minmax(0,1fr);}
 .studio-header {padding:0 8px;}
 .studio-brand {gap:6px;}
 .studio-brand-flower {width:29px;height:29px;font-size:22px;}
 .studio-brand strong {font-size:11px;white-space:normal;max-width:125px;line-height:1.05;}
 .studio-brand span:last-child {display:none;}
 .header-controls {gap:2px;}
 .history-actions {padding-right:2px;}
 .icon-button {width:30px;height:31px;}
 .save-button {height:33px;padding-inline:8px;font-size:10px;}
 .save-button svg {height:15px;width:15px;}
 .subtle-button {width:31px;padding:0;}
 .subtle-button span {display:none;}
 .exit-button {width:31px;}
 .studio-layout {display:grid;grid-template-columns:1fr;grid-template-rows:75px minmax(0,1fr) auto;min-height:0;}
 .tool-rail {flex-direction:row;gap:5px;justify-content:space-around;align-items:center;padding:5px 9px;border-bottom:1px solid #f7f3e4;border-right:0;overflow:hidden;}
 .rail-title,.rail-tip {display:none;}
 .tool-button {flex:1;min-width:0;min-height:64px;padding:2px;border-radius:11px;gap:1px;font-size:9px;}
 .tool-icon {height:34px;width:37px;}
 .tool-icon svg {width:23px;height:23px;}
 .canvas-stage-top {height:32px;padding-inline:10px;}
 .story-badge {font-size:10px;}
 .area-counter {font-size:9px;}
 .stage-footer {height:46px;padding-inline:8px;}
 .tool-instruction {font-size:10px;max-width:54%;}
 .zoom-controls {padding:2px;}
 .zoom-controls button {height:26px;width:23px;}
 .zoom-controls span {min-width:34px;font-size:10px;}
 .zoom-controls .fit-button {min-width:57px;font-size:9px;padding-inline:3px;}
 .color-panel {border-top:1px solid #f5f0dd;border-left:0;padding:10px 11px calc(9px + env(safe-area-inset-bottom));overflow:visible;}
 .panel-heading,.current-color-box,.panel-section-label,.native-color-picker,.brush-demo,.color-tips,.privacy-note {display:none;}
 .color-grid {grid-template-columns:repeat(18,37px);display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;gap:7px;padding:5px 7px 6px 3px;}
 .color-swatch {min-width:37px;width:37px;height:37px;flex-shrink:0;}
 .color-swatch .swatch-inner {width:33px;height:33px;}
 .custom-color-link {margin:4px 3px 2px;display:inline-flex;padding:4px 2px;font-size:10px;}
 .custom-color-link .rainbow-badge {font-size:16px;}
 .brush-options {border-top:0;padding:0;margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:8px;}
 .brush-size-head {gap:5px;min-width:0;flex-shrink:0;}
 .brush-size-head label {font-size:10px;}
 .brush-size-head output {font-size:10px;padding:2px 5px;}
 #brushSize {width:25%;margin:0;min-width:45px;}
 .smart-switch {padding:4px 7px;border-radius:8px;gap:6px;}
 .switch-track {height:17px;width:27px;}
 .switch-track::after {height:11px;width:11px;}
 .smart-switch input:checked + .switch-track::after {transform:translateX(10px);}
 .smart-copy b {font-size:9px;}
 .smart-copy small {display:none;}
 .smart-switch>span:last-child {display:none;}
}
@media (max-width:395px) {
 .studio-brand strong {font-size:10px;max-width:109px;}
 .history-actions {border-right:0;}
 .header-controls {gap:1px;}
 .tool-instruction {font-size:9px;max-width:50%;}
 .story-badge {font-size:9px;}
 .area-counter {display:none;}
 .tool-button {font-size:8px;overflow:hidden;white-space:nowrap;}
 .smart-copy b {font-size:8px;}
 .brush-size-head label {display:none;}
}
@media (prefers-reduced-motion: reduce) { *, *::before,*::after {animation-duration:.01ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important;transition-duration:.01ms !important;} }
@media print {
 @page {size:A4 portrait;margin:8mm;}
 body,html {background:white !important;}
 .landing, .studio-header,.tool-rail,.color-panel,.canvas-stage-top,.stage-footer {display:none !important;}
 .studio {position:static;display:block !important;height:auto;background:white;}
 .studio-layout,.canvas-stage,.paper-viewport {display:block !important;overflow:visible !important;height:auto !important;background:white !important;}
 .paper-wrap {transform:none !important;width:190mm !important;height:auto !important;box-shadow:none !important;margin:0 auto !important;}
 #artCanvas {width:100% !important;height:auto !important;}
}

/* Picture-switching controls; all original layout declarations above are preserved. */
.picture-switcher{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;flex:1;}
.picture-switcher button{border:0;border-radius:50%;background:#aa9a72;color:white;width:37px;height:37px;min-width:37px;display:grid;place-items:center;font-size:29px;line-height:1;box-shadow:0 4px 12px #a08f6230;cursor:pointer;}
.picture-switcher button:hover{background:#8d7d55;transform:translateY(-1px);}
.picture-switcher button:focus-visible{outline:3px solid #c5ba9f;outline-offset:2px;}
.picture-caption{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;min-width:0;max-width:235px;color:#8a7b53;}
.picture-caption b{font-size:13px;line-height:1.1;white-space:nowrap;}
.picture-caption span{font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
:root{--active-ink:#938258;}
.tool-button[data-tool="pencil"] .tool-icon svg,.tool-button[data-tool="brush"] .tool-icon svg{stroke:var(--active-ink,#938258);stroke-width:2.3;}
.tool-button[data-tool="pencil"] .tool-icon,.tool-button[data-tool="brush"] .tool-icon{border-bottom:5px solid var(--active-ink,#938258);}
.drawing-feedback{min-width:0;display:flex;align-items:center;gap:6px;}
.drawing-feedback-icon{color:var(--active-ink,#938258);font-size:23px;font-weight:900;min-width:24px;text-align:center;}
.drawing-feedback-swatch{height:15px;width:15px;flex-shrink:0;border:1px solid #8a7b53;border-radius:50%;background:var(--active-ink,#938258);}
.drawing-feedback .tool-instruction{min-width:0;}
@media(max-width:1100px){.canvas-stage-top .story-badge{display:none;}}
@media(max-width:720px){
 .canvas-stage-top{height:67px;gap:5px;padding-inline:6px;}
 .picture-switcher{gap:7px;}
 .picture-switcher button{width:37px;height:37px;min-width:37px;}
 .picture-caption{max-width:160px;}
 .picture-caption span{font-size:10px;}
 .canvas-stage-top .area-counter{display:none;}
 .drawing-feedback-icon{font-size:18px;min-width:20px;}
 .drawing-feedback-swatch{height:13px;width:13px;}
 .drawing-feedback .tool-instruction{font-size:9px;max-width:100%;}
}
/* Pencil and brush are identified by text and by a simple ink-color spot.
   No large pen/brush pictures follow the cursor or obscure the line art. */
.tool-button[data-tool="pencil"] .tool-icon::before,
.tool-button[data-tool="brush"] .tool-icon::before {
  content:"";display:block;border-radius:50%;background:var(--active-ink,#938258);
  box-shadow:0 0 0 3px rgba(114,170,143,.13);
}
.tool-button[data-tool="pencil"] .tool-icon::before {width:11px;height:11px;}
.tool-button[data-tool="brush"] .tool-icon::before {width:21px;height:21px;}


/* Full-window mobile drawing: generous picture, compact always-accessible tools. */
.studio-fullscreen-button{background:#f9f6eb;color:#9e8c5f;}
.studio-fullscreen-button .full-close-icon{display:none;}
body.coloring-immersive .studio-fullscreen-button .full-open-icon{display:none;}
body.coloring-immersive .studio-fullscreen-button .full-close-icon{display:block;}
body.coloring-immersive .studio{height:100dvh;min-height:0;}
@media(max-width:720px){
 body.coloring-immersive .studio{grid-template-rows:43px minmax(0,1fr);}
 body.coloring-immersive .studio-header{padding:0 6px;gap:4px;}
 body.coloring-immersive .studio-brand-flower{display:none;}
 body.coloring-immersive .studio-brand strong{font-size:11px;max-width:100px;}
 body.coloring-immersive .studio-layout{display:block;position:relative;min-height:0;height:100%;overflow:hidden;}
 body.coloring-immersive .canvas-stage{display:block;position:absolute;inset:0;min-width:0;min-height:0;overflow:hidden;}
 body.coloring-immersive .canvas-stage-top{position:absolute;top:0;left:0;right:0;z-index:3;height:41px;background:#fcfbf6ed;border-bottom:1px solid #f6f2e2;}
 body.coloring-immersive .paper-viewport{position:absolute;inset:42px 0 159px;display:flex;min-height:0;min-width:0;}
 body.coloring-immersive .stage-footer{position:absolute;bottom:120px;left:0;right:0;z-index:3;height:38px;background:#fcfbf6ed;padding:0 5px;}
 body.coloring-immersive .tool-rail{position:absolute;left:0;right:0;bottom:66px;height:54px;z-index:6;display:flex;flex-direction:row;align-items:center;justify-content:space-around;padding:3px 7px;gap:3px;box-sizing:border-box;overflow:visible;box-shadow:0 -2px 10px #5d533820;}
 body.coloring-immersive .tool-button{min-height:46px;height:46px;flex:1;gap:0;font-size:9px;padding:1px;touch-action:manipulation;}
 body.coloring-immersive .tool-icon{height:29px;width:31px;}
 body.coloring-immersive .tool-icon svg{width:19px;height:19px;}
 body.coloring-immersive .color-panel{position:absolute;left:0;right:0;bottom:0;z-index:7;height:66px;min-height:0;padding:2px 8px calc(2px + env(safe-area-inset-bottom));background:#ffffff;border-top:1px solid #f4eed8;overflow-y:auto;overscroll-behavior:contain;}
 body.coloring-immersive .color-grid{height:35px;align-items:center;gap:5px;padding:0 5px;}
 body.coloring-immersive .color-swatch{width:32px;min-width:32px;height:32px;}
 body.coloring-immersive .color-swatch .swatch-inner{width:28px;height:28px;}
 body.coloring-immersive .custom-color-link{display:none;}
 body.coloring-immersive .brush-options{margin:1px 2px 0;padding:0;gap:5px;}
 body.coloring-immersive .smart-switch{padding:3px 5px;}
 body.coloring-immersive .zoom-controls{padding:2px;gap:0;}
 body.coloring-immersive .zoom-controls button{min-width:23px;}
 body.coloring-immersive .drawing-feedback .tool-instruction{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
}
@media(max-width:720px) and (max-height:525px){
 body.coloring-immersive .paper-viewport{bottom:112px;}
 body.coloring-immersive .stage-footer{bottom:82px;height:30px;}
 body.coloring-immersive .tool-rail{bottom:42px;height:40px;}
 body.coloring-immersive .tool-button{min-height:37px;height:37px;flex-direction:row;font-size:8px;}
 body.coloring-immersive .tool-icon{height:26px;width:26px;}
 body.coloring-immersive .color-panel{height:42px;overflow:hidden;}
 body.coloring-immersive .color-grid{height:32px;}
 body.coloring-immersive .brush-options{display:none;}
}
@media(min-width:721px){
 body.coloring-immersive .studio{grid-template-rows:60px minmax(0,1fr);}
 body.coloring-immersive .studio-layout{grid-template-columns:85px minmax(0,1fr) 260px;}
 body.coloring-immersive .tool-rail{padding:10px 8px;}
 body.coloring-immersive .tool-button{min-height:66px;}
 body.coloring-immersive .canvas-stage-top{height:43px;}
 body.coloring-immersive .stage-footer{height:48px;}
}
/* A phone turned sideways: thinner controls give the canvas more usable room. */
@media (min-width:721px) and (max-height:540px){
 body.coloring-immersive .studio{grid-template-rows:40px minmax(0,1fr);}
 body.coloring-immersive .studio-header{padding:0 8px;}
 body.coloring-immersive .studio-brand-flower{display:none;}
 body.coloring-immersive .studio-layout{grid-template-columns:58px minmax(0,1fr) 190px;}
 body.coloring-immersive .tool-rail{padding:3px;gap:1px;}
 body.coloring-immersive .rail-title,body.coloring-immersive .rail-tip{display:none;}
 body.coloring-immersive .tool-button{min-height:45px;height:48px;padding:3px 0;font-size:8px;gap:0;}
 body.coloring-immersive .tool-icon{height:24px;width:28px;}
 body.coloring-immersive .tool-icon svg{height:18px;width:18px;}
 body.coloring-immersive .canvas-stage-top{height:34px;}
 body.coloring-immersive .stage-footer{height:35px;padding-inline:5px;}
 body.coloring-immersive .color-panel{padding:6px 8px;}
 body.coloring-immersive .panel-heading,body.coloring-immersive .current-color-box,body.coloring-immersive .panel-section-label,body.coloring-immersive .color-tips,body.coloring-immersive .privacy-note{display:none;}
 body.coloring-immersive .color-grid{gap:3px;}
 body.coloring-immersive .color-swatch .swatch-inner{width:26px;height:26px;}
 body.coloring-immersive .brush-options{padding-top:6px;}
 body.coloring-immersive .smart-switch{padding:5px;gap:5px;}
 body.coloring-immersive .smart-copy b{font-size:9px;}
 body.coloring-immersive .smart-copy small{display:none;}
}

/* Riddle 2 blue visual system, keeps responsive/mobile/fullscreen geometry unchanged. */
:root{--ink:#594f36;--sunflower:#938258;--sunflower-deep:#665b3d;--lavender:#faf7ec;--sunflower:#f6f1e1;--hairline:#f5efdb;}
.picture-switcher button{background:#938258;box-shadow:0 4px 12px #83744e30;}
.picture-switcher button:hover{background:#6c6041;}
.tool-button.active{color:#897a52;background:#f9f6eb;border-color:#e1d9c6;box-shadow:inset 0 0 0 1px #fcfaf4;}
.studio-brand-flower{background:#f9f6eb;color:#938258;}
.current-color-box{background:#fcfaf4;border-color:#f4eeda;}
.panel-heading>span{background:#faf7ec;color:#8a7b53;}

/* Yellow Kingdom color theme, 2026-11-21. */
:root{--ink:#4a422c;--sunflower:#685d3f;--sunflower-deep:#504730;--lavender:#f7f3e3;--sunflower:#e4ddcb;--hairline:#e0d8c4;--active-ink:#b6a884;}
.landing{background:radial-gradient(ellipse at 85% 13%,#e4ddca 0,transparent 35%),radial-gradient(ellipse at 15% 93%,#f5f0dd 0,transparent 38%),#fdfcf7;}
.sky-glow-one{background:radial-gradient(circle,#ddd4bc 0,transparent 72%);}
.sky-glow-two{background:radial-gradient(circle,#f2ebd3 0,transparent 72%);}
h1 span:not(.title-star){color:#736645;}
.eyebrow,.studio-brand-flower,.panel-heading>span{background:#f1e9cd;color:#62573b;}
.brand-mark{background:linear-gradient(145deg,#baad8b,#766946);}
.start-button{background:linear-gradient(105deg,#9e8c5e,#6d6142);}
.cover-ribbon,.picture-switcher button{background:#6c6041;}
.save-button{background:#6c6041;color:#ffffff;}
.canvas-stage{background:radial-gradient(ellipse at 15% 15%,#f2ebd4 0,transparent 45%),radial-gradient(ellipse at 90% 85%,#f5efdb 0,transparent 50%),#fcfaf3;}
.tool-button.active{color:#504730;background:#f1e9cd;border-color:#c0b496;box-shadow:inset 0 0 0 1px #fcfaf3;}
.current-color-box{background:#faf8ef;border-color:#ded6c0;}
.current-color-preview,.brush-demo-dot{background:#b6a884;}
.story-badge,.custom-color-link,.smart-copy,.picture-caption{color:#605539;}
.smart-switch input:checked+.switch-track{background:#796c49;}
.color-swatch[aria-pressed="true"]{border-color:#5b5137;}
.cover-card{aspect-ratio:2/3;}

/* Sunflower palette. Shared Colors layout, tools and fullscreen geometry stay intact. */
:root{--ink:#62573b;--muted:#776a48;--sunflower:#81724d;--sunflower-deep:#7b6d4a;--lavender:#fbf9f1;--sunflower:#f7f3e4;--hairline:#f5efdc;--active-ink:#8f7f56;background:#fdfbf6;}
.landing{background:radial-gradient(ellipse at 85% 13%,#f7f2e2 0,transparent 35%),radial-gradient(ellipse at 15% 93%,#f8f4e5 0,transparent 38%),#fefdfa;}
.sky-glow-one{background:radial-gradient(circle,#f3edd6 0,transparent 72%);}.sky-glow-two{background:radial-gradient(circle,#f3ecd4 0,transparent 72%);}
h1 span:not(.title-star){color:#81724d;}.hero-desc{color:#776a48;}
.eyebrow,.studio-brand-flower,.panel-heading>span{background:#faf7ed;color:#6c6040;}
.brand-mark{background:linear-gradient(145deg,#d0c4a5,#796c49);box-shadow:0 6px 16px #695d3f2b;}
.start-button{background:linear-gradient(105deg,#a8986f,#6b5f40);box-shadow:0 14px 28px #655a3c38;}
.cover-ribbon,.picture-switcher button,.save-button{background:#776a48;color:#ffffff;}
.picture-switcher button:hover,.save-button:hover:not(:disabled){background:#7b6d4a;}
.canvas-stage{background:radial-gradient(ellipse at 15% 15%,#f8f4e8 0,transparent 45%),radial-gradient(ellipse at 90% 85%,#f7f3e4 0,transparent 50%),#fdfbf6;}
.tool-button.active{color:#6b5f40;background:#faf7ee;border-color:#e2dac6;box-shadow:inset 0 0 0 1px #fdfbf6;}
.current-color-box{background:#fcfaf4;border-color:#f3edd6;}.current-color-preview,.brush-demo-dot{background:#8f7f56;}
.story-badge,.custom-color-link,.smart-copy,.picture-caption{color:#6c6040;}
.smart-switch input:checked+.switch-track{background:#81724d;}
.color-swatch[aria-pressed="true"]::after{border-color:#81724d;}
.cover-card{aspect-ratio:2/3;}.cover-card::after{border-color:#f2ebd1;}
.cover-scribble{background:#f7f3e4;color:#948359;}.cover-badge{background:#f3ecd4;color:#685d42;}
.how-intro b,.how-steps b,.studio-fullscreen-button{color:#6c6040;}.studio-fullscreen-button{background:#faf7ed;}
.loading-overlay{background:#fdfcf7ee;color:#6b5f40;}
.panel-heading p,.privacy-note{color:#7b6d4a;}.studio-brand span:last-child{color:#847550;}
.current-color-box strong,.brush-size-head,.smart-copy b{color:#766947;}
.current-color-box small,.panel-section-label,.brush-demo,.smart-copy small,.area-counter,.tool-instruction{color:#7b6d4a;}
.native-color-picker{accent-color:#81724d;}#brushSize{accent-color:#81724d;}
.picture-switcher button{box-shadow:0 4px 12px #695d3f30;}
.color-swatch[aria-pressed="true"]{border-color:#81724d;}.color-swatch.light .check{color:#776a47;}
.brand small,.header-tag,.feature-pills span,.how-intro,.how-steps span,.landing-footer{color:#847550;}.header-tag,.feature-pills span,.how-it-works,.how-steps b{border-color:#f4eedb;}
.eyebrow span,.story-badge span,.current-spark{color:#a59468;}h1 .title-star,.cover-deco,.how-intro span{color:#d6cbae;}.cover-deco-b{color:#c4b99d;}.landing-footer span,.privacy-note span{color:#a49776;}
.start-button:hover{box-shadow:0 18px 36px #73664548;}.cover-card{box-shadow:0 34px 90px #81724d2b,0 6px 20px #81724d0c;}.cover-ribbon{box-shadow:0 6px 16px #73664530;}
.studio,.tool-icon,.rail-tip{background:#fdfcf7;}.studio-header,.tool-rail,.color-panel,.history-actions{border-color:#f5f0de;}
.icon-button{background:#fbf9f1;color:#7f714c;}.icon-button:hover:not(:disabled),.subtle-button:hover,.tool-button:hover{background:#f8f4e7;}.subtle-button,.exit-button,.tool-button{color:#83744f;}
.tool-button.active .tool-icon{box-shadow:0 3px 10px #81724d25;}.rail-title,.rail-tip{color:#99885c;}.rail-tip span{color:#d5caad;}
.paper-wrap{box-shadow:0 15px 42px #81724d2b,0 0 0 1px #f4eeda;}.zoom-controls{border-color:#f4eedb;}.zoom-controls button,.zoom-controls span{color:#7e704b;}.zoom-controls button:hover{background:#faf8ef;}.zoom-controls .fit-button{border-color:#f4eedb;}
.color-panel{scrollbar-color:#e4ddca transparent;}.current-color-preview{box-shadow:0 0 0 3px #ffffff,0 0 0 4px #f4eedb;}.brush-options,.color-tips{border-color:#f5f0de;}
.brush-size-head output{color:#83744f;background:#fbf9f1;}.brush-demo-dot{box-shadow:0 0 0 3px #faf8ef;}.smart-switch{background:#fcfaf3;}.switch-track{background:#e2dac6;}
.color-tips p,.color-tips button{color:#81724d;}.color-tips button{border-color:#f4eedb;}.color-tips button:hover{background:#fbf9f1;}
.toast{background:#766947;box-shadow:0 13px 29px #76694733;}.confirm-layer{background:#5b513766;}.confirm-card{box-shadow:0 24px 90px #5b513750;}.confirm-art,.cancel-confirm{background:#fbf9f1;}.confirm-card p{color:#847550;}.cancel-confirm{color:#6d6142;}.approve-confirm{background:#81724d;}


/* Sunflower: warm cream, golden centers and sage leaves. */
:root{--ink:#5d5030;--muted:#706958;--ink-soft:#706958;--blue:#74643c;--blue-deep:#453b23;--leaf:#74643c;--sunflower:#74643c;--sunflower-deep:#453b23;--purple:#74643c;--purple-dark:#453b23;--purple-bright:#b6a884;--lavender:#faf7ec;--sunflower:#f4edd7;--hairline:#d9cfb5;--line:#d9cfb5;--stroke:#d9cfb5;--page:#fefdfb;--paper:#ffffff;}

.start-button,.save-button{background:linear-gradient(130deg,#f2ebd3,#dad0b6);color:#453b23;box-shadow:0 8px 22px #74643c2a;}.start-button svg{stroke:currentColor;}.start-button:hover,.save-button:hover:not(:disabled){background:linear-gradient(130deg,#d7ccb1,#b8ab8a);box-shadow:0 10px 26px #74643c33;}
.brand-mark{background:linear-gradient(145deg,#f2ebd3,#dad0b6);color:#453b23;}.landing{background:radial-gradient(ellipse at 85% 13%,#e4ddca 0,transparent 35%),radial-gradient(ellipse at 15% 93%,#f4eedb 0,transparent 38%),#fefdfb;}.canvas-stage{background:radial-gradient(ellipse at 15% 15%,#f2ebd2 0,transparent 45%),radial-gradient(ellipse at 90% 85%,#f4eedb 0,transparent 50%),#fefdfb;}
.cover-ribbon,.picture-switcher button,.approve-confirm{background:#74643c;color:#ffffff;}.picture-switcher button:hover{background:#5d5030;}.cover-scribble{background:#f5f0de;color:#74643c;}.toast{background:#453b23;color:#ffffff;}.current-color-preview,.brush-demo-dot{background:#74643c;}.smart-switch input:checked+.switch-track{background:#74643c;}.tool-button.active{color:#5d5030;background:#f3edd7;border-color:#bcaf8f;}.color-swatch[aria-pressed="true"]::after{border-color:#74643c;}h1 span:not(.title-star){color:#74643c;}
body.coloring-immersive .canvas-stage-top,body.coloring-immersive .stage-footer{background:#fefdfbee;}.icon-button,.studio-fullscreen-button{background:#faf7ec;color:#5d5030;}.icon-button:hover:not(:disabled){background:#f3ecd5;}

/* Sunflower: golden flowers, cream backgrounds and dark brown text. */
:root{--ink:#5d5030;--muted:#706958;--ink-soft:#706958;--blue:#74643c;--blue-deep:#453b23;--leaf:#74643c;--sunflower:#74643c;--sunflower-deep:#453b23;--purple:#74643c;--purple-dark:#453b23;--purple-bright:#d1c5a7;--gold:#e4ddcb;--lavender:#faf7ec;--sunflower:#f4edd7;--hairline:#d9cfb5;--line:#d9cfb5;--stroke:#d9cfb5;--page:#fefdfb;--paper:#fff;}
.primary-button,.start-button,.save-button,.brand-icon,.brand-mark{background:linear-gradient(135deg,#f2ebd3,#dad0b6)!important;color:#453b23!important;}.primary-button,.start-button,.save-button{box-shadow:0 6px 0 #a59979,0 12px 25px #74643c28!important;}.primary-button:hover:not(:disabled),.start-button:hover,.save-button:hover:not(:disabled){background:linear-gradient(135deg,#f6f1e1,#e4ddcb)!important;}.primary-button:active:not(:disabled){box-shadow:0 2px 0 #a59979,0 4px 13px #74643c28!important;}
.toast{background:#453b23;color:#fff;border-color:#d9cfb5;}.dialog-backdrop,.confirm-overlay{background:#3b3320bc;}.dialog-card,.victory-card,.confirm-card{background:linear-gradient(145deg,#fff,#faf7ec);border-color:#f4edd7;color:#5d5030;}.dialog-card h2,.confirm-card h2{color:#453b23;}.dialog-card p,.confirm-card p{color:#706958;}.victory-card h2 em,.victory-eyebrow{color:#74643c;}.victory-stats span{background:#faf7ec;color:#74643c;border-color:#dcd3bc;}
.board-overline,.board-footer-tip span{color:#74643c;}.board-footer-tip,.tray-heading p,.tray-bottom,.tray-page-hint{color:#706958;}.zoom-controls>span,.zoom-controls strong{color:#5d5030;}.zoom-controls button,.tray-navigation button{background:#faf7ec;color:#5d5030;border-color:#d9cfb5;}.tray-viewport{background:linear-gradient(120deg,#faf7ec,#fff);border-color:#d9cfb5;}.tray-tile.is-selected{border-color:#a5966f;background:#e4ddcb55;box-shadow:0 0 0 3px #a5966f38,0 5px 14px #74643c29;}
.progress-card{background:linear-gradient(145deg,#96855a,#74643c);color:#fff;}.progress-card .side-eyebrow,.progress-card p,.progress-below,.progress-number span:last-child,.progress-divider{color:#fff;}.progress-fill{background:linear-gradient(90deg,#e4ddcb,#faf7ec);}#progress-fill{background:#a5966f;}.current-color-preview,.brush-demo-dot{background:#74643c;}.complete-stars{color:#74643c;}
