/* Rush Team — style « application mobile » sombre. Crew = orange, Team = bleu. */
:root {
  --bg: #08090c;
  --bg-2: #0d0f14;
  --card: #12151c;
  --card-2: #171b24;
  --line: rgb(255 255 255 / 7%);
  --line-2: rgb(255 255 255 / 12%);
  --text: #f4f6fa;
  --muted: #9aa3b2;
  --dim: #646c7a;
  --green: #34d399;
  --red: #f87171;
  --yellow: #fbbf24;
  --crew: #ff8a1f;
  --crew-2: #ffb35c;
  --crew-deep: #e05a00;
  --team: #3b82f6;
  --team-2: #7cb4ff;
  --team-deep: #1d4ed8;
  --radius: 20px;
  --radius-sm: 13px;
  --rail: 236px;
  --tabbar: 74px;
  color-scheme: dark;
}
body[data-theme="crew"] { --accent: var(--crew); --accent-2: var(--crew-2); --accent-deep: var(--crew-deep); --accent-rgb: 255 138 31; }
body[data-theme="team"] { --accent: var(--team); --accent-2: var(--team-2); --accent-deep: var(--team-deep); --accent-rgb: 59 130 246; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { color: var(--text); font: 500 15px/1.5 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .num, .tagmark, .brand b { font-family: "Sora", "Inter", sans-serif; }
a { color: var(--accent-2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg.i { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.boot { display: grid; place-items: center; min-height: 100svh; }
.boot img { width: 72px; animation: pulse 1.3s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; transform: scale(.92); } }
.muted { color: var(--muted); } .dim { color: var(--dim); }

/* ---------- Coquille ---------- */
.shell { min-height: 100svh; background:
  radial-gradient(900px 500px at 85% -10%, rgb(var(--accent-rgb) / 13%), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, rgb(var(--accent-rgb) / 6%), transparent 60%), var(--bg); transition: background .4s; }
.rail { display: none; }
.main { padding: calc(env(safe-area-inset-top) + 8px) 18px calc(var(--tabbar) + env(safe-area-inset-bottom) + 24px); max-width: 1120px; margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; margin: 0 -18px; padding: calc(env(safe-area-inset-top) + 10px) 18px 10px;
  background: rgb(8 9 12 / 72%); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .back { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-2); font-weight: 600; }
.topbar .back svg { width: 22px; height: 22px; }
.topbar .title-sm { flex: 1; text-align: center; font-weight: 700; font-size: 16px; opacity: 0; transition: opacity .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar.scrolled .title-sm { opacity: 1; }
.topbar .spacer { flex: 1; }
.avatar-btn { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-2); }
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }
.large-title { margin: 6px 0 4px; font-size: clamp(32px, 6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.large-title em { font-style: normal; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { margin: 0 0 18px; color: var(--muted); }

.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding: 8px 8px env(safe-area-inset-bottom);
  background: rgb(13 15 20 / 82%); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); border-top: 1px solid var(--line); }
.tab { display: grid; justify-items: center; align-content: center; gap: 4px; color: var(--dim); font-size: 11px; font-weight: 600; border-radius: 14px; transition: color .15s; }
.tab svg { width: 24px; height: 24px; }
.tab.active { color: var(--text); }
.tab.active svg { color: var(--tab-color, var(--accent)); filter: drop-shadow(0 0 10px rgb(var(--tab-rgb, var(--accent-rgb)) / 55%)); }
.tab[data-route="crew"] { --tab-color: var(--crew); --tab-rgb: 255 138 31; }
.tab[data-route="team"] { --tab-color: var(--team); --tab-rgb: 59 130 246; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
  .rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: 6px; height: 100svh; padding: 26px 16px; border-right: 1px solid var(--line); background: rgb(13 15 20 / 60%); }
  .brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 22px; }
  .brand img { width: 40px; height: 40px; object-fit: contain; }
  .brand b { display: block; font-size: 17px; letter-spacing: .02em; }
  .brand small { color: var(--dim); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
  .rail .tab { display: flex; justify-content: flex-start; gap: 12px; padding: 12px 14px; font-size: 14.5px; color: var(--muted); }
  .rail .tab svg { width: 21px; height: 21px; }
  .rail .tab:hover { background: rgb(255 255 255 / 4%); color: var(--text); }
  .rail .tab.active { background: rgb(var(--tab-rgb, var(--accent-rgb)) / 12%); color: var(--text); }
  .rail-foot { margin-top: auto; display: grid; gap: 10px; }
  .me-card { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
  .me-card img { width: 36px; height: 36px; border-radius: 50%; }
  .me-card div { min-width: 0; flex: 1; }
  .me-card b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .me-card small { color: var(--dim); font-size: 11.5px; }
  .tabbar { display: none; }
  .main { padding: 0 36px 48px; }
  .topbar { margin: 0 -36px; padding: 16px 36px 12px; }
}

/* ---------- Éléments ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--card-2), var(--card)); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 4px 10px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.section-title small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--dim); }
.group { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.row { display: flex; align-items: center; gap: 13px; min-height: 58px; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row.tap { cursor: pointer; transition: background .12s; }
.row.tap:hover, .row.tap:active { background: rgb(255 255 255 / 3.5%); }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main small { display: block; color: var(--dim); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { color: var(--dim); width: 18px; height: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 8px 24px rgb(var(--accent-rgb) / 28%), inset 0 1px rgb(255 255 255 / 18%); transition: transform .12s, filter .12s; }
.btn:hover:not(:disabled) { filter: brightness(1.08); }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn.ghost { color: var(--text); background: rgb(255 255 255 / 6%); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.danger { background: linear-gradient(135deg, #ef4444, #b91c1c); box-shadow: 0 8px 24px rgb(239 68 68 / 25%); }
.btn.sm { min-height: 36px; padding: 0 14px; border-radius: 11px; font-size: 13px; }
.btn.block { width: 100%; }
.link-btn { color: var(--accent-2); font-weight: 600; font-size: 14px; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--muted); background: rgb(255 255 255 / 5%); }
.icon-btn:hover { color: var(--text); background: rgb(255 255 255 / 9%); }
.icon-btn.danger:hover { color: var(--red); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-2); color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: rgb(var(--accent-rgb) / 70%); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / 14%); }
.field { display: grid; gap: 7px; }
.field > span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.field > small { color: var(--dim); font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgb(255 255 255 / 6%); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.on { color: var(--green); background: rgb(52 211 153 / 12%); }
.chip.accent { color: var(--accent-2); background: rgb(var(--accent-rgb) / 14%); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 44px 20px; color: var(--dim); text-align: center; }
.empty svg { width: 36px; height: 36px; color: var(--line-2); }
.empty b { color: var(--muted); font-size: 16px; }
.banner { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgb(251 191 36 / 30%); background: rgb(251 191 36 / 8%); color: #fde68a; font-size: 14px; }
.banner svg { color: var(--yellow); margin-top: 1px; }
.banner.ok { border-color: rgb(52 211 153 / 25%); background: rgb(52 211 153 / 7%); color: #a7f3d0; }
.banner.ok svg { color: var(--green); }
.banner.err { border-color: rgb(248 113 113 / 30%); background: rgb(248 113 113 / 8%); color: #fecaca; }
.banner.err svg { color: var(--red); }
.skeleton { height: 76px; border-radius: var(--radius); background: linear-gradient(90deg, var(--card), var(--card-2), var(--card)); background-size: 200% 100%; animation: sk 1.2s linear infinite; margin-bottom: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Marque d'un groupe (TAG) */
.tagmark { display: grid; place-items: center; flex: 0 0 auto; width: 50px; height: 50px; border-radius: 15px; color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .02em;
  background: linear-gradient(140deg, var(--g, var(--accent)), var(--g2, var(--accent-deep))); box-shadow: inset 0 1px rgb(255 255 255 / 25%), 0 6px 16px rgb(var(--g-rgb, var(--accent-rgb)) / 25%); }
.tagmark.crew { --g: var(--crew); --g2: var(--crew-deep); --g-rgb: 255 138 31; }
.tagmark.team { --g: var(--team); --g2: var(--team-deep); --g-rgb: 59 130 246; }
.tagmark.xl { width: 84px; height: 84px; border-radius: 26px; font-size: 22px; }

/* Segmented control */
.segmented { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: rgb(255 255 255 / 6%); }
.segmented button { position: relative; z-index: 1; min-height: 38px; border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--muted); transition: color .2s; }
.segmented button.active { color: #fff; }
.segmented .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-deep)); box-shadow: 0 6px 18px rgb(var(--accent-rgb) / 30%); transition: transform .25s cubic-bezier(.3, .8, .3, 1); }
.segmented[data-i="1"] .pill { transform: translateX(100%); }

/* Recherche */
.search { position: relative; margin-bottom: 14px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dim); width: 18px; height: 18px; }
.search .input { padding-left: 42px; border-radius: 14px; background: rgb(255 255 255 / 5%); border-color: transparent; }

