:root {
  color-scheme: dark;
  --oled: #000000;
  --surface-1: #060608;
  --surface-2: #0B0B0F;
  --surface-3: #121217;
  --surface-4: #1A1A21;
  --accent: #FFFFFF;
  --accent-soft: #E4E4E7;
  --accent-mid: #D4D4D8;
  --text-main: #FFFFFF;
  --text-secondary: #E4E4E7;
  --text-muted: #9CA3AF;
  --text-dim: #6B7280;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.14);
  --emerald: #34D399;
  --danger: #F87171;
  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--oled);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

/* Custom Monochrome Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #000000;
}
::-webkit-scrollbar-thumb {
  background: #27272A;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #71717A;
}

/* Interactive Bubble Dot Canvas Background */
#oledDotCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.oled-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(65% 40% at 50% -10%, rgba(255, 255, 255, 0.045), transparent 72%);
}

.container {
  position: relative;
  z-index: 1;
  width: min(1220px, 100% - 32px);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-wordmark {
  height: 30px;
  width: auto;
  display: block;
}

.brand-suffix {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-sm,
.btn-mono-sm,
.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.11);
  white-space: nowrap;
}

.btn-outline-sm {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}
.btn-outline-sm:hover {
  border-color: rgba(255, 255, 255, 0.32);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost-sm {
  background: transparent;
  border-color: transparent;
  color: var(--text-muted);
}
.btn-ghost-sm:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.07);
}

.btn-mono-sm {
  background: #FFFFFF;
  color: #000000;
  border-color: transparent;
}
.btn-mono-sm:hover {
  background: #E4E4E7;
}

.user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.user-pill-btn:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.user-avatar-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #27272A;
  color: #FFFFFF;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

/* Draft Banner */
.draft-banner {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 9px 0;
}
.draft-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* Storefront Toolbar & Catalog */
.store-main {
  padding: 36px 0 96px;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.catalog-title-wrap h1 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(23px, 2.8vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.catalog-title-wrap p {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.catalog-count-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-soft);
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
}

.controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.search-box {
  position: relative;
  flex: 1 1 280px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-dim);
  pointer-events: none;
}

.oled-input,
.oled-select,
.oled-textarea {
  width: 100%;
  background: rgba(14, 14, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 13.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.oled-input,
.oled-select {
  height: 42px;
  padding: 8px 14px;
  line-height: 1.4;
}

.search-box .oled-input {
  padding-left: 42px;
}

.oled-textarea {
  padding: 11px 13px;
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.oled-input:focus,
.oled-select:focus,
.oled-textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.sort-box {
  flex: 0 0 215px;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.cat-pill {
  padding: 7px 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.09);
}

.cat-pill.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 600;
}

/* =========================================================
   Borderless, Divider-Free Compact OLED Storefront Cards
   ========================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 340px));
  gap: 20px;
}

.spotlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.065), rgba(10, 10, 13, 0.96) 65%),
    #08080B;
  border: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.26s ease;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 48%
  );
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-media-top {
  position: relative;
  height: 168px;
  background: transparent;
  overflow: hidden;
}

.card-media-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .card-media-inner {
  transform: scale(1.03);
}

.card-cover-img,
.card-cover-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sleek Monochrome Dynamic Island Card Artwork */
.card-mini-stage {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.1), transparent 62%),
    linear-gradient(180deg, rgba(16, 16, 20, 0.92) 0%, rgba(7, 7, 10, 0.98) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 38px;
}

.mini-island-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #000000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.mini-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.mini-pill-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #FFFFFF;
}

.mini-pill-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.mini-pill-eq i {
  width: 2px;
  background: #E4E4E7;
  border-radius: 2px;
  animation: eqBounce 1.1s ease-in-out infinite;
}
.mini-pill-eq i:nth-child(2) { animation-delay: 0.2s; }
.mini-pill-eq i:nth-child(3) { animation-delay: 0.4s; }
.mini-pill-eq i:nth-child(4) { animation-delay: 0.15s; }

