.operating-ribbon{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;background:#f2eadb;border-bottom:1px solid #cdbd9e;color:#294368;padding:.45rem max(1rem,calc((100vw - 1240px)/2));font-size:.78rem;min-height:2.5rem}.operating-ribbon strong{font-variant-numeric:tabular-nums}.operating-ribbon button{margin-left:auto;border:0;background:transparent;color:#294368;font:inherit;text-decoration:underline;cursor:pointer;min-height:32px}.operating-ribbon .stock-low{color:#9b462c;font-weight:bold}.order-business{background:#f4ecdc;border:1px solid #d1c09e;border-radius:12px;padding:.7rem 1rem;margin:.6rem 0;color:#294368;font-size:.85rem;line-height:1.65}.order-business b{margin-right:1rem}.order-business .actions{margin-top:.45rem}.order-business .btn{font-size:.8rem;min-height:36px;padding:.4rem .8rem}.quick-finish-row{border-top:1px dashed #bca985;padding-top:.65rem;margin-top:.4rem;display:flex;gap:.45rem;flex-wrap:wrap}.quick-finish-row small{flex-basis:100%;font-size:.73rem;color:#6c665b}.daily-ledger{padding:1.1rem;border:1px solid #b9c6b7;background:#edf0e7;border-radius:16px;color:#294368;margin:1rem 0;text-align:left}.daily-ledger h3{margin:0 0 .75rem}.daily-ledger .ledger-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:.7rem}.ledger-numbers small{display:block;font-size:.75rem;color:#636961}.ledger-numbers b{font-size:1.15rem}.daily-ledger p{font-size:.82rem;margin:.7rem 0 0}.business-day-plans{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.business-day-plans article{background:#f4ecdc;border:1px solid #cdbd9e;border-radius:14px;padding:1rem}.business-day-plans h4{margin:0 0 .5rem}.business-day-plans p{font-size:.83rem;line-height:1.65}.shop-operations{position:relative;padding:1rem;max-width:1140px;margin:0 auto;width:100%;background:#f5eee0;border-top:1px solid #d1c09e;display:flex;gap:1rem;align-items:center;color:#294368;justify-content:space-between}.shop-operations p{font-size:.8rem;margin:.3rem 0 0}.shop-operations .btn{flex:none}.rhythm-game{padding:1rem;max-width:1240px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);gap:1rem;align-items:center}.rhythm-table-frame{margin:0;align-self:start;background:#19376a;border-radius:20px;overflow:hidden}.rhythm-table-frame img{display:block;width:100%;height:auto}.rhythm-table-frame figcaption{color:#f4e9d6;padding:1rem;line-height:1.8;font-size:.9rem}.rhythm-console{background:#f5eedf;border:1px solid #cab991;border-radius:20px;padding:1rem;color:#19376a}.rhythm-title{display:flex;justify-content:space-between;gap:.5rem;font-size:.85rem}.rhythm-title b{font-size:.75rem;white-space:nowrap}.rhythm-stats{display:flex;justify-content:space-between;gap:.5rem;margin:.8rem 0;font-size:.8rem}.rhythm-stats strong{display:block;font-size:1.2rem;font-variant-numeric:tabular-nums}.rhythm-board{height:min(40vh,310px);min-height:180px;position:relative;border-radius:12px;background:#19376a;overflow:hidden;outline-offset:4px}.rhythm-lanes{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr)}.rhythm-lane{position:relative;border-right:1px solid #f4eedf30}.rhythm-note{position:absolute;left:15%;width:70%;height:16px;border:2px solid #fff4dd;border-radius:7px;background:#ef9960;box-shadow:0 2px 7px #080f28b0;transform:translateY(-50%)}.rhythm-lane:nth-child(2) .rhythm-note{background:#91b9b7}.rhythm-lane:nth-child(3) .rhythm-note{background:#debd72}.rhythm-lane:nth-child(4) .rhythm-note{background:#b7a4cc}.rhythm-hitline{position:absolute;left:0;right:0;top:82%;height:2px;background:#fff3ce;box-shadow:0 0 12px #fff3ce8a}.rhythm-countdown{position:absolute;inset:35% 5% auto;color:#f4e9d6;text-align:center;font-size:1.2rem;pointer-events:none}.rhythm-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;margin:.4rem 0}.rhythm-keys button{border:1px solid #19376a;color:#19376a;background:#fff7e8;border-radius:10px;min-height:54px;font-size:1.2rem;font-weight:700;touch-action:manipulation;cursor:pointer}.rhythm-keys button:active{background:#e8bf79;transform:translateY(2px)}.rhythm-keys small{display:block;font-size:.65rem;font-weight:400}.rhythm-progress{height:5px;background:#d7cbb7;overflow:hidden;border-radius:3px}.rhythm-progress i{display:block;background:#ce743e;height:100%}.rhythm-console p{font-size:.8rem;line-height:1.5;margin:.55rem 0}.rhythm-console .actions{gap:.5rem}.rhythm-console .actions .btn{min-height:40px;padding:.5rem 1rem}.rhythm-console [hidden],.rhythm-note[hidden]{display:none!important}.sipping-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:1;animation:sip-scene-reveal .35s ease-out}.seated-pair-scene .guest-sip-frame.paired-sip-cup{animation:none;left:var(--sip-x,65%);top:var(--sip-y,35%);width:var(--sip-size,12%);transform:translate(-50%,0);z-index:3}.seated-pair-scene .guest-sip-frame.recipe-in-art{opacity:0}.sipping-note{z-index:6}.paired-neighbor-sip .neighbor-cup{opacity:0;pointer-events:none}.paired-neighbor-sip .neighbor-background{animation:sip-scene-reveal .35s ease-out}@keyframes sip-scene-reveal{from{opacity:.2}to{opacity:1}}@media(max-width:760px){.operating-ribbon{gap:.3rem .8rem;padding:.3rem .7rem;font-size:.7rem}.operating-ribbon button{min-height:28px}.rhythm-game{grid-template-columns:1fr;gap:.75rem;padding:.75rem}.rhythm-table-frame{display:grid;grid-template-columns:45% 1fr;align-items:center}.rhythm-table-frame figcaption{padding:.7rem;font-size:.78rem}.rhythm-console{padding:.8rem}.rhythm-board{height:32vh;min-height:170px}.daily-ledger .ledger-numbers{grid-template-columns:repeat(2,1fr)}.business-day-plans{grid-template-columns:1fr}.shop-operations{align-items:flex-start;padding:.8rem;gap:.6rem}.shop-operations .btn{font-size:.75rem;padding:.5rem .7rem}.order-business{font-size:.77rem}}@media(prefers-reduced-motion:reduce){.sipping-art,.paired-neighbor-sip .neighbor-background{animation:none}}

/* Keep the existing viewport layout legible after adding the operating strip. */
.operating-ribbon{flex:0 0 auto}
#app[data-hub="true"]>.game-topbar,#app[data-view="brew"]>.game-topbar{position:relative;inset:auto;flex:0 0 auto;min-height:60px;height:auto;background-color:#19376a}
#app[data-hub="true"]>.game-topbar{pointer-events:auto}
.felt-brew>.brew-console{grid-template-rows:auto auto auto;gap:10px 20px;max-height:60dvh;overflow:auto}
.felt-brew>.brew-console>.order-business{grid-column:1/-1;grid-row:1;margin:0;padding:.45rem .8rem;font-size:.78rem}
.felt-brew>.brew-console>.order-business>div{display:inline;margin-left:.5rem}
.felt-brew>.brew-console>.brew-meter-area{grid-column:1;grid-row:2}
.felt-brew>.brew-console>.brew-main-action{grid-column:2;grid-row:2}
.felt-brew>.brew-console>.brew-navigation{grid-column:3;grid-row:2}
.felt-brew>.brew-console>.quick-finish-row{grid-column:1/-1;grid-row:3;justify-content:center;padding-top:.45rem;margin:0}
.felt-brew .quick-finish-row .btn{font-size:.82rem;padding:.5rem 1rem;min-height:38px}
.felt-brew .quick-finish-row small{color:#e4d7c0;text-align:center}
.game.shop-hub{display:flex;flex-direction:column}
.shop-hub>.hub-room{position:relative;inset:auto;flex:1;min-height:0}
.shop-hub>.shop-operations{position:relative;flex:none;margin:0;max-width:none}
.shop-hub>.hub-hint{bottom:100px}
.rhythm-table-frame .speech-frame{max-width:100%}.rhythm-table-frame .dialogue-identity{font-size:.8rem}.rhythm-table-frame figcaption .line{font-size:.9rem!important}.rhythm-console .textbtn{color:#294368}
@media(max-width:650px) and (orientation:portrait){.felt-brew>.brew-console{grid-template-columns:1fr 116px;grid-template-rows:auto auto auto auto;padding:12px 15px}.felt-brew>.brew-console>.brew-main-action{grid-column:1/-1;grid-row:2}.felt-brew>.brew-console>.brew-meter-area{grid-column:1;grid-row:3}.felt-brew>.brew-console>.brew-navigation{grid-column:2;grid-row:3}.felt-brew>.brew-console>.quick-finish-row{grid-row:4}.felt-brew>.brew-console>.order-business{font-size:.72rem}.felt-brew .quick-finish-row small{font-size:.65rem}#app[data-hub="true"]>.game-topbar,#app[data-view="brew"]>.game-topbar{min-height:54px}}
@media(max-height:580px) and (orientation:landscape){.felt-brew>.brew-console{max-height:65dvh;padding:8px 16px;gap:6px 14px}.felt-brew>.brew-console>.order-business{font-size:.7rem;padding:.3rem .7rem}.felt-brew .quick-finish-row small{display:none}.rhythm-board{height:180px}.rhythm-game{align-items:start}.rhythm-table-frame figcaption{font-size:.75rem}}

.felt-transition>.dialogue>.daily-ledger{grid-column:1/-1;grid-row:3;margin:.5rem 0}.felt-transition>.dialogue>.actions{grid-column:1/-1;grid-row:4;justify-content:flex-end}.shop-hub>.hub-table-note{bottom:110px}