/* Liste des groupes */
.glist { display: grid; gap: 10px; }
@media (min-width: 900px) { .glist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gcard { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--card-2), var(--card)); cursor: pointer; transition: transform .15s, border-color .15s; text-align: left; width: 100%; }
.gcard:hover { border-color: rgb(var(--accent-rgb) / 35%); transform: translateY(-2px); }
.gcard .row-main b { font-size: 16px; }
.gcard .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.stat-mini { text-align: right; }
.stat-mini b { display: block; font-family: "Sora"; font-size: 17px; }
.stat-mini small { color: var(--dim); font-size: 11px; }

/* Fiche */
.hero { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 8px; padding: 28px 20px 22px; border-radius: 26px; text-align: center; border: 1px solid rgb(var(--accent-rgb) / 25%);
  background: radial-gradient(120% 90% at 50% 0%, rgb(var(--accent-rgb) / 26%), transparent 65%), linear-gradient(170deg, var(--card-2), var(--card)); }
.hero h1 { margin: 6px 0 0; font-size: clamp(26px, 5vw, 34px); letter-spacing: -.02em; }
.hero .kind { color: var(--accent-2); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero .meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stat { padding: 14px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: center; }
.stat b { display: block; font-family: "Sora"; font-size: 20px; font-weight: 800; }
.stat small { color: var(--dim); font-size: 11.5px; font-weight: 600; }
.bar { height: 6px; border-radius: 99px; overflow: hidden; background: rgb(255 255 255 / 7%); }
.bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent-deep), var(--accent-2)); }
.layout-2 { display: grid; gap: 0 22px; }
@media (min-width: 1100px) { .layout-2 { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; } }

