/* ============================================================
   عرب بوكس — Arab Box
   Cinematic Neon-Noir video platform
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* ---------- Theme tokens ---------- */
:root {
  --accent: #FF3B4E;
  --accent-2: #FFC857;
  --accent-glow: rgba(255, 59, 78, .45);

  --bg: #0A0B0F;
  --bg-soft: #0F1117;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);

  --text: #F4F5F7;
  --text-soft: #A7ABB6;
  --text-dim: #6B6F7B;

  --shadow: 0 18px 50px -12px rgba(0, 0, 0, .7);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;

  --font-display: 'Reem Kufi', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

[data-theme="light"] {
  --accent: #E11D38;
  --accent-2: #C8821A;
  --accent-glow: rgba(225, 29, 56, .25);

  --bg: #F4F1EC;
  --bg-soft: #FBFAF7;
  --surface: rgba(20, 22, 30, .035);
  --surface-2: rgba(20, 22, 30, .06);
  --border: rgba(20, 22, 30, .09);
  --border-strong: rgba(20, 22, 30, .18);

  --text: #161821;
  --text-soft: #555A66;
  --text-dim: #8A8F9C;

  --shadow: 0 18px 50px -16px rgba(40, 30, 20, .28);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .4s var(--ease);
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 85% -10%, var(--accent-glow), transparent 60%),
    radial-gradient(50vw 50vw at 0% 20%, rgba(255, 200, 87, .12), transparent 55%);
  opacity: .9;
  transition: opacity .5s var(--ease);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  box-shadow: 0 8px 22px -6px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, .35);
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
  transform: translateX(-130%);
  animation: shine 4.5s var(--ease) infinite;
}
@keyframes shine { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}
.brand__name b { color: var(--accent); }

/* Search */
.search {
  flex: 1;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}
.search input {
  width: 100%;
  height: 46px;
  border-radius: 99px;
  padding: 0 50px 0 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.search input::placeholder { color: var(--text-dim); }
.search input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--accent-glow);
}
.search__icon {
  position: absolute;
  right: 16px;
  width: 20px; height: 20px;
  color: var(--text-dim);
  pointer-events: none;
}

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .3s var(--ease-spring);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px -8px var(--accent-glow);
}
.icon-btn:active { transform: scale(.92); }

.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 18px;
  border: 2px solid var(--border-strong);
}

/* Theme toggle pill */
.theme-toggle { position: relative; overflow: hidden; }
.theme-toggle svg { transition: transform .5s var(--ease-spring), opacity .3s var(--ease); position: absolute; }
.theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(.4); }
.theme-toggle .moon { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .sun { opacity: 1; transform: rotate(0) scale(1); }
[data-theme="light"] .theme-toggle .moon { opacity: 0; transform: rotate(90deg) scale(.4); }

/* ============================================================
   LAYOUT
   ============================================================ */
.main { padding: clamp(20px, 4vw, 40px); max-width: 1500px; margin: 0 auto; }

/* Hero */
.hero {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  padding: clamp(28px, 6vw, 64px);
  margin-bottom: 34px;
  border: 1px solid var(--border);
  background: linear-gradient(120deg, rgba(255, 59, 78, .14), rgba(255, 200, 87, .08));
  isolation: isolate;
  animation: rise .8s var(--ease) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -1;
  background: conic-gradient(from 180deg at 80% 20%, var(--accent), #ff7a4e, var(--accent-2), var(--accent));
  filter: blur(60px);
  opacity: .35;
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  padding: 7px 14px; border-radius: 99px;
  margin-bottom: 18px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); } 50% { box-shadow: 0 0 0 7px transparent; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 14px;
}
.hero p { color: var(--text-soft); font-size: clamp(15px, 2vw, 18px); max-width: 48ch; }

.hero__cta {
  margin-top: 26px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 16px; color: #fff;
  background: var(--accent);
  padding: 14px 26px; border-radius: 99px;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
  box-shadow: 0 12px 28px -10px var(--accent-glow);
}
.hero__cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 34px -10px var(--accent-glow); }
.hero__cta:active { transform: scale(.97); }
.hero__cta svg { width: 20px; height: 20px; }