.mini-island-expanded-ghost {
  margin-top: 12px;
  width: 176px;
  height: 44px;
  border-radius: 14px;
  background: rgba(18, 18, 22, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  color: #E4E4E7;
  font-size: 12px;
}

.mini-ghost-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #FFFFFF 55%, rgba(255, 255, 255, 0.14) 55%);
}

.mini-taskbar {
  position: absolute;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 7px;
}

.mini-taskbar span {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.mini-taskbar span.active {
  background: #FFFFFF;
}

.card-badges-tl {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
}

.badge-chip {
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  border: none;
}

.card-body {
  position: relative;
  z-index: 3;
  padding: 16px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.card-title-row h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.card-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Hover-Tooltip Icon Metadata */
.meta-icon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-icon-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  transition: background-color 0.18s ease, color 0.18s ease;
  cursor: default;
}

.meta-icon-chip:hover,
.meta-icon-chip:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
  outline: none;
}

.meta-icon-chip[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 5px 9px;
  border-radius: 7px;
  background: #18181F;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.85);
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 30;
}

.meta-icon-chip[data-tooltip]:hover::after,
.meta-icon-chip[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.card-footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.price-label.free { color: var(--emerald); }
.price-label.freemium { color: #E4E4E7; }
.price-label.paid { color: #FFFFFF; }

.card-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Empty State */
.empty-state {
  padding: 56px 20px;
  text-align: center;
  background: rgba(12, 12, 16, 0.8);
  border-radius: 18px;
}
.empty-state h3 { margin: 0 0 8px; font-family: var(--font-sans); font-size: 17px; }
.empty-state p { margin: 0 0 18px; color: var(--text-muted); font-size: 13.5px; }

/* =========================================================
   Unified Borderless Modal (<dialog>) + Hidden Scrollbar
   ========================================================= */
dialog.product-dialog,
dialog.auth-dialog {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-main);
  margin: auto;
  overflow: visible;
}

dialog.product-dialog {
  width: min(760px, calc(100vw - 24px));
  max-width: 760px;
  max-height: 92dvh;
}

dialog.auth-dialog {
  width: min(420px, calc(100vw - 24px));
  max-width: 420px;
}

dialog.product-dialog:modal,
dialog.auth-dialog:modal {
  overscroll-behavior: contain;
}

dialog.product-dialog::backdrop,
dialog.auth-dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(255, 255, 255, 0.055), rgba(8, 8, 11, 0.99) 55%),
    #08080B;
  border: none;
  border-radius: 22px;
  box-shadow: 0 32px 96px rgba(0, 0, 0, 0.92), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-panel::-webkit-scrollbar {
  display: none;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.modal-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.modal-preview-zone {
  background: transparent;
  padding: 14px 14px 0;
}

.modal-body {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 800;
  color: #FFFFFF;
}

.modal-full-desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

.features-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.feature-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: none;
}

.feature-box.pro-box {
  background: rgba(255, 255, 255, 0.055);
}

.feature-box h2,
.changelog-box h2 {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
}

.feature-box.pro-box h2 {
  color: #FFFFFF;
}

.changelog-box h2 {
  color: var(--text-muted);
}

.feature-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.feature-box li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.feature-box li::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}

.feature-box.pro-box li::before {
  content: "✦";
  color: #FFFFFF;
}

.changelog-box {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.changelog-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Merged Bottom CTA Row (No Divider Line) */
.modal-cta-bar {
  padding-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.modal-pricing-meta .refund-note {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.modal-cta-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-primary-lg,
.btn-mono-lg,
.btn-outline-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary-lg,
.btn-mono-lg {
  background: #FFFFFF;
  color: #000000;
}
.btn-primary-lg:hover,
.btn-mono-lg:hover {
  background: #E4E4E7;
}

.btn-outline-lg {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-secondary);
}
.btn-outline-lg:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
}

.btn-soon-muted {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}
.btn-soon-muted:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* =========================================================
   3D Flip Stage (Live Demo <-> Screenshots)
   ========================================================= */
.flip-stage {
  position: relative;
  perspective: 1200px;
}

.flip-toggle-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 25;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s ease, background-color 0.2s ease, color 0.2s ease;
}

