*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#28285b;color:#302649;font-family:Inter,ui-sans-serif,system-ui,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible,a:focus-visible{outline:4px solid #ffcd70;outline-offset:4px}button:disabled{cursor:default}a{color:inherit}[x-cloak]{display:none!important}.svg-defs{width:0;height:0;position:absolute}.restaurant-game{max-width:1100px;min-height:100dvh;margin:auto;padding:14px 24px 10px;display:flex;flex-direction:column;background:#f2e9e4}.game-header{display:flex;align-items:center;gap:16px;padding-bottom:12px}.brand{font-size:40px;text-decoration:none;font-weight:900;line-height:1}.brand span{color:#ed7667}.game-header p{font-size:11px;font-weight:800;letter-spacing:.12em;margin:0 0 4px}.game-header h1{font-family:Georgia,serif;font-size:26px;line-height:1;margin:0}.village-link{margin-left:auto;font-size:14px;color:#605571}.pause-button{border:1px solid #c7bbd2;background:#fff6ee;padding:10px 16px;border-radius:10px;font-weight:750;font-size:14px}.pause-button:disabled{opacity:.4}.restaurant-game main{flex:1;display:flex;flex-direction:column}.visit-bar{display:flex;gap:18px;align-items:center;background:#fff8ed;border:1px solid #e5d9d5;border-radius:16px 16px 0 0;padding:12px 20px;font-size:14px}.visit-bar>b,.visit-bar b{font-size:21px}.visit-bar>strong{margin-left:auto;font-size:14px;color:#806985}.progress-dots{display:flex;gap:8px}.progress-dots i{width:10px;height:10px;border-radius:50%;background:#d8cbd8}.progress-dots i.current{border:2px solid #9474b1}.progress-dots i.done{background:#4e9d87}.restaurant{height:clamp(330px,50dvh,490px);min-height:330px;position:relative;isolation:isolate;overflow:hidden;background:#b9e1e7;border:1px solid #d0c0ca;border-top:0}.window{position:absolute;inset:0 6%;background:#b0d9e3;border:17px solid #efcda6;border-top:0;overflow:hidden}.sun{position:absolute;right:9%;top:15%;background:#ffdfa1;border-radius:50%;width:90px;height:90px}.cloud{position:absolute;background:#e5f7f0;width:140px;height:18px;border-radius:50%;top:23%;animation:cloud 45s linear infinite}.c1{left:12%}.c2{left:75%;top:33%;width:90px;animation-delay:-12s}.skyline{position:absolute;bottom:55px;left:0;right:0;display:flex;align-items:flex-end;gap:25px;height:100px}.skyline i{flex:1;background:#e5b78f;height:80%;border-radius:24px 24px 0 0;box-shadow:inset 0 0 0 6px #9ab8bd}.skyline i:nth-child(2n){height:60%;background:#9f97b4}.skyline i:nth-child(3){height:100%;background:#d8d6b4}.river{position:absolute;bottom:0;height:55px;width:100%;background:repeating-linear-gradient(178deg,#79b9ce 0 8px,#9dcfdb 9px 11px,#79b9ce 12px 35px)}.awning{position:absolute;inset:0 0 auto;display:flex;height:45px;z-index:1;filter:drop-shadow(0 7px 0 #44324a15)}.awning span{flex:1;border-radius:0 0 18px 18px;background:#7362a5}.awning span:nth-child(2n){background:#fcf1df}.shop-sign{position:absolute;top:16px;left:50%;transform:translateX(-50%);z-index:2;background:#fff5df;border:3px solid #51466c;box-shadow:0 4px #44324a1a;border-radius:5px;padding:7px 24px;letter-spacing:.12em;font-size:14px;font-weight:900;white-space:nowrap}.server-area{position:absolute;left:7%;top:68px;width:54%;bottom:85px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}.speech{position:relative;max-width:380px;min-width:240px;background:#fff9e9;border:3px solid #62517b;border-radius:20px;padding:11px 20px 14px;box-shadow:0 6px #35274f12;margin-bottom:13px;text-align:center;z-index:2}.speech:after{content:'';position:absolute;bottom:-11px;left:44%;border-top:10px solid #62517b;border-left:9px solid transparent;border-right:9px solid transparent}.speech.success{border-color:#3f917b}.speech.success:after{border-top-color:#3f917b}.server-name{font-size:10px;color:#937994;font-weight:850;letter-spacing:.12em}.speech p{font-family:Georgia,serif;font-size:21px;line-height:1.15;margin:7px 0}.speech small{display:block;font-size:13px;color:#7e6784;line-height:1.3}.server{height:160px;width:144px;position:relative;flex-shrink:0;animation:breathe 2.4s ease-in-out infinite}.face{position:absolute;top:9px;left:42px;width:60px;height:67px;background:#dca583;border-radius:18px 18px 25px 25px;z-index:1}.hair{position:absolute;top:1px;left:37px;width:72px;height:80px;background:#4f3b50;border-radius:30px 30px 10px 10px}.eye{position:absolute;width:5px;height:6px;background:#43323c;border-radius:50%;top:27px}.eye.left{left:16px}.eye.right{right:15px}.smile{position:absolute;left:23px;top:42px;width:16px;height:7px;border-bottom:3px solid #704048;border-radius:0 0 50% 50%}.shirt{position:absolute;top:71px;left:21px;width:103px;height:102px;border-radius:36px 36px 0 0;background:#7668a9}.apron{position:absolute;top:87px;left:42px;width:60px;height:90px;background:#f5e8d4;border-radius:9px 9px 0 0;border-top:8px solid #d2b6ae}.apron:after{content:'';position:absolute;left:13px;top:22px;width:35px;height:28px;background:#e0c9be;border-radius:0 0 9px 9px}.arm{position:absolute;top:103px;left:2px;width:46px;height:13px;background:#dca583;border-radius:10px;transform:rotate(-20deg)}.tray{position:absolute;top:91px;left:-9px;width:56px;height:8px;background:#645473;border-radius:50%}.your-wish{position:absolute;right:8%;top:27%;width:25%;background:#fff9e8;border:3px solid #ecc26e;border-radius:21px;text-align:center;padding:12px 12px 14px;box-shadow:0 8px #b5945640;transform:rotate(3deg)}.your-wish>span{font-size:11px;color:#a3834f;font-weight:900;letter-spacing:.13em}.your-wish svg{display:block;width:105px;height:84px;margin:auto}.your-wish>strong{display:block;font-size:23px;color:#665076}.your-wish>small{display:block;font-size:13px;color:#9b8294;margin-top:4px}.table{position:absolute;inset:auto -4% 0;height:25%;min-height:90px;background:#e8b48f;border-top:8px solid #fff2d9;z-index:3;transform:perspective(200px) rotateX(5deg);box-shadow:0 -5px #b47f6a}.table:before{content:'';position:absolute;left:12%;right:12%;inset-block:0;background:repeating-linear-gradient(90deg,#f9ece0 0 70px,#e6d4c8 71px 75px);opacity:.65;transform:skew(-3deg)}.placemat{position:absolute;left:32%;right:32%;height:98%;top:0;display:flex;align-items:center;justify-content:center;gap:20px}.plate{position:relative;width:135px;height:70px;border-radius:50%;background:#fdf8ef;box-shadow:inset 0 0 0 9px #e3d9e6,inset 0 0 0 12px #fdf8ef,0 4px 0 #b7949b}.delivered-food{position:absolute;bottom:6px;left:16px;width:100px;height:80px;animation:deliver .6s ease-out both;filter:drop-shadow(0 5px 2px #59436c20)}.delivered-food.mistake{animation:wrong .3s ease-in-out}.fork{font-size:41px;line-height:1;color:#988ba3;transform:rotate(180deg)}.knife{height:47px;width:7px;border-radius:5px;background:#a89aaf;box-shadow:3px 0 #e8ddea}.table-label{position:absolute;left:3%;bottom:15px;color:#a47262;font-size:9px;letter-spacing:.08em;font-weight:800}.vase{position:absolute;right:12%;top:-15px;font-size:42px;color:#d87c84;text-shadow:0 4px #fbd5aa}.play-card{position:absolute;z-index:5;top:52%;left:50%;transform:translate(-50%,-50%);width:310px;padding:23px 24px;background:#fffaf0f7;border:1px solid #f8fff7;border-radius:20px;text-align:center;box-shadow:0 15px 40px #3f345b35}.play-card .eyebrow{font-size:10px;font-weight:900;letter-spacing:.12em;color:#8b6190;margin:0 0 7px}.play-card h2{font:700 30px/1.05 Georgia,serif;margin:8px 0 12px}.play-card p{font-size:14px;margin:10px 0 15px}.play-card small{display:block;font-size:12px;color:#7d6a7f;margin-top:11px}.play{width:100%;border:0;border-radius:12px;background:#65519b;color:#fff7ec;font-size:17px;font-weight:800;padding:14px;box-shadow:0 4px #42326f}.play:active{transform:translateY(3px);box-shadow:0 1px #42326f}.text-button{border:0;background:none;color:#71617e;padding:14px 6px 0;font-size:13px;text-decoration:underline}.result strong{display:block;font-size:36px}.result span{display:block;font-size:12px;margin:4px 0 14px}.choice-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 3px 10px}.choice-heading>div>strong{font-size:11px;letter-spacing:.08em;color:#68527d}.choice-heading p{margin:5px 0 0;font-size:14px;color:#806683}.help-toggle{flex-shrink:0;border:1px solid #b6a2c1;border-radius:9px;background:#fff8ea;color:#6c5283;padding:10px 13px;font-size:13px;font-weight:750}.help-toggle[aria-pressed=true]{background:#e1d9ee}.help-toggle:disabled{color:#a493aa;border-color:#d8cbdc;background:transparent}.phrase-tray{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.phrase-button{position:relative;display:flex;flex-direction:column;justify-content:center;border:2px solid #d6c9d5;border-bottom:5px solid #b9a6c3;border-radius:15px;background:#fff8eb;padding:18px 15px 16px 38px;color:#45345c;min-height:108px;text-align:left;transition:transform .12s,background .12s}.phrase-button:hover:not(:disabled){background:#fff;transform:translateY(-2px)}.phrase-button:active:not(:disabled){transform:translateY(3px)}.phrase-button strong{font-size:17px;line-height:1.3;display:block}.phrase-button small{display:block;color:#a37c86;font-size:13px;margin-top:7px;line-height:1.3}.phrase-button kbd{position:absolute;top:13px;left:10px;border:1px solid #d3c6d8;border-radius:5px;padding:1px 5px;color:#9a879e;font-size:12px}.phrase-button:disabled{opacity:.55}.phrasebook{background:#fff7e9;border:1px solid #d9c9df;border-radius:15px;padding:20px;margin-top:15px}.phrasebook h2{font-family:Georgia,serif;font-size:23px;margin-top:0}.phrasebook>div{display:flex;align-items:center;border-top:1px solid #e7dce4;gap:15px;padding:5px}.phrasebook svg{width:55px;height:44px}.phrasebook p{margin:5px 0}.phrasebook strong{display:block;font-size:16px}.phrasebook span{display:block;font-size:14px;color:#8a6e89;margin-top:3px}.restaurant-game footer{display:flex;justify-content:space-between;gap:15px;color:#8b7589;font-size:11px;padding-top:10px}.paused *{animation-play-state:paused!important}@keyframes breathe{50%{transform:translateY(3px)}}@keyframes cloud{to{transform:translateX(-600px)}}@keyframes deliver{from{transform:translate(-120px,-65px) scale(.7);opacity:0}to{transform:translate(0,0) scale(1);opacity:1}}@keyframes wrong{25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}@media(max-width:650px){.restaurant-game{padding:10px 10px 8px}.game-header{gap:10px}.game-header p{font-size:8px;max-width:180px}.game-header h1{font-size:21px}.village-link{font-size:11px;max-width:60px;line-height:1.2}.pause-button{padding:9px;font-size:12px}.brand{font-size:30px}.visit-bar{padding:9px 12px;gap:10px;font-size:12px}.visit-bar>strong{font-size:11px;max-width:125px;line-height:1.3}.visit-bar b{font-size:18px}.progress-dots{gap:4px}.progress-dots i{width:7px;height:7px}.restaurant{height:clamp(330px,47dvh,440px)}.window{inset:0 3%;border-width:10px}.shop-sign{font-size:11px;padding:7px 16px}.server-area{left:2%;top:65px;width:59%;bottom:60px}.speech{padding:9px 9px 10px;min-width:0;width:100%;border-width:2px;border-radius:16px}.speech p{font-size:18px;margin:6px 0}.speech small{font-size:11px}.server-name{font-size:8px;letter-spacing:.06em}.server{transform:scale(.8);transform-origin:top;height:130px}.your-wish{right:4%;top:28%;width:31%;padding:9px 7px 11px;border-width:2px}.your-wish>span{font-size:8px}.your-wish svg{width:75px;height:60px}.your-wish>strong{font-size:18px}.your-wish>small{font-size:10px}.table{min-height:83px}.placemat{left:23%;right:23%;gap:13px}.plate{width:110px;height:58px;flex-shrink:0}.delivered-food{width:90px;height:72px;left:10px}.fork{font-size:34px}.knife{height:38px}.table-label{display:none}.vase{right:9%;font-size:31px;top:-6px}.play-card{width:250px;padding:20px}.play-card h2{font-size:26px}.choice-heading{gap:8px;padding:10px 1px}.choice-heading>div>strong{font-size:9px}.choice-heading p{font-size:12px;line-height:1.3}.help-toggle{padding:9px;font-size:11px}.phrase-tray{gap:7px}.phrase-button{padding:28px 9px 12px;min-height:122px;justify-content:flex-start}.phrase-button strong{font-size:15px;line-height:1.25}.phrase-button small{font-size:11px}.phrase-button kbd{font-size:10px;top:7px;left:8px;padding:1px 4px}.restaurant-game footer{font-size:9px}.restaurant-game footer span:last-child{display:none}.phrasebook strong{font-size:14px}.phrasebook span{font-size:12px}}@media(max-height:700px) and (min-width:651px){.restaurant{height:330px}.server-area{top:65px;bottom:60px}.speech p{font-size:18px}.speech{padding:8px 15px 10px}.server{height:130px}.your-wish{top:24%}.your-wish svg{width:85px;height:68px}.your-wish>strong{font-size:20px}.restaurant-game{padding-top:8px}.game-header{padding-bottom:8px}.phrase-button{min-height:88px}.choice-heading{padding:9px 3px}.play-card{padding:18px 23px}.play-card h2{font-size:26px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