/* ---------- Category chips ---------- */
.chips {
  display: flex; gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to left, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 99px;
  white-space: nowrap;
  transition: all .3s var(--ease-spring);
}
.chip svg { width: 17px; height: 17px; transition: transform .3s var(--ease-spring); }
.chip:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.chip:hover svg { transform: scale(1.2) rotate(-6deg); }
.chip.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff7a4e);
  border-color: transparent;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}

.section-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  margin-bottom: 20px;
}
.section-title::before {
  content: ""; width: 6px; height: 26px; border-radius: 4px;
  background: linear-gradient(var(--accent), var(--accent-2));
}

/* ============================================================
   VIDEO GRID + CARDS
   ============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px 22px;
}

.card {
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  animation: cardIn .6s var(--ease) forwards;
}
@keyframes cardIn { to { opacity: 1; transform: none; } }

.card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease);
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__thumb { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card:hover .card__thumb img { transform: scale(1.08); }

/* gradient veil + grain */
.card__thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 45%);
  opacity: .85;
}

.card__duration {
  position: absolute; bottom: 10px; left: 10px;
  z-index: 3;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(4px);
  padding: 3px 9px; border-radius: 7px;
  font-variant-numeric: tabular-nums;
}

/* Play button overlay */
.card__play {
  position: absolute; inset: 0; z-index: 4;
  display: grid; place-items: center;
}
.play-btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255, 59, 78, .9);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255, 255, 255, .4);
  transform: scale(.6);
  opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .35s var(--ease), background .3s;
  box-shadow: 0 10px 30px -6px var(--accent-glow);
}
.play-btn svg { width: 26px; height: 26px; margin-right: -3px; }
.card:hover .play-btn { transform: scale(1); opacity: 1; }
.play-btn::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: ring 1.8s var(--ease) infinite;
}
@keyframes ring {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.card__live {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  padding: 4px 9px; border-radius: 7px;
}

/* Card meta */
.card__meta { display: flex; gap: 12px; margin-top: 14px; }
.card__ch-avatar {
  flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: 15px;
  font-family: var(--font-display);
}
.card__info { min-width: 0; }
.card__title {
  font-size: 15.5px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .25s var(--ease);
}
.card:hover .card__title { color: var(--accent); }
.card__channel {
  display: flex; align-items: center; gap: 5px;
  font-size: 13.5px; color: var(--text-soft);
  margin-top: 5px;
}
.card__channel .verified { width: 14px; height: 14px; color: var(--accent-2); }
.card__stats {
  font-size: 13px; color: var(--text-dim);
  margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.card__stats .sep { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }

/* ============================================================
   WATCH PAGE
   ============================================================ */
.watch {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 32px);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid; place-items: center;
  animation: rise .7s var(--ease) both;
}
.player__poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.4) saturate(1.1);
  transform: scale(1.05);
}
.player__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 22px; z-index: 2;
  background: radial-gradient(circle at center, rgba(0,0,0,.2), rgba(0,0,0,.55));
}

/* Cinematic buffering loader */
.loader {
  width: 74px; height: 74px;
  position: relative;
}
.loader__ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--accent);
  border-right-color: var(--accent-2);
  animation: load 1s linear infinite;
}
.loader__ring:nth-child(2) { inset: 11px; border-top-color: var(--accent-2); border-right-color: transparent; animation-duration: 1.4s; animation-direction: reverse; }
.loader__ring:nth-child(3) { inset: 22px; border-top-color: #fff; border-right-color: transparent; animation-duration: .8s; }
@keyframes load { to { transform: rotate(360deg); } }

.player__status {
  color: #fff; font-size: 15px; font-weight: 500;
  letter-spacing: .3px;
  display: flex; align-items: center; gap: 4px;
}
.player__status .dots span {
  animation: blink 1.4s infinite both;
  display: inline-block;
}
.player__status .dots span:nth-child(2) { animation-delay: .2s; }
.player__status .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }

/* fake progress bar */
.player__bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: rgba(255, 255, 255, .15); z-index: 3;
}
.player__bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 0; border-radius: 0 4px 4px 0;
  animation: buffer 6s var(--ease) infinite;
}
@keyframes buffer {
  0% { width: 0; }
  60% { width: 38%; }
  100% { width: 42%; }
}

