/* PESpot — Material 3 inspired UI. Colours come from Telegram themeParams (set as --md-* by app.js). */
:root {
  --md-bg: #ffffff; --md-on-bg: #1c1b1f; --md-surface: #ffffff;
  --md-surface-1: #f4f3f7; --md-surface-2: #eeedf3; --md-surface-3: #e8e7ee; --md-surface-4: #e2e1e9;
  --md-on-surface: #1c1b1f; --md-on-surface-variant: #6b6a72;
  --md-outline: #8d8c94; --md-outline-variant: #dcdbe2;
  --md-primary: #3390ec; --md-on-primary: #ffffff;
  --md-primary-container: #d6e8fb; --md-on-primary-container: #0a2e52; --md-secondary-container: #e3effc;
  --md-error: #b3261e; --md-error-container: #f9dedc;
  --md-success: #146c2e; --md-success-container: #c8f0d2;
  --md-warning: #8a5300; --md-warning-container: #ffe9bf;
  --md-scrim: rgba(0, 0, 0, .5); --md-shadow: rgba(0, 0, 0, .18);
  --r-xs: 8px; --r-sm: 12px; --r-md: 16px; --r-lg: 24px; --r-xl: 28px; --r-full: 999px;
  --nav-h: 80px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, 0, 0, 1);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, "Noto Sans Arabic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--md-bg); color: var(--md-on-surface);
  font-size: 15px; line-height: 1.5; min-height: 100vh; min-height: 100dvh;
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 8px);
  overflow-x: hidden;
}
body.page-ad { padding-bottom: calc(96px + var(--safe-b)); }
body.page-about, body.page-terms { padding-bottom: 24px; }
body.plain { padding: 0; }
body.no-scroll { overflow: hidden; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.app { max-width: 640px; margin: 0 auto; padding: 0 16px 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--md-on-surface-variant); font-size: 13px; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- icons */
.ic { width: 24px; height: 24px; fill: currentColor; flex: none; }
.ic--sm { width: 18px; height: 18px; }
[dir="rtl"] .back-ic { transform: scaleX(-1); }

/* ---------- top bars */
.topbar { display: flex; align-items: center; gap: 12px; padding: 12px 0 8px; position: sticky; top: 0; z-index: 5; background: var(--md-bg); }
.topbar__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--md-primary-container); color: var(--md-on-primary-container); display: grid; place-items: center; overflow: hidden; flex: none; }
.topbar__avatar img { width: 100%; height: 100%; object-fit: cover; }
.searchbar { flex: 1; min-width: 0; height: 48px; border-radius: var(--r-full); background: var(--md-surface-2); display: flex; align-items: center; gap: 12px; padding: 0 16px; color: var(--md-on-surface-variant); transition: background .2s; }
.searchbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font: inherit; color: var(--md-on-surface); height: 100%; }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar--input:focus-within { background: var(--md-surface-3); box-shadow: inset 0 0 0 2px var(--md-primary); }
.pagehead { display: flex; align-items: center; gap: 8px; padding: 16px 0 8px; }
.pagehead h1 { font-size: 22px; font-weight: 700; letter-spacing: -.2px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px 8px; }
.sec-head h2 { font-size: 18px; font-weight: 700; }

/* ---------- buttons */
.icon-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--md-on-surface-variant); flex: none; transition: background .2s; }
.icon-btn:active { background: var(--md-surface-3); }
.icon-btn--sm { width: 36px; height: 36px; }
.icon-btn--tonal { background: var(--md-secondary-container); color: var(--md-on-primary-container); }
.badge { position: absolute; top: 4px; inset-inline-end: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--md-primary); color: var(--md-on-primary); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.btn-filled, .btn-tonal { height: 48px; padding: 0 24px; border-radius: var(--r-full); border: 0; font-weight: 600; font-size: 15px; letter-spacing: .1px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .15s var(--ease), box-shadow .2s, opacity .2s; }
.btn-filled { background: var(--md-primary); color: var(--md-on-primary); }
.btn-tonal { background: var(--md-secondary-container); color: var(--md-on-primary-container); }
.btn-filled:active, .btn-tonal:active { transform: scale(.97); }
.btn-filled:disabled { opacity: .5; pointer-events: none; }
.btn-block { width: 100%; height: 52px; }
.btn-text { background: transparent; border: 0; height: 40px; padding: 0 12px; border-radius: var(--r-full); color: var(--md-primary); font-weight: 600; display: inline-flex; align-items: center; }
.btn-text:active { background: var(--md-secondary-container); }
.btn-text--danger { color: var(--md-error); }
.btn-text:disabled { opacity: .5; }

