@charset "UTF-8";
.telemetry-notice{display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap;color:#755a6e;font-size:10px;margin-top:2px;line-height:1.3}.telemetry-notice button{min-height:44px;padding:6px 3px;background:none;color:#68425c;text-decoration:underline;text-underline-offset:2px;font-size:10px}.telemetry-toggle{display:flex;align-items:center;gap:9px;text-align:left;font-size:13px;min-height:44px}.telemetry-toggle input{width:20px;height:20px;accent-color:#71475f;flex-shrink:0}.telemetry-toggle input:focus-visible{outline:3px solid #2c8f9c;outline-offset:3px}#telemetry-dialog{max-height:calc(100dvh - 28px);overflow-y:auto}#telemetry-dialog>p{font-size:12px;line-height:1.5;margin:12px 0}.telemetry-status:empty{display:none}#telemetry-dialog>.telemetry-detail{font-size:11px}#pause-dialog{max-height:calc(100dvh - 28px);overflow-y:auto}
:root{font-family:"Trebuchet MS","Segoe UI",sans-serif;color:#352239;background:#352239;font-synthesis:none;--plum:#352239;--pink:#e85b79;--cream:#fff9ef;--mint:#a7d8c7;--gold:#ffcc77}
*{box-sizing:border-box}body{margin:0;min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:100px;background:radial-gradient(ellipse at 70% 25%,#735166 0%,#352239 55%);overflow-x:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #2c8f9c;outline-offset:4px}button{border:0}button:active:not(:disabled){transform:translateY(2px)}[hidden]{display:none!important}.desktop-note{color:#f9dece;max-width:265px}.desktop-note p{font-family:Georgia,serif;font-size:38px;line-height:1.15;margin:20px 0}.desktop-note span{font-size:17px;line-height:1.7;color:#ddbbcb}.desktop-note small{line-height:1.8;color:#bda2b9}.note-flower{font-size:82px;color:#f7b0ba;line-height:1}.note-line{width:45px;height:3px;background:#b17b91;margin:30px 0}
.game{position:relative;width:460px;height:min(900px,96dvh);min-height:620px;overflow:hidden;background:#e2baa4;border-radius:30px;box-shadow:0 24px 100px #120d245e;isolation:isolate;display:flex;flex-direction:column}.world{position:absolute;inset:0;z-index:-2;overflow:hidden}.illustration{position:absolute;inset:0;background:#e9b5a5 url('./assets/market.png') center 40%/cover no-repeat;transition:filter 2s}.light-layer{position:absolute;inset:0;transition:background 2s;background:linear-gradient(180deg,#ecdfb80d 0%,#ffedd500 65%,#6f28412b 100%)}.morning .illustration{filter:saturate(.85) brightness(1.09)}.sunset .light-layer{background:linear-gradient(180deg,#d0658712,#ffc36818 50%,#8d2c6426)}.night .illustration{filter:brightness(.48) saturate(.7) hue-rotate(8deg)}.night .light-layer{background:linear-gradient(180deg,#211e6266,transparent 60%,#181c5836)}.sun-glow{position:absolute;top:14%;right:10%;width:130px;height:130px;border-radius:50%;background:#ffda9570;filter:blur(28px);transition:opacity 2s}.night .sun-glow{opacity:0}.stars{opacity:0;position:absolute;inset:0 0 55%;background-image:radial-gradient(circle at 10% 27%,#fff6d1 0 1px,transparent 2px),radial-gradient(circle at 25% 38%,#fff6d1 0 1px,transparent 2px),radial-gradient(circle at 73% 22%,#fff6d1 0 2px,transparent 3px),radial-gradient(circle at 60% 44%,#fff6d1 0 1px,transparent 2px),radial-gradient(circle at 88% 12%,#fff6d1 0 1px,transparent 2px);transition:opacity 2s}.night .stars{opacity:1}.string-lights{position:absolute;left:-5%;right:-5%;top:30%;height:65px;display:flex;justify-content:space-around;border-bottom:2px solid #6b435a;border-radius:0 0 50% 50%;transform:rotate(-5deg);opacity:0;transition:opacity 1s}.string-lights i{width:10px;height:14px;border-radius:50%;background:#ffe199;margin-top:50px;box-shadow:0 0 14px 6px #ffd8886b}.string-lights i:nth-child(3n){margin-top:45px}.sunset .string-lights,.night .string-lights{opacity:1}
.toolbar{display:flex;align-items:center;justify-content:space-between;padding:20px 21px 10px;z-index:3;flex-shrink:0}.brand{color:#352239;text-decoration:none;font-family:Georgia,serif;font-size:28px;font-weight:bold;line-height:.85;text-shadow:0 1px 14px #fff7e9}.brand span{display:block;font-family:"Trebuchet MS",sans-serif;font-size:10px;font-weight:600;margin-top:7px;letter-spacing:.5px}.toolbar-buttons{display:flex;gap:8px}.icon-button{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#4c354d;background:#fffaf0d9;box-shadow:0 2px 0 #35223912}.icon-button svg{width:25px;height:25px}.night .brand{color:#fff2de;text-shadow:none}.hud{display:flex;align-items:center;justify-content:space-between;margin:8px 16px 0;padding:11px 14px;background:#fff9efef;box-shadow:0 4px 20px #39213818;border-radius:20px;gap:10px}.clock{display:grid;grid-template-columns:25px auto;column-gap:7px;align-items:center;line-height:1.2}.clock>span{grid-row:1/3;display:flex;color:#df9473}.clock svg{width:25px}.clock strong{font-size:16px}.clock small{font-size:10px;color:#775966}.mood-wrap{display:flex;gap:7px;align-items:center}.mood-wrap>span{font-size:22px}.mood-wrap small{font-size:10px;display:block;margin-bottom:3px}.mood-wrap meter{height:7px;width:71px;display:block;border:0;border-radius:10px;background:#ead9d8}.mood-wrap meter::-webkit-meter-bar{height:7px;background:#ead9d8;border:0}.mood-wrap meter::-webkit-meter-optimum-value{background:#6fa58a}.coins{display:flex;align-items:center;gap:6px}.coin-symbol{display:grid;place-items:center;width:25px;height:25px;background:#ffdc89;border:2px solid #f1bd64;border-radius:50%;font-size:10px;font-weight:bold;color:#8a592a}.coins strong{font-size:17px}.day-track{height:3px;background:#fff9ef59;margin:8px 28px 0;border-radius:3px;overflow:hidden}.day-track div{height:100%;background:#e9688e;transition:width .7s}
.cover{position:relative;text-align:center;padding:24px 15px 0;z-index:1;pointer-events:none}.cover-dedication{font-size:12px;background:#fff8eabe;border-radius:20px;padding:7px 12px;display:inline-block;color:#774956}.cover h1{font-family:Georgia,serif;font-size:65px;font-weight:normal;letter-spacing:-3px;line-height:.98;margin:20px 0 15px;color:#522d46;text-shadow:0 2px 20px #fff8cf80}.cover h1 em{font-style:italic}.cover p{font-size:15px;line-height:1.5;color:#59394d;margin:0}.cover-stamp{display:none}.intro .toolbar{padding-bottom:0}.intro .brand{visibility:hidden}.intro .scene{min-height:100px}.intro .diana-character{width:190px;left:calc(50% - 95px);bottom:-16px}.intro .diana-character .emotion{display:none}.intro .stall-name,.intro .team-pennant{display:none}.intro .panel{background:linear-gradient(180deg,#fff7e900,#fff7e9 35%);padding-top:30px;box-shadow:none;border-radius:0}.intro .panel p{text-align:center;font-size:12px;color:#756174;margin:10px 0 0}.intro .illustration{background-position:center 53%;filter:brightness(1.03) saturate(.86)}
.scene{flex:1;position:relative;min-height:190px;z-index:1}.stall-name{position:absolute;top:36%;left:20%;right:20%;text-align:center;background:#fff4da;color:#664455;padding:7px 4px;border-radius:3px 3px 12px 12px;box-shadow:0 3px 0 #b47b681f;font-family:Georgia,serif;font-size:15px;transform:rotate(-2deg)}.stall-name span{color:#e07a8d;margin-left:4px}.team-pennant{position:absolute;right:11%;top:50%;background:#fff5de;padding:8px 8px 15px;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%);transform:rotate(8deg);box-shadow:0 2px 8px #35223920}.team-pennant b{display:grid;place-items:center;font-size:20px;border:2px solid #882e43;border-radius:50%;width:25px;height:25px;color:#882e43}.character{position:absolute;bottom:-14px;filter:drop-shadow(0 6px 3px #412a3420);transition:left .4s,width .4s;pointer-events:none}.diana-character{left:10%;width:140px;z-index:2}.diana-character #diana-portrait{width:100%;height:100%}.diana-character img{display:block;width:100%;height:100%;object-fit:contain}.diana-character svg{width:100%;display:block}.customer-character{right:9%;width:127px;bottom:-17px;z-index:2;animation:arrive .45s ease-out}.customer-character svg{width:100%;display:block}.emotion{position:absolute;top:1%;right:0;font-size:24px;color:#e66086;text-shadow:0 2px 0 #fff3e3;transition:transform .3s}.diana-character.upset .emotion{color:#9f3048;transform:rotate(-12deg)}.diana-character.upset{filter:drop-shadow(0 4px 12px #dd27422b)}.bubble{position:absolute;top:11px;left:20px;right:20px;max-width:360px;margin:0 auto;background:#fffaf2f5;border-radius:18px 18px 18px 3px;padding:12px 15px;box-shadow:0 4px 18px #3921391f;font-size:14px;line-height:1.35;z-index:4;animation:arrive .25s ease-out}.bubble strong{display:block;font-size:11px;color:#a45b76;margin-bottom:4px}.bubble:after{content:"";position:absolute;bottom:-8px;right:32px;border-style:solid;border-width:8px 8px 0 0;border-color:#fffaf2f5 transparent transparent transparent}.scene-caption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:12px;font-weight:bold;z-index:4;color:#fff8e9;text-shadow:0 1px 7px #352239;background:linear-gradient(transparent,#35223930)}.family{position:absolute;bottom:-8px;left:2%;right:2%;display:flex;justify-content:center;align-items:flex-end;z-index:3}.family .family-member{width:78px;display:flex;flex-direction:column;align-items:center}.family .family-member svg{width:100%}.family .family-member small{background:#fff3e1e6;padding:3px 5px;border-radius:6px;font-size:10px;margin-top:-7px}.family .family-member:nth-child(2){width:67px}.ending .diana-character{left:4%;width:115px;bottom:0}.ending .family{left:32%}.ending .scene{min-height:165px}.ending .stall-name{top:4%}.ending .team-pennant{display:none}
.panel{position:relative;flex-shrink:0;z-index:5;background:var(--cream);border-radius:26px 26px 0 0;padding:21px 21px calc(19px + env(safe-area-inset-bottom,0px));box-shadow:0 -5px 24px #36223815}.panel h2{font-family:Georgia,serif;font-weight:normal;font-size:26px;line-height:1.12;margin:0 0 10px;letter-spacing:-.65px}.panel p{font-size:14px;line-height:1.5;margin:0 0 15px;color:#755a6e}.primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:51px;padding:12px 16px;border-radius:15px;background:#58354e;color:#fff7e9;font-weight:bold;font-size:15px;box-shadow:0 4px 0 #382437;transition:background .15s}.primary:hover{background:#704263}.primary:disabled{background:#d5c7cb;color:#715d69;box-shadow:0 3px 0 #bdb0b8}.primary .item-icon{width:23px;height:23px}.primary.pink{background:#d75879;box-shadow:0 4px 0 #ad3d62}.text-button{display:block;padding:12px;min-height:44px;background:none;color:#745268;font-size:12px;text-decoration:underline;text-underline-offset:3px;margin:auto}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.panel-heading h2{font-family:inherit;font-weight:bold;font-size:16px;letter-spacing:0;margin:0}.panel-heading small{font-size:11px;color:#886f7b}.order-tray{display:flex;align-items:center;gap:8px;min-height:46px;padding:8px 12px;background:#f1e6df;border-radius:13px;margin-bottom:13px}.order-tray>small{font-size:11px;color:#79606c;margin-right:auto}.order-slot{width:35px;height:36px;border:1px dashed #c9b6bd;background:#fbf4e9;border-radius:8px;display:grid;place-items:center}.order-slot.filled{border:1px solid #94b6a0;background:#e2efdf}.order-slot svg{width:31px;height:31px}.tray-clear{padding:6px;min-width:32px;min-height:34px;font-size:20px;color:#846371;background:none}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:13px}.product{position:relative;display:flex;align-items:center;flex-direction:column;padding:7px 2px 6px;min-height:94px;border-radius:14px;background:#fae8e5;border:1px solid #edd2d3;box-shadow:0 3px 0 #e8cdcd;color:#533c4b}.product:nth-child(2){background:#f3e4ec;border-color:#e4cedb;box-shadow:0 3px 0 #e4cedb}.product:nth-child(3){background:#fff0cb;border-color:#ecdba8;box-shadow:0 3px 0 #ecdba8}.product:nth-child(4){background:#e4efe1;border-color:#c7dbc5;box-shadow:0 3px 0 #c7dbc5}.product svg{width:43px;height:43px}.product strong{font-size:11px;line-height:1.3;margin:3px 0 0}.product small{font-size:9px;color:#816875}.product-count{position:absolute;top:-5px;right:-4px;border-radius:50%;background:#684158;color:white;min-width:20px;height:20px;padding:3px;font-size:11px;font-weight:bold}.action-row{display:flex;gap:10px}.action-row>.primary{flex:1}.chocolate{display:flex;align-items:center;justify-content:center;gap:2px;min-width:61px;padding:4px 8px;border-radius:14px;background:#e6eee4;border:1px solid #c4d9c5;color:#4a6954;font-weight:bold;font-size:12px}.chocolate svg{width:33px;height:33px}.chocolate:disabled{opacity:.4}.helper{font-size:10px;text-align:center;color:#937b88;margin:11px 0 0!important;line-height:1.3!important}.story-kicker{display:flex;align-items:center;gap:7px;font-size:11px;color:#b0657e;margin-bottom:8px}.story-kicker>span{font-size:16px}.story .panel{padding-top:23px}.story .panel>p{min-height:42px}.story .bubble{font-size:13px}.story .customer-character{width:139px}.decoration .scene .character{left:5%;width:110px}.decor-options{display:flex;gap:9px;margin:14px 0}.decor-option{flex:1;background:#f5e8df;color:#664653;border:1px solid #e2c7c2;border-radius:15px;min-height:95px;padding:9px 2px}.decor-option svg{display:block;width:46px;height:46px;margin:auto}.decor-option span{display:block;font-size:11px;margin-top:4px}.decor-option:disabled{background:#e2efdf;border-color:#a8c9b1;color:#496a52}.decor-progress{height:6px;background:#eaded4;border-radius:6px;overflow:hidden}.decor-progress>div{height:100%;background:#e092aa;transition:width .35s}.placed-decor{position:absolute;inset:28% 8% 25%;pointer-events:none}.placed-decor .garland{position:absolute;width:100%;top:13%;left:0;filter:drop-shadow(0 3px 2px #4f254c30)}.placed-decor .flowers-left,.placed-decor .flowers-right{position:absolute;width:90px;bottom:0;left:0}.placed-decor .flowers-right{left:auto;right:0}.placed-decor .extra-lights{position:absolute;width:90%;top:0;left:5%;filter:drop-shadow(0 0 8px #ffe68b)}.decoration .stall-name{display:none}.decor-palette{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:12px}.decor-palette button{width:28px;height:28px;border:3px solid #fff8ed;outline:1px solid #d8c9c5;border-radius:50%;background:var(--swatch)}.decor-palette button[aria-pressed=true]{outline:2px solid #6c415b}.decor-palette small{font-size:10px;color:#846b77;margin-right:3px}
.ending .panel{text-align:center}.ending .panel h2{font-size:30px}.ending-flower{font-size:25px;color:#da708d;line-height:1;margin-bottom:8px}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:16px 0 18px}.summary-grid>div{background:#f2e7e0;padding:11px 3px;border-radius:12px}.summary-grid strong{display:block;font-size:22px;color:#775369}.summary-grid small{font-size:10px;color:#896d7c}.ending .panel>p{font-size:12px;margin-bottom:10px}.toast{position:absolute;bottom:40%;left:50%;transform:translate(-50%,12px);width:max-content;max-width:85%;border-radius:15px;padding:11px 16px;background:#4f344fea;color:#fff5e1;font-size:13px;line-height:1.4;box-shadow:0 4px 16px #24143125;z-index:20;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translate(-50%,0)}.particles{position:absolute;inset:0;pointer-events:none;z-index:15;overflow:hidden}.spark{position:absolute;font-size:24px;color:var(--spark);animation:sparkle 1.4s ease-out forwards;left:var(--x);top:55%}dialog{border:0;border-radius:27px;padding:28px;width:calc(100% - 40px);max-width:360px;color:#4d354c;background:#fff9ef;box-shadow:0 12px 80px #1a122480;text-align:center}dialog::backdrop{background:#251d3eb5;backdrop-filter:blur(5px)}dialog h2{font-family:Georgia,serif;font-size:28px;font-weight:normal;margin:10px 0}dialog>p{font-size:13px;line-height:1.6;color:#866d7e;margin:12px 0 22px}.dialog-flower{font-size:50px;line-height:1;color:#d8708e}.howto{border-top:1px solid #e8d9d8;margin-top:15px;padding-top:15px}.howto strong{font-size:12px}.howto p{font-size:11px;color:#887080;line-height:1.6}.game.celebrate .diana-character{animation:happy .5s ease-in-out}.game.celebrate .coins{animation:happy .5s ease-in-out}
@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes happy{0%,100%{transform:translateY(0)}45%{transform:translateY(-12px) rotate(-3deg)}70%{transform:translateY(-5px) rotate(3deg)}}@keyframes sparkle{from{opacity:1;transform:translate(0,0) rotate(0)}to{opacity:0;transform:translate(var(--dx),-200px) rotate(140deg)}}
@media(max-width:850px){body{background:#352239;gap:0}.desktop-note{display:none}.game{width:min(100%,480px);height:100dvh;max-height:1000px;min-height:580px;border-radius:0;box-shadow:none}.toolbar{padding-top:max(16px,env(safe-area-inset-top))}.cover{padding-top:20px}.cover h1{font-size:62px}.intro .diana-character{width:176px;left:calc(50% - 88px)}}
@media(max-height:740px){.game{min-height:560px}.toolbar{padding-top:12px;padding-bottom:4px}.hud{padding:8px 12px}.panel{padding:15px 17px max(14px,env(safe-area-inset-bottom))}.cover{padding-top:8px}.cover h1{font-size:52px;margin:15px 0 10px}.cover p{font-size:13px}.intro .diana-character{width:147px;left:calc(50% - 73px)}.scene{min-height:160px}.diana-character{width:119px}.customer-character{width:108px}.bubble{top:6px;padding:9px 12px;font-size:12px}.product{min-height:82px}.product svg{width:35px;height:35px}.products{margin-bottom:10px}.order-tray{margin-bottom:10px;min-height:41px;padding:6px 10px}.story .panel{padding-top:18px}.story .panel>p{font-size:13px;margin-bottom:12px}.panel h2{font-size:24px}.ending .panel h2{font-size:26px}.summary-grid{margin:10px 0 14px}.ending .scene{min-height:150px}.stall-name{font-size:13px}.story .customer-character{width:120px}}
@media(max-width:370px){.toolbar{padding-left:16px;padding-right:16px}.hud{margin-left:12px;margin-right:12px}.panel{padding-left:15px;padding-right:15px}.products{gap:6px}.primary{font-size:14px}.bubble{left:14px;right:14px}.cover h1{font-size:54px}.story .panel h2{font-size:24px}.story .panel p{font-size:13px}}
.request{display:flex;gap:4px;align-items:center;min-height:38px;margin:-4px 0 9px}.request>span:first-child{font-size:11px;color:#806675;margin-right:5px}.request-item{display:grid;place-items:center;width:32px;height:32px;background:#f2e6dc;border-radius:50%}.request-item svg{width:28px;height:28px}.request>small{font-size:10px;color:#9b7f8b;margin-left:auto}.diana-character.painted{width:200px;left:2%;bottom:-17px}.intro .diana-character.painted{width:230px;left:calc(50% - 115px);bottom:-8px}.painted .emotion{top:5%;right:20%}.customer-character.painted-customer{width:120px;height:245px;right:12%}.customer-sprite{width:100%;height:100%;background-image:url('./assets/customers.png');background-size:300% 100%;background-repeat:no-repeat;background-position:center}.customer-sprite.barber{background-position:left}.customer-sprite.rapper{background-position:right}.ending .diana-character.painted{width:157px;left:-2%}.decoration .diana-character.painted{width:165px;left:0}.intro .scene{min-height:230px}.intro .cover{z-index:3}.intro .panel{margin-top:-12px}.game.story .painted-customer{height:250px;width:125px}.ending .scene{min-height:225px}
@media(max-height:740px){.diana-character.painted{width:166px;left:1%}.intro .diana-character.painted{width:210px;left:calc(50% - 105px)}.intro .scene{min-height:205px}.customer-character.painted-customer{width:98px;height:200px}.game.story .painted-customer{height:220px;width:110px}.ending .scene{min-height:180px}.ending .diana-character.painted{width:144px}.request{margin-bottom:6px;min-height:31px}.request-item{width:29px;height:29px}.request-item svg{width:25px;height:25px}.panel-heading{margin-bottom:8px}.scene{min-height:145px}}
.world{bottom:auto;height:var(--world-height,100%)}.illustration{background-position:center 60%}.diana-character.painted{width:160px;left:4%}.intro .diana-character.painted{width:230px;left:calc(50% - 115px)}.ending .diana-character.painted{width:157px;left:-2%}
@media(max-height:740px){.diana-character.painted{width:142px;left:4%}.intro .diana-character.painted{width:210px;left:calc(50% - 105px)}.ending .diana-character.painted{width:136px}.customer-character.painted-customer{width:96px;height:192px}.game.story .painted-customer{width:104px;height:208px}}
.illustration{background-image:url('./assets/market-supplies.webp')}.customer-sprite{background-image:url('./assets/customers.webp')}.in-plaza .illustration{background-image:url('./assets/plaza.webp')}.in-plaza .team-pennant,.in-plaza .stall-name{display:none}
@media(max-height:640px){.ending .scene{min-height:120px}.ending .diana-character.painted{width:108px}.ending .family-member{width:58px}.ending .family-member:nth-child(2){width:49px}.ending .panel h2{font-size:23px}.ending .panel{padding-top:11px;padding-bottom:12px}.ending .summary-grid>div{padding:7px 3px}.ending .summary-grid strong{font-size:20px}.ending .panel>p{font-size:11px}.ending .ending-flower{display:none}.intro .cover{padding-top:3px}.intro .cover h1{font-size:44px;margin:10px 0}.intro .cover p{font-size:12px}.intro .cover-dedication{font-size:10px;padding:5px 8px}.intro .scene{min-height:160px}.intro .diana-character.painted{width:165px;left:calc(50% - 82.5px)}.intro .panel{padding-top:20px}.intro .panel p{font-size:10px}.game{min-height:560px}}
.icon-button{width:44px;height:44px}.tray-clear{min-width:44px;min-height:44px}.decor-palette button{width:44px;height:44px;border-width:8px}.order-tray{padding-top:4px;padding-bottom:4px}
.cover p{display:inline-block;padding:7px 16px;border-radius:14px;background:#fff2dcd9;box-shadow:0 2px 12px #cf8d6814}.placed-decor .garland svg{width:100%;height:85px}.placed-decor .extra-lights svg{width:100%;height:70px}.placed-decor .garland{top:22%}.ending .family{bottom:24px}.ending .scene-caption{bottom:3px}
.family.painted-family{display:block;left:auto;right:3%;width:200px;bottom:8px}.family-photo{display:block;width:320px;max-width:none;margin-left:-60px}.family-names{display:flex;justify-content:space-evenly;margin-top:-2px}.family-names small{font-size:10px;color:#714a5b;background:#fff2ddea;padding:3px 5px;border-radius:5px}.ending .family.painted-family{bottom:24px}
@media(max-height:740px){.family.painted-family{width:160px;right:4%}.family-photo{width:270px;margin-left:-55px}}
@media(max-height:640px){.ending .family-photo{width:225px;margin-left:-32px}.ending .family.painted-family{bottom:20px}.ending .family-names small{font-size:9px;padding:2px 3px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.spark{display:none}}

.difficulty-options,.pack-toggle,.prank-choices{display:flex;gap:7px}.difficulty-options{margin:12px 0}.difficulty-options button,.pack-toggle button,.prank-choices button{flex:1;min-height:44px;padding:8px;border:1px solid #d9c5cc;border-radius:12px;background:#f4e7e5;color:#68475d;font-size:12px;font-weight:bold}.difficulty-options button[aria-pressed=true],.pack-toggle button[aria-pressed=true]{color:#fff9ef;background:#71475f;border-color:#71475f;box-shadow:0 2px 0 #4c3045}.difficulty-options button small{display:block;font-size:10px;font-weight:normal;margin-top:3px}.pack-toggle{margin:8px 0 10px}.pack-toggle button{padding:7px 6px;font-size:11px}.timer-line{display:flex;align-items:center;gap:8px;margin:0 0 8px;color:#866375;font-size:10px}.timer-track{flex:1;height:7px;background:#eadbd8;border-radius:7px;overflow:hidden}.timer-track>i{display:block;height:100%;width:100%;background:#7eae92;border-radius:inherit;transition:width .15s linear,background .3s}.timer-seconds{min-width:28px;font-weight:bold;text-align:right;font-variant-numeric:tabular-nums}.timer-line.urgent .timer-track>i{background:#d75d79}.timer-line.urgent{color:#b13f5e}.request{gap:5px;flex-wrap:wrap;margin:0 0 8px;min-height:35px}.request-item{display:grid;grid-template-columns:26px auto;grid-template-rows:18px 14px;column-gap:3px;width:auto;height:auto;min-width:65px;padding:4px 7px;border-radius:10px;background:#f1e6df}.request-item svg{grid-row:1/3;width:26px;height:29px}.request-item b{font-size:13px;line-height:18px}.request-item>span{font-size:9px;line-height:13px;white-space:nowrap}.request>small{font-size:9px}.order-tray{gap:5px;margin-bottom:9px;min-height:46px;padding:3px 7px}.tray-item{display:flex;align-items:center;gap:3px;min-width:34px;position:relative;font-size:10px}.tray-item>span{display:flex;align-items:center;justify-content:center;width:24px;height:28px}.tray-item svg{width:24px;height:28px}.tray-item>strong{font-size:11px;font-variant-numeric:tabular-nums}.tray-item .product-count{position:static;min-width:18px;height:18px;padding:2px;font-size:10px}.order-tray>small{font-size:10px}.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.product{min-height:78px;padding:5px 2px}.product svg{width:36px;height:36px}.product strong{font-size:11px}.product small{font-size:9px}.phone-overlay{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:22px;background:#251b36c9;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.phone-card{width:100%;max-width:340px;max-height:calc(100% - 24px);overflow-y:auto;background:#fff9ef;border:1px solid #ffffff80;border-radius:27px;padding:25px 23px;text-align:center;box-shadow:0 18px 70px #160c2b66}.phone-avatar{display:grid;place-items:center;width:74px;height:74px;margin:0 auto 14px;background:#e0eee4;border-radius:50%;color:#597f6d}.phone-avatar svg{width:52px;height:52px}.caller-label{font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#a56880}.phone-card h2{font-family:Georgia,serif;font-size:28px;font-weight:normal;margin:8px 0 10px}.phone-card p{font-size:13px;line-height:1.5;color:#806276;margin:0 0 17px}.phone-choices{display:grid;gap:9px}.phone-choices button{min-height:48px;padding:11px 13px;border-radius:13px;background:#67415c;color:#fff8ec;font-weight:bold;font-size:12px}.phone-choices button:last-child{background:#eee0df;color:#744d63}.phone-choices button small{display:block;font-size:10px;font-weight:normal;margin-top:4px;opacity:.85}.prank-choices{margin:11px 0}.prank-choices button{min-height:48px;background:#fae4dc;line-height:1.3}.decor-request{padding:9px 11px;margin:0 0 10px;background:#f2e8df;border-radius:12px;font-size:12px;line-height:1.4;color:#735269}.decor-request strong{color:#57394f}.decor-request .item-icon{width:23px;height:23px;vertical-align:middle}.scoreline{font-size:11px;line-height:1.4;color:#8c647c;margin:7px 0}.scoreline strong{color:#65435a}.market .panel{padding-top:14px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.market .panel-heading{margin-bottom:7px}.market .helper{margin-top:7px!important}.game{min-height:min(560px,100dvh)}
@media(max-height:740px){.market .panel{padding:11px 15px max(10px,env(safe-area-inset-bottom))}.market .products{margin-bottom:8px}.market .product{min-height:69px;padding:4px 2px}.market .product svg{width:29px;height:29px}.market .product strong{font-size:10px}.market .request{margin-bottom:6px}.market .pack-toggle{margin:6px 0 8px}.market .scene{min-height:120px}.market .primary{min-height:44px;padding:9px 12px}.market .helper{font-size:9px;margin-top:6px!important}.market .panel-heading h2{font-size:15px}.market .panel-heading small{font-size:10px}}
@media(max-height:600px){.game{height:100dvh;min-height:100dvh}.toolbar{padding:7px 13px 3px}.brand{font-size:24px}.brand span{font-size:9px;margin-top:5px}.hud{margin-top:3px;padding:6px 10px;border-radius:14px}.day-track{margin-top:5px}.market .panel{padding:9px 12px max(9px,env(safe-area-inset-bottom))}.market .panel-heading{margin-bottom:5px}.market .request-item{padding:3px 5px;min-width:61px}.market .timer-line{margin-bottom:5px}.market .pack-toggle{margin:5px 0 7px}.market .products{gap:5px;margin-bottom:7px}.market .product{min-height:64px}.market .product svg{width:27px;height:27px}.market .order-tray{margin-bottom:7px}.market .helper{display:none}.market .scene{min-height:90px}.market .diana-character.painted{width:119px}.market .customer-character.painted-customer{width:80px;height:160px;right:8%}.bubble{font-size:11px;padding:7px 10px;top:5px}.bubble strong{font-size:10px}.difficulty-options{margin:8px 0}.difficulty-options button{padding:6px 4px;font-size:11px}.intro .scene{min-height:100px}.intro .diana-character.painted{width:139px;left:calc(50% - 69.5px)}.intro .cover h1{font-size:39px;margin:8px 0}.intro .panel{padding-top:15px}.intro .cover p{font-size:11px;padding:5px 11px}}
@media(min-height:800px){.market .scene{min-height:235px}.market .panel{padding-top:19px;padding-bottom:max(20px,env(safe-area-inset-bottom))}.market .product{min-height:88px}.market .product svg{width:43px;height:43px}.market .products{margin-bottom:13px}.market .pack-toggle{margin:10px 0 12px}.market .request{margin-bottom:11px}.market .timer-line{margin-bottom:11px}}
.market .diana-character.painted{height:var(--character-height,200px);width:calc(var(--character-height,200px)*2/3)}.market .customer-character.painted-customer{height:var(--character-height,200px);width:calc(var(--character-height,200px)/2)}.timer-track.urgent>i{background:#d75d79}.empty-tray{font-size:10px;color:#967b88}.phone-clock{font-size:11px;line-height:1.4;color:#b25770;margin:0 0 12px}.phone-clock .timer-seconds{font-size:12px}
@media(max-height:640px){.decoration .scene{min-height:80px}.decoration .panel{padding:11px 13px max(10px,env(safe-area-inset-bottom))}.decoration .panel h2{font-size:21px;margin-bottom:6px}.decoration .panel>p{font-size:11px;line-height:1.35;margin-bottom:8px}.decoration .decor-request{padding:6px 8px;margin-bottom:6px;font-size:10px;line-height:1.3}.decoration .timer-line{margin-bottom:6px}.decoration .decor-options{margin:7px 0;gap:6px}.decoration .decor-option{min-height:65px;padding:5px 2px}.decoration .decor-option svg{width:31px;height:31px}.decoration .decor-option span{font-size:10px;margin-top:2px}.decoration .decor-palette{margin-top:7px;gap:6px}.decoration .decor-progress{height:4px}.decoration .primary{min-height:44px;padding:8px 10px;font-size:13px}.decoration .action-row{margin-top:7px}.decoration .helper{display:none}.decoration .diana-character.painted{width:112px}}
