:root {
  color-scheme: light dark;
  --green-700: #0f6b3a;
  --green-900: #0b3d24;
  --green-950: #072617;
  --gold-400: #f4c430;
  --gold-200: #ffe08a;
  --red-600: #d7141a;
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-2: #f2efe6;
  --text: #1a1d1a;
  --muted: #4a524c;
  --border: #e4dfd2;
  --accent: var(--red-600);
  --focus: #8a6500;
  --header-bg: rgba(250, 248, 243, 0.82);
  --shadow-sm: 0 1px 2px rgba(16, 24, 18, 0.06), 0 1px 3px rgba(16, 24, 18, 0.08);
  --shadow-md: 0 4px 10px -2px rgba(16, 24, 18, 0.08), 0 10px 24px -6px rgba(16, 24, 18, 0.12);
  --shadow-lg: 0 18px 40px -12px rgba(7, 38, 23, 0.45);
  --r-sm: 12px;
  --r-card: 18px;
  --r-panel: 28px;
  --gutter: clamp(16px, 4vw, 32px);
  --content: 1360px;
  --header-h: 64px;
  --chips-h: 56px;
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512;
    --surface: #17201b;
    --surface-2: #1d2822;
    --text: #e9eee9;
    --muted: #a9b5ad;
    --border: #2a382f;
    --accent: #ff6b6f;
    --focus: var(--gold-400);
    --header-bg: rgba(15, 21, 18, 0.8);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 18px -4px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  }
}

html[lang="ar"] {
  --font: "Noto Sans", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="he"] {
  --font: "Noto Sans", "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.container {
  width: min(var(--content), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  inset-inline-start: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--green-900);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: calc(12px + var(--safe-top)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-top: var(--safe-top);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand-logo {
  height: 28px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.lang-menu {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 600;
  font-size: 0.9375rem;
}
.lang-btn svg { width: 16px; height: 16px; }
.lang-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  padding: 6px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: none;
  z-index: 60;
}
.lang-panel.open { display: grid; gap: 2px; }
.lang-panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.lang-panel a:hover,
.lang-panel a[aria-current="true"] {
  background: var(--surface-2);
}

.hero {
  padding-block: clamp(20px, 3vw, 36px) clamp(16px, 2vw, 28px);
}
.hero-panel {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 36px);
  border-radius: clamp(20px, 3vw, var(--r-panel));
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 15%, rgba(244, 196, 48, 0.28) 0%, rgba(244, 196, 48, 0) 55%),
    linear-gradient(145deg, var(--green-700) 0%, var(--green-900) 70%, var(--green-950) 100%);
  box-shadow: var(--shadow-lg);
}
.hero-avatars {
  display: flex;
  align-items: center;
}
.hero-avatars img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  object-fit: cover;
  margin-inline-end: -14px;
  background: #234;
}
.hero-avatars img:last-child { margin-inline-end: 0; }
.hero h1 {
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-lead {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--gold-400);
  color: var(--green-900);
  box-shadow: 0 6px 18px -6px rgba(244, 196, 48, 0.65);
}
.btn-primary:hover { background: #ffd24a; }
.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.2); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  min-height: 40px;
  padding: 0 14px;
  font-weight: 700;
  font-size: 0.875rem;
}
.btn-ghost:hover { background: var(--surface-2); }
.btn-icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-icon svg { width: 20px; height: 20px; }

.chips-wrap {
  position: sticky;
  top: calc(var(--header-h) + var(--safe-top));
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: 8px;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .chips-wrap {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 4px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex: none;
}
.chip img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}
.chip[aria-current="true"],
.chip.active {
  background: var(--green-900);
  color: #fff;
  border-color: transparent;
}

