/* Pop Culture Depot app. Colours/radius/fonts come from App Manager via CSS variables set at boot. */
:root {
  --brand: #FF3395; --brand-2: #2AF0F0; --accent: #F9D500;
  --bg: #fff; --surface: #F6F6F8; --text: #111; --muted: #6B6B76; --line: rgba(127,127,140,.22);
  --radius: 16px; --btn-radius: 999px; --shadow: 0 2px 10px rgba(0,0,0,.06);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-h: var(--font);
  --top: 56px; --tabs: 64px;
  --sat: env(safe-area-inset-top); --sab: env(safe-area-inset-bottom);
  color-scheme: light;
}
:root[data-theme="dark"] { color-scheme: dark; --muted: #A0A0AA; --line: rgba(255,255,255,.12); }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.45 var(--font); min-height: 100dvh;
  padding: calc(var(--top) + var(--sat)) 0 calc(var(--tabs) + var(--sab)); overscroll-behavior-y: none; }
body.no-tabs { padding-bottom: var(--sab); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-h); letter-spacing: -.01em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; z-index: 99; background: var(--bg); padding: 8px; }
.muted { color: var(--muted); } .small { font-size: .82rem; } .center { text-align: center; }

.boot { position: fixed; inset: 0; display: grid; place-items: center; background: #fff; }
.boot img { border-radius: 24px; animation: pop 1.2s ease-in-out infinite; }
@keyframes pop { 50% { transform: scale(1.06); } }

/* Header */
.announce { position: fixed; top: 0; left: 0; right: 0; z-index: 31; font-size: .75rem; text-align: center; padding: calc(4px + var(--sat)) 12px 4px; font-weight: 500; }
.announce + .top { top: calc(24px + var(--sat)); }
body:has(.announce) { padding-top: calc(var(--top) + 24px + var(--sat)); }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: calc(var(--top) + var(--sat)); padding: var(--sat) 8px 0;
  display: flex; align-items: center; gap: 4px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.announce + .top { padding-top: 0; height: var(--top); }
.logo { margin-right: auto; padding: 0 6px; } .logo img { height: 34px; width: auto; }
:root[data-theme="dark"] .logo img { filter: invert(1) hue-rotate(180deg); }
.top-actions { display: flex; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; cursor: pointer; text-decoration: none; }
.icon-btn:active { background: var(--surface); }

/* Tab bar */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: space-around;
  height: calc(var(--tabs) + var(--sab)); padding-bottom: var(--sab); background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; font-size: .68rem; color: var(--muted); font-weight: 500; min-width: 0; }
.tab span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab.active { color: var(--brand); } .tab.active .ic { stroke-width: 2.4; }
.badge { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: .65rem; line-height: 18px; text-align: center; font-weight: 700; }

main { max-width: 1100px; margin: 0 auto; outline: none; }
.page-h { font-size: 1.5rem; margin: 18px 16px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--btn-radius);
  border: 2px solid var(--brand); background: var(--brand); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, filter .12s ease; }
.btn:active { transform: scale(.97); } .btn:disabled { opacity: .5; cursor: default; }
:root[data-btn="outline"] .btn:not(.ghost) { background: transparent; color: var(--brand); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn.light { background: #fff; color: #111; border-color: #fff; }
.btn.block { width: 100%; } .grow { flex: 1; }

/* Cards */
.card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--bg); min-width: 0; }
:root[data-card="elevated"] .card { box-shadow: var(--shadow); }
:root[data-card="outlined"] .card { border: 1px solid var(--line); }
.card-img { position: relative; aspect-ratio: 1; background: var(--surface); display: grid; place-items: center; color: var(--muted); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; }
.card-title { font-size: .85rem; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 700; font-size: .95rem; } .price s, .pdp-price s { color: var(--muted); font-weight: 400; margin-left: 4px; }
.tag { position: absolute; top: 8px; left: 8px; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; }
.tag.soldout { background: #111; color: #fff; } .tag.pre { background: var(--accent); color: #111; }
.pdp-meta .tag { position: static; margin-right: 8px; }

.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px 16px; }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 42%); gap: 12px; overflow-x: auto; padding: 4px 16px 16px;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; } .rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 200px; } }

