@charset "UTF-8";
:root{--cream:#fff0d3;--paper:#fff6e3;--green:#3d6244;--ink:#533921;--round:"Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,sans-serif}
*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--cream);font:14px var(--round);background:#233727;-webkit-font-smoothing:antialiased}.scene-art{position:fixed;inset:0;z-index:-2;background:url(assets/cafe-background.webp) center/cover no-repeat}.scene-shade{position:fixed;inset:0;z-index:-1;background:linear-gradient(90deg,#15281d75,#14281935 45%,#0c20105c),linear-gradient(0deg,#152817c9,transparent 70%)}button,a,canvas{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.48}button:focus-visible,a:focus-visible,canvas:focus-visible{outline:3px solid #ffda85;outline-offset:3px}a{color:inherit;text-underline-offset:4px}canvas{display:block}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}[hidden]{display:none!important}
.site-header{max-width:1110px;margin:auto;display:flex;justify-content:space-between;padding:14px 24px 0;font-size:10px;color:#fff1ccbf;text-shadow:0 2px 3px #203020}.site-header a{text-decoration:none;padding:6px 0}.cafe-app{max-width:1030px;margin:auto;padding:0 25px 20px}.game-heading{display:flex;justify-content:center;position:relative;text-align:center;margin:13px 0 16px;min-height:100px;align-items:center}.logo{text-shadow:0 2px 0 #24432d,0 4px 12px #091c0f}.logo p{font-size:8px;letter-spacing:.22em;color:#f7d493;margin:0 0 5px;font-weight:700}.logo h1{font-size:42px;font-weight:800;letter-spacing:.055em;line-height:1.35;color:#fff0d0;margin:0}.logo h1>span{color:#f7d69b}.logo small{display:block;margin-top:6px;font-size:10px;color:#ead5ad}.help-button{position:absolute;right:13px;top:24px;width:38px;height:38px;background:#274531d9;border:1px solid #c5b7788c;border-radius:50%;color:#f4deae;font-weight:700;font-size:17px}
.play-layout{display:grid;grid-template-columns:minmax(0,430px) 285px;gap:26px;justify-content:center;align-items:start}.counter{min-width:0}.stage-board{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:70px;margin:0 10px 5px;padding:11px 16px;background:linear-gradient(180deg,#36553cf2,#213e2ff5);border:1px solid #ccad6773;border-radius:13px;box-shadow:0 4px 0 #172e2477,inset 0 1px 0 #ead2a630}.stage-title>span{display:block;font-size:8px;letter-spacing:.12em;color:#d7c58f}.stage-title>strong{display:block;font-size:15px;margin-top:6px;color:#fff1cf}.stage-stats{display:flex;gap:15px;align-items:center}.stage-stats>span{font-size:9px;color:#d8c598;display:flex;flex-direction:column;white-space:nowrap}.stage-stats strong{font-size:23px;color:#ffe9b3;font-variant-numeric:tabular-nums;margin-top:2px}.table-wrap{position:relative}.table-wrap>canvas{width:100%;height:auto;aspect-ratio:4/5;touch-action:none;outline-offset:-5px;cursor:grab}.table-wrap>canvas:active{cursor:grabbing}
.intro-curtain{position:absolute;inset:8% 7%;background:linear-gradient(180deg,#fff6e5f2,#f9ddb2f7);color:var(--ink);border:2px solid #dab175;border-radius:27px;box-shadow:0 10px 25px #34241755,inset 0 0 0 5px #fff5df77;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;z-index:4}.welcome{font-size:10px;color:#99724b;margin:0 0 11px}.hero-desserts{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 8px;height:78px}.hero-desserts canvas{width:77px;height:77px;filter:drop-shadow(0 4px 2px #99773622)}.hero-desserts canvas:first-child{transform:rotate(-11deg)}.hero-desserts canvas:last-child{transform:rotate(7deg)}.hero-desserts>span{font-size:33px;color:#ad8450}.intro-curtain h2{font-size:23px;line-height:1.6;margin:0 0 12px;color:#574129}.intro-curtain>p:not(.welcome){font-size:11px;line-height:1.85;margin:0 0 18px;color:#8e6c48}.intro-curtain>small{font-size:9px;color:#a3875f;margin-top:16px}.primary-button{background:linear-gradient(180deg,#577d4f,#315736);color:#fff2cf;border:1px solid #25492f;border-radius:12px;font-size:13px;font-weight:800;padding:12px 22px;min-height:45px;box-shadow:0 4px 0 #23422c,inset 0 1px 0 #a1b88c66;transition:transform .15s,filter .15s}.primary-button:hover:not(:disabled){filter:brightness(1.1);transform:translateY(-1px)}.primary-button:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px 0 #23422c}.intro-curtain .primary-button{min-width:183px}.load-meter{width:160px;height:4px;background:#e1ca9c;margin:14px 0 0;border-radius:5px;overflow:hidden}.load-meter span{display:block;width:0;height:100%;background:#608350;transition:width .3s}
.game-instructions{font-size:11px;color:#f5e2bddb;line-height:1.7;text-align:center;text-shadow:0 1px 3px #142714;margin:4px 0 11px;min-height:19px}.counter-controls{display:flex;justify-content:center;gap:8px;margin:0 10px}.tool-button{background:#314e37f2;border:1px solid #b5ab7677;color:#f0ddb2;font-size:11px;border-radius:9px;min-height:41px;padding:9px 12px;box-shadow:0 3px 0 #1f3628aa;flex:1;white-space:nowrap}.tool-button:not(:disabled):hover{background:#44634aed}.celebration{position:absolute;top:39%;left:10%;right:10%;z-index:3;text-align:center;background:linear-gradient(180deg,#ffedbbee,#eacc8cf2);border:2px solid #e9c879;border-radius:16px;color:#785226;padding:15px 12px;box-shadow:0 8px 18px #57371c77;transform:rotate(-3deg);pointer-events:none;animation:pop-in .3s ease}.celebration span{display:block;font-size:8px;font-weight:800;letter-spacing:.14em;color:#ac7c3e}.celebration strong{display:block;font-size:17px;margin-top:7px}
.shop-sidebar{padding-top:0;min-width:0}.host-card{position:relative;height:235px;display:flex;align-items:center;margin:0 0 7px}.cat-sprite{width:116px;height:232px;background:url(assets/cat-atlas.webp) 0% 0%/300% 100% no-repeat;filter:drop-shadow(0 6px 8px #1b261a66);flex-shrink:0;animation:cat-breathe 3s ease-in-out infinite;transform-origin:50% 95%}.cat-sprite.is-cheer{background-position:50% 0%;animation:cat-cheer .52s ease-in-out 2}.cat-sprite.is-worry{background-position:100% 0%}.speech{position:relative;margin:-29px 0 0 -3px;max-width:165px;background:linear-gradient(180deg,#fff4d9,#f2d9ac);color:#654a2e;border:1px solid #b89966;border-radius:17px;padding:13px;box-shadow:0 4px 12px #1f301b44;transform:rotate(2deg)}.speech>span{font-size:8px;color:#9a7745;font-weight:700}.speech p{font-size:11px;line-height:1.8;margin:7px 0 0}.speech i{position:absolute;left:-7px;top:35%;width:11px;height:11px;transform:rotate(45deg);background:#fae9c7;border-left:1px solid #b89966;border-bottom:1px solid #b89966}.order-card{position:relative;background:#fcf0d9f0;color:#775535;border:1px solid #ba985b;border-radius:6px;margin:0;padding:16px 17px 12px;box-shadow:0 5px 10px #1e2c1c44;transform:rotate(1deg)}.order-card:before{content:'';position:absolute;width:53px;height:17px;top:-10px;left:41%;background:#e8cfa69c;transform:rotate(-7deg)}.ticket-label{font-size:9px;font-weight:700;letter-spacing:.04em;color:#987146;margin:0 0 12px;border-bottom:1px dashed #c5ab7e;padding-bottom:9px}.order-card>strong{font-size:12px;line-height:1.85}.par{font-size:9px;color:#a48657;margin:10px 0}.passengers{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}.passenger{display:flex;flex-direction:column;align-items:center;font-size:8px;color:#a98753;position:relative;min-width:45px}.passenger canvas{width:44px;height:44px}.passenger b{position:absolute;top:0;left:-2px;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;background:#52724d;color:#fff5d7;font-size:9px}.catalog-button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:20px;padding:12px 14px;min-height:44px;border:1px solid #d1b77677;border-radius:10px;background:#294831ed;color:#e4cf9c;box-shadow:0 3px 6px #172b1977;font-size:11px}.catalog-button strong{font-size:10px;color:#c6b178;margin-left:auto}.shop-note{text-align:center;font-size:10px;line-height:1.9;color:#e5cf9cc7;margin:17px 0 0;text-shadow:0 1px 3px #132513}.game-footer{display:flex;justify-content:center;gap:22px;margin:24px 0 0;font-size:9px;color:#ead6a4b8;align-items:center}.game-footer a{text-decoration:none}.footer-button{font-size:9px;border:0;background:transparent;color:inherit;padding:10px 0}#mobile-host-slot{display:none}
 dialog{background:linear-gradient(180deg,#fff7e4,#f7e3bc);border:2px solid #b8955c;border-radius:23px;color:#785a37;width:min(430px,calc(100vw - 30px));padding:30px 26px;box-shadow:0 15px 50px #09221177;max-height:calc(100svh - 30px);overflow:auto}dialog::backdrop{background:#142516ad;backdrop-filter:blur(5px)}dialog h2{font-size:24px;line-height:1.6;color:#654626;margin:0 0 16px}dialog p,dialog li{font-size:12px;line-height:1.85}dialog ol{padding-left:19px;margin:0 0 17px}dialog li{margin-bottom:10px}.dialog-close{position:absolute;right:11px;top:9px;width:41px;height:41px;border:0;background:transparent;color:#aa8652;font-size:26px}.dialog-eyebrow{font-size:8px!important;font-weight:700;letter-spacing:.13em;color:#aa814b;margin:0 0 9px}.text-button{border:0;background:transparent;color:#9b743e;font-size:11px;min-height:39px;padding:9px 0;text-decoration:underline;text-underline-offset:4px}.dialog-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:20px}.result-cat{float:right;width:66px;height:124px;background:url(assets/cat-atlas.webp) 50% 0%/300% 100% no-repeat;filter:drop-shadow(0 3px 3px #94733022);margin:-10px -5px 0 9px}.result-stars{color:#bb913f;font-size:40px;letter-spacing:.1em;margin:8px 0 14px}.result-stars .empty{color:#d9c59d}.tables-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.table-choice{text-align:left;padding:13px 12px;background:#fff2d2;border:1px solid #d3b887;border-radius:12px;color:#775535;min-height:87px}.table-choice>span{font-size:9px;letter-spacing:.08em;color:#a38656}.table-choice strong{display:block;font-size:11px;margin:6px 0}.table-choice em{font-size:11px;color:#ba9142;letter-spacing:.07em;font-style:normal}.copy-field{width:100%;margin-top:10px;border:1px solid #c6ad78;border-radius:8px;background:#fff9e9;padding:11px;font:11px/1.8 var(--round);color:#80603a;min-height:110px}@keyframes cat-breathe{50%{transform:translateY(-3px) rotate(-1deg)}}@keyframes cat-cheer{0%,100%{transform:translateY(0)}40%{transform:translateY(-8px) rotate(-3deg)}70%{transform:translateY(-3px) rotate(3deg)}}@keyframes pop-in{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
@media(max-width:850px){.play-layout{grid-template-columns:minmax(0,385px) 260px;gap:17px}.cafe-app{padding:0 18px 18px}.cat-sprite{width:106px;height:212px}.host-card{height:215px}.logo h1{font-size:37px}}
@media(max-width:680px){.site-header{padding:8px 16px 0;font-size:8px}.cafe-app{padding:0 10px 12px;max-width:430px}.game-heading{justify-content:flex-start;text-align:left;min-height:89px;margin:6px 9px 5px}.logo p{font-size:6px;letter-spacing:.09em;margin-bottom:4px}.logo h1{font-size:27px;letter-spacing:.025em}.logo small{font-size:8px;margin-top:5px}.help-button{right:0;top:14px;width:30px;height:30px;font-size:13px}.play-layout{display:flex;flex-direction:column;gap:0}.counter{width:100%}.stage-board{min-height:62px;margin:0 9px 5px;padding:9px 12px;gap:7px}.stage-title>span{font-size:8px}.stage-title>strong{font-size:12px;margin-top:4px}.stage-stats{gap:10px}.stage-stats>span{font-size:9px}.stage-stats strong{font-size:18px}.table-wrap{width:min(100%,max(230px,calc((100svh - 278px) * .8)));margin:auto}.game-instructions{font-size:10px;margin:4px 0 9px;min-height:17px}.counter-controls{margin:0 9px;gap:6px}.tool-button{font-size:10px;min-height:40px;padding:8px 5px}.shop-sidebar{width:100%;display:grid;grid-template-columns:1fr;gap:12px;padding:0 9px;margin-top:17px}#desktop-host-slot{display:none}#mobile-host-slot{display:block;position:absolute;right:31px;top:-4px;width:76px;height:94px;pointer-events:none}.host-card{height:94px;display:block;margin:0}.cat-sprite{width:67px;height:92px;background-size:300% 180%;position:absolute;right:0;bottom:0;animation:none;filter:drop-shadow(0 3px 4px #182b1666)}.cat-sprite.is-cheer{animation:cat-cheer .5s ease 2}.speech{position:absolute;right:69px;top:-17px;max-width:162px;min-width:116px;padding:5px 8px;margin:0;z-index:8;opacity:0;transition:opacity .15s;transform:rotate(-2deg)}.host-card.speaking .speech{opacity:1}.speech>span{display:none}.speech p{font-size:8px;line-height:1.7;margin:0}.speech i{left:auto;right:-6px;top:70%;border:0;border-right:1px solid #b89966;border-top:1px solid #b89966}.order-card{transform:none;padding:13px 13px 10px;display:grid;grid-template-columns:1fr auto;gap:0 10px}.ticket-label{grid-column:1/-1;font-size:9px;margin-bottom:8px;padding-bottom:7px}.order-card>strong{font-size:10px}.par{font-size:8px;margin:7px 0;grid-column:1}.passengers{grid-column:2;grid-row:2/4;align-items:center;margin-top:0;gap:5px}.passenger{min-width:34px;font-size:7px}.passenger canvas{width:35px;height:35px}.passenger b{width:14px;height:14px;font-size:8px}.catalog-button{margin:0;min-height:40px;font-size:10px}.shop-note{display:none}.game-footer{gap:13px;margin:14px 0 0;font-size:8px;flex-wrap:wrap}.footer-button{font-size:8px;padding:7px 0}.intro-curtain{padding:12px;border-radius:22px}.welcome{font-size:8px;margin-bottom:9px}.hero-desserts{height:67px;margin-bottom:5px;gap:7px}.hero-desserts canvas{width:64px;height:64px}.intro-curtain h2{font-size:20px;line-height:1.5;margin-bottom:10px}.intro-curtain>p:not(.welcome){font-size:9px;line-height:1.8;margin-bottom:14px}.intro-curtain .primary-button{min-width:156px;min-height:41px;padding:10px 15px;font-size:11px}.intro-curtain>small{font-size:7px;margin-top:12px}.celebration strong{font-size:14px}.celebration span{font-size:7px}dialog{padding:28px 22px}dialog h2{font-size:21px}dialog p,dialog li{font-size:11px}}
@media(max-width:360px){.logo h1{font-size:25px}.logo small{font-size:7px}.game-heading{min-height:82px}.stage-title>strong{font-size:11px}.stage-stats{gap:8px}.stage-stats>span{font-size:8px}.table-wrap{width:min(100%,max(220px,calc((100svh - 273px) * .8)))}.game-instructions{font-size:9px}.tool-button{font-size:9px}.speech{right:62px;max-width:140px;min-width:106px}.cat-sprite{width:62px;height:86px}.intro-curtain h2{font-size:18px}.hero-desserts{height:56px}.hero-desserts canvas{width:55px;height:55px}}
@media(max-height:710px) and (max-width:680px){.intro-curtain .welcome{font-size:7px;margin-bottom:6px}.intro-curtain .hero-desserts{height:50px;margin-bottom:4px}.intro-curtain .hero-desserts canvas{width:50px;height:50px}.intro-curtain h2{font-size:17px;margin-bottom:8px}.intro-curtain>p:not(.welcome){font-size:8px;margin-bottom:10px}.intro-curtain>small{font-size:6px;margin-top:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:680px){.tool-button{font-size:11px}.speech{width:162px}}
@media(max-width:360px){.tool-button{font-size:10px}.speech{width:140px}}
