@import url('fonts.css');
:root{color-scheme:dark;--cream:#f0e4cb;--muted:#b3b7a6;--gold:#d7bb83}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#182723}body{font-family:'DM Sans',sans-serif;color:var(--cream)}button,a,input{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ffe2a0;outline-offset:6px}button{border:0;background:none}#room{height:max(820px,100svh);min-height:820px;position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 91% 66%,#6b50342b,transparent 30%),linear-gradient(103deg,#162622,#223730 58%,#172a25)}.wall-grain{position:absolute;inset:0;opacity:.09;z-index:-1;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.6' filter='url(%23noise)'/%3E%3C/svg%3E")}.room-light{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 77% 78%,#f1bd6733,transparent 36%),linear-gradient(90deg,#0c171a4d,transparent 50%);z-index:9;mix-blend-mode:screen;opacity:.6}header{height:104px;position:relative;z-index:15;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.wordmark{font:500 24px 'Cormorant Garamond',Georgia,serif;letter-spacing:.6px;color:var(--cream);text-decoration:none;display:flex;gap:11px;align-items:center}.brand-star{font-size:30px;color:#d2b27b;font-weight:400}.edition{font-size:9px;letter-spacing:2.5px;color:#bac0aa}.icon-button{width:40px;height:40px;border:1px solid #b6b39640;border-radius:50%;font-size:23px;color:#e2d9be}.intro{position:absolute;top:23%;left:7%;z-index:6;pointer-events:none}.eyebrow{font-size:9px;font-weight:500;letter-spacing:2.2px;color:#bfbd9f;margin:0 0 24px}h1{font:400 clamp(44px,5.1vw,79px)/.98 'Cormorant Garamond',Georgia,serif;letter-spacing:-1.7px;margin:0}h1 em{font-weight:400;color:#e8d0a7} .subline{font-size:12px;line-height:1.85;color:#b8bdac;margin-top:26px;letter-spacing:.1px}.window{position:absolute;top:15%;left:40%;width:39%;height:64%;border:15px solid #54432e;border-radius:180px 180px 5px 5px;box-shadow:0 0 0 2px #9c866055,inset 0 0 0 5px #17221e,0 12px 19px 4px #071710a8,16px 6px 60px #010c0c88,-35px 20px 80px #92b6b315;background:#819697;z-index:2;overflow:hidden;transform:perspective(1500px) rotateY(-2deg)}.window:after{content:'';position:absolute;inset:0;border:7px solid #392e22;border-radius:160px 160px 0 0;pointer-events:none;box-shadow:inset 0 0 20px #132e35a1;z-index:5}.outside,.glass-tint,#snow,#frost,.landscape,.window-shine{position:absolute;inset:0;width:100%;height:100%}.landscape{object-fit:cover}.glass-tint{background:linear-gradient(115deg,#d6f0ea22,transparent 35%,#98ae9c2a);box-shadow:inset 0 0 80px #273e4690}#frost{touch-action:none;z-index:2;cursor:crosshair}.window-shine{background:linear-gradient(113deg,transparent 15%,#f2f6e824 16%,#d7e3dc05 30%,transparent 31%,transparent 72%,#ffffff0a 73%,transparent 82%);pointer-events:none;z-index:3}.window-cross{position:absolute;left:0;right:0;top:61%;height:11px;background:linear-gradient(#746043,#352d22);box-shadow:0 3px 5px #15262580;pointer-events:none;z-index:4}.window-latch{position:absolute;left:47%;top:60%;width:32px;height:7px;border-radius:5px;background:linear-gradient(#d0ac67,#655334);box-shadow:2px 2px 3px #0009;pointer-events:none;z-index:5}.draw-hint{position:absolute;top:43%;left:0;right:0;display:flex;align-items:center;flex-direction:column;gap:11px;pointer-events:none;color:#eff0e1bf;font:italic 18px 'Cormorant Garamond',Georgia,serif;text-shadow:0 1px 10px #415a5f;transition:opacity 1s;z-index:3}.draw-hint.hidden{opacity:0}.sill{position:absolute;top:78.5%;left:38%;height:20px;width:43%;background:linear-gradient(#9a8052,#59472f 25%,#302c20);border-radius:2px;box-shadow:0 10px 13px #08130e99;z-index:3}.window-shadow{position:absolute;left:40%;top:10%;width:43%;height:78%;background:radial-gradient(ellipse,#526a5240,transparent 68%);filter:blur(10px)}.fairy-wire{position:absolute;top:8%;left:34%;width:53%;height:132px;z-index:5;pointer-events:none}.fairy-wire svg{width:100%;height:100%;overflow:visible}.bulb{fill:#ffe5a5;filter:drop-shadow(0 0 5px #ffc15a) drop-shadow(0 0 12px #ffb95c);animation:glimmer 5s ease-in-out infinite alternate}.tree{position:absolute;width:24%;max-width:350px;right:1%;bottom:14%;z-index:5;filter:drop-shadow(10px 20px 9px #07130faa)}.tree svg{width:100%;overflow:visible}.tree .bulb{filter:drop-shadow(0 0 6px #ffb35d);animation-duration:3s}.star-top{filter:drop-shadow(0 0 12px #ffd58290)}.table{position:absolute;width:126%;height:31%;bottom:-13%;left:-9%;background:repeating-linear-gradient(1deg,transparent 0 2px,#1a150d18 3px 4px,transparent 5px 9px),radial-gradient(ellipse at 66% 0,#ac8150,#68472e 50%,#352d22);border-radius:50% 50% 0 0 / 30% 30% 0 0;transform:rotate(-3deg);box-shadow:0 -2px 1px #b88c534d,0 -15px 30px #0a140f80;z-index:6}.table:after{content:'';position:absolute;top:42%;height:3px;background:#241d15aa;left:0;right:0;transform:rotate(1deg)}.tea-objects{position:absolute;width:390px;height:270px;bottom:11.6%;left:50%;z-index:8;transform:translateX(-10%)}.kettle{position:absolute;left:0;bottom:2px;width:258px;height:232px;padding:0;transform-origin:75% 80%;transition:filter .3s;filter:drop-shadow(8px 15px 7px #0b110d55)}.kettle:hover{filter:drop-shadow(0 0 13px #edc27c28) drop-shadow(8px 15px 7px #0b110d55)}.kettle svg{width:100%;height:100%}.kettle.pouring{animation:pour 2.8s ease-in-out}.cup{position:absolute;width:171px;height:140px;right:0;bottom:-14px;padding:0;filter:drop-shadow(5px 8px 5px #0a110e50);transition:transform .45s}.cup:hover{transform:translateY(-3px)}.cup.sipping{animation:sip 1.8s ease-in-out}.cup svg{width:100%;height:100%}.steam{position:absolute;left:24%;top:-10%;width:65%;height:60%;pointer-events:none;opacity:0;transition:opacity 1s}.filled .steam{opacity:.7}.steam i{position:absolute;bottom:0;left:26%;height:70px;width:25px;border-radius:50%;border-left:4px solid #f9edcfaa;filter:blur(5px);animation:steam 4.5s ease-out infinite}.steam i:nth-child(2){left:48%;animation-delay:-1.8s;height:85px}.steam i:nth-child(3){left:66%;animation-delay:-3.2s;height:65px}.pour-stream{position:absolute;right:84px;bottom:83px;height:63px;width:5px;background:linear-gradient(90deg,#d6ad6e88,#6c3e20);border-radius:50%;opacity:0;transform:rotate(-6deg);transform-origin:bottom;pointer-events:none}.pour-stream.active{animation:stream 2.8s ease-in-out}.cup #cocoa,.cup #marshmallows{opacity:0;transition:opacity .9s}.filled #cocoa,.filled #marshmallows{opacity:1}.book{position:absolute;bottom:11%;left:13%;width:172px;height:123px;background:#6b3430;border:1px solid #a77b5155;border-radius:3px 10px 9px 2px;transform:perspective(500px) rotateX(48deg) rotateZ(-15deg);box-shadow:0 5px #b6a385,0 7px #a39479,0 11px #512b26,7px 20px 15px #11170c88;z-index:7;padding:19px;color:#e2c291}.book:after{content:'';position:absolute;inset:9px;border:1px solid #c9a36a55}.book div{font:italic 24px/1 'Cormorant Garamond',Georgia,serif;text-align:center}.book span{display:block;text-align:center;font-size:6px;letter-spacing:2px;margin-top:10px}.candle{position:absolute;left:39%;bottom:18%;width:48px;height:80px;z-index:8;filter:drop-shadow(0 0 45px #eeb36a50)}.candle-wax{position:absolute;bottom:0;width:44px;height:62px;border-radius:50% / 8%;background:linear-gradient(90deg,#9f8f64,#e5d3a0 48%,#a79a72);box-shadow:inset 0 2px #fbe9be}.candle-base{position:absolute;bottom:-9px;left:-10px;height:15px;width:65px;border-radius:50%;background:linear-gradient(#bc9c60,#5f4a2c);box-shadow:3px 8px 8px #172015}.flame{position:absolute;top:-13px;left:16px;width:13px;height:29px;border-radius:70% 15% 65% 35%;background:radial-gradient(ellipse at 50% 82%,#fef9d8 25%,#ffe19c 52%,#d9903d 72%,transparent 75%);box-shadow:0 0 20px #ffc06c70;transform:rotate(-6deg);animation:flicker 2.5s ease-in-out infinite alternate}.ritual-label{position:absolute;bottom:12%;left:47%;font:italic 15px 'Cormorant Garamond',Georgia,serif;display:flex;align-items:center;gap:9px;z-index:10;color:#d7c6a4;transform:translateY(40px)}.tiny-line{height:1px;width:27px;background:#c2a87977}footer{position:absolute;bottom:24px;left:5%;right:5%;display:flex;align-items:center;justify-content:space-between;z-index:12}.weather{font-size:8px;letter-spacing:1.7px;display:flex;align-items:center;gap:12px;color:#d0c4a5}.weather-icon{font-size:22px;color:#d9cfae}.controls{display:flex;gap:20px;align-items:center;background:#16221fc9;padding:12px 19px;border:1px solid #a7a88c44;border-radius:30px;backdrop-filter:blur(12px);box-shadow:0 5px 20px #0e130e33}.controls button{font-size:10px;color:#e0d7bd;padding:3px;display:flex;align-items:center;gap:9px}.controls button span:last-child{font-size:15px}#sound-label{font-size:10px}.control-divider{width:1px;height:16px;background:#bdb49535}.local-note{font-size:8px;color:#b5b39c}dialog{border:1px solid #8c896854;border-radius:5px;background:#23362e;color:#e8dfc5;width:min(90vw,420px);padding:40px;box-shadow:0 30px 130px #0009}dialog::backdrop{background:#07110e99;backdrop-filter:blur(7px)}dialog h2{font:400 44px/.95 'Cormorant Garamond',Georgia,serif;margin:0 0 28px}.close{position:absolute;right:15px;top:10px;font-size:27px;color:#c1b89e}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;padding:20px 0;border-top:1px solid #a1a68a33}.setting-row input[type=range]{width:120px;accent-color:#d5b67a}.setting-row input[type=checkbox]{accent-color:#bd9c61;width:18px;height:18px}.privacy{font-size:10px;line-height:1.8;color:#b3b7a3}.reset{font-size:10px;border-bottom:1px solid #bca67966;padding:12px 0 4px}.toast{position:absolute;left:50%;bottom:110px;transform:translate(-50%,10px);background:#182b25e6;border:1px solid #c4b38c55;padding:12px 22px;border-radius:30px;font-size:11px;color:#e4d7b7;opacity:0;pointer-events:none;transition:all .4s;z-index:30;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}.gentle .bulb,.gentle .flame,.gentle .steam i{animation:none}.gentle .kettle.pouring{animation:none}.gentle .cup.sipping{animation:none}
@keyframes glimmer{0%,40%{opacity:.65}100%{opacity:1}}@keyframes flicker{0%{transform:rotate(-6deg) scaleX(.9)}40%{transform:rotate(3deg) scaleY(1.06)}100%{transform:rotate(-3deg)}}@keyframes steam{0%{transform:translate(0,10px) scale(.6);opacity:0}20%{opacity:.65}100%{transform:translate(12px,-65px) scale(1.8);opacity:0}}@keyframes pour{0%,100%{transform:translate(0,0) rotate(0)}25%,72%{transform:translate(20px,-42px) rotate(28deg)}}@keyframes stream{0%,22%,80%,100%{opacity:0}28%,70%{opacity:.85}}@keyframes sip{0%,100%{transform:translate(0,0) rotate(0)}40%,65%{transform:translateY(-23px) rotate(-10deg)}}
@media(min-width:1500px){.intro{left:10%}.tea-objects{left:54%}.tree{right:3%}.window{width:36%;left:42%}.sill{left:40%;width:40%}}
@media(max-width:1000px) and (min-width:701px){.intro{left:5%}h1{font-size:58px}.window{left:41%;width:45%}.tree{width:27%;right:-5%}.tea-objects{left:45%;transform:scale(.9);transform-origin:bottom}.candle{left:35%}.local-note{display:none}}
@media(max-width:700px){#room{height:max(830px,100svh);min-height:830px}header{height:76px;padding:0 6%}.wordmark{font-size:22px}.edition{display:none}.icon-button{width:34px;height:34px;font-size:20px}.intro{top:105px;left:8%;right:8%;text-align:center}.eyebrow{font-size:7px;letter-spacing:2px;margin-bottom:13px}h1{font-size:48px;line-height:.93;letter-spacing:-1px}h1 br{display:none}h1 em{display:block}.subline{margin-top:15px;font-size:10px;line-height:1.6}.subline br{display:none}.subline br:after{content:" "}.window{top:31%;left:12%;width:76%;height:43.5%;border-width:11px;border-radius:125px 125px 2px 2px}.window:after{border-width:5px;border-radius:112px 112px 0 0}.window-cross{height:8px}.window-latch{height:5px;width:24px}.draw-hint{font-size:15px;top:43%}.fairy-wire{top:26%;left:5%;width:90%;height:105px}.sill{top:74%;left:8%;width:84%;height:16px}.tree{width:42%;right:-9%;bottom:14%;z-index:5}.table{height:29%;bottom:-10%;left:-40%;width:185%;border-radius:50% 50% 0 0 / 20% 20% 0 0;transform:rotate(-5deg)}.tea-objects{left:28%;bottom:13.8%;width:285px;height:195px;transform:scale(.85);transform-origin:bottom left}.kettle{width:210px;height:189px;left:-12px}.cup{width:132px;height:108px;right:-1px;bottom:-11px}.pour-stream{bottom:65px;right:64px;height:64px;transform:rotate(13deg)}.book{left:-15px;bottom:13.2%;width:121px;height:92px;transform:perspective(500px) rotateX(48deg) rotateZ(-16deg);padding:15px}.book div{font-size:19px}.book span{font-size:5px}.candle{left:19%;bottom:25%;transform:scale(.65)}.ritual-label{left:32%;bottom:11.7%;font-size:13px;transform:none}.tiny-line{width:16px}footer{bottom:20px;left:6%;right:6%;display:flex;flex-wrap:wrap;justify-content:center;gap:16px}.weather{display:none}.weather-icon{font-size:15px}.controls{padding:10px 20px;gap:21px}.local-note{width:100%;text-align:center;font-size:7px;color:#b6b59a}.controls button{font-size:10px}.toast{bottom:155px;font-size:10px;max-width:95%;white-space:normal;text-align:center}dialog{padding:30px}.room-light{background:radial-gradient(ellipse at 30% 70%,#efb76c30,transparent 60%)}}
@media(max-width:360px){h1{font-size:43px}.intro{top:98px}.subline{font-size:9px}.tea-objects{left:24%;transform:scale(.78)}.ritual-label{left:26%;font-size:12px}.draw-hint{font-size:13px}.tree{width:45%;right:-11%}}
@media(prefers-reduced-motion:reduce){.bulb,.flame,.steam i{animation:none}}
@media(max-height:900px) and (min-width:701px){.tea-objects{bottom:16%}.ritual-label{bottom:91px;transform:none}}
.steam{top:-30%}.filled .steam{opacity:.9}.steam i{border-left-color:#fff3dcc7;filter:blur(3px)}