/* ---------- cards / ads */
.card { background: var(--md-surface-1); border-radius: var(--r-lg); padding: 16px; margin-top: 12px; }
.card__title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ad-card { display: flex; flex-direction: column; background: var(--md-surface-1); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 2px var(--md-shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.ad-card:active { transform: scale(.98); }
.ad-card__media { position: relative; aspect-ratio: 1 / 1; background: var(--md-surface-3); }
.ad-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ad-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ad-card__title { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 14px; }
.ad-card__title span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ad-card__price { color: var(--md-primary); font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-card__stats { display: flex; gap: 10px; font-size: 12px; color: var(--md-on-surface-variant); }
.mini b { font-weight: 600; opacity: .8; }
.ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--md-surface-3), var(--md-surface-4)); }
.tag { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; background: var(--md-success-container); color: var(--md-success); backdrop-filter: blur(6px); }
.tag--swap { background: var(--md-warning-container); color: var(--md-warning); }
.tag--both { background: var(--md-primary-container); color: var(--md-on-primary-container); }
.detail-head .tag, .hero .tag { position: static; }
.vbadge { color: var(--md-primary); display: inline-grid; vertical-align: middle; flex: none; }
.vbadge .ic { width: 18px; height: 18px; }

/* carousel */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 4px 6px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.hero { position: relative; flex: 0 0 82%; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; scroll-snap-align: center; background: var(--md-surface-3); box-shadow: 0 2px 8px var(--md-shadow); }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero__over { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 16px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.hero__over strong { font-size: 17px; }
.hero__over span:last-child { font-weight: 600; opacity: .95; font-size: 14px; }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--md-surface-2), var(--md-surface-4), var(--md-surface-2)); background-size: 200% 100%; animation: sh 1.3s linear infinite; border-radius: var(--r-sm); }
.skel--line { height: 14px; margin-top: 6px; }
.skel--short { width: 55%; }
.skel--hero { height: 220px; border-radius: var(--r-lg); margin-top: 12px; }
.ad-card--skel { pointer-events: none; box-shadow: none; }
.ad-card--skel .ad-card__media { border-radius: 0; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { text-align: center; color: var(--md-on-surface-variant); padding: 48px 16px; }
.sentinel { height: 1px; }

/* links list */
.links { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.link-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; background: var(--md-surface-1); border-radius: var(--r-md); color: var(--md-on-surface); }
.link-row .ic { color: var(--md-primary); }

/* ---------- chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding: 4px 0 8px; margin: 0; scrollbar-width: none; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--md-outline-variant); background: transparent; font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip--sel { background: var(--md-secondary-container); border-color: transparent; color: var(--md-on-primary-container); }
.chip--ok { background: var(--md-success-container); color: var(--md-success); border-color: transparent; }
.chip--warn { background: var(--md-warning-container); color: var(--md-warning); border-color: transparent; }
.chip--err { background: var(--md-error-container); color: var(--md-error); border-color: transparent; }
.chip--btn:active { background: var(--md-surface-3); }
.chip__img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; margin-inline-start: -6px; }
.chip__x { border: 0; background: none; display: grid; padding: 0; color: inherit; }
.chip__x .ic { width: 16px; height: 16px; }

/* segmented buttons */
.seg { display: flex; border: 1px solid var(--md-outline); border-radius: var(--r-full); overflow: hidden; }
.seg__btn { flex: 1; min-height: 40px; padding: 0 8px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--md-on-surface); }
.seg__btn + .seg__btn { border-inline-start: 1px solid var(--md-outline); }
.seg__btn.is-on { background: var(--md-secondary-container); color: var(--md-on-primary-container); }
.seg__check { display: none; }
.seg__btn.is-on .seg__check { display: grid; }
.seg__check .ic { width: 18px; height: 18px; }

