:root {
  /* 只用淺色：鼠尾草綠＋霧藍為主（放鬆、舒服），奶油黃點綴（開心），不用大面積橘紅（食物色）和黑色（壓迫感） */
  color-scheme: light;
  --bg: #f1f6f3; --card: #ffffff; --ink: #2f3d3a; --muted: #7a8a86; --line: #dbe6e0;
  --accent: #5c9c8a; --accent-2: #f0cf72; --accent-ink: #fff; --danger: #c7695e; --ok: #6fa37f; --sage: #8fbba9; --sky: #8fb8cc;
  --hdr-a: #7fb9a6; --hdr-b: #6a9fb5;
  --shadow: 0 2px 12px rgba(60, 100, 90, .08);
  --m-hungry: #e3b26a; --m-crave: #d99a74; --m-energy: #e8cf6a; --m-calm: #7fb8aa; --m-ok: #93bf84;
  --m-sleepy: #a3a4d0; --m-cold: #86b0d3; --m-headache: #c595b0; --m-grumpy: #b08a80; --m-palp: #c7695e; --m-dizzy: #9a7fae;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.55 -apple-system, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
#app { max-width: 560px; margin: 0 auto; padding: 0 12px; }
.boot { padding: 40vh 0; text-align: center; color: var(--muted); }
h1, h3, h4 { margin: .2em 0 .4em; line-height: 1.3; }
h3 { font-size: 1.08rem; }
p { margin: .4em 0; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .center { text-align: center; }
.hidden { display: none !important; }
.card { background: var(--card); border-radius: 18px; padding: 16px; margin: 12px 0; box-shadow: var(--shadow); }
.empty { text-align: center; color: var(--muted); padding: 24px 0; }

.btn { appearance: none; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 600;
  padding: 11px 16px; cursor: pointer; min-height: 44px; }
.btn:disabled { opacity: .5; }
.btn.big { width: 100%; font-size: 1.1rem; padding: 14px; margin-top: 12px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: .9rem; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.danger { background: var(--danger); }
.danger-t { color: var(--danger) !important; }
.link { background: none; border: 0; color: var(--accent); font: inherit; cursor: pointer; padding: 8px; }
.pill { font-size: .72rem; background: var(--line); border-radius: 99px; padding: 2px 8px; margin-left: 6px; }
.pill.doc { background: var(--accent); color: #fff; }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; margin: 4px 0 8px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.lbl { display: block; font-weight: 600; font-size: .9rem; margin-top: 8px; }

/* 入場 */
.landing { padding-bottom: 30px; }
.hero { text-align: center; padding: 36px 0 8px; }
.hero-icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 6px 20px rgba(60, 110, 110, 0.21); }
.hero h1 { font-size: 2rem; }
.sub { color: var(--muted); }
.countdown { display: inline-block; margin-top: 10px; background: var(--card); border-radius: 99px; padding: 8px 18px; box-shadow: var(--shadow); }
.countdown b { font-variant-numeric: tabular-nums; color: var(--accent); }
.avatars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 6px 0 10px; }
.av { font-size: 26px; background: var(--bg); border: 2px solid transparent; border-radius: 12px; padding: 6px 0; cursor: pointer; }
.av.sel { border-color: var(--accent); background: #ffe7da; }
.safety { background: var(--bg); border-radius: 12px; padding: 10px 12px; margin: 8px 0; font-size: .9rem; }
.safety summary { font-weight: 600; cursor: pointer; }
.safety ul { padding-left: 1.2em; margin: .3em 0; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; margin-top: 8px; }
.agree input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }

/* 頁首 */
.hdr { position: sticky; top: 0; z-index: 5; background: linear-gradient(160deg, var(--hdr-a), var(--hdr-b)); color: #fff; margin: 0 -12px; padding: calc(10px + env(safe-area-inset-top)) 16px 12px; border-radius: 0 0 22px 22px; box-shadow: 0 4px 16px rgba(60, 110, 110, 0.18); }
.me { display: flex; align-items: center; gap: 6px; font-size: .92rem; }
.me-av { font-size: 22px; }
.me .pill { background: rgba(255,255,255,.25); }
.clock { font-size: 2.3rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .5px; line-height: 1.2; }
.clock small { font-size: .9rem; font-weight: 500; opacity: .9; }
.bar { position: relative; height: 10px; background: rgba(255,255,255,.28); border-radius: 99px; margin: 6px 0 18px; }
.bar .fill { height: 100%; background: #fff; border-radius: 99px; transition: width 1s; }
.bar .tick { position: absolute; top: 12px; transform: translateX(-50%); font-style: normal; font-size: .68rem; opacity: .7; }
.bar .tick.on { opacity: 1; font-weight: 700; }
.bar .tick::before { content: ''; position: absolute; top: -12px; left: 50%; width: 2px; height: 10px; background: rgba(255,255,255,.6); }
.hdr-row { display: flex; justify-content: space-between; align-items: center; font-size: .9rem; gap: 8px; }
.hdr-row .muted { color: rgba(255,255,255,.85); }

.announce { background: color-mix(in srgb, var(--accent-2) 22%, var(--card)); color: var(--ink); border-radius: 14px; padding: 10px 14px; margin-top: 12px; font-size: .92rem; }
.ticker { overflow: hidden; margin-top: 10px; white-space: nowrap; font-size: .85rem; color: var(--muted); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-in { display: inline-block; animation: scroll 40s linear infinite; }
.ticker-in span { margin-right: 22px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* 打卡 */
.checkin-title { font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; }
.moods { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 10px 0; }
.mood { border: 0; background: var(--bg); border-radius: 14px; padding: 6px 0 4px; cursor: pointer; color: var(--ink); display: flex; flex-direction: column; align-items: center; }
.mood span { font-size: 26px; line-height: 1.2; }
.mood small { font-size: .7rem; color: var(--muted); }
.mood:active { transform: scale(.92); }
.mood.danger small { color: var(--danger); }
.checkin-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* 卡片 */
.milestone { border-left: 5px solid var(--accent); }
.ms-h { font-size: .8rem; color: var(--accent); font-weight: 700; }
.lv { font-size: .7rem; font-weight: 600; border-radius: 99px; padding: 2px 8px; vertical-align: middle; margin-left: 4px; }
.lv-solid { background: #dff3e7; color: #1e6b45; } .lv-varies { background: #fff0d4; color: #7a5200; } .lv-infer { background: #ece6f7; color: #57418a; }
.night { background: #23213d; color: #e8e6ff; }
.tip { background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.soon { font-size: .92rem; }

/* 貼文 */
.post { background: var(--card); border-radius: 18px; padding: 12px 14px; margin: 12px 0; box-shadow: var(--shadow); }
.post-hd { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.av-sm { font-size: 22px; }
.x { margin-left: auto; background: none; border: 0; cursor: pointer; font-size: 1rem; opacity: .6; padding: 4px; color: var(--ink); }
.post-mood { display: inline-block; background: var(--bg); border-radius: 99px; padding: 2px 10px; margin-top: 6px; font-size: .9rem; }
.post-tx { white-space: pre-wrap; word-break: break-word; }
.post-img { width: 100%; border-radius: 12px; margin-top: 6px; display: block; }
.post-ft { display: flex; gap: 8px; margin-top: 8px; }
.post-ft button { background: var(--bg); border: 0; border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink); }
.cheer.on { background: #ffe1d3; color: var(--accent); }
.comments { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.comments .c { display: flex; gap: 6px; align-items: baseline; font-size: .9rem; padding: 3px 0; flex-wrap: wrap; }
.cform { display: flex; gap: 6px; align-items: center; }
.cform input { margin: 4px 0; }
.cform .btn { flex: none; white-space: nowrap; }

/* 心情圖 */
.chart-scroll { overflow-x: auto; margin: 8px -4px; }
.chart-scroll svg { display: block; }
.axis { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.mc-empty { fill: var(--line); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .78rem; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 3px; }
.hbar { display: grid; grid-template-columns: 90px 1fr 36px; gap: 8px; align-items: center; margin: 6px 0; font-size: .9rem; }
.hbar div { background: var(--bg); border-radius: 99px; height: 12px; overflow: hidden; }
.hbar i { display: block; height: 100%; border-radius: 99px; }
.hbar b { text-align: right; }
.mc-hungry { fill: var(--m-hungry); background: var(--m-hungry); } .mc-crave { fill: var(--m-crave); background: var(--m-crave); }
.mc-energy { fill: var(--m-energy); background: var(--m-energy); } .mc-calm { fill: var(--m-calm); background: var(--m-calm); }
.mc-ok { fill: var(--m-ok); background: var(--m-ok); } .mc-sleepy { fill: var(--m-sleepy); background: var(--m-sleepy); }
.mc-cold { fill: var(--m-cold); background: var(--m-cold); } .mc-headache { fill: var(--m-headache); background: var(--m-headache); }
.mc-grumpy { fill: var(--m-grumpy); background: var(--m-grumpy); } .mc-palp { fill: var(--m-palp); background: var(--m-palp); }
.mc-dizzy { fill: var(--m-dizzy); background: var(--m-dizzy); }

/* 專欄 */
.article-body { line-height: 1.8; }
.opts { display: grid; gap: 8px; margin: 10px 0; }
.opt { position: relative; overflow: hidden; text-align: left; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; font: inherit; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; }
.opt i { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(242, 107, 58, .15); }
.opt span, .opt b { position: relative; }
.opt.right { border-color: var(--ok); } .opt.right i { background: rgba(47, 158, 106, .2); }
.opt.wrong { border-color: var(--danger); }
.ok { color: var(--ok); font-weight: 600; } .ng { color: var(--danger); font-weight: 600; }
.lb { display: flex; gap: 8px; align-items: center; padding: 4px 0; }
.lb b { margin-left: auto; }

/* 我的 */
.badges { display: flex; justify-content: space-between; margin: 8px 0; }
.badge { text-align: center; font-size: .8rem; color: var(--muted); filter: grayscale(1); opacity: .45; }
.badge span { display: block; font-size: 34px; }
.badge.on { filter: none; opacity: 1; color: var(--ink); font-weight: 700; }
.card .btn { width: 100%; margin-top: 8px; }
.admin hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.optrow { display: flex; gap: 8px; align-items: center; }
.optrow input[type=radio] { width: 20px; flex: none; accent-color: var(--accent); }

/* 底部分頁 */
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: flex; background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabs button { flex: 1; background: none; border: 0; padding: 8px 0 10px; font: inherit; font-size: .75rem; color: var(--muted); cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; }
.tabs button span { font-size: 22px; line-height: 1.2; }
.tabs button.on { color: var(--accent); font-weight: 700; }
.dot { position: absolute; top: 4px; left: 55%; background: var(--danger); color: #fff; border-radius: 99px; font-size: .65rem; padding: 0 5px; }

/* 視窗 */
.modal { position: fixed; inset: 0; z-index: 20; background: rgba(20, 10, 5, .45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--card); width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.row { display: flex; gap: 8px; margin-top: 12px; } .row .btn { flex: 1; }
.col { display: grid; gap: 8px; margin-top: 12px; }
.big-emoji { font-size: 64px; }
.photo-btn { display: inline-block; background: var(--bg); border-radius: 12px; padding: 8px 14px; cursor: pointer; font-weight: 600; }
.cprev { width: 100%; border-radius: 12px; margin-top: 8px; }
.danger-box { border-left: 5px solid var(--danger); padding-left: 12px; }
.cert { width: 100%; border-radius: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; background: rgba(30, 20, 15, .9); color: #fff; padding: 10px 18px; border-radius: 99px; font-size: .9rem; max-width: 90vw; text-align: center; }

@media (max-width: 380px) {
  .moods { grid-template-columns: repeat(4, 1fr); }
  .clock { font-size: 2rem; }
}

/* ───── v2：捏臉、寵物、酮體 ───── */
.avwrap { display: inline-flex; border-radius: 50%; overflow: hidden; flex: none; vertical-align: middle; }
.avwrap svg { display: block; }
.avphoto { display: block; object-fit: cover; border-radius: 50%; }
.avemoji { line-height: 1; }
.hdr-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hdr-l { min-width: 0; }
.hdr-pet { background: rgba(255,255,255,.18); border: 0; border-radius: 18px; padding: 2px 6px 6px; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; flex: none; }
.hdr-pet small { font-size: .7rem; line-height: 1.25; text-align: center; font-weight: 600; }
.hdr-pet small span { opacity: .85; font-weight: 400; }
.op { opacity: .85; }
.checkin-row.three { grid-template-columns: 1fr 1.3fr 1fr; }
.btn.fire { border-color: #ffb08a; color: #e2522a; }
.reading-chip { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; padding: 8px 14px; border-radius: 14px; background: color-mix(in srgb, var(--zc) 16%, transparent); border: 1.5px solid var(--zc); }
.reading-chip b { font-size: 1.5rem; }
.reading-chip em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--zc); }
.evolve-chip { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 14px; padding: 4px 12px 4px 4px; margin-top: 8px; }
.sponsor { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: 16px; padding: 10px 14px; margin: 12px 0; box-shadow: var(--shadow); font-size: .82rem; color: var(--muted); }
.sponsor img { height: 36px; flex: none; background: #fff; border-radius: 8px; padding: 3px 6px; }
.sponsor p { margin: 0; }
.seg { display: flex; gap: 4px; background: var(--bg); border-radius: 14px; padding: 4px; margin: 8px 0; }
.seg.wide { background: var(--card); box-shadow: var(--shadow); margin-top: 12px; }
.seg button { flex: 1; border: 0; background: none; border-radius: 10px; padding: 8px 4px; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--accent); color: #fff; font-weight: 700; }
.rin { display: flex; align-items: center; gap: 8px; }
.rin input { font-size: 2rem; font-weight: 800; text-align: center; }
.rin span { font-weight: 700; color: var(--muted); flex: none; }
.gauge { margin: 10px 0 8px; padding: 8px 10px 8px; background: #eef4f1; border: 2px solid var(--line); }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge text { font: 700 11px ui-monospace, "SF Mono", Menlo, monospace; fill: #8a7d72; }
.gauge-lbl { display: flex; margin-top: 2px; }
.gauge-lbl span { text-align: center; font-size: .72rem; line-height: 1.25; color: var(--muted); padding: 0 1px; min-width: 0; word-break: break-all; }
.gauge-lbl span.on { color: var(--zc); font-weight: 800; }
.center .gauge { text-align: left; }
.reading-big { font-size: 2.6rem; font-weight: 800; color: var(--zc); margin-top: 8px; }
.reading-big small { font-size: 1rem; }
.kpi { display: flex; align-items: baseline; gap: 6px; margin: 6px 0; }
.kpi span { color: var(--muted); font-size: .85rem; } .kpi b { font-size: 1.8rem; color: var(--accent); }
.barlab { font-size: 9px; fill: #fff; text-anchor: middle; font-weight: 700; paint-order: stroke; stroke: rgba(0,0,0,.35); stroke-width: 2px; }
.stages { display: flex; justify-content: center; gap: 4px; margin: 4px 0; }
.stages span { font-size: .72rem; padding: 2px 8px; border-radius: 99px; background: var(--bg); color: var(--muted); }
.stages span.on { background: var(--accent); color: #fff; }
.hbar small { grid-column: 1 / -1; margin: -4px 0 2px 98px; color: var(--muted); font-size: .72rem; }
.evolve .evo-old { opacity: .6; filter: grayscale(.4); }
.evolve .evo-arrow { animation: pop 1s ease-in-out infinite alternate; }
.evolve .evo-new { animation: evo 1.1s ease-out; }
@keyframes evo { 0% { transform: scale(.3); filter: brightness(3); opacity: 0; } 60% { transform: scale(1.15); filter: brightness(1.6); opacity: 1; } 100% { transform: scale(1); filter: none; } }
@keyframes pop { to { transform: translateY(4px); } }
.pet-bob { animation: bob 2.4s ease-in-out infinite; transform-origin: 0 0; }
@keyframes bob { 50% { transform: translateY(-3px) scale(1.02, .98); } }
.egg-wobble { animation: wob 3s ease-in-out infinite; transform-origin: 0 0; }
@keyframes wob { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-6deg); } 90% { transform: rotate(6deg); } 95% { transform: rotate(-3deg); } }
.egg-shake { animation: shake 1.2s ease-in-out infinite; transform-origin: 0 0; }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-8deg); } 70%, 80%, 90% { transform: rotate(8deg); } }
.flame { animation: flick .6s ease-in-out infinite alternate; transform-origin: 0 0; }
@keyframes flick { to { transform: scale(1.04, 1.08); opacity: .9; } }
.pet-spark { animation: tw 1.6s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .2; } }
.petsvg.frozen { filter: saturate(.55); }
@media (prefers-reduced-motion: reduce) { .pet-bob, .egg-wobble, .egg-shake, .flame, .pet-spark, .ticker-in { animation: none; } }
.zoo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; }
.zoo-grid.small { grid-template-columns: repeat(4, 1fr); }
.zoo-cell { background: var(--bg); border-radius: 14px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; font-size: .78rem; min-width: 0; }
.zoo-cell b { font-size: .8rem; }
.zoo-cell small { color: var(--muted); font-size: .68rem; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0 3px; max-width: 100%; line-height: 1.35; text-align: center; }
.zoo-cell.now { outline: 2px solid var(--accent); }
.empty-slot span { font-size: 2.4rem; color: var(--muted); height: 96px; display: flex; align-items: center; }
.species-count { display: flex; justify-content: space-around; font-weight: 700; }
.species-count span { display: flex; flex-direction: column; align-items: center; font-size: .85rem; }
.eggs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 6px 0 10px; }
.egg { background: var(--bg); border: 2px solid transparent; border-radius: 14px; padding: 2px 0 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; color: var(--ink); }
.egg small { font-size: .72rem; }
.egg.sel { border-color: var(--accent); background: #ffe7da; color: #2a1d17; }
.av-pick { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.av-pick > span { border-radius: 50%; overflow: hidden; display: inline-flex; }
.av-pick .btn { width: auto; margin: 0; }
.ed-preview { display: flex; justify-content: center; margin-bottom: 8px; }
.ed-preview svg { border-radius: 50%; }
.ed-quick { display: flex; gap: 6px; justify-content: center; margin-bottom: 8px; }
.ed-quick .btn { width: auto; margin: 0; }
.ed-row { margin: 8px 0; }
.ed-lbl { font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.ed-opts { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
.ed-opt { flex: none; border: 2px solid transparent; background: var(--bg); border-radius: 12px; padding: 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; color: var(--ink); font: inherit; font-size: .8rem; }
.ed-opt svg { border-radius: 50%; }
.ed-opt small { font-size: .66rem; }
.ed-opt.sel { border-color: var(--accent); }
.sw { display: block; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.mystats { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); margin: 6px 0; }
.mystats b { color: var(--ink); }
.me-row { display: flex; align-items: center; gap: 12px; }
.post-hd .avwrap { margin-right: 2px; }
.comments .c .avwrap { align-self: center; }
@media (max-width: 380px) { .zoo-grid.small { grid-template-columns: repeat(3, 1fr); } }

.post-img { cursor: zoom-in; }
.lightbox { width: 100%; max-height: 75vh; object-fit: contain; border-radius: 12px; background: #000; }
.btn.more { width: 100%; margin: 4px 0 12px; }
.x.ban { margin-left: 0; }

/* ───── v3：電子雞液晶螢幕 ───── */
.petcard { margin: 12px 0; background: linear-gradient(160deg, #f4f9f6, #dfece6); border-radius: 26px; padding: 12px 12px 8px; box-shadow: var(--shadow), inset 0 -3px 0 rgba(0,0,0,.08); }
.lcd-wrap { background: #9aa67e; border-radius: 12px; padding: 6px; box-shadow: inset 0 2px 6px rgba(40,80,70,.25); cursor: pointer; line-height: 0; }
.lcd-wrap svg { display: block; border-radius: 8px; }
.petcap small { color: var(--muted); }
svg.lcd { border-radius: 10px; image-rendering: pixelated; }
.lcd-hop { animation: lcdhop 1s steps(1) infinite; }
@keyframes lcdhop { 50% { transform: translateY(-1px); } }
.lcd-wobble { animation: lcdwob 2.4s steps(1) infinite; }
@keyframes lcdwob { 80% { transform: translateX(1px); } 90% { transform: translateX(-1px); } }
.lcd-shake { animation: lcdshake .5s steps(1) infinite; }
@keyframes lcdshake { 50% { transform: translateX(1px); } }
.petsvg.frozen { filter: none; opacity: .85; }
@media (prefers-reduced-motion: reduce) { .lcd-hop, .lcd-wobble, .lcd-shake { animation: none; } }

.evo-line { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 6px 0; }
.evo-line > div { display: flex; flex-direction: column; align-items: center; font-size: .7rem; text-align: center; }
.evo-line svg { width: 100%; height: auto; }
.evo-line .off { opacity: .45; }
.evo-line .q { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; background: var(--bg); border-radius: 8px; font-size: 1.4rem; color: var(--muted); }
.evo-line small { color: var(--muted); }
.lcd-wrap { background: #a9c7ba; }

/* 自製點陣圖示 */
.pixicon { display: inline-block; vertical-align: middle; image-rendering: pixelated; }
.mood span { line-height: 0; }
.mood .pixicon { width: 34px; height: 34px; }
.post-mood .pixicon, .ticker .pixicon, .legend .pixicon, .hbar .pixicon { margin-right: 2px; }

.tabs button span { line-height: 0; margin-bottom: 2px; }
.tabs button:not(.on):not(.plus-tab) .pixicon { filter: grayscale(.85); opacity: .6; }
.checkin-row .btn { display: flex; align-items: center; justify-content: center; gap: 4px; }
.badge .pixicon { width: 36px; height: 36px; }
.mystats .pixicon, .hdr-row .pixicon { margin-right: 2px; vertical-align: -3px; }

/* 動態上的大頭貼＋暱稱：可點開對方的動物園 */
.who { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.who:active { opacity: .6; }

/* 下次斷食預告：像素蛋＋直角框，不走彩色邊條卡片 */
.next-card { display: flex; gap: 12px; align-items: center; text-align: left; margin-top: 14px; padding: 12px; background: var(--card); border: 2px solid var(--accent); box-shadow: 4px 4px 0 rgba(0,0,0,.25); }
.next-egg { flex: none; }
.next-card small { display: block; font-size: .72rem; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.next-card b { display: block; font-size: 1.05rem; margin: 2px 0; }
.next-card span { display: block; font-size: .85rem; color: var(--muted); }
.next-card .next-cd { display: inline-block; margin-top: 4px; padding: 1px 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: .78rem; }
.next-card p { margin: 6px 0 0; font-size: .85rem; }

/* 全場一起進化的卡片：一個時間點一張，取代每個人各自分享 */
.group-evo { display: flex; align-items: center; gap: 12px; border: 2px dashed var(--accent); box-shadow: none; }
.group-evo small { display: block; color: var(--accent); font-weight: 700; font-size: .75rem; }
.group-evo b { font-size: .98rem; }

.rc-code { margin: 10px auto; padding: 12px 8px; text-align: center; font: 800 2rem ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .18em;
  background: #eef4f1; color: #2f5f55; border: 2px dashed var(--sage); }

.prep { border: 2px solid var(--accent); box-shadow: 4px 4px 0 rgba(0,0,0,.25); }
.prep > b { font-size: 1.05rem; }
.prep .row { margin-top: 8px; }
.refeed ol { margin: 6px 0 8px; padding-left: 1.3em; font-size: .92rem; line-height: 1.6; }
.refeed li { margin: 4px 0; }
.refeed .warn-t { color: var(--danger); }
.refeed-links { display: flex; flex-direction: column; gap: 6px; }
.refeed-links a { color: var(--accent); font-weight: 600; text-decoration: none; font-size: .9rem; }

/* 思思醫師字標 */
.brand-logo { display: inline-block; color: var(--ink); line-height: 0; }
.brand-logo svg { height: 100%; width: auto; display: block; }
.hero-brand { margin: 14px 0 -4px; opacity: .9; }
.brand-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 0 20px; opacity: .55; }
.brand-foot a { line-height: 0; }
.brand-foot small { font-size: .7rem; letter-spacing: .2em; color: var(--muted); }

a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }

.checkin-row.four { grid-template-columns: repeat(4, 1fr); }
.checkin-row.four .btn { font-size: .85rem; padding: 8px 4px; flex-direction: column; gap: 2px; }
/* 這次的規則 */
.rules .rule { display: flex; gap: 10px; font-size: .88rem; padding: 5px 0; border-top: 1px dashed var(--line); text-align: left; }
.rules .rule b { flex: none; width: 2.6em; color: var(--accent); }
.rules-open { margin: 14px 0 0; padding: 10px 12px; background: var(--card); border: 2px solid var(--line); }
.rules-h { font-size: .9rem; margin-bottom: 4px; text-align: left; }
details.rules summary { cursor: pointer; font-size: .92rem; }
details.rules[open] summary { margin-bottom: 6px; }

.test-bar { position: sticky; top: 0; z-index: 50; background: #6f8fa8; color: #fff; text-align: center; font-size: .78rem; font-weight: 700; padding: 3px 8px; letter-spacing: .05em; }
.is-test .hdr { top: 22px; }

/* ＋ 按鈕與記錄選單 */
.tabs .plus-tab { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0; margin-top: -18px; }
.tabs .plus-tab .pixicon { filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); }
.tabs .plus-tab:active { transform: translateY(2px); }
.plus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 8px 0 4px; }
.plus-grid button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; background: var(--bg); border: 2px solid var(--line); color: var(--ink); font: inherit; font-size: .82rem; cursor: pointer; }
.plus-grid button:active { border-color: var(--accent); }
.feedseg { margin: 12px 0 4px; }
/* 寵物卡：餵飼料 */
.feedbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 2px solid #2f5f55; background: #fff8e0; color: #2f5f55; font: inherit; font-size: .8rem; font-weight: 700; padding: 3px 8px; cursor: pointer; box-shadow: 2px 2px 0 #2f5f55; }
.feedbtn:active { transform: translate(2px, 2px); box-shadow: none; }
/* 運動 */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; align-items: center; }
.chip { border: 2px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .88rem; padding: 6px 10px; cursor: pointer; }
.chip.on { border-color: var(--accent); color: var(--accent); font-weight: 700; }
.chip-in { width: 5.5em !important; margin: 0 !important; padding: 6px 8px !important; }
.safety-note { background: var(--bg); border-left: 4px solid var(--danger); padding: 8px 10px; margin: 6px 0 8px; }
.ex-chip { --zc: #e2543a; }
/* 找回碼可以點 */
button.rc-code { display: block; width: 100%; cursor: pointer; }
button.rc-code small { display: block; font: 600 .72rem -apple-system, sans-serif; letter-spacing: .1em; color: var(--muted); margin-top: 2px; }
/* 等待頁 */
.wait-me { justify-content: center; margin: 12px 0 4px; text-align: left; }
.wait-egg { display: flex; justify-content: center; margin: 8px 0 4px; }


/* 寵物等級 */
.lv-tag { display: inline-block; margin-left: 4px; padding: 0 6px; font-size: .72rem; font-weight: 800; line-height: 1.5; color: #2f5f55; background: #e3f0ea; border: 1.5px solid #9cc5b5; vertical-align: middle; white-space: nowrap; }
.g1-tag { display: inline-block; font-style: normal; font-size: .68rem; font-weight: 800; line-height: 1.5; padding: 0 5px; margin-right: 4px; color: #fff; background: #3f74d1; border: 1.5px solid #22427f; vertical-align: middle; white-space: nowrap; }
.lv-tag .g1-tag { margin: 0 5px 0 -6px; border-width: 0 1.5px 0 0; }
/* 特殊色標籤：稀有粉、超稀有銀白、特殊稀有深紫 */
.g1-tag.c-rare { background: #e2779c; border-color: #a8456a; }
.g1-tag.c-super { background: #8f9aa8; border-color: #5d6672; }
.g1-tag.c-special { background: #4b3a63; border-color: #2a1f3a; }
.pet-cap .g1-tag, #petNm .g1-tag { margin: 0 0 0 4px; }
.post-hd .who { flex-wrap: wrap; }
.zoo-grid.chooser button.zoo-cell { border: 2px solid var(--line); cursor: pointer; font: inherit; color: var(--ink); }
.zoo-grid.chooser button.zoo-cell:active { border-color: var(--accent); }
.zoo-cell b .lv-tag { margin-left: 2px; }

/* 寵物螢幕左上角的個人計時器（液晶字） */
.lcd-box { position: relative; }
.my-timer { position: absolute; left: 14px; top: 12px; pointer-events: none; font: 700 .95rem ui-monospace, "SF Mono", Menlo, monospace; color: #3f6b60; letter-spacing: .04em; line-height: 1.1; }
.my-timer:empty { display: none; }
.my-timer small { display: block; font: 700 .62rem -apple-system, "PingFang TC", sans-serif; letter-spacing: .1em; color: #6f9488; }

/* 動態牆上的新題目 */
.feed-quiz { margin: 12px 0; padding: 8px; background: color-mix(in srgb, var(--accent-2) 22%, var(--card)); border: 2px solid color-mix(in srgb, var(--accent-2) 70%, var(--line)); }
.feed-quiz .fq-h { font-weight: 800; font-size: .88rem; color: #7a5a14; padding: 2px 4px 6px; }
.feed-quiz .card { margin: 0; }
.feed-quiz .link { display: block; margin: 4px auto 0; }

/* 寵物狀態格：進化、照顧倒數 */
.pet-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 2px 2px; }
.pstat { background: #fff; border: 2px solid #cfe1d8; padding: 6px 10px 7px; line-height: 1.2; }
.pstat small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .05em; }
.pstat b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin: 1px 0 4px; }
.pstat i { display: block; height: 7px; background: #e6efe9; }
.pstat i em { display: block; height: 100%; background: var(--accent); transition: width .5s; }
.pstat span { display: block; font-size: .7rem; color: var(--muted); margin-top: 4px; }
.pstat.evo i em { background: #e0b64f; }
.pstat.good { border-color: #a8cfbf; }
.pstat.warn { border-color: #e7c36a; background: #fffaeb; }
.pstat.warn b { color: #9a6b10; }
.pstat.warn i em { background: #e0a93a; }
.pstat.bad { border-color: #e2a097; background: #fff3f1; }
.pstat.bad b { color: #b5483d; }
.pstat.rest b { font-size: 1.05rem; }

/* 心情天氣 */
.wx-row { display: flex; gap: 6px; padding: 4px 0 6px; }
.wx { flex: none; width: 76px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; background: #f6faf8; border: 2px solid var(--line); text-align: center; }
.wx small { font-size: .7rem; color: var(--muted); font-weight: 700; }
.wx b { font-size: .88rem; }
.wx span { font-size: .68rem; color: var(--muted); display: flex; align-items: center; gap: 2px; white-space: nowrap; }
.wx.none { opacity: .5; }
.wx-none { font-size: 1.4rem; line-height: 40px; color: var(--muted); }
.wx-key { display: flex; flex-direction: column; gap: 3px; font-size: .74rem; color: var(--muted); margin-top: 6px; }
.wx-key i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }
.wx-key i.g { background: #8fbf84; } .wx-key i.h { background: #e3b26a; } .wx-key i.w { background: #c7695e; }
.peaks { display: grid; gap: 4px; }
.peak { display: grid; grid-template-columns: 1fr auto 3.2em; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.peak span { display: flex; align-items: center; gap: 4px; }
.peak b { color: var(--accent); }
.peak small { color: var(--muted); text-align: right; }

.lv-calc { margin: 8px 0; border: 2px solid var(--line); background: #f6faf8; padding: 4px 10px; font-size: .88rem; }
.lv-calc div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.lv-calc div:last-child { border-bottom: 0; }
.lv-calc .neg b { color: #b5483d; }
.lv-calc .sum b { color: var(--accent); font-size: 1.05rem; }

/* 氣酮機團購卡：清楚標示合作，不跳窗 */
.deal { background: var(--card); border: 2px solid var(--line); padding: 12px 14px; margin: 12px 0; box-shadow: var(--shadow); }
.deal-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.deal-h img { height: 30px; background: #fff; border-radius: 6px; padding: 2px 5px; }
.deal-tag { font-size: .7rem; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line); padding: 1px 6px; }
.deal p { margin: 6px 0; }
.deal-price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0; }
.deal-price b { font-size: 1.5rem; color: var(--accent); }
.deal-price small { color: var(--muted); }
.deal-price s { color: var(--muted); font-size: .85rem; margin-left: 6px; }
.deal-code { font: 800 .9rem ui-monospace, Menlo, monospace; letter-spacing: .06em; color: #2f5f55; background: #e3f0ea; border: 1.5px dashed #5c9c8a; padding: 1px 8px; cursor: pointer; }
.deal-go { width: 100%; margin-top: 6px; }
.deal-until { font-size: .78rem; font-weight: 700; color: #9a6b10; margin: 2px 0 4px !important; }
.home-hint { border: 2px solid var(--accent); }
.home-hint p { margin: 6px 0; }

/* 拍照：螢幕閃一下 */
.flash { position: absolute; inset: 0; background: #fff; border-radius: 12px; pointer-events: none; animation: flash .45s ease-out forwards; }
@keyframes flash { from { opacity: .95; } to { opacity: 0; } }

.hero h1.app-name { font-size: 2.4rem; letter-spacing: .08em; margin-bottom: 2px; }
.hero .tagline { margin: 0 0 6px; font-weight: 700; color: var(--accent); }

.sleep-row { display: flex; align-items: center; gap: 8px; }
.sleep-row select { width: auto; flex: 1; margin: 0; }
.sleep-row .btn { width: auto; margin: 0; flex: none; }
.lcd-box.night .my-timer { color: #dbe6f0; }
.lcd-box.night .my-timer small { color: #9fb3c8; }

/* 寵物名字（點了可以取名） */
.pet-name { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--ink); cursor: pointer; }
.pet-name small { font-weight: 500; color: var(--muted); font-size: .78rem; }
.pet-name .name-hint { margin-left: 4px; padding: 0 5px; border: 1.5px dashed var(--sage); color: var(--accent); font-size: .7rem; }
.g1-note { margin: 6px 0; padding: 6px 10px; background: #e8effb; border: 1.5px solid #b9cdf0; color: #2b4a80; text-align: left; }

/* 小雞底下：第一行名字＋等級＋養成說明，第二行兩顆等寬按鈕 */
.petcap { padding: 8px 2px 0; color: var(--ink); font-size: .9rem; }
.petcap-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.petcap-top #petNm { display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1 1 auto; white-space: nowrap; }
.petcap-top #petNm .pet-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.petcap-top #petNm .lv-tag, .petcap-top #petNm .g1-tag { margin: 0; flex: none; }
.petcap-top .link { flex: none; padding: 4px 2px; white-space: nowrap; }
.petcap-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.petcap-btns .feedbtn { font-size: .9rem; padding: 8px 6px; white-space: nowrap; }
/* 補水提醒：看起來就是一顆可以按的按鈕 */
button.water-hint { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; padding: 10px 12px; font: inherit; text-align: left; cursor: pointer;
  color: #23466b; background: #e6f0fa; border: 2px solid #4f7fae; box-shadow: 3px 3px 0 #4f7fae; }
button.water-hint:active { transform: translate(3px, 3px); box-shadow: none; }
.water-hint .wh-ic { flex: none; display: flex; }
.water-hint .wh-t { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.water-hint .wh-t small { color: #4f7fae; font-size: .78rem; }
.water-hint .wh-go { flex: none; padding: 5px 10px; font-weight: 800; font-size: .85rem; color: #fff; background: #4f7fae; border: 2px solid #2f5f8a; }
/* 結束斷食：跟其他按鈕分開，一看就知道是「停下來」 */
.quit-zone { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line); }
.quit-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding: 10px 12px; font: inherit; cursor: pointer;
  color: #a2463c; background: #fbecea; border: 2px solid #c7695e; box-shadow: 3px 3px 0 #c7695e; }
.quit-btn b { font-size: 1rem; }
.quit-btn small { color: #b0645b; font-size: .78rem; }
.quit-btn:active { transform: translate(3px, 3px); box-shadow: none; }
/* 有新版本 */
.update-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; max-width: 92vw; white-space: nowrap;
  padding: 10px 16px; font: inherit; font-weight: 700; font-size: .9rem; color: #fff; background: #2f5f55; border: 2px solid #1f4a42; box-shadow: 3px 3px 0 #1f4a42; cursor: pointer; }
/* 控制台：選動物 */
.sp-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 4px 0 10px; }
.sp-opt { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; background: var(--bg); border: 2px solid var(--line); font: inherit; font-size: .78rem; color: var(--ink); cursor: pointer; }
.sp-opt.on { border-color: var(--accent); background: #e3f0ea; }
/* 相似貼文收成一則 */
.post-group { display: flex; gap: 10px; align-items: center; background: #f6faf8; border: 2px dashed var(--line); }
.post-group .pg-pet { flex: none; }
.post-group .pg-body { flex: 1; min-width: 0; }
.post-group .pg-title { font-size: .95rem; line-height: 1.4; }
.post-group .pg-avs { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin: 4px 0 0; }
.post-group .link { padding: 4px 0; }
.pg-list { margin: -4px 0 8px 14px; padding-left: 8px; border-left: 3px solid var(--line); }
.clock .clock-d { font-size: .55em; font-weight: 700; margin-left: 2px; }
.clock .clock-tx { font-size: .6em; font-weight: 700; }
.push-card { border: 2px solid #b9cdf0; background: #f3f7fd; }
/* 日期投票 */

/* 參加名單 */
.hdr-stats { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.people { display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow-y: auto; margin: 8px 0; }
.person { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 8px 2px; font: inherit; color: var(--ink); cursor: pointer; }
.person .pp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person .pp-main b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person .pp-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }

/* 動物園：展示區＋後院 */
.zoo-h { margin: 14px 0 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.zoo-slot { display: flex; flex-direction: column; gap: 4px; }
.zoo-slot .btn { width: 100%; margin: 0; }
.zoo-grid.yard { opacity: .9; }

/* 寵物圖鑑 */
.dex-entry { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; }
.dex-entry span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.dex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 10px 0; }
.dex-sp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; background: var(--bg); border: 2px solid var(--line); font: inherit; color: var(--ink); cursor: pointer; }
.dex-tree { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 0; max-height: 62vh; overflow-y: auto; }
.dex-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.dex-extra { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 12px; padding-top: 8px; border-top: 2px dashed var(--line); width: 100%; }
.dex-node { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 6px; background: #fff; border: 2px solid var(--line); font: inherit; font-size: .78rem; color: var(--ink); cursor: pointer; min-width: 78px; }
.dex-node.locked { background: var(--bg); color: var(--muted); }
.dex-node small .g1-tag { margin: 0; }
.dex-arrow { color: var(--line); font-size: .7rem; line-height: 1; }
.dex-q { display: inline-flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #2b2620; }
.dex-info { min-height: 44px; padding: 8px; background: var(--bg); }
.giftlink { width: 100%; font-size: .8rem; padding: 8px; margin: 8px 0; border: 2px solid var(--line); background: var(--bg); color: var(--ink); }
.sched-card { margin: 12px 0; background: var(--card); border: 2px solid var(--accent); box-shadow: 4px 4px 0 rgba(0,0,0,.18); }
.sch-hd { padding: 6px 12px; background: var(--accent); color: #fff; font-weight: 800; font-size: .85rem; letter-spacing: .12em; }
.sch-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.sch-row + .sch-row { border-top: 2px dashed var(--line); }
.sch-row.hot { background: #fdf8e6; }
.sch-egg { flex: none; width: 44px; height: 44px; }
.sch-egg svg { width: 44px; height: 44px; }
.sch-main { flex: 1; min-width: 0; line-height: 1.35; }
.sch-main b { display: block; font-size: 1rem; }
.sch-main span { display: block; font-size: .78rem; color: var(--muted); }
.sch-tag { display: inline-block; margin-top: 4px; padding: 0 6px; font-style: normal; font-size: .72rem; font-weight: 700; color: var(--accent); border: 1.5px solid var(--accent); }
.sch-row.hot .sch-tag { color: #9a6a10; border-color: var(--accent-2); background: var(--accent-2); }
.sch-h { flex: none; text-align: center; font-weight: 800; font-size: 1.5rem; line-height: 1; color: var(--accent); min-width: 44px; }
.sch-h small { display: block; font-size: .65rem; font-weight: 700; color: var(--muted); }
.sch-row.hot .sch-h { color: #c8962a; }
.sch-hd { display: flex; align-items: center; justify-content: space-between; }
.sch-x { background: none; border: 0; color: #fff; font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: 0; cursor: pointer; padding: 0 0 0 8px; }
.sch-mini { display: flex; width: 100%; padding: 0; align-items: stretch; cursor: pointer; font: inherit; text-align: left; }
.sch-mini .sch-hd { flex: 1; }
.sch-more { display: flex; align-items: center; padding: 0 12px; font-size: .75rem; font-weight: 700; color: var(--accent); background: var(--card); }
.sch-cd { display: inline-block; margin: 4px 0 0 6px; font-style: normal; font-size: .72rem; font-weight: 700; color: #9a6a10; }
.a2-steps { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.a2-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; background: var(--bg); border: 2px solid var(--line); font-size: .92rem; line-height: 1.5; text-align: left; }
.a2-n { flex: none; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .85rem; }