.gallery {
  padding-block: clamp(20px, 3vw, 36px) clamp(40px, 6vw, 72px);
  display: grid;
  gap: clamp(28px, 4vw, 48px);
}
.speaker-section[hidden] { display: none !important; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.section-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.section-identity img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.section-identity h2 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-identity p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr));
  gap: clamp(12px, 2vw, 20px);
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}
@media (min-width: 1024px) {
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

.clip-card {
  position: relative;
  display: grid;
  gap: 8px;
  border-radius: var(--r-card);
}
.clip-thumb {
  position: relative;
  aspect-ratio: 1;
  /* clip-path instead of overflow:hidden + border-radius — Chrome can
     composite <video> as a blank layer (audio plays, picture invisible). */
  border-radius: 16px;
  clip-path: inset(0 round 16px);
  background: var(--surface-2);
}
.clip-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clip-thumb .hover-slot {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
}
.clip-thumb .hover-slot.active { display: block; }
.clip-thumb .hover-slot video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.duration-badge {
  position: absolute;
  inset-inline-end: 8px;
  bottom: 8px;
  z-index: 2;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}
.card-quick {
  position: absolute;
  inset-inline-end: 8px;
  top: 8px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.clip-card:hover .card-quick,
.clip-card:focus-within .card-quick {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) {
  .card-quick { display: none; }
}
.progress-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 2;
  display: none;
}
.progress-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-400);
}
.clip-thumb.playing .progress-bar { display: block; }
.clip-mute {
  position: absolute;
  inset-inline-start: 4px;
  top: 4px;
  z-index: 4;
  display: none;
  /* Larger hit target so the control stays easy to click during hover preview. */
  width: 44px;
  height: 44px;
  pointer-events: auto;
}
.clip-thumb.playing .clip-mute { display: inline-grid; }
.clip-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  align-items: start;
  padding-inline: 2px;
}
.clip-adyghe {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.3;
  unicode-bidi: isolate;
  direction: ltr;
  text-align: start;
}
.clip-meaning {
  grid-column: 1;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.35;
}
.menu-btn {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.menu-btn:hover { background: var(--surface-2); color: var(--text); }
.menu-btn svg { width: 20px; height: 20px; }
.card-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
  opacity: 0;
  cursor: pointer;
}
.card-open:focus-visible {
  opacity: 1;
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding-block: 28px calc(28px + var(--safe-bottom));
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logos { display: flex; align-items: center; gap: 16px; }
.footer-logos .brand-logo { height: 22px; }
.footer-logos .abx {
  width: 48px;
  height: auto;
}
.footer-text { color: var(--muted); font-size: 0.9375rem; }

/* Dialogs / sheets */
dialog.sheet,
dialog.menu-dialog,
dialog.viewer-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  margin: 0;
}
dialog.sheet[open],
dialog.menu-dialog[open],
dialog.viewer-dialog[open] {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  display: block;
}
dialog.sheet::backdrop,
dialog.menu-dialog::backdrop,
dialog.viewer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}
.sheet-panel {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  max-height: min(88vh, 720px);
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: 20px 20px 0 0;
  padding: 12px 16px calc(16px + var(--safe-bottom));
  box-shadow: var(--shadow-lg);
}
@media (min-width: 720px) {
  .sheet-panel {
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(420px, calc(100vw - 32px));
    bottom: auto;
    border-radius: 20px;
    padding-bottom: 16px;
  }
  [dir="rtl"] .sheet-panel { transform: translate(50%, -50%); }
}
.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  margin: 4px auto 12px;
}
.sheet-title {
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.sheet-preview {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.sheet-preview img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}
.sheet-actions {
  display: grid;
  gap: 4px;
}
.sheet-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  width: 100%;
  text-align: start;
}
.sheet-action:hover { background: var(--surface-2); }
.sheet-action svg,
.sheet-action .brand-icon {
  width: 22px;
  height: 22px;
  flex: none;
}
.menu-panel {
  position: fixed;
  min-width: 220px;
  max-width: min(280px, calc(100vw - 24px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 80;
}
.menu-panel .sheet-action { min-height: 44px; }

/* Viewer */
.viewer-dialog[open] {
  background: #050705;
  color: #fff;
  display: block;
}
.viewer-shell {
  position: relative;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #050705;
}
.viewer-top {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: calc(10px + var(--safe-top)) 12px 10px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent);
}
.viewer-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.viewer-counter {
  font-weight: 700;
  font-size: 0.9375rem;
  opacity: 0.9;
}
.toggle-btn[aria-pressed="true"] {
  background: var(--gold-400);
  color: var(--green-900);
}
.viewer-feed {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.viewer-feed::-webkit-scrollbar { display: none; }
.viewer-slide {
  position: relative;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-content: center;
  padding: calc(64px + var(--safe-top)) 12px calc(88px + var(--safe-bottom));
}
.viewer-stage {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  background: #111;
}
.viewer-stage .blur-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.45);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
}
/* Never leave the blurred still visible over a playing clip. */
.viewer-stage.playing .blur-bg {
  opacity: 0;
  visibility: hidden;
}
.viewer-stage .video-slot {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.viewer-stage .poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transition: opacity 0.15s ease;
}
.viewer-stage.playing .poster-fallback {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.viewer-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  background: #111;
}
.viewer-caption {
  width: min(100%, 520px);
  margin: 14px auto 0;
  display: grid;
  gap: 6px;
}
.viewer-speaker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  opacity: 0.9;
}
.viewer-speaker img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.viewer-adyghe {
  font-size: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  font-weight: 800;
  unicode-bidi: isolate;
  direction: ltr;
  text-align: start;
}
.viewer-meaning { color: rgba(255, 255, 255, 0.82); }
.viewer-side {
  display: none;
}
.viewer-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  justify-content: space-around;
  gap: 4px;
  padding: 10px 8px calc(10px + var(--safe-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}
.viewer-bottom .tool {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 64px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.viewer-bottom .tool svg { width: 24px; height: 24px; }
.unmute-hint {
  position: absolute;
  inset-inline: 0;
  top: 45%;
  z-index: 4;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.unmute-hint.show { display: flex; }
.unmute-hint span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  font-weight: 700;
}

@media (min-width: 900px) {
  .viewer-slide {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-inline: 40px;
  }
  .viewer-stage {
    width: auto;
    height: min(80dvh, 720px);
    aspect-ratio: 1;
  }
  .viewer-caption {
    position: absolute;
    inset-inline-start: 40px;
    bottom: calc(28px + var(--safe-bottom));
    width: min(360px, 30vw);
    margin: 0;
  }
  .viewer-side {
    display: grid;
    gap: 12px;
    align-content: center;
  }
  .viewer-side .tool {
    display: grid;
    justify-items: center;
    gap: 4px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
  }
  .viewer-side .btn-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.12);
  }
  .viewer-bottom { display: none; }
}

@media (max-width: 899px) and (orientation: landscape) {
  .viewer-slide {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
    align-items: center;
    gap: 16px;
    padding: calc(48px + var(--safe-top)) 16px calc(72px + var(--safe-bottom));
  }
  .viewer-stage {
    width: auto;
    height: min(70dvh, 420px);
  }
  .viewer-caption { margin: 0; width: auto; }
}

.toast-host {
  position: fixed;
  inset-inline: 0;
  bottom: calc(18px + var(--safe-bottom));
  z-index: 120;
  display: grid;
  justify-items: center;
  pointer-events: none;
  gap: 8px;
}
.toast {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 21, 18, 0.92);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toast-in 0.2s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

[dir="rtl"] .hero-avatars img { margin-inline-end: -14px; }
[dir="rtl"] .clip-adyghe,
[dir="rtl"] .viewer-adyghe { text-align: start; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