/* ---------- forms (M3 filled text fields) */
.form { display: flex; flex-direction: column; gap: 14px; }
.form section h3 { font-size: 14px; font-weight: 700; margin: 6px 0 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf { display: flex; flex-direction: column; gap: 6px; }
.tf__label { font-size: 13px; font-weight: 600; color: var(--md-on-surface-variant); padding-inline: 4px; }
.tf__input { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-bottom: 2px solid var(--md-outline); border-radius: var(--r-xs) var(--r-xs) 0 0; background: var(--md-surface-2); color: var(--md-on-surface); font: inherit; outline: 0; transition: border-color .2s, background .2s; }
.tf__input:focus { border-bottom-color: var(--md-primary); background: var(--md-surface-3); }
textarea.tf__input { resize: vertical; min-height: 120px; line-height: 1.6; }
.tf__hint { font-size: 12px; color: var(--md-on-surface-variant); padding-inline: 4px; }
.tf--search { position: relative; flex-direction: row; align-items: center; background: var(--md-surface-2); border-radius: var(--r-full); padding-inline-start: 14px; color: var(--md-on-surface-variant); }
.tf--search .tf__input { background: transparent; border: 0; min-height: 46px; border-radius: 0; }
.field__error { color: var(--md-error); font-size: 12px; font-weight: 600; padding-inline: 4px; }
.field__error--block { background: var(--md-error-container); border-radius: var(--r-sm); padding: 10px 14px; font-size: 13px; }
.quota { margin-top: 12px; font-size: 13px; color: var(--md-on-surface-variant); text-align: center; }

/* upload */
.drop { display: block; position: relative; border: 2px dashed var(--md-outline); border-radius: var(--r-lg); min-height: 190px; overflow: hidden; background: var(--md-surface-2); cursor: pointer; }
.drop__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop__text { position: relative; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; color: var(--md-on-surface-variant); }
.drop__img:not([hidden]) + .drop__text { background: rgba(0, 0, 0, .5); color: #fff; }
.drop__text .ic { width: 40px; height: 40px; }
.drop__text small { font-size: 12px; opacity: .85; }
.progress { height: 6px; border-radius: 3px; background: var(--md-surface-3); margin-top: 10px; overflow: hidden; }
.progress__bar { height: 100%; width: var(--p, 0%); background: var(--md-primary); transition: width .15s linear; }

/* switches */
.switches { display: flex; flex-direction: column; gap: 4px; background: var(--md-surface-2); border-radius: var(--r-md); padding: 4px 14px; }
.switch { display: flex; align-items: center; justify-content: space-between; min-height: 52px; cursor: pointer; position: relative; }
.switch + .switch { border-top: 1px solid var(--md-outline-variant); }
.switch__input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 52px; height: 32px; border-radius: 16px; border: 2px solid var(--md-outline); background: var(--md-surface-3); position: relative; transition: background .2s, border-color .2s; flex: none; }
.switch__thumb { position: absolute; top: 50%; inset-inline-start: 6px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--md-outline); transition: all .2s var(--ease); }
.switch__input:checked ~ .switch__track { background: var(--md-primary); border-color: var(--md-primary); }
.switch__input:checked ~ .switch__track .switch__thumb { width: 24px; height: 24px; margin-top: -12px; inset-inline-start: 24px; background: var(--md-on-primary); }
[dir="rtl"] .switch__input:checked ~ .switch__track .switch__thumb { inset-inline-start: 24px; }
.switch__input:focus-visible ~ .switch__track { outline: 2px solid var(--md-primary); outline-offset: 2px; }

