/* ============ 咱家小饭桌 — 全面升级版 ============ */
:root {
  --bg: #faf7f2;
  --card: #ffffff;
  --ink: #33302b;
  --muted: #8a8577;
  --line: #eee5d6;
  --coral: #e8543f;
  --coral-d: #cf3f2a;
  --green: #2e9e7b;
  --amber: #f0a030;
  --shadow: 0 2px 10px rgba(80, 60, 25, 0.07);
  --shadow-lg: 0 10px 30px rgba(80, 60, 25, 0.12);
  --font-d: "ZCOOL KuaiLe", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-tap-highlight-color:transparent; }
body {
  background:var(--bg);
  background-image:radial-gradient(rgba(232,84,63,0.05) 1.2px, transparent 1.2px);
  background-size:26px 26px;
  color:var(--ink);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:15.5px;
  line-height:1.6;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
}
.font-d { font-family:var(--font-d); font-weight:400; }
button { font-family:inherit; cursor:pointer; -webkit-tap-highlight-color:transparent; }
input,select,textarea { font-family:inherit; font-size:inherit; color:inherit; }

/* ---------- 顶栏 ---------- */
.topbar { background:rgba(255,255,255,0.92); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:50; }
.topbar-inner { max-width:1180px; margin:0 auto; padding:10px 20px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.logo { display:flex; align-items:center; gap:8px; font-size:21px; }
.logo-emoji { font-size:24px; }
.today { color:var(--muted); font-size:13px; }
.tabs { margin-left:auto; display:flex; gap:6px; }
.tab {
  border:0; background:transparent; padding:8px 16px; border-radius:999px;
  font-size:15px; color:var(--muted); transition:all .18s ease;
}
.tab:hover { background:rgba(232,84,63,.08); color:var(--ink); }
.tab.active { background:var(--coral); color:#fff; box-shadow:0 3px 10px rgba(232,84,63,.35); }

/* ---------- 页面通用 ---------- */
main { max-width:1180px; margin:0 auto; padding:22px 20px 90px; }
.page { display:none; }
.page.active { display:block; animation:page-in .3s ease; }
@keyframes page-in { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.page-title { margin:6px 0 18px; }
.page-title h1 { font-size:26px; }
.page-title p { color:var(--muted); margin-top:2px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); }
.btn { border:0; border-radius:8px; padding:10px 20px; font-size:15px; transition:all .18s ease; }
.btn-primary { background:var(--coral); color:#fff; box-shadow:0 3px 10px rgba(232,84,63,.3); }
.btn-primary:hover { background:var(--coral-d); transform:translateY(-1px); }
.btn-ghost { background:transparent; color:var(--ink); border:1px solid var(--line); }
.btn-ghost:hover { border-color:var(--coral); color:var(--coral); }
.btn-danger-ghost { background:transparent; color:#c0532f; border:1px dashed #e0b8a6; width:100%; margin-top:8px; }
.btn-danger-ghost:hover { background:rgba(232,84,63,.07); }

/* ---------- 点菜 · 横幅 ---------- */
.banner {
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:linear-gradient(115deg, #ffe8d6 0%, #ffd9c9 55%, #ffe3ee 100%);
  border:1px solid #ffd3bd; border-radius:8px; padding:26px 30px; margin-bottom:18px;
}
.banner h1 { font-size:30px; color:#b3391f; }
.banner p { color:#a05a3c; margin-top:4px; }
.banner-emoji { font-size:56px; filter:drop-shadow(0 4px 6px rgba(180,60,20,.25)); animation:bob 3s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0) rotate(-4deg)} 50%{transform:translateY(-8px) rotate(4deg)} }

/* ---------- 点菜 · 成员 ---------- */
.members-bar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.members-label { color:var(--muted); font-size:14px; white-space:nowrap; }
.member-chips { display:flex; gap:8px; flex-wrap:wrap; }
.chip {
  display:inline-flex; align-items:center; gap:6px; border:1.5px solid var(--line);
  background:var(--card); border-radius:999px; padding:6px 14px; font-size:14.5px; transition:all .15s ease;
}
.chip .cdot { width:9px; height:9px; border-radius:50%; }
.chip.active { color:#fff; box-shadow:0 3px 8px rgba(0,0,0,.15); }
.chip.active .cdot { background:rgba(255,255,255,.85)!important; }
.chip-add { border-style:dashed; color:var(--muted); }
.chip-add:hover { color:var(--coral); border-color:var(--coral); }
.chip-wrap { position:relative; display:inline-flex; }
.chip-x {
  position:absolute; top:-7px; right:-7px; width:18px; height:18px; border-radius:50%;
  border:1px solid var(--line); background:#fff; color:var(--muted); font-size:10px;
  line-height:1; display:grid; place-items:center; padding:0;
  opacity:0; transition:opacity .15s ease;
}
.chip-wrap:hover .chip-x, .chip-x:hover { opacity:1; }
.chip-x:hover { color:var(--coral); border-color:var(--coral); }
@media (pointer:coarse) { .chip-x { opacity:.85; } }

/* ---------- 搜索栏 ---------- */
.search-bar { display:flex; gap:10px; margin-bottom:16px; }
.search-input {
  flex:1; border:1.5px solid var(--line); border-radius:999px; padding:10px 18px;
  font-size:15px; background:var(--card); transition:border-color .2s ease;
}
.search-input:focus { outline:none; border-color:var(--coral); box-shadow:0 0 0 3px rgba(232,84,63,.1); }
.search-add-btn { border-radius:999px; padding:10px 22px; font-size:14.5px; white-space:nowrap; display:none; }
.search-add-btn.visible { display:block; }

/* ---------- 点菜 · 布局 ---------- */
.order-layout { display:grid; grid-template-columns:1fr 340px; gap:20px; align-items:start; }

/* ---------- 点菜 · 菜系标签 ---------- */
.cat-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.cat-tab {
  border:1.5px solid var(--line); background:var(--card); border-radius:999px;
  padding:7px 16px; font-size:14px; color:var(--muted); transition:all .15s ease; white-space:nowrap;
}
.cat-tab:hover { color:var(--ink); border-color:#c0b69a; }
.cat-tab.active { background:#33302b; color:#fff; border-color:#33302b; }

/* ---------- 点菜 · 菜品卡片 ---------- */
.dish-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:12px; }
.dish-card {
  position:relative; background:var(--card); border:1.5px solid var(--line); border-radius:8px;
  padding:14px 14px 12px; text-align:left; transition:all .18s ease; user-select:none;
}
.dish-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-lg); }
.dish-card.picked { border-color:var(--pc,var(--coral)); box-shadow:0 0 0 1px var(--pc,var(--coral)), var(--shadow); }
.dish-card .cuisine-badge {
  position:absolute; top:8px; right:8px; font-size:10.5px; color:var(--muted);
  background:var(--bg); border-radius:4px; padding:1px 7px; opacity:0; transition:opacity .15s ease;
}
.dish-card:hover .cuisine-badge { opacity:1; }
.dish-emoji { font-size:34px; line-height:1; }
.dish-name { font-weight:700; font-size:16px; margin-top:8px; }
.dish-desc { color:var(--muted); font-size:12.5px; margin-top:2px; min-height:18px; }
.dish-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:10px; }
.dish-tag { font-size:11px; color:var(--muted); background:var(--bg); border-radius:4px; padding:2px 7px; }
.dish-spicy { font-size:11px; }
.stepper { display:flex; align-items:center; gap:8px; margin-left:auto; }
.stepper button {
  width:28px; height:28px; border-radius:50%; border:1.5px solid var(--line);
  background:var(--card); font-size:16px; line-height:1; color:var(--ink); transition:all .15s ease;
  display:grid; place-items:center;
}
.stepper button:hover { border-color:var(--coral); color:var(--coral); }
.stepper .qty { min-width:16px; text-align:center; font-weight:700; }
.stepper .qty.zero { color:var(--muted); font-weight:400; }
.dish-del {
  position:absolute; top:6px; left:6px; border:0; background:rgba(255,255,255,.9);
  color:var(--muted); font-size:11px; opacity:0; transition:opacity .15s ease;
  border-radius:50%; width:22px; height:22px; display:grid; place-items:center;
}
.dish-card:hover .dish-del { opacity:.85; }
@media (pointer:coarse) { .dish-del { opacity:.7; } }
.dish-add-card {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  border:1.5px dashed #d8cdb8; background:transparent; border-radius:8px; color:var(--muted);
  min-height:148px; font-size:14px; transition:all .15s ease;
}
.dish-add-card:hover { color:var(--coral); border-color:var(--coral); background:rgba(232,84,63,.04); }
.dish-add-card .plus { font-size:26px; }

/* ---------- 一键下单按钮 ---------- */
.btn-order {
  width:100%; background:var(--green); color:#fff; font-size:16px; font-weight:700;
  padding:13px 20px; border-radius:10px; box-shadow:0 3px 12px rgba(46,158,123,.35);
  transition:all .18s ease;
}
.btn-order:hover:not(:disabled) { background:#238a68; transform:translateY(-1px); }
.btn-order:disabled { background:#c0cfc7; box-shadow:none; cursor:not-allowed; }

/* ---------- 点菜 · 菜单篮 ---------- */
.tray { position:sticky; top:76px; background:var(--card); border:1px solid var(--line); border-radius:8px; box-shadow:var(--shadow); display:flex; flex-direction:column; max-height:calc(100vh - 100px); }
.tray-head { display:flex; align-items:baseline; gap:10px; padding:16px 18px 10px; border-bottom:1px dashed var(--line); }
.tray-head h2 { font-size:21px; }
.tray-count { color:var(--muted); font-size:13px; }
.tray-close { display:none; margin-left:auto; border:0; background:transparent; font-size:16px; color:var(--muted); }
.tray-list { flex:1; overflow-y:auto; padding:8px 14px; }
.tray-empty { text-align:center; color:var(--muted); padding:34px 10px; font-size:14px; }
.tray-empty .big { font-size:34px; display:block; margin-bottom:8px; }
.tray-item { padding:10px 4px; border-bottom:1px dashed var(--line); }
.tray-item.done { opacity:.55; }
.tray-item.done .ti-name { text-decoration:line-through; }
.ti-top { display:flex; align-items:center; gap:8px; }
.ti-emoji { font-size:22px; }
.ti-name { font-weight:700; font-size:15px; }
.ti-total { margin-left:auto; color:var(--muted); font-size:13px; white-space:nowrap; }
.ti-members { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.ti-member { font-size:12px; border-radius:999px; padding:2px 9px; color:#fff; }
.ti-note { margin-top:6px; width:100%; border:1px solid var(--line); border-radius:6px; padding:4px 8px; font-size:12.5px; background:var(--bg); }
.ti-note:focus { outline:1.5px solid var(--amber); }
.ti-actions { display:flex; gap:8px; margin-top:7px; }
.ti-btn { border:0; background:transparent; font-size:12.5px; padding:2px 6px; border-radius:5px; color:var(--muted); }
.ti-btn.serve { color:var(--green); }
.ti-btn.serve:hover { background:rgba(46,158,123,.1); }
.ti-btn.unserve { color:var(--amber); }
.ti-btn.remove:hover { color:var(--coral); background:rgba(232,84,63,.08); }
.tray-foot { padding:12px 14px; border-top:1px dashed var(--line); }

/* ---------- 菜单篮 · 移动端 ---------- */
.tray-fab {
  display:none; position:fixed; right:16px; bottom:16px; z-index:60;
  border:0; border-radius:999px; background:var(--coral); color:#fff;
  padding:13px 20px; font-size:15.5px; box-shadow:0 6px 18px rgba(232,84,63,.45);
}
.fab-badge { background:#fff; color:var(--coral); border-radius:999px; padding:1px 8px; font-weight:700; font-size:13px; }
.tray-backdrop { display:none; position:fixed; inset:0; background:rgba(40,30,15,.4); z-index:64; }
.tray-backdrop.show { display:block; }

/* ---------- 下单确认弹窗 ---------- */
.order-modal-card { max-width:460px !important; }
.order-summary { margin-bottom:14px; max-height:200px; overflow-y:auto; }
.order-summary-list { list-style:none; }
.order-summary-list li {
  display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px dashed var(--line);
}
.order-summary-list li:last-child { border-bottom:0; }
.order-summary-emoji { font-size:22px; }
.order-summary-name { font-weight:700; flex:1; }
.order-summary-qty { color:var(--muted); font-size:13px; }
.order-total-row { margin-top:10px; padding-top:8px; border-top:1.5px solid var(--line); font-weight:700; text-align:right; font-size:16px; }
.order-note-row { margin:14px 0 4px; }
.order-note-row label { font-size:14px; color:var(--muted); display:block; margin-bottom:6px; }
.order-note-row textarea {
  width:100%; border:1px solid var(--line); border-radius:8px; padding:10px 12px;
  resize:vertical; background:var(--bg); font-size:14px;
}
.order-note-row textarea:focus { outline:2px solid rgba(232,84,63,.35); }
.btn-order-lg {
  background:var(--green); color:#fff; font-weight:700; font-size:15px;
  padding:11px 20px; border-radius:8px; border:0;
  box-shadow:0 3px 12px rgba(46,158,123,.35); transition:all .18s ease;
}
.btn-order-lg:hover { background:#238a68; transform:translateY(-1px); }

/* 下单成功弹窗 */
.order-done-card { text-align:center; padding:30px 24px; }
.order-done-emoji { font-size:54px; margin-bottom:8px; }
.order-done-text { color:var(--muted); margin:8px 0 16px; }
.order-done-detail { text-align:left; background:var(--bg); border-radius:8px; padding:14px; font-size:14px; margin-bottom:14px; max-height:160px; overflow-y:auto; }
.order-done-detail ul { list-style:none; }
.order-done-detail li { padding:4px 0; display:flex; align-items:center; gap:6px; }

/* ---------- 留言板 ---------- */
.board-layout { display:grid; grid-template-columns:340px 1fr; gap:20px; align-items:start; }
.composer { padding:18px; }
.composer-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.composer-row label { color:var(--muted); font-size:14px; }
.composer select, .event-form input, .modal-card input, .modal-card select, .chore-select {
  border:1px solid var(--line); border-radius:8px; padding:8px 12px; background:var(--card);
}
.composer select:focus, textarea:focus, .event-form input:focus, .modal-card input:focus { outline:2px solid rgba(232,84,63,.35); }
.composer textarea {
  width:100%; border:1px solid var(--line); border-radius:8px; padding:10px 12px;
  resize:vertical; background:var(--bg);
}
.composer-foot { display:flex; align-items:center; justify-content:space-between; margin-top:10px; }
.char-count { color:var(--muted); font-size:12.5px; }
.msg-list { display:flex; flex-direction:column; gap:12px; }
.msg-card { display:flex; gap:12px; padding:14px 16px; }
.msg-avatar {
  width:38px; height:38px; border-radius:50%; color:#fff; display:grid; place-items:center;
  font-size:16px; flex:none;
}
.msg-body { flex:1; min-width:0; }
.msg-meta { display:flex; align-items:baseline; gap:10px; }
.msg-name { font-weight:700; }
.msg-time { color:var(--muted); font-size:12px; }
.msg-text { margin-top:4px; word-break:break-word; white-space:pre-wrap; }
.msg-del { border:0; background:transparent; color:var(--muted); font-size:13px; align-self:flex-start; }
.msg-del:hover { color:var(--coral); }
.msg-empty, .event-empty { color:var(--muted); text-align:center; padding:40px 0; }

/* ---------- 值日表 ---------- */
.chores-card { padding:8px 18px 18px; }
.chore-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px dashed var(--line); }
.chore-row:last-child { border-bottom:0; }
.chore-icon { font-size:24px; }
.chore-name { font-weight:700; font-size:16px; }
.chore-who { margin-left:auto; display:flex; align-items:center; gap:8px; }
.chore-select { min-width:110px; }
.chore-del { border:0; background:transparent; color:var(--muted); }
.chore-del:hover { color:var(--coral); }
.chores-foot { display:flex; gap:10px; margin-top:16px; }

/* ---------- 纪念日 ---------- */
.event-form { display:flex; align-items:center; gap:10px; padding:16px 18px; margin-bottom:16px; flex-wrap:wrap; }
.event-form input[type="text"] { flex:1; min-width:180px; }
.ev-yearly { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:14px; }
.event-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.event-card { position:relative; padding:22px 18px; text-align:center; }
.event-emoji { font-size:30px; }
.event-name { font-weight:700; font-size:17px; margin-top:6px; }
.event-date { color:var(--muted); font-size:13px; }
.event-days { margin-top:10px; font-size:30px; font-weight:800; color:var(--coral); }
.event-days small { font-size:14px; font-weight:400; color:var(--muted); }
.event-days.today { color:var(--green); }
.event-del { position:absolute; top:8px; right:8px; border:0; background:transparent; color:var(--muted); opacity:.6; }
.event-del:hover { color:var(--coral); opacity:1; }
.event-yearly-badge { display:inline-block; font-size:11px; color:var(--amber); border:1px solid #f3d9a8; border-radius:4px; padding:1px 6px; margin-top:6px; }

/* ---------- 弹窗 ---------- */
.modal { display:none; position:fixed; inset:0; z-index:80; background:rgba(40,30,15,.45); align-items:center; justify-content:center; padding:20px; }
.modal.show { display:flex; }
.modal-card { background:var(--card); border-radius:8px; padding:22px; width:100%; max-width:380px; box-shadow:var(--shadow-lg); animation:page-in .22s ease; }
.modal-card h3 { font-size:20px; margin-bottom:14px; }
.modal-card input[type="text"] { width:100%; margin-bottom:12px; }
.modal-card select { width:100%; margin-top:12px; }
.emoji-picker { display:grid; grid-template-columns:repeat(8, 1fr); gap:4px; }
.emoji-picker button { border:1.5px solid transparent; background:transparent; border-radius:6px; font-size:20px; padding:4px 0; }
.emoji-picker button:hover { background:var(--bg); }
.emoji-picker button.sel { border-color:var(--coral); background:rgba(232,84,63,.08); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:18px; flex-wrap:wrap; }

/* ---------- Toast ---------- */
.toast {
  position:fixed; left:50%; bottom:30px; transform:translateX(-50%) translateY(20px);
  background:#33302b; color:#fff; padding:10px 22px; border-radius:999px; font-size:14.5px;
  opacity:0; pointer-events:none; transition:all .25s ease; z-index:90;
}
.toast.show { opacity:1; transform:translateX(-50%) translateY(0); }

/* ============ 响应式 ============ */

/* 中等屏幕：菜单篮变成两列，菜系横向滚动 */
@media (max-width:1040px) {
  .order-layout { grid-template-columns:1fr; }
  .dish-grid { grid-template-columns:repeat(3, 1fr); }
  .tray {
    position:fixed; left:0; right:0; bottom:0; top:auto; z-index:65;
    max-height:72vh; border-radius:14px 14px 0 0; transform:translateY(102%);
    transition:transform .28s ease; box-shadow:0 -8px 30px rgba(60,40,10,.25);
  }
  .tray.open { transform:translateY(0); }
  .tray-close { display:block; }
  .tray-fab { display:flex; align-items:center; gap:8px; }
  .board-layout { grid-template-columns:1fr; }
}

/* 平板：菜品两列 */
@media (max-width:768px) {
  .dish-grid { grid-template-columns:repeat(2, 1fr); gap:10px; }
  .event-grid { grid-template-columns:repeat(2, 1fr); }
  .banner { padding:20px 22px; }
  .banner h1 { font-size:24px; }
  .banner-emoji { font-size:42px; }
  .search-input { font-size:14px; padding:9px 14px; }
}

/* 手机：紧凑布局 */
@media (max-width:620px) {
  main { padding:16px 12px 100px; }
  .topbar-inner { gap:8px; padding:8px 12px; }
  .logo { font-size:18px; }
  .logo-emoji { font-size:20px; }
  .today { display:none; }
  .tabs { margin-left:0; width:100%; justify-content:space-between; }
  .tab { padding:7px 10px; font-size:13px; }
  .banner { padding:18px 16px; flex-direction:column; text-align:center; }
  .banner h1 { font-size:22px; }
  .banner p { font-size:14px; }
  .banner-emoji { font-size:38px; animation:none; }
  .members-bar { gap:6px; }
  .members-label { font-size:12.5px; }
  .chip { padding:5px 10px; font-size:13px; }
  .search-bar { flex-direction:column; gap:8px; }
  .search-add-btn { width:100%; text-align:center; }
  .cat-tabs { gap:5px; overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; padding-bottom:4px; }
  .cat-tab { flex-shrink:0; padding:6px 12px; font-size:13px; }
  .dish-grid { grid-template-columns:repeat(2, 1fr); gap:8px; }
  .dish-card { padding:12px 10px 10px; }
  .dish-emoji { font-size:28px; }
  .dish-name { font-size:14px; }
  .dish-desc { display:none; }
  .dish-meta { flex-direction:column; align-items:flex-start; gap:6px; margin-top:8px; }
  .stepper { margin-left:0; }
  .stepper button { width:26px; height:26px; font-size:15px; }
  .event-grid { grid-template-columns:1fr; }
  .event-form { flex-direction:column; align-items:stretch; }
  .event-form input[type="text"] { min-width:0; }
  .modal-card { max-width:100%; margin:0 8px; }
  .order-modal-card { max-width:100% !important; }
  .tray-fab { right:12px; bottom:12px; padding:11px 16px; font-size:14px; }
  .composer { padding:14px; }
  .composer-row { flex-direction:column; align-items:flex-start; gap:6px; }
  .modal-actions { flex-direction:column; }
  .modal-actions .btn { width:100%; text-align:center; }
}

/* ============ 登录页 ============ */
.login-screen {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  background-image: radial-gradient(rgba(232,84,63,0.04) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 36px 30px;
  text-align: center;
  max-width: 380px;
  width: 90%;
}
.login-emoji { font-size: 52px; margin-bottom: 8px; }
.login-card h1 { font-size: 28px; margin-bottom: 6px; }
.login-card .login-sub { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.login-input-group {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px;
}
.login-input-group input {
  border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 16px;
  font-size: 16px; text-align: center; background: var(--bg);
  transition: border-color .2s ease;
}
.login-input-group input:focus {
  outline: none; border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,84,63,.1);
}
.login-card .btn {
  width: 100%; padding: 13px; font-size: 17px; font-weight: 700;
  border-radius: 10px; border: 0;
  background: var(--green); color: #fff;
  box-shadow: 0 3px 12px rgba(46,158,123,.35);
  transition: all .18s ease;
}
.login-card .btn:hover { background: #238a68; transform: translateY(-1px); }
.login-card .btn:disabled { background: #c0cfc7; box-shadow: none; cursor: not-allowed; }
.login-hint { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
.login-create {
  margin-top: 12px; font-size: 14px; color: var(--muted);
}
.login-create a {
  color: var(--coral); text-decoration: underline; cursor: pointer;
}
.login-create a:hover { color: var(--coral-d); }

/* 设置栏 */
.settings-bar {
  display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: 12.5px; color: var(--muted);
}
.settings-bar code {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 4px; padding: 2px 8px; font-size: 12.5px;
}
.settings-bar .btn-ghost { padding: 4px 12px; font-size: 12.5px; }