/* Video info under player */
.watch__info { margin-top: 22px; animation: rise .7s .1s var(--ease) both; }
.watch__title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; line-height: 1.4; }

.watch__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  margin-top: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.watch__channel { display: flex; align-items: center; gap: 12px; }
.watch__channel .av {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 18px;
}
.watch__channel .name { font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 5px; }
.watch__channel .verified { width: 15px; height: 15px; color: var(--accent-2); }
.watch__channel .subs { font-size: 13px; color: var(--text-dim); }

.btn-sub {
  font-weight: 600; font-size: 14px; color: #fff;
  background: var(--accent); padding: 10px 22px; border-radius: 99px;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.btn-sub:hover { transform: scale(1.05); box-shadow: 0 8px 20px -8px var(--accent-glow); }
.btn-sub:active { transform: scale(.95); }

.actions { display: flex; gap: 10px; margin-right: auto; flex-wrap: wrap; }
.action {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: 99px;
  transition: all .25s var(--ease-spring);
  font-variant-numeric: tabular-nums;
}
.action svg { width: 19px; height: 19px; transition: transform .3s var(--ease-spring); }
.action:hover { color: var(--text); border-color: var(--border-strong); transform: translateY(-2px); }
.action:hover svg { transform: scale(1.2); }
.action.liked { color: var(--accent); border-color: var(--accent); }
.action.liked svg { fill: var(--accent); }

.watch__desc {
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 14.5px; line-height: 1.8; color: var(--text-soft);
}
.watch__desc .stats-row { color: var(--text); font-weight: 600; margin-bottom: 10px; }

/* Suggestions sidebar */
.suggest__head {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.suggest__head::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: linear-gradient(var(--accent), var(--accent-2)); }

.s-card {
  display: flex; gap: 12px; margin-bottom: 16px;
  cursor: pointer;
  padding: 8px; border-radius: 14px; margin: 0 -8px 8px;
  transition: background .25s var(--ease);
  opacity: 0; transform: translateX(-16px);
  animation: sIn .5s var(--ease) forwards;
}
@keyframes sIn { to { opacity: 1; transform: none; } }
.s-card:hover { background: var(--surface); }
.s-card__thumb {
  position: relative;
  width: 168px; flex-shrink: 0;
  aspect-ratio: 16/9; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
}
.s-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.s-card:hover .s-card__thumb img { transform: scale(1.1); }
.s-card__thumb .dur {
  position: absolute; bottom: 6px; left: 6px;
  font-size: 11px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.8); padding: 2px 6px; border-radius: 5px;
}
.s-card__thumb .mini-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity .3s var(--ease);
  background: rgba(0,0,0,.3);
}
.s-card__thumb .mini-play svg { width: 30px; height: 30px; color: #fff; }
.s-card:hover .s-card__thumb .mini-play { opacity: 1; }
.s-card__body { min-width: 0; }
.s-card__title {
  font-size: 14px; font-weight: 600; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.s-card:hover .s-card__title { color: var(--accent); }
.s-card__sub { font-size: 12.5px; color: var(--text-dim); margin-top: 5px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-soft);
  margin-bottom: 18px;
  transition: color .25s, gap .25s var(--ease);
}
.back-link:hover { color: var(--accent); gap: 12px; }
.back-link svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  margin-top: 60px;
  padding: 40px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
}
.footer .brand { justify-content: center; margin-bottom: 14px; }
.footer__note { color: var(--accent-2); font-weight: 500; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .watch { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .search { max-width: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px 16px; }
  .s-card__thumb { width: 142px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .header { gap: 10px; }
  .actions { width: 100%; }
}

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

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(120%);
  z-index: 999;
  background: var(--text); color: var(--bg);
  padding: 13px 22px; border-radius: 14px;
  font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease-spring);
  display: flex; align-items: center; gap: 9px;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--accent); }

.empty {
  grid-column: 1 / -1;
  text-align: center; padding: 60px 20px; color: var(--text-dim);
}
.empty svg { width: 54px; height: 54px; margin-bottom: 14px; opacity: .5; }