.flip-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.flip-stage.is-flipped .flip-toggle-btn svg {
  transform: rotate(180deg);
}

.flip-toggle-btn svg {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-code-btn {
  position: absolute;
  top: 12px;
  left: 54px;
  z-index: 25;
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.flip-code-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.flip-inner {
  position: relative;
  width: 100%;
  min-height: 326px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.flip-stage.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

.flip-front {
  position: relative;
  z-index: 2;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
  background: #050507;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================================
   Dynamic Island Monochrome Simulator Stage
   ========================================================= */
.di-sim-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.di-desktop-canvas {
  position: relative;
  height: 274px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 25%, rgba(255, 255, 255, 0.08), transparent 48%),
    radial-gradient(circle at 80% 72%, rgba(255, 255, 255, 0.04), transparent 52%),
    linear-gradient(160deg, #09090C 0%, #030304 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.di-desktop-hint {
  position: absolute;
  bottom: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 11.5px;
  color: var(--text-muted);
  pointer-events: none;
}

.di-hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
}

.di-island {
  position: relative;
  margin-top: 14px;
  width: 224px;
  min-height: 38px;
  border-radius: 999px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
  color: #FFFFFF;
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.36s ease, margin-top 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  z-index: 6;
}

.di-island[data-shape="notch"] {
  margin-top: 0;
  border-top: none;
  border-radius: 0 0 18px 18px;
}

.di-island[data-expanded="true"] {
  width: min(440px, calc(100% - 28px));
  border-radius: 22px;
  padding: 12px 14px;
}

.di-island[data-shape="notch"][data-expanded="true"] {
  border-radius: 0 0 22px 22px;
}

.di-ear {
  display: none;
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
}
.di-island[data-shape="notch"] .di-ear { display: block; }
.di-ear-left { left: -13px; }
.di-ear-right { right: -13px; }

.di-compact {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

.di-island[data-expanded="true"] .di-compact {
  display: none;
}

.di-compact-left,
.di-compact-right {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.di-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FFFFFF;
}

.di-compact-badge {
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.di-clock {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.di-eq-mini,
.di-eq-large {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
}
.di-eq-mini { height: 10px; }
.di-eq-large { height: 18px; gap: 3px; }

.di-eq-mini i,
.di-eq-large i {
  width: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  animation: eqBounce 0.9s ease-in-out infinite;
}
.di-island[data-playing="false"] .di-eq-mini i,
.di-island[data-playing="false"] .di-eq-large i {
  animation: none;
  height: 3px;
}
.di-eq-mini i:nth-child(2), .di-eq-large i:nth-child(2) { animation-delay: 0.15s; }
.di-eq-mini i:nth-child(3), .di-eq-large i:nth-child(3) { animation-delay: 0.3s; }
.di-eq-large i:nth-child(4) { animation-delay: 0.45s; }
.di-eq-large i:nth-child(5) { animation-delay: 0.2s; }

.di-expanded {
  display: none;
  flex-direction: column;
  gap: 10px;
}
.di-island[data-expanded="true"] .di-expanded {
  display: flex;
}

.di-exp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.di-tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.di-tab-btn {
  padding: 4px 9px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.di-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
}

.di-pin-btn {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.di-pin-btn.active {
  background: #FFFFFF;
  color: #000000;
}

.di-panel { display: none; }
.di-panel.active { display: block; }

.di-media-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.di-album-art {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #000000;
  background: #FFFFFF;
  flex-shrink: 0;
}

.di-track-meta {
  flex: 1;
  min-width: 0;
}
.di-track-meta strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.di-track-meta span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.di-seek-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.di-seek-track {
  flex: 1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  overflow: hidden;
}
.di-seek-fill {
  height: 100%;
  background: #FFFFFF;
  border-radius: 999px;
}

.di-media-controls {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.di-ctrl-icon,
.di-ctrl-play {
  border: none;
  background: transparent;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.di-ctrl-play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #000000;
}
.di-island[data-playing="true"] .ic-play { display: none; }
.di-island[data-playing="false"] .ic-pause { display: none; }

.di-sys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.di-sys-card {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}
.di-sys-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
}
.di-sys-bar {
  margin-top: 5px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.di-sys-bar span {
  display: block;
  height: 100%;
  background: #FFFFFF;
}
.di-sys-meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}

.di-timer-row,
.di-call-row,
.di-device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 4px;
}
.di-timer-label { font-size: 11px; color: var(--text-muted); }
.di-timer-digits { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }
.di-timer-actions { display: flex; gap: 6px; }
.di-mini-btn {
  padding: 6px 11px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.di-mini-btn.primary {
  background: #FFFFFF;
  color: #000000;
}

.di-call-avatar,
.di-device-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}
.di-call-meta,
.di-device-meta { flex: 1; min-width: 0; }
.di-call-meta strong,
.di-device-meta strong { display: block; font-size: 13px; }
.di-call-meta span,
.di-device-meta span { display: block; font-size: 11px; color: var(--text-muted); }
.di-call-actions { display: flex; gap: 6px; }
.di-call-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.di-call-btn.accept { background: #22C55E; color: #000; }
.di-call-btn.reject { background: #EF4444; color: #FFF; }
.di-call-btn.mute { background: rgba(255,255,255,0.16); color: #FFF; }

.di-desktop-taskbar {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.di-tb-center { display: flex; gap: 10px; }
.di-tb-app.active { color: #FFFFFF; }

.di-sim-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.di-toolbar-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.di-toolbar-label {
  font-size: 11.5px;
  color: var(--text-muted);
}
.di-tool-pill {
  padding: 5px 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.di-tool-pill.active {
  background: #FFFFFF;
  color: #000000;
}

/* Screenshots Backface */
.gallery-stage {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gallery-viewport {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #030305;
}
.gallery-img {
  width: 100%;
  height: 256px;
  object-fit: contain;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.72);
  color: #FFFFFF;
  font-size: 19px;
  cursor: pointer;
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.gallery-chip {
  padding: 4px 10px;
  border-radius: 7px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 11.5px;
  cursor: pointer;
}
.gallery-chip.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 600;
}

.sandbox-preview-frame {
  width: 100%;
  height: 290px;
  border: none;
  border-radius: 14px;
  background: #000000;
}

/* =========================================================
   30-Language Switcher Popover & RTL Adjustments
   ========================================================= */
.lang-switcher-wrap { position: relative; }
.lang-trigger-btn { font-family: var(--font-mono); font-size: 11.5px; min-width: 58px; }
.lang-popover {
  margin: 0;
  padding: 10px;
  width: min(290px, calc(100vw - 24px));
  max-height: 360px;
  background: rgba(11, 11, 15, 0.98);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  inset: auto;
  top: 70px;
  right: 16px;
}
.lang-popover.no-native-popover { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; }
.lang-popover.no-native-popover.fallback-open { display: flex; flex-direction: column; }
.lang-popover:popover-open { display: flex; flex-direction: column; gap: 8px; }
.lang-popover-head { padding-bottom: 6px; }
.lang-search-input { height: 36px; font-size: 12.5px; padding: 0 11px; }
.lang-popover-list { display: flex; flex-direction: column; gap: 3px; overflow-y: auto; max-height: 278px; }
.lang-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: left;
}
.lang-option-btn:hover { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; }
.lang-option-btn.active { background: rgba(255, 255, 255, 0.14); color: #FFFFFF; }
.lang-opt-native { font-size: 13px; font-weight: 600; }
.lang-opt-meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-dim); }

[dir="rtl"] .search-box svg { left: auto; right: 14px; }
[dir="rtl"] .search-box .oled-input { padding-left: 14px; padding-right: 42px; }
[dir="rtl"] .modal-close-btn { right: auto; left: 14px; }
[dir="rtl"] .lang-popover { right: auto; left: 16px; }
[dir="rtl"] .lang-option-btn { text-align: right; }

/* =========================================================
   Auth Dialog, Profile, Support & Inline Admin Mode
   ========================================================= */
.auth-panel {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.auth-tab-btn {
  padding: 8px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.auth-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-err {
  font-size: 12.5px;
  color: var(--danger);
  min-height: 16px;
}

.page-main {
  padding: 36px 0 88px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.oled-card {
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.055), rgba(10, 10, 14, 0.96) 68%),
    #08080B;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oled-card h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
}

.avatar-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.avatar-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}
.avatar-swatch.active {
  border-color: #FFFFFF;
  transform: scale(1.1);
}

/* Support Chat */
.support-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 18px;
  align-items: start;
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-item {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.035);
  color: #FFFFFF;
  text-align: left;
  cursor: pointer;
}
.ticket-item.active {
  background: rgba(255, 255, 255, 0.11);
}
.ticket-item strong { display: block; font-size: 13.5px; }
.ticket-item span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 4px 2px;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-bubble.user {
  align-self: flex-end;
  background: #FFFFFF;
  color: #000000;
}
.chat-bubble.staff {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}
.chat-meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0.7;
  margin-bottom: 4px;
}

/* Inline Admin Floating Bar & Editable Controls */
.admin-floating-bar {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.inline-edit-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-editor-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.code-tab-btn {
  padding: 5px 11px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  cursor: pointer;
}
.code-tab-btn.active {
  background: #FFFFFF;
  color: #000000;
  font-weight: 700;
}

/* FAQ, Legal, 404 & Admin Portal */
.faq-main { padding: 40px 0 88px; }
.page-intro { margin-bottom: 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.page-intro h1 { margin: 0; font-family: var(--font-sans); font-size: clamp(23px, 3vw, 32px); font-weight: 800; }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.9);
  padding: 18px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: #FFFFFF;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--text-muted); font-size: 18px; }
.faq-item[open] summary::after { content: "−"; color: #FFFFFF; }
.faq-item p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }

.discord-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(14, 14, 18, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.discord-card h3 { margin: 0 0 6px; font-family: var(--font-sans); font-size: 19px; }
.discord-card p { margin: 0 0 12px; font-size: 13.5px; color: var(--text-muted); max-width: 600px; }
.discord-channels { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.legal-grid { display: flex; flex-direction: column; gap: 14px; }
.legal-card { padding: 22px; border-radius: 16px; background: rgba(12, 12, 16, 0.92); }
.legal-card h2 { margin: 0 0 8px; font-family: var(--font-sans); font-size: 18px; color: #FFFFFF; }
.legal-card p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.not-found-main { min-height: calc(100dvh - 150px); display: grid; place-items: center; padding: 48px 16px; }
.not-found-card {
  max-width: 480px;
  width: 100%;
  padding: 34px 26px;
  border-radius: 22px;
  background: rgba(10, 10, 14, 0.95);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.not-found-code { font-family: var(--font-mono); font-size: 46px; font-weight: 800; color: #FFFFFF; }
.not-found-card h1 { margin: 0; font-family: var(--font-sans); font-size: 22px; }
.not-found-card p { margin: 0 0 8px; color: var(--text-muted); font-size: 14px; }

/* Admin Minimal Control Center */
.admin-main { padding: 30px 0 80px; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat-tile {
  padding: 18px;
  border-radius: 16px;
  background: rgba(12, 12, 16, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.stat-tile span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.stat-tile strong { display: block; margin-top: 6px; font-family: var(--font-sans); font-size: 28px; color: #FFFFFF; }

.admin-status-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}
.admin-status-badge.connected {
  color: var(--emerald);
  background: rgba(52, 211, 153, 0.12);
}

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.form-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.9);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy { margin: 0; font-size: 12.5px; color: var(--text-dim); }
.footer-links { display: flex; align-items: center; gap: 18px; font-size: 12.5px; color: var(--text-muted); }
.footer-links a:hover { color: #FFFFFF; }

/* Toasts */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(14, 14, 18, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #FFFFFF;
  animation: slideUp 0.25s ease-out forwards;
}
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFFFFF; }
.toast-dot.error { background: var(--danger); }

@keyframes eqBounce {
  0%, 100% { height: 4px; }
  50% { height: 12px; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 860px) {
  .support-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 16px 18px 20px; }
}
