/* 獸獸木前台共用樣式（T-606 起）。顏色照 08-3 獸獸木\設計圖\定案\ 樣板與色票 */
:root {
  --rust: #8C3503; --wood: #8C5423; --amber: #F2B138; --peach: #FFE8DA;
  --muted: #7A6458; --line: #E7E1DA; --bg2: #F5F0EA; --lg: #06C755; --ink: #4a3226;
  --font: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg2); -webkit-font-smoothing: antialiased; }
button { font-family: inherit; cursor: pointer; }
.muted { color: var(--muted); }

/* 表頭 */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
.hdr .logo { font-weight: 700; font-size: 18px; color: var(--rust); text-decoration: none; margin-right: auto; }
.ib { position: relative; display: flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--ink); font-size: 14px; padding: 4px; text-decoration: none; }
.ib:hover { color: var(--rust); }
.memu { position: absolute; top: 48px; right: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 6px 20px rgba(0,0,0,.12); padding: 6px; display: none; min-width: 140px; }
.memu.on { display: block; }
.memu a, .memu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.memu a:hover, .memu button:hover { background: var(--bg2); }

/* 頁面本體（空殼頁） */
.page { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
.page h1 { font-size: 22px; margin: 0 0 10px; }

/* 登入視窗：手機＝底部滑出（蝦皮風 V3），電腦＝置中彈窗（電腦版 V5） */
.mask { position: fixed; inset: 0; background: rgba(43,33,28,.55); z-index: 80; display: none; }
.mask.on { display: flex; }
.lg-d { display: none; }
.sh { margin-top: auto; width: 100%; background: #fff; border-radius: 16px 16px 0 0; padding: 24px 18px 26px; text-align: center; }
.sh h3 { font-size: 17px; color: var(--rust); margin: 0 0 8px; }
.lineBig { width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--lg); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ghost { width: 100%; height: 46px; border-radius: 10px; background: #fff; border: 1.5px solid var(--lg); color: #05a648; font-weight: 700; font-size: 15px; }
.del { background: none; border: 0; color: var(--muted); }
.modal { background: #fff; border-radius: 16px; width: 440px; max-width: calc(100vw - 32px); box-shadow: 0 10px 40px rgba(0,0,0,.3); margin: auto; }
.modal header { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); font-weight: 700; }
.modal header button { margin-left: auto; background: none; border: 0; font-size: 22px; color: var(--muted); }
.modal .mb { padding: 20px; text-align: center; }
.btn { height: 44px; padding: 0 22px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink); }
.btn.out { border-color: var(--rust); color: var(--rust); font-weight: 700; }
.btn.line { background: var(--lg); border-color: var(--lg); color: #fff; font-weight: 700; }
.lg-err { color: #b3261e; font-size: 13px; margin: 0 0 12px; }
@media (min-width: 768px) {
  .lg-m { display: none; }
  .lg-d { display: block; }
  .mask.on { align-items: center; justify-content: center; }
}

.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: rgba(43,33,28,.9); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; white-space: pre-line; text-align: center; z-index: 90; }
