/* Milk-tea menus share cream paper, rose actions and the shop's cup illustration.
   Radius scale: dialog 22px, sections 14px, inputs/buttons 10px. */
.mt-root .mt-modal{padding:16px}
.mt-root .mt-modal-backdrop{background:#38251e99;backdrop-filter:blur(4px)}
.mt-root .mt-modal-box{isolation:isolate;width:min(600px,100%);max-height:calc(100dvh - 32px);border:1px solid #a88066;border-radius:22px;background:#fff8ed;box-shadow:0 20px 70px #4a302c3d,0 0 0 4px #fff3e333;color:#594338}
.mt-root .mt-modal-box:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/assets/games/milk-tea/modal-cups.webp') center/150px auto repeat;opacity:.035}
.mt-root .mt-modal-box>header{position:relative;flex-shrink:0;min-height:112px;align-items:center;padding:20px 22px;border-bottom:1px solid #e7cdb8;background:linear-gradient(110deg,#f4e0d6,#fff2de);overflow:hidden}
.mt-root .mt-modal-box>header:after{content:'';position:absolute;right:60px;bottom:-4px;width:128px;height:110px;background:url('/assets/games/milk-tea/modal-cups.webp') center bottom/contain no-repeat;pointer-events:none}
.mt-root .mt-modal-box>header>div{position:relative;z-index:1;width:calc(100% - 164px);min-width:0}
.mt-root .mt-modal-box>header small{display:block;font-size:11px;line-height:1.5;color:#825a46;letter-spacing:.5px;font-weight:700;overflow-wrap:anywhere}
.mt-root .mt-modal-box h2{margin:6px 0 0;font-size:23px;line-height:1.3;overflow-wrap:anywhere;color:#594338}
.mt-root .mt-modal-box>header [data-mt-close]{position:absolute;z-index:2;right:14px;top:14px;width:44px;height:44px;min-height:44px;min-width:44px;border:1px solid #c5a28c;border-radius:10px;background:#fff8edcc;color:#73513d;font-size:24px;display:grid;place-items:center;padding:0}
.mt-root .mt-modal-box>header [data-mt-close][hidden]{display:none}
.mt-root .mt-modal-body{position:relative;min-height:0;padding:20px 22px 22px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6a58c #f4e6d5}
.mt-root .mt-modal-body p{font-size:14px;line-height:1.65;margin:0 0 16px}
.mt-root .mt-modal-body h3{font-size:16px;line-height:1.4;margin:22px 0 12px}
.mt-root .mt-modal-body p:last-child{margin-bottom:0}
.mt-root .mt-modal button,.mt-root .mt-modal a{touch-action:manipulation}
.mt-root .mt-modal-action,.mt-root .mt-name-form button,.mt-root .mt-shop-item button,.mt-root .mt-friend-item button{min-height:44px;padding:10px 14px;border:1px solid #955b57;border-radius:10px;background:#f2d4ce;color:#754541;font-size:13px;line-height:1.4;font-weight:800;transition:background .15s,transform .15s}
.mt-root .mt-modal button:not(:disabled):hover{filter:brightness(.96)}
.mt-root .mt-modal button:not(:disabled):active{transform:translateY(1px)}
.mt-root .mt-modal button:disabled{opacity:1;border-color:#d9c8b6;background:#eee6da;color:#95816f;cursor:default}
.mt-root .mt-modal button:focus-visible,.mt-root .mt-modal a:focus-visible,.mt-root .mt-modal input:focus-visible,.mt-root .mt-modal select:focus-visible,.mt-root .mt-modal summary:focus-visible{outline:3px solid #985954;outline-offset:2px}
.mt-root .mt-modal input:not([type='range']),.mt-root .mt-modal select{border:1px solid #c4a78f;border-radius:10px;background:#fffdf6;color:#594338;min-height:44px;font-size:14px;line-height:1.5}
.mt-root .mt-modal input::placeholder{color:#846b5e;opacity:1}
.mt-root .mt-modal-body .mt-form-footnote{font-size:12px;line-height:1.6;color:#816655;margin:16px 0 0}
.mt-root .mt-opening-intro>p{margin:0 0 15px}
.mt-opening-fund{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border:1px solid #ddc4a5;border-radius:14px;background:#f6ead6;margin-bottom:20px}
.mt-opening-fund>span{font-size:13px;color:#795b45}
.mt-opening-fund strong{font-size:26px;line-height:1.3;color:#6a4c38;font-variant-numeric:tabular-nums}
.mt-opening-fund strong small{font-size:13px;font-weight:600}
.mt-root .mt-name-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.mt-wallet-balances{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.mt-wallet-balances>div{padding:13px 15px;border:1px solid #dec7b0;border-radius:14px;background:#f6ead6;min-width:0}
.mt-wallet-balances span{display:block;font-size:12px;color:#795b45}
.mt-wallet-balances strong{display:block;margin-top:4px;font-size:26px;line-height:1.3;font-variant-numeric:tabular-nums}
.mt-wallet-balances strong small{margin-left:5px;font-size:12px;font-weight:600}
.mt-root .mt-wallet-note{color:#795b45;font-size:13px}
.mt-topup-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mt-topup-pack{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #d8baa5;border-radius:15px;background:#fffaf1;min-width:0}
.mt-topup-cost{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.mt-topup-cost small,.mt-topup-pack strong small{font-size:12px;font-weight:600}
.mt-topup-pack strong{font-size:18px;color:#496445}
.mt-topup-pack>small{font-size:12px;color:#795b45}
.mt-topup-pack button{margin-top:auto;width:100%}
.mt-topup-pack.is-used{background:#eee8de;border-color:#cfc3b3}
.mt-root .mt-wallet-error{margin:16px 0 10px;color:#a64440;font-size:13px}
@media(max-width:500px){.mt-topup-packs{grid-template-columns:1fr}.mt-topup-pack{gap:8px;padding:13px}.mt-wallet-balances>div{padding:11px}.mt-wallet-balances strong{font-size:23px}}
.mt-name-label{grid-column:1/-1;font-size:13px;font-weight:800}
.mt-root .mt-name-form input{width:100%;padding:10px 12px}
.mt-root .mt-name-form button{white-space:nowrap}
.mt-root .mt-name-count{font-size:12px;color:#816655;margin:8px 0 16px}
.mt-root .mt-guest-reminder{padding:12px 14px;border:1px solid #e4d3bf;border-radius:14px;background:#f4ecdf;font-size:13px;line-height:1.6;margin-bottom:14px}
.mt-root .mt-modal .mt-auth-actions{justify-content:center;margin:12px 0 0;gap:8px}
.mt-root .mt-modal .mt-auth-actions a{background:#fff9ef;border:1px solid #b98275;border-radius:10px;color:#754541;min-height:44px;font-size:13px;padding:10px 18px}
.mt-root .mt-business-summary h3{font-size:20px;margin:0 0 4px;overflow-wrap:anywhere}
.mt-root .mt-business-summary>p{color:#816655;font-size:13px;margin:0 0 16px}
.mt-business-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px 16px;border-radius:14px;border:1px solid #dec6aa;background:#f8eddc}
.mt-business-facts>div+div{border-left:1px solid #dfc7b0;padding-left:14px}
.mt-business-facts span{display:block;font-size:12px;line-height:1.4;color:#816655;margin-bottom:6px}
.mt-business-facts strong{font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums}
.mt-business-facts strong small{font-size:12px;font-weight:500}
.mt-business-cost{display:block;color:#816655;font-size:12px;line-height:1.6;margin-top:10px}
.mt-business-stock{display:grid;gap:5px;padding:13px 14px;margin:18px 0;border-left:3px solid #c89262;background:#f6e8d5;border-radius:0 10px 10px 0}
.mt-business-stock strong{font-size:14px}
.mt-business-stock span{color:#816655;font-size:12px;line-height:1.5}
.mt-business-stock.is-ready{border-color:#8b9d71;background:#eef0dd}
.mt-business-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.mt-root .mt-business-actions .mt-modal-action{min-width:0;background:#fff9ee;border-color:#c6a18a;color:#795743}
.mt-root .mt-business-actions .mt-business-close-day{grid-column:1/-1;background:#87524c;color:#fff8ef;border-color:#87524c}
.mt-root .mt-business-actions .mt-business-close-day:hover{background:#754540}
.mt-root .mt-modal .mt-rescue{border:1px solid #d8bb8e;border-radius:14px;background:#faf0d7;margin:18px 0 0}
.mt-root .mt-modal .mt-rescue>span{font-size:24px}
.mt-root .mt-modal .mt-rescue h3{margin:0 0 6px;font-size:15px}
.mt-root .mt-modal .mt-rescue p{font-size:13px;margin:0 0 12px}
.mt-root .mt-starter-pack{grid-template-columns:minmax(0,1fr) auto;gap:7px 16px;border:1px solid #c1c8a1;background:#f0f2df;padding:15px;border-radius:14px;margin-bottom:16px}
.mt-root .mt-starter-pack strong{font-size:15px;line-height:1.4}
.mt-root .mt-starter-pack small{grid-column:1;font-size:12px;line-height:1.55;color:#616b49}
.mt-root .mt-starter-pack button{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}
.mt-root .mt-warehouse-tabs{flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:7px;margin-bottom:12px;scrollbar-width:thin;scrollbar-color:#c6a58c transparent}
.mt-root .mt-warehouse-tabs button{flex-shrink:0;border:1px solid #dec7b0;border-radius:10px;background:#fff9ee;color:#755442;min-height:44px;font-size:12px;padding:8px 11px;white-space:nowrap}
.mt-root .mt-warehouse-tabs button.is-active{color:#fff8ef;background:#87524c;border-color:#87524c}
.mt-root .mt-warehouse-grid{gap:10px}
.mt-root .mt-stock-card{position:relative;gap:8px;padding:13px;border:1px solid #dec7b0;border-radius:14px;background:#fffaf1;min-width:0}
.mt-root .mt-stock-card>span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f5e4d2;font-size:25px}
.mt-root .mt-stock-card strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.mt-root .mt-stock-card small{font-size:12px;color:#816655;line-height:1.6}
.mt-root .mt-stock-card button{font-size:12px;padding:9px 6px;min-height:44px}
.mt-root .mt-venue-card{border:1px solid #ddc4aa;border-radius:14px;padding:15px;background:#fffaf1}
.mt-root .mt-venue-card.is-current{border-color:#b7c095;background:#f0f2df}
.mt-root .mt-venue-card small,.mt-root .mt-shop-item small,.mt-root .mt-friend-item small,.mt-root .mt-rank-item small{color:#816655;font-size:12px;line-height:1.5}
.mt-root .mt-shop-item,.mt-root .mt-friend-item,.mt-root .mt-rank-item{padding:12px;border:1px solid #dfc8b1;border-radius:14px;background:#fffaf1;gap:10px}
.mt-root .mt-shop-item strong,.mt-root .mt-friend-item strong,.mt-root .mt-rank-item strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.mt-root .mt-shop-item>span,.mt-root .mt-friend-item>span{display:grid;place-items:center;flex-shrink:0;width:36px;height:40px;font-size:24px}
.mt-root .mt-friend-shop,.mt-root .mt-my-rank{border:1px solid #c7cbab;border-radius:14px;background:#f0f2df}
.mt-root .mt-menu-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.mt-root .mt-menu-toolbar button{font-size:13px}
.mt-root .mt-menu-editor-actions{background:#fff8ed;border-bottom:1px solid #e1cbb5}
.mt-root .mt-dish-editor{border-color:#d3b8a0;border-radius:14px;background:#fffaf1}
.mt-root .mt-menu-edit-heading{color:#816655}
.mt-root .mt-menu-edit-teas input,.mt-root .mt-menu-edit-extras input{padding:9px}
.mt-root .mt-help-intro{color:#795b49}
.mt-root .mt-help-list{counter-reset:mt-step;list-style:none;margin:0;padding:0;display:grid;gap:15px}
.mt-root .mt-help-list li{position:relative;margin:0;padding-left:42px;font-size:13px;line-height:1.6}
.mt-root .mt-help-list li:before{counter-increment:mt-step;content:counter(mt-step);position:absolute;left:0;top:1px;width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:#f1d7cb;border:1px solid #d7b2a1;color:#85554b;font-weight:800}
.mt-root .mt-help-list li>b{display:block;font-size:14px;line-height:1.4;margin-bottom:4px}
.mt-root .mt-help-list li>span{display:block;color:#816655}
.mt-root .mt-help-recipe{padding:13px 14px;border-radius:14px;background:#f0f2df;border:1px solid #c7cbab;margin:20px 0 15px;font-size:12px;line-height:1.7}
.mt-help-details{border-top:1px solid #e1cbb5}
.mt-help-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;font-size:13px;font-weight:800;cursor:pointer;list-style:none}
.mt-help-details summary::-webkit-details-marker{display:none}
.mt-help-details summary:after{content:'+';font-size:20px;font-weight:500;color:#85554b}
.mt-help-details[open] summary:after{content:'−'}
.mt-root .mt-help-details p{font-size:13px;color:#816655;margin:0 0 14px}
.mt-root .mt-invite-link{border-radius:10px;border-color:#c4a78f}
@media(max-width:500px){
  .mt-root .mt-modal{padding:10px}
  .mt-root .mt-modal-box{max-height:calc(100dvh - 20px);border-radius:20px}
  .mt-root .mt-modal-box>header{padding:17px 16px;min-height:106px}
  .mt-root .mt-modal-box>header>div{width:calc(100% - 106px)}
  .mt-root .mt-modal-box>header:after{right:45px;width:85px;height:81px;bottom:0}
  .mt-root .mt-modal-box h2{font-size:20px;line-height:1.3}
  .mt-root .mt-modal-box>header small{font-size:10px}
  .mt-root .mt-modal-body{padding:18px 16px 20px}
  .mt-root .mt-modal input:not([type='range']),.mt-root .mt-modal select{font-size:16px}
  .mt-root .mt-starter-pack{grid-template-columns:1fr}
  .mt-root .mt-starter-pack button{grid-column:1;grid-row:auto;justify-self:stretch;margin-top:4px}
  .mt-root .mt-menu-toolbar{grid-template-columns:1fr}
  .mt-root .mt-business-facts{padding:13px 12px;gap:8px}
  .mt-root .mt-business-facts>div+div{padding-left:10px}
  .mt-root .mt-business-facts strong{font-size:22px}
  .mt-root .mt-modal .mt-rescue{padding:12px;gap:8px}
  .mt-root .mt-modal .mt-rescue>span{display:none}
  .mt-root .mt-stock-card{padding:11px}
  .mt-root .mt-business-actions button{font-size:12px;padding:10px 6px}
}
@media(prefers-reduced-motion:reduce){.mt-root .mt-modal button{transition:none}.mt-root .mt-modal button:not(:disabled):active{transform:none}}

.mt-root .mt-modal .mt-rescue>span{display:none}
.mt-root .mt-menu-poster header h3{font-size:28px;margin:14px 0 24px}
.mt-shop-detail-hero{padding:18px;border:1px solid #ddbda0;border-radius:16px;background:linear-gradient(125deg,#f7e1d5,#fff4df);color:#654636}
.mt-shop-detail-hero small{display:block;color:#a06c5c;font-size:10px;font-weight:800;letter-spacing:.12em}
.mt-shop-detail-hero h3{margin:7px 0!important;font-size:24px!important}
.mt-shop-detail-hero span{font-size:13px;color:#8b6b55}
.mt-shop-detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.mt-shop-detail-facts>div{display:grid;gap:4px;padding:11px;border:1px solid #e1cbb4;border-radius:10px;background:#fffaf1}
.mt-shop-detail-facts span{font-size:11px;color:#90715a}
.mt-shop-detail-facts b{font-size:16px;color:#60453a}
.mt-shop-detail-changes,.mt-shop-detail-invite{padding:14px;margin-top:12px;border:1px solid #e2cbb2;border-radius:13px;background:#fffaf1}
.mt-shop-detail-changes h3,.mt-shop-detail-invite h3{margin:0 0 8px!important;font-size:15px!important}
.mt-shop-detail-changes p{margin:0 0 12px;line-height:1.65;font-size:12px}
.mt-shop-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mt-shop-detail-invite input{width:100%;margin:2px 0 8px}
.mt-root .mt-bankruptcy-button{width:100%;margin-top:14px;border-color:#ad7169;background:#f3dfd7;color:#94524e}
@media(max-width:500px){.mt-shop-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.mt-shop-detail-actions button{font-size:12px}}

/* Keep the shop controls readable while the illustrated counter scales to fit. */
.mt-root .mt-modal-body p{font-size:16px;line-height:1.7}
.mt-root .mt-modal-body h3{font-size:18px}
.mt-root .mt-modal .mt-modal-action,.mt-root .mt-modal .mt-tabs button{font-size:15px}
.mt-root .mt-warehouse-tabs button{font-size:14px}
.mt-root .mt-stock-card strong{font-size:16px}
.mt-root .mt-stock-card small,.mt-root .mt-starter-pack small{font-size:14px}
.mt-root .mt-stock-card button{font-size:14px}
.mt-root .mt-help-list li{font-size:15px}
.mt-root .mt-help-list li>b{font-size:16px}
.mt-root .mt-review-list .mt-review-copy{font-size:15px}
.mt-root .mt-review-list .mt-review-copy small,.mt-root .mt-rating-overview>small{font-size:13px}
.mt-root .mt-shop-detail-changes p{font-size:14px}

/* Local invitation QR: preserve a white four-module quiet zone. */
.mt-root .mt-invite-qr{margin:16px auto;text-align:center}
.mt-root .mt-invite-qr img{display:block;width:248px;max-width:100%;height:auto;margin:0 auto;background:#fff;border:1px solid #e5cfb9;border-radius:12px;image-rendering:pixelated}
.mt-root .mt-invite-qr p{font-size:14px;line-height:1.5;margin:10px auto;max-width:320px}
.mt-root .mt-invite-qr-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:10px}

.mt-root .mt-wallet-summary{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5cfb9;font-size:16px}
.mt-root .mt-wallet-history{margin:16px 0}
.mt-root .mt-wallet-history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.mt-root .mt-wallet-history-heading h3{margin:0;font-size:17px}
.mt-root .mt-wallet-history-heading .mt-modal-action{padding:7px 10px;font-size:13px;min-height:36px}
.mt-root .mt-wallet-history>small{display:block;margin:3px 0 8px;color:#8d7055}
.mt-root .mt-wallet-history-row{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:#fffaf1;color:#624b3c;border:1px solid #e5cfb9;border-radius:10px;padding:9px 12px;margin:5px 0;font:inherit;cursor:pointer}
.mt-root .mt-wallet-history-row>span{min-width:0}.mt-root .mt-wallet-history-row b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.mt-root .mt-wallet-history-row small{display:block;font-size:12px;margin-top:3px;color:#8d7055}.mt-root .mt-wallet-history-row>strong{white-space:nowrap;font-size:15px}.mt-root .mt-wallet-history-row>strong small{display:inline}
.mt-root .mt-wallet-topup{border:1px solid #dfc4a7;border-radius:12px;padding:12px;margin-top:16px}.mt-root .mt-wallet-topup>summary{font-weight:800;cursor:pointer;font-size:16px}
.mt-root .mt-bill-card{padding:10px 12px;margin-bottom:6px}.mt-root .mt-bill-card>strong{font-size:15px;margin:5px 0}.mt-root .mt-bill-service,.mt-root .mt-bill-open{display:none}.mt-root .mt-bill-card-values{gap:8px;margin-top:6px;font-size:13px}

.mt-root .mt-wallet-balance-title{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap}
.mt-root .mt-wallet-add{background:#f5d7a4;color:#59381d;border:1px solid #b58b56;border-radius:8px;font:800 14px "Segoe UI",sans-serif;padding:7px 11px;min-height:36px;cursor:pointer}
.mt-root .mt-wallet-add:hover{background:#f0c981}

.mt-root .mt-furniture-shop{color:#614735}
.mt-root .mt-furniture-shop svg:not([role="img"]){width:20px;height:20px;flex-shrink:0;vertical-align:middle}
.mt-root .mt-furniture-capacity{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:15px}
.mt-root .mt-furniture-capacity>span:first-child{display:flex;align-items:center;gap:7px}
.mt-root .mt-furniture-slots{display:flex;gap:5px;flex-wrap:wrap;max-width:120px}
.mt-root .mt-furniture-slots i{width:12px;height:12px;background:#efe1ca;border:1px solid #c9ad88;border-radius:4px}.mt-root .mt-furniture-slots .is-owned{background:#829367;border-color:#64764b}
.mt-root .mt-furniture-product{display:grid;grid-template-columns:minmax(140px,.9fr) minmax(0,1fr);align-items:center;gap:18px;padding:16px;border:1px solid #dcc3a6;border-radius:16px;background:#fff9ee}
.mt-root .mt-furniture-art{border-radius:12px;background:#f4e7d3}.mt-root .mt-furniture-art svg{display:block;width:100%;height:auto}
.mt-root .mt-furniture-copy>small:first-child{font-size:10px;font-weight:800;letter-spacing:1px;color:#8a654a}
.mt-root .mt-furniture-copy h3{margin:5px 0 7px;font-size:22px;line-height:1.2;color:#614735}
.mt-root .mt-furniture-copy p{margin:0 0 10px;font-size:14px;line-height:1.5}
.mt-root .mt-furniture-price{display:flex;align-items:center;gap:5px;font-size:24px;color:#835924;margin:10px 0}.mt-root .mt-furniture-price span{font-size:13px;font-weight:600}
.mt-root .mt-furniture-shop .mt-furniture-buy{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;margin:0;background:#697c4e;color:#fffaf0;border-color:#56663e;font-size:15px;font-weight:800;white-space:nowrap}
.mt-root .mt-furniture-shop .mt-furniture-buy:disabled{background:#e7dece;color:#796b59;border-color:#cec0aa;opacity:1;cursor:not-allowed}
.mt-root .mt-furniture-availability{display:block;font-size:12px;line-height:1.4;margin-top:8px;color:#826149}
.mt-root .mt-furniture-footer{display:flex;align-items:center;gap:16px;margin-top:14px}.mt-root .mt-furniture-footer p{display:flex;gap:8px;align-items:center;flex:1;margin:0;font-size:13px;line-height:1.5}
.mt-root .mt-furniture-shop .mt-furniture-view{display:flex;align-items:center;gap:8px;white-space:nowrap;min-height:44px;margin:0;font-size:14px}
.mt-root .mt-furniture-staff{border-top:1px solid #dfc7ac;padding-top:14px;margin-top:16px}.mt-root .mt-furniture-staff summary{font-size:15px;font-weight:800;cursor:pointer}
.mt-root .mt-furniture-shop button:focus-visible{outline:3px solid #8a6647;outline-offset:3px}
@media(max-width:480px){.mt-root .mt-furniture-product{grid-template-columns:minmax(100px,.8fr) minmax(0,1fr);gap:12px;padding:12px}.mt-root .mt-furniture-copy h3{font-size:20px}.mt-root .mt-furniture-copy p{font-size:13px}.mt-root .mt-furniture-footer{flex-wrap:wrap;gap:10px}.mt-root .mt-furniture-footer p{flex-basis:100%}.mt-root .mt-furniture-view{width:100%;justify-content:center}.mt-root .mt-furniture-capacity{font-size:13px}.mt-root .mt-furniture-slots{max-width:70px}}

/* Loading is a real connection state, not a simulated percentage. */
.mt-root{position:relative}.mt-root.is-booting{min-height:440px}.mt-root.is-booting>[data-mt-hub],.mt-root.is-booting>[data-mt-arena]{visibility:hidden;max-height:440px;overflow:hidden}
.mt-boot-screen{box-sizing:border-box;min-height:420px;padding:54px 24px 38px;text-align:center;background:radial-gradient(ellipse at 50% 20%,#fffaf0,#f7e8d3);color:#594338;border:1px solid #d8b99a;border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-shadow:0 12px 35px #00000014}
.is-booting>.mt-boot-screen{position:absolute;inset:0 0 auto;z-index:30;width:100%}.mt-boot-screen[hidden]{display:none!important}.mt-boot-art{position:relative;padding:14px;margin-bottom:8px}.mt-boot-art img{display:block;border-radius:25px;box-shadow:0 8px 20px #9c694d26}.mt-boot-orbit{position:absolute;inset:0;border:2px solid #e4c9ad;border-top-color:#b65c77;border-right-color:#b65c77;border-radius:50%;animation:mt-boot-spin 1.8s linear infinite}.mt-boot-screen small{font:700 11px/1.5 'Segoe UI',sans-serif;letter-spacing:1.7px;color:#976d54}.mt-boot-screen h2{margin:0;font:800 25px/1.3 'Segoe UI',sans-serif}.mt-boot-screen p{margin:0;max-width:300px;font:400 15px/1.6 'Segoe UI',sans-serif;color:#81664f}.mt-boot-track{width:min(220px,80%);height:5px;background:#e7d5bd;border-radius:8px;overflow:hidden;margin:10px 0}.mt-boot-track span{display:block;width:40%;height:100%;background:#b86b82;border-radius:8px;animation:mt-boot-slide 1.5s ease-in-out infinite}.mt-boot-retry{font:600 13px/1.5 'Segoe UI',sans-serif;color:#775840!important;text-underline-offset:4px;padding:8px}.mt-boot-screen.is-error .mt-boot-orbit,.mt-boot-screen.is-error .mt-boot-track span{animation:none}.mt-boot-screen.is-error .mt-boot-track{display:none}.mt-boot-screen.is-error .mt-boot-retry{padding:11px 22px;background:#6c8057;border-radius:10px;color:white!important;text-decoration:none}
@keyframes mt-boot-spin{to{transform:rotate(360deg)}}@keyframes mt-boot-slide{0%{transform:translateX(-110%)}100%{transform:translateX(350%)}}@media(prefers-reduced-motion:reduce){.mt-boot-orbit,.mt-boot-track span{animation:none!important}}@media(max-width:420px){.mt-boot-screen{padding:40px 18px;min-height:380px}.mt-boot-screen h2{font-size:22px}}

.mt-root .mt-rank-item .mt-rank-visit{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:7px}.mt-root .mt-rank-visit button{white-space:nowrap;padding:8px 11px;font-size:13px;min-height:36px}
/* Realtime shop chat remains available while the counter is paused or visited. */
.mt-chat{position:fixed;right:max(12px,calc((100vw - 720px)/2 + 12px));bottom:max(16px,env(safe-area-inset-bottom));z-index:1001;color:#594338;font:15px/1.45 "Segoe UI",sans-serif}
.mt-chat [hidden]{display:none!important}
.mt-chat button,.mt-chat input{font:inherit}
.mt-chat-launch{display:flex;gap:8px;align-items:center;margin-left:auto;padding:12px 18px;border:1px solid #875d45;border-radius:24px;background:#fff2d8;color:#594338;font-weight:700!important;box-shadow:0 4px 18px #0003;cursor:pointer}
.mt-chat-launch span{background:#b84665;color:#fff;border-radius:20px;min-width:22px;padding:0 4px}
.mt-chat-panel{position:absolute;bottom:58px;right:0;width:min(360px,calc(100vw - 24px));height:min(480px,calc(100dvh - 110px));display:flex;flex-direction:column;border:1px solid #c59e7a;border-radius:18px;background:#fff9ef;box-shadow:0 12px 45px #0004;overflow:hidden}
.mt-chat-panel header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:14px;background:#f5e0d2;border-bottom:1px solid #ddbea2}
.mt-chat-panel header strong{font-size:17px}.mt-chat-panel small{display:block;font-size:12px;margin-top:4px}
.mt-chat-panel header button{background:transparent;border:0;font-size:26px;color:#594338;cursor:pointer;width:32px;height:32px}
.mt-chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:12px}
.mt-chat-messages article{margin-bottom:12px}.mt-chat-messages article>button{color:#9b3955;border:0;background:transparent;padding:0;font-weight:700;text-align:left;cursor:pointer;max-width:75%;overflow-wrap:anywhere}
.mt-chat-messages time{float:right;color:#866e60;font-size:11px;padding-top:4px}
.mt-chat-messages p{margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.mt-chat-empty{color:#866e60;text-align:center;padding:24px 10px}
.mt-chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid #e6cfb7}.mt-chat-form input{min-width:0;flex:1;padding:10px;border:1px solid #c9ab8c;border-radius:10px;background:#fff;color:#443329}
.mt-chat-form button,.mt-chat-retry{padding:8px 12px;border:1px solid #648147;border-radius:10px;background:#6f8953;color:#fff;cursor:pointer}.mt-chat-form button:disabled{opacity:.55}.mt-chat-retry{margin:0 10px 10px}
.mt-chat :focus-visible{outline:3px solid #d79c41;outline-offset:2px}
.is-fullscreen .mt-chat{right:12px}
