:root{font-family:"Noto Sans JP",-apple-system,BlinkMacSystemFont,sans-serif;color:#2a2328;background:#fff;font-size:14px}*{box-sizing:border-box}body{margin:0}main{max-width:480px;margin:auto;padding:8px 12px calc(16px + env(safe-area-inset-bottom))}button{font:inherit;color:inherit;border:0;border-radius:8px;background:#f3f4f6;min-height:44px;min-width:44px;padding:8px;touch-action:manipulation;cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible{outline:3px solid #a55173;outline-offset:1px}.room{background:#f6eee8;padding:8px;border-radius:12px}.hud{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:12px;background:#fff;border-radius:8px;padding:2px 8px}#pause{font-weight:bold;padding:2px;background:transparent}#brief{font-size:12px;line-height:1.5;white-space:pre-line;margin:6px 2px}.scene{height:298px;position:relative;overflow:hidden;background:linear-gradient(90deg,#f0e0d3 1px,transparent 1px) 0 0/22px 100%,linear-gradient(#fbf4e9 66%,#e1cbb4 66%);border-radius:8px}.scene.evening{background:linear-gradient(90deg,#e4cfcb 1px,transparent 1px) 0 0/22px 100%,linear-gradient(#f3e5dc 66%,#d8bda5 66%)}.window{position:absolute;right:28px;top:16px;width:100px;height:99px;border:7px solid #fff7e9;border-radius:40px 40px 0 0;background:linear-gradient(#bad9df,#e9ebe1);box-shadow:0 0 0 2px #d9c2a7}.window:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 48%,#fff7e9 48%,#fff7e9 53%,transparent 53%),linear-gradient(90deg,transparent 48%,#fff7e9 48%,#fff7e9 53%,transparent 53%)}.evening .window{background:linear-gradient(#796e91,#eab3a4)}.bunting{position:absolute;left:10px;right:10px;top:-27px;height:80px;border-bottom:2px solid #bea48e;border-radius:50%;transform:rotate(-3deg)}.partner{position:absolute;left:4%;top:11px;width:122px;height:122px;object-fit:contain;filter:drop-shadow(0 4px 2px #81685722)}.tabletop{position:absolute;left:3%;top:123px;width:94%;height:166px;border-radius:45% 45% 12% 12%;background:repeating-linear-gradient(90deg,#fff5e2 0 19px,#f8ead4 19px 21px);border:6px solid #c4a07e;border-bottom:14px solid #ae896b;box-shadow:0 6px 0 #96745c33}.place{position:absolute;background:transparent;padding:0;width:43%;height:89px;z-index:2;opacity:1!important}.place .object-art{display:block;height:69px}.object-art svg{width:100%;height:100%;display:block;overflow:visible}.place-label{display:block;font-size:10px;line-height:16px;background:#fffaf0d9;border-radius:10px;padding:0 3px;width:max-content;max-width:100%;margin:auto;white-space:nowrap}.place-decor{left:8%;top:99px}.place-food{right:5%;top:139px}.place-drink{left:4%;top:190px}.place-fun{right:15%;top:221px;width:32%;height:70px}.place-fun .object-art{height:53px}.place.empty:before{content:"";display:block;width:65px;height:34px;border:2px dashed #b8997d;border-radius:50%;margin:12px auto 8px;background:#fff7eb88}.place.empty .place-label{color:#715c4d}.place.destination{filter:drop-shadow(0 0 4px #b2688b);animation:invite 1s ease-in-out infinite}.speech{background:white;padding:7px 10px;border-radius:8px;margin-top:6px;font-size:12px;min-height:66px}.speech strong{font-size:11px}.speech p{margin:3px 0 0;line-height:1.55}.instruction{font-size:12px;line-height:1.6;margin:7px 0;white-space:pre-line}.start-title{font-size:18px;font-weight:700;margin:14px 0 4px}.tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:8px}.tabs button{padding:7px 2px;font-size:12px;background:#f3f4f6}.tabs [aria-pressed=true]{background:#e8e4e2;color:#44353b;font-weight:700}.options{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.option{padding:5px 3px;border:2px solid transparent;display:flex;flex-direction:column;align-items:center;touch-action:none;user-select:none}.option .object-art{height:65px;width:86px;max-width:100%}.option strong{font-size:11px;white-space:nowrap}.option small{font-size:10px;color:#6e626a;line-height:1.5}.option[aria-pressed=true]{border-color:#a55173;background:#f6e9ef}.primary{width:100%;background:#f0dce4;font-weight:600;margin-top:8px}.activity-overlay{position:absolute;inset:0;z-index:4}.workbench{background:linear-gradient(#f5eadfdd,#f4e4d2 55%,#e4cbb1)}.workbench>.object-art{position:absolute;left:17%;top:46px;width:66%;height:183px;pointer-events:none}.work-title{position:absolute;top:12px;left:70px;right:8px;text-align:center;font-size:13px}.work-back{position:absolute;left:5px;top:4px;min-width:54px;background:#fff9}.work-hint{position:absolute;bottom:4px;left:4px;right:4px;text-align:center;font-size:11px;pointer-events:none}.target{position:absolute;top:104px;left:25%;width:47px;height:47px;border:2px dashed #a96382;border-radius:50%;background:#fff8e566;color:#81526a;animation:invite 1.6s ease-in-out infinite;padding:0}.target-1{top:79px;left:45%}.target-2{left:65%}.target.complete{opacity:.65;animation:none;border-style:solid;background:#fff7edcc;font-size:20px}.part-source{position:absolute;bottom:23px;left:calc(50% - 49px);width:98px;height:76px;touch-action:none;background:#fffaf2cc;padding:1px 5px;user-select:none}.part-source>svg,.part-source>.object-art{width:100%;height:52px;display:block}.part-source small{display:block;font-size:10px;white-space:nowrap}.part-source.selected{outline:2px solid #a55173}.drag-ghost{position:fixed;width:84px;height:84px;z-index:10000;pointer-events:none;opacity:.9;filter:drop-shadow(0 5px 5px #573c3944);background:#fff8e9dd;border-radius:14px;padding:3px}.drag-ghost .object-art,.drag-ghost svg{height:64px;width:100%;display:block}.drag-ghost strong,.drag-ghost small{display:none}.pour-meter{position:absolute;right:17%;top:62px;height:137px;width:46px;border:3px solid #b39c80;border-radius:5px 5px 17px 17px;overflow:hidden;background:#fff9}.pour-meter #liquid{position:absolute;bottom:0;width:100%;height:0;background:#d3a463aa;transition:height .04s linear}.pour-band{position:absolute;left:0;right:0;bottom:70%;height:20%;background:#8bb69388;border-block:2px solid #648e6c;z-index:2}.pour-meter span{position:absolute;top:17px;left:0;right:0;font-size:8px;text-align:center;z-index:3}.pour-source{left:20%;bottom:43px}.pour-assist{position:absolute;right:5%;bottom:36px;font-size:11px;background:#fff9}.tilting .object-art{transform:rotate(20deg);transform-origin:70% 60%}.workbench:has(.pour-meter)>.object-art{left:4%;width:60%;top:49px}.paused{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fbf4e9ed;padding:30px}.paused .primary{max-width:240px}.event-scene{background:#fcf4e940;touch-action:none}.event-scene .work-title{left:5px;background:#fff8e9ed;border-radius:10px;padding:6px}.door{position:absolute;right:8%;top:57px;width:134px;min-height:187px;background:#fff7ebeb}.door .object-art{display:block;height:125px}.door span:not(.object-art){font-size:11px;display:block}.door small{font-size:10px}.event-bubble{position:absolute;left:5%;top:127px;max-width:45%;font-size:11px;padding:7px;background:#fff;border-radius:8px}.spill{position:absolute;left:24%;top:126px;width:67%;height:110px;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,1fr);transform:rotate(-5deg);touch-action:none}.spill i{background:#b57c5299;border-radius:43% 54% 39% 51%;transition:opacity .18s;pointer-events:none;box-shadow:0 0 6px #b57c5288}.cloth{position:absolute;left:7px;bottom:9px;width:131px;height:85px;padding:0;background:#fffaf1;touch-action:none}.cloth .object-art{display:block;height:60px}.cloth small{display:block;font-size:10px;white-space:nowrap}.cloth.selected{outline:2px solid #a55173}.wipe-progress{position:absolute;bottom:13px;right:9px;font-size:11px;background:#fffa;padding:6px;border-radius:8px;pointer-events:none}.event-alternatives{display:grid;grid-template-columns:1fr 1fr;gap:6px}.event-choice{display:flex;flex-direction:column;align-items:center;padding:5px;font-size:11px;line-height:1.5}.event-choice .object-art{height:51px;width:75px}.event-choice small{display:block;font-size:10px;color:#6e626a}.result-ribbon{position:absolute;z-index:3;top:12px;left:8%;right:8%;text-align:center;padding:8px;background:#fff7e4;border-block:1px solid #cfaf7e;font-family:Georgia,serif;font-size:19px;color:#825c45}.party-open .bunting{border-bottom-color:#c19385}.party-open .scene{background:#fff}.party-open .partner{animation:welcome 3s ease-in-out infinite}h2{font-size:18px;margin:12px 0 6px}#notice{font-size:12px;color:#984851;line-height:1.5;margin:8px 0}details{font-size:12px;color:#6e626a;margin-top:10px;line-height:1.7}summary{min-height:44px;padding:10px 0;touch-action:manipulation}.result-list{font-size:12px;line-height:1.9;padding-left:20px;margin:5px 0}.game-title-accessible{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#celebration{position:absolute;inset:0;pointer-events:none;z-index:10;overflow:hidden}#celebration i{position:absolute;left:var(--x);top:12%;width:6px;height:9px;background:#d3a365;animation:confetti 1.5s var(--d) both}#celebration i:nth-child(3n){background:#c692a4}#celebration i:nth-child(3n + 1){background:#91aa89}@keyframes invite{50%{background-color:#f6ddbd99}}@keyframes welcome{50%{transform:translateY(-3px) rotate(2deg)}}@keyframes confetti{0%{opacity:0;transform:translateY(-20px) rotate(0)}15%{opacity:1}100%{opacity:0;transform:translateY(230px) rotate(var(--r))}}@media(max-height:740px){.scene{height:278px}.tabletop{top:111px;height:158px}.place-decor{top:87px}.place-food{top:123px}.place-drink{top:172px}.place-fun{top:202px}.speech{min-height:61px}.workbench>.object-art{top:35px;height:166px}.target{top:91px}.target-1{top:68px}.spill{top:113px}.door{top:48px;min-height:174px}.door .object-art{height:113px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
