/* 自照 Mirror：提燈下樓。夜裡的石塔、燈的金色、像素牌。
 * 標題用俐方體 11 號（Cubic 11，OFL，只取用到的字）；內文用系統黑體，好讀為先。 */
@font-face {
  font-family: "Cubic 11";
  src: url("/assets/cubic11.woff") format("woff");
  font-display: swap;
}

:root {
  --bg: #0e0c12;
  --bg2: #15121b;
  --panel: #1b1722;
  --panel2: #221d2b;
  --line: #3b3348;
  --ink: #f2eadb;
  --ink-dim: #cfc4b0;
  --ink-faint: #a69b88;
  --gold: #f0c674;
  --gold-deep: #c4954a;
  --lv0: #f3d27e;   /* 看得清：燈亮 */
  --lv1: #a99bd0;   /* 有點模糊：薄暮 */
  --lv2: #6b6280;   /* 答不出來：暗 */
  --dark-mark: #f0a35e;
  --bright-mark: #9fd3e6;
  --radius: 10px;
  --px: "Cubic 11", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --sans: system-ui, -apple-system, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(120% 60% at 50% 0%, #1d1828 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--ink);
  font: 17px/1.8 var(--sans);
  letter-spacing: .02em;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe0a0; }
img { max-width: 100%; }
.px { font-family: var(--px); font-weight: normal; letter-spacing: .04em; }
.px-img { image-rendering: pixelated; image-rendering: crisp-edges; }
.sr, .offscreen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 6px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.muted { color: var(--ink-faint); }
.center { text-align: center; }

/* ---- 頁首頁尾 ---- */
.top {
  max-width: 760px; margin: 0 auto; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.brand-zh { font-family: var(--px); font-size: 22px; color: var(--gold); }
.brand-en { font-family: var(--px); font-size: 11px; color: var(--ink-faint); letter-spacing: .2em; text-transform: uppercase; }
.top nav { display: flex; gap: 4px; }
.top nav a { color: var(--ink-dim); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--gold); background: #ffffff0a; }
main { max-width: 760px; margin: 0 auto; padding: 0 14px 40px; }
.foot { max-width: 760px; margin: 0 auto; padding: 24px 18px 48px; color: var(--ink-faint); font-size: 14px; border-top: 1px solid var(--line); }
.foot a { color: var(--ink-dim); }
.foot-small { font-size: 13px; }

/* ---- 區塊 ---- */
.block { margin: 22px 0; }
.panel { background: linear-gradient(180deg, var(--panel) 0%, var(--bg2) 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; }
h1, h2, h3 { line-height: 1.5; margin: 0 0 .5em; }
h1.px { font-size: 22px; color: var(--gold); }
h2.px { font-size: 22px; color: var(--gold); }
h3.px { font-size: 18px; }
p { margin: .5em 0 .8em; }
.kicker { font-size: 13px; letter-spacing: .15em; color: var(--ink-faint); margin: 0 0 4px; }
.lead { color: var(--ink-dim); }
.hint { font-size: 14px; color: var(--ink-faint); }

/* ---- 按鈕 ---- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.btns.end { justify-content: space-between; }
.btns.small { margin: 10px 0 0; }
.btn {
  appearance: none; font: inherit; font-size: 16px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.btn.primary { background: linear-gradient(180deg, #f6d68a, var(--gold-deep)); color: #23180a; border-color: #f6d68a; font-weight: 600; box-shadow: 0 0 24px #f0c67433; }
.btn.primary:hover { filter: brightness(1.06); color: #23180a; }
.btn.primary:disabled { filter: grayscale(.7) brightness(.6); cursor: not-allowed; box-shadow: none; }
.btn.ghost:hover { border-color: var(--gold-deep); color: var(--gold); }
.btn.ghost:disabled { opacity: .45; cursor: not-allowed; }
.btn.link { border: 0; min-height: 40px; padding: 6px 4px; color: var(--ink-dim); }
.btn.link:hover { color: var(--gold); }
.btn.danger { color: #e79a8f; }
.btn.file { position: relative; overflow: hidden; }
.btn.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* ---- 欄位 ---- */
.field { display: block; margin: 16px 0 8px; }
.field-label { display: block; font-size: 14px; color: var(--ink-dim); margin-bottom: 6px; }
textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.7; color: var(--ink); background: #0b0a0f; border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; resize: vertical;
}
textarea:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 3px #f0c67422; }
textarea::placeholder { color: #8a8070; }

/* ---- 首頁 ---- */
.hero { display: grid; gap: 18px; margin-top: 8px; }
.hero-img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.hero h1 { font-size: 44px; margin: 0; color: var(--gold); text-shadow: 0 0 28px #f0c67455; }
.hero-sub { font-family: var(--px); font-size: 18px; color: var(--ink); margin: 2px 0 10px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero .meta { font-size: 14px; color: var(--ink-faint); }
.stages { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 10px; }
.stages li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 6px 52px; position: relative; }
.stages li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #23180a; font-family: var(--px); text-align: center; line-height: 26px; font-size: 14px; }
.stages b { color: var(--gold); font-size: 18px; }
.stages p { margin: 2px 0 6px; color: var(--ink-dim); }
.two { display: grid; gap: 18px; }
.rooms { list-style: none; padding: 0; margin: 0; }
.rooms li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.rooms .num { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold); font-family: var(--px); text-align: center; line-height: 25px; font-size: 13px; margin-top: 4px; }
.rooms b { color: var(--ink); }
.rooms p { margin: 0; color: var(--ink-dim); font-size: 15px; }
.tree-wrap { text-align: center; }
.tree-wrap .tree { width: 180px; max-width: 60%; }
.tree-cap { font-size: 14px; color: var(--ink-faint); margin-top: 6px; }
.three { display: grid; gap: 12px; }
.three > div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.three h3 { color: var(--gold); margin-bottom: 2px; }
.three p { margin: 0; color: var(--ink-dim); }
.expert summary { cursor: pointer; color: var(--ink-dim); }
.expert[open] summary { color: var(--gold); margin-bottom: 8px; }
.expert ul { padding-left: 1.2em; color: var(--ink-dim); font-size: 15px; }
.expert li { margin: 6px 0; }
@media (min-width: 720px) {
  .hero { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .two { grid-template-columns: 1fr 200px; align-items: start; }
  .tree-wrap { position: sticky; top: 20px; }
  .tree-wrap .tree { max-width: 100%; }
  .three { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 生命樹圖 ---- */
.tree { display: block; margin: 0 auto; }
.tree .tl line { stroke: #6b5f7d; stroke-width: 1.1; }
.tree .tl line.lit { stroke: var(--gold); stroke-width: 2.4; }
.tree .tn circle { fill: #2a2433; stroke: #8a7d9c; stroke-width: 1; }
.tree .tn text { fill: var(--ink); font: 7px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.tree .tn.lv0 circle { fill: var(--lv0); stroke: #fff3c9; }
.tree .tn.lv0 text { fill: #2b1d06; }
.tree .tn.lv1 circle { fill: var(--lv1); stroke: #d9d0f2; }
.tree .tn.lv1 text { fill: #1b1530; }
.tree .tn.lv2 circle { fill: #2a2433; stroke: var(--lv2); stroke-dasharray: 2 1.5; }
.tree .tn.cur circle { stroke: var(--gold); stroke-width: 2.2; }
.tree .tn.mark-dark circle { stroke: var(--dark-mark); stroke-width: 2.6; }
.tree .tn.mark-bright circle { stroke: var(--bright-mark); stroke-width: 2.6; }
.tree .tn.heat0 circle { fill: var(--lv0); } .tree .tn.heat0 text { fill: #2b1d06; }
.tree .tn.heat1 circle { fill: #d7bd86; } .tree .tn.heat1 text { fill: #2b1d06; }
.tree .tn.heat2 circle { fill: #9c8fb8; } .tree .tn.heat2 text { fill: #16121f; }
.tree .tn.heat3 circle { fill: #5b5170; }
.tree .tn.heat4 circle { fill: #2d2738; stroke: #6b6280; }

/* ---- 流程：進度 ---- */
.stagebar { list-style: none; display: flex; gap: 4px; padding: 0; margin: 6px 0 14px; font-size: 13px; }
.stagebar li { flex: 1; text-align: center; padding: 6px 2px 4px; color: var(--ink-faint); border-bottom: 3px solid var(--line); white-space: nowrap; }
.stagebar li.done { color: var(--ink-dim); border-color: var(--gold-deep); }
.stagebar li.now { color: var(--gold); border-color: var(--gold); font-weight: 600; }

.app.enter-down { animation: down .45s ease-out both; }
.app.enter-up { animation: up .45s ease-out both; }
@keyframes down { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
.pulse { animation: pulse 1.4s ease-in-out infinite; color: var(--gold); font-size: 18px; }
@keyframes pulse { 50% { opacity: .4; } }

/* ---- 寫下 ---- */
.levels-preview { list-style: none; padding: 0; margin: 8px 0; }
.levels-preview li { display: flex; align-items: center; gap: 10px; margin: 6px 0; color: var(--ink-dim); font-size: 15px; }
.next-note { border-top: 1px dashed var(--line); margin-top: 18px; padding-top: 12px; }
.next-note h2 { font-size: 18px; }
.lvchip { display: inline-block; font-size: 13px; line-height: 1; padding: 5px 9px; border-radius: 999px; font-weight: 600; white-space: nowrap; margin-left: 6px; vertical-align: middle; }
.levels-preview .lvchip { margin-left: 0; min-width: 76px; text-align: center; }
.lvchip.lv0 { background: var(--lv0); color: #2b1d06; }
.lvchip.lv1 { background: var(--lv1); color: #1b1530; }
.lvchip.lv2 { background: transparent; color: var(--ink-dim); border: 1px dashed #8a7d9c; }

/* ---- 走十步：房間 ---- */
.room { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #221d2b, #0e0c12); }
.room img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.room::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 90% at 50% 40%, transparent 55%, #0e0c12cc 100%); pointer-events: none; }
.room figcaption { position: absolute; left: 10px; bottom: 8px; z-index: 1; }
.floor { font-size: 13px; background: #0e0c12cc; color: var(--ink); padding: 3px 10px; border-radius: 999px; border: 1px solid #ffffff22; }
.room-tree { position: absolute; right: 8px; top: 8px; bottom: 8px; width: 21%; max-width: 92px; z-index: 1; background: #0e0c12b3; border-radius: 8px; padding: 6px 4px; display: flex; align-items: center; }
.room-tree .tree { width: 100%; height: 100%; }
.dots { display: flex; justify-content: center; gap: 6px; margin: 12px 0 0; }
.dot { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #8a7d9c; background: #2a2433; padding: 0; cursor: pointer; }
span.dot { cursor: default; opacity: .5; }
.dot.lv0 { background: var(--lv0); border-color: #fff3c9; }
.dot.lv1 { background: var(--lv1); border-color: #d9d0f2; }
.dot.lv2 { background: #2a2433; border: 1px dashed #b3a7c6; }
.dot.now { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--gold); }
.step h1 { font-size: 33px; margin-bottom: .2em; }
.about { margin: 14px 0 2px; font-size: 14px; color: var(--ink-faint); overflow-wrap: anywhere; }
.question { font-size: 21px; line-height: 1.65; margin: 0 0 12px; padding: 12px 16px; border-left: 3px solid var(--gold); background: #f0c6740d; border-radius: 0 8px 8px 0; color: #fff6e6; }
.hints { font-size: 15px; color: var(--ink-dim); }
.hints p { margin: 0; }
.hints ul { margin: 4px 0 8px; padding-left: 1.3em; }
.step .expert { font-size: 15px; margin: 6px 0; }
.step .expert p { margin: 4px 0; color: var(--ink-dim); }
.choose-label { margin: 18px 0 8px; font-weight: 600; }
.levels { display: grid; gap: 8px; }
.lvbtn {
  appearance: none; font: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: #0b0a0f; color: var(--ink); min-height: 56px;
}
.lvbtn b { font-size: 18px; font-family: var(--px); font-weight: normal; }
.lvbtn span { font-size: 14px; color: var(--ink-faint); }
.lvbtn.lv0 b { color: var(--lv0); }
.lvbtn.lv1 b { color: var(--lv1); }
.lvbtn.lv2 b { color: #b3a7c6; }
.lvbtn:hover { border-color: var(--gold-deep); background: #15121b; }
.lvbtn.chosen { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
@media (min-width: 560px) { .levels { grid-template-columns: repeat(3, 1fr); } }

/* ---- 選最卡／最篤定 ---- */
.pick-list { display: grid; gap: 8px; margin-top: 12px; }
.pick { appearance: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #0b0a0f; }
.pick:hover { border-color: var(--gold); }
.pick .num { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold); text-align: center; line-height: 27px; font-family: var(--px); }
.pick b { font-size: 17px; }
.pick-note { display: block; font-size: 14px; color: var(--ink-faint); margin-top: 4px; }

/* ---- 翻牌 ---- */
.cards-map { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: center; margin-top: 8px; }
.legend { list-style: none; padding: 0; margin: 0; font-size: 15px; color: var(--ink-dim); }
.legend li { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.lg { width: 14px; height: 14px; border-radius: 50%; flex: none; display: inline-block; }
.lg.dark { border: 3px solid var(--dark-mark); }
.lg.bright { border: 3px solid var(--bright-mark); }
.lg.path { height: 3px; border-radius: 0; background: var(--gold); }
.position .recall { color: var(--ink-dim); font-size: 15px; overflow-wrap: anywhere; }
.recall.q { border-left: 2px solid var(--line); padding-left: 10px; font-size: 15px; }
.position.lamp { border-top: 3px solid var(--dark-mark); }
.position.shadow { border-top: 3px solid var(--bright-mark); }
.position.bridge { border-top: 3px solid var(--gold); }
.card-row { display: grid; gap: 16px; margin: 14px 0; justify-items: center; }
@media (min-width: 600px) { .card-row { grid-template-columns: 200px 1fr; align-items: start; justify-items: stretch; } }
.card3d { width: 192px; aspect-ratio: 2 / 3; perspective: 900px; }
.card3d.small { width: 128px; }
.flip-btn { appearance: none; border: 0; padding: 0; background: none; width: 100%; height: 100%; position: relative; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, .7, .3, 1); display: block; }
.flipped .flip-btn { transform: rotateY(180deg); cursor: default; }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 26px #0009; }
.face img { width: 100%; height: 100%; display: block; }
.face.front { transform: rotateY(180deg); }
.card3d:not(.flipped) .face.back { box-shadow: 0 0 0 1px var(--gold-deep), 0 0 30px #f0c67444; }
.card3d:not(.flipped) .flip-btn:hover .face.back { box-shadow: 0 0 0 2px var(--gold), 0 0 40px #f0c67466; }
.card3d:not(.flipped)::after { content: "點一下翻開"; display: block; text-align: center; font-size: 13px; color: var(--ink-faint); margin-top: 8px; }
.card-detail h3 { margin-bottom: 4px; }
.card-detail .en, .card-entry .en { font-family: var(--sans); font-size: 13px; color: var(--ink-faint); letter-spacing: .05em; }
.tier { font-size: 15px; color: var(--ink-dim); }
.tierchip { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; margin-right: 8px; border: 1px solid; font-weight: 600; }
.tierchip.home { color: #ffd98c; border-color: #ffd98c; }
.tierchip.near { color: #c9bcf0; border-color: #c9bcf0; }
.tierchip.far { color: #f2a48a; border-color: #f2a48a; }
.tierchip.stranger { color: #a9d6c4; border-color: #a9d6c4; }
.essence { color: var(--ink); }
.qhead { margin: 10px 0 2px; color: var(--gold); font-size: 15px; }
.qs { padding-left: 1.3em; margin: 4px 0 8px; }
.qs li { margin: 4px 0; }
.more summary, .card-detail .expert summary { cursor: pointer; font-size: 14px; color: var(--ink-faint); }
.card-detail .expert p { font-size: 14px; color: var(--ink-dim); }
.bridge-row { display: grid; gap: 18px; margin: 10px 0; }
.bridge-step { display: grid; gap: 10px; justify-items: center; background: #0b0a0f; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.bridge-step .edge { margin: 0; font-size: 14px; color: var(--gold); }
@media (min-width: 600px) { .bridge-step { grid-template-columns: 140px 1fr; justify-items: start; align-items: start; } .bridge-step .edge { grid-column: 1 / -1; } }
#cards-hint:empty { display: none; }

/* ---- 回看 ---- */
.sides { display: grid; gap: 10px; margin: 10px 0; }
@media (min-width: 600px) { .sides { grid-template-columns: 1fr 1fr; } }
.side { background: #0b0a0f; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.side-name { margin: 0 0 4px; font-size: 14px; color: var(--ink-dim); }
.side-note { margin: 0; font-size: 15px; overflow-wrap: anywhere; }

/* ---- 完成 ---- */
.done h1 { font-size: 22px; text-align: center; margin: 8px 0 12px; }
.done .subject { text-align: center; color: var(--ink-dim); overflow-wrap: anywhere; }
.takeaway { margin: 14px auto; max-width: 520px; padding: 14px 18px; border: 1px solid var(--gold-deep); border-radius: 10px; background: #f0c6740d; font-size: 18px; overflow-wrap: anywhere; }
.done-cards { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 16px 0; }
.done-cards figure { margin: 0; width: 86px; text-align: center; font-size: 13px; color: var(--ink-dim); }
.done-cards img { width: 86px; height: auto; border-radius: 6px; }
.done-cards b { display: block; color: var(--gold); font-weight: normal; font-family: var(--px); }
.done .btns { justify-content: center; }
.report summary { cursor: pointer; color: var(--ink-dim); text-align: center; margin-top: 8px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.75 var(--sans); background: #0b0a0f; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; color: var(--ink-dim); }

/* ---- 紀錄 ---- */
.stats-grid { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: start; }
.stat-lines { padding-left: 1.2em; margin: 0; }
.repeat-cards { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.repeat-cards figure { margin: 0; text-align: center; font-size: 12px; color: var(--ink-dim); width: 64px; }
.repeat-cards img { width: 48px; height: auto; border-radius: 4px; }
.hist { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 10px 0; }
.hist header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.hist time { font-size: 13px; color: var(--ink-faint); }
.hist h3 { font-size: 17px; margin: 0; overflow-wrap: anywhere; }
.hist-cards { display: flex; gap: 6px; margin: 10px 0 6px; }
.hist-cards img { width: 40px; height: auto; border-radius: 4px; }
.hist-take { color: var(--ink-dim); font-size: 15px; border-left: 2px solid var(--gold-deep); padding-left: 10px; overflow-wrap: anywhere; }
.hist summary { cursor: pointer; font-size: 14px; color: var(--ink-faint); }

/* ---- 牌的頁面 ---- */
.intro .jump a { color: var(--ink-dim); }
.card-grid { display: grid; gap: 14px; }
.card-entry { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.card-entry img { width: 96px; height: auto; border-radius: 6px; }
.card-entry h3 { margin: 0 0 4px; color: var(--gold); }
.card-entry p { margin: 4px 0; font-size: 15px; color: var(--ink-dim); }
.card-entry .qs { font-size: 15px; }
.expert-line { font-size: 13px !important; color: var(--ink-faint) !important; }
@media (min-width: 720px) { .card-grid { grid-template-columns: 1fr 1fr; } }

/* ---- 提示 ---- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--gold); color: #23180a; padding: 10px 18px; border-radius: 999px; opacity: 0; transition: .25s; pointer-events: none; z-index: 20; font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { text-align: center; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
