/* =========================================================
   ФармКласс — стиль «элитная медицина»
   Палитра: белый · слоновая кость · платина · медицинский голубой ·
   глубокий синий · приглушённый изумруд · шампанское
   ========================================================= */
:root {
  --ivory: #f7f4ee;
  --ivory-2: #efebe3;
  --bg-top: #faf8f4;
  --bg-bottom: #ece8e0;
  --card: #ffffff;
  --hair: rgba(20, 37, 63, 0.09);
  --text: #14253f;
  --muted: #7a8394;
  --navy: #14253f;
  --emerald: #24503f;
  --gold: #b8975c;
  --gold-soft: #e3d3b3;
  --good: #2e6b52;
  --bad: #9e3b4a;
  --shadow: 0 1px 2px rgba(20, 37, 63, 0.04), 0 10px 30px rgba(20, 37, 63, 0.06);
  --shadow-lg: 0 20px 50px rgba(20, 37, 63, 0.12);
  --radius: 18px;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg-bottom); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) fixed;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overscroll-behavior-y: none;
}

button {
  font: inherit; color: inherit; border: 0; background: none; cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
}
button:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.ic { display: block; flex: none; }

.wrap {
  max-width: 780px;
  margin: 0 auto;
  padding:
    calc(env(safe-area-inset-top, 0px) + 14px)
    calc(env(safe-area-inset-right, 0px) + 18px)
    calc(env(safe-area-inset-bottom, 0px) + 28px)
    calc(env(safe-area-inset-left, 0px) + 18px);
}
.loading { padding: 40vh 0; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 22px; }

/* ---------- Типографика ---------- */
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }

/* ---------- Общие блоки ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.orb {
  width: 52px; height: 52px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--navy);
  border: 1px solid var(--hair);
}
.orb.sm { width: 42px; height: 42px; }

.topbar { display: flex; align-items: center; gap: 10px; min-height: 52px; margin-bottom: 14px; }
.topbar .title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.icon-btn {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  color: var(--navy);
}
.icon-btn:active { transform: scale(0.94); }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  padding: 18px 22px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #23395b, #14253f);
  box-shadow: 0 10px 24px rgba(20, 37, 63, 0.22), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .1s;
}
.btn:active { transform: scale(0.985); }
.btn.outline { color: var(--navy); background: transparent; border: 1px solid var(--gold); box-shadow: none; }
.btn-link {
  display: block; margin: 6px auto 0; padding: 12px 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Главная ---------- */
