/* The cafe uses the existing 3D character renderer with a bounded shop surface. */
html.venue-layout .game .world .cafe-shop{background:#fcf5e9!important;border:1px solid #dccbad!important;border-radius:22px!important;color:#513c2c;box-shadow:0 10px 35px #45331d22}
.cafe-shop *{box-sizing:border-box}.cafe-shop .cafe-heading{justify-content:space-between;background:#fcf5e9!important;gap:12px}.cafe-heading small{color:#936c4b;letter-spacing:.12em;font-size:10px;font-weight:800}.cafe-heading h2{margin:5px 0!important;font-size:24px!important;color:#593c2d}.cafe-shop-stats{display:flex;flex-wrap:wrap;gap:8px}.cafe-shop-stats span{display:flex;flex-direction:column;padding:8px 12px;background:#f2e8d7;border-radius:12px;font-size:11px}.cafe-shop-stats b{font-size:15px;color:#75503b}.cafe-shop-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(300px,1fr);gap:16px;align-items:stretch}.cafe-room{position:relative;height:390px;min-width:0;border-radius:18px;overflow:hidden;background:#e7d2b3;border:1px solid #dcc5a0;isolation:isolate}.cafe-room-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.85}.cafe-room-sign{position:absolute;left:18px;top:14px;background:#fff9ebed;border:1px solid #dec9a4;padding:9px 13px;border-radius:10px;z-index:2;box-shadow:0 3px 0 #a9886633}.cafe-room-sign small{display:block;font-size:9px;letter-spacing:.1em}.cafe-room-sign strong{display:block;font-size:17px;color:#79533d;margin-top:3px}.cafe-barista{position:absolute;left:70%;top:16%;width:88px;height:150px;z-index:3;text-align:center}.cafe-barista>span:last-child{display:block;white-space:nowrap;font-size:11px;background:#fff8e9;border-radius:8px;padding:4px}.cafe-character{position:relative;display:block;width:82px;height:115px;margin:0 auto}.cafe-character>img{width:100%;height:100%;object-fit:contain}.cafe-room-counter{position:absolute;left:61%;top:49%;width:35%;height:60px;border-radius:8px;background:linear-gradient(#bd8f65 0 14px,#82583e 14px 100%);border:2px solid #734c35;box-shadow:0 8px 0 #55392733;z-index:5;display:flex;align-items:center;justify-content:center;gap:6px}.cafe-room-counter>span:first-child{position:absolute;bottom:7px;color:#ffebd0;font-size:8px;letter-spacing:.1em}.cafe-room-counter .cafe-cup{margin-top:-45px}.cafe-seat{position:absolute!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:end!important;width:105px;height:150px;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;overflow:visible!important;z-index:6;touch-action:manipulation}.cafe-seat .cafe-character{height:105px;width:75px}.cafe-seat-name{padding:3px 9px;border-radius:8px;background:#fffaf1;box-shadow:0 2px 5px #4e332c33;font-size:11px;white-space:nowrap}.cafe-seat.selected .cafe-seat-name{background:#6c8960;color:#fff}.seat-0{left:9%;top:43%}.seat-1{left:32%;top:32%}.seat-2{left:47%;top:57%}.cafe-order-bubble{position:absolute;top:-27px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:#fffdf5;border:1px solid #d6ba8e;box-shadow:0 3px 8px #68472922;padding:6px 9px;border-radius:12px;white-space:nowrap}.cafe-order-bubble b{font-size:10px}.cafe-order-bubble:after{content:'';position:absolute;bottom:-5px;left:45%;width:8px;height:8px;transform:rotate(45deg);background:#fffdf5;border-right:1px solid #d6ba8e;border-bottom:1px solid #d6ba8e}.cafe-room-floor-label{position:absolute;bottom:10px;left:12px;z-index:7;background:#fff8eadb;padding:5px 10px;border-radius:8px;font-size:10px}.cafe-workstation{padding:18px;border-radius:18px;background:#fffdf7;border:1px solid #e3d4ba;min-width:0}.cafe-work-title{display:flex;gap:16px;align-items:center;min-height:80px}.cafe-work-title small{font-size:10px;letter-spacing:.06em;color:#a07b57}.cafe-work-title h3{font-size:20px;margin:5px 0!important}.cafe-work-title p{font-size:12px!important;margin:6px 0!important;color:#866646}.cafe-cup{position:relative;flex:0 0 50px;display:inline-block;width:50px;height:68px;vertical-align:middle;filter:drop-shadow(0 3px 2px #4e332b22)}.cafe-liquid{position:absolute;left:4px;right:4px;top:14px;bottom:0;background:linear-gradient(100deg,#ffffff77,var(--drink));border:2px solid #7d604a;border-top:0;border-radius:3px 3px 12px 12px;clip-path:polygon(0 0,100% 0,86% 100%,14% 100%)}.cafe-lid{position:absolute;left:0;right:0;height:9px;top:10px;background:#fcf3de;border:2px solid #7d604a;border-radius:5px;z-index:2}.cafe-straw{position:absolute;left:31px;top:0;width:5px;height:30px;border:1px solid #8d6b50;background:#fff5e0;transform:rotate(7deg);z-index:1;border-radius:2px}.cafe-cup-label{position:absolute;top:30px;left:16px;font-size:9px;font-style:normal;font-weight:800;color:#865e40;background:#fff2d9;width:20px;height:20px;border-radius:50%;display:grid;place-items:center}.cafe-cup.small{width:27px;height:36px;flex-basis:27px}.cafe-cup.small .cafe-liquid{left:2px;right:2px;top:9px;border-width:1px;border-radius:2px 2px 6px 6px}.cafe-cup.small .cafe-lid{top:6px;height:6px;border-width:1px}.cafe-cup.small .cafe-straw{left:16px;width:3px;height:17px}.cafe-cup.small .cafe-cup-label{width:12px;height:12px;top:17px;left:8px;font-size:6px}.cafe-steps{list-style:none;display:flex;gap:7px;padding:0;margin:18px 0!important}.cafe-steps li{flex:1;font-size:10px;line-height:1.4;color:#967e68;background:#f3ede3;padding:8px;border-radius:9px}.cafe-steps li span{display:block;width:21px;height:21px;border-radius:50%;background:#dfd3bf;color:#7e644a;text-align:center;line-height:21px;font-weight:bold;margin-bottom:5px}.cafe-steps .current{background:#f1e0bb;color:#694d2f}.cafe-steps .current span{background:#b0824b;color:#fff}.cafe-steps .done{background:#e8efe0;color:#517349}.cafe-steps .done span{background:#738f60;color:#fff}.cafe-ingredients{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cafe-ingredients>span{display:flex;flex-wrap:wrap;gap:4px 9px;font-size:12px;padding:8px 10px;background:#f7f1e7;border-radius:9px}.cafe-ingredients b{margin-left:auto}.cafe-ingredients small{width:100%;font-size:10px;color:#967b62}.cafe-shop .cafe-hint{font-size:12px;line-height:1.6;color:#947456;margin:12px 0}.cafe-main-action{width:100%;min-height:46px!important;margin-top:10px;border-radius:12px!important;background:#789362!important;color:#fff!important;font-size:14px!important}.cafe-main-action:disabled{background:#d2c8b6!important;color:#776b57!important;opacity:1!important}.cafe-machines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cafe-machines button{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:#f1e6d5;border:1px solid #dac6a6;color:#755139;font-size:12px;min-height:56px}.cafe-machines span{font-size:25px;color:#9a744e}.cafe-customize{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cafe-customize fieldset{margin:0;padding:9px;border:1px solid #e0d2ba;border-radius:10px;min-width:0;display:flex;gap:4px}.cafe-customize legend{font-size:12px;padding:0 4px}.cafe-customize button{flex:1;min-width:0;font-size:11px;padding:7px 3px;border-radius:7px;background:#f3ece0;border:1px solid #ddccb0;color:#745639}.cafe-shop button.active{background:#718a5d!important;color:#fff!important}.cafe-finished{text-align:center;padding:4px 0}.cafe-finished>.cafe-cup{display:none}.cafe-finished strong{display:block;color:#6b874e}.cafe-finished p{font-size:12px!important;color:#896749}.cafe-tabs{display:flex;gap:8px;margin:18px 0 12px}.cafe-tabs button{padding:10px 14px;border-radius:12px;border:1px solid #d8c5a6;background:#efe4d0;color:#7f6047;font-size:12px}.cafe-tickets{display:flex;gap:10px;overflow-x:auto;padding:3px 2px 10px;scroll-snap-type:x proximity}.cafe-ticket{display:flex!important;align-items:center!important;gap:12px;flex:0 0 188px;min-height:86px;padding:12px;background:#fffdf6!important;border:1px solid #ddccb0!important;box-shadow:none!important;border-radius:13px!important;text-align:left!important;scroll-snap-align:start}.cafe-ticket.selected{border:2px solid #75905f!important;background:#f0f3e8!important}.cafe-ticket.active-order{border-color:#c4a068!important}.cafe-ticket span:last-child{display:flex;flex-direction:column;gap:4px}.cafe-ticket b{font-size:12px}.cafe-ticket small{font-size:10px;color:#84674b}.cafe-ticket strong{font-size:10px;color:#7e975f}.cafe-ticket i{font-style:normal}.cafe-supply-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.cafe-supply-links button,.cafe-upgrade{padding:9px 12px;border:1px solid #dac8a9;border-radius:10px;background:#f1e7d5;color:#826042;font-size:11px;min-height:40px}.cafe-equipment{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.cafe-equipment article{padding:16px;border:1px solid #dfd0b5;border-radius:14px;background:#fffdf7}.cafe-equipment small{font-size:9px;letter-spacing:.08em;color:#b08e67}.cafe-equipment h3{font-size:15px;margin:6px 0}.cafe-equipment b{font-size:12px;color:#81965f}.cafe-equipment p{font-size:12px!important;line-height:1.5;min-height:36px}.cafe-equipment button{width:100%;font-size:11px;padding:9px;border-radius:8px}.cafe-upgrade{margin-top:10px}.cafe-shop .cafe-footnote{font-size:10px!important;color:#aa9173;margin:10px 0 0}
@media(max-width:850px){.cafe-shop-layout{grid-template-columns:minmax(0,1fr) minmax(270px,1fr)}.cafe-room{height:360px}.cafe-heading h2{font-size:20px!important}.cafe-shop-stats span:last-child{display:none}.cafe-barista{left:66%}.cafe-seat{width:85px}.seat-0{left:3%}.seat-1{left:26%}.seat-2{left:42%}}
@media(max-width:650px){html.venue-layout .game .world .cafe-shop{border-radius:16px!important;padding:10px!important}.cafe-shop .cafe-heading{top:-10px;padding:8px 0}.cafe-heading h2{font-size:18px!important}.cafe-heading>div:first-child>small{font-size:8px}.cafe-shop-stats{gap:5px}.cafe-shop-stats span{padding:5px 7px;font-size:9px}.cafe-shop-stats b{font-size:12px}.cafe-shop-layout{grid-template-columns:1fr;gap:10px}.cafe-room{height:220px}.cafe-room-sign{left:10px;top:8px;padding:6px 9px}.cafe-room-sign strong{font-size:13px}.cafe-room-sign small{font-size:7px}.cafe-barista{top:13%;left:72%;width:62px;height:105px}.cafe-barista .cafe-character{width:58px;height:83px}.cafe-barista>span:last-child{font-size:8px;padding:2px}.cafe-room-counter{left:64%;top:56%;width:33%;height:42px}.cafe-room-counter>span:first-child{font-size:6px;bottom:4px}.cafe-room-counter .cafe-cup{margin-top:-34px}.cafe-seat{width:68px;height:105px}.cafe-seat .cafe-character{height:75px;width:54px}.cafe-seat-name{font-size:9px;padding:2px 6px}.seat-0{left:6%;top:43%}.seat-1{left:28%;top:33%}.seat-2{left:46%;top:48%}.cafe-order-bubble{top:-16px;padding:3px 5px;gap:4px;border-radius:9px}.cafe-order-bubble b{font-size:8px}.cafe-order-bubble .cafe-cup{width:21px;height:29px;flex-basis:21px}.cafe-room-floor-label{font-size:8px;bottom:6px;left:8px}.cafe-workstation{padding:12px}.cafe-work-title{min-height:62px;gap:12px}.cafe-work-title h3{font-size:17px!important}.cafe-work-title p{font-size:11px!important}.cafe-work-title>.cafe-cup{transform:scale(.85);margin-inline:-3px}.cafe-steps{margin:10px 0!important;gap:5px}.cafe-steps li{padding:7px;font-size:9px}.cafe-steps li span{width:18px;height:18px;line-height:18px}.cafe-equipment{grid-template-columns:1fr}.cafe-equipment p{min-height:0}.cafe-ticket{flex-basis:166px}.cafe-customize{gap:6px}.cafe-customize fieldset{padding:7px 5px}.cafe-main-action{min-height:44px!important}}
@media(max-height:600px) and (min-width:651px){.cafe-room{height:300px}.cafe-shop .cafe-heading{padding:6px 0}.cafe-workstation{padding:12px}}

.cafe-workstation{scroll-margin-top:85px}
