/* ============================================================
   丸日文 Maru’s JP — 第一階段樣式
   想改顏色，只要改下面 :root 裡的色碼即可
   ============================================================ */
:root {
  --ai: #2e3d55;          /* 藍染：主色（側欄、邊框） */
  --ai-deep: #222d40;
  --shu: #b8493f;         /* 朱紅：重點色（柔和版） */
  --shu-deep: #8f3a33;
  --kin: #c9a85c;         /* 舊金：點綴 */
  --kin-deep: #8c7233;
  --paper: #f2f5ef;       /* 紙白：卡片底色 */
  --mist: #dfe7df;        /* 霧綠灰：頁面底色 */
  --sage: #cfd9c4;
  --ink: #26303d;         /* 文字 */
  --muted: #5a6575;       /* 次要文字 */
  --line: rgba(46, 61, 85, .22);
  --side-w: 236px;
  --f-head: "Zen Maru Gothic", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --f-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--kin); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.pet { display: block; }

/* ---------- 開場動畫（約 2 秒） ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--ai-deep);
  overflow: hidden;
  animation: introFade .6s ease 1.4s forwards;
}
.intro-seen .intro { display: none; }
@keyframes introFade { to { opacity: 0; visibility: hidden; } }

.puffs { position: absolute; inset: 0; pointer-events: none; }
.puffs span {
  position: absolute; left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 232, 226, .85) 0%, rgba(230, 232, 226, 0) 68%);
  filter: blur(6px);
  opacity: 0;
  animation: puff 1.8s ease-out var(--d) forwards;
}
@keyframes puff {
  0%   { opacity: 0;  transform: translate(0, 0) scale(.4); }
  35%  { opacity: .9; }
  100% { opacity: 0;  transform: translate(var(--dx), var(--dy)) scale(1.7); }
}
.intro-title {
  position: relative; margin: 0; text-align: center; color: var(--paper);
  opacity: 0; animation: titleIn .55s ease .15s forwards;
}
.intro-title .jp {
  display: block; font-family: var(--f-head); font-weight: 900;
  font-size: clamp(3rem, 12vw, 6rem); letter-spacing: .22em; padding-left: .22em; line-height: 1.2;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .25);
}
.intro-title .en {
  display: block; font-family: var(--f-head); font-weight: 500;
  font-size: clamp(1.1rem, 3.4vw, 1.6rem); letter-spacing: .18em; color: var(--kin);
}
@keyframes titleIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.intro-skip {
  position: absolute; right: 18px; bottom: 18px;
  font: 500 .95rem var(--f-body); color: var(--paper);
  background: transparent; border: 2px solid rgba(242, 245, 239, .6);
  border-radius: 999px; padding: 6px 18px; cursor: pointer;
}
.intro-skip:hover { background: rgba(242, 245, 239, .14); }

/* ---------- 版面骨架 ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 40;
  width: var(--side-w);
  display: flex; flex-direction: column;
  overflow-y: auto;
  color: var(--paper);
  background-color: var(--ai);
  /* 青海波紋樣（很淡） */
  background-image:
    radial-gradient(circle at 50% 100%, transparent 52%, rgba(242, 245, 239, .09) 53% 58%, transparent 59%),
    radial-gradient(circle at 50% 100%, transparent 52%, rgba(242, 245, 239, .09) 53% 58%, transparent 59%);
  background-size: 56px 28px;
  background-position: 0 0, 28px 14px;
}
.brand { padding: 26px 22px 18px; border-bottom: 2px solid rgba(242, 245, 239, .16); }
.brand-jp {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--f-head); font-weight: 900; font-size: 2rem; letter-spacing: .08em; line-height: 1.2;
}
.brand-jp .mark {
  display: inline-grid; place-items: center;
  width: 1.55em; height: 1.55em; margin-right: .2em;
  border-radius: 50%; background: var(--shu); color: var(--paper); font-size: 1.15rem; letter-spacing: 0;
  box-shadow: 0 0 0 3px rgba(242, 245, 239, .2);
}
.brand-en { display: block; margin-top: 4px; font-family: var(--f-head); font-weight: 500; letter-spacing: .14em; color: var(--kin); }