.hero { text-align: center; padding: 22px 0 6px; }
.hero .logo { width: 64px; height: 64px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: 48px; line-height: 1; letter-spacing: -0.01em;
  margin: 18px 0 8px;
  color: var(--navy);
}
.hero .lead { font-family: var(--serif); font-size: 21px; color: var(--muted); margin: 0 0 16px; font-style: italic; }
.facts { display: flex; justify-content: center; align-items: center; gap: 9px; flex-wrap: wrap; }
.facts span { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts i { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }

/* Баннер «Смена» — горный пейзаж, как в цифровом стиле мудборда */
.feature {
  position: relative; overflow: hidden;
  display: block; width: 100%; text-align: left;
  margin: 24px 0 14px;
  padding: 26px 24px 24px;
  min-height: 236px;
  border-radius: 24px;
  color: var(--navy);
  background: linear-gradient(180deg, #f3f6f8 0%, #dde6ed 50%, #c3d2de 100%);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-lg);
}
.feature svg.mountains { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; pointer-events: none; }
.feature > *:not(svg) { position: relative; }
.feature .eyebrow { color: #6c7d90; }
.feature h2 { font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.05; margin: 8px 0 6px; }
.feature p { margin: 0 0 20px; font-size: 14px; color: #4d5d72; max-width: 360px; line-height: 1.45; }
.feature .pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: linear-gradient(180deg, #23395b, #14253f); color: #fff;
  box-shadow: 0 8px 20px rgba(20,37,63,.2);
  font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
}
.feature .rec {
  position: absolute; top: 24px; right: 22px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.feature:active { transform: scale(0.99); }

.overall { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin-bottom: 14px; }
.overall .num { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; white-space: nowrap; color: var(--navy); }
.overall .num small { font-size: 18px; color: var(--muted); }
.overall .grow { flex: 1; min-width: 0; }
.overall .eyebrow { margin-bottom: 10px; }

.bar { display: block; height: 4px; border-radius: 99px; background: var(--ivory-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-soft), var(--gold)); transition: width .5s; }

.modes { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .modes { grid-template-columns: 1fr 1fr; } }

.mode { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 16px 18px; }
.mode:active { transform: scale(0.985); }
.mode .t { font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.1; color: var(--navy); }
.mode .d { color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.35; }
.mode .badge {
  margin-left: auto; flex: none;
  min-width: 30px; padding: 4px 10px;
  border-radius: 99px; border: 1px solid var(--bad);
  color: var(--bad); font-weight: 700; font-size: 13px; text-align: center;
}
.mode .chev { margin-left: auto; color: var(--gold); }
.mode[disabled] { opacity: .55; }

.install { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-top: 16px; border-color: var(--gold-soft); }
.install .x { margin-left: auto; color: var(--muted); padding: 2px; }
.install b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); }
.install p { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.install .inline-ic { display: inline-block; vertical-align: -4px; color: var(--navy); }
.install .btn { margin-top: 12px; padding: 13px 18px; }

/* ---------- Разделы ---------- */
.page-head { margin: 0 0 18px; }
.page-head h1 { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1.05; margin: 6px 0 0; color: var(--navy); }

.seg { display: flex; background: var(--ivory-2); border-radius: 999px; padding: 4px; margin-bottom: 16px; }
.seg button { flex: 1; padding: 10px 6px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--navy); box-shadow: 0 2px 8px rgba(20,37,63,.08); }

.decks { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .decks { grid-template-columns: repeat(3, 1fr); } }
.deck { padding: 16px; text-align: left; display: flex; flex-direction: column; gap: 8px; min-height: 156px; }
.deck:active { transform: scale(0.97); }
.deck .orb { color: var(--gold); border-color: var(--gold-soft); }
.deck .n { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.1; margin-top: 4px; color: var(--navy); }
.deck .m { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: auto; }

/* ---------- Игра ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 14px 0; margin-bottom: 14px; }
.stats > div { text-align: center; border-right: 1px solid var(--hair); }
.stats > div:last-child { border: 0; }
.stats small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.stats b { font-family: var(--serif); font-size: 34px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; line-height: 1.05; color: var(--navy); }
.stats .combo { color: var(--gold); }
.stats .low { color: var(--bad); }

.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.progress .bar { flex: 1; }
.progress .cmb { color: var(--gold); }

.drug { position: relative; display: flex; align-items: center; gap: 18px; padding: 24px 22px; min-height: 122px; }
.drug .orb { width: 66px; height: 66px; border-color: var(--gold-soft); color: var(--gold); }
.drug .name { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.05; word-break: break-word; color: var(--navy); padding-right: 30px; }
.drug .latin { margin-top: 6px; color: var(--muted); font-family: var(--serif); font-size: 18px; font-style: italic; }
.drug .help {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--gold-soft); color: var(--gold);
  font-family: var(--serif); font-size: 18px; font-weight: 600;
}
.drug.pop { animation: pop .3s ease-out; }
@keyframes pop { from { transform: translateY(4px); opacity: .3; } to { transform: none; opacity: 1; } }

.prompt { text-align: center; margin: 18px 0 14px; }

.options { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .options { grid-template-columns: repeat(3, 1fr); } }

.opt {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-width: 0; min-height: 82px;
  padding: 13px 15px;
  border-radius: 16px;
  text-align: left;
  color: var(--t);
  background: linear-gradient(165deg, var(--c1), var(--c2));
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 8px 20px rgba(20, 37, 63, 0.10), inset 0 1px 0 rgba(255,255,255,.25);
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto;
  transition: transform .1s, opacity .25s, filter .25s;
}
.opt:active { transform: scale(0.975); }
.opt .l { font-weight: 700; font-size: 15px; line-height: 1.22; }
.opt.long .l { font-size: 13.5px; }
.opt .h { font-weight: 500; font-size: 12px; line-height: 1.3; opacity: .78; margin-top: 4px; }
@media (min-width: 420px) { .opt .l { font-size: 16px; } .opt.long .l { font-size: 14px; } }
.opt.dim { opacity: .3; filter: saturate(.3); }
.opt.right { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--gold), 0 10px 26px rgba(184,151,92,.35); animation: pulse 1.2s infinite; }
.opt.wrong { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--bad); animation: shake .35s; }
.opt.ok { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--good); }
@keyframes pulse { 50% { transform: scale(1.025); } }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Тона кнопок — из палитры мудборда */
.c-navy      { --c1: #2c4468; --c2: #16273f; --t: #fff; }
.c-champagne { --c1: #efe2c6; --c2: #d6bc8c; --t: #2d2415; }
.c-emerald   { --c1: #3a6d58; --c2: #1f4636; --t: #fff; }
.c-sky       { --c1: #e2edf3; --c2: #b7cfdd; --t: #14253f; }
.c-taupe     { --c1: #98846f; --c2: #6f5e4d; --t: #fff; }
.c-platinum  { --c1: #f4f4f5; --c2: #cdd1d6; --t: #1c2540; }
.c-teal      { --c1: #5b8a8c; --c2: #355e62; --t: #fff; }
.c-rose      { --c1: #f1e2df; --c2: #d4b3ad; --t: #3a2226; }
.c-sage      { --c1: #a3b192; --c2: #76866a; --t: #fff; }
.c-slate     { --c1: #6b788b; --c2: #434f62; --t: #fff; }

.feedback { margin-top: 16px; padding: 18px 20px 14px 22px; border-left: 2px solid var(--bad); animation: pop .25s ease-out; }
.feedback h3 { margin: 0 0 10px; font-family: var(--serif); font-weight: 600; font-size: 25px; color: var(--bad); display: flex; align-items: center; gap: 10px; }
.feedback p { margin: 0 0 10px; line-height: 1.5; }
.feedback .ans { font-weight: 700; color: var(--navy); }
.feedback .arrow { color: var(--gold); }
.feedback .rem { display: flex; gap: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.feedback .rem .ic { color: var(--gold); margin-top: 1px; }
.feedback .eyebrow { margin: 12px 0 6px; }
.feedback .next { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 99px;
  background: var(--ivory); border: 1px solid var(--hair);
  font-size: 13px; font-weight: 600; color: var(--text);
}
.chip .ic { color: var(--good); }
button.chip:active { transform: scale(.96); }

.float {
  position: fixed; left: 50%; top: 38%;
  transform: translate(-50%, 0);
  font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--gold);
  pointer-events: none;
  animation: floatUp .75s ease-out forwards;
}
@keyframes floatUp { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -56px); } }

/* iPad в альбомной ориентации: карточка слева, кнопки справа */
@media (min-width: 1000px) and (orientation: landscape) {
  .wrap.game { max-width: 1180px; }
  .game-grid { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-areas: "drug opts" "fb opts"; column-gap: 28px; align-items: start; }
  .g-drug { grid-area: drug; }
  .g-opts { grid-area: opts; grid-row: 1 / span 2; }
  .g-fb { grid-area: fb; }
  .game-grid .prompt { text-align: left; margin-top: 0; }
  .game-grid .options { grid-template-columns: 1fr 1fr; }
}

/* ---------- Результаты ---------- */
.result { text-align: center; }
.result > .eyebrow { margin-top: 26px; }
.result h1 { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.05; margin: 10px 0 6px; color: var(--navy); }
.result .sub { color: var(--muted); margin: 0; }
.result .big { font-family: var(--serif); font-size: 100px; font-weight: 500; line-height: 1; margin: 18px 0 6px; color: var(--navy); font-variant-numeric: lining-nums; }
.result .record { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 22px 0 26px; }
.tile { padding: 16px 6px 14px; }
.tile b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.05; font-variant-numeric: lining-nums; color: var(--navy); }
.tile small { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; }
.tile.bad b { color: var(--bad); }
.tile.good b { color: var(--good); }
.result .list { text-align: left; }
.section-title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 25px; margin: 6px 0 12px; color: var(--navy); }
.section-title .ic { color: var(--gold); }
.miss { display: block; width: 100%; text-align: left; padding: 16px 18px; margin-bottom: 10px; border-left: 2px solid var(--bad); }
.miss .n { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--navy); }
.miss .c { display: flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 13px; margin: 3px 0 6px; }
.miss .c .ic { color: var(--gold); }
.miss .p { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.result .actions { display: grid; gap: 12px; margin-top: 26px; }

/* ---------- Справочник ---------- */
.search-box { position: relative; margin-bottom: 16px; }
.search-box .ic { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search {
  width: 100%;
  padding: 15px 16px 15px 48px;
  font: inherit; font-size: 16px;
  color: var(--text);
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  -webkit-appearance: none; appearance: none;
}
.search::placeholder { color: var(--muted); }
.ref-deck { margin-bottom: 12px; overflow: hidden; }
.ref-deck > summary { list-style: none; padding: 14px 18px; display: flex; gap: 14px; align-items: center; cursor: pointer; }
.ref-deck > summary::-webkit-details-marker { display: none; }
.ref-deck > summary .orb { color: var(--gold); border-color: var(--gold-soft); }
.ref-deck > summary .nm { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--navy); }
.ref-deck > summary .cnt { margin-left: auto; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.ref-class { padding: 6px 18px 14px; border-top: 1px solid var(--hair); }
.ref-class .cn { font-weight: 700; margin-top: 10px; color: var(--navy); }
.ref-class .ch { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-family: var(--serif); font-size: 21px; }

/* ---------- Шторка ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(12, 22, 38, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); z-index: 20; animation: fade .2s; }
.sheet {
  position: fixed; left: 50%; bottom: 0; z-index: 21;
  transform: translateX(-50%);
  width: 100%; max-width: 640px; max-height: 88vh; overflow-y: auto;
  padding: 12px 24px calc(env(safe-area-inset-bottom, 0px) + 26px);
  border-radius: 26px 26px 0 0;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  animation: slideUp .28s ease-out;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 700px) {
  .sheet { bottom: auto; top: 50%; transform: translate(-50%, -50%); border-radius: 26px; padding-bottom: 26px; animation: fade .2s; }
}
.sheet .grab { width: 40px; height: 4px; border-radius: 9px; background: var(--ivory-2); margin: 0 auto 14px; }
.sheet h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.05; color: var(--navy); }
.sheet .latin { color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 19px; margin: 4px 0 10px; }
.sheet .row { padding: 14px 0; border-top: 1px solid var(--hair); }
.sheet .row .eyebrow { margin-bottom: 6px; }
.sheet .row p { margin: 0; line-height: 1.5; }
.sheet .close { position: sticky; top: 0; float: right; width: 40px; height: 40px; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; color: var(--navy); }
@keyframes slideUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes fade { from { opacity: 0; } }

/* ---------- Настройки ---------- */
.setting { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 18px; margin-bottom: 10px; }
.setting .t { font-weight: 700; }
.setting .d { color: var(--muted); font-size: 13.5px; margin-top: 3px; line-height: 1.4; }
.setting .sw { margin-left: auto; flex: none; }
.switch { position: relative; width: 50px; height: 30px; border-radius: 99px; background: var(--ivory-2); border: 1px solid var(--hair); transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch.on { background: var(--emerald); }
.switch.on::after { transform: translateX(20px); }
.danger { color: var(--bad); }
.ok-line { display: inline-flex; align-items: center; gap: 6px; color: var(--good); }

.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
  transform: translate(-50%, 160%);
  max-width: calc(100% - 36px);
  padding: 13px 20px; border-radius: 999px;
  background: #14253f; color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: 0 12px 30px rgba(20,37,63,.3);
  transition: transform .3s; z-index: 30;
  display: flex; gap: 12px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast button { color: #f1e3c4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }

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