@charset "UTF-8";
:root{--paper:#f7f5ee;--ink:#424b3f;--muted:#7b8072;--line:#dddcd2;--accent:#b86e58;--ribbon:#cb7867;--serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;--sans:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button,textarea{font:inherit}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid #9b604c;outline-offset:5px}button:disabled{cursor:default}button{touch-action:manipulation}svg{display:block}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.page{max-width:1560px;margin:auto;padding:0 5vw}.header{height:118px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:20px}.brand{display:flex;gap:14px;align-items:center;color:var(--ink);text-decoration:none}.brand-mark{width:34px;height:46px}.brand-type{font-family:var(--serif);font-size:24px;letter-spacing:.17em;line-height:1.3}.brand-type small{font-family:var(--sans);display:block;font-size:8px;letter-spacing:.3em;margin-top:7px}.header-right{display:flex;gap:36px;align-items:center}.header-note{font-size:11px;letter-spacing:.14em;color:var(--muted)}.sound-toggle{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #d6d8cc;border-radius:30px;background:transparent;min-height:44px;padding:0 18px;font-size:11px;letter-spacing:.06em;transition:background .25s}.sound-toggle:hover{background:#eeeee4}.sound-toggle[aria-pressed=true]{background:#e9eddf}.sound-toggle .icon{width:16px;height:16px}.experience{display:grid;grid-template-columns:minmax(290px,.8fr) minmax(0,1.55fr);gap:5vw;padding:52px 0 34px;align-items:center}.intro{padding-bottom:28px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--muted);display:flex;align-items:center;gap:10px;line-height:1.8}.eyebrow>span{width:6px;height:6px;border-radius:50%;background:var(--accent)}h1{font-family:var(--serif);font-size:clamp(32px,3.05vw,48px);line-height:1.8;letter-spacing:.035em;font-weight:400;margin:28px 0 20px}h1 span{display:block;white-space:nowrap}.description{font-size:13px;line-height:2.35;letter-spacing:.09em;color:#777c6e;margin:0}.wish-area{margin-top:44px;max-width:300px}.section-label{display:block;font-size:10px;letter-spacing:.16em;color:#7b8073}.wish-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:54px;text-align:left;background:transparent;border:0;border-bottom:1px solid #b8bdad;padding:8px 0;color:var(--ink);font-family:var(--serif);font-size:17px;letter-spacing:.03em}.wish-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wish-button .icon{width:17px;transition:transform .2s}.wish-button:hover .icon{transform:translateX(4px)}.wish-help{font-size:10px;line-height:1.8;letter-spacing:.03em;color:#8b8d81;margin:10px 0 0}.intro-bottom{display:flex;align-items:center;gap:16px;margin-top:45px}.mini-flower{color:#b8bba5;font-size:40px;font-weight:200;line-height:1}.intro-bottom p{font-size:10px;line-height:1.9;letter-spacing:.1em;color:#888b7d;margin:0}.playground{min-width:0}.scene{height:clamp(460px,65vh,640px);min-height:460px;position:relative;isolation:isolate;border-radius:180px 180px 10px 10px;overflow:hidden;background:#dce9dc;box-shadow:inset 0 0 0 1px #bccfc433,0 15px 45px -30px #73877770;--scene-ink:#527369;--hill-back:#b8cbb4;--hill-front:#95b49b;--hill-near:#84a58e}.sky{position:absolute;inset:0;background:linear-gradient(180deg,#bbd9dd 0%,#d7e7df 62%,#edeedc 100%);transition:background 1s}.sky:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 72% 20%,#fff9d344,transparent 65%)}.sky-grain{position:absolute;inset:0;opacity:.17;mix-blend-mode:soft-light;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.35' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}.scene-top{position:absolute;top:44px;left:48px;right:36px;display:flex;align-items:center;justify-content:space-between;z-index:5}.scene-top>span{font-size:10px;letter-spacing:.09em;color:var(--scene-ink);display:flex;align-items:center;gap:8px;padding:7px 10px;background:#ffffff45;border:1px solid #ffffff42;border-radius:30px;backdrop-filter:blur(8px)}.scene-top i{width:4px;height:4px;background:currentColor;border-radius:100%}.scene-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:10px;border-radius:50%;border:1px solid #ffffff66;background:#ffffff25;color:var(--scene-ink);transition:background .2s}.scene-icon:hover{background:#ffffff70}.scene-icon .icon{width:17px;height:17px}.sun{position:absolute;right:15%;top:20%;width:79px;height:79px;border-radius:50%;background:#f8ebba;box-shadow:0 0 55px 22px #fff3be30;transition:opacity .7s,transform .7s}.sun:before,.sun:after{content:"";position:absolute;inset:-15px;border:1px solid #fff6ce55;border-radius:50%}.sun:after{inset:-30px;border-color:#fff6ce25}.moon{position:absolute;right:17%;top:21%;height:59px;width:59px;border-radius:50%;box-shadow:-14px 6px 0 0 #eee8c4;opacity:0;transform:rotate(-12deg);transition:opacity .7s}.cloud{position:absolute;width:220px;fill:#ffffff85;transition:fill .8s,opacity .8s;animation:cloud-drift 20s ease-in-out infinite alternate;pointer-events:none}.cloud-one{top:27%;left:-4%;width:220px;opacity:.7}.cloud-two{top:48%;right:-6%;width:170px;animation-duration:27s;animation-delay:-9s;opacity:.65}.landscape{position:absolute;bottom:-1px;width:100%;height:23%;opacity:.8}.hill-back{fill:var(--hill-back);transition:fill 1s}.hill-front{fill:var(--hill-front);transition:fill 1s}.hill-near{fill:var(--hill-near);transition:fill 1s}.charm-anchor{position:absolute;left:50%;top:0;width:340px;height:100%;transform:translateX(-50%);z-index:3;pointer-events:none}.charm{width:100%;height:100%;position:relative;transform-origin:50% 0;animation:sway 6.5s ease-in-out infinite}.string{position:absolute;top:-5px;left:50%;height:calc(22% + 26px);width:1px;background:linear-gradient(#7b8372a8,#9e9f89);box-shadow:1px 0 #ffffff30}.doll-button{position:absolute;top:22%;left:0;width:100%;border:0;padding:0;background:transparent;border-radius:48%;pointer-events:auto;transition:filter .6s;cursor:grab;outline-offset:-12px!important}.doll-button:active{cursor:grabbing}.doll-svg{width:100%;height:auto;overflow:visible;transition:transform .25s}.doll-button:hover .doll-svg{transform:translateY(-2px)}.face{transition:opacity .16s}.face-happy,.face-sleepy{opacity:0}.face-normal{opacity:1}.ribbon{transition:color .4s}.scene[data-face=happy] .face-normal,.scene[data-face=happy] .face-sleepy{opacity:0}.scene[data-face=happy] .face-happy{opacity:1}.scene[data-face=sleepy] .face-normal{opacity:0}.scene[data-face=sleepy] .face-sleepy{opacity:1}.charm.bounce{animation:happy-sway 1.5s ease-in-out 1}.speech{position:absolute;z-index:7;top:32%;left:calc(50% + 78px);background:#fffdf4e8;color:#68745e;padding:12px 16px;border-radius:18px 18px 18px 3px;font-size:11px;letter-spacing:.03em;box-shadow:0 4px 18px #344f3810;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none;white-space:nowrap}.speech.visible{opacity:1;transform:translateY(0)}.scene-bottom{position:absolute;bottom:20px;left:30px;right:25px;display:flex;align-items:center;justify-content:space-between;z-index:5}.touch-hint{font-size:10px;letter-spacing:.12em;color:#fafff2;display:flex;gap:8px;align-items:center;text-shadow:0 1px 5px #36563b40}.touch-hint:before{content:"";width:14px;height:1px;background:currentColor}.scene-bottom .scene-icon{color:#fafff2;border-color:#ffffff66;width:32px;height:32px;padding:8px}.scene-bottom .scene-icon .icon{width:13px;height:13px}.controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 1px 0}.weather-control,.ribbon-control{display:flex;align-items:center;gap:16px}.control-label{font-size:10px;color:#878b7d;white-space:nowrap;letter-spacing:.07em}.weather-options{display:flex;gap:4px}.weather-options button{background:transparent;min-height:44px;min-width:57px;border:1px solid transparent;border-radius:24px;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 11px;transition:background .2s,border-color .2s;font-size:11px;color:#858a7d}.weather-options button[aria-pressed=true]{background:#e7eadf;border-color:#d9ddcf;color:#526146}.weather-options button:hover{background:#e9ebdf}.weather-options .icon{width:17px;height:17px}.ribbon-options{display:flex;gap:0}.ribbon-options button{background:transparent;border:0;border-radius:50%;padding:10px;width:36px;height:44px;display:flex;align-items:center;justify-content:center;position:relative}.ribbon-options button span{display:block;width:16px;height:16px;border-radius:50%;background:var(--swatch);flex-shrink:0;position:relative}.ribbon-options button[aria-pressed=true]:after{content:"";position:absolute;width:24px;height:24px;top:10px;left:6px;border:1px solid var(--swatch);border-radius:50%}.ribbon-options button[aria-pressed=true] span:after{content:"";display:block;width:4px;height:7px;border:1.5px solid #fff;border-top:0;border-left:0;transform:rotate(45deg);position:absolute;left:6px;top:3px}.footer{min-height:72px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.footer p{font-family:Georgia,serif;font-size:9px;letter-spacing:.18em;color:#868c7b}.footer>span{font-size:10px;letter-spacing:.08em;color:#888d7d}.footer .footer-mark{font-size:24px;color:#a1a68b}.rain{position:absolute;inset:0;opacity:0;overflow:hidden;pointer-events:none;z-index:2;transition:opacity .8s}.rain i{position:absolute;top:-25px;width:1px;height:20px;background:linear-gradient(transparent,#e3f0ef90);animation:rain-fall linear infinite}.stars{position:absolute;inset:0;opacity:0;transition:opacity 1s}.stars i{position:absolute;width:3px;height:3px;background:#f6efd2;border-radius:50%;box-shadow:0 0 7px #fff6cf44;animation:twinkle 4s ease-in-out infinite alternate}.stars i:nth-child(1){top:15%;left:21%}.stars i:nth-child(2){top:35%;left:12%;animation-delay:-1s}.stars i:nth-child(3){top:11%;left:62%;width:2px;height:2px;animation-delay:-2s}.stars i:nth-child(4){top:43%;left:79%;animation-delay:-3s}.stars i:nth-child(5){top:61%;left:21%;width:2px;height:2px}.stars i:nth-child(6){top:63%;left:84%;animation-delay:-2s}.stars i:nth-child(7){top:30%;left:38%;width:2px;height:2px}.stars i:nth-child(8){top:10%;left:84%;animation-delay:-1s}.stars i:nth-child(9){top:50%;left:9%;animation-delay:-2s}.stars i:nth-child(10){top:72%;left:61%;width:2px;height:2px}.stars i:nth-child(11){top:16%;left:43%;width:2px;height:2px}.stars i:nth-child(12){top:35%;left:93%;width:2px;height:2px}.scene[data-weather=rainy]{--scene-ink:#526c72;--hill-back:#8eaca1;--hill-front:#72958c;--hill-near:#66867b}.scene[data-weather=rainy] .sky{background:linear-gradient(#9eb9c4,#b7cdd1 65%,#d4ddcc)}.scene[data-weather=rainy] .sun,.scene[data-weather=night] .sun{opacity:0;transform:translateY(-15px)}.scene[data-weather=rainy] .cloud{fill:#e6efef;opacity:.8}.scene[data-weather=rainy] .rain{opacity:1}.scene[data-weather=rainy] .doll-button{filter:brightness(.98)}.scene[data-weather=night]{--scene-ink:#d7dfd3;--hill-back:#455d67;--hill-front:#384e55;--hill-near:#2e464c}.scene[data-weather=night] .sky{background:linear-gradient(#263b52,#445d6d 65%,#6c8282)}.scene[data-weather=night] .sky:after{opacity:0}.scene[data-weather=night] .moon,.scene[data-weather=night] .stars{opacity:1}.scene[data-weather=night] .cloud{opacity:.15;fill:#b4ccd0}.scene[data-weather=night] .doll-button{filter:brightness(.83) saturate(.75)}.scene[data-weather=night] .scene-top>span{background:#15293d20;border-color:#ffffff22}.scene[data-weather=night] .scene-icon{background:#15293d20;border-color:#ffffff33}.wish-tag{position:absolute;left:11%;top:55%;z-index:4;width:44px;height:153px;background:#fbf7e7;border:0;padding:20px 7px 18px;box-shadow:2px 5px 12px #3f57421a;transform:rotate(5deg);animation:tag-sway 7s ease-in-out infinite;transform-origin:center -65px;color:#7b7d65;transition:opacity .2s}.wish-tag[hidden]{display:none}.wish-tag:before{content:"";position:absolute;bottom:calc(100% - 7px);left:50%;height:75px;width:1px;background:#a69c7c;transform:rotate(-3deg);transform-origin:bottom}.tag-hole{position:absolute;top:7px;left:20px;width:4px;height:4px;border:1px solid #bab498;border-radius:50%}#tag-text{display:block;writing-mode:vertical-rl;text-orientation:upright;line-height:1.5;font-family:var(--serif);font-size:11px;letter-spacing:.12em;height:110px;margin:auto;max-width:100%;overflow:hidden;white-space:pre-wrap}.sparkles{position:absolute;inset:0;pointer-events:none;z-index:6;overflow:hidden}.spark{position:absolute;left:50%;top:45%;color:#fff9d8;font-size:20px;animation:spark-out 1.3s ease-out forwards}.spark:nth-child(even){font-size:13px}.toast{position:fixed;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,10px);background:#414e3eeF;color:#fffef4;border-radius:24px;padding:13px 23px;z-index:100;font-size:12px;letter-spacing:.03em;opacity:0;pointer-events:none;transition:opacity .3s,transform .3s;text-align:center;max-width:calc(100vw - 30px);width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid #dddcd1;border-radius:14px;padding:38px;width:min(440px,calc(100% - 32px));background:var(--paper);color:var(--ink);box-shadow:0 30px 120px #1a2e3540;max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#354d4f50;backdrop-filter:blur(7px)}dialog form{position:relative}.close-dialog{position:absolute;top:-20px;right:-22px;width:44px;height:44px;border:0;background:transparent;font-size:27px;font-weight:200;color:#858979;border-radius:50%}.dialog-flower{font-size:38px;color:#abaf92;display:block;margin-bottom:14px}dialog .eyebrow{font-size:10px}dialog h2{font-family:var(--serif);font-size:23px;font-weight:400;letter-spacing:.015em;margin:18px 0}.dialog-description{font-size:12px;line-height:2;color:var(--muted);margin-bottom:26px}dialog label{display:block;font-size:11px;margin-bottom:10px}textarea{resize:vertical;width:100%;min-height:110px;max-height:220px;border:1px solid #d5d7c9;border-radius:7px;background:#fffef8;padding:13px;font-size:14px;color:var(--ink);line-height:1.7}textarea::placeholder{color:#a2a494}.input-details{font-size:10px;color:#909483;display:flex;justify-content:space-between;gap:15px;margin:10px 0 24px}.submit-wish{display:flex;align-items:center;justify-content:space-between;background:#65795a;color:#fffef5;width:100%;border:0;border-radius:7px;min-height:50px;padding:14px 20px;font-size:13px;letter-spacing:.06em}.submit-wish:hover{background:#52684a}.remove-wish{display:block;text-align:center;background:none;border:0;font-size:11px;color:#8a897a;min-height:44px;margin:8px auto -10px;text-decoration:underline;text-underline-offset:4px}.remove-wish[hidden]{display:none}.no-motion .charm,.no-motion .cloud,.no-motion .stars i,.no-motion .rain i,.no-motion .wish-tag{animation-play-state:paused!important}.no-motion .charm.bounce{animation:none}.no-motion .spark{animation:none;display:none}.scene.expanded{position:fixed;inset:16px;width:auto;height:calc(100dvh - 32px);max-height:none;min-height:0;z-index:50;border-radius:22px;box-shadow:0 0 0 30px var(--paper)}.scene.expanded .charm-anchor{width:min(47vh,450px)}.scene.expanded .string{height:calc(21% + 34px)}.scene.expanded .doll-button{top:21%}.scene.expanded .sun{right:24%}.scene.expanded .scene-top{top:24px}.scene.expanded .scene-bottom{bottom:24px}.scene.expanded .speech{left:calc(50% + 100px)}body.expanded-scene{overflow:hidden}
@keyframes sway{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(3deg)}}@keyframes happy-sway{0%{transform:rotate(0)}20%{transform:rotate(-8deg)}45%{transform:rotate(7deg)}70%{transform:rotate(-4deg)}100%{transform:rotate(-3deg)}}@keyframes cloud-drift{from{transform:translateX(-12px)}to{transform:translateX(22px)}}@keyframes rain-fall{to{transform:translate(-35px,720px)}}@keyframes twinkle{from{opacity:.3}to{opacity:1}}@keyframes tag-sway{0%,100%{transform:rotate(3deg)}50%{transform:rotate(7deg)}}@keyframes spark-out{0%{opacity:0;transform:translate(0,0) scale(.3)}20%{opacity:1}100%{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(45deg) scale(.8)}}
@media(min-width:1600px){.page{padding:0 72px}.experience{gap:70px}}
@media(max-width:1150px){.page{padding:0 4vw}.experience{grid-template-columns:minmax(280px,.75fr) minmax(0,1.3fr);gap:3vw}.scene{border-radius:140px 140px 10px 10px}.scene-top{left:32px;right:24px;top:39px}.controls{flex-wrap:wrap;gap:8px}.weather-control,.ribbon-control{gap:8px}.ribbon-options button{width:34px}.ribbon-options button[aria-pressed=true]:after{left:5px}.ribbon-options button{padding:9px}.control-label{font-size:9px}.weather-options button{min-width:52px;padding:8px}.charm-anchor{width:310px}.speech{left:calc(50% + 55px);font-size:10px;padding:10px 12px}.header-note{font-size:10px}.header-right{gap:20px}}
@media(max-width:880px){.page{padding:0 24px}.header{height:92px}.header-note{display:none}.experience{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:32px}.intro{padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:24px;align-items:start}.intro>.eyebrow{grid-column:1/-1;margin:0 0 8px}h1{font-size:34px;line-height:1.7;margin:7px 0 12px}.description{font-size:11px;grid-column:1;line-height:2}.wish-area{margin:17px 0 0;grid-column:2;grid-row:2/4;align-self:center;max-width:none}.intro-bottom{display:none}.scene{height:530px;min-height:0;border-radius:160px 160px 10px 10px}.charm-anchor{width:340px}.controls{flex-wrap:nowrap;gap:15px;padding:16px 3px 0}.weather-control,.ribbon-control{gap:12px}.ribbon-options button{width:40px}.ribbon-options button[aria-pressed=true]:after{left:8px}.weather-options button{min-width:61px;padding:8px 10px}.footer{min-height:75px}.footer>span:not(.footer-mark){font-size:9px}.footer p{font-size:8px}}
@media(max-width:560px){.page{padding:0 20px}.header{height:82px}.brand{gap:10px}.brand-mark{width:27px;height:37px}.brand-type{font-size:21px}.brand-type small{font-size:7px;letter-spacing:.25em;margin-top:5px}.sound-toggle{width:42px;height:42px;min-height:42px;padding:11px}.sound-toggle>span{display:none}.sound-toggle .icon{width:18px;height:18px}.experience{padding-top:24px;gap:23px;padding-bottom:23px}.intro{display:block;text-align:center}.intro>.eyebrow{justify-content:center;font-size:9px;letter-spacing:.15em;margin:0 0 11px}h1{font-size:30px;line-height:1.65;letter-spacing:.025em;margin:0}h1 span{display:inline}h1 span:first-child{display:block}.description{font-size:10px;line-height:1.9;margin:12px 0 0}.description br{display:none}.description{letter-spacing:.04em}.wish-area{margin:20px auto 0;max-width:260px;text-align:left}.section-label{display:none}.wish-button{min-height:40px;font-size:14px;padding:4px 0}.wish-button .icon{width:15px}.wish-help{text-align:center;font-size:9px;margin-top:6px}.scene{height:440px;min-height:0;border-radius:125px 125px 9px 9px}.scene-top{top:28px;left:28px;right:24px;align-items:center}.scene-top>span{font-size:8px;padding:6px 8px;gap:5px}.scene-top>.scene-icon{height:32px;width:32px;padding:8px}.scene-top>.scene-icon>.icon{width:14px;height:14px}.charm-anchor{width:290px}.doll-button{top:23%}.string{height:calc(23% + 24px)}.sun{height:54px;width:54px;right:13%;top:25%}.sun:before{inset:-10px}.sun:after{inset:-21px}.cloud-one{width:155px;left:-14%;top:31%}.cloud-two{width:130px;right:-12%;top:53%}.moon{width:43px;height:43px;right:15%;top:24%;box-shadow:-11px 4px 0 0 #eee8c4}.scene-bottom{bottom:16px;left:21px;right:18px}.touch-hint{font-size:9px;letter-spacing:.06em}.speech{top:36%;left:auto;right:10%;font-size:10px;padding:10px 13px}.controls{gap:9px;align-items:flex-start;padding:18px 0 0}.weather-control,.ribbon-control{display:flex;flex-direction:column;gap:7px;align-items:flex-start}.ribbon-control{align-items:flex-end}.control-label{font-size:9px;letter-spacing:.1em;padding:0 9px}.ribbon-control .control-label{padding-right:12px}.weather-options{gap:0}.weather-options button{min-width:56px;padding:8px;gap:5px;min-height:42px;font-size:10px}.weather-options .icon{width:15px;height:15px}.ribbon-options button{height:42px;width:32px;padding:8px}.ribbon-options button[aria-pressed=true]:after{top:9px;left:4px}.footer{min-height:82px;flex-wrap:wrap;justify-content:center;gap:0;padding:18px 15px calc(17px + env(safe-area-inset-bottom))}.footer p{margin:0 0 8px;flex-basis:100%;text-align:center;letter-spacing:.15em;font-size:8px}.footer>span:not(.footer-mark){font-size:8px;letter-spacing:.05em}.footer .footer-mark{display:none}.wish-tag{left:7%;top:56%;height:135px;width:37px;padding:18px 5px 15px}.tag-hole{left:17px}#tag-text{font-size:9px;height:98px;line-height:1.4}.scene.expanded{inset:8px;height:calc(100dvh - 16px);border-radius:18px}.scene.expanded .charm-anchor{width:min(85vw,360px)}.scene.expanded .scene-top{left:20px;right:20px}.scene.expanded .speech{left:auto;right:7%}.scene.expanded .sun{right:12%}.scene.expanded .wish-tag{top:60%}dialog{padding:30px 25px}dialog h2{font-size:21px}.close-dialog{right:-12px}}
@media(max-width:360px){.page{padding:0 14px}.scene{height:410px}.charm-anchor{width:270px}h1{font-size:28px}.weather-options button{min-width:48px;padding:7px 5px;gap:4px;font-size:9px;white-space:nowrap}.weather-options .icon{width:13px;height:13px}.ribbon-options button{width:29px}.ribbon-options button[aria-pressed=true]:after{left:2.5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}.charm,.cloud,.rain i,.stars i,.wish-tag,.spark{animation:none!important}.spark{display:none}.doll-button:hover .doll-svg{transform:none}}

/* Wish controls keep the hanging direction separate from the scenery. */
.doll-turn{display:block;transform:rotate(0deg);transform-origin:50% 47.619%;transition:transform .95s cubic-bezier(.45,0,.2,1)}
.scene[data-wish-mode=rainy] .doll-turn{transform:rotate(180deg)}
.scene[data-wish-mode=rainy] .speech{top:56%}
.scene[data-wish-mode=rainy] .spark{top:64%}
.prayer-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}
.prayer-button{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 18px;border:1px solid #dcded2;border-radius:10px;background:transparent;color:#7c8375;text-align:left;transition:background .25s,border-color .25s,color .25s,box-shadow .25s}
.prayer-button:hover{background:#eeeee5}
.prayer-button .prayer-icon{width:25px;height:25px;stroke-width:1.25}
.prayer-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.prayer-copy>span{font-family:var(--serif);font-size:16px;letter-spacing:.035em;white-space:nowrap}
.prayer-copy>small{font-size:9px;letter-spacing:.07em;opacity:.85}
.prayer-check{opacity:0;width:16px;height:16px;stroke-width:1.7;transition:opacity .2s}
.prayer-button[aria-pressed=true] .prayer-check{opacity:1}
.prayer-sunny[aria-pressed=true]{border-color:#c9a183;background:#f1e8d8;color:#946443;box-shadow:0 3px 12px #9b76540a}
.prayer-rainy[aria-pressed=true]{border-color:#8faeb4;background:#e1ebeb;color:#4e747c;box-shadow:0 3px 12px #607f880a}
.no-motion .doll-turn{transition:none}
@media(min-width:881px){.scene{height:clamp(460px,59vh,600px)}}
@media(max-width:1150px){.prayer-button{gap:10px;padding:11px 13px}.prayer-copy>span{font-size:14px}}
@media(max-width:560px){.prayer-controls{gap:9px;margin-top:14px}.prayer-button{min-height:61px;padding:10px;gap:8px}.prayer-button .prayer-icon{width:19px;height:19px}.prayer-copy{gap:5px}.prayer-copy>span{font-size:12px;letter-spacing:0}.prayer-copy>small{font-size:8px;letter-spacing:.02em}.prayer-check{width:12px;height:12px}.scene[data-wish-mode=rainy] .speech{top:44%;right:7%}}
@media(max-width:360px){.prayer-button{padding:10px 7px;gap:6px}.prayer-button .prayer-icon{width:17px;height:17px}.prayer-copy>span{font-size:11px}.prayer-check{width:10px;height:10px}}
@media(prefers-reduced-motion:reduce){.doll-turn{transition:none!important}}

/* A wish expands its paper instead of hiding extra vertical columns. */
.wish-button{align-items:center}
.wish-button>span{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;line-height:1.8;padding:4px 0;flex:1;min-width:0}
.wish-tag{width:max-content;min-width:44px;max-width:none}
#tag-text{width:max-content;max-width:none;overflow:visible;white-space:normal;overflow-wrap:anywhere}
.tag-hole{left:calc(50% - 2px)}

.header-actions,.scene-actions{display:flex;align-items:center;gap:10px}
.export-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:0 17px;border:1px solid #b9c0ae;border-radius:25px;background:#e9eddf;color:#536348;font-size:11px;letter-spacing:.025em}
.export-toggle:hover{background:#e0e6d4}
.export-toggle .icon{width:16px;height:16px}
.scene-actions{gap:7px}
#export-dialog{width:min(500px,calc(100% - 28px));padding:30px 32px}
.export-dialog-content{position:relative}
#export-dialog h2{margin:10px 0 20px}
.export-preview-frame{position:relative;display:flex;align-items:center;justify-content:center;min-height:170px;height:min(33vh,260px);border:1px solid #dedfd4;border-radius:8px;overflow:hidden;background-color:#f6f5f0;background-image:linear-gradient(45deg,#e5e6de 25%,transparent 25%),linear-gradient(-45deg,#e5e6de 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e6de 75%),linear-gradient(-45deg,transparent 75%,#e5e6de 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}
#export-preview{display:block;max-width:100%;max-height:100%;object-fit:contain}
#export-preview[hidden],#export-loading[hidden]{display:none}
#export-loading{font-size:11px;padding:10px 15px;border-radius:20px;background:#f7f5eeeb;color:#797e6f}
.export-options{display:flex;gap:24px;border:0;padding:0;margin:18px 0 16px;align-items:center}
.export-options legend{float:left;margin-right:25px;padding:0;font-size:11px;line-height:24px}
.export-options label,.export-wish-toggle{display:flex;align-items:center;gap:8px;margin:0;min-height:32px;font-size:12px;cursor:pointer}
.export-options input,.export-wish-toggle input{accent-color:#65795a;width:16px;height:16px;flex-shrink:0;margin:0}
.export-wish-toggle{min-height:36px!important}
.export-wish-toggle:has(input:disabled){opacity:.55;cursor:default}
.export-wish-value{font-family:var(--serif);font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 12px;padding:8px 12px;border-left:2px solid #c2c8b6;color:#6c735f;max-height:130px;overflow:auto}
.export-status{font-size:10px;color:#7e8573;min-height:16px;margin:12px 0;line-height:1.6}
.download-png{text-decoration:none;cursor:pointer;justify-content:space-between}
.download-png[aria-disabled=true]{opacity:.45;cursor:wait}
.export-footnote{font-size:9px;color:#8b907f;text-align:center;margin:12px 0 0;line-height:1.7}
.retry-export{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;padding:7px 0 16px;font-size:12px;color:#65795a}
.retry-export[hidden]{display:none}
@media(max-width:560px){.header-actions{gap:8px}.header-right{gap:0}.export-toggle{min-height:42px;padding:0 12px;font-size:10px;gap:7px}.export-toggle .icon{width:14px;height:14px}.scene-actions{gap:5px}.scene-top .scene-actions>.scene-icon{width:30px;height:30px;padding:8px}.scene-top .scene-actions>.scene-icon .icon{width:14px;height:14px}.wish-tag{min-width:37px}.scene[data-long-wish=true] .wish-tag{height:156px;top:49%}.scene[data-long-wish=true] #tag-text{height:118px}.scene[data-long-wish=true] .charm-anchor{left:59%}#export-dialog{padding:25px 23px}.export-options{gap:17px}.export-options legend{margin-right:9px}.export-options label{font-size:11px}.export-preview-frame{height:240px;max-height:31vh;min-height:140px}}
@media(max-width:360px){.header{gap:10px}.header-actions{gap:6px;flex-shrink:0}.export-toggle{padding:0 9px;font-size:9px;white-space:nowrap}.export-toggle .icon{width:13px;height:13px}.brand{gap:7px;flex-shrink:0}.brand-type{font-size:19px;white-space:nowrap}}

.script-load-error{position:fixed;bottom:16px;left:16px;right:16px;z-index:1000;padding:16px;background:#fff8e9;border:1px solid #c5a78b;border-radius:10px;text-align:center;font-size:13px;box-shadow:0 6px 30px #0002}.script-load-error button{background:transparent;border:0;color:#536348;text-decoration:underline;font:inherit}

.footer .privacy-link{display:inline-flex;align-items:center;min-height:32px;padding:6px 0;font-size:10px;line-height:1.7;letter-spacing:.05em;color:#68755e;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.footer .privacy-link:hover{color:#405738}
@media(max-width:560px){.footer .privacy-link{flex-basis:100%;justify-content:center;margin-top:7px;min-height:28px;padding:5px 0;font-size:9px}}
