/* 都市島 App（public/js/city.js）專用的樣式；行動優先，寬度一律 100%、格子用 grid auto-fill。 */

.city-act { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.city-head { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); padding: 2px 4px 0; overflow-wrap: anywhere; }
.city-star-text { color: #e0a72b; font-size: 13px; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.city-floor.pick { cursor: pointer; }
.city-floor.pick:active { background: var(--paper-2); }
.city-floors { gap: 6px; margin: 4px 0; }
.city-lot .row-actions, .city-plate .row-actions, .city-supply .row-actions, .city-item .row-actions { flex-wrap: wrap; row-gap: 4px; }
.city-build { margin-top: 6px; width: 100%; }
.city-picker { width: 100%; }

/* 店的名牌 */
.city-plate { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; background: #fff; border-radius: 18px; box-shadow: 0 2px 0 var(--line); }
.city-stars { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.city-stars .city-star-text { font-size: 17px; }

/* 座位格 */
.city-seats { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.city-seat {
  display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 7px 7px 8px;
  background: #fff; border-radius: 14px; box-shadow: 0 2px 0 var(--line); font-size: 12px; overflow-wrap: anywhere;
}
.city-seat.waiting { box-shadow: 0 2px 0 #f0cfc5; background: #fff6f3; }
.city-seat.serving { background: #f2fbf6; }
.city-seat-top { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.city-face { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); object-fit: cover; flex: none; }
.city-mood { width: 18px; height: 18px; flex: none; }
.city-seat-name { font-weight: 600; font-size: 12.5px; line-height: 1.3; }
.city-seat-want { display: flex; align-items: center; gap: 3px; color: var(--ink-soft); font-size: 11.5px; line-height: 1.3; }
.city-want { width: 22px; height: 22px; flex: none; }
.city-bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.city-bar i { display: block; height: 100%; border-radius: 3px; transition: width .5s linear; }
.city-bar.patience i { background: var(--coral); }
.city-bar.service i { background: var(--mint); }
.city-seat-note { font-size: 11px; color: var(--ink-soft); line-height: 1.3; font-variant-numeric: tabular-nums; }
.city-seat .btn.small { align-self: flex-start; min-height: 32px; padding: 3px 10px; font-size: 13px; }
.city-seat.empty { align-items: center; justify-content: center; min-height: 118px; background: var(--paper-2); box-shadow: inset 0 0 0 2px var(--line); opacity: .7; }
/* 空位：用 CSS 畫的椅子、浴缸、桌子、小凳 */
.city-furn { display: block; position: relative; width: 36px; height: 36px; }
.city-furn::before, .city-furn::after { content: ''; position: absolute; background: #d9c9a6; }
.seat-chair .city-furn::before { left: 6px; top: 2px; width: 24px; height: 14px; border-radius: 6px 6px 2px 2px; }
.seat-chair .city-furn::after { left: 4px; top: 17px; width: 28px; height: 14px; border-radius: 4px 4px 8px 8px; background: #c9b58e; }
.seat-tub .city-furn::before { left: 2px; top: 8px; width: 32px; height: 22px; border-radius: 10px 10px 14px 14px; background: #cfe4ef; }
.seat-tub .city-furn::after { left: 7px; top: 12px; width: 22px; height: 8px; border-radius: 10px; background: #e9f4f9; }
.seat-table .city-furn::before { left: 4px; top: 4px; width: 28px; height: 28px; border-radius: 50%; }
.seat-table .city-furn::after { left: 12px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #efe4c9; }
.seat-stool .city-furn::before { left: 8px; top: 8px; width: 20px; height: 20px; border-radius: 50%; }
.seat-stool .city-furn::after { left: 14px; top: 26px; width: 8px; height: 8px; border-radius: 2px; background: #c9b58e; }

/* 用品架 */
.city-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.city-supply { display: flex; gap: 8px; min-width: 0; padding: 8px 10px; background: #fff; border-radius: 16px; box-shadow: 0 2px 0 var(--line); }
.city-supply.wanted { box-shadow: 0 2px 0 #f0cfc5; }
.city-supply-ic { width: 44px; height: 44px; flex: none; }
.city-supply-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.city-recipe { font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.city-recipe.short { color: #bb5a44; }

/* 道具列 */
.city-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.city-item { display: flex; gap: 8px; min-width: 0; padding: 8px 10px; background: #fff; border-radius: 16px; box-shadow: 0 2px 0 var(--line); }
.city-item-ic { width: 32px; height: 32px; flex: none; }
.city-item-main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }

/* 管理室：蘭姨 */
.city-landlady { display: flex; align-items: flex-end; gap: 10px; padding: 6px 2px 0; }
.city-landlady-ic { width: 96px; height: 96px; flex: none; object-fit: contain; }
.city-bubble { flex: 1; min-width: 0; padding: 10px 12px; background: #fff; border-radius: 18px 18px 18px 4px; box-shadow: 0 2px 0 var(--line); }
.city-say { font-size: 14px; line-height: 1.5; margin-top: 3px; overflow-wrap: anywhere; }
.city-question { font-size: 15px; font-weight: 600; line-height: 1.5; margin: 2px 0 6px; overflow-wrap: anywhere; }
.city-choices .chip { max-width: 100%; white-space: normal; text-align: left; overflow-wrap: anywhere; }
.city-choices .chip.wrong { background: #ffe0d8; box-shadow: 0 2px 0 #f0cfc5; }
.city-choices .chip:disabled { opacity: .85; }