/* people picker */
.picker { display: flex; flex-direction: column; gap: 8px; }
.picker__results { display: flex; flex-direction: column; background: var(--md-surface-2); border-radius: var(--r-md); overflow: hidden; max-height: 260px; overflow-y: auto; }
.picker__results:empty { display: none; }
.picker__none { padding: 14px; text-align: center; color: var(--md-on-surface-variant); }
.prow { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 0; background: transparent; text-align: start; width: 100%; }
.prow + .prow { border-top: 1px solid var(--md-outline-variant); }
.prow:active { background: var(--md-surface-3); }
.prow img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--md-surface-3); flex: none; }
.prow span { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.prow small { color: var(--md-on-surface-variant); }
.picker__tiles, .pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ptile { position: relative; background: var(--md-surface-2); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.ptile img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--md-surface-3); }
.ptile__name { padding: 6px 6px 8px; font-size: 11px; font-weight: 600; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ptile__x { position: absolute; top: 4px; inset-inline-end: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; padding: 0; }
.ptile__x .ic { width: 16px; height: 16px; }

/* ---------- profile / detail */
.profile { display: flex; align-items: center; gap: 16px; }
.profile__avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--md-primary-container); color: var(--md-on-primary-container); display: grid; place-items: center; overflow: hidden; flex: none; }
.profile__avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile__avatar--sm { width: 48px; height: 48px; }
.profile__info h2 { font-size: 19px; display: flex; align-items: center; gap: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.stat { background: var(--md-surface-1); border-radius: var(--r-md); padding: 12px 8px; text-align: center; display: flex; flex-direction: column; gap: 2px; }
.stat b { font-size: 19px; }
.stat span { font-size: 12px; color: var(--md-on-surface-variant); }
.ads-list { display: flex; flex-direction: column; gap: 10px; }
.arow { display: flex; gap: 12px; padding: 10px; background: var(--md-surface-1); border-radius: var(--r-lg); }
.arow.is-dim .arow__img { opacity: .55; }
.arow__img { width: 96px; height: 96px; border-radius: var(--r-md); overflow: hidden; flex: none; background: var(--md-surface-3); }
.arow__img img { width: 100%; height: 100%; object-fit: cover; }
.arow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.arow__title { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arow__actions { display: flex; flex-wrap: wrap; margin-inline-start: -12px; margin-top: 2px; }
.detail-img { margin: 12px -16px 0; background: var(--md-surface-2); }
.detail-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 640px) { .detail-img { margin-inline: 0; border-radius: var(--r-lg); overflow: hidden; } }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.detail-head h1 { font-size: 20px; display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; }
.detail-price { color: var(--md-primary); font-size: 22px; font-weight: 800; margin-top: 6px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--md-outline-variant); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--md-on-surface-variant); }
.seller { display: flex; align-items: center; gap: 12px; }
.buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + var(--safe-b)); background: var(--md-surface-2); box-shadow: 0 -2px 12px var(--md-shadow); }
.buybar__price { font-weight: 800; color: var(--md-primary); font-size: 16px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar .btn-filled { flex: none; }

/* notice (outside telegram / success) */
.notice { margin-top: 32px; background: var(--md-surface-1); border-radius: var(--r-xl); padding: 28px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.notice h2 { font-size: 20px; }
.notice p { color: var(--md-on-surface-variant); max-width: 36ch; }
.notice .row2 { width: 100%; margin-top: 8px; }
.notice__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--md-primary-container); color: var(--md-on-primary-container); }
.notice__icon .ic { width: 36px; height: 36px; }
.notice__icon--ok { background: var(--md-success-container); color: var(--md-success); }

/* ---------- bottom navigation (M3 navigation bar) */
.navbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 30; height: calc(var(--nav-h) + var(--safe-b)); padding: 12px 8px calc(16px + var(--safe-b)); display: flex; justify-content: space-around; background: var(--md-surface-2); }
.navbar__item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--md-on-surface-variant); font-size: 12px; font-weight: 600; }
.navbar__pill { width: 64px; height: 32px; border-radius: 16px; display: grid; place-items: center; transition: background .25s var(--ease); }
.navbar__item.is-active { color: var(--md-on-surface); }
.navbar__item.is-active .navbar__pill { background: var(--md-secondary-container); color: var(--md-on-primary-container); }

/* ---------- overlays */
.scrim { position: fixed; inset: 0; background: var(--md-scrim); opacity: 0; transition: opacity .2s; z-index: 60; }
.scrim.is-on { opacity: 1; }
.sheet { position: fixed; inset-inline: 0; bottom: 0; z-index: 61; max-width: 640px; margin: 0 auto; max-height: 90vh; max-height: 90dvh; display: flex; flex-direction: column; background: var(--md-surface-1); border-radius: 28px 28px 0 0; transform: translateY(100%); transition: transform .25s var(--ease); }
.sheet.is-on { transform: none; }
.sheet__handle { width: 32px; height: 4px; border-radius: 2px; background: var(--md-outline); opacity: .6; margin: 10px auto 0; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 0 20px; }
.sheet__head h2 { font-size: 19px; }
.sheet__body { padding: 8px 20px 12px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.sheet__foot { display: flex; gap: 10px; padding: 12px 20px calc(16px + var(--safe-b)); }
.sheet__foot .btn-filled { flex: 1; }
.dialog { position: fixed; z-index: 61; inset-inline: 24px; top: 50%; transform: translateY(-50%); max-width: 360px; margin: 0 auto; background: var(--md-surface-3); border-radius: var(--r-xl); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dialog h2 { font-size: 21px; }
.dialog p { color: var(--md-on-surface-variant); }
.dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.snackbar { position: fixed; inset-inline: 16px; bottom: calc(var(--nav-h) + var(--safe-b) + 12px); z-index: 80; max-width: 420px; margin: 0 auto; padding: 14px 16px; border-radius: var(--r-xs); background: var(--md-on-surface); color: var(--md-surface); font-size: 14px; opacity: 0; transform: translateY(12px); transition: all .25s var(--ease); pointer-events: none; text-align: center; }
.snackbar.is-on { opacity: 1; transform: none; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.error-page h1 { font-size: 64px; color: var(--md-primary); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
