:root {
  --ink:#183d67; --ink-soft:#56728f; --purple:#1976d2; --purple-dark:#0d4c9a;
  --purple-bright:#4aaef2; --pink:#f45ab2; --gold:#ffca65; --paper:#fffefd;
  --page:#f5faff; --stroke:#ece4f5; --shadow:0 18px 55px rgba(65,31,111,.085);
  --radius:27px;
  font-family:ui-rounded,"Arial Rounded MT Bold","Trebuchet MS",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); background:var(--page); font-synthesis:none;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{min-width:320px; scroll-behavior:smooth}
body{margin:0;min-width:320px;min-height:100vh;overflow-x:hidden}
button,input,select{font:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:not-allowed;opacity:.46}
button:focus-visible,select:focus-visible{outline:4px solid #ffb44b;outline-offset:4px}
::selection{background:#bde5ff;color:#3a155c}
.app-shell{min-height:100vh;position:relative;overflow:hidden;isolation:isolate}
.app-shell:before{content:"";position:absolute;inset:0 0 auto;height:690px;pointer-events:none;background:radial-gradient(ellipse at 3% 20%,#e2f4ff 0,transparent 46%),radial-gradient(ellipse at 91% 1%,#ffece4 0,transparent 46%),linear-gradient(180deg,#fffeff,#f5faff);z-index:-2}
.ambient{pointer-events:none;position:absolute;border-radius:50%;filter:blur(7px);z-index:-1}
.ambient-one{width:230px;height:230px;left:-140px;top:470px;background:#ead6ff80}
.ambient-two{width:260px;height:260px;right:-110px;top:150px;background:#ffdfef82}
.site-header,.welcome-screen,.game-screen,.site-footer{max-width:1540px;margin-left:auto;margin-right:auto}
.site-header{height:93px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:20px}
.brand{display:flex;align-items:center;gap:11px}
.brand-icon{background:linear-gradient(140deg,#a765f3,#7439c2);color:white;display:grid;place-items:center;flex:0 0 auto;width:45px;height:45px;border-radius:15px;box-shadow:0 5px 0 #6736a540,0 7px 17px #7640ba32;transform:rotate(-8deg)}
.brand-icon span{font-size:32px;line-height:1;transform:rotate(8deg)}
.brand-name{display:flex;flex-direction:column;line-height:1.12;gap:4px}
.brand-name strong{font-weight:1000;font-size:17px;letter-spacing:.038em}
.brand-name small{font-size:9px;letter-spacing:.17em;color:#9a86b6;font-weight:900}
.header-actions{display:flex;gap:16px;align-items:center}
.header-tag{color:#967cab;font-weight:800;font-size:12px;white-space:nowrap}
.icon-button{width:45px;height:45px;border:1px solid #e9ddf8;border-radius:50%;background:#fff;color:#7742ba;display:grid;place-items:center;box-shadow:0 6px 16px #4a297d0c;transition:transform .2s,box-shadow .2s}
.icon-button:hover{transform:translateY(-2px);box-shadow:0 9px 16px #4a297d19}
.sound-switch svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.sound-switch .sound-off-svg{display:none}
.sound-switch.is-muted .sound-on-svg{display:none}
.sound-switch.is-muted .sound-off-svg{display:block}
.header-home{border:1px solid #e9ddf8;background:#fff;padding:10px 16px;border-radius:15px;color:#7848b4;font-size:14px;font-weight:1000}
.header-home:hover{background:#f7efff}
.welcome-screen{padding:18px 44px 30px;min-height:min(735px,calc(100svh - 140px));display:grid;grid-template-columns:minmax(310px,.82fr) minmax(470px,1.18fr);align-items:center;column-gap:38px}
.welcome-copy{position:relative;padding:28px 0 42px;z-index:1}
.eyebrow{display:inline-flex;gap:10px;align-items:center;font-size:12px;font-weight:1000;letter-spacing:.105em;color:#8a57bf}
.eyebrow-star{display:grid;place-items:center;background:#f2e0ff;color:#9f5be1;border-radius:50%;width:32px;height:32px;font-size:23px;line-height:1}
.welcome-copy h1{font-size:clamp(70px,7.5vw,124px);letter-spacing:-.072em;line-height:.99;margin:24px 0 24px;font-weight:1000}
.green-word{white-space:nowrap;color:#1673cb;background:linear-gradient(115deg,#144fa4 0%,#2888db 40%,#60baf3 90%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 6px 0 #1b72a60f)}
.exclamation{font-weight:900}
.welcome-description{font-size:clamp(17px,1.55vw,20px);font-weight:650;line-height:1.65;color:#655778;max-width:450px;margin:0 0 31px}
.welcome-description strong{color:#1c66b3;font-weight:950}
.primary-button{border:none;color:white;font-weight:1000;box-shadow:0 6px 0 #5b299e,0 12px 25px #7137bd42;background:linear-gradient(150deg,#a868eb,#7640cb);padding:17px 25px;border-radius:18px;transition:transform .15s,box-shadow .15s,filter .15s}
.primary-button:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 9px 0 #5b299e,0 18px 30px #7137bd38;filter:saturate(1.1)}
.primary-button:active:not(:disabled){transform:translateY(4px);box-shadow:0 2px 0 #5b299e,0 4px 13px #7137bd33}
.play-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-width:248px;min-height:68px;font-size:21px}
.button-play-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#ffffff38;font-size:13px;padding-left:3px}
.button-arrow{font-size:24px;margin-left:auto}
.welcome-perks{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px;max-width:470px}
.welcome-perks span{background:white;border:1px solid #ede3f5;padding:8px 11px;border-radius:25px;font-size:12px;font-weight:850;color:#776a8b;box-shadow:0 4px 13px #5b288008}
.welcome-bottom-note{margin-top:36px;color:#a49ab0;font-size:13px;font-weight:700}
.tiny-heart{color:#ec61a9;font-size:19px;vertical-align:middle}
.hero-area{width:100%;position:relative;transform:rotate(1.5deg);padding:15px 9px 25px}
.hero-art-frame{position:relative;z-index:1;padding:10px;border-radius:33px;background:white;box-shadow:0 34px 70px #3e216123,0 9px 0 #a65dd515;border:1px solid #ffffffa8}
.hero-art-frame:before{content:"";position:absolute;inset:0;border:9px solid #fff;border-radius:31px;pointer-events:none;z-index:2}
.hero-art-inner{overflow:hidden;border-radius:24px;aspect-ratio:1536/1024;box-shadow:inset 0 0 0 2px #fff;position:relative}
.hero-art-inner img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s}
.hero-art-frame:hover img{transform:scale(1.03)}
.hero-sticker{position:absolute;right:-12px;bottom:-5px;z-index:3;display:flex;align-items:center;gap:12px;background:#fff9dc;color:#69512d;padding:13px 24px 13px 12px;transform:rotate(-10deg);border:4px solid #fff;box-shadow:0 14px 25px #693a8030;border-radius:20px;font-size:16px;line-height:1.15;font-weight:700}
.hero-sticker strong{font-size:21px;color:#8f40ce;font-weight:1000}
.sticker-heart{font-size:38px}
.hero-sparkle-label{position:absolute;z-index:4;top:0;left:8%;font-size:12px;letter-spacing:.11em;color:#7546ac;font-weight:1000;background:#fff;border:2px solid #eddfff;border-radius:30px;padding:10px 17px;transform:rotate(-11deg);box-shadow:0 6px 16px #864d9f1c}
.floating-star{position:absolute;z-index:4;font-weight:1000;pointer-events:none;filter:drop-shadow(0 3px 1px white);animation:star-float 4s ease-in-out infinite}
.star-a{color:#ffb943;right:-18px;top:14%;font-size:59px}
.star-b{color:#e76cbb;left:-15px;bottom:24%;font-size:44px;animation-delay:1s}
.star-c{color:#9565e8;right:6%;top:-35px;font-size:39px;animation-delay:2s}
.site-footer{min-height:65px;display:flex;align-items:center;justify-content:center;gap:7px;padding:16px;color:#a396af;font-size:12px;font-weight:750}
.site-footer span{color:#e85d9b}.site-footer .footer-star{color:#dcb0f5;margin-left:13px}
/* Game shell */
.game-screen{padding:19px 44px 56px;animation:fade-enter .35s ease}
.game-topline{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:21px}
.game-eyebrow{font-size:10px;letter-spacing:.13em}
.game-title-group h2{font-size:clamp(25px,2.6vw,36px);font-weight:1000;letter-spacing:-.05em;line-height:1.12;margin:5px 0 5px}
.game-title-group h2 em{font-style:normal;color:#9d58db}
.game-title-group p{color:#857591;margin:0;font-weight:680;font-size:13px;line-height:1.45}
.game-controls{display:flex;align-items:end;justify-content:flex-end;flex-wrap:wrap;gap:10px}
.level-wrapper label{font-size:11px;font-weight:950;display:block;margin:0 0 6px 9px;color:#88789b}
.select-shell{position:relative}
.select-shell select{height:47px;max-width:242px;width:242px;appearance:none;-webkit-appearance:none;border:1.5px solid #e5d8f2;background:white;color:#4f3477;border-radius:15px;box-shadow:0 4px 11px #43217d0b;padding:0 32px 0 16px;font-size:13px;font-weight:900;cursor:pointer}
.select-caret{position:absolute;right:14px;top:8px;color:#9866c8;font-size:22px;pointer-events:none}
.control-button{height:47px;border-radius:14px;background:#fff;border:1.5px solid #e9def4;color:#654088;padding:0 14px;font-size:13px;font-weight:1000;box-shadow:0 4px 12px #4a21730c;white-space:nowrap;transition:transform .15s,background .15s}
.control-button:hover:not(:disabled){transform:translateY(-2px);background:#faf2ff}
.control-emoji{font-size:16px}
.control-mini{font-size:9px;display:inline-block;margin-left:2px;color:#a29ab0}
.hint-button.is-active{background:#efe0ff;color:#7332b2;border-color:#cba5ef;box-shadow:0 0 0 2px #dbbdf944}
.hint-button.is-active .control-mini{color:#7932b8}
.reset-button span{font-size:23px;vertical-align:-2px;line-height:0;margin-right:2px}
.game-columns{display:grid;grid-template-columns:minmax(0,1fr) 263px;gap:20px;align-items:start}
.main-game-column{display:flex;flex-direction:column;gap:18px;min-width:0}
.board-card,.tray-card{background:var(--paper);border:1px solid var(--stroke);border-radius:var(--radius);box-shadow:var(--shadow)}
.board-card{padding:13px}
.board-topbar{display:flex;align-items:center;justify-content:space-between;padding:3px 8px 12px;gap:10px}
.board-overline{color:#8a75a1;font-size:11px;letter-spacing:.12em;font-weight:1000}
.board-overline span{color:#d276bd;font-size:20px;vertical-align:middle;margin-right:6px;line-height:.1}
.phase-pill{font-size:10px;white-space:nowrap;color:#936ec4;background:#f3eafb;border-radius:30px;padding:8px 12px;letter-spacing:.085em;font-weight:1000}
.board-scroll{position:relative;overflow:auto;max-height:min(70vh,740px);border-radius:18px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c8a8e8 #f9f4ff}
.board-frame{position:relative;width:100%;aspect-ratio:1536/1024;min-height:0;border-radius:18px;overflow:hidden;isolation:isolate;background:#eadbf4;box-shadow:inset 0 0 0 1px #dcbeeb}
.board-space{position:absolute;top:0;left:0;width:960px;height:640px;transform-origin:top left;touch-action:pan-x pan-y}
.board-paper,.ghost-image,.whole-image,.crack-svg,.glass-shards,.board-flash,.placed-layer,.target-outline{position:absolute;inset:0;user-select:none;-webkit-user-select:none}
.board-paper{z-index:0;background:radial-gradient(ellipse at 48% 31%,#f9f3ff 0%,#efe2fb 75%,#dfd0f3 100%)}
.board-paper:after{content:"";position:absolute;inset:0;opacity:.23;background-image:radial-gradient(#9470bd 1px,transparent 1px);background-size:26px 26px}
.ghost-image,.whole-image{width:100%;height:100%;object-fit:fill;pointer-events:none}
.ghost-image{z-index:1;opacity:0;transition:opacity .3s,filter .3s}
.board-frame.hint-active .ghost-image{opacity:.44;filter:saturate(1.08)}
.target-outline{z-index:2;inset:auto;pointer-events:none;border:4px dashed #ffce47;border-radius:12px;background:#ffffff15;box-shadow:0 0 0 5px #9b42c99c,0 0 25px #ffdd65;animation:target-glow 1.25s ease-in-out infinite}
.placed-layer{z-index:3;pointer-events:none}
.placed-tile{position:absolute;pointer-events:none;filter:drop-shadow(0 2px 2px #35104c5e);animation:piece-snap .3s cubic-bezier(.14,1.8,.35,1) both}
.placed-tile canvas{width:100%;height:100%;display:block}
.whole-image{z-index:4;opacity:1;transition:opacity .12s linear}
.board-frame.phase-playing .whole-image,.board-frame.phase-finding .whole-image{opacity:0}
.crack-svg{z-index:5;width:960px;height:640px;pointer-events:none;opacity:0;overflow:visible}
.crack-svg.is-visible{opacity:1;animation:crack-appear .38s cubic-bezier(.1,.7,.4,1)}
.crack-svg path{stroke:#fffef9;fill:none;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(1px 1px 1px #1a042c) drop-shadow(0 0 3px #ffffffaa)}
.glass-shards{z-index:6;pointer-events:none;overflow:visible}
.glass-chip{position:absolute;width:17px;height:23px;clip-path:polygon(50% 0,100% 100%,3% 76%);background:linear-gradient(135deg,#fff,#b2eeff88,#ffffff33);border:1px solid #fff;opacity:0;animation:glass-fly .92s cubic-bezier(.11,.72,.46,1) both}
.board-flash{z-index:7;pointer-events:none;background:#fff;opacity:0}
.board-flash.flash{animation:flash .45s ease-out}
.board-frame.is-shaking{animation:shake .36s ease both}
.preview-caption{position:absolute;z-index:9;left:3.5%;bottom:5%;color:white;background:linear-gradient(130deg,#36205abf,#30204ebf);backdrop-filter:blur(9px);border:1px solid #ffffff61;border-radius:17px;padding:15px 21px;max-width:67%;display:flex;flex-direction:column;gap:5px;pointer-events:none;box-shadow:0 6px 20px #1705242b}
.preview-caption strong{font-size:clamp(12px,1.4vw,20px);font-weight:1000}
.preview-caption span{font-size:clamp(9px,1.02vw,14px);font-weight:700;color:#f0e7ff}
.hammer-button{position:absolute;z-index:10;right:6%;bottom:8%;width:clamp(83px,13vw,151px);height:clamp(96px,15vw,174px);border:0;background:none;display:flex;align-items:center;flex-direction:column;justify-content:center;filter:drop-shadow(0 12px 8px #210e43a3);animation:hammer-bob 2.2s ease-in-out infinite;touch-action:manipulation}
.hammer-button:hover{filter:drop-shadow(0 14px 15px #361b8eaa) brightness(1.1)}
.hammer-halo{position:absolute;z-index:-1;inset:0;border:5px solid #ffffffba;background:radial-gradient(circle,#ffdf57be,#b55afb77);border-radius:50%;transform:scale(.88);box-shadow:0 0 0 10px #ffffff38}
.hammer-art{position:relative;z-index:1;width:100%;height:88%;overflow:visible;filter:drop-shadow(0 4px 1px #45234755)}
.hammer-label{position:relative;z-index:2;display:block;margin-top:-9px;padding:4px 10px;background:#ffdc50;color:#743565;letter-spacing:.05em;border:2px solid white;border-radius:30px;box-shadow:0 3px 0 #ab6e18;font-weight:1000;font-size:clamp(10px,1.35vw,15px)}
.hammer-button.hammer-hit{animation:hammer-strike .53s cubic-bezier(.13,.72,.24,1) both!important}
.hunt-prompt{position:absolute;top:5%;left:50%;transform:translateX(-50%);z-index:11;pointer-events:none;white-space:nowrap;max-width:94%;font-size:clamp(11px,1.9vw,24px);font-weight:1000;color:white;text-align:center;padding:13px 25px;border-radius:35px;background:#793ccce8;border:2px solid #ffe8ff;box-shadow:0 9px 30px #25104275;animation:hunt-pulse 1.7s ease-in-out infinite}
.hunt-prompt span{font-size:1.2em}
.board-status{position:absolute;z-index:10;bottom:4%;left:50%;transform:translateX(-50%);border-radius:25px;background:#fff7dc;box-shadow:0 9px 26px #36114650;padding:13px 23px;font-size:15px;color:#75572a;white-space:nowrap;font-weight:800}
.board-footer{padding:13px 6px 1px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.board-footer-tip{color:#8b7898;font-size:12px;font-weight:700}
.board-footer-tip span{font-size:20px;color:#b572e1;vertical-align:middle}
.zoom-controls{display:flex;gap:8px;align-items:center;white-space:nowrap}
.zoom-controls>span{font-size:10px;letter-spacing:.1em;color:#a28bae;font-weight:1000;margin-right:1px}
.zoom-controls button{background:#f6edff;color:#7146a0;font-size:23px;width:30px;height:30px;border:1px solid #e9d8fa;border-radius:10px;line-height:1}
.zoom-controls strong{font-size:11px;min-width:36px;text-align:center;color:#81649f}
/* Puzzle tray */
.tray-card{padding:18px 22px 14px;animation:tray-rise .35s ease}
.tray-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.tray-heading{display:flex;align-items:center;gap:12px;min-width:0}
.tray-icon{width:47px;height:47px;display:grid;place-items:center;border-radius:15px;background:#f7eaff;box-shadow:0 4px 0 #d8b8f1;font-size:25px;flex:0 0 auto}
.tray-heading h3{margin:0 0 4px;font-size:17px;letter-spacing:-.035em;font-weight:1000}
.tray-heading p{margin:0;color:#9786a1;font-size:12px;font-weight:700}
.pieces-left{font-size:10px;letter-spacing:0;display:inline-block;background:#f6eefb;color:#a064d2;margin-left:5px;padding:4px 8px;border-radius:30px;vertical-align:middle}
.tray-navigation{display:flex;gap:9px;align-items:center;flex:0 0 auto}
.tray-navigation button{border:1px solid #e9dcfa;border-radius:11px;background:#f8f3ff;color:#8953b6;font-size:28px;line-height:1;width:36px;height:36px;display:grid;place-items:center}
.tray-navigation button:hover:not(:disabled){background:#eee0fe}
.tray-navigation span{min-width:47px;text-align:center;font-weight:1000;font-size:12px;color:#73598c}
.tray-viewport{margin-top:19px;padding:11px 12px;border-radius:18px;background:linear-gradient(120deg,#f7f1fc,#fffbf2);min-height:176px;border:2px dashed #e4d4ef;overflow:hidden;position:relative}
.tray-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,max-content);grid-auto-columns:max-content;align-items:center;justify-content:start;gap:7px 12px;min-height:150px}
.tray-tile{flex:0 0 auto;border:2px solid transparent;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:13px;position:relative;touch-action:none;user-select:none;-webkit-user-select:none;transition:background .18s,filter .18s,transform .15s;outline-offset:2px}
.tray-tile canvas{width:100%;height:100%;display:block;pointer-events:none;filter:drop-shadow(0 2px 2px #4a266677)}
.tray-tile:hover{transform:translateY(-3px)}
.tray-tile.is-selected{border:2px solid #bc66ed;background:#eed3ffb0;box-shadow:0 0 0 3px #d9b1ff77,0 5px 14px #8a41d42e;transform:translateY(-3px)}
.tray-tile.is-drag-source{opacity:.36;transform:scale(.91)}
.tray-tile.is-wrong{animation:wrong-piece .3s ease}
.tray-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 5px 0;color:#ac98b8;font-size:10px;font-weight:820}
.tray-page-hint{color:#b8a9bd}
.drag-layer{position:fixed;inset:0;z-index:80;pointer-events:none;overflow:visible}
.drag-ghost{position:fixed;pointer-events:none;filter:drop-shadow(0 13px 13px #31145577);transform:rotate(-5deg) scale(1.13);opacity:.95;will-change:left,top}
.drag-ghost canvas{width:100%;height:100%;display:block}
/* Side cards */
.guide-column{display:flex;flex-direction:column;gap:16px}
.progress-card{background:linear-gradient(149deg,#7841cc 0%,#9e5ae4 69%,#b267df 100%);color:white;border-radius:24px;box-shadow:0 16px 35px #7f46c345;padding:24px 23px 17px;position:relative;overflow:hidden}
.progress-card:before{content:"✦";position:absolute;right:-10px;top:0;font-size:100px;color:#ffffff16;transform:rotate(21deg)}
.side-eyebrow{font-size:10px;letter-spacing:.11em;font-weight:1000;color:#e8d8ff}
.progress-number{display:flex;align-items:baseline;gap:8px;margin-top:14px;font-size:54px;line-height:1;font-weight:1000;letter-spacing:-.06em}
.progress-number span:last-child{font-size:34px;color:#e7d2ff}
.progress-divider{color:#d9b9ff;font-size:31px}
.progress-card p{margin:9px 0 19px;color:#f7eaff;font-size:12px;font-weight:750}
.progress-track{height:13px;background:#ffffff42;border:2px solid #ffffff36;border-radius:20px;overflow:hidden}
.progress-fill{width:0;height:100%;background:linear-gradient(90deg,#fff9b5,#ffe076);border-radius:20px;transition:width .45s ease}
.progress-below{display:flex;justify-content:space-between;gap:8px;font-size:10px;font-weight:800;color:#f3dfff;margin-top:9px}
.progress-stars{text-align:center;font-size:20px;color:#ffe36f;letter-spacing:12px;white-space:nowrap;margin-top:18px}
.progress-stars span{color:#dab7ff}
.howto-card{background:white;border:1px solid var(--stroke);border-radius:24px;box-shadow:var(--shadow);padding:23px 21px 18px}
.howto-card .side-eyebrow{color:#a477cb}
.howto-card h3{font-size:23px;line-height:1.2;font-weight:1000;letter-spacing:-.05em;margin:9px 0 21px}
.howto-card h3 span{color:#ba62d3}
.howto-step{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.step-number{width:32px;height:32px;border-radius:10px;background:#f4eaff;color:#9b5ad5;font-weight:1000;font-size:11px;display:grid;place-items:center;flex-shrink:0}
.howto-step>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.howto-step strong{font-size:12px;letter-spacing:-.02em;font-weight:1000}
.howto-step small{color:#9e8da8;font-size:10.5px;font-weight:700;line-height:1.3}
.step-emoji{font-size:24px}
.green-fact{display:flex;align-items:center;gap:12px;background:linear-gradient(135deg,#ffedf8,#e2f4ff);border:1px solid #eed6f3;border-radius:23px;padding:19px 15px;position:relative;overflow:hidden}
.color-swatch{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#a75cdb;border:4px solid white;box-shadow:0 6px 14px #8c45be37;font-size:24px;flex-shrink:0}
.green-fact>div:nth-child(2){display:flex;flex-direction:column;gap:3px}
.green-fact span:not(.fact-shine){font-size:8px;color:#a577ae;letter-spacing:.075em;font-weight:1000}
.green-fact strong{font-size:20px;color:#8243b8;font-weight:1000;letter-spacing:-.05em}
.green-fact small{font-size:10px;color:#947ea0;font-weight:800}
.fact-shine{position:absolute;right:6px;top:3px;font-size:24px;color:#dea1db}
/* Dialogs */
.dialog-backdrop{position:fixed;inset:0;z-index:120;display:grid;place-items:center;background:#1e1139bc;backdrop-filter:blur(9px);padding:20px;animation:fade-enter .2s ease}
.dialog-card{width:min(460px,100%);border:7px solid #fff;background:linear-gradient(145deg,#fffdff,#f8ebff);border-radius:35px;padding:32px 30px 33px;text-align:center;box-shadow:0 30px 90px #1f0c3570;animation:modal-enter .35s cubic-bezier(.15,1.35,.4,1)}
.dialog-glyph{font-size:63px;filter:drop-shadow(0 7px 0 #9a70b123)}
.dialog-card h2{font-size:clamp(26px,4vw,36px);letter-spacing:-.055em;line-height:1.1;margin:11px 0;color:#39205d;font-weight:1000}
.dialog-card p{margin:0 auto 25px;color:#897598;font-size:15px;line-height:1.55;max-width:350px;font-weight:750}
.dialog-actions{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}
.dialog-actions button{font-size:13px;min-height:47px;padding:12px 19px}
.secondary-button{color:#785399;background:#fff;border:1px solid #e8d8f0;font-weight:1000;padding:13px 19px;border-radius:15px}
.secondary-button:hover{background:#f5e8fb}
.victory-card{width:min(500px,100%);border:7px solid #fff9d6;background:linear-gradient(145deg,#fffef9,#f8edff);position:relative;overflow:hidden}
.victory-decoration{color:#f1b43a;font-size:30px;letter-spacing:15px}
.victory-medal{width:116px;height:116px;border-radius:50%;background:linear-gradient(130deg,#fbdd67,#f4a3df);margin:10px auto;display:grid;place-items:center;font-size:69px;border:7px solid white;box-shadow:0 8px 0 #f2d299,0 13px 26px #9e5db338;animation:medal-bob 2s ease-in-out infinite}
.victory-eyebrow{color:#b073bd;font-size:11px;letter-spacing:.17em;font-weight:1000;margin-top:23px}
.victory-card h2 em{font-style:normal;color:#a14ce0}
.victory-card p{font-size:14px}
.victory-stats{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin:0 0 24px}
.victory-stats span{background:#fff;border:1px solid #ede0f3;border-radius:20px;padding:9px 13px;color:#8458a8;font-weight:900;font-size:12px}
.toast{position:fixed;z-index:110;bottom:23px;left:50%;max-width:calc(100% - 30px);transform:translate(-50%,40px);opacity:0;pointer-events:none;background:#fff;color:#5e367f;border:2px solid #e9d7fb;box-shadow:0 12px 50px #30104f3d;border-radius:30px;padding:14px 22px;text-align:center;font-size:14px;font-weight:900;transition:opacity .2s,transform .22s}
.toast.show{opacity:1;transform:translate(-50%,0)}
.celebration-confetti{position:fixed;z-index:125;inset:0;overflow:hidden;pointer-events:none}
.confetti-piece{position:absolute;top:-30px;width:11px;height:16px;border-radius:2px;animation:confetti-fall var(--duration,3.5s) ease-in forwards;transform-origin:center}
/* Motion */
@keyframes star-float{0%,100%{transform:translateY(0) rotate(-5deg)}50%{transform:translateY(-12px) rotate(12deg)}}
@keyframes fade-enter{from{opacity:0}to{opacity:1}}
@keyframes tray-rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes hammer-bob{0%,100%{transform:translateY(0) rotate(-7deg)}50%{transform:translateY(-8px) rotate(8deg)}}
@keyframes hammer-strike{0%{transform:rotate(-12deg) translate(0,0) scale(1)}38%{transform:rotate(-47deg) translate(-18%,-30%) scale(1.09)}63%{transform:rotate(28deg) translate(-57%,-44%) scale(1.2)}100%{transform:rotate(6deg) translate(-35%,-28%) scale(.75);opacity:0}}
@keyframes crack-appear{0%{opacity:0;transform:scale(.96)}20%{opacity:1}100%{opacity:1;transform:scale(1)}}
@keyframes shake{0%,100%{transform:translate(0,0)}20%{transform:translate(-5px,3px)}40%{transform:translate(5px,-4px)}60%{transform:translate(-3px,2px)}80%{transform:translate(2px,-1px)}}
@keyframes flash{0%{opacity:0}20%{opacity:.68}100%{opacity:0}}
@keyframes glass-fly{0%{opacity:.9;transform:translate(0,0) rotate(0) scale(1)}100%{opacity:0;transform:translate(var(--fly-x),var(--fly-y)) rotate(var(--fly-rotate)) scale(.2)}}
@keyframes piece-snap{0%{opacity:.8;transform:scale(.78)}65%{opacity:1;transform:scale(1.07)}100%{transform:scale(1)}}
@keyframes target-glow{0%,100%{box-shadow:0 0 0 4px #d6a5ff91,0 0 18px #ffc85288}50%{box-shadow:0 0 0 8px #ddc5ffba,0 0 36px #ffe479b8}}
@keyframes wrong-piece{0%,100%{transform:translateX(0)}25%{transform:translateX(-6px)}75%{transform:translateX(6px)}}
@keyframes modal-enter{from{opacity:0;transform:translateY(25px) scale(.87)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes medal-bob{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(6deg) translateY(-6px)}}
@keyframes hunt-pulse{0%,100%{filter:drop-shadow(0 1px 4px #f9e4ff50)}50%{filter:drop-shadow(0 0 13px #fff0a4)}}
@keyframes confetti-fall{0%{opacity:1;transform:translate3d(0,-20px,0) rotate(0)}95%{opacity:1}100%{opacity:0;transform:translate3d(var(--drift),105vh,0) rotate(var(--spin))}}
/* Responsive */
@media (min-width:1500px){.welcome-screen{column-gap:76px}.hero-area{max-width:795px}}
@media (max-width:1170px){.site-header{padding:0 27px}.welcome-screen{padding:16px 27px 30px;grid-template-columns:minmax(290px,.9fr) minmax(380px,1.1fr);gap:18px}.welcome-copy h1{font-size:clamp(68px,7vw,95px)}.game-screen{padding-left:27px;padding-right:27px}.game-columns{grid-template-columns:minmax(0,1fr) 232px;gap:14px}.guide-column{gap:13px}.progress-card,.howto-card{padding:19px 16px}.game-topline{align-items:start}.game-controls{max-width:570px}}
@media (max-width:850px){.welcome-screen{grid-template-columns:1fr;min-height:0;gap:5px;padding-top:35px;max-width:680px;text-align:center}.welcome-copy{padding:9px 0 15px}.welcome-description{margin-left:auto;margin-right:auto}.welcome-perks{justify-content:center;margin-left:auto;margin-right:auto}.welcome-bottom-note{margin-top:24px}.hero-area{max-width:650px;margin:0 auto 35px;transform:rotate(1deg)}.game-topline{flex-direction:column;align-items:stretch}.game-controls{max-width:none;justify-content:flex-start}.game-columns{grid-template-columns:1fr}.guide-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.green-fact{grid-column:1/-1;justify-content:center}.progress-card{padding:20px 25px}.howto-card{padding:19px 24px}}
@media (max-width:570px){.site-header{height:77px;padding:0 16px}.brand-icon{width:37px;height:37px;border-radius:13px}.brand-icon span{font-size:26px}.brand-name strong{font-size:13px}.brand-name small{font-size:7px;letter-spacing:.12em}.header-tag{display:none}.icon-button{width:39px;height:39px}.header-home{font-size:13px;padding:9px 12px}.welcome-screen{padding:10px 18px 20px}.welcome-copy h1{font-size:clamp(65px,16vw,87px);margin:15px 0}.eyebrow{font-size:9px;letter-spacing:.07em}.welcome-description{font-size:15px;line-height:1.5;margin-bottom:22px}.play-button{min-width:235px;min-height:59px;font-size:18px}.welcome-perks span{font-size:10px;padding:7px 9px}.welcome-bottom-note{font-size:11px;margin-top:19px}.hero-area{padding:7px 4px 26px;margin-bottom:5px}.hero-art-frame{border-radius:22px;padding:6px}.hero-art-frame:before{border:5px solid white;border-radius:20px}.hero-art-inner{border-radius:17px}.hero-sticker{right:-2px;bottom:0;padding:6px 12px 6px 7px;font-size:11px;border:3px solid white;border-radius:13px;gap:6px}.hero-sticker strong{font-size:13px}.sticker-heart{font-size:24px}.hero-sparkle-label{font-size:8px;top:-8px}.floating-star.star-a{font-size:39px;right:-7px}.floating-star.star-b{font-size:30px}.site-footer{font-size:10px;flex-wrap:wrap;padding:15px}.game-screen{padding:13px 10px 35px}.game-title-group{padding:0 7px}.game-title-group h2{font-size:27px}.game-title-group p{font-size:12px}.game-controls{gap:7px}.level-wrapper{flex:1 1 155px}.select-shell select{max-width:none;width:100%;font-size:11px;height:43px;padding-left:10px}.level-wrapper label{font-size:10px}.control-button{height:43px;font-size:12px;padding:0 10px}.reset-button{padding:0 11px}.game-columns{gap:13px}.board-card{padding:6px;border-radius:18px}.board-topbar{padding:7px 8px 9px}.board-overline{font-size:8px}.phase-pill{font-size:8px;padding:6px 9px}.board-scroll,.board-frame{border-radius:12px}.preview-caption{border-radius:9px;max-width:74%;padding:8px 10px;gap:2px;bottom:5%;left:3%}.preview-caption strong{font-size:10px}.preview-caption span{font-size:8px;line-height:1.3}.hammer-button{width:85px;height:99px;bottom:7%;right:2%}.hammer-label{font-size:9px}.board-footer{padding:9px 4px 3px;align-items:start}.board-footer-tip{font-size:9px;max-width:53%;line-height:1.5}.board-footer-tip span{font-size:13px}.zoom-controls{gap:4px}.zoom-controls>span{font-size:8px}.zoom-controls button{width:26px;height:26px;font-size:20px}.zoom-controls strong{font-size:9px;min-width:29px}.tray-card{padding:13px 11px 10px;border-radius:18px}.tray-icon{width:38px;height:38px;font-size:22px;border-radius:11px}.tray-heading{gap:8px}.tray-heading h3{font-size:14px}.tray-heading p{font-size:10px;max-width:190px;line-height:1.3}.pieces-left{font-size:8px;padding:3px 6px}.tray-navigation{gap:4px}.tray-navigation button{width:27px;height:31px;border-radius:9px;font-size:21px}.tray-navigation span{font-size:10px;min-width:36px}.tray-viewport{margin-top:12px;min-height:163px;padding:8px}.tray-grid{gap:5px 7px}.tray-bottom{font-size:9px}.tray-page-hint{display:none}.guide-column{grid-template-columns:1fr 1fr;gap:8px}.progress-card,.howto-card{border-radius:18px;padding:14px 11px}.side-eyebrow{font-size:8px}.progress-number{font-size:38px;gap:5px}.progress-number span:last-child{font-size:25px}.progress-divider{font-size:20px}.progress-card p{font-size:10px;margin:8px 0 11px}.progress-track{height:10px}.progress-below{font-size:8px}.progress-stars{font-size:13px;letter-spacing:5px}.howto-card h3{font-size:16px;margin:7px 0 13px}.howto-step{gap:5px;margin-bottom:10px}.step-number{height:25px;width:25px;font-size:8px;border-radius:7px}.howto-step strong{font-size:9px}.howto-step small{font-size:8px}.step-emoji{display:none}.green-fact{padding:12px}.color-swatch{width:43px;height:43px;font-size:20px}.green-fact strong{font-size:17px}.dialog-card{padding:23px 14px}.dialog-actions{gap:8px}.dialog-actions button{font-size:12px;padding:10px 13px}.hunt-prompt{padding:8px 11px;border-width:1px}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Keep the puzzle pieces and board visible together: a side tray on desktop,
   and a child-friendly bottom dock on smaller screens. */
@media (min-width:851px){
  .guide-column>.tray-card{padding:15px 13px 10px;border-radius:23px;box-shadow:0 16px 45px #61339720}
  .guide-column .tray-top{flex-direction:column;align-items:stretch;gap:11px}
  .guide-column .tray-heading{align-items:flex-start;gap:8px}
  .guide-column .tray-icon{width:35px;height:35px;font-size:20px;border-radius:11px}
  .guide-column .tray-heading h3{font-size:14px;line-height:1.2}
  .guide-column .tray-heading p{font-size:10px;line-height:1.35}
  .guide-column .pieces-left{font-size:9px;margin:5px 0 0}
  .guide-column .tray-navigation{align-self:end}
  .guide-column .tray-viewport{padding:9px;margin-top:9px;min-height:285px}
  .guide-column .tray-grid{grid-template-rows:repeat(4,max-content);gap:6px 7px;min-height:0}
  .guide-column .tray-bottom{font-size:9px;justify-content:center;text-align:center}
  .guide-column .tray-page-hint{display:none}
}
@media (max-width:850px){
  .guide-column>.tray-card:not([hidden]){position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(720px,calc(100vw - 16px));z-index:60;box-shadow:0 6px 0 #bd8ce1,0 22px 70px #31135278;border:2px solid #d7b6ef;animation:none}
  .game-screen{padding-bottom:265px}
  .guide-column .tray-grid{grid-template-rows:repeat(2,max-content)}
}
@media (max-width:850px){
  .toast{bottom:calc(265px + env(safe-area-inset-bottom));font-size:12px;padding:10px 15px;max-width:calc(100vw - 34px)}
}

/* The tray is never allowed to overlap the puzzle board on phones. */
.puzzle-fullscreen-button{border:1px solid #e6d3f9;border-radius:12px;background:#f3eaff;color:#6a3eb0;font-weight:900;font-size:12px;padding:9px 10px;display:inline-flex;align-items:center;gap:6px;min-height:39px;}
.puzzle-fullscreen-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.puzzle-fullscreen-button .fullscreen-icon-exit{display:none;}
body.puzzle-immersive .puzzle-fullscreen-button .fullscreen-icon-enter{display:none;}
body.puzzle-immersive .puzzle-fullscreen-button .fullscreen-icon-exit{display:block;}
@media(max-width:850px){
 .game-screen{padding-bottom:35px;}
 .game-columns{grid-template-columns:minmax(0,1fr);gap:14px;align-items:start;}
 .guide-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;}
 .guide-column>.tray-card:not([hidden]){position:relative;inset:auto;bottom:auto;left:auto;transform:none;width:100%;max-width:100%;grid-column:1 / -1;z-index:auto;animation:tray-rise .35s ease;box-shadow:0 16px 45px #61339720;}
 .guide-column .tray-card{min-width:0;min-height:0;}
 .guide-column .tray-grid{grid-template-rows:repeat(2,max-content);}
 .toast{bottom:20px;}
}
@media(max-width:570px){
 .puzzle-fullscreen-button{min-height:34px;padding:6px 7px;font-size:10px;}
 .puzzle-fullscreen-button span{display:none;}
 .guide-column>.tray-card:not([hidden]){grid-column:1/-1;}
}
/* Puzzle fullscreen: no overlaying tray; board + tray are distinct grid areas. */
body.puzzle-immersive{overflow:hidden!important;overscroll-behavior:none;}
body.puzzle-immersive .app-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden;}
body.puzzle-immersive .site-header{height:49px;min-height:49px;padding:0 11px;position:relative;z-index:4;background:#fff;}
body.puzzle-immersive .brand-icon{width:32px;height:32px;border-radius:10px;}
body.puzzle-immersive .brand-name strong{font-size:12px;}
body.puzzle-immersive .brand-name small{display:none;}
body.puzzle-immersive .header-tag{display:none;}
body.puzzle-immersive .game-screen:not([hidden]){
 position:relative;height:calc(100dvh - 49px);min-height:0;overflow:hidden;
 display:grid;grid-template-rows:auto minmax(0,1fr);gap:6px;
 padding:6px 9px max(7px,env(safe-area-inset-bottom));max-width:none;
}
body.puzzle-immersive .game-topline{margin:0;gap:5px;min-height:0;}
body.puzzle-immersive .game-title-group{display:none;}
body.puzzle-immersive .game-controls{margin:0;display:flex;align-items:center;justify-content:flex-start;gap:6px;max-width:none;}
body.puzzle-immersive .level-wrapper label{display:none;}
body.puzzle-immersive .select-shell select{height:36px;min-height:36px;font-size:11px;}
body.puzzle-immersive .control-button{height:36px;min-height:36px;font-size:11px;padding:5px 9px;}
body.puzzle-immersive .game-columns{height:100%;min-height:0;max-height:100%;overflow:hidden;align-items:stretch;gap:9px;}
body.puzzle-immersive .main-game-column{height:100%;min-height:0;overflow:hidden;}
body.puzzle-immersive .board-card{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:7px;}
body.puzzle-immersive .board-topbar{flex:0 0 auto;padding:3px 5px 7px;}
body.puzzle-immersive .board-scroll{flex:1 1 0;display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;max-height:none;overflow:auto;overscroll-behavior:contain;}
body.puzzle-immersive .board-frame{width:100%;max-width:none;flex:0 0 auto;aspect-ratio:1536/1024;}
body.puzzle-immersive .board-footer{flex:0 0 auto;padding:5px 2px 1px;}
body.puzzle-immersive .board-footer-tip{font-size:10px;}
body.puzzle-immersive .guide-column{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;}
body.puzzle-immersive .guide-column>.tray-card:not([hidden]){
 position:relative;left:auto;bottom:auto;transform:none;inset:auto;z-index:auto;
 width:100%;height:100%;min-height:0;min-width:0;max-width:none;
 box-shadow:0 5px 22px #59339924;display:flex;flex-direction:column;
 padding:8px;overflow:hidden;animation:none;
}
body.puzzle-immersive .tray-top{flex:0 0 auto;gap:6px;}
body.puzzle-immersive .tray-icon{display:none;}
body.puzzle-immersive .tray-heading h3{font-size:12px;margin:0;}
body.puzzle-immersive .tray-heading p{display:none;}
body.puzzle-immersive .tray-navigation button{width:30px;height:31px;}
body.puzzle-immersive .tray-viewport{flex:1 1 0;min-height:0;margin-top:7px;padding:6px;overflow:auto;overscroll-behavior:contain;}
body.puzzle-immersive .tray-grid{min-height:0;}
body.puzzle-immersive .tray-bottom{display:none;}
body.puzzle-immersive .guide-column>.progress-card,
body.puzzle-immersive .guide-column>.howto-card,
body.puzzle-immersive .guide-column>.green-fact{display:none;}
body.puzzle-immersive .site-footer{display:none;}
/* On a portrait phone both panels stay visible, divided vertically. */
@media(max-width:850px) and (orientation:portrait){
 body.puzzle-immersive .game-columns{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,min(52%,355px)) minmax(0,1fr);}
 body.puzzle-immersive .game-columns:not(.has-tray){grid-template-rows:minmax(0,1fr);}
 body.puzzle-immersive .game-columns:not(.has-tray) .guide-column{display:none;}
 body.puzzle-immersive .game-columns.has-tray .guide-column{display:flex;}
 body.puzzle-immersive .board-overline{font-size:9px;}
 body.puzzle-immersive .phase-pill{font-size:8px;padding:5px 8px;}
 body.puzzle-immersive .board-footer-tip{max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
}
/* Wide screens / phone landscape: two separate side-by-side areas. */
@media(min-width:851px), (orientation:landscape){
 body.puzzle-immersive .game-columns{grid-template-columns:minmax(0,1fr) minmax(185px,33%);grid-template-rows:minmax(0,1fr);}
 body.puzzle-immersive .game-columns:not(.has-tray){grid-template-columns:minmax(0,1fr);}
 body.puzzle-immersive .game-columns:not(.has-tray) .guide-column{display:none;}
 body.puzzle-immersive .game-columns.has-tray .guide-column{display:flex;}
 body.puzzle-immersive .guide-column .tray-grid{grid-template-rows:repeat(3,max-content);}
}
@media(max-height:510px){
 body.puzzle-immersive .site-header{height:40px;min-height:40px;}
 body.puzzle-immersive .game-screen:not([hidden]){height:calc(100dvh - 40px);}
 body.puzzle-immersive .game-topline{gap:3px;}
 body.puzzle-immersive .game-controls{gap:4px;}
 body.puzzle-immersive .board-topbar{padding:2px 4px 4px;}
 body.puzzle-immersive .board-footer{padding:2px;}
}

/* Zoomed board starts at its scrollable origin instead of clipping its left edge. */
body.puzzle-immersive .board-scroll.is-zoomed{justify-content:flex-start;align-items:flex-start;}

/* Yellow Quest theme — responsive/fullscreen layout above is preserved from the Robin reference. */
:root{
  --ink:#4b3d12;
  --ink-soft:#74663d;
  --purple:#d6a000;
  --purple-dark:#8f6700;
  --purple-bright:#ffd84d;
  --gold:#ffd84d;
  --page:#fffdf4;
  --stroke:#eedf9c;
}
.app-shell:before{
  background:radial-gradient(ellipse at 3% 20%,#fff7c9 0,transparent 45%),
             radial-gradient(ellipse at 91% 1%,#fff0df 0,transparent 35%),
             linear-gradient(180deg,#fffef8,#fffbea)!important;
}
.ambient-one{background:#ffe79b80}.ambient-two{background:#ffd9b982}
.green-word{
  white-space:normal;
  background:linear-gradient(120deg,#8b6500 0%,#d49d00 42%,#f4c430 73%,#ffd84d 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  filter:drop-shadow(0 6px 0 rgba(154,112,0,.08));
}
.brand-icon,.primary-button{
  background:linear-gradient(135deg,#ffe45c,#f4bd18)!important;
  color:#3b2c00!important;
}
.primary-button{
  box-shadow:0 6px 0 #b88500,0 12px 25px rgba(169,126,0,.26)!important;
  text-shadow:none!important;
}
.primary-button:hover:not(:disabled){box-shadow:0 9px 0 #a77900,0 18px 30px rgba(169,126,0,.24)!important;filter:saturate(1.03)}
.primary-button:active:not(:disabled){box-shadow:0 2px 0 #a77900,0 4px 13px rgba(169,126,0,.22)!important}
.button-play-icon{background:rgba(255,255,255,.48);color:#4a3600}
.brand-name small{color:#9b7b20}
.header-home,.icon-button,.control-button,.puzzle-fullscreen-button{
  background:#fff9cf!important;border-color:#dfc55c!important;color:#654b00!important;
}
.header-home:hover,.control-button:hover:not(:disabled),.puzzle-fullscreen-button:hover{background:#fff2a8!important}
.eyebrow,.hero-sparkle-label{color:#8a6400}
.eyebrow-star{background:#fff0a6;color:#b78300}
.welcome-description strong{color:#9b7100}
.hero-sticker{background:#fff9cf;color:#5b4715}
.hero-sticker strong{color:#936b00!important}
.phase-pill{color:#715300!important;background:#fff3b5!important}
.game-title-group h2 em{color:#bb8600!important}
.hint-button.is-active{background:#fff0a4;color:#765600;border-color:#d6ac21;box-shadow:0 0 0 2px rgba(214,172,33,.25)}
.hint-button.is-active .control-mini{color:#765600}
.board-frame{background:#fff4b8!important;aspect-ratio:4/3!important}
.board-paper{background:radial-gradient(ellipse at 48% 31%,#fffef4 0%,#fff4bf 75%,#f6df87 100%)!important}
.board-paper:after{background-image:radial-gradient(#dabd55 1px,transparent 1px)!important}
.tray-icon,.step-number{background:#fff1a8;color:#8b6500;box-shadow:none}
.pieces-left{background:#fff3bd;color:#8b6500}
.tray-navigation button{background:#fff8d8;color:#765600;border-color:#ead77f}
.tray-navigation button:hover:not(:disabled){background:#fff0aa}
.tray-tile.is-selected{border-color:#e0ad00;background:rgba(255,226,91,.42);box-shadow:0 0 0 3px rgba(240,190,0,.22),0 5px 14px rgba(140,101,0,.16)}
.progress-card{background:linear-gradient(149deg,#ffdf5d 0%,#f7c52d 72%,#edb715 100%);color:#433100;box-shadow:0 16px 35px rgba(177,128,0,.24)}
.progress-card:before{color:rgba(255,255,255,.24)}
.progress-card .side-eyebrow,.progress-card p,.progress-below,.progress-number span:last-child,.progress-divider{color:#5d4500}
.progress-track{background:rgba(255,255,255,.48);border-color:rgba(133,91,0,.14)}
.progress-fill{background:linear-gradient(90deg,#fffbe0,#fff,#fff3a3)}
.progress-stars{color:#fff7cc}.progress-stars span{color:#a57400}
.howto-card .side-eyebrow{color:#9b7200}.howto-card h3 span{color:#bb8600}
.green-fact,.blue-fact{background:linear-gradient(135deg,#fff9cf,#fff0a2)!important;border-color:#e5c95f!important}
.color-swatch{background:#f4c430;border-color:#fff;box-shadow:0 6px 14px rgba(158,112,0,.24)}
.green-fact span:not(.fact-shine){color:#8f721d}.green-fact strong{color:#7b5900}.green-fact small{color:#77673e}.fact-shine{color:#d99e00}
.secondary-button{color:#654b00;background:#fffdf0;border-color:#e4cf79}.secondary-button:hover{background:#fff3b2}
.victory-card h2 em{color:#b98200}.victory-eyebrow{color:#9a7100}
.toast{color:#624900;border-color:#ecd16b}

/* The yellow title is longer than Robin: keep the same mobile composition without widening the iframe. */
.welcome-copy,.welcome-copy h1,.green-word{min-width:0;max-width:100%;}
@media(max-width:850px){
  .welcome-screen{width:100%;max-width:680px;min-width:0;overflow:hidden;}
  .welcome-copy,.hero-area{width:100%;min-width:0;max-width:100%;}
  .welcome-copy h1{overflow-wrap:normal;word-break:normal;}
}
@media(max-width:570px){
  .welcome-screen{padding-left:18px;padding-right:18px;}
  .welcome-copy h1{font-size:clamp(44px,13vw,62px);line-height:.94;letter-spacing:-.055em;}
  .green-word{display:inline;white-space:normal;}
  .welcome-description{width:100%;max-width:100%;padding:0 4px;}
  .play-button{width:min(100%,310px);min-width:0;}
  .welcome-perks{width:100%;max-width:100%;justify-content:center;}
  .hero-area{box-sizing:border-box;}
}