.nav { list-style: none; margin: 10px 0; padding: 0 10px; }
.nav a {
  display: flex; flex-direction: column;
  padding: 10px 14px; margin: 2px 0;
  border-left: 4px solid transparent; border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
}
.nav .t { font-family: var(--f-head); font-weight: 700; font-size: 1.08rem; }
.nav .s { font-size: .78rem; color: #b9c4d4; }
.nav a:hover { background: rgba(242, 245, 239, .08); }
.nav a.active { background: rgba(242, 245, 239, .15); border-left-color: var(--kin); }

.side-foot { margin-top: auto; padding: 18px 22px 24px; text-align: center; }
.side-foot .pet { width: 72px; height: 72px; margin: 0 auto 6px; }
.side-foot p { margin: 0; font-size: .85rem; color: #b9c4d4; }

.scrim { display: none; }

.main { margin-left: var(--side-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 28px;
  background: rgba(223, 231, 223, .93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--line);
}
.here { margin: 0 auto 0 0; font-family: var(--f-head); font-weight: 700; color: var(--muted); }
.here span { color: var(--ink); }
.menu-btn, .brand-mini { display: none; }

/* 使用者資訊（右上角） */
.user-card {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px;
  background: var(--paper);
  border: 2px solid var(--ai); border-radius: 18px;
  box-shadow: 3px 3px 0 rgba(46, 61, 85, .18);
}
.user-card .pet { width: 52px; height: 52px; flex: none; }
.user-info { margin: 0; font-size: .82rem; line-height: 1.45; }
.user-info div { display: flex; gap: 6px; align-items: baseline; }
.user-info dt { color: var(--muted); }
.user-info dd { margin: 0; }
.u-id dd { font-family: var(--f-head); font-weight: 700; font-size: .98rem; }
.u-title dd, .u-hours dd { font-weight: 500; }
.demo {
  font-size: .68rem; line-height: 1; padding: 3px 7px;
  border: 1.5px dashed var(--shu); border-radius: 999px; color: var(--shu-deep);
}

/* ---------- 內容區 ---------- */
.content { flex: 1; width: 100%; max-width: 1040px; padding: 28px 28px 12px; }
.view { display: none; }
.view.on { display: block; }

.page-head { margin-bottom: 22px; }
.page-head h1 {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 6px;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2rem); line-height: 1.35;
}
.page-head h1::before {
  content: ""; flex: none; width: .62em; height: .62em; border-radius: 50%;
  background: var(--shu); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--shu);
}
.page-head p { margin: 0; color: var(--muted); max-width: 40em; }

/* ---------- 首頁地圖 ---------- */
.map-wrap {
  border: 3px solid var(--ai); border-radius: 22px; overflow: hidden;
  background: var(--sage);
  box-shadow: 6px 6px 0 rgba(46, 61, 85, .2);
}
.map { display: block; width: 100%; height: auto; }
.zone { cursor: pointer; text-decoration: none; }
.zone .art { transition: transform .2s ease; }
.zone:hover .art, .zone:focus-visible .art { transform: translateY(-5px); }
.zone .tag rect { fill: var(--ai); transition: fill .2s; }
.zone .tag text {
  fill: var(--paper); font-family: var(--f-head); font-weight: 700; font-size: 15px; text-anchor: middle;
}
.zone:hover .tag rect, .zone:focus-visible .tag rect { fill: var(--shu); }
.zone:focus-visible { outline: none; }
.zone:focus-visible .tag rect { stroke: var(--kin); stroke-width: 3; }

.guide {
  display: grid; gap: 14px; margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.guide .row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper);
  border: 2px solid var(--line); border-radius: 12px;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.guide .row:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ai); border-color: var(--ai); }
.guide .dot { flex: none; width: 16px; height: 16px; margin-top: .5em; border-radius: 50%; }
.r-shu .dot { background: var(--shu); }
.r-ai .dot { background: var(--ai); }
.r-kin .dot { background: var(--kin); }
.r-sage .dot { background: #8fa383; }
.guide strong { display: block; font-family: var(--f-head); font-size: 1.1rem; }
.guide small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.55; }

/* ---------- 文法／比較條目 ---------- */
.level-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.lv {
  font: 700 1rem var(--f-head); color: var(--ai);
  background: var(--paper); border: 2px solid var(--ai); border-radius: 999px;
  padding: 6px 20px; cursor: pointer; text-align: center;
}
.lv.on { background: var(--ai); color: var(--paper); }
.lv:disabled { opacity: .6; cursor: not-allowed; border-style: dashed; }
.lv small { display: block; font: 500 .66rem/1.3 var(--f-body); }

