/* Scoped additions: café art, characters and station controls retain their original styling. */
.live-queue-pair{display:flex;gap:28px;align-items:center}.live-queue-pair span{font-weight:700;font-size:15px}.live-queue-pair b{display:inline-block;margin-left:9px;font-size:24px;color:#17673d}.queue-dashboard #mission-progress,.queue-dashboard #flow-counts{display:none!important}#popup-queue-metrics{position:absolute;left:12px;bottom:12px;background:#fff4dd;border:2px solid #704b32;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:700;color:#573321}.ticket-match{box-shadow:0 0 0 3px #37a653!important}.ticket-match:after{content:'✓ Ticket';display:block;color:#147337;font-size:10px}.upgraded-guide .target-mark{box-shadow:0 -5px 0 #46c96855,0 5px 0 #46c96855;background:#b8f0b980}#tutorial-result-card{position:fixed;z-index:1300;padding:15px;box-sizing:border-box;background:#fff5dc;border:3px solid #bf813e;border-radius:15px;box-shadow:0 5px 18px #0003;color:#553520}#tutorial-result-card h3{font-size:20px;margin:0 0 8px}#tutorial-result-card p{font-size:13px;line-height:1.5}#tutorial-result-card .big-btn{font-size:14px;padding:9px 14px}#tutorial-coach{box-sizing:border-box;transition:top .15s,left .15s}.oven-slots{grid-auto-flow:column;grid-auto-columns:1fr}.power-screen{min-height:100dvh;background:#d3ae87;display:grid;place-items:center;padding:20px;box-sizing:border-box;color:#4f301e}.power-tablet{width:min(1280px,100%);height:min(900px,calc(100dvh - 40px));min-height:600px;background:#f9e5c6;border:25px solid #211b19;border-radius:35px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);grid-template-rows:minmax(0,1fr) 68px;box-shadow:0 12px 0 #aa835f}.power-catalog{padding:18px 25px 12px;display:flex;flex-direction:column;min-height:0}.power-catalog header{text-align:center;position:relative;padding-bottom:12px}.power-catalog header small{letter-spacing:1.3px;font-size:10px;font-weight:800;color:#936c48}.power-catalog h1{font-family:Georgia,serif;font-size:48px;margin:5px 0;color:#53301b}.shop-wallet{display:inline-block;background:#fff4dc;border:1px solid #d6b589;border-radius:20px;font-size:13px;padding:5px 14px}.shop-wallet b{font-size:18px;color:#17663e}.power-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;flex:1;min-height:0}.power-tile{border:0;background:none;padding:4px;color:#50321e;cursor:pointer;display:flex;flex-direction:column;align-items:center;min-height:0;font-family:inherit}.power-tile>div{width:min(115px,90%);flex:1;min-height:40px;max-height:130px;aspect-ratio:1;background:#f8e3c1;border:3px solid #a57542;border-radius:8px;display:grid;place-items:center;transition:background .15s,transform .15s}.power-tile svg{width:77%;height:80%}.power-tile b{font-size:13px;line-height:1.15;max-width:155px;margin-top:6px}.power-tile small{font-size:12px;color:#7b603e;margin-top:3px}.power-tile:hover>div{transform:translateY(-3px);background:#fff4dc}.power-tile.selected>div{background:#fff4cf;border-color:#27a14c;box-shadow:0 0 0 3px #f2bf4c}.power-detail{margin:15px 0;border-left:2px solid #a87943;padding:12px 22px;overflow:auto;display:flex;flex-direction:column;gap:9px}.power-detail h2{font-size:26px;text-align:center;line-height:1.15;margin:0 0 8px}.power-detail p{font-size:15px;line-height:1.45;margin:5px 0}.power-detail dl{margin:0;font-size:14px}.power-detail dt{font-weight:800;color:#327149;margin-top:8px}.power-detail dt:nth-of-type(2){color:#995029}.power-detail dd{margin:3px 0 10px;line-height:1.4}.power-detail>small{font-size:11px;text-align:center;line-height:1.4}.power-demo{height:170px;min-height:110px;border:2px solid #966d42;border-radius:5px;background:#ffefd2;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.power-demo>svg{width:95px;height:105px;animation:demoFloat 3s ease-in-out infinite}.power-demo>span{position:absolute;bottom:8px;left:4px;right:4px;text-align:center;font-size:13px;font-weight:800;color:#3e6945}.demo-motion{position:absolute;right:15%;top:25%;display:flex;gap:4px}.demo-motion i{width:6px;height:6px;background:#d59c43;border-radius:50%;animation:demoDots 1.5s infinite}.demo-motion i:nth-child(2){animation-delay:.2s}.demo-motion i:nth-child(3){animation-delay:.4s}@keyframes demoFloat{50%{transform:translateY(-5px)}}@keyframes demoDots{50%{opacity:.25;transform:translateY(15px)}}.buy-power{margin-top:auto;min-height:43px;font-size:16px!important;padding:8px!important}.buy-power:disabled{opacity:.55;cursor:default}.power-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 18px;border-top:1px solid #caa77b}.power-footer p{font-size:13px;text-align:center}.power-footer .big-btn{font-size:15px;padding:10px 16px}.shift-report{max-width:1060px;margin:25px auto;background:#fff0d7;border:5px solid #8e5c36;border-radius:22px;padding:28px;color:#4b2e1b;box-sizing:border-box}.shift-report h1{font-size:32px;margin:8px 0}.shift-report h2{font-size:24px}.shift-report>small{color:#856749;letter-spacing:1px;font-weight:bold}.shift-report p{font-size:14px;line-height:1.5}.bottleneck{background:#f4dba8;border-radius:9px;padding:15px}.report-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.report-cards>div{display:flex;flex-direction:column;padding:12px;background:#f5dfba;border-radius:10px;text-align:center}.report-cards b{font-size:26px}.report-cards span{font-size:12px}.shift-report table{width:100%;border-collapse:collapse;font-size:13px}.shift-report th,.shift-report td{padding:10px;border-bottom:1px solid #d7b992;text-align:left}.shift-report th{background:#edd2a9}.improved{color:#14723e;font-weight:bold}.worse{color:#a83e29;font-weight:bold}.report-actions{display:flex;gap:12px;margin-top:20px}.report-actions .big-btn{font-size:17px;padding:12px 20px}
@media(max-height:780px) and (min-width:801px){.power-tablet{min-height:0;border-width:18px}.power-catalog{padding:10px 20px}.power-catalog h1{font-size:35px}.power-catalog header{padding-bottom:8px}.power-grid{gap:7px}.power-tile b{font-size:11px}.power-tile small{font-size:10px}.power-tile>div{max-height:90px}.power-detail{padding:6px 18px;gap:5px}.power-detail h2{font-size:21px}.power-detail p,.power-detail dl{font-size:12px}.power-demo{height:135px}.power-detail dd{margin-bottom:5px}}
@media(max-width:800px){.live-queue-pair{gap:10px}.live-queue-pair span{font-size:10px}.live-queue-pair b{font-size:16px;margin-left:3px}#popup-queue-metrics{left:5px;bottom:3px;font-size:10px;padding:4px}.power-screen{padding:8px;align-items:start}.power-tablet{height:auto;min-height:calc(100dvh - 16px);grid-template-columns:1fr;grid-template-rows:auto auto auto;border-width:10px;border-radius:23px}.power-catalog{padding:12px}.power-catalog h1{font-size:36px}.power-grid{gap:8px;grid-template-rows:repeat(3,130px)}.power-tile>div{max-height:78px;min-height:60px;width:78px}.power-tile b{font-size:11px}.power-tile small{font-size:10px}.power-detail{margin:0 12px;padding:15px 4px;border-left:0;border-top:2px solid #a87943;overflow:visible}.power-detail h2{font-size:22px}.power-demo{height:130px}.power-footer{padding:12px 8px;gap:6px}.power-footer p{display:none}.power-footer .big-btn{font-size:12px;padding:9px}.shift-report{margin:10px;padding:14px}.shift-report h1{font-size:24px}.report-cards{grid-template-columns:repeat(2,1fr)}.shift-report th,.shift-report td{padding:6px 3px;font-size:10px}.report-actions .big-btn{font-size:13px;padding:10px}.report-actions{flex-wrap:wrap}#tutorial-result-card{max-width:270px}}
@media(prefers-reduced-motion:reduce){.power-demo svg,.demo-motion i{animation:none}}
.demo-cup{width:37px;height:53px;border:3px solid #825a3b;border-top-width:5px;border-radius:2px 2px 8px 8px;position:absolute;right:25%;bottom:35px;overflow:hidden}.demo-cup i{position:absolute;left:0;right:0;bottom:0;background:#cb883d;animation:demoFill 3s linear infinite}.demo-milk .demo-cup i{background:#f7ead0}.demo-coffee .demo-cup i{background:#7b4828}.demo-syrup>svg,.demo-milk>svg,.demo-coffee>svg{transform:translate(-35px,-12px);animation:none}.demo-stream{height:30px;width:4px;background:#d6a86a;position:absolute;right:30%;top:40%;animation:demoPour 3s infinite}.demo-slots{display:flex;gap:3px;position:absolute;bottom:39px;right:9%}.demo-slots i{background:#edb253;border:2px solid #765039;font-style:normal;padding:5px}.demo-slots i:last-child{animation:demoPour 2s infinite}.demo-clock{position:absolute;right:8%;font-size:18px;background:#363b3c;color:#ffba48;padding:8px;border-radius:5px}.demo-clock span{display:block;color:#b1e27f;font-size:10px}.demo-second{width:70px;height:80px;position:absolute;right:14%;top:27%;animation:demoFloat 3s infinite}.demo-second svg{width:100%;height:100%}.demo-helper>svg{margin-right:60px}.demo-match,.demo-path{position:absolute;bottom:32px;font-size:11px;color:#246c3e;background:#e2f0c8;padding:4px;border-radius:5px}@keyframes demoFill{0%{height:0}80%,100%{height:70%}}@keyframes demoPour{0%,80%{opacity:1}85%,100%{opacity:0}}@media(prefers-reduced-motion:reduce){.demo-cup i{animation:none;height:70%}.demo-stream,.demo-second,.demo-slots i:last-child{animation:none}}
