:root{font-family:"Hiragino Maru Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif;color:#513b29;background:#e7eddb;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-height:100svh;display:grid;place-items:center;background:radial-gradient(ellipse at top,#fcf8ed,#dce9d2)}button{font:inherit;font-weight:700;color:inherit;border:2px solid #ccbb91;background:#fffbeb;border-radius:18px;min-height:48px;padding:10px 18px;cursor:pointer;box-shadow:0 4px 0 #c4ae85;transition:transform .15s,background .15s}button:active{transform:translateY(3px);box-shadow:0 1px 0 #c4ae85}button:focus-visible{outline:4px solid #376b87;outline-offset:3px}button:hover{background:#fff4c9}button:disabled{opacity:.6;cursor:wait}#app{width:min(100%,480px);height:min(100svh,880px);min-height:560px;position:relative;overflow:hidden;background:url('assets/garden.webp') center/cover;border-radius:32px;box-shadow:0 20px 80px #52644038}header{position:absolute;top:0;left:0;right:0;z-index:4;display:flex;justify-content:space-between;align-items:center;padding:calc(12px + env(safe-area-inset-top)) 20px 8px}.brand{font:italic bold 19px Georgia,serif;color:#63472e;text-shadow:0 1px #fff}.small{font-size:12px;min-height:40px;padding:6px 12px;border-radius:20px}.screen{height:100%;position:relative;padding-top:76px}.screen[hidden]{display:none}.title{text-align:center}.title p{font-size:20px;letter-spacing:.15em;margin:6px 0}.title h1{font-size:clamp(30px,8vw,40px);line-height:1.25;margin:0 0 12px;letter-spacing:-.05em;text-shadow:2px 3px #fff9e5}.title>span{font-weight:700;font-size:14px;background:#fff8dcbf;border-radius:20px;padding:7px 16px}.hero{height:calc(100% - 392px);min-height:160px;display:flex;align-items:center;justify-content:center;flex-direction:column;margin:15px 0 8px}.hero img{height:calc(100% - 38px);max-width:85%;object-fit:contain;filter:drop-shadow(0 8px 7px #59623424)}.name{background:#fffbeded;border:1px solid #d4bd88;border-radius:18px;font-weight:700;padding:5px 24px;font-size:14px}.menu{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:7%;width:86%;display:flex;flex-direction:column;gap:12px;padding:18px 18px 10px;background:#fff9e9e8;border:2px solid #fff;border-radius:28px;box-shadow:0 5px 24px #56623629}.primary{background:#769b52;color:white;border-color:#54753b;box-shadow:0 5px 0 #476332;font-size:23px;min-height:58px;letter-spacing:.05em}.primary:hover{background:#678c44}.primary span{font-size:15px;margin-left:20px}.text{border:0;box-shadow:none;background:transparent;min-height:32px;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:14px}.menu small{text-align:center;font-size:11px}.hud{position:absolute;top:78px;left:16px;right:16px;display:flex;gap:8px;z-index:2}.hud>div{background:#fffbedee;border:2px solid #d4bd88;border-radius:18px;padding:8px 14px;flex:1;display:flex;align-items:baseline;gap:5px}.hud small{font-size:11px}.hud strong{font-size:28px}.hud span{font-size:12px}.hud button{min-width:50px;padding:8px}#hearts{position:absolute;top:144px;left:22px;z-index:2;display:flex;gap:2px}#hearts img{width:32px;height:32px;object-fit:contain}canvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}.control{position:absolute;bottom:max(14px,env(safe-area-inset-bottom));left:16px;right:16px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.control button{pointer-events:auto;width:60px;touch-action:none}.control span{text-align:center;font-size:13px;background:#fff9e9df;padding:5px 16px;border-radius:18px}.control small{font-size:10px}dialog{color:#513b29;border:3px solid #d5c095;border-radius:28px;background:#fffbed;width:min(90vw,432px);max-height:86svh;padding:30px 20px 22px;box-shadow:0 20px 80px #26322155}dialog::backdrop{background:#34403273;backdrop-filter:blur(3px)}dialog h2{text-align:center;margin:12px 0 8px;font-size:24px}dialog p{text-align:center;line-height:1.7;font-size:14px}.close{position:absolute;top:8px;right:8px;width:44px;height:44px;padding:0;box-shadow:none;border:0;background:transparent;font-size:28px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px}.pet{padding:6px 3px;border-radius:14px;font-size:11px;box-shadow:0 2px 0 #c4ae85}.pet img{display:block;width:100%;aspect-ratio:1;object-fit:contain}.pet[aria-pressed=true]{border:3px solid #668f46;background:#edf3d8}.dialog-actions{display:grid;gap:12px;margin-top:20px}.rules{display:grid;grid-template-columns:1fr 1fr;gap:8px}.rule{display:flex;align-items:center;gap:8px;font-size:12px;background:#eee9d8;border-radius:12px;padding:6px}.rule img{width:48px;height:48px;object-fit:contain}.result-img{display:block;width:145px;height:145px;object-fit:contain;margin:auto}.result-score{text-align:center;font-size:52px;font-weight:800;color:#59793c;margin:8px}.result-score small{font-size:16px}#notice{position:absolute;bottom:100px;left:8%;width:84%;font-size:13px;background:#fffbed;border-radius:12px;text-align:center;z-index:5}#notice:empty{display:none}.urgent{color:#ad352b}@media(max-width:500px){#app{border-radius:0;height:100svh;width:100%}}@media(max-height:670px){.title h1{font-size:29px}.title p{font-size:16px}.title>span{font-size:12px}.menu{gap:8px;padding:12px 16px;bottom:12px}.hero{height:calc(100% - 342px);margin-top:10px}.screen{padding-top:68px}.menu .primary{min-height:50px}.menu small{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Opaque cream nameplate keeps the brand readable over the garden. */
.brand{font-style:normal;font-size:17px;color:#513b29;background:#fffbed;border:1px solid #d4bd88;border-radius:18px;padding:9px 14px;box-shadow:0 3px 0 #c4ae8570;text-shadow:none;white-space:nowrap}

.pet{overflow-wrap:anywhere;line-height:1.5;font-size:12px}.name{max-width:95%;text-align:center}

#home .hero{height:clamp(130px,26vh,240px)}#home .hero img{max-height:100%;object-fit:contain}.menu{gap:8px}.menu button{min-height:44px}.menu small{font-size:11px;line-height:1.5}#wallet{margin:0;color:#435831;font-weight:700}.pet:disabled{opacity:.5}.control{pointer-events:none;font-size:12px}button:focus-visible{outline:3px solid #35689b;outline-offset:3px}.dialog-actions button{min-height:48px}button:disabled{cursor:default}
.places{display:grid;gap:14px}.place-choice{padding:0 0 10px;overflow:hidden;display:grid;gap:7px}.place-choice>img{width:100%;height:96px;object-fit:cover;object-position:50% 65%}.place-choice>span{display:flex;padding:0 8px}.place-choice>span img{width:16.66%;height:48px;object-fit:contain}.place-choice small{font-size:11px}.encounter{position:absolute;inset:0;z-index:20;overflow:hidden;background:#dce8c5}.encounter-bg,.encounter video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.place-name{position:absolute;top:max(20px,env(safe-area-inset-top));left:20px;margin:0;padding:10px 16px;background:#fffbeded;border-radius:20px;font-weight:bold}.encounter-skip{position:absolute;right:16px;bottom:max(24px,env(safe-area-inset-bottom));font-size:12px}.arrival[hidden]{display:none}.arrival-pet{position:absolute;left:22%;top:30%;width:56%;height:34%;object-fit:contain;filter:drop-shadow(0 12px 12px #695c3d44);animation:pet-arrival .7s ease-out both}.pet-glow{position:absolute;inset:29% 14% 30%;border-radius:50%;background:radial-gradient(ellipse,#fffcccad,transparent 70%)}.sparkles{position:absolute;top:28%;left:10%;width:80%;font-size:44px;line-height:1.6;letter-spacing:15px;color:#fffac1;text-shadow:0 0 8px #e9a939;pointer-events:none;animation:twinkle 1.8s ease-in-out 2}.arrival-card{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:6%;width:88%;padding:16px;background:#fffbedf2;border:2px solid white;border-radius:24px;text-align:center;display:grid;gap:9px}.arrival-card p,.arrival-card h2{margin:0}.arrival-card h2{font-size:21px}.arrival-card small{font-size:11px}.arrival-card .primary{font-size:18px;min-height:48px}@keyframes pet-arrival{from{opacity:0;transform:translateY(16px) scale(.88)}to{opacity:1;transform:none}}@keyframes twinkle{0%,100%{opacity:.25}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.arrival-pet,.sparkles{animation:none}}@media(max-height:650px){.arrival-card{gap:5px;padding:10px}.arrival-card p{font-size:12px}.arrival-pet{top:22%;height:32%}.place-name{font-size:12px}.arrival-card button{min-height:40px;padding:7px}}
/* Three compact destinations, all visible on a portrait phone. */
dialog.place-dialog{padding:32px 14px 14px;max-height:94svh;width:min(94vw,432px)}.place-dialog h2{font-size:22px;margin:4px 0}.place-dialog p{margin:8px 0;font-size:12px;line-height:1.4}.place-dialog .places{gap:9px}.place-dialog .place-choice{position:relative;display:grid;grid-template-columns:70px 1fr;grid-template-rows:auto auto;gap:3px 8px;padding:8px;text-align:left;min-height:88px}.place-dialog .place-choice>img{grid-row:1/3;width:70px;height:72px;border-radius:10px;object-position:center 65%}.place-dialog .place-choice>strong{font-size:15px}.place-dialog .place-choice>span{padding:0}.place-dialog .place-choice>span img{height:38px}.place-dialog .place-choice>small{display:none}.difficulty-detail{display:block;font-size:12px;line-height:1.6;margin:5px 0;font-weight:normal}@media(max-height:550px){.place-dialog .places{grid-template-columns:repeat(3,1fr)}.place-dialog .place-choice{display:flex;flex-direction:column;text-align:center}.place-dialog .place-choice>img{width:100%;height:56px}.place-dialog .place-choice>span{flex-wrap:wrap}.place-dialog .place-choice>span img{width:33.33%;height:28px}.place-dialog .place-choice>strong{font-size:12px}}
/* Illustrated, mobile-first encounter chooser. */
dialog.meet-dialog{width:min(100vw,480px);height:100svh;max-height:100svh;max-width:100vw;margin:auto;padding:0;border:0;border-radius:24px;background:linear-gradient(#bce5f033,#76ad9866),url('assets/garden.webp') center/cover;color:#493019;overscroll-behavior:contain}.meet-page{padding:12px 12px max(12px,env(safe-area-inset-bottom));min-height:100%;display:flex;flex-direction:column;gap:9px;text-align:center}.meet-brand{align-self:center;padding:7px 22px;background:#fff9e9;border:3px double #d5bc8e;border-radius:28px;font:bold 23px Georgia,serif;box-shadow:0 3px 8px #6c52352a}.meet-page h2{font-size:clamp(23px,6.2vw,31px);margin:0;line-height:1.2;text-shadow:0 2px #fff,2px 0 #fff,-2px 0 #fff}.meet-page .meet-sub{margin:0;font-size:14px;font-weight:bold;text-shadow:0 1px 3px #fff}.meet-wallet{display:flex;gap:10px;justify-content:center}.meet-wallet>span{display:flex;align-items:center;justify-content:center;gap:12px;width:42%;border:3px double #d7bc91;background:#fff9e9;border-radius:24px;font-size:22px;font-weight:bold;padding:3px 12px}.meet-wallet img{width:32px;height:32px;object-fit:contain}.meet-scene{position:relative;flex:1;min-height:200px;border:7px double #dbc89e;border-radius:29px;background-position:center 64%;background-size:cover;box-shadow:0 4px 12px #34452e33;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:8px 6px}.meet-scene h3{margin:0;padding:5px 24px;border:3px double #d7bc91;background:#fff9e9f2;border-radius:28px;font-size:22px}.meet-scene p{font-size:13px;line-height:1.5;margin:5px 0;background:#fffbedc9;border-radius:15px;padding:3px 12px}.meet-pets{display:flex;align-items:flex-end;width:100%;margin-top:auto;min-height:84px}.meet-pets img{width:16.666%;height:clamp(75px,12svh,120px);object-fit:contain;filter:drop-shadow(0 3px 2px #293b2533)}.meet-count{font-size:12px;font-weight:bold;border-radius:20px;background:#fff9e9e8;padding:4px 20px}.meet-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.meet-actions button{font-size:18px;line-height:1.3;padding:9px 5px;border:4px double #c4c5a4;background:#d3dec3;box-shadow:0 3px 0 #7e947a}.meet-actions button span{display:block;font-size:18px;margin-top:2px}.meet-page .meet-gold{background:linear-gradient(#ffe480,#ffc52d);color:#503411;border:4px double #fff5ca;box-shadow:0 3px 0 #c58c2c}.meet-page button:disabled{opacity:.62;filter:saturate(.4)}.meet-destinations{background:#fff9eaf2;border:5px double #d5c19a;border-radius:26px;padding:8px}.meet-destinations h3{font-size:19px;margin:0 0 7px}.meet-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.meet-tabs button{position:relative;min-width:0;padding:5px;border:3px double #c3c7a5;background:#e1e8cd;border-radius:20px;box-shadow:0 3px 0 #9baf8e}.meet-tabs button img{display:block;width:100%;height:clamp(58px,10svh,95px);object-fit:cover;object-position:center 64%;border-radius:13px}.meet-tabs button span{display:block;font-size:clamp(12px,3.6vw,16px);white-space:nowrap;margin-top:4px}.meet-tabs button[aria-pressed=true]{background:#ffda62;border-color:#edaf27;box-shadow:0 0 8px #ffe047}.meet-tabs b{position:absolute;right:-3px;top:-7px;border:2px solid white;border-radius:50%;background:#e9a317;color:white;width:27px;height:27px;font-size:18px}.meet-destinations p{border-top:2px dotted #d2c59e;margin:10px 0 0;padding-top:6px;font-size:12px}.meet-bottom{display:flex;justify-content:space-between;gap:14px}.meet-bottom button{min-width:125px;min-height:48px;font-size:20px;border:4px double #d9c49a}.meet-note{font-size:11px!important;margin:0!important;background:#fffbedbc;border-radius:12px}.meet-page button:focus-visible{outline:3px solid #27587d;outline-offset:2px}@media(min-height:750px){.meet-page{height:100%;gap:12px}}@media(max-width:500px){dialog.meet-dialog{border-radius:0}}@media(max-height:600px){.meet-page{height:auto}.meet-scene{min-height:200px}.meet-tabs button img{height:60px}}
/* Garden home: stitched plaques, clear play action, Shiba and Corgi guides. */
#app:has(#home:not([hidden])){background-image:url('assets/home-garden-v1.webp')}header{padding:calc(9px + env(safe-area-inset-top)) 14px 5px;gap:16px}.home-wallet,.settings-button{display:flex;align-items:center;gap:9px;background:#fff9e9;border:4px double #d9c39e;border-radius:25px;box-shadow:0 3px 0 #ad936a;padding:4px 14px;min-height:44px}.home-wallet img{width:33px;height:33px;object-fit:contain}.home-wallet strong{font-size:23px}.settings-button{font-size:17px}.settings-button span{font-size:23px}#home.screen{padding:70px 13px 12px;display:flex;flex-direction:column;gap:7px}#home.screen[hidden]{display:none}#home .title p{font:bold 27px Georgia,serif;letter-spacing:0;color:#50321c;background:#fff9e9de;border-radius:30px;padding:3px 18px;display:table;margin:0 auto 4px}#home .title h1{font-size:clamp(32px,9vw,44px);font-weight:900;letter-spacing:-.04em;margin:0 0 6px;color:#50301a;text-shadow:2px 2px #fff6dd,-2px -2px #fff6dd,3px 4px #bd9e72;-webkit-text-stroke:1px #50301a}#home .title>span{display:inline-block;background:#fff9e9f5;border:3px double #d8c29c;border-radius:22px;font-size:14px;padding:5px 18px}#home .hero{flex:1;min-height:115px;height:auto;margin:0;gap:4px}#home .hero img{height:0;min-height:70px;flex:1;max-width:75%;width:240px;object-fit:contain;filter:drop-shadow(0 5px 3px #4d682f40)}#home .name{padding:3px 30px;border:4px double #d8c29c;background:#fff9e9f5;font-size:16px;min-width:50%;max-width:95%;line-height:1.15}#selected-caption{font-size:12px;background:#fff9e9bf;border-radius:14px;padding:2px 10px;color:#405226}#home .menu{position:static;width:100%;padding:11px;gap:10px;border:6px double #d5bd94;background:#fff9e9f5;border-radius:29px;box-shadow:0 6px 15px #56623629}#home #start{background:linear-gradient(145deg,#ffeaa0,#ffd24c 65%,#eeb834);color:#50331a;border:5px double #fff2bd;border-radius:27px;box-shadow:0 4px 0 #ae7c29;min-height:79px;padding:7px}#home #start-label{display:block;font-size:34px;margin:0;letter-spacing:.05em}#home #start-detail{display:block;font-size:13px;margin:0;font-weight:600;color:#67471f}.home-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.home-tiles button{min-width:0;padding:6px 3px;border:4px double #bccba6;border-radius:23px;background:linear-gradient(#f4f6e3,#e2ebcc);box-shadow:0 3px 0 #a1b086;display:flex;flex-direction:column;align-items:center;gap:3px}.home-tiles strong{font-size:clamp(14px,4.2vw,20px);white-space:nowrap}.home-tiles small{display:block!important;font-size:12px!important;color:#485a30}.home-tiles>button>img,.guide-pets{width:100%;height:clamp(44px,8svh,70px);object-fit:contain}.guide-pets{display:flex;justify-content:center;overflow:hidden}.guide-pets img{height:100%;width:40%;object-fit:contain}#home #help{align-self:center;min-height:42px;border:4px double #d6be91;border-radius:22px;padding:4px 24px;box-shadow:0 2px 0 #c4ae85;font-size:16px}#app:has(#home:not([hidden])){min-height:560px}@media(max-height:700px){#home.screen{gap:4px;padding-top:62px}#home .title p{font-size:21px}#home .title h1{font-size:32px;margin-bottom:3px}#home .title>span{padding:3px 12px;font-size:12px}#home .menu{gap:7px;padding:8px}#home #start{min-height:65px}#home #start-label{font-size:27px}.home-tiles>button>img,.guide-pets{height:40px}#home .name{font-size:14px}#home #help{min-height:38px}}@media(max-height:560px){#home .hero{min-height:120px}#app:has(#home:not([hidden])){height:auto;min-height:680px}#home.screen{min-height:680px}}
/* Artwork fidelity pass: real illustrated lettering and upholstered controls. */
#home.screen{padding-top:58px;gap:5px}#home .title h1.art-title{margin:0 auto 2px;max-width:100%;height:clamp(96px,17svh,145px);line-height:0;-webkit-text-stroke:0;text-shadow:none}#home .art-title img{display:block;width:100%;height:100%;object-fit:contain}#home .title>span{font-weight:700;padding:4px 18px;position:relative;border:0;outline:1px dashed #c8aa77;outline-offset:-5px;box-shadow:inset 0 0 0 2px #fff7e3,0 3px 2px #8e794b35;background:#fff4dc}#home .hero{min-height:135px;gap:3px}#home .hero img{width:86%;max-width:300px;min-height:110px;transform:scale(1.12);transform-origin:center bottom}#home .name{position:relative;z-index:1;border:0;outline:1px dashed #ba9b68;outline-offset:-4px;padding:7px 25px;box-shadow:inset 0 0 0 2px #fff,0 3px 2px #8e794b35;font-weight:800}#selected-caption{position:relative;z-index:1}#home .menu{background:transparent url('assets/cream-panel-v2.webp') center/100% 100% no-repeat;border:0;border-radius:0;box-shadow:none;padding:15px 16px 18px;gap:7px}#home #start{position:relative;background:transparent url('assets/gold-button-v2.webp') center/100% 100% no-repeat;border:0;box-shadow:none;border-radius:25px;padding:9px 28px 15px;min-height:91px;color:#442612}#home #start-label{font-weight:900;font-size:36px;letter-spacing:.04em;text-shadow:.5px 0 currentColor,-.5px 0 currentColor}#home #start-label::before{content:'▶';display:inline-block;font-size:.7em;margin-right:13px;color:#fff8df;filter:drop-shadow(1px 2px 0 #ac7826)}#home #start-detail{font-weight:700;font-size:12px}.home-tiles{gap:8px}.home-tiles button{position:relative;border:3px solid #e3e5c7;outline:1px dashed #a9b580;outline-offset:-7px;border-radius:23px;box-shadow:inset 0 0 0 2px #fffef0,inset 0 -5px 8px #b0c18b45,0 3px 2px #8f986853;background:radial-gradient(ellipse at top,#ffffef,#e6eccf);padding:5px 5px 9px}.home-tiles strong{font-weight:900;font-size:clamp(15px,4.3vw,21px);text-shadow:.25px 0 currentColor}.home-tiles>button>img,.guide-pets{height:clamp(44px,8.5svh,76px)}.guide-pets img{width:47%;height:130%;max-height:none;object-fit:contain;object-position:center top}#home #help,.home-wallet,.settings-button{outline:1px dashed #c4a77b;outline-offset:-6px;border:2px solid #fff2d6;box-shadow:inset 0 -3px 5px #d3bf963a,0 3px 1px #ac936955;background:linear-gradient(#fffdf2,#fff5de);font-weight:800}#home #help{padding:5px 25px}#wallet{color:#513820;font-weight:800}.settings-button svg{color:#826336}.meet-page .meet-gold{background:transparent url('assets/gold-button-v2.webp') center/100% 100% no-repeat;border:0;box-shadow:none;padding:12px 8px 16px;font-weight:900}.meet-destinations{background:#fff9e9 url('assets/cream-panel-v2.webp') center/100% 100% no-repeat;border:0;padding:15px 13px 20px}.meet-scene{outline:1px dashed #b49a70;outline-offset:-6px}.meet-tabs button{outline:1px dashed #b9bb91;outline-offset:-5px}.meet-brand,.meet-scene h3{border:2px solid #f1dfb9;outline:1px dashed #cab185;outline-offset:-5px}@media(max-height:700px){#home .title h1.art-title{height:95px}#home #start{min-height:75px;padding:7px 25px 13px}#home #start-label{font-size:29px}#home .menu{padding:12px 12px 15px;gap:6px}.home-tiles>button>img,.guide-pets{height:40px}#home .hero{min-height:115px}#home .hero img{min-height:88px}#home #help{min-height:35px}}@media(prefers-reduced-motion:no-preference){#home #start:hover{filter:brightness(1.035)}}
#home #start,.meet-page .meet-gold{background-size:100% 130%}#home #start{padding-left:52px;padding-right:40px}#home #start-label{white-space:nowrap}#home #start-label::before{font-size:.6em;margin-right:8px}@media(max-width:360px){#home #start-label{font-size:25px}#home #start{padding-left:40px;padding-right:30px}}
.meet-title-art{height:clamp(75px,12svh,108px);margin:0!important;line-height:0!important}.meet-title-art img{width:100%;height:100%;object-fit:contain}.meet-page{gap:7px}.meet-scene{border:8px solid #fff3d3;box-shadow:inset 0 0 0 2px #bda271,0 3px 6px #3c573544}.meet-scene::after{content:'';position:absolute;inset:3px;border:1px dashed #d0ad77;border-radius:19px;pointer-events:none}.meet-wallet>span{outline:1px dashed #ccb083;outline-offset:-5px;border:2px solid #f7eaca;box-shadow:0 3px 2px #3b57333a;font-weight:800}.meet-actions button{font-weight:900;font-size:16px}.meet-actions button:disabled{opacity:1;color:#737b64;background:#d2dbc4;outline:1px dashed #adba9b;outline-offset:-6px}.meet-page .meet-ten{min-height:57px;height:65px;margin:0;flex-shrink:0}.art-control{position:relative;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;display:flex;flex-direction:column;align-items:center;justify-content:center}.art-control>img{width:100%;height:100%;position:absolute;inset:0;object-fit:fill;pointer-events:none}.art-control>span{position:relative;margin-top:36px;line-height:1;font-size:12px;font-weight:800;background:#fff6dbe8;border-radius:14px;padding:2px 13px;color:#65421e}.art-control:disabled{opacity:.5!important;filter:grayscale(.6)}.meet-ten img{object-fit:contain}.arrival-card{background:#fff9e9 url('assets/cream-panel-v2.webp') center/100% 100% no-repeat;border:0;padding:20px 18px;gap:6px}.arrival-card .meet-again{height:60px;min-height:60px}.arrival-card .meet-again img{object-fit:contain}.arrival-card .play-with,.arrival-card .back-home{font-size:16px;min-height:40px;padding:7px 10px}.batch-pets{position:absolute;top:11%;left:4%;width:92%;height:45%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;background:#fff9e9ed;border:4px double #cbb78c;border-radius:22px;padding:9px}.batch-pets>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.batch-pets img{width:100%;height:65%;object-fit:contain}.batch-pets strong{font-size:10px;text-align:center;line-height:1.2;overflow-wrap:anywhere}.batch-pets small{font-size:10px;color:#537735}.batch-encounter .arrival-card{bottom:12px}.batch-encounter .arrival-card h2{font-size:17px}.meet-page .meet-destinations{padding:12px 13px 17px}.meet-tabs button img{height:clamp(48px,8svh,76px)}@media(max-height:740px){.meet-page{height:auto;gap:5px}.meet-scene{min-height:190px}.meet-title-art{height:76px}.meet-page .meet-ten{height:59px}.batch-pets{top:9%;height:40%}.arrival-card{gap:4px;padding:15px}.arrival-card .meet-again{height:52px;min-height:52px}}
dialog.meet-dialog{background-color:#86b29f;background-image:linear-gradient(180deg,#d8eef900 0%,#88b7a300 32%,#88b7a3e8 62%,#86b29f 100%),url('assets/home-garden-v1.webp');background-position:center,top center;background-size:cover,100% auto;background-repeat:no-repeat}.meet-actions #meet-ticket{outline:1px dashed #b4bd96;outline-offset:-5px}.meet-actions button span{font-weight:800}.meet-wallet img{width:34px;height:34px}

.meet-ten img,.arrival-card .meet-again img{object-fit:fill}.encounter:not(.batch-encounter) .arrival-pet{top:22%;height:32%}@media(max-height:650px){.encounter:not(.batch-encounter) .arrival-pet{top:16%;height:28%}}
/* Keep generated lettering at its original 3:1 ratio; price sits below the art. */
.arrival-card .meet-again,.meet-page .meet-ten{height:auto!important;min-height:0!important;aspect-ratio:3/1;width:100%;margin-bottom:12px;flex-shrink:0}
.arrival-card .meet-again img,.meet-page .meet-ten img{object-fit:contain}
.arrival-card .meet-again>span,.meet-page .meet-ten>span{position:absolute;bottom:-8px;margin:0;line-height:1.3;padding:2px 12px;font-size:12px}
.arrival-card{padding-top:30px;gap:8px}
@media(max-height:700px){.arrival-card{padding-top:24px;gap:5px}.encounter:not(.batch-encounter) .arrival-pet{top:15%;height:27%}}

.encounter-play{position:absolute;top:45%;left:50%;transform:translateX(-50%);z-index:3}

/* Play-screen reference: time + hearts, score, pause; no home chrome. */
#app:has(#play:not([hidden]))>header{display:none}
#play .hud{top:max(10px,env(safe-area-inset-top));left:12px;right:12px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 52px;gap:8px;align-items:stretch}
#play .hud>div{min-width:0;background:linear-gradient(#fffdf3,#fff4df);border:2px solid #fff;outline:1px dashed #c5a677;outline-offset:-6px;box-shadow:0 3px 3px #78613f3a;border-radius:20px;padding:9px 6px}
#play .hud .time-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.time-row{display:flex;align-items:center;justify-content:center;gap:3px;white-space:nowrap}.clock-icon{width:24px;height:30px;flex-shrink:0}
#play .hud strong{font-size:clamp(28px,8vw,40px);line-height:1;font-variant-numeric:tabular-nums}#play .hud small,#play .hud span{font-size:12px;font-weight:800}
#play #hearts{position:static;display:flex;gap:5px;height:24px}#play #hearts img{width:24px;height:24px}
#play .hud .score-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}#play .score-card strong{font-size:clamp(32px,9vw,46px);max-width:100%;letter-spacing:-.035em}
#play #pause{min-width:48px;min-height:60px;padding:9px;border:3px solid #fff3cc;outline:1px dashed #fff9e0;outline-offset:-7px;border-radius:18px;background:linear-gradient(#ffe995,#f8cb53);box-shadow:0 3px 0 #c39843}#pause svg{width:28px;height:32px;fill:#704515}
#fever-hud{position:absolute;top:calc(max(10px,env(safe-area-inset-top)) + 89px);left:16%;width:68%;z-index:2;pointer-events:none;text-align:center}#fever-hud[hidden]{display:none}
.fever-label{background:linear-gradient(#fff1a4,#ffce53);border:2px solid #c79534;border-radius:24px;box-shadow:inset 0 0 0 2px #fff4c8;color:#614117;font-size:16px;font-weight:900;padding:4px 6px;white-space:nowrap}.fever-label span{margin-left:8px;font-size:14px}.fever-track{height:12px;margin:4px 12px 0;background:#d6d6c7;border:2px solid #fff9e8;box-shadow:0 0 0 1px #c1b18a;border-radius:9px;overflow:hidden}#fever-fill{height:100%;background:linear-gradient(#ffe45e,#ecaf1e);transform-origin:left;border-radius:5px}
#play .control{left:0;right:0;bottom:0;min-height:70px;padding:10px 12px max(8px,env(safe-area-inset-bottom));justify-content:center;background:linear-gradient(#e5edceee,#dce6bff5);border-top:2px dashed #a5b47d}#play .control>span{background:none;font-size:16px;font-weight:800;line-height:1.25;padding:0}#play .control svg{display:block;width:110px;height:20px;margin:3px auto;fill:none;stroke:#96a66d;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}#play .control small{display:none}@media(hover:hover){#play .control small{display:block;font-size:11px}}@media(max-width:360px){#play .hud{left:8px;right:8px;gap:8px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 48px}.clock-icon{width:19px}.time-row{gap:2px}.fever-label{font-size:14px}.fever-label span{font-size:12px}}
/* Text-safe stitched panels: decorative edges never run behind content. */
.meet-page .meet-destinations,.arrival-card{background:linear-gradient(135deg,#fffdf2,#fff6df);border:3px solid #fffdf4;border-radius:24px;outline:1px dashed #c5a97c;outline-offset:-10px;box-shadow:inset 0 0 0 2px #e1cda8,0 4px 8px #51412726;padding:24px 20px;gap:10px}
.meet-page .meet-destinations h3{margin:0 0 14px;padding:0;font-size:20px;line-height:1.4}
.meet-page .meet-destinations>p{margin:14px 0 0;padding:0;font-size:12px;line-height:1.6;color:#584126}
.meet-tabs{gap:8px}.meet-tabs button{padding:9px 7px 12px;min-width:0}.meet-tabs button span{display:block;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;padding-top:5px}
.arrival-card p{font-size:14px;line-height:1.5}.arrival-card h2{font-size:20px;line-height:1.4}.arrival-card small{font-size:12px;line-height:1.5}
.batch-encounter .arrival:not([hidden]){position:absolute;top:max(76px,calc(env(safe-area-inset-top) + 65px));bottom:max(12px,env(safe-area-inset-bottom));left:4%;width:92%;display:flex;flex-direction:column;gap:12px;overflow-y:auto;padding:3px}
.batch-encounter .batch-pets{position:static;width:100%;height:auto;min-height:220px;flex:1 0 220px;grid-template-rows:repeat(2,minmax(95px,1fr));padding:12px 8px;gap:10px 5px}
.batch-pets>div{min-height:0;gap:3px}.batch-pets img{height:clamp(56px,10svh,95px);flex:1;min-height:45px;max-height:110px}.batch-pets strong{font-size:10px;line-height:1.4;min-height:28px;display:flex;align-items:center;justify-content:center}.batch-pets small{font-size:10px;line-height:1.3;white-space:nowrap}
.batch-encounter .arrival-card{position:static;left:auto;bottom:auto;width:100%;flex:0 0 auto;padding:20px 16px;gap:7px}
.batch-encounter .arrival-card p{font-size:13px}.batch-encounter .arrival-card h2{font-size:16px}.batch-encounter .arrival-card .meet-again{max-width:270px;align-self:center;width:100%;margin-bottom:14px}.batch-encounter .arrival-card .play-with,.batch-encounter .arrival-card .back-home{min-height:44px}
.arrival-card .meet-again>span{white-space:normal;max-width:100%;text-align:center;font-size:11px}
@media(max-width:360px){.meet-page .meet-destinations{padding:22px 14px}.meet-tabs button span{font-size:12px}.batch-encounter .arrival-card{padding:18px 14px}.batch-encounter .arrival-card .meet-again{max-width:240px}}
/* Preserve the illustrated fabric with a stretchable center and protected edges. */
.meet-page .meet-destinations,.arrival-card,.batch-encounter .arrival-card{background:none;border:solid transparent;border-width:28px 22px 40px;border-image:url('assets/cream-panel-v2.webp') 150 140 230 140 fill / 28px 22px 40px / 0 stretch;outline:none;box-shadow:none;border-radius:0;padding:8px 9px;gap:7px}
.meet-page .meet-destinations h3{margin:0 0 12px}.meet-page .meet-destinations>p{margin:12px 0 0}
.encounter:not(.batch-encounter) .arrival:not([hidden]){position:absolute;top:max(66px,calc(env(safe-area-inset-top) + 60px));bottom:max(10px,env(safe-area-inset-bottom));left:5%;width:90%;display:flex;flex-direction:column;align-items:center;gap:4px;overflow-y:auto;padding:3px}
.encounter:not(.batch-encounter) .arrival-pet{position:static;left:auto;top:auto;width:66%;height:0;flex:1 0 120px;min-height:120px;max-height:290px;object-fit:contain;z-index:1}
.encounter:not(.batch-encounter) .arrival-card{position:relative;left:auto;bottom:auto;width:100%;flex:0 0 auto;z-index:2}
.arrival-card .meet-again,.batch-encounter .arrival-card .meet-again{width:100%;max-width:245px;align-self:center;justify-self:center;margin-bottom:12px}
.arrival-card h2{font-size:18px;line-height:1.3}.arrival-card p{font-size:13px;line-height:1.4}.arrival-card small{font-size:11px;line-height:1.4}.arrival-card .play-with,.arrival-card .back-home{min-height:44px;padding:7px;font-size:15px}
.encounter:not(.batch-encounter) .pet-glow{inset:8% 10% 55%;pointer-events:none}.encounter:not(.batch-encounter) .sparkles{top:8%;font-size:28px;line-height:1.5;pointer-events:none}
@media(max-height:700px){.arrival-card .meet-again,.batch-encounter .arrival-card .meet-again{max-width:215px}.encounter:not(.batch-encounter) .arrival-pet{min-height:100px;flex-basis:100px}.arrival-card,.batch-encounter .arrival-card{gap:5px}}

/* Saved growth only: brief emphasis, readable after motion ends. */
.growth-celebration{position:relative;display:grid;gap:8px;margin:12px 0;padding:8px 0}.growth-badge{display:grid;gap:3px;padding:12px 16px;border:2px solid #d8ac44;border-radius:18px;background:#fff1c5;color:#624312;animation:growth-pop .55s ease-out both}.growth-badge strong{font-size:28px;line-height:1.2}.growth-badge span{font-weight:800;font-size:17px}.growth-badge small{font-size:12px;line-height:1.5}.affection-up{background:#ffedf1;border-color:#dc9eb3;color:#7c3852;animation-delay:.1s}.growth-sparkle{position:absolute;inset:-12px 0 auto;pointer-events:none;color:#c38b13;font-size:25px;animation:growth-glow 1.2s ease-out both}.growth-badge~.growth-badge{margin-top:0}@keyframes growth-pop{from{transform:scale(.94);opacity:.3}to{transform:scale(1);opacity:1}}@keyframes growth-glow{from{opacity:0;transform:translateY(8px)}40%{opacity:1}to{opacity:0;transform:translateY(-8px)}}@media(prefers-reduced-motion:reduce){.growth-badge,.growth-sparkle{animation:none}.growth-sparkle{display:none}}

.wardrobe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wardrobe-grid button{min-height:48px;padding:8px;white-space:normal}.wardrobe-grid img{width:100%;aspect-ratio:1;object-fit:contain}.wardrobe-grid small{display:block}.wardrobe-grid [aria-pressed="true"]{outline:3px solid #48724b;outline-offset:2px}.wardrobe-grid button:disabled{opacity:.65}.wardrobe-grid button:focus-visible{outline:3px solid #275da0;outline-offset:3px}

.legal-links{text-align:center;font-size:14px}.legal-links a{color:#7a5a2e;text-decoration:underline;text-underline-offset:3px;padding:8px 4px;display:inline-block}
