/* ===== 鶴姫 共通 ===== */
body { background: #f6f3ee; }

/* ===== 顧客 ===== */
.cust-header {
  position: sticky; top: 0; z-index: 1020;
  background: #8b1a1a; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.cust-header-inner {
  max-width: 720px; margin: 0 auto; padding: 12px 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.store-name { font-size: 1.25rem; font-weight: 700; }
.header-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; border: 1px solid #fff; border-radius: 999px; overflow: hidden; }
.lang-btn { padding: 3px 10px; font-size: .85rem; color: #fff; text-decoration: none; }
.lang-btn.active { background: #fff; color: #8b1a1a; font-weight: 700; }
.table-badge { background: #fff; color: #8b1a1a; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.cust-body { max-width: 720px; }

/* スタッフ呼び出し・お会計 */
.cust-call-bar { max-width: 720px; margin: 0 auto; padding: 6px 16px 10px; display: flex; gap: 8px; }
.btn-call, .btn-checkout { flex: 1; font-weight: 700; font-size: 1.05rem; border: none; }
.btn-call { background: #d9a441; color: #4a2e00; }
.btn-call:hover { background: #c9942f; color: #4a2e00; }
.btn-checkout { background: #fff; color: #8b1a1a; border: 2px solid #fff; }
.btn-checkout:hover { background: #f3e9d9; color: #8b1a1a; }
.btn-call:disabled, .btn-checkout:disabled { opacity: .7; }
.call-toast { position: fixed; left: 50%; transform: translateX(-50%); top: -100px; z-index: 1080;
  max-width: 90%; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25); transition: top .3s ease; }
.call-toast.show { top: 80px; }
.call-toast.ok { background: #2e8b2e; color: #fff; }
.call-toast.ng { background: #d33; color: #fff; }

/* メニュー / 注文履歴 タブ */
.cust-tabs { display: flex; max-width: 720px; margin: 0 auto; }
.cust-tab { flex: 1; text-align: center; padding: 12px 0; font-size: 1.05rem; font-weight: 700;
  color: #8b1a1a; text-decoration: none; background: #fff; border-bottom: 3px solid transparent; }
.cust-tab.active { border-bottom-color: #8b1a1a; background: #fff; }
.cust-tab:not(.active) { color: #b08; opacity: .6; background: #efe9e1; }

.section-title {
  font-size: 1.4rem; font-weight: 700; color: #8b1a1a;
  border-left: 6px solid #d9a441; padding-left: 10px; margin: 18px 0 12px;
}

/* おすすめ横スクロール */
.reco-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: stretch; }
.reco-card { flex: 0 0 150px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.08);
  display: flex; flex-direction: column; }
.reco-img, .menu-img { background: #eee; border-radius: 8px; overflow: hidden; }
.reco-img { height: 100px; margin-bottom: 6px; }
.reco-img img, .menu-img img { width: 100%; height: 100%; object-fit: cover; }
.noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: #f3ece0; color: #c9a44a; font-size: 2rem; }
.menu-img .noimg { font-size: 2.2rem; }
.reco-img .noimg { font-size: 2.4rem; }
.reco-name { font-weight: 700; font-size: 1rem; }
.reco-price { color: #8b1a1a; font-weight: 700; margin-bottom: 6px; }
/* 価格を名前の直後で伸ばし、追加ボタンを常にカード最下部に揃える */
.reco-card .reco-price { margin-top: auto; }
.reco-card .add-btn { margin-top: 6px; }

/* カテゴリナビ */
.cat-nav { position: sticky; top: 54px; z-index: 1010; background: #f6f3ee; display: flex; gap: 8px; overflow-x: auto; padding: 8px 0; }
.cat-link { white-space: nowrap; background: #fff; border: 1px solid #d9a441; color: #8b1a1a; padding: 6px 14px; border-radius: 999px; text-decoration: none; font-size: 1rem; }

/* メニュー行 */
.menu-row { display: flex; gap: 12px; background: #fff; border-radius: 12px; padding: 10px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.menu-img { flex: 0 0 84px; height: 84px; }
.menu-info { flex: 1; }
.menu-name { font-size: 1.15rem; font-weight: 700; }
.menu-desc { color: #666; font-size: .95rem; }
.menu-price { color: #8b1a1a; font-weight: 700; font-size: 1.1rem; }
.menu-action { display: flex; align-items: center; }
.menu-action .add-btn { font-size: 1.4rem; width: 52px; height: 52px; border-radius: 50%; padding: 0; }
.reco-tag { background: #d9a441; color: #fff; font-size: .7rem; padding: 2px 6px; border-radius: 4px; vertical-align: middle; }
.menu-row.soldout { opacity: .55; }
.soldout-label { color: #999; font-weight: 700; }

/* 辛さ */
.spice-legend { background: #fff3cd; color: #664d03; border: 1px solid #ffe69c; border-radius: 8px; padding: 8px 12px; font-size: .9rem; margin: 12px 0; }
.spice { white-space: nowrap; font-size: .95rem; letter-spacing: -1px; }
.spice-options { display: flex; flex-direction: column; gap: 10px; }
.spice-opt { font-size: 1.05rem; font-weight: 600; padding: 12px; text-align: left; }
.cl-note { font-size: .85rem; color: #8b1a1a; }

/* カートバー / モーダル */
.cartbar { position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px; background: rgba(255,255,255,.95); box-shadow: 0 -2px 8px rgba(0,0,0,.15); z-index: 1030; }
.cartbar.hidden { display: none; }
.cartbar .btn { font-size: 1.2rem; font-weight: 700; }
.modal-dialog-bottom { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; max-width: 100%; }
.modal-dialog-bottom .modal-content { border-radius: 16px 16px 0 0; }
.cart-line { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eee; }
.cl-name { flex: 1; font-weight: 600; }
.cl-ctrl { display: flex; align-items: center; gap: 8px; }
.cl-qty { min-width: 28px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.cl-price { min-width: 80px; text-align: right; font-weight: 700; }
.cart-total-row { text-align: right; font-size: 1.3rem; font-weight: 700; color: #8b1a1a; margin-top: 10px; }

/* ===== 会計後導線（サンクス/アンケート/クーポン） ===== */
.thanks-wrap, .survey-wrap, .coupon-wrap { max-width: 560px; padding-bottom: 40px; }
.thanks-lead { text-align: center; margin: 24px 0 20px; }
.thanks-emoji { font-size: 3rem; }
.thanks-title { font-size: 1.4rem; font-weight: 700; color: #8b1a1a; margin: 8px 0; }
.thanks-sub { color: #555; }
.thanks-main-btn { font-size: 1.2rem; font-weight: 700; }
.thanks-note { text-align: center; color: #8b1a1a; font-size: .95rem; margin: 8px 0 0; }
.thanks-section { font-size: 1.1rem; font-weight: 700; color: #8b1a1a; margin: 26px 0 10px; border-left: 5px solid #d9a441; padding-left: 10px; }
.thanks-links { display: flex; flex-direction: column; gap: 10px; }
.thanks-link { display: block; background: #fff; border: 1px solid #d9a441; color: #8b1a1a; border-radius: 10px;
  padding: 14px 16px; text-decoration: none; font-weight: 700; text-align: center; }
.thanks-link:hover { background: #fff7ea; }
.thanks-policy { color: #888; font-size: .85rem; margin-top: 12px; }

/* アンケート */
.survey-q { background: #fff; border-radius: 12px; padding: 14px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.survey-label { font-weight: 700; margin-bottom: 10px; }
.survey-scale { display: flex; gap: 6px; }
.survey-opt { flex: 1; position: relative; }
.survey-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.survey-opt span { display: flex; align-items: center; justify-content: center; height: 48px; border: 2px solid #ddd;
  border-radius: 10px; font-size: 1.2rem; font-weight: 700; color: #999; }
.survey-opt input:checked + span { border-color: #8b1a1a; background: #8b1a1a; color: #fff; }
.survey-scale-hint { display: flex; justify-content: space-between; color: #aaa; font-size: .8rem; margin-top: 4px; }

/* クーポン */
.coupon-card { background: #fff; border: 3px dashed #8b1a1a; border-radius: 16px; padding: 26px 20px; text-align: center; margin-top: 16px; }
.coupon-card.coupon-invalid { border-color: #bbb; opacity: .7; }
.coupon-ribbon { display: inline-block; background: #8b1a1a; color: #fff; font-weight: 700; padding: 4px 18px; border-radius: 999px; font-size: .9rem; }
.coupon-title { font-size: 1.5rem; font-weight: 800; color: #8b1a1a; margin: 14px 0 6px; }
.coupon-desc { font-size: 1.15rem; margin-bottom: 16px; }
.coupon-code { background: #f6f3ee; border-radius: 10px; padding: 12px; color: #555; font-size: .85rem; }
.coupon-code span { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: 2px; color: #222; margin-top: 4px; }
.coupon-expire { margin-top: 12px; color: #8b1a1a; font-weight: 700; }
.coupon-howto { margin-top: 10px; color: #555; font-size: .95rem; }
.coupon-status { font-size: 1.2rem; font-weight: 700; padding: 14px; border-radius: 10px; }
.coupon-status.used { background: #eee; color: #888; }
.coupon-status.expired { background: #fbeeee; color: #b33; }
.coupon-policy { color: #888; font-size: .85rem; margin-top: 14px; text-align: center; }

/* ===== 厨房 ===== */
.kitchen-header { background: #222; color: #fff; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; }
.k-title { font-size: 1.5rem; font-weight: 700; }
.k-counts { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; justify-content: center; }
.kc { font-size: 1.05rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; color: #fff; }
.kc-new { background: #d33; }
.kc-cooking { background: #e6a700; color: #333; }
.kc-ready { background: #2e8b2e; }
.kc-over { background: #000; animation: kover2 1s ease-in-out infinite; }
@keyframes kover2 { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.k-meta { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
@media (max-width: 640px) { .k-counts { order: 3; width: 100%; justify-content: flex-start; margin-top: 6px; } .kitchen-header { flex-wrap: wrap; } }
.kitchen-board { padding: 14px; }
.k-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.k-card { background: #fff; border-radius: 12px; padding: 12px; border-left: 10px solid #ccc; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.k-card.status-new { border-left-color: #d33; background: #fff5f5; }
.k-card.status-cooking { border-left-color: #e6a700; background: #fffbf0; }
.k-card.status-ready { border-left-color: #2e8b2e; background: #f3fbf3; }
.k-card.nocook { border-left-color: #2b6cb0; background: #eef5fb; }
.nocook-tag { background: #2b6cb0; color: #fff; font-size: .8rem; padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.k-card.overdue { box-shadow: 0 0 0 3px #d33 inset; animation: kover 1.1s ease-in-out infinite; }
@keyframes kover { 0%,100% { box-shadow: 0 0 0 3px #d33 inset; } 50% { box-shadow: 0 0 0 6px #d33 inset; } }
.k-card-top { display: flex; justify-content: space-between; align-items: center; }
.k-table { font-size: 1.5rem; font-weight: 800; }
.k-elapsed { font-size: 1.1rem; color: #555; }
.overdue-flag { background: #d33; color: #fff; font-size: .8rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.k-name { font-size: 1.4rem; font-weight: 700; margin: 6px 0 0; }
.k-name-sub { font-size: .95rem; color: #888; margin-bottom: 6px; }
.k-lang { display: inline-flex; border: 1px solid #666; border-radius: 999px; overflow: hidden; }
.k-langbtn { background: transparent; color: #ccc; border: none; padding: 4px 10px; font-size: .85rem; cursor: pointer; }
.k-langbtn.active { background: #d9a441; color: #222; font-weight: 700; }
.k-qty { color: #8b1a1a; }
.k-note { background: #fff3cd; color: #664d03; padding: 4px 8px; border-radius: 6px; font-size: 1rem; }
.k-status { font-size: 1rem; color: #666; margin: 6px 0; }
.k-next-btn { background: #222; color: #fff; font-size: 1.2rem; font-weight: 700; }
.k-next-btn:hover { background: #000; color: #fff; }
.k-card.takeout { outline: 3px dashed #b8860b; }
.k-card.takeout .k-table { font-size: 1.15rem; color: #8a6d00; }

/* ビュー切替タブ */
.k-viewtabs { display: flex; gap: 0; background: #333; padding: 0 14px; }
.k-vtab { flex: 0 0 auto; background: transparent; color: #bbb; border: none; padding: 12px 24px;
  font-size: 1.1rem; font-weight: 700; border-bottom: 4px solid transparent; cursor: pointer; }
.k-vtab.active { color: #fff; border-bottom-color: #d9a441; }

/* メニュー別集約カード */
.k-mcard { background: #fff; border-radius: 12px; padding: 14px; border-left: 10px solid #d33;
  box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.k-mcard.overdue { box-shadow: 0 0 0 3px #d33 inset; }
.k-mtop { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.k-mname { font-size: 1.5rem; font-weight: 800; }
.k-mqty { font-size: 1.3rem; font-weight: 800; color: #8b1a1a; }
.k-mbreak { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.k-mb { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; padding: 3px 0; border-bottom: 1px dashed #eee; }
.k-mb-st { font-weight: 700; color: #fff; border-radius: 4px; padding: 0 7px; font-size: .9rem; }
.k-mb-st.new { background: #d33; }
.k-mb-st.cooking { background: #e6a700; color: #333; }
.k-mb-loc { font-weight: 700; min-width: 70px; }
.k-mb-qty { color: #8b1a1a; font-weight: 700; }
.k-mb-min { color: #666; font-size: .95rem; }
.k-mb-od { background: #d33; color: #fff; font-size: .75rem; padding: 0 5px; border-radius: 4px; margin-left: 4px; }
.k-mb-note { background: #fff3cd; color: #664d03; padding: 1px 6px; border-radius: 4px; font-size: .9rem; }
.k-mbtns { display: flex; flex-direction: column; gap: 8px; }
.k-mbtn { font-size: 1.15rem; font-weight: 700; padding: 12px; }
.k-mbtn.start { background: #d33; color: #fff; }
.k-mbtn.done { background: #e6a700; color: #333; }

/* お持ち帰り 受取番号バナー */
.pickup-banner { background: #8b1a1a; color: #fff; border-radius: 12px; padding: 16px; text-align: center; margin-bottom: 16px; }
.pickup-no { font-size: 2.4rem; font-weight: 800; }
.pickup-name { display: block; font-size: 1.1rem; }
.pickup-hint { font-size: .9rem; opacity: .9; margin-top: 6px; }

/* ===== ホール ===== */
.hall-header { background: #1f3a5f; color: #fff; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; gap: 10px; }
.h-title { font-size: 1.4rem; font-weight: 700; flex: 1; text-align: center; }
.h-meta { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.hall-board { padding: 14px; }
.h-group { margin-bottom: 18px; }
.h-group-label { font-size: 1rem; font-weight: 700; color: #1f3a5f; border-left: 5px solid #d9a441;
  padding-left: 8px; margin-bottom: 8px; }
.h-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

/* テーブルカード */
.h-tcard { display: block; background: #fff; border-radius: 12px; padding: 14px; text-decoration: none; color: inherit;
  border-left: 10px solid #ccc; box-shadow: 0 2px 6px rgba(0,0,0,.12); min-height: 110px; }
.h-tcard.empty { opacity: .55; border-left-color: #ddd; }
.h-tcard.waiting { border-left-color: #2e8b2e; background: #f3fbf3; }
.h-tcard.overdue { border-left-color: #d33; background: #fff5f5; box-shadow: 0 0 0 3px #d33 inset; }
.h-tcard.done { border-left-color: #999; }
.h-tcard.checkout { border-left-color: #8b1a1a; background: #fbeeee; box-shadow: 0 0 0 3px #8b1a1a inset; }
.h-tcard.takeout { outline: 3px dashed #b8860b; }
.h-tcard-top { display: flex; justify-content: space-between; align-items: baseline; }
.h-tname { font-size: 1.5rem; font-weight: 800; }
.h-telapsed { font-size: 1rem; color: #555; }
.h-tempty { color: #999; margin-top: 8px; }
.h-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.h-badge { font-size: .9rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: #fff; }
.h-badge.serve { background: #2e8b2e; }
.h-badge.cook { background: #e6a700; color: #333; }
.h-badge.done { background: #999; }
.h-badge.late { background: #d33; }
.h-badge.pay { background: #8b1a1a; }
.h-ttotal { text-align: right; font-weight: 700; color: #1f3a5f; font-size: 1.1rem; }

/* 卓詳細・明細リスト */
.hall-order { padding: 14px; max-width: 720px; margin: 0 auto; }
.h-itemlist { display: flex; flex-direction: column; gap: 10px; }
.h-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 12px 14px;
  border-left: 8px solid #ccc; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.h-item.status-ready { border-left-color: #2e8b2e; background: #f3fbf3; }
.h-item.status-cooking { border-left-color: #e6a700; }
.h-item.status-new { border-left-color: #d33; }
.h-item.served { border-left-color: #bbb; opacity: .7; }
.h-item.overdue { box-shadow: 0 0 0 2px #d33 inset; }
.h-item-main { flex: 1; }
.h-item-name { font-size: 1.25rem; font-weight: 700; }
.h-qty { color: #8b1a1a; }
.h-item-note { background: #fff3cd; color: #664d03; padding: 3px 8px; border-radius: 6px; font-size: .95rem; margin-top: 4px; display: inline-block; }
.h-item-meta { color: #555; font-size: .95rem; margin-top: 4px; }
.h-item-meta.served { color: #2e8b2e; font-weight: 600; }
.h-late { background: #d33; color: #fff; font-size: .8rem; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
.h-item-action { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.h-serve-btn { font-size: 1.15rem; font-weight: 700; min-width: 84px; }
.h-wait { color: #999; font-size: .9rem; }
.h-bill-actions { display: flex; gap: 6px; }
.h-bill-badge { font-size: .75rem; font-weight: 700; color: #fff; padding: 1px 7px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.h-bill-badge.free { background: #b36b00; }
.h-bill-badge.cancel { background: #333; }
.h-item.excluded { opacity: .6; }
.h-item.excluded .h-item-name { text-decoration: line-through; }

/* 会計バー（卓詳細） */
.hall-pay { display: none; }
.hall-pay.show { display: block; position: sticky; bottom: 0; z-index: 50;
  max-width: 720px; margin: 0 auto; background: #fff; border-top: 2px solid #ddd;
  padding: 12px 16px; box-shadow: 0 -2px 10px rgba(0,0,0,.1); }
.hall-pay.pay-requesting { border-top-color: #8b1a1a; background: #fbeeee; }
.h-pay-info { display: flex; justify-content: space-between; align-items: baseline; }
.h-pay-status { font-size: 1.1rem; font-weight: 700; }
.hall-pay.pay-requesting .h-pay-status { color: #8b1a1a; }
.h-pay-total { font-size: 1.4rem; font-weight: 800; color: #1f3a5f; }
.h-pay-warn { color: #b36b00; font-weight: 600; font-size: .95rem; margin-top: 4px; }
.h-pay-btns { display: flex; gap: 10px; margin-top: 10px; }
.h-pay-btn { flex: 1; font-weight: 700; }

/* 担当者選択 */
.staff-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.staff-btn { font-size: 1.2rem; font-weight: 700; padding: 12px 22px; min-width: 96px; }
.hall-log-table th { color: #1f3a5f; }

/* ===== QR一括印刷 ===== */
.qr-sheet { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.qr-cell { border: 1px dashed #bbb; border-radius: 10px; padding: 16px; text-align: center; background: #fff; break-inside: avoid; }
.qr-cell.special { border-color: #b8860b; }
.qr-cell-store { color: #8b1a1a; font-weight: 700; font-size: .95rem; }
.qr-cell-name { font-size: 1.6rem; font-weight: 800; margin: 4px 0 10px; }
.qr-cell img { width: 210px; height: 210px; }
.qr-cell-hint { color: #555; font-size: .9rem; margin-top: 8px; }

@media print {
  .admin-nav, .no-print { display: none !important; }
  body, .admin-body { background: #fff !important; }
  .admin-main { padding: 0 !important; max-width: 100% !important; }
  .qr-sheet { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .qr-cell { border: 1px dashed #999; border-radius: 0; page-break-inside: avoid; }
  .qr-cell img { width: 230px; height: 230px; }
}

/* ===== 音設定パネル・呼び出し（厨房・ホール共通） ===== */
.settings-panel { background: #2c2c2c; color: #eee; padding: 12px 18px; border-bottom: 1px solid #444; }
.settings-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.settings-row label { min-width: 120px; font-weight: 600; }
.settings-row .form-select { max-width: 220px; }
.settings-hint { font-size: .85rem; color: #aaa; margin: 4px 0 0; }

.call-board { padding: 0 14px; }
.call-board:not(:empty) { padding-top: 12px; }
.call-card { display: flex; align-items: center; gap: 12px; background: #ffe08a; color: #4a2e00;
  border-left: 10px solid #d9a441; border-radius: 10px; padding: 12px 16px; margin-bottom: 10px;
  font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.18); animation: callpulse 1.2s ease-in-out infinite; }
@keyframes callpulse { 0%,100% { box-shadow: 0 2px 8px rgba(0,0,0,.18); } 50% { box-shadow: 0 0 0 4px #d9a441 inset, 0 2px 8px rgba(0,0,0,.18); } }
.call-bell { font-size: 1.6rem; }
.call-loc { font-size: 1.4rem; font-weight: 800; }
.call-msg { flex: 1; font-size: 1.05rem; }
.call-done { font-weight: 700; }

/* ===== 管理画面 ===== */
.admin-body { background: #f4f4f6; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; background: #222; padding: 8px 14px; }
.admin-nav a { color: #ddd; text-decoration: none; padding: 6px 12px; border-radius: 6px; font-size: .95rem; }
.admin-nav a:hover { background: #444; color: #fff; }
.admin-brand { color: #fff; font-weight: 700; margin-right: 12px; }
.admin-logout { margin-left: auto; color: #ffb3b3; }
.admin-main { padding-bottom: 60px; }
.admin-login { max-width: 360px; margin: 60px auto; background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.stat-card { background: #fff; border-radius: 12px; padding: 18px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.stat-card.stat-warn { background: #fff3cd; }
.stat-card.stat-today { background: #fff; border-left: 5px solid #8b1a1a; }
a .stat-card.stat-today:hover { background: #fbeeee; }
.stat-num { font-size: 2rem; font-weight: 800; color: #8b1a1a; }
.admin-cat-title { color: #8b1a1a; border-left: 5px solid #d9a441; padding-left: 8px; }
.admin-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.admin-menu-table td { vertical-align: middle; }
.admin-form { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.admin-preview { max-width: 200px; border-radius: 8px; }
.qr-block { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 1px 4px rgba(0,0,0,.06); margin-bottom: 14px; }
.qr-block.inactive { opacity: .5; }
.qr-block.takeout-block { border: 2px solid #b8860b; }
.qr-img img { width: 130px; height: 130px; }
.table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 14px; }