/* Membres */
.mav { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(140deg, #2a2f3b, #1c2029); position: relative; }
.mav.online::after { content: ""; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--green); border: 2px solid var(--card); }
.role-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--rc, var(--muted)); background: color-mix(in srgb, var(--rc, #888) 15%, transparent); }
.expand { display: none; gap: 10px; padding: 12px 16px 14px; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 2.5%); }
.expand.open { display: grid; }
.expand .actions { display: flex; flex-wrap: wrap; gap: 8px; }
.inline-form { display: grid; gap: 10px; padding: 16px; }
.inline-form .line { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .line > * { flex: 1 1 160px; }
.inline-form .line > .btn { flex: 0 0 auto; }
.confirm-box { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: rgb(248 113 113 / 8%); border: 1px solid rgb(248 113 113 / 25%); color: #fecaca; font-size: 14px; }
.confirm-box[hidden] { display: none; }
.confirm-box .actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Rôles */
.role-row .swatch { width: 14px; height: 14px; border-radius: 5px; background: var(--rc, #888); flex: 0 0 auto; }
.role-row .pos { display: grid; gap: 2px; }
.role-row .pos button { width: 28px; height: 22px; border-radius: 7px; color: var(--muted); background: rgb(255 255 255 / 5%); display: grid; place-items: center; }
.role-row .pos button svg { width: 15px; height: 15px; }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / 4%); font-size: 13.5px; cursor: pointer; }
.toggle input { appearance: none; position: relative; flex: 0 0 auto; width: 44px; height: 26px; border-radius: 99px; background: rgb(255 255 255 / 14%); transition: background .2s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgb(0 0 0 / 30%); }
.toggle input:checked { background: var(--accent); }
.toggle input:checked::after { transform: translateX(18px); }
input[type="color"].input { padding: 4px; width: 56px; min-height: 48px; flex: 0 0 56px !important; }

/* Zone dangereuse */
.danger-zone { border-color: rgb(248 113 113 / 25%); }
.danger-zone .row-main b { color: #fecaca; }
.steps { display: grid; gap: 12px; padding: 16px; }
.step { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; }
.step span { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: rgb(248 113 113 / 14%); color: var(--red); font-weight: 800; font-size: 13px; }

/* Classement */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 10px; margin: 6px 0 18px; }
.pod { display: grid; justify-items: center; gap: 8px; padding: 16px 8px 14px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(170deg, var(--card-2), var(--card)); text-align: center; cursor: pointer; min-width: 0; }
.pod .medal { font-size: 22px; line-height: 1; }
.pod b { display: block; max-width: 100%; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod small { color: var(--dim); font-size: 12px; }
.pod.p1 { padding-top: 22px; border-color: rgb(251 191 36 / 35%); background: radial-gradient(100% 70% at 50% 0, rgb(251 191 36 / 16%), transparent 70%), linear-gradient(170deg, var(--card-2), var(--card)); }
.pod.p1 .tagmark { width: 62px; height: 62px; border-radius: 19px; font-size: 16px; }
.rank { width: 30px; flex: 0 0 auto; text-align: center; font-family: "Sora"; font-weight: 800; color: var(--dim); }
.sort-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 0 14px; padding-bottom: 2px; scrollbar-width: none; }
.sort-chips button { flex: 0 0 auto; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgb(255 255 255 / 5%); }
.sort-chips button.active { color: #fff; background: rgb(var(--accent-rgb) / 22%); box-shadow: inset 0 0 0 1px rgb(var(--accent-rgb) / 50%); }

/* Création */
.preview { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--radius); border: 1px dashed rgb(var(--accent-rgb) / 45%); background: rgb(var(--accent-rgb) / 6%); }
.create-form { display: grid; gap: 16px; padding: 18px; }

/* Connexion */
.login { display: grid; place-items: center; min-height: 100svh; padding: 24px 18px; background: radial-gradient(700px 420px at 20% 0%, rgb(255 138 31 / 16%), transparent 60%), radial-gradient(700px 420px at 90% 100%, rgb(59 130 246 / 16%), transparent 60%), var(--bg); }
.login-card { width: min(420px, 100%); display: grid; gap: 16px; padding: 30px 24px; border-radius: 28px; border: 1px solid var(--line-2); background: rgb(18 21 28 / 85%); backdrop-filter: blur(20px); box-shadow: 0 40px 100px rgb(0 0 0 / 45%); text-align: center; }
.login-card > img { width: 72px; height: 72px; margin: 0 auto; object-fit: contain; }
.login-card h1 { margin: 0; font-size: 26px; }
.login-card h1 span { background: linear-gradient(90deg, var(--crew), var(--team)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-card p { margin: 0; color: var(--muted); font-size: 14px; }
.login-card form { display: grid; gap: 12px; text-align: left; }
.code-boxes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.code-boxes input { height: 56px; padding: 0; border-radius: 14px; text-align: center; font-family: "Sora"; font-size: 24px; font-weight: 800; }
.login-user { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgb(255 255 255 / 5%); text-align: left; }
.login-user img { width: 40px; height: 40px; border-radius: 50%; }
.login-foot { color: var(--dim); font-size: 12px; }
.err-msg { color: #fecaca; background: rgb(248 113 113 / 10%); border-radius: 12px; padding: 10px 12px; font-size: 13.5px; text-align: left; }

/* Notifications */
#toasts { position: fixed; z-index: 100; left: 50%; top: calc(env(safe-area-inset-top) + 12px); transform: translateX(-50%); display: grid; gap: 8px; width: min(440px, calc(100% - 24px)); pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgb(28 32 41 / 92%); backdrop-filter: blur(16px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgb(0 0 0 / 40%); font-size: 14px; animation: drop .3s cubic-bezier(.3, .8, .3, 1); }
.toast svg { color: var(--green); }
.toast.err svg { color: var(--red); }
.toast.wait svg { color: var(--yellow); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
.view { animation: viewin .28s cubic-bezier(.3, .8, .3, 1); }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
