/* ============================================================
   MIU Guide — дизайн-система
   ============================================================ */
:root {
  --navy: #22345a;
  --navy-2: #2d4372;
  --navy-deep: #16233f;
  --ink: #1b2440;
  --muted: #6a7690;
  --bg: #eef2f9;
  --bg-grad-1: #eaf0fb;
  --bg-grad-2: #f6f0ff;
  --card: #ffffff;
  --line: #e4e9f4;
  --line-2: #eef2fa;
  --accent: #ff6b5e;
  --accent-ink: #d64a3c;
  --gold: #ffb648;
  --sky: #4f9cf0;
  --green: #2fae87;
  --radius: 20px;
  --radius-sm: 13px;
  --shadow-s: 0 4px 14px rgba(27, 36, 64, .06);
  --shadow-m: 0 12px 34px rgba(27, 36, 64, .10);
  --shadow-l: 0 24px 60px rgba(27, 36, 64, .16);
  --font: "SF Pro Rounded", ui-rounded, "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: radial-gradient(120% 90% at 100% 0%, var(--bg-grad-2) 0%, var(--bg-grad-1) 40%, var(--bg) 100%) fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }

#app { max-width: 860px; margin: 0 auto; min-height: 100vh; padding-bottom: 96px; position: relative; }

/* ---------- topbar ---------- */
#topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__badge { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(160deg, #eaf0ff, #dfe8ff); display: grid; place-items: center; box-shadow: var(--shadow-s); }
.brand__badge svg { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.brand__text b { font-size: 17px; letter-spacing: .2px; }
.brand__text small { font-size: 11px; color: var(--muted); }
.topbar__spacer { flex: 1; }
.chip { padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 13px; background: var(--card); box-shadow: var(--shadow-s); color: var(--navy); }
.chip--ghost { background: rgba(255, 255, 255, .7); }
.only-wide { display: none; }
@media (min-width: 620px) { .only-wide { display: inline-flex; } }

/* ---------- bottom nav ---------- */
#bottomnav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 14px; z-index: 45;
  display: flex; gap: 4px; padding: 6px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line);
  border-radius: 999px; box-shadow: var(--shadow-m);
  width: min(420px, calc(100% - 28px)); justify-content: space-between;
}
.navbtn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 4px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--muted); transition: .18s; }
.navbtn__ic { font-size: 19px; line-height: 1; filter: grayscale(.3); transition: .18s; }
.navbtn.is-active { background: var(--navy); color: #fff; }
.navbtn.is-active .navbtn__ic { filter: none; transform: translateY(-1px); }

body.is-welcome #topbar, body.is-welcome #bottomnav { display: none; }
body.is-welcome #app { max-width: none; padding-bottom: 0; }
body.is-welcome #view { padding: 0; }

/* ---------- view ---------- */
#view { padding: 18px 16px 8px; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.section-title { font-size: 15px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--muted); margin: 22px 4px 12px; font-weight: 800; }
.muted { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 800; font-size: 15px; transition: .16s; }
.btn--primary { background: linear-gradient(135deg, var(--accent), #ff8a5e); color: #fff; box-shadow: 0 10px 22px rgba(255, 107, 94, .34); }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { background: var(--card); color: var(--navy); box-shadow: var(--shadow-s); }
.btn--danger { background: #ffe9e6; color: var(--accent-ink); }
.iconbtn { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: var(--card); box-shadow: var(--shadow-s); color: var(--navy); }

.input { width: 100%; padding: 13px 15px; border-radius: 13px; border: 1.6px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); transition: .16s; }
.input:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(79, 156, 240, .16); }

/* ---------- mascot ---------- */
.miu { display: block; }
.miu--float { animation: float 3.4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }

/* ---------- WELCOME ---------- */
.welcome { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; position: relative; overflow: hidden; }
.welcome > .welcome__blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: 0; }
.welcome__blob--1 { width: 320px; height: 320px; background: #b9d0ff; top: -60px; left: -80px; }
.welcome__blob--2 { width: 300px; height: 300px; background: #ffd2c7; bottom: -70px; right: -70px; }
.welcome > *:not(.welcome__blob) { position: relative; z-index: 1; }
.welcome__mascot svg { width: 210px; height: auto; filter: drop-shadow(0 18px 30px rgba(34, 52, 90, .22)); }
.welcome__title { font-size: clamp(28px, 7vw, 40px); margin: 14px 0 8px; letter-spacing: -.5px; }
.welcome__title span { color: var(--accent); }
.welcome__lead { max-width: 460px; color: #47526e; font-size: 16px; margin: 0 0 26px; }
.welcome__form { display: flex; flex-direction: column; gap: 10px; width: min(360px, 100%); }
.welcome__form .input { text-align: center; font-size: 16px; padding: 15px; }
.welcome__form .btn { padding: 15px; }
.welcome__hint { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
@media (min-width: 560px) { .welcome__form { flex-direction: row; } .welcome__form .input { text-align: left; } }

/* ---------- HOME ---------- */
.hello { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.hello__mascot svg { width: 88px; height: auto; }
.hello__title { font-size: clamp(22px, 5.5vw, 28px); margin: 0; letter-spacing: -.3px; }
.hello__sub { color: var(--muted); margin: 2px 0 0; font-size: 14px; }

.nextcard { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-radius: var(--radius); padding: 16px 16px 18px; margin-top: 14px; box-shadow: var(--shadow-m); position: relative; overflow: hidden; }
.nextcard::after { content: ""; position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255, 182, 72, .25), transparent 70%); top: -80px; right: -40px; }
.nextcard.is-now { background: linear-gradient(160deg, #2a6d5a, #1f4d40); }
.nextcard__head { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.nextcard__label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .85; font-weight: 800; }
.nextcard__when { background: rgba(255, 255, 255, .16); padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.nextcard__body { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; position: relative; z-index: 1; }
.nextcard__mascot { flex-shrink: 0; }
.nextcard__mascot svg { width: 84px; height: auto; }
.nextcard__title { font-size: 20px; display: block; letter-spacing: -.3px; }
.nextcard__meta { font-size: 13px; opacity: .8; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.nextcard__room { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; flex-wrap: wrap; }
.nextcard__room .pin { font-size: 15px; }
.floortag { background: rgba(255, 255, 255, .18); padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.nextcard__go { width: 100%; position: relative; z-index: 1; }
.nextcard--empty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nextcard--empty b { display: block; }
.nextcard--empty p { margin: 3px 0 0; font-size: 13px; opacity: .82; }
.nextcard--empty .btn { margin-left: auto; }

/* scenarios */
.scenarios { display: grid; gap: 10px; }
.scard { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-s); border-left: 5px solid var(--accent); transition: .16s; }
.scard:hover { transform: translateX(3px); box-shadow: var(--shadow-m); }
.scard__emoji { font-size: 28px; }
.scard__text { flex: 1; display: flex; flex-direction: column; }
.scard__text b { font-size: 16px; }
.scard__text small { color: var(--muted); font-size: 13px; }
.scard__go { color: var(--accent-ink); font-weight: 800; font-size: 13px; white-space: nowrap; }

/* tiles */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: var(--card); border-radius: var(--radius-sm); padding: 15px; text-align: left; box-shadow: var(--shadow-s); transition: .16s; display: flex; flex-direction: column; gap: 3px; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.tile__ic { font-size: 26px; margin-bottom: 4px; }
.tile b { font-size: 15px; }
.tile small { color: var(--muted); font-size: 12.5px; }

/* ---------- SCENARIO ---------- */
.scene { --accent: var(--sky); }
.scene__bar { display: flex; align-items: center; gap: 12px; }
.scene__titles { display: flex; flex-direction: column; }
.scene__titles b { font-size: 17px; }
.scene__titles small { color: var(--muted); font-size: 12.5px; }
.progress { height: 7px; background: var(--line); border-radius: 999px; margin: 14px 0 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 999px; transition: width .5s cubic-bezier(.4, 1.3, .5, 1); }
.dialog { min-height: 40vh; display: flex; flex-direction: column; gap: 10px; padding: 16px 2px 8px; }
.bubble { max-width: 84%; background: var(--card); padding: 12px 15px; border-radius: 16px 16px 16px 5px; box-shadow: var(--shadow-s); animation: pop .3s ease; align-self: flex-start; }
.bubble__miu { font-size: 11px; font-weight: 800; color: var(--accent); letter-spacing: .5px; text-transform: uppercase; }
.bubble p { margin: 3px 0 0; font-size: 15px; }
.bubble--me { align-self: flex-end; background: var(--navy); color: #fff; border-radius: 16px 16px 5px 16px; }
.bubble--me p { margin: 0; font-weight: 600; }
.bubble--typing { display: flex; gap: 5px; padding: 15px; }
.bubble--typing span { width: 8px; height: 8px; border-radius: 50%; background: #c3cbdd; animation: blink 1.2s infinite; }
.bubble--typing span:nth-child(2) { animation-delay: .2s; }
.bubble--typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: none; } }
.choices { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; align-self: stretch; animation: pop .3s ease; }
.choice { text-align: left; background: var(--card); border: 1.6px solid var(--line); padding: 13px 16px; border-radius: 13px; font-weight: 700; font-size: 14.5px; color: var(--navy); transition: .16s; }
.choice:hover { border-color: var(--accent); transform: translateX(3px); }
.choice--primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.choice--place { background: #eef5ff; border-color: #d6e6ff; color: var(--sky); }
.scene__mascot { position: sticky; bottom: 96px; margin-left: auto; width: 90px; pointer-events: none; }
.scene__mascot svg { width: 90px; height: auto; filter: drop-shadow(0 10px 16px rgba(34, 52, 90, .18)); }

/* ---------- MAP ---------- */
.floors { display: flex; gap: 8px; margin: 14px 0; overflow-x: auto; padding-bottom: 4px; }
.floorbtn { flex: 0 0 auto; width: 58px; padding: 9px 0; border-radius: 13px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 900; font-size: 20px; color: var(--navy); display: flex; flex-direction: column; align-items: center; transition: .16s; }
.floorbtn small { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.floorbtn.is-active { background: var(--navy); color: #fff; }
.floorbtn.is-active small { color: rgba(255, 255, 255, .7); }
.mapwrap { background: var(--card); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow-m); overflow-x: auto; }
.floorplan { width: 100%; min-width: 560px; height: auto; display: block; }
.fp-outline { fill: #f7f9fd; stroke: var(--line); stroke-width: 2; }
.fp-corridor { fill: #edf1f9; }
.fp-corridor-label { fill: #aeb8ce; font-size: 13px; font-weight: 700; }
.fp-stairs { fill: #e2e8f5; stroke: #cfd8ec; stroke-width: 1.5; }
.fp-stairs-label { font-size: 20px; text-anchor: middle; }
.fp-small { fill: #98a3bd; font-size: 11px; font-weight: 700; text-anchor: middle; }
.room { cursor: pointer; }
.room__rect { fill: #fff; stroke: var(--c); stroke-width: 1.8; transition: .18s; }
.room:hover .room__rect { fill: color-mix(in srgb, var(--c) 10%, #fff); }
.room__icon { font-size: 26px; }
.room__label { font-size: 12.5px; font-weight: 700; color: var(--ink); text-align: center; line-height: 1.15; font-family: var(--font); }
.room__check { fill: #fff; font-size: 12px; font-weight: 900; }
.room--target .room__rect { stroke-width: 3.5; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 107, 94, 0)); } 50% { filter: drop-shadow(0 0 10px rgba(255, 107, 94, .7)); } }
.route { fill: none; stroke: var(--accent); stroke-width: 4; stroke-dasharray: 3 9; stroke-linecap: round; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.route__dot { fill: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 14px 4px; }
.legend__i { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); font-weight: 700; }
.legend__i i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.legend__done { background: var(--green); color: #fff; border-radius: 50%; width: 16px; height: 16px; display: grid; place-items: center; font-size: 10px; font-style: normal; }
.routebanner { display: flex; align-items: center; gap: 10px; background: #fff4f2; border: 1.5px solid #ffd9d2; border-radius: var(--radius-sm); padding: 10px 12px; margin-bottom: 6px; }
.routebanner__mascot svg { width: 50px; height: auto; }
.routebanner b { font-size: 14.5px; display: block; }
.routebanner small { color: var(--muted); font-size: 12.5px; }
.routebanner .iconbtn { margin-left: auto; flex-shrink: 0; }

/* ---------- SCHEDULE ---------- */
.sched__next { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; padding: 12px 15px; border-radius: var(--radius-sm); font-size: 14px; margin: 14px 0; box-shadow: var(--shadow-s); cursor: pointer; }
.sched__next span:first-child { opacity: .75; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.sched__next b { font-size: 15px; }
.sched__when { margin-left: auto; background: rgba(255, 255, 255, .16); padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; }
.daytabs { display: flex; gap: 6px; margin: 4px 0 14px; }
.daytab { flex: 1; padding: 10px 0; border-radius: 12px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 800; color: var(--navy); position: relative; transition: .16s; }
.daytab.is-active { background: var(--navy); color: #fff; }
.daytab.is-today::after { content: ""; position: absolute; top: 6px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.daylist { display: grid; gap: 10px; }
.pair { position: relative; display: flex; gap: 14px; background: var(--card); border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-s); }
.pair--next { box-shadow: 0 0 0 2px var(--accent), var(--shadow-m); }
.pair__time { display: flex; flex-direction: column; align-items: flex-start; min-width: 58px; border-right: 1.5px solid var(--line-2); padding-right: 12px; }
.pair__time b { font-size: 17px; }
.pair__time small { color: var(--muted); font-size: 12px; }
.pair__num { font-size: 10px; color: var(--muted); margin-top: 6px; font-weight: 700; }
.pair__main { flex: 1; }
.pair__title { font-size: 16px; }
.pair__meta { color: var(--muted); font-size: 13px; margin: 3px 0 8px; }
.tagpill { background: var(--line-2); color: var(--navy); padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.pair__room { background: #eef5ff; color: var(--sky); font-weight: 800; font-size: 13px; padding: 7px 11px; border-radius: 10px; transition: .16s; }
.pair__room:hover { background: #dcecff; }
.pair__edit { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px; background: var(--line-2); color: var(--muted); font-size: 14px; }
.pair__edit:hover { background: var(--line); color: var(--navy); }
.pair__badge { position: absolute; bottom: 12px; right: 12px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 900; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; letter-spacing: .5px; }
.emptyday { text-align: center; padding: 24px; color: var(--muted); }
.emptyday svg { width: 84px; height: auto; margin: 0 auto 6px; }
.addpair { width: 100%; margin-top: 12px; }

/* form */
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form .input { text-transform: none; font-weight: 500; letter-spacing: normal; color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form__actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

/* ---------- PLACES ---------- */
.places__head { margin-bottom: 12px; }
.search { margin-bottom: 12px; }
.catfilter { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.catchip { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow-s); font-weight: 800; font-size: 13px; color: var(--muted); border: 1.6px solid transparent; transition: .16s; }
.catchip.is-active { color: #fff; background: var(--navy); }
.placegrid { display: grid; gap: 10px; }
@media (min-width: 620px) { .placegrid { grid-template-columns: 1fr 1fr; } }
.pcard { display: flex; gap: 13px; text-align: left; background: var(--card); border-radius: var(--radius-sm); padding: 14px; box-shadow: var(--shadow-s); border-left: 5px solid var(--c); transition: .16s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.pcard__ic { font-size: 30px; flex-shrink: 0; }
.pcard__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pcard__body b { font-size: 15.5px; }
.pcard__seen { color: var(--green); font-size: 13px; }
.pcard__body small { color: var(--muted); font-size: 12.7px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__foot { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.pcard__cat { font-size: 11.5px; font-weight: 800; }
.pcard__foot .floortag { background: var(--line-2); color: var(--muted); }

/* place detail modal */
.placedetail__hero { display: flex; align-items: center; gap: 14px; background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 4px; }
.placedetail__ic { font-size: 40px; }
.placedetail__hero .floortag { background: color-mix(in srgb, var(--c) 22%, #fff); color: var(--ink); margin-left: 8px; }
.placedetail__desc { font-size: 15px; margin: 14px 2px; }
.miutip { display: flex; gap: 10px; align-items: flex-start; background: #fff8ec; border: 1.5px solid #ffe9c4; border-radius: var(--radius-sm); padding: 12px; margin-bottom: 16px; }
.miutip__mascot svg { width: 50px; height: auto; flex-shrink: 0; }
.miutip p { margin: 0; font-size: 13.8px; }
.placedetail .btn { width: 100%; }

/* ---------- MODAL ---------- */
#modal-root { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
#modal-root.show { pointer-events: auto; }
.overlay { position: fixed; inset: 0; background: rgba(20, 28, 50, .5); backdrop-filter: blur(4px); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
@media (min-width: 560px) { .overlay { align-items: center; } }
.modal { background: var(--card); width: min(480px, 100%); max-height: 88vh; overflow-y: auto; border-radius: 22px 22px 0 0; box-shadow: var(--shadow-l); animation: slideup .28s cubic-bezier(.3, 1.1, .5, 1); }
@media (min-width: 560px) { .modal { border-radius: 22px; } }
@keyframes slideup { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.modal__head b { font-size: 18px; letter-spacing: -.3px; }
.modal__body { padding: 4px 18px 22px; }

/* ---------- TOAST ---------- */
#toast-root { position: fixed; top: 14px; left: 0; right: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 12px; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-l); font-size: 14px; max-width: 400px; opacity: 0; transform: translateY(-16px); transition: .35s cubic-bezier(.3, 1.2, .5, 1); display: flex; flex-direction: column; }
.toast.show { opacity: 1; transform: none; }
.toast.ach { background: linear-gradient(135deg, #2d4372, #22345a); border: 1.5px solid rgba(255, 182, 72, .5); }
.toast strong { font-size: 15px; }
.toast span { font-size: 12.5px; opacity: .85; }

/* ---------- misc ---------- */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: #cdd6e8; border-radius: 999px; }