.entry {
  margin: 0 0 14px;
  background: var(--paper);
  border: 2px solid var(--ai); border-radius: 14px;
  box-shadow: 4px 4px 0 rgba(46, 61, 85, .16);
}
.entry summary {
  list-style: none; cursor: pointer;
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px;
  padding: 14px 52px 14px 18px; position: relative;
}
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border-right: 3px solid var(--ai); border-bottom: 3px solid var(--ai);
  transform: rotate(45deg); transition: transform .2s;
}
.entry[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.e-title { font-family: var(--f-head); font-weight: 700; font-size: 1.28rem; }
.e-sum { flex-basis: 100%; order: 3; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.e-mean { color: var(--muted); }
.badge {
  font-size: .72rem; line-height: 1; padding: 4px 9px;
  background: rgba(201, 168, 92, .28); color: #6d5720; border-radius: 999px;
}
.e-body { padding: 14px 18px 18px; border-top: 2px dashed var(--line); }
.e-body h3 { margin: 16px 0 4px; font-size: .98rem; color: var(--shu-deep); }
.e-body h3:first-child { margin-top: 0; }
.e-body p { margin: 0; }

.ex { list-style: none; margin: 0; padding: 0; }
.ex li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ex li:last-child { border-bottom: 0; }
.ex .jp { font-size: 1.15rem; line-height: 2.2; }
.ex .zh { color: var(--muted); font-size: .95rem; }
rt { font-size: .5em; color: var(--muted); }

.vs-wrap { overflow-x: auto; margin-top: 4px; }
.vs { width: 100%; min-width: 480px; border-collapse: collapse; background: #fff; }
.vs th, .vs td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.vs thead th { font-family: var(--f-head); font-size: 1.2rem; }
.vs th.a { color: var(--shu-deep); background: rgba(184, 73, 63, .12); }
.vs th.b { color: var(--ai); background: rgba(46, 61, 85, .12); }
.vs td.a { background: rgba(184, 73, 63, .05); }
.vs td.b { background: rgba(46, 61, 85, .05); }
.vs th.rowh { width: 7.5em; background: rgba(201, 168, 92, .2); font-weight: 700; }

.video-slot, .video-frame {
  aspect-ratio: 16 / 9; width: 100%; max-width: 560px; border-radius: 12px;
}
.video-slot {
  display: grid; place-items: center; text-align: center; padding: 12px;
  border: 2px dashed var(--ai); color: var(--muted);
}
.video-frame { border: 0; background: #000; }

.empty { color: var(--muted); text-align: center; padding: 28px 0; }

/* ---------- 即將開幕頁 ---------- */
.soon {
  display: grid; justify-items: center; text-align: center;
  padding: 40px 20px;
  background: var(--paper);
  border: 2px dashed var(--ai); border-radius: 20px;
}
.soon .pet { width: 96px; height: 96px; }
.soon h2 { margin: 10px 0 4px; font-family: var(--f-head); font-size: 1.4rem; }
.soon p { margin: 0 0 18px; max-width: 28em; color: var(--muted); }
.btn {
  display: inline-block; padding: 8px 22px;
  font: 700 1rem var(--f-head); text-decoration: none; color: var(--paper);
  background: var(--ai); border-radius: 999px;
  box-shadow: 3px 3px 0 rgba(46, 61, 85, .25);
  transition: background .15s;
}
.btn:hover { background: var(--shu); }

/* ---------- 頁尾 ---------- */
.site-foot { padding: 22px 28px 30px; text-align: center; color: var(--muted); font-size: .88rem; }
.site-foot p { margin: 10px 0 0; }
.social-slots { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.slot {
  display: inline-block; padding: 5px 16px;
  border: 2px dashed var(--line); border-radius: 999px; color: var(--muted);
  text-decoration: none;
}
a.slot { border-style: solid; border-color: var(--ai); color: var(--ai); font-weight: 700; }

/* ---------- 手機／平板 ---------- */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: none; }
  .menu-open .sidebar { transform: none; box-shadow: 8px 0 24px rgba(0, 0, 0, .3); }
  .scrim { position: fixed; inset: 0; z-index: 35; background: rgba(34, 45, 64, .5); }
  .menu-open .scrim { display: block; }
  .main { margin-left: 0; }
  .topbar { padding: 8px 14px; }
  .here { display: none; }
  .menu-btn {
    display: inline-block; font: 700 .95rem var(--f-head); color: var(--paper);
    background: var(--ai); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer;
  }
  .brand-mini {
    display: inline-block; margin-right: auto; text-decoration: none;
    font: 900 1.15rem var(--f-head); letter-spacing: .08em; color: var(--ai);
  }
  .content { padding: 20px 14px 8px; }
  .site-foot { padding: 18px 14px 26px; }
}
@media (max-width: 560px) {
  .zone .tag text { font-size: 21px; }
  .user-card { padding: 4px 10px 4px 6px; gap: 6px; }
  .user-card .pet { width: 42px; height: 42px; }
  .user-info { font-size: .74rem; }
  .u-id dd { font-size: .86rem; }
  .u-hours, .demo { display: none; }
  .entry summary { padding: 12px 44px 12px 14px; }
  .e-body { padding: 12px 14px 16px; }
}

/* ---------- 減少動態 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .puffs span { animation: none; opacity: 0; }
  .intro-title { animation: none; opacity: 1; }
  .intro { animation-delay: 1s; }
  .zone .art, .sidebar, .guide .row { transition: none; }
}

/* ============================================================
   寵物顯示（中央廣場、右上角、側欄）
   ============================================================ */
[data-pet-slot] { flex: none; }
img.pet {
  object-fit: cover; border-radius: 50%;
  border: 3px solid var(--ai); background: var(--paper);
}
.r-teal .dot { background: #6f9aa5; }

/* ============================================================
   寵物視窗（點首頁中央或右上角的寵物開啟）
   ============================================================ */
.plaza-btn { cursor: pointer; }
.plaza-btn .pp { transition: transform .2s ease; transform-origin: 400px 335px; }
.plaza-btn:hover .pp, .plaza-btn:focus-visible .pp { transform: scale(1.08); }
.plaza-btn:focus-visible { outline: none; }
.plaza-btn:focus-visible .ring { stroke: var(--kin); }
.plaza-btn .hint rect { fill: var(--shu); transition: fill .2s; }
.plaza-btn:hover .hint rect { fill: var(--shu-deep); }
.plaza-btn .hint text {
  fill: var(--paper); font-family: var(--f-head); font-weight: 700; font-size: 12.5px; text-anchor: middle;
}
.pet-open {
  display: block; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; border-radius: 50%;
}
.pet-open:hover .pet { transform: scale(1.06); }
.pet-open .pet { transition: transform .15s; }

.pet-dialog {
  width: min(900px, calc(100% - 24px)); max-height: 90vh; padding: 0; overflow: hidden;
  color: var(--ink); background: var(--mist);
  border: 3px solid var(--ai); border-radius: 22px;
  box-shadow: 8px 8px 0 rgba(46, 61, 85, .28);
}
.pet-dialog[open] { display: flex; flex-direction: column; }
.pet-dialog::backdrop { background: rgba(34, 45, 64, .55); }
.pd-head {
  display: flex; align-items: center; gap: 14px; flex: none;
  padding: 14px 20px; background: var(--ai); color: var(--paper);
}
.pd-head h2 { margin: 0; font-family: var(--f-head); font-size: 1.3rem; }
.pd-points { margin: 0 auto 0 0; display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.pd-points strong { font-family: var(--f-head); font-size: 1.15rem; color: var(--kin); }
.pd-points .demo { color: #f0cfc9; border-color: #f0cfc9; }
.pd-close {
  font: 700 .95rem var(--f-head); color: var(--paper);
  background: transparent; border: 2px solid rgba(242, 245, 239, .65); border-radius: 999px;
  padding: 5px 18px; cursor: pointer;
}
.pd-close:hover { background: rgba(242, 245, 239, .16); }
.pd-body { overflow-y: auto; padding: 20px; }

.pet-stage {
  display: flex; align-items: center; gap: 20px;
  padding: 14px 20px; margin-bottom: 16px;
  background: var(--paper); border: 2px solid var(--ai); border-radius: 16px;
}
.stage-pet .pet { width: 96px; height: 96px; }
.stage-label { margin: 0; font-size: .88rem; color: var(--muted); }
.stage-text h3 { margin: 0; font-family: var(--f-head); font-size: 1.45rem; line-height: 1.4; }
.stage-text h3 small, .pet-card h3 small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.stage-text p:last-child { margin: 2px 0 0; color: var(--muted); }

.pd-msg { min-height: 1.6em; margin: 0 0 8px; font-weight: 700; color: var(--shu-deep); }
.pd-confirm {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 16px; margin-bottom: 14px;
  background: rgba(201, 168, 92, .22); border: 2px dashed var(--kin-deep); border-radius: 12px;
}
.pd-confirm[hidden] { display: none; }
.pd-confirm p { margin: 0 auto 0 0; }

.pet-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pet-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 16px 14px 14px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 16px;
}
.pet-card.current { border-color: var(--ai); box-shadow: 4px 4px 0 var(--kin); }
.pet-pic { width: 100px; height: 100px; margin-bottom: 6px; }
.pet-pic .pet { width: 100%; height: 100%; }
.pet-card.locked .pet-pic { filter: grayscale(.7); opacity: .75; }
.pet-card h3 { margin: 0; font-family: var(--f-head); font-size: 1.1rem; }
.pet-desc { margin: 4px 0 12px; color: var(--muted); font-size: .88rem; line-height: 1.55; flex: 1; }
.pet-act { display: grid; gap: 6px; justify-items: center; }
.pet-price { font-weight: 700; color: var(--shu-deep); }
.pet-state { padding: 4px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.pet-state.on { background: var(--ai); color: var(--paper); }
.btn-s {
  font: 700 .9rem var(--f-head); color: var(--ai);
  background: transparent; border: 2px solid var(--ai); border-radius: 999px;
  padding: 5px 16px; cursor: pointer; transition: background .15s, color .15s;
}
.btn-s:hover:not(:disabled), .btn-s.solid { background: var(--ai); color: var(--paper); }
.btn-s.solid:hover { background: var(--shu); border-color: var(--shu); }
.btn-s:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.pet-lock {
  position: absolute; top: 10px; right: 10px;
  font-size: .72rem; line-height: 1; padding: 4px 8px;
  background: rgba(90, 101, 117, .14); color: var(--muted); border-radius: 999px;
}
.pet-note { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }

@media (max-width: 560px) {
  .pd-head { padding: 12px 14px; gap: 8px; }
  .pd-head h2 { font-size: 1.1rem; }
  .pd-body { padding: 14px; }
  .pet-stage { flex-direction: column; text-align: center; gap: 6px; }
  .pet-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pet-pic { width: 84px; height: 84px; }
  .pet-card { padding: 12px 8px 10px; }
  .btn-s { padding: 5px 10px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { .plaza-btn .pp, .pet-open .pet { transition: none; } }

/* ============================================================
   簽到區：簽到卡、留言板（繪馬）
   ============================================================ */
.ck-card {
  padding: 18px 22px 12px; margin-bottom: 30px;
  background: var(--paper); border: 2px solid var(--ai); border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(46, 61, 85, .16);
}
.ck-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ck-line { margin: 0; font-size: 1.05rem; }
.ck-line strong { font-family: var(--f-head); font-size: 1.9rem; color: var(--shu-deep); padding: 0 2px; }
.ck-points { margin: 2px 0 0; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ck-points strong { font-family: var(--f-head); color: var(--ink); font-size: 1.1rem; }
.btn:disabled { background: #8c97a6; cursor: not-allowed; box-shadow: none; }
button.btn { border: 0; cursor: pointer; }
.ck-week { list-style: none; margin: 16px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.ck-week li { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .82rem; color: var(--muted); }
.stamp {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 2px;
  border: 2px dashed var(--line); border-radius: 50%;
  font: 900 1.25rem var(--f-head); color: transparent;
}
.ck-week .on .stamp {
  background: var(--shu); border: 2px solid var(--shu-deep); color: var(--paper);
  transform: rotate(-8deg); box-shadow: 0 0 0 3px rgba(184, 73, 63, .18);
}
.ck-week .today .wd { color: var(--ink); font-weight: 700; }
.ck-week .today .stamp:not(:empty) { outline: none; }
.ck-week .today:not(.on) .stamp { border-color: var(--kin-deep); border-style: solid; }

.board h2, .ok-book h2 { margin: 0 0 6px; font-family: var(--f-head); font-size: 1.4rem; }
.board-demo {
  margin: 0 0 14px; padding: 8px 14px; font-size: .88rem; color: var(--muted);
  background: rgba(201, 168, 92, .16); border: 1.5px dashed var(--kin-deep); border-radius: 10px;
}
.board-form { padding: 16px 18px 10px; background: var(--paper); border: 2px solid var(--ai); border-radius: 16px; }
.bf-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.bf-row label[for] { font-weight: 700; }
.board-form input[type="text"], .board-form textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ai); border-radius: 10px; padding: 7px 12px;
}
.board-form input[type="text"] { width: 10em; }
.board-form textarea { width: 100%; resize: vertical; min-height: 5.5em; }
.bf-type { display: flex; gap: 8px; margin: 0 0 0 auto; padding: 0; border: 0; }
.bf-type label { position: relative; cursor: pointer; }
.bf-type input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bf-type span {
  display: inline-block; padding: 5px 16px; border: 2px solid var(--ai); border-radius: 999px;
  font: 700 .95rem var(--f-head); color: var(--ai); background: var(--paper);
}
.bf-type input:checked + span { background: var(--ai); color: var(--paper); }
.bf-type input:focus-visible + span { outline: 3px solid var(--kin); outline-offset: 2px; }
.bf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.bf-count { font-size: .85rem; color: var(--muted); }
.board-rule { margin: 10px 0 18px; font-size: .88rem; color: var(--muted); }

.b-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
.ema-wrap { filter: drop-shadow(3px 3px 0 rgba(46, 61, 85, .2)); }
.ema { background: #8a6f4e; padding: 3px; clip-path: polygon(0 24px, 50% 0, 100% 24px, 100% 100%, 0 100%); }
.ema-in {
  position: relative; padding: 38px 16px 12px; background: #eadfc4;
  clip-path: polygon(0 22px, 50% 0, 100% 22px, 100% 100%, 0 100%);
}
.ema-in::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px;
  border-radius: 50%; background: #8a6f4e;
}
.m-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.m-meta strong { font-family: var(--f-head); }
.m-type { font-size: .72rem; line-height: 1; padding: 4px 9px; border-radius: 999px; color: var(--paper); }
.m-type.cheer { background: var(--shu); }
.m-type.ask { background: var(--ai); }
.m-text { margin: 0 0 6px; white-space: pre-wrap; word-break: break-word; }
.m-reply {
  margin: 8px 0 6px; padding: 8px 12px; font-size: .92rem;
  background: rgba(46, 61, 85, .09); border-left: 4px solid var(--ai); border-radius: 4px;
}
.m-reply strong { display: block; font-size: .8rem; color: var(--ai); }
.m-foot { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.m-btn { font: inherit; font-size: .8rem; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 2px 0; }
.m-btn:hover { color: var(--shu-deep); }

/* ============================================================
   抽籤小屋
   ============================================================ */
.ok-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.ok-box-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.ok-box { width: 150px; height: auto; transform-origin: 50% 92%; }
.ok-box.shaking { animation: okShake .9s ease-in-out; }
@keyframes okShake {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-11deg) translateY(-6px); }
  30% { transform: rotate(10deg); }
  45% { transform: rotate(-9deg) translateY(-4px); }
  60% { transform: rotate(8deg); }
  80% { transform: rotate(-4deg); }
}
.ok-status { margin: 0; font-weight: 700; }
.ok-points { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.ok-points strong { font-family: var(--f-head); color: var(--ink); }
.ok-box-col .pd-msg { min-height: 3.2em; font-size: .9rem; }

.ok-empty {
  padding: 40px 20px; text-align: center; color: var(--muted);
  border: 2px dashed var(--ai); border-radius: 18px; background: var(--paper);
}
.ok-empty p { margin: 4px 0; }
.ok-paper {
  padding: 20px 22px; background: var(--paper);
  border: 2px solid var(--ai); border-radius: 14px; box-shadow: 5px 5px 0 rgba(46, 61, 85, .16);
  transform-origin: top; animation: okIn .5s ease both;
}
@keyframes okIn { from { opacity: 0; transform: translateY(-10px) scaleY(.85); } to { opacity: 1; transform: none; } }
.ok-head { display: flex; gap: 18px; align-items: flex-start; }
.ok-level {
  flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding: 12px 10px; border-radius: 10px; color: var(--paper);
  font: 900 2.3rem/1.2 var(--f-head); box-shadow: 3px 3px 0 rgba(46, 61, 85, .2);
}
.tone-great { background: var(--shu); }
.tone-good { background: var(--kin-deep); }
.tone-mid { background: var(--ai); }
.tone-bad { background: #5a6575; }
.ok-jp { margin: 0; color: var(--muted); font-size: .9rem; }
.ok-text { margin: 2px 0 8px; font-size: 1.1rem; font-weight: 500; }
.ok-tip { margin: 0; color: var(--muted); font-size: .92rem; }
.ok-tip strong { display: block; color: var(--shu-deep); font-size: .8rem; }
.ok-word {
  margin-top: 18px; padding: 14px 18px;
  background: rgba(201, 168, 92, .16); border: 2px dashed var(--kin-deep); border-radius: 12px;
}
.ok-word-label { margin: 0; font-size: .8rem; color: var(--kin-deep); font-weight: 700; }
.ok-word-main { margin: 0; font-size: 2.2rem; line-height: 1.9; font-weight: 700; }
.ok-word-main rt { font-size: .38em; }
.ok-mean { margin: 0 0 8px; font-size: 1.1rem; color: var(--shu-deep); font-weight: 700; }
.ok-ex { margin: 0; font-size: 1.1rem; line-height: 2.1; }
.ok-ex-zh { margin: 0; color: var(--muted); font-size: .92rem; }
.ok-fine { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: right; }

.ok-book { margin-top: 34px; }
.wb { display: flex; flex-wrap: wrap; gap: 10px; }
.wb-item {
  display: flex; flex-direction: column; align-items: center; padding: 4px 14px 6px;
  background: var(--paper); border: 2px solid var(--line); border-radius: 12px;
}
.wb-w { font-size: 1.2rem; font-weight: 700; line-height: 1.9; }
.wb-w rt { font-size: .5em; font-weight: 400; color: var(--muted); }
.wb-m { font-size: .8rem; color: var(--muted); }

@media (max-width: 760px) {
  .ok-wrap { grid-template-columns: 1fr; gap: 18px; }
  .ok-box { width: 120px; }
  .ok-head { gap: 12px; }
  .ok-level { font-size: 1.9rem; min-width: 54px; padding: 10px 8px; }
  .ck-card { padding: 14px 14px 8px; }
  .stamp { width: 36px; height: 36px; font-size: 1.05rem; }
  .bf-type { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ok-box.shaking, .ok-paper { animation: none; }
}

.wb-count { margin-left: 10px; font: 500 .9rem var(--f-body); color: var(--muted); }

.lvl-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; font: 700 .72rem/1.3 var(--f-head); color: var(--paper); background: var(--ai); border-radius: 999px; vertical-align: middle; }
.wb-item .lvl-badge { margin: 2px 0 0; }

/* ============================================================
   預覽版標籤、版本與配置頁
   ============================================================ */
.preview-tag {
  flex: none; padding: 3px 12px; font: 700 .82rem/1.5 var(--f-head); text-decoration: none;
  color: var(--shu-deep); background: rgba(184, 73, 63, .1);
  border: 2px dashed var(--shu); border-radius: 999px;
}
.preview-tag[hidden], .about-link[hidden] { display: none; }
.preview-tag:hover { background: rgba(184, 73, 63, .2); }
.about-link {
  display: block; margin: 0 10px 6px; padding: 8px 14px; border-radius: 10px;
  font-size: .85rem; color: #b9c4d4; text-decoration: none;
  border: 1.5px dashed rgba(242, 245, 239, .35);
}
.about-link:hover, .about-link.active { background: rgba(242, 245, 239, .12); color: var(--paper); }
.sidebar .about-link { margin-top: 4px; }
.ab-ver { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; margin-bottom: 8px; }
.ab-big { margin: 0; font-size: 1.1rem; }
.ab-big strong { font-family: var(--f-head); font-size: 2rem; color: var(--shu-deep); }
.ab-date { margin: 0; color: var(--muted); }
.ab-h { margin: 28px 0 10px; font-family: var(--f-head); font-size: 1.3rem; }
.ab-table th.rowh { width: 16em; }
.st { display: inline-block; padding: 3px 12px; border-radius: 999px; font: 700 .85rem/1.4 var(--f-head); white-space: nowrap; }
.st-done { background: #cfe0c8; color: #36502f; }
.st-demo { background: rgba(201, 168, 92, .3); color: #6d5720; }
.st-soon { background: rgba(90, 101, 117, .15); color: var(--muted); }
.ab-how { margin: 0 0 14px; padding-left: 1.4em; }
.ab-how li { margin: 4px 0; }
.ab-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ab-copy input {
  flex: 1; min-width: 200px; font: .85rem var(--f-body); color: var(--muted);
  background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 8px 12px;
}
.ab-copy .pd-msg { flex-basis: 100%; margin: 0; }
.ab-log { list-style: none; margin: 0 0 20px; padding: 0; }
.ab-log li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.ab-log strong { font-family: var(--f-head); color: var(--ai); margin-right: 10px; }
.ab-d { margin-right: 12px; color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) {
  .brand-mini { margin-right: 8px; }
  .preview-tag { margin-right: auto; font-size: .75rem; padding: 2px 10px; }
}
@media (max-width: 560px) { .preview-tag { display: none; } }

/* ============================================================
   解鎖（付費）相關：文法鎖、課金解鎖頁、每日挑戰
   ============================================================ */
.vip { display: inline-block; font: 700 .68rem/1 var(--f-head); padding: 3px 8px; border-radius: 999px; color: var(--paper); background: var(--kin-deep); }
.vip[hidden] { display: none; }
.badge.free { background: #cfe0c8; color: #36502f; }

.g-info {
  display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; padding: 10px 16px;
  background: rgba(201, 168, 92, .16); border: 1.5px dashed var(--kin-deep); border-radius: 12px;
}
.g-info small { color: var(--muted); font-size: .85rem; line-height: 1.6; }
.g-info a, .ch-note a, .vip-state a { color: var(--shu-deep); font-weight: 700; }
.entry-lock { background: rgba(242, 245, 239, .6); border-style: dashed; box-shadow: none; opacity: .92; }
.lock-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px 18px; }
.lock-ic { width: 20px; height: 20px; color: var(--muted); flex: none; }
.lock-row .e-title { color: var(--muted); }
.lock-why { margin-right: auto; font-size: .85rem; color: var(--muted); }
.lock-row .btn-s { text-decoration: none; }

/* 課金解鎖頁 */
.vip-state { margin-bottom: 18px; padding: 12px 18px; background: var(--paper); border: 2px solid var(--line); border-radius: 14px; }
.vip-state.on { border-color: var(--kin-deep); background: rgba(201, 168, 92, .16); }
.vip-state p { margin: 0 0 6px; }
.vip-state p:last-child { margin: 0; }
.plan-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 14px; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 16px 20px; background: var(--paper); border: 2px solid var(--ai); border-radius: 18px;
  box-shadow: 5px 5px 0 rgba(46, 61, 85, .16);
}
.plan.rec { border-color: var(--shu); box-shadow: 5px 5px 0 var(--kin); }
.plan-tag { position: absolute; top: -12px; padding: 3px 14px; font: 700 .8rem/1.4 var(--f-head); color: var(--paper); background: var(--shu); border-radius: 999px; }
.plan h3 { margin: 0; font-family: var(--f-head); font-size: 1.4rem; }
.plan-price { margin: 4px 0 0; font: 900 1.9rem var(--f-head); color: var(--shu-deep); }
.plan-per { margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.plan-blurb { margin: 0 0 14px; flex: 1; font-size: .92rem; color: var(--muted); }
.plan .demo { margin-top: 10px; }
.perk-list, .pick-list, .note-list { margin: 0; padding-left: 1.3em; }
.perk-list li, .note-list li { margin: 4px 0; }
.pick-list { list-style: none; padding: 0; }
.pick-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.pick-list strong { display: inline-block; min-width: 5.5em; font-family: var(--f-head); color: var(--ai); }
.note-list { color: var(--muted); font-size: .92rem; }
.why-box { margin-top: 30px; padding: 22px 22px 24px; background: var(--ai); color: var(--paper); border-radius: 20px; box-shadow: 6px 6px 0 rgba(46, 61, 85, .25); }
.why-box .ab-h { margin-top: 0; color: var(--paper); }
.why-intro { margin: 0 0 16px; color: #d6deea; }
.why-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-card { position: relative; padding: 14px 16px 14px 52px; background: rgba(242, 245, 239, .1); border: 1.5px solid rgba(242, 245, 239, .25); border-radius: 14px; }
.why-card h3 { margin: 0 0 4px; font-family: var(--f-head); font-size: 1.05rem; color: var(--kin); }
.why-card p { margin: 0; font-size: .92rem; line-height: 1.7; }
.why-n { position: absolute; left: 14px; top: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--shu); font: 900 .95rem var(--f-head); }
.pick-box, .note-box, .perk-box { margin-top: 26px; }

/* 每日挑戰 */
.ch-state { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 14px; }
.chip { display: inline-block; padding: 4px 14px; border-radius: 999px; font: 700 .85rem/1.4 var(--f-head); }
.chip.free { background: rgba(46, 61, 85, .12); color: var(--ai); }
.chip.vip { background: var(--kin-deep); color: var(--paper); }
.ch-card { padding: 20px 22px; background: var(--paper); border: 2px solid var(--ai); border-radius: 18px; box-shadow: 5px 5px 0 rgba(46, 61, 85, .16); }
.ch-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.ch-n { font-family: var(--f-head); font-weight: 700; color: var(--muted); }
.ch-type { padding: 3px 12px; border-radius: 999px; font: 700 .82rem/1.4 var(--f-head); color: var(--paper); }
.t-vocab { background: var(--shu); } .t-order { background: var(--ai); } .t-similar { background: var(--kin-deep); }
.ch-head .lvl-badge { margin: 0; background: var(--muted); }
.ch-q { margin: 0 0 14px; font-size: 1.4rem; line-height: 1.7; }
.ch-hint { margin: -6px 0 10px; font-size: .88rem; color: var(--muted); }
.ch-opts { display: grid; gap: 10px; }
.ch-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-align: left; cursor: pointer;
  font: 500 1.1rem var(--f-body); color: var(--ink); background: #fff; border: 2px solid var(--ai); border-radius: 12px;
  transition: background .15s;
}
.ch-opt:hover:not(:disabled) { background: rgba(46, 61, 85, .08); }
.ch-opt:disabled { cursor: default; }
.ch-key { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ai); color: var(--paper); font: 700 .85rem var(--f-head); }
.ch-opt.right { background: #d7e8d0; border-color: #4f7a43; }
.ch-opt.wrong { background: #f1d6d2; border-color: var(--shu-deep); }
.ch-ans { display: flex; flex-wrap: wrap; gap: 8px; min-height: 58px; padding: 10px; margin-bottom: 12px; align-items: center; background: #fff; border: 2px dashed var(--ai); border-radius: 12px; }
.ch-ph { color: var(--muted); font-size: .9rem; }
.ch-pool { display: flex; flex-wrap: wrap; gap: 8px; min-height: 46px; margin-bottom: 14px; }
.ch-chip { font: 500 1.15rem var(--f-body); color: var(--ink); padding: 8px 16px; cursor: pointer; background: #eadfc4; border: 2px solid #8a6f4e; border-radius: 10px; box-shadow: 2px 2px 0 rgba(46, 61, 85, .2); }
.ch-chip.on { background: var(--paper); border-color: var(--ai); }
.ch-chip:disabled { cursor: default; box-shadow: none; }
.ch-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ch-fb { margin-top: 14px; }
.ch-fb:empty { display: none; }
.ch-fb p { margin: 0 0 6px; }
.fb-ok { font: 900 1.2rem var(--f-head); color: #3f6b34; }
.fb-ng { font: 900 1.2rem var(--f-head); color: var(--shu-deep); }
.fb-ex { color: var(--muted); margin-bottom: 12px !important; }
.ch-done h2 { margin: 0 0 4px; font-family: var(--f-head); }
.ch-score { margin: 0 0 10px; font-size: 1.1rem; }
.ch-score strong { font: 900 2.4rem var(--f-head); color: var(--shu-deep); }
.ch-list { list-style: none; margin: 0 0 14px; padding: 0; }
.ch-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ch-list .mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 900 1rem var(--f-head); color: var(--paper); }
.ch-list .ok .mark { background: #4f7a43; } .ch-list .ng .mark { background: var(--shu-deep); }
.ch-list .lvl-badge { margin: 0; background: var(--muted); }
.ch-note { margin: 0 0 12px; color: var(--muted); }
@media (max-width: 560px) {
  .ch-card { padding: 16px 14px; }
  .ch-q { font-size: 1.2rem; }
  .why-box { padding: 18px 14px; }
}

/* 試營運（全部免費）模式：隱藏所有付費入口 */
.mode-free .pay-only { display: none !important; }
.trial-banner {
  margin: 0 0 14px; padding: 9px 16px; font-weight: 500;
  background: #dfeadb; border: 1.5px dashed #5f8a52; border-radius: 12px; color: #34502c;
}
.trial-banner[hidden] { display: none; }

/* 文法區：章節標題、編號、重點說明 */
.g-group {
  display: flex; align-items: center; gap: 12px; margin: 26px 0 12px;
  font-family: var(--f-head); font-size: 1.3rem; color: var(--ai);
}
.g-group:first-child { margin-top: 4px; }
.g-group::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.g-no {
  display: inline-grid; place-items: center; flex: none; min-width: 28px; height: 28px; padding: 0 6px;
  border-radius: 50%; background: var(--shu); color: var(--paper); font: 900 .9rem var(--f-head);
}
.badge.draft { background: rgba(184, 73, 63, .12); color: var(--shu-deep); }
.pts { margin: 0; padding-left: 1.3em; }
.pts li { margin: 4px 0; }
.lock-row .g-no { background: var(--muted); }

/* 日文遊戲區：整頁都是遊戲，不上下捲動 */
.route-games, .route-games body { overflow: hidden; }
.route-games .content { max-width: none; padding: 10px 14px 12px; }
.route-games .site-foot { display: none; }
.route-games #view-games.on {
  display: flex; flex-direction: column; gap: 8px;
  height: calc(100vh - var(--top-h, 80px) - 22px);
  height: calc(100dvh - var(--top-h, 80px) - 22px);
}
.game-bar { display: flex; align-items: center; gap: 12px; flex: none; }
.game-bar h1 { margin: 0; font-family: var(--f-head); font-size: 1.25rem; white-space: nowrap; }
.game-hint { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: var(--muted); }
.game-bar, .game-wrap { width: 100%; max-width: 860px; margin-left: auto; margin-right: auto; }
.game-wrap {
  flex: 1; min-height: 0; max-height: 880px;
  border: 3px solid var(--ai); border-radius: 18px; overflow: hidden;
  background: #14102a; box-shadow: 5px 5px 0 rgba(46, 61, 85, .2);
}
.game-frame { display: block; width: 100%; height: 100%; border: 0; }
.game-wrap:fullscreen { max-width: none; max-height: none; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 560px) {
  .game-hint { display: none; }
  .game-bar { justify-content: space-between; }
  .route-games .content { padding: 8px 8px 8px; }
}

/* 輕度防複製 */
.protect, .protect body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.protect input, .protect textarea, .protect .allow-copy { -webkit-user-select: text; user-select: text; }
.protect img, .protect svg { -webkit-user-drag: none; }
.protect-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 12px);
  max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; pointer-events: none;
  background: var(--ai-deep); color: var(--paper); font-size: .9rem; opacity: 0;
  transition: opacity .2s, transform .2s;
}
.protect-toast.on { opacity: .95; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .protect-toast { transition: none; } }