.hsec { margin-bottom: 8px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; padding: 0 16px; }
.sec-h h2 { font-size: 1.15rem; margin: 18px 0 10px; } .sec-h a { color: var(--brand); font-weight: 600; font-size: .85rem; text-decoration: none; }

/* Hero / promo */
.hero { display: flex; align-items: flex-end; margin: 12px 16px 0; min-height: 210px; border-radius: calc(var(--radius) + 6px); overflow: hidden; text-decoration: none;
  color: #fff; background: linear-gradient(135deg, var(--brand) 0%, #FF7AB8 55%, var(--accent) 120%) center/cover; position: relative; }
.hero[style*="background-image"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.55)); }
.hero-in { position: relative; padding: 22px; } .hero h1 { margin: 0; font-size: 1.75rem; line-height: 1.1; font-weight: 800; }
.hero p { margin: 6px 0 14px; opacity: .95; } .hero .btn { background: #fff; color: #111; border-color: #fff; min-height: 42px; }
/* Hero slideshow (mirrors the store's pcd-hero: full width, 350px on phones, video/image cover) */
.hero2 { position: relative; height: var(--hero-h, 350px); background: #f2f2f2; overflow: hidden; }
@media (min-width: 768px) { .hero2 { height: calc(var(--hero-h, 350px) * 1.4); } }
.hero2-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero2-track::-webkit-scrollbar { display: none; }
.hero2-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.hero2-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero2-ov { position: absolute; inset: 0; background: linear-gradient(to top, #000, transparent 70%); pointer-events: none; }
.hero2-link { position: absolute; inset: 0; z-index: 2; }
.hero2-content { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px;
  padding: 20px 20px 36px; color: #fff; text-align: center; pointer-events: none; }
.hero2-content h1 { margin: 0; font-size: 28px; line-height: 1.1; } .hero2-content p { margin: 0; font-size: 15px; font-weight: 500; }
.hero2-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.hero2-btn { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 20px; font-size: 12px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--b-bg); background: var(--b-bg); color: var(--b-fg); }
.hero2-btn.outline { background: transparent; color: var(--b-bg); }
.hero2-btn:active { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero2-dots { position: absolute; z-index: 4; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.hero2-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ffffff8c; } .hero2-dots i.on { background: #fff; width: 18px; border-radius: 4px; }
.promo { display: flex; align-items: center; gap: 14px; margin: 16px; padding: 16px; border-radius: var(--radius); text-decoration: none; }
.promo p { margin: 2px 0 0; font-size: .85rem; opacity: .92; } .promo .btn { margin-left: auto; min-height: 40px; padding: 0 16px; flex-shrink: 0; }
.textblock { padding: 8px 16px; }

/* Collections */
.chips-rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 12px; scrollbar-width: none; }
.chips-rail::-webkit-scrollbar { display: none; }
.col-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-size: .78rem; font-weight: 500; text-align: center; width: 84px; flex-shrink: 0; }
.col-img { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: var(--surface); display: grid; place-items: center; border: 2px solid var(--brand-2); }
.col-img img { width: 100%; height: 100%; object-fit: cover; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 8px; padding: 0 16px 24px; justify-items: center; }
@media (min-width: 640px) { .col-grid { grid-template-columns: repeat(6, 1fr); } }

/* Product page */
.pdp { padding-bottom: 80px; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; scroll-snap-align: center; background: #fff; }
.noimg { width: 100%; aspect-ratio: 1; display: grid; place-items: center; color: var(--muted); }
@media (min-width: 800px) { .gallery img { flex-basis: 50%; } }
.dots { display: flex; justify-content: center; gap: 6px; padding: 10px; } .dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s; }
.dots i.on { width: 18px; background: var(--brand); }
.pad { padding: 0 16px; }
.pdp-meta { display: flex; align-items: center; font-size: .82rem; margin-top: 6px; }
.pdp-title { font-size: 1.3rem; margin: 6px 0; line-height: 1.25; }
.pdp-price { font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stock { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); }
.stock.ok { color: #0a7d3c; background: color-mix(in srgb, #19c26b 14%, transparent); }
.opt { border: 0; padding: 0; margin: 14px 0 0; } .opt legend { font-weight: 600; font-size: .85rem; margin-bottom: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; margin: 0 6px 6px 0; cursor: pointer; font-size: .85rem; }
.chip[aria-pressed="true"] { border-color: var(--brand); color: var(--brand); font-weight: 600; }
.note { display: flex; gap: 8px; align-items: flex-start; background: color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 12px; padding: 12px; font-size: .82rem; margin: 16px 0 0; }
.note .ic { flex-shrink: 0; }
.desc { margin-top: 16px; font-size: .9rem; overflow-wrap: anywhere; } .desc img { border-radius: 12px; height: auto; } .desc table { width: 100%; border-collapse: collapse; }
.desc td, .desc th { border: 1px solid var(--line); padding: 6px; }
.buybar { position: fixed; left: 0; right: 0; bottom: calc(var(--tabs) + var(--sab)); z-index: 20; display: flex; gap: 6px; align-items: center;
  padding: 10px 12px; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
body.no-tabs .buybar { bottom: var(--sab); }
.fav[aria-pressed="true"] { color: var(--brand); } .fav[aria-pressed="true"] svg { fill: var(--brand); }

/* Search */
.searchbar { display: flex; align-items: center; gap: 8px; margin: 14px 16px; padding: 0 14px; border-radius: 999px; background: var(--surface); }
.searchbar input { flex: 1; border: 0; background: none; height: 48px; font: inherit; color: var(--text); outline: none; min-width: 0; font-size: 16px; }
.suggest { margin: -6px 16px 12px; border-radius: 14px; background: var(--surface); overflow: hidden; }
.sug { display: flex; align-items: center; gap: 10px; padding: 10px 14px; text-decoration: none; border-bottom: 1px solid var(--line); font-size: .88rem; }
.sug img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.results > p { padding: 0 16px; }

/* Favorites */
.fav-wrap { position: relative; } .unfav { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; background: var(--bg); box-shadow: var(--shadow); }

/* Cart */
.lines { list-style: none; margin: 0; padding: 0 16px; }
.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: opacity .2s; }
.line.busy { opacity: .5; pointer-events: none; }
.line-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; background: var(--surface); flex-shrink: 0; display: grid; place-items: center; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-title { font-weight: 500; text-decoration: none; font-size: .9rem; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; } .qty .icon-btn { width: 34px; height: 34px; background: var(--surface); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; }
.summary { padding: 16px; } .summary .row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.summary .checkout { margin-top: 8px; }

/* Account */
.row-link { display: flex; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 0 16px 12px; padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); text-decoration: none; border: 0; cursor: pointer; font-weight: 500; text-align: left; }
.row-link span { flex: 1; }
.panel { margin: 0 16px 12px; padding: 4px 16px 16px; border-radius: var(--radius); background: var(--surface); }
.panel h2 { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.seg { display: flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.seg button { flex: 1; border: 0; background: none; border-radius: 999px; padding: 10px; cursor: pointer; font-weight: 500; }
.seg [aria-checked="true"] { background: var(--brand); color: #fff; }
.toggles { display: grid; gap: 2px; margin: 8px 0 14px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; }
.toggle input { width: 22px; height: 22px; accent-color: var(--brand); }
.status { font-weight: 600; color: var(--muted); } .status.on { color: #0a7d3c; }
.row-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.warn { background: color-mix(in srgb, var(--accent) 25%, transparent); padding: 10px 12px; border-radius: 10px; font-size: .85rem; }

/* Empty / error / offline */
.empty { text-align: center; padding: 48px 24px; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.empty h2 { color: var(--text); margin: 12px 0 4px; } .empty .btn { margin-top: 12px; }
.empty .ic { color: var(--brand); }
.offline-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--tabs) + var(--sab) + 8px); background: #111; color: #fff;
  padding: 10px 14px; border-radius: 12px; font-size: .8rem; }

/* Skeletons */
.sk .sk-img, .sk .sk-line, .col-tile.sk .col-img { background: linear-gradient(90deg, var(--surface) 25%, color-mix(in srgb, var(--surface) 60%, var(--line)) 50%, var(--surface) 75%);
  background-size: 300% 100%; animation: shimmer 1.3s infinite linear; }
.sk-img { aspect-ratio: 1; } .sk-img.tall { aspect-ratio: 1; } .sk-line { height: 12px; border-radius: 6px; margin: 10px 12px 0; } .sk-line.short { width: 50%; margin-bottom: 12px; }
@keyframes shimmer { to { background-position: -100% 0; } }

/* Sheets (cart drawer, opt-in, install guide) */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.scrim { position: absolute; inset: 0; background: rgba(0,0,0,.45); animation: fade .2s ease; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 88dvh; overflow-y: auto; background: var(--bg); border-radius: 24px 24px 0 0;
  padding: 8px 20px calc(20px + var(--sab)); animation: up .28s cubic-bezier(.2,.8,.2,1); }
.sheet .lines { padding: 0; } .sheet .summary { padding: 16px 0 0; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; } .sheet-h h2 { margin: 8px 0; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 10px; }
.sheet h2 { font-size: 1.25rem; } .sheet .btn + .btn { margin-top: 8px; }
.optin { text-align: center; } .optin p { color: var(--muted); }
.optin-art { width: 76px; height: 76px; margin: 8px auto 0; border-radius: 24px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent)); }
.steps { padding-left: 22px; line-height: 1.6; } .steps li { margin: 8px 0; }
.kbd { display: inline-grid; place-items: center; vertical-align: middle; width: 28px; height: 28px; border-radius: 8px; background: var(--surface); color: #007AFF; }
.ios-ill { width: 100%; max-height: 170px; } .pulse { animation: pulse 1.6s ease-out infinite; transform-origin: 140px 119px; }
@keyframes pulse { 0% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
@keyframes down { from { transform: translateY(-100%); } }

/* Install banner variants */
.ib { position: fixed; z-index: 55; left: 0; right: 0; color: var(--ib-fg); }
.ib-card { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; background: var(--ib-bg); padding: 14px 16px; }
.ib-icon { border-radius: 14px; } .ib-text strong { display: block; font-size: .95rem; } .ib-sub { display: block; font-size: .8rem; opacity: .85; }
.ib-text p { margin: 2px 0 0; font-size: .8rem; opacity: .9; }
.ib-actions { grid-column: 1 / -1; display: flex; gap: 8px; } .ib-actions .btn { flex: 1; min-height: 42px; }
.ib .ib-go { background: var(--ib-btn); border-color: var(--ib-btn); color: var(--ib-btn-fg); }
.ib .ib-later { color: var(--ib-fg); border-color: color-mix(in srgb, var(--ib-fg) 30%, transparent); }
.ib-x { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--ib-fg); opacity: .7; width: 36px; height: 36px; cursor: pointer; }
.ib-top { top: 0; } .ib-top .ib-card { padding-top: calc(14px + var(--sat)); }
.ib-bottom, .ib-slideup { bottom: 0; } .ib-bottom .ib-card, .ib-slideup .ib-card { padding-bottom: calc(14px + var(--sab)); }
.ib-slideup .ib-card { border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.2); }
.ib-floating, .ib-toast { bottom: calc(var(--tabs) + var(--sab) + 12px); left: 12px; right: 12px; } .ib-floating .ib-card, .ib-toast .ib-card { border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ib-toast .ib-card { grid-template-columns: 40px 1fr auto; padding: 10px 12px; } .ib-toast .ib-icon { width: 40px; height: 40px; border-radius: 10px; }
.ib-toast .ib-text p, .ib-toast .ib-later { display: none; } .ib-toast .ib-actions { grid-column: auto; } .ib-toast .ib-x { position: static; }
.ib-modal { inset: 0; display: grid; place-items: center; padding: 24px; } .ib-modal .ib-scrim { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.ib-modal .ib-card { max-width: 360px; border-radius: 24px; grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px 22px; }
.ib-modal .ib-icon { width: 72px; height: 72px; }
.anim-slide.ib-top { animation: down .35s ease; } .anim-slide:not(.ib-top):not(.ib-modal) { animation: up .35s ease; } .anim-fade, .anim-slide.ib-modal { animation: fade .3s ease; }
@media (min-width: 700px) { .ib-bottom .ib-card, .ib-slideup .ib-card, .ib-top .ib-card { grid-template-columns: 56px 1fr auto; } .ib-bottom .ib-actions, .ib-slideup .ib-actions, .ib-top .ib-actions { grid-column: auto; } }

/* Toast */
.toast { position: fixed; z-index: 70; left: 50%; top: calc(var(--top) + var(--sat) + 10px); transform: translate(-50%, -20px); opacity: 0;
  background: #111; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 500; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); } .toast.err { background: #c62828; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
