@import url(fonts/seed/seed.css);   /* LINE Seed 台灣版，自己的主機出檔 */
/* 狸小路 App 介面（會員中心、店員端）共用樣式：溫潤淺色、觸控優先。官網另用 styles.css。 */
:root {
    --bg: #f5ead9;          /* 奶油底，取自火焰標誌的米色 */
    --surface: #ffffff;
    --surface-2: #ecdcc4;
    --ink: #2e211b;
    --ink-2: #57463a;
    --ink-3: #85705e;
    --line: #d6c3a6;
    --brand: #c8452b;       /* 火焰紅 */
    --brand-press: #a8381f;
    --brand-soft: #fbe4da;
    --ok: #2f8a5a;
    --ok-soft: #e1f2e8;
    --radius: 20px;
    --shadow: 0 1px 2px rgba(80, 45, 20, .06), 0 8px 24px rgba(80, 45, 20, .07);
    --font: 'LINE Seed', -apple-system, BlinkMacSystemFont, 'PingFang TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', sans-serif;
    --num: var(--font);
    --safe-b: env(safe-area-inset-bottom);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5;
    -webkit-font-smoothing: antialiased; min-height: 100dvh; overscroll-behavior-y: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 700; letter-spacing: .01em; }

.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; flex-shrink: 0; fill: none; stroke: currentColor;
    stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

/* 卡片 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }

/* 按鈕：最小 52px 高，手指好按；按下微縮回彈 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px;
    border: 0; border-radius: 999px; font-size: 17px; font-weight: 600; cursor: pointer; user-select: none; text-decoration: none;
    background: var(--brand); color: #fff; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .15s, opacity .15s; }
.btn:active { transform: scale(.96); transition-duration: .08s; background: var(--brand-press); }
.btn:disabled { opacity: .35; pointer-events: none; }
.btn.block { display: flex; width: 100%; }
.btn.lg { min-height: 60px; font-size: 19px; }
.btn.soft { background: var(--brand-soft); color: var(--brand); }
.btn.soft:active { background: #f6d3c5; }
.btn.ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn.ghost:active { background: var(--surface-2); }
.btn.sm { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* 分段切換 */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; }
.seg button { min-height: 44px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--brand); box-shadow: 0 1px 3px rgba(80, 45, 20, .18); }

/* 清單列：整列可按 */
.row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.row + .row { margin-top: 8px; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 600; }
.row .s { font-size: 13px; color: var(--ink-3); margin-top: 1px; }
.row .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-size: 20px; flex-shrink: 0; }
.empty { text-align: center; color: var(--ink-3); padding: 28px 0; font-size: 15px; }

/* 表單 */
.field { display: block; margin-top: 16px; }
.field span { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
    background: var(--surface); font-size: 17px; outline: none; transition: border-color .15s, box-shadow .15s; appearance: none; }
.field input:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:disabled { background: var(--surface-2); color: var(--ink-2); }
.err { color: var(--brand); font-size: 14px; min-height: 20px; margin-top: 10px; }

.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
    background: var(--brand-soft); color: var(--brand); }

/* 底部彈出確認面板 */
.sheet-bg { position: fixed; inset: 0; background: rgba(46, 33, 27, .35); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
.sheet-bg.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: var(--surface); border-radius: 28px 28px 0 0;
    padding: 12px 20px calc(20px + var(--safe-b)); transform: translateY(105%); transition: transform .4s cubic-bezier(.22, 1, .36, 1); z-index: 51; }
.sheet.on { transform: none; }
.sheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 18px; }
.sheet h3 { font-size: 20px; text-align: center; }
.sheet p { text-align: center; color: var(--ink-2); margin-top: 8px; }
.sheet .acts { display: grid; gap: 10px; margin-top: 22px; }

/* 提示 */
.toast { position: fixed; left: 50%; top: calc(16px + env(safe-area-inset-top)); transform: translate(-50%, calc(-100% - 80px)); max-width: calc(100% - 32px);
    background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1); z-index: 60; text-align: center; }
.toast.on { transform: translate(-50%, 0); }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .35s ease-out both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
