:root {
  color-scheme: dark;
  --vyral-bg: #07080d;
  --vyral-card: #11131c;
  --vyral-line: rgba(255, 255, 255, .12);
  --vyral-pink: #ff2d67;
  --vyral-coral: #ff625f;
  --vyral-cyan: #20dfff;
  --vyral-green: #37e6a1;
}

/* Identity, publication review and post-detail surfaces. */
.vyral-handle-policy {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.video-title {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 5px;
  transition: color .18s ease, text-decoration-color .18s ease;
}

.video-title:hover,
.video-title:focus-visible {
  color: #fff;
  text-decoration-color: var(--v7-cyan, #25d7ff);
}

.modal-overlay.vyral-bottom-sheet-overlay.show,
.modal-overlay:has(.vyral-post-details-sheet).show,
.modal-overlay:has(.vyral-safety-review).show {
  align-items: end;
  padding: 18px;
}

.vyral-post-details-sheet,
.vyral-safety-review {
  position: relative;
  width: min(720px, 100%);
  max-height: min(82svh, 760px);
  overflow: auto;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 38px) calc(28px + env(safe-area-inset-bottom));
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 30px 30px 22px 22px;
  background:
    radial-gradient(circle at 90% 0, rgba(37,215,255,.12), transparent 30%),
    radial-gradient(circle at 0 10%, rgba(255,46,104,.13), transparent 32%),
    #10131d;
  box-shadow: 0 -26px 90px rgba(0,0,0,.62);
  animation: vyralSheetUp .28s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes vyralSheetUp {
  from { transform: translateY(34px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.vyral-sheet-handle {
  width: 48px;
  height: 5px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: #454b5b;
}

.vyral-post-details-sheet h2,
.vyral-safety-review h2 {
  margin: 9px 52px 12px 0;
  font-size: clamp(30px, 6vw, 50px);
  line-height: 1;
  letter-spacing: -.055em;
}

.vyral-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0;
}

.vyral-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #c6cad5;
  font-size: 13px;
}

.vyral-post-meta svg,
.vyral-policy-notice svg { width: 17px; height: 17px; }

.vyral-post-description,
.vyral-review-preview {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 19px;
  background: rgba(5,7,12,.42);
}

.vyral-post-description > span {
  color: var(--v7-cyan, #25d7ff);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vyral-post-description p {
  margin: 9px 0 0;
  color: #e1e4ec;
  line-height: 1.65;
  white-space: pre-wrap;
}

.vyral-post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.vyral-post-tags button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(37,215,255,.28);
  border-radius: 999px;
  background: rgba(37,215,255,.08);
  color: #9deeff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.vyral-safety-review > p {
  max-width: 610px;
  color: #aeb4c2;
  line-height: 1.6;
}

.vyral-safety-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border: 1px solid rgba(37,215,255,.3);
  border-radius: 18px;
  color: var(--v7-cyan, #25d7ff);
  background: rgba(37,215,255,.1);
}

.vyral-safety-icon svg { width: 27px; height: 27px; }

.vyral-review-progress {
  height: 5px;
  margin: 24px 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #252936;
}

.vyral-review-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff2e68, #ad73ff, #25d7ff);
  animation: vyralReviewProgress 1.2s ease-in-out infinite;
}

.vyral-safety-review.is-approved .vyral-review-progress span { width: 100%; animation: none; background: #3ee6a8; }
.vyral-safety-review.is-rejected .vyral-review-progress span { width: 100%; animation: none; background: #ff4b61; }

@keyframes vyralReviewProgress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(340%); }
}

.vyral-review-status,
.vyral-policy-notice {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.vyral-review-status > span:last-child,
.vyral-policy-notice > span:last-child { display: grid; gap: 3px; }
.vyral-review-status small,
.vyral-policy-notice small,
.vyral-review-preview small { color: #9da4b3; line-height: 1.45; }

.vyral-review-spinner {
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  border: 3px solid #343a49;
  border-top-color: var(--v7-cyan, #25d7ff);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}

.vyral-review-result {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #07100d;
  background: #3ee6a8;
}

.is-rejected .vyral-review-result { color: #fff; background: #ff4b61; }
.vyral-review-result svg { width: 19px; height: 19px; }
.vyral-review-preview { display: grid; gap: 5px; margin-top: 14px; }
.vyral-policy-notice { margin: 14px 0; color: #ffccd3; border-color: rgba(255,75,97,.28); background: rgba(255,75,97,.08); }
.vyral-safety-review > .v7-btn { width: 100%; margin-top: 12px; }

@media (max-width: 620px) {
  .modal-overlay.vyral-bottom-sheet-overlay.show,
  .modal-overlay:has(.vyral-post-details-sheet).show,
  .modal-overlay:has(.vyral-safety-review).show { padding: 0; }
  .vyral-post-details-sheet,
  .vyral-safety-review { width: 100%; max-height: 88svh; border-radius: 26px 26px 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
}

html,
body {
  min-height: 100%;
  background: var(--vyral-bg);
}

body.vyral-booting {
  overflow: hidden;
}

body.vyral-booting > :not(.vyral-boot) {
  visibility: hidden !important;
}

.vyral-boot {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 15px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 45, 103, .22), transparent 30%),
    radial-gradient(circle at 88% 90%, rgba(32, 223, 255, .18), transparent 28%),
    #07080d;
  transition: opacity .28s ease, visibility .28s ease;
}

body.vyral-ready .vyral-boot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.vyral-boot-logo {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--vyral-pink), var(--vyral-cyan));
  box-shadow: 0 20px 60px rgba(255, 45, 103, .28);
  font-size: 32px;
  font-weight: 1000;
}

.vyral-boot-spinner,
.vyral-security-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255, 255, 255, .14);
  border-top-color: var(--vyral-cyan);
  border-radius: 50%;
  animation: vyralSpin .8s linear infinite;
}

@keyframes vyralSpin { to { transform: rotate(360deg); } }

select,
select option,
select optgroup {
  color: #fff !important;
  background: #171923 !important;
}

select {
  color-scheme: dark;
}

.modal-overlay.show {
  display: grid !important;
  place-items: center;
  overflow: auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.modal-overlay.show > * {
  margin: auto;
}

.v7-create-modal {
  position: relative;
  inset: auto !important;
  margin: auto !important;
}

.auth-overlay {
  z-index: 1000;
  overflow: auto;
  background: #07080d !important;
}

.auth-overlay.show {
  display: block;
}

.v7-auth-shell {
  min-height: 100dvh;
}

.v7-auth-main {
  min-width: 0;
}

.v7-auth-form,
.v7-login-panel,
.v7-auth-step {
  min-width: 0;
}

.v7-login-fields {
  min-width: 0;
}

.v7-captcha-block {
  min-width: 0;
}

.v7-captcha-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 900;
}

.v7-captcha-head span:last-child {
  color: var(--vyral-green);
}

.v7-turnstile {
  width: 100% !important;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
}

.v7-turnstile > div,
.v7-turnstile iframe {
  max-width: 100% !important;
}

.v7-turnstile-loading {
  min-height: 65px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, .68);
  border: 1px solid var(--vyral-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  font-size: 12px;
  font-weight: 850;
}

.v7-turnstile-loading i {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: var(--vyral-cyan);
  border-radius: 50%;
  animation: vyralSpin .8s linear infinite;
}

.vyral-security-panel {
  min-height: min(620px, calc(100dvh - 48px));
  display: grid;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.vyral-security-icon,
.vyral-confirm-icon,
.vyral-ban-icon {
  width: 82px;
  height: 82px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,45,103,.96), rgba(32,223,255,.9));
  box-shadow: 0 22px 64px rgba(255,45,103,.24);
  font-size: 32px;
  font-weight: 1000;
}

.vyral-security-panel h2,
.vyral-confirm-panel h2,
.vyral-ban-panel h2 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: .98;
  letter-spacing: -.065em;
}

.vyral-security-copy,
.vyral-confirm-copy,
.vyral-ban-copy {
  max-width: 560px;
  margin-inline: auto;
  color: rgba(255,255,255,.67);
  line-height: 1.55;
  font-weight: 700;
}

.vyral-security-state {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 900;
}

.vyral-security-check {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #062216;
  background: var(--vyral-green);
  font-size: 18px;
}

.vyral-confirm-panel,
.vyral-ban-panel {
  min-height: min(640px, calc(100dvh - 48px));
  display: grid;
  align-content: center;
  gap: 18px;
}

.vyral-code-input {
  width: 100%;
  height: 72px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(32,223,255,.42) !important;
  border-radius: 20px !important;
  color: #fff !important;
  background: rgba(255,255,255,.055) !important;
  font: 1000 30px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  letter-spacing: .32em;
  text-align: center;
}

.vyral-code-input::placeholder {
  color: rgba(255,255,255,.24);
}

.vyral-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.vyral-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 18px;
  font-size: 11px;
  font-weight: 850;
}

.vyral-legal-links a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
}

.vyral-legal-links a:hover {
  color: #fff;
}

.vyral-ban-panel {
  text-align: center;
}

.vyral-ban-icon {
  background: linear-gradient(135deg, #ff315c, #ff8a42);
}

.vyral-ban-card {
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255,90,90,.3);
  border-radius: 20px;
  background: rgba(255,70,70,.07);
  text-align: left;
}

.vyral-ban-card span,
.vyral-ban-card b {
  display: block;
}

.vyral-ban-card span {
  color: rgba(255,255,255,.55);
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.v6-notification,
.row,
.row-list,
.page,
.page input,
.page textarea,
.page button {
  color: var(--text, #fff);
}

.v6-notification {
  background: transparent;
}

.v6-notification:hover {
  background: rgba(255,255,255,.055);
}

.vyral-studio-hero {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--vyral-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 0, rgba(32,223,255,.24), transparent 38%),
    linear-gradient(135deg, rgba(255,45,103,.2), rgba(139,92,246,.1));
}

.vyral-studio-hero h1 {
  margin-top: 8px;
  font-size: clamp(40px, 8vw, 78px);
  line-height: .9;
  letter-spacing: -.08em;
}

.vyral-studio-hero p {
  max-width: 700px;
  margin-top: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
  font-weight: 700;
}

.vyral-studio-actions,
.vyral-studio-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.vyral-studio-module {
  min-height: 150px;
  padding: 17px;
  border: 1px solid var(--vyral-line);
  border-radius: 21px;
  color: #fff;
  background: rgba(255,255,255,.045);
  text-align: left;
}

.vyral-studio-module b,
.vyral-studio-module span {
  display: block;
}

.vyral-studio-module b {
  margin-top: 28px;
  font-size: 18px;
}

.vyral-studio-module span {
  margin-top: 5px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.4;
}

.vyral-admin-shell {
  display: grid;
  gap: 16px;
}

.vyral-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.vyral-admin-toolbar input,
.vyral-admin-row select,
.vyral-admin-row input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--vyral-line);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.055);
  padding: 0 12px;
}

.vyral-admin-list {
  display: grid;
  gap: 9px;
}

.vyral-admin-row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 150px 180px auto;
  gap: 9px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--vyral-line);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.vyral-admin-user b,
.vyral-admin-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vyral-admin-user span {
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
}

.vyral-admin-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--vyral-green);
  background: rgba(55,230,161,.1);
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
}

.vyral-admin-status.banned {
  color: #ff9b9b;
  background: rgba(255,80,80,.11);
}

.vyral-admin-row-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.vyral-admin-ban-dialog {
  width: min(620px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid var(--vyral-line);
  border-radius: 26px;
  color: #fff;
  background: #10121b;
  box-shadow: 0 34px 120px rgba(0,0,0,.58);
}

.vyral-admin-ban-dialog textarea {
  width: 100%;
  min-height: 105px;
  padding: 13px;
  resize: vertical;
  border: 1px solid var(--vyral-line);
  border-radius: 15px;
  color: #fff;
  background: rgba(255,255,255,.055);
}

@media (max-width: 900px) {
  .v7-auth-hero {
    display: none !important;
  }

  .v7-auth-shell {
    display: block !important;
  }

  .v7-auth-main {
    min-height: 100dvh !important;
    padding: max(18px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)) !important;
  }

  .v7-auth-form {
    width: min(100%, 680px) !important;
    margin: auto;
  }

  .vyral-studio-actions,
  .vyral-studio-modules {
    grid-template-columns: 1fr;
  }

  .vyral-admin-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .modal-overlay.show {
    padding: 10px;
  }

  .v7-create-modal {
    width: 100% !important;
    max-height: calc(100dvh - 20px);
    overflow: auto;
    border-radius: 22px !important;
  }

  .v7-create-cards {
    grid-template-columns: 1fr !important;
  }

  .v7-create-type {
    min-height: 124px !important;
  }

  .v7-auth-main {
    padding-inline: 10px !important;
  }

  .v7-auth-form {
    border-radius: 24px !important;
  }

  .v7-auth-top,
  .v7-auth-step,
  .v7-login-panel {
    padding-inline: 4px;
  }

  .vyral-confirm-actions {
    grid-template-columns: 1fr;
  }

  .vyral-code-input {
    letter-spacing: .22em;
    font-size: 26px !important;
  }

  .vyral-admin-toolbar,
  .vyral-admin-row {
    grid-template-columns: 1fr;
  }

  .page-header h2 {
    font-size: 18px;
  }

  .page-section {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Product-quality native-control replacement and Vyral lifecycle UI. */
:root { color-scheme: dark; }
select, option { color-scheme: dark; background: #171923 !important; color: #fff !important; }
input[type="date"] { color-scheme: dark; }
input[type="file"]:not(.vyral-hidden-file) {
  width: 100%;
  min-height: 52px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: rgba(255,255,255,.64);
  background: #171923;
  font: inherit;
}
input[type="file"]:not(.vyral-hidden-file)::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg,rgba(255,45,103,.22),rgba(32,216,255,.14));
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
input[type="file"]:not(.vyral-hidden-file):hover::file-selector-button {
  border-color: rgba(32,216,255,.42);
  background: linear-gradient(110deg,#ff2d67,#8e54ff 58%,#20d8ff);
}
input[type="checkbox"], input[type="radio"] { accent-color: #ff2d67; }
.vyral-hidden-file { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
[data-lucide] { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; }
.vyral-official-logo { display: block; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(255,45,103,.22)); }
.v7-auth-logo { overflow:hidden; color:transparent !important; font-size:0 !important; background:transparent url('./assets/vyral-logo-transparent.png') center/contain no-repeat !important; box-shadow:none !important; }

.vyral-account-page { display: grid; gap: 14px; width: min(100%, 980px); margin: 0 auto; padding: 16px 16px 48px; }
.vyral-account-hero, .vyral-settings-section { border: 1px solid rgba(255,255,255,.1); background: linear-gradient(145deg,rgba(20,22,32,.98),rgba(10,11,17,.98)); box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.vyral-account-hero { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px; border-radius:25px; overflow:hidden; position:relative; }
.vyral-account-hero::after { content:""; position:absolute; inset:auto -60px -90px auto; width:240px; height:180px; background:radial-gradient(circle,rgba(32,216,255,.18),transparent 68%); pointer-events:none; }
.vyral-account-hero>div { display:flex; align-items:center; gap:15px; min-width:0; }
.vyral-account-hero h1 { margin:4px 0 3px; font-size:clamp(28px,5vw,44px); letter-spacing:-.055em; }
.vyral-account-hero p, .vyral-section-heading p { color:rgba(255,255,255,.58); font-size:13px; line-height:1.55; }
.vyral-icon-button { display:inline-grid; place-items:center; width:44px; height:44px; border:1px solid rgba(255,255,255,.12); border-radius:15px; color:#fff; background:rgba(255,255,255,.06); }
.vyral-icon-button:hover { background:rgba(255,255,255,.1); transform:translateY(-1px); }
.vyral-settings-section { padding:20px; border-radius:24px; }
.vyral-section-heading { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.vyral-section-heading h2 { font-size:20px; letter-spacing:-.035em; }
.vyral-section-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:15px; color:#23dbff; background:rgba(35,219,255,.1); }
.vyral-section-icon.plus { color:#d7b6ff; background:rgba(155,91,255,.14); }
.vyral-section-icon.danger { color:#ff788f; background:rgba(255,62,92,.12); }
.vyral-settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.vyral-control { display:grid; gap:7px; min-width:0; }
.vyral-control>span, .vyral-tool-label { color:rgba(255,255,255,.67); font-size:11px; font-weight:900; }
.vyral-control-wide { grid-column:1/-1; }
.vyral-control input, .vyral-control textarea { width:100%; min-height:50px; padding:13px 14px; border:1px solid rgba(255,255,255,.12); border-radius:15px; color:#fff; background:rgba(255,255,255,.055); }
.vyral-control textarea { min-height:105px; resize:vertical; }
.vyral-control input:focus, .vyral-control textarea:focus { border-color:rgba(32,216,255,.66); box-shadow:0 0 0 4px rgba(32,216,255,.08); }
.vyral-upload-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.vyral-upload-card { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:12px; padding:14px; border:1px solid rgba(255,255,255,.1); border-radius:19px; background:rgba(255,255,255,.035); }
.vyral-upload-card>.v7-btn { grid-column:1/-1; justify-content:center; }
.vyral-upload-card b, .vyral-upload-card small { display:block; }
.vyral-upload-card small { margin-top:3px; color:rgba(255,255,255,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vyral-upload-preview { display:grid; place-items:center; overflow:hidden; width:64px; height:64px; border-radius:18px; color:#fff; background:linear-gradient(135deg,#ff2d67,#25d8ff); font-weight:1000; }
.vyral-upload-preview.banner { width:94px; border-radius:15px; background:linear-gradient(135deg,#38162d,#12485a); }
.vyral-upload-preview img { width:100%; height:100%; object-fit:cover; }
.vyral-save-profile { width:100%; justify-content:center; margin-top:14px; }
.vyral-settings-row { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid rgba(255,255,255,.1); border-radius:17px; color:#fff; background:rgba(255,255,255,.035); text-align:left; text-decoration:none; }
.vyral-settings-row+.vyral-settings-row { margin-top:9px; }
.vyral-settings-row>span { display:flex; align-items:center; gap:12px; min-width:0; }
.vyral-settings-row b, .vyral-settings-row small { display:block; }
.vyral-settings-row small { margin-top:3px; color:rgba(255,255,255,.52); font-size:11px; }
.vyral-settings-row:hover { border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.06); }
.vyral-settings-row.danger { color:#ff8799; }
.vyral-settings-row.danger small { color:rgba(255,179,190,.65); }
.vyral-install-entry { display:none; }
.vyral-install-ready .vyral-install-entry { display:flex; }

.vyral-dialog { position:relative; width:min(590px,calc(100vw - 24px)); padding:30px; border:1px solid rgba(255,255,255,.11); border-radius:27px; color:#fff; background:#10121b; box-shadow:0 40px 140px rgba(0,0,0,.65); }
.vyral-dialog-close { position:absolute; top:16px; right:16px; display:grid; place-items:center; width:42px; height:42px; border-radius:14px; color:#fff; background:rgba(255,255,255,.06); }
.vyral-dialog .v7-kicker { display:block; margin-top:18px; }
.vyral-dialog h2 { margin:8px 0 13px; font-size:clamp(28px,5vw,42px); line-height:1.05; letter-spacing:-.055em; }
.vyral-dialog p { color:rgba(255,255,255,.68); line-height:1.7; }
.vyral-dialog-icon { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; }
.vyral-dialog-icon:not(.danger) { color:#22d9ff; background:rgba(34,217,255,.1); }
.vyral-dialog-icon.danger { color:#ff7b91; background:rgba(255,60,92,.12); }
.vyral-warning-list { display:grid; gap:9px; margin:20px 0; }
.vyral-warning-list>span { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid rgba(255,255,255,.08); border-radius:14px; color:rgba(255,255,255,.75); background:rgba(255,255,255,.035); font-size:13px; }
.vyral-dialog-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:22px; }
.vyral-delete-status { display:none; }
.vyral-delete-status.show { display:flex; align-items:flex-start; gap:10px; margin-top:14px; padding:13px; border:1px solid rgba(255,92,117,.3); border-radius:15px; color:#ffadba; background:rgba(255,45,89,.08); font-size:12px; font-weight:750; line-height:1.5; }
.vyral-delete-status a { color:#fff; }
.vyral-delete-status svg { width:18px !important; height:18px !important; flex:0 0 18px; margin-top:1px; }
.vyral-dialog-control { margin-top:20px; }
.vyral-dialog-control small { justify-self:end; color:rgba(255,255,255,.42); font-size:10px; font-weight:900; }
.v7-btn.danger { color:#fff; background:linear-gradient(110deg,#d92f52,#ff5059); border-color:transparent; }
.vyral-dialog-success { text-align:center; }
.vyral-dialog-success .vyral-official-logo { margin:auto; }
.vyral-dialog-success .v7-btn { width:100%; justify-content:center; margin-top:20px; }

.vyral-recovery-panel { display:grid; gap:15px; padding:26px; }
.vyral-recovery-panel h2 { font-size:clamp(34px,6vw,55px); line-height:1; letter-spacing:-.07em; }
.vyral-recovery-panel p { color:rgba(255,255,255,.68); line-height:1.65; }
.vyral-auth-callout { padding:16px; border:1px solid rgba(32,216,255,.22); border-radius:16px; color:rgba(255,255,255,.75); background:rgba(32,216,255,.07); line-height:1.6; }
.vyral-recovery-panel .v7-auth-submit, .vyral-recovery-panel .v7-btn { width:100%; justify-content:center; }

.vyral-security-state { margin-left:auto; color:rgba(255,255,255,.58); font-size:11px; font-weight:950; }
.vyral-security-state.enabled { padding:7px 10px; border:1px solid rgba(55,230,168,.24); border-radius:999px; color:#59e8b2; background:rgba(55,230,168,.08); }
.vyral-security-state svg { width:15px; height:15px; }
.vyral-mfa-auth { display:grid; gap:15px; padding:26px; }
.vyral-mfa-auth h2 { font-size:clamp(34px,6vw,55px); line-height:1; letter-spacing:-.07em; }
.vyral-mfa-auth>p { color:rgba(255,255,255,.67); line-height:1.65; }
.vyral-mfa-auth .v7-auth-submit { width:100%; justify-content:center; }
.vyral-mfa-secondary { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.vyral-mfa-secondary a, .vyral-mfa-recovery-link { color:#38dcff; font-size:12px; font-weight:900; text-decoration:none; }
.vyral-auth-callout.error { border-color:rgba(255,78,110,.3); color:#ffabb9; background:rgba(255,53,91,.09); }
.vyral-mfa-code-control { margin-top:4px; }
.vyral-control input.vyral-mfa-code, .vyral-mfa-code { height:66px; font-size:28px; font-weight:950; letter-spacing:.42em; text-align:center; font-variant-numeric:tabular-nums; }
.vyral-mfa-manager { display:grid; gap:14px; }
.vyral-mfa-manager .v7-btn.primary { width:100%; justify-content:center; }
.vyral-mfa-factor-list { display:grid; gap:9px; margin:6px 0; }
.vyral-mfa-factor-list article { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:13px; border:1px solid rgba(255,255,255,.1); border-radius:17px; background:rgba(255,255,255,.035); }
.vyral-mfa-factor-list article>span { display:flex; align-items:center; gap:11px; min-width:0; }
.vyral-mfa-factor-list b, .vyral-mfa-factor-list small { display:block; }
.vyral-mfa-factor-list small { margin-top:3px; color:rgba(255,255,255,.48); font-size:11px; }
.vyral-mfa-recovery-link { justify-self:center; margin-top:3px; }
.vyral-mfa-setup { width:min(780px,calc(100vw - 24px)); }
.vyral-mfa-setup-grid { display:grid; grid-template-columns:minmax(220px,290px) minmax(280px,1fr); gap:22px; align-items:center; margin-top:20px; }
.vyral-mfa-qr { display:grid; place-items:center; aspect-ratio:1; padding:18px; border-radius:24px; background:#fff; }
.vyral-mfa-qr img { width:100%; height:100%; object-fit:contain; }
.vyral-mfa-setup-fields { display:grid; gap:15px; }
.vyral-secret { display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; overflow:hidden; margin-top:7px; border:1px solid rgba(255,255,255,.12); border-radius:15px; background:rgba(255,255,255,.055); }
.vyral-secret code { overflow:hidden; padding:14px; color:#fff; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
.vyral-secret button { display:grid; place-items:center; height:100%; color:#fff; background:rgba(255,255,255,.07); }
.vyral-inline-error { min-height:18px; color:#ff9bad; font-size:12px; font-weight:850; }

.vyral-story-composer { width:min(1060px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:auto; border:1px solid rgba(255,255,255,.1); border-radius:28px; color:#fff; background:#0d0f16; box-shadow:0 42px 150px rgba(0,0,0,.7); }
.vyral-story-composer>header { position:sticky; top:0; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 18px; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(13,15,22,.92); backdrop-filter:blur(18px); }
.vyral-story-composer>header>div { display:flex; align-items:center; gap:12px; }
.vyral-story-composer h2 { letter-spacing:-.04em; }
.vyral-story-workspace { display:grid; grid-template-columns:minmax(260px,420px) minmax(300px,1fr); gap:24px; align-items:center; padding:24px; }
.vyral-story-phone { width:min(100%,360px); aspect-ratio:9/16; margin:auto; padding:8px; border:1px solid rgba(255,255,255,.13); border-radius:38px; background:#050608; box-shadow:0 28px 90px rgba(0,0,0,.48); }
.vyral-story-preview { position:relative; display:grid; place-items:center; width:100%; height:100%; overflow:hidden; border-radius:31px; background:linear-gradient(145deg,#ff2d67,#6928ff 58%,#20dfff); }
.vyral-story-preview>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vyral-story-preview-shade, .vyral-story-viewer-shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.12) 55%,rgba(0,0,0,.45)); }
.vyral-story-preview p { position:relative; z-index:2; max-width:86%; color:#fff; font-size:clamp(22px,4vw,36px); font-weight:1000; text-align:center; text-shadow:0 4px 30px rgba(0,0,0,.45); overflow-wrap:anywhere; }
.vyral-story-tools { display:grid; gap:18px; }
.vyral-story-colors { display:flex; gap:10px; margin-top:9px; flex-wrap:wrap; }
.vyral-story-colors button { width:46px; height:46px; border:3px solid rgba(255,255,255,.12); border-radius:15px; background:var(--story-bg); }
.vyral-story-tools small { display:block; margin-top:7px; color:rgba(255,255,255,.48); }
.vyral-story-actions { display:grid; grid-template-columns:1fr 1.4fr; gap:10px; }
.vyral-story-actions .v7-btn { justify-content:center; }
.vyral-story-viewer { position:relative; width:min(430px,calc(100vw - 20px)); height:min(780px,calc(100dvh - 20px)); overflow:hidden; border-radius:30px; color:#fff; background:var(--story-bg); box-shadow:0 40px 150px rgba(0,0,0,.75); }
.vyral-story-viewer>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.vyral-story-viewer>header { position:absolute; z-index:3; inset:0 0 auto; display:flex; align-items:center; gap:9px; padding:20px; }
.vyral-story-viewer>header small { color:rgba(255,255,255,.64); }
.vyral-story-viewer>header .vyral-icon-button { margin-left:auto; }
.vyral-story-avatar { display:grid; place-items:center; width:40px; height:40px; border:2px solid #fff; border-radius:50%; background:linear-gradient(135deg,#ff2d67,#20dfff); font-weight:1000; }
.vyral-story-viewer>main { position:absolute; z-index:3; inset:100px 24px 100px; display:grid; place-items:center; text-align:center; }
.vyral-story-viewer h1 { font-size:clamp(30px,7vw,50px); line-height:1.03; letter-spacing:-.05em; text-shadow:0 5px 28px rgba(0,0,0,.4); }
.vyral-story-viewer>footer { position:absolute; z-index:3; inset:auto 18px 20px; display:flex; align-items:center; gap:9px; }
.vyral-story-viewer>footer>span { display:flex; align-items:center; gap:7px; margin-right:auto; }
.vyral-story-viewer>footer button { display:grid; place-items:center; width:46px; height:46px; border:1px solid rgba(255,255,255,.22); border-radius:50%; color:#fff; background:rgba(0,0,0,.28); backdrop-filter:blur(14px); }

.vyral-plus-page { display:grid; gap:18px; padding-bottom:50px; }
.vyral-plus-hero { padding:clamp(24px,6vw,60px); border:1px solid rgba(255,255,255,.11); border-radius:30px; background:radial-gradient(circle at 85% 10%,rgba(32,216,255,.2),transparent 34%),radial-gradient(circle at 10% 90%,rgba(255,45,103,.22),transparent 38%),#10121a; }
.vyral-plus-mark { display:grid; place-items:center; width:64px; height:64px; margin-bottom:18px; border-radius:22px; color:#fff; background:linear-gradient(135deg,#ff2d67,#9a5cff,#20dfff); }
.vyral-plus-hero h1 { max-width:720px; margin:8px 0 14px; font-size:clamp(42px,8vw,86px); line-height:.94; letter-spacing:-.075em; }
.vyral-plus-hero p { max-width:690px; color:rgba(255,255,255,.66); font-size:16px; line-height:1.7; }
.vyral-plus-hero .v7-btn { margin-top:22px; }
.vyral-plus-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.vyral-plus-grid article { padding:22px; border:1px solid rgba(255,255,255,.1); border-radius:22px; background:rgba(255,255,255,.035); }
.vyral-plus-grid article>svg { color:#b9a0ff; }
.vyral-plus-grid h3 { margin:26px 0 7px; font-size:19px; }
.vyral-plus-grid p, .vyral-plus-note { color:rgba(255,255,255,.55); line-height:1.6; }
.vyral-plus-note { text-align:center; font-size:12px; }

/* Remove the blank white active controls visible in Notifications and other legacy panels. */
.page-section button.primary, .search-field button.primary, #pageContent button.primary { color:#fff !important; background:linear-gradient(110deg,#ff2d67,#ff5e5e) !important; border-color:transparent !important; }
.page-section .grid-3>button.primary, .page-section .grid-2>button.primary { color:#fff !important; }
[data-page-name="inbox"] .grid-3>button:first-child,
[data-page-name="notifications"] .grid-3>button:first-child { color:#fff !important; background:linear-gradient(110deg,#ff2d67,#965cff 58%,#20dfff) !important; border-color:transparent !important; }

@media (max-width:760px) {
  .vyral-account-page { padding:10px 10px 90px; }
  .vyral-account-hero, .vyral-settings-section { border-radius:20px; }
  .vyral-account-hero { padding:17px; }
  .vyral-settings-section { padding:16px; }
  .vyral-settings-grid, .vyral-upload-grid { grid-template-columns:1fr; }
  .vyral-control-wide { grid-column:auto; }
  .vyral-story-workspace { grid-template-columns:1fr; padding:16px; }
  .vyral-story-phone { width:min(76vw,320px); }
  .vyral-story-tools { width:100%; }
  .vyral-plus-grid { grid-template-columns:1fr; }
  .vyral-mfa-setup-grid { grid-template-columns:1fr; }
  .vyral-mfa-qr { width:min(72vw,280px); margin:auto; }
}

@media (max-width:480px) {
  .vyral-account-hero p { display:none; }
  .vyral-account-hero h1 { font-size:26px; }
  .vyral-official-logo[width="58"] { width:48px; height:48px; }
  .vyral-upload-card { grid-template-columns:auto minmax(0,1fr); }
  .vyral-dialog { padding:25px 18px 20px; border-radius:23px; }
  .vyral-dialog-actions, .vyral-story-actions { grid-template-columns:1fr; }
  .vyral-story-composer { width:100%; max-height:100dvh; border-radius:0; }
  .vyral-story-phone { width:min(70vw,280px); }
  .vyral-story-viewer { width:100vw; height:100dvh; border-radius:0; }
  .vyral-mfa-auth { padding:20px 4px; }
  .vyral-mfa-auth h2 { font-size:36px; }
  .vyral-mfa-secondary { align-items:stretch; flex-direction:column; }
  .vyral-mfa-secondary .v7-btn { width:100%; justify-content:center; }
  .vyral-mfa-factor-list article { align-items:stretch; flex-direction:column; }
  .vyral-mfa-factor-list .v7-btn { width:100%; justify-content:center; }
}

/* Account Center refresh: keep Lucide icons crisp and controls compact. */
.vyral-account-page button > svg,
.vyral-account-page a > svg,
.vyral-account-page .vyral-section-icon > svg,
.vyral-account-page .vyral-upload-preview > svg,
.vyral-account-page .vyral-plus-emblem > svg,
.vyral-account-page .vyral-plus-mini-features svg,
.vyral-dialog button > svg,
.vyral-dialog .vyral-dialog-icon > svg,
.vyral-dialog .vyral-warning-list svg,
.vyral-plus-page button > svg,
.vyral-plus-page .vyral-plus-orb > svg,
.vyral-plus-page .vyral-plus-feature-icon > svg,
.vyral-plus-page .vyral-plus-promise > span > svg {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px;
  flex: 0 0 19px;
  stroke-width: 2.15;
}

.vyral-account-page .vyral-section-icon > svg { width:20px !important; height:20px !important; }
.vyral-account-page .vyral-upload-preview > svg { width:24px !important; height:24px !important; }
.vyral-dialog .vyral-dialog-icon > svg { width:28px !important; height:28px !important; }
.vyral-icon-button > svg, .vyral-dialog-close > svg { width:18px !important; height:18px !important; }
.vyral-save-profile { min-height:52px !important; max-height:52px; padding:0 18px !important; overflow:hidden; }
.vyral-save-profile > span { line-height:1; }

.vyral-media-section { overflow:hidden; }
.vyral-upload-copy { min-width:0; }
.vyral-upload-action { min-height:42px; max-height:42px; overflow:hidden; }

.vyral-plus-card {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:26px;
  background:linear-gradient(145deg,#161329,#11111b 52%,#0d1920);
}
.vyral-plus-card-glow { position:absolute; z-index:-1; inset:-80px -65px auto auto; width:230px; height:230px; border-radius:50%; background:radial-gradient(circle,rgba(147,87,255,.35),rgba(24,214,255,.09) 46%,transparent 72%); }
.vyral-plus-card-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.vyral-plus-emblem { display:grid; place-items:center; width:52px; height:52px; border:1px solid rgba(255,255,255,.14); border-radius:18px; color:#fff; background:linear-gradient(135deg,#ff2d67,#8c58ff 58%,#21d9ff); box-shadow:0 16px 44px rgba(117,71,255,.28); }
.vyral-plus-emblem > svg { width:24px !important; height:24px !important; }
.vyral-plus-pill { padding:7px 10px; border:1px solid rgba(197,174,255,.28); border-radius:999px; color:#d8c5ff; background:rgba(151,100,255,.1); font-size:10px; font-weight:950; letter-spacing:.1em; }
.vyral-plus-card h2 { max-width:620px; margin:8px 0 10px; font-size:clamp(28px,5.5vw,48px); line-height:1; letter-spacing:-.055em; }
.vyral-plus-card > p { max-width:650px; color:rgba(255,255,255,.65); font-size:14px; line-height:1.65; }
.vyral-plus-mini-features { display:flex; gap:8px; flex-wrap:wrap; margin:18px 0; }
.vyral-plus-mini-features > span { display:inline-flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid rgba(255,255,255,.1); border-radius:999px; color:rgba(255,255,255,.78); background:rgba(255,255,255,.045); font-size:11px; font-weight:850; }
.vyral-plus-mini-features svg { color:#cab2ff; }
.vyral-plus-explore { width:100%; min-height:52px; justify-content:space-between; border-color:rgba(186,151,255,.32); background:linear-gradient(110deg,rgba(151,85,255,.22),rgba(255,45,103,.13),rgba(28,214,255,.13)); }
.vyral-plus-explore:hover { border-color:rgba(207,188,255,.55); transform:translateY(-1px); }
.vyral-plus-card .vyral-install-entry { margin-top:10px; }

.vyral-plus-page { width:min(100%,1040px); margin:0 auto; padding:16px 16px 64px; }
.vyral-plus-hero { position:relative; isolation:isolate; overflow:hidden; min-height:520px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.vyral-plus-hero::after { content:""; position:absolute; z-index:-1; width:min(56vw,560px); aspect-ratio:1; top:-22%; right:-8%; border-radius:50%; background:radial-gradient(circle at 35% 35%,rgba(255,255,255,.19),rgba(147,82,255,.28) 28%,rgba(27,214,255,.14) 52%,transparent 72%); }
.vyral-plus-orb { display:grid; place-items:center; width:72px; height:72px; margin-bottom:20px; border:1px solid rgba(255,255,255,.16); border-radius:24px; color:#fff; background:linear-gradient(135deg,#ff2d67,#8857ff 55%,#20dfff); box-shadow:0 24px 70px rgba(129,76,255,.32); }
.vyral-plus-orb > svg { width:31px !important; height:31px !important; }
.vyral-plus-price { display:flex; align-items:center; gap:14px; margin-top:20px; }
.vyral-plus-price b { font-size:38px; letter-spacing:-.055em; }
.vyral-plus-price span { color:rgba(255,255,255,.5); font-size:11px; line-height:1.35; }
.vyral-plus-buy { min-height:56px; padding-inline:22px; }
.vyral-plus-availability { margin-top:10px; color:rgba(255,255,255,.42); font-size:10px; }
.vyral-plus-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.vyral-plus-grid article { min-height:220px; display:flex; flex-direction:column; align-items:flex-start; }
.vyral-plus-feature-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; color:#cebaff; background:rgba(157,105,255,.12); }
.vyral-plus-grid h3 { margin:24px 0 7px; }
.vyral-plus-promise { display:grid; grid-template-columns:auto minmax(0,1fr); gap:15px; align-items:start; padding:22px; border:1px solid rgba(50,230,161,.2); border-radius:22px; background:rgba(50,230,161,.06); }
.vyral-plus-promise > span { display:grid; place-items:center; width:46px; height:46px; border-radius:15px; color:#5ce9b5; background:rgba(50,230,161,.1); }
.vyral-plus-promise h2 { margin:1px 0 5px; font-size:20px; }
.vyral-plus-promise p { color:rgba(255,255,255,.58); line-height:1.6; }
.vyral-plus-unavailable .v7-btn { width:100%; margin-top:18px; }

/* These controls receive raw Lucide SVGs, so their dimensions must never inherit
   the legacy 100% icon rule used by old compact buttons. */
.vyral-account-page .v7-btn > svg,
.vyral-account-page .vyral-settings-row > svg,
.vyral-account-page .vyral-settings-row > span > svg,
.vyral-account-page .vyral-settings-row > span > span > svg,
.vyral-dialog .v7-btn > svg,
.vyral-dialog .vyral-warning-list > span > svg {
  width:19px !important;
  height:19px !important;
  max-width:19px !important;
  max-height:19px !important;
}
.vyral-upload-card > .v7-btn { padding-inline:14px; }
.vyral-upload-card > .v7-btn > svg { width:18px !important; height:18px !important; max-width:18px !important; max-height:18px !important; }
.vyral-save-profile > svg { width:20px !important; height:20px !important; max-width:20px !important; max-height:20px !important; }
.vyral-settings-row > span:first-child { flex:1; }
.vyral-settings-row > span:first-child > svg { color:#72e7ff; }
.vyral-settings-row.danger > span:first-child > svg { color:#ff7d93; }

/* Modal placement remains centered on desktop and becomes a clean sheet on phones. */
.modal-overlay.show:has(.vyral-dialog) { display:flex !important; align-items:center; justify-content:center; padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom)); }
.modal-overlay.show:has(.vyral-dialog) > .vyral-dialog { margin:auto; max-height:calc(100dvh - 32px); overflow:auto; }

@media (max-width:760px) {
  .vyral-account-page { gap:10px; padding:8px 8px calc(86px + env(safe-area-inset-bottom)); }
  .vyral-account-hero { padding:15px; }
  .vyral-account-hero h1 { font-size:25px; }
  .vyral-settings-section { padding:15px; }
  .vyral-section-heading { margin-bottom:14px; }
  .vyral-section-heading h2 { font-size:18px; }
  .vyral-settings-grid { gap:10px; }
  .vyral-control input, .vyral-control textarea { min-height:47px; padding:11px 12px; border-radius:14px; }
  .vyral-control textarea { min-height:86px; }
  .vyral-upload-grid { gap:9px; }
  .vyral-upload-card { grid-template-columns:58px minmax(0,1fr) auto; gap:10px; padding:11px; border-radius:17px; }
  .vyral-upload-preview { width:58px; height:58px; border-radius:16px; }
  .vyral-upload-preview.banner { width:58px; height:58px; border-radius:16px; }
  .vyral-upload-card > .v7-btn { grid-column:auto; min-width:44px; width:44px; padding:0 !important; }
  .vyral-upload-card > .v7-btn > span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .vyral-save-profile { margin-top:10px; }
  .vyral-plus-card { padding:20px; }
  .vyral-plus-mini-features { display:grid; grid-template-columns:1fr; }
  .vyral-plus-mini-features > span { border-radius:13px; }
  .vyral-settings-row { min-height:62px; padding:12px; }
  .vyral-settings-row small { line-height:1.35; }
  .vyral-plus-page { padding:10px 10px 86px; }
  .vyral-plus-hero { min-height:auto; padding:26px 20px 30px; border-radius:23px; }
  .vyral-plus-hero h1 { font-size:48px; }
  .vyral-plus-hero::after { width:330px; top:-100px; right:-150px; }
  .vyral-plus-grid { grid-template-columns:1fr; }
  .vyral-plus-grid article { min-height:0; padding:19px; }
}

@media (max-width:480px) {
  .vyral-account-hero .vyral-official-logo { width:44px !important; height:44px !important; }
  .vyral-account-hero > div { gap:11px; }
  .vyral-account-hero h1 { font-size:23px; }
  .vyral-account-hero .v7-kicker { font-size:9px; }
  .vyral-icon-button { width:40px; height:40px; border-radius:13px; }
  .vyral-section-icon { width:40px; height:40px; border-radius:13px; }
  .vyral-dialog { width:100%; max-height:92dvh; padding:24px 18px calc(20px + env(safe-area-inset-bottom)); border-radius:26px 26px 0 0; }
  .modal-overlay.show:has(.vyral-dialog) { align-items:flex-end; padding:0; }
  .modal-overlay.show:has(.vyral-dialog) > .vyral-dialog { margin:auto 0 0; }
  .vyral-dialog h2 { padding-right:34px; font-size:32px; }
  .vyral-dialog-actions { grid-template-columns:1fr; }
  .vyral-dialog-actions .v7-btn { min-height:50px; }
  .vyral-warning-list > span { align-items:flex-start; }
  .vyral-plus-hero h1 { font-size:42px; }
  .vyral-plus-price b { font-size:33px; }
  .vyral-plus-buy { width:100%; }
  .vyral-plus-promise { grid-template-columns:1fr; }
  .vyral-media-section .vyral-upload-grid { grid-template-columns:1fr; }
  .vyral-upload-card { min-height:82px; }
  .vyral-save-profile { position:static; width:100%; border-radius:16px; }
}

/* Unified product shell: Discover, Wallet, Notifications and Story. */
.vyral-dashboard-page,
.vyral-discover-page {
  display:grid;
  gap:14px;
  width:min(100%,1040px);
  margin:0 auto;
  padding:16px 16px calc(88px + env(safe-area-inset-bottom));
  color:#fff;
}

.vyral-dashboard-section {
  padding:20px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(20,22,32,.98),rgba(10,11,17,.98));
  box-shadow:0 22px 70px rgba(0,0,0,.22);
}

.vyral-search-field {
  display:grid;
  grid-template-columns:20px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:64px;
  padding:8px 8px 8px 18px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:21px;
  background:#151720;
}
.vyral-search-field>svg { color:rgba(255,255,255,.46); }
.vyral-search-field input {
  width:100%;
  height:48px;
  padding:0;
  border:0 !important;
  outline:0;
  color:#fff;
  background:transparent !important;
  box-shadow:none !important;
  font:inherit;
}

.vyral-white-button,
.vyral-dark-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  padding:0 18px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  font:inherit;
  font-size:13px;
  font-weight:950;
  line-height:1;
}
.vyral-white-button {
  color:#080a10 !important;
  -webkit-text-fill-color:#080a10 !important;
  background:#fff !important;
  box-shadow:0 12px 32px rgba(0,0,0,.22);
}
.vyral-white-button:hover { background:#eef3f8 !important; transform:translateY(-1px); }
.vyral-dark-button { color:#fff; background:rgba(255,255,255,.055); }
.vyral-dark-button:hover { background:rgba(255,255,255,.09); }

.vyral-destination-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.vyral-destination {
  display:grid;
  grid-template-columns:38px minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-height:62px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:17px;
  color:#fff;
  background:rgba(255,255,255,.035);
  text-align:left;
}
.vyral-destination>svg:first-child {
  width:38px !important;
  height:38px !important;
  padding:9px;
  border-radius:12px;
  color:#35dcff;
  background:rgba(35,219,255,.1);
}
.vyral-destination>svg:last-child { width:17px !important; height:17px !important; color:rgba(255,255,255,.38); }
.vyral-destination span { overflow:hidden; font-size:13px; font-weight:900; text-overflow:ellipsis; white-space:nowrap; }
.vyral-destination:hover { border-color:rgba(35,219,255,.25); background:rgba(35,219,255,.065); transform:translateY(-1px); }
.vyral-trend-chips { display:flex; gap:8px; overflow:auto; padding-bottom:3px; scrollbar-width:none; }
.vyral-trend-chips::-webkit-scrollbar { display:none; }

.vyral-wallet-hero {
  position:relative;
  overflow:hidden;
  padding:clamp(22px,5vw,38px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:28px;
  background:radial-gradient(circle at 88% 20%,rgba(35,219,255,.18),transparent 34%),radial-gradient(circle at 8% 100%,rgba(255,45,103,.2),transparent 38%),#12141d;
}
.vyral-wallet-balance { display:flex; align-items:center; gap:15px; margin:18px 0 7px; }
.vyral-wallet-balance>span {
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(135deg,#ff2d67,#8f58ff 58%,#20dfff);
}
.vyral-wallet-balance small { display:block; color:rgba(255,255,255,.5); font-size:11px; font-weight:850; }
.vyral-wallet-balance h1 { margin:3px 0 0; font-size:clamp(34px,8vw,58px); letter-spacing:-.06em; }
.vyral-wallet-hero>p { color:rgba(255,255,255,.58); }
.vyral-action-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:20px; }
.vyral-transaction-list { display:grid; gap:8px; }
.vyral-transaction-list article {
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  padding:12px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:16px;
  background:rgba(255,255,255,.03);
}
.vyral-transaction-list b,.vyral-transaction-list small { display:block; }
.vyral-transaction-list small { margin-top:3px; color:rgba(255,255,255,.45); }
.vyral-transaction-icon,.vyral-notification-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:14px;
  color:#67e8ff;
  background:rgba(35,219,255,.09);
}
.positive { color:#61e6ad; }
.negative { color:#ff8799; }

.vyral-page-tabs {
  position:sticky;
  z-index:4;
  top:0;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  padding:8px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:19px;
  background:rgba(11,12,18,.86);
  backdrop-filter:blur(18px);
}
.vyral-page-tabs button {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:13px;
  color:rgba(255,255,255,.62);
  background:transparent;
  font-weight:900;
}
.vyral-page-tabs button.active {
  color:#fff;
  background:linear-gradient(110deg,#ff2d67,#8f58ff 58%,#20dfff);
  box-shadow:0 12px 30px rgba(113,65,255,.22);
}
.vyral-notification-list { display:grid; gap:8px; }
.vyral-notification-list>button {
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 18px;
  align-items:center;
  gap:11px;
  width:100%;
  padding:12px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:16px;
  color:#fff;
  background:rgba(255,255,255,.03);
  text-align:left;
}
.vyral-notification-list b,.vyral-notification-list small { display:block; }
.vyral-notification-list small { margin-top:3px; color:rgba(255,255,255,.5); line-height:1.4; }
.vyral-notification-list>button>svg:last-child { color:rgba(255,255,255,.38); }

.vyral-empty-state {
  display:grid;
  place-items:center;
  min-height:230px;
  padding:28px;
  border:1px dashed rgba(255,255,255,.13);
  border-radius:20px;
  color:rgba(255,255,255,.65);
  background:rgba(255,255,255,.025);
  text-align:center;
}
.vyral-empty-state>svg { width:34px !important; height:34px !important; margin-bottom:12px; color:#62e7ff; }
.vyral-empty-state h3 { margin:0 0 5px; color:#fff; }
.vyral-empty-state p { max-width:420px; color:rgba(255,255,255,.5); line-height:1.55; }

/* Never let legacy page specificity turn active controls into white-on-white boxes. */
#pageContent .vyral-white-button {
  color:#080a10 !important;
  -webkit-text-fill-color:#080a10 !important;
  background:#fff !important;
}
#pageContent .vyral-white-button svg { color:#080a10 !important; stroke:#080a10 !important; }
.page button.primary:not(.v7-btn),
.page-section button.primary:not(.v7-btn),
.search-field button.primary:not(.v7-btn),
#pageContent button.primary:not(.v7-btn) {
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  background:linear-gradient(110deg,#ff2d67,#ff5e5e) !important;
}

/* Story is an in-app editor, never a browser prompt or an unstyled native form. */
.modal-overlay.show:has(.vyral-story-composer) {
  display:flex !important;
  align-items:center;
  justify-content:center;
  padding:12px;
  background:rgba(2,3,7,.82);
  backdrop-filter:blur(18px);
}
.vyral-story-composer button>svg,
.vyral-story-composer label>svg,
.vyral-story-viewer button>svg,
.vyral-story-viewer footer svg {
  width:19px !important;
  height:19px !important;
  max-width:19px !important;
  max-height:19px !important;
  flex:0 0 19px;
}
.vyral-story-tools .vyral-control textarea { min-height:120px; }
.vyral-story-tools .v7-btn { min-height:50px; }
.vyral-security-section { border-color:rgba(35,219,255,.18); background:linear-gradient(145deg,rgba(13,27,35,.98),rgba(11,12,19,.98)); }
.vyral-mfa-featured { min-height:74px; border-color:rgba(35,219,255,.18); background:rgba(35,219,255,.055); }

@media (max-width:760px) {
  .vyral-dashboard-page,.vyral-discover-page { gap:10px; padding:8px 8px calc(84px + env(safe-area-inset-bottom)); }
  .vyral-dashboard-section { padding:15px; border-radius:20px; }
  .vyral-search-field { min-height:58px; grid-template-columns:18px minmax(0,1fr) 46px; padding-left:14px; border-radius:18px; }
  .vyral-search-field .vyral-white-button { width:46px; min-width:46px; padding:0; }
  .vyral-search-field .vyral-white-button span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .vyral-destination-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .vyral-wallet-hero { padding:20px; border-radius:22px; }
  .vyral-page-tabs button span { font-size:12px; }
}

@media (max-width:480px) {
  .vyral-destination-grid { grid-template-columns:1fr; }
  .vyral-action-grid { grid-template-columns:1fr; }
  .vyral-page-tabs { gap:5px; padding:6px; }
  .vyral-page-tabs button { min-height:44px; padding:0 6px; }
  .vyral-page-tabs button svg { width:17px !important; height:17px !important; }
  .modal-overlay.show:has(.vyral-story-composer) { align-items:stretch; padding:0; }
  .vyral-story-composer { width:100vw; height:100dvh; max-height:100dvh; border:0; border-radius:0; }
  .vyral-story-composer>header { padding:13px 14px; }
  .vyral-story-workspace { gap:18px; padding:14px 14px calc(28px + env(safe-area-inset-bottom)); }
  .vyral-story-phone { width:min(68vw,270px); border-radius:30px; }
  .vyral-story-preview { border-radius:24px; }
}

/* Production network, moderation and Safety Center. */
.vyral-badges{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;margin:2px 0 8px}
.vyral-badge{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:4px 8px;border:1px solid rgba(255,255,255,.13);border-radius:999px;background:rgba(255,255,255,.07);color:#fff;font-size:11px;font-weight:900;letter-spacing:.02em}
.vyral-badge svg{width:14px!important;height:14px!important;stroke-width:2.4}
.vyral-badge.verified{color:#65eaff;border-color:rgba(35,219,255,.32);background:rgba(35,219,255,.10)}
.vyral-badge.vyral_plus{color:#f2c5ff;border-color:rgba(195,98,255,.34);background:rgba(167,73,255,.12)}
.vyral-badge.staff{color:#ffc3d2;border-color:rgba(255,45,103,.35);background:rgba(255,45,103,.12)}
.vyral-profile-status{position:absolute;z-index:10;top:62px;right:16px;display:flex;align-items:center;gap:8px}
.vyral-owner-menu{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.16);border-radius:15px;background:#181a23;color:#fff}
.vyral-owner-menu svg{width:21px!important;height:21px!important}
.vyral-ban-banner{position:relative;z-index:12;display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid rgba(255,73,92,.48);background:linear-gradient(110deg,#8d1830,#d72d47);color:#fff}
.vyral-ban-banner>svg{width:26px!important;height:26px!important;flex:0 0 26px}
.vyral-ban-banner div{display:grid;gap:2px}.vyral-ban-banner b{font-size:15px}.vyral-ban-banner span{font-size:12px;color:rgba(255,255,255,.84)}
.vyral-remote-profile.is-banned .profile-avatar img,.vyral-remote-profile.is-banned .avatar img{display:none!important}
.vyral-remote-profile.is-banned .profile-avatar,.vyral-remote-profile.is-banned .avatar{filter:grayscale(1);background:#20222a!important;color:#ff7187!important}
.vyral-owner-actions{display:grid;gap:9px;margin-top:18px}.vyral-owner-actions .v7-btn{justify-content:flex-start;min-height:50px}
.vyral-owner-actions .v7-btn svg{width:18px!important;height:18px!important}
.vyral-control{display:grid;gap:8px;margin:14px 0}.vyral-control>span{font-size:12px;font-weight:900;color:rgba(255,255,255,.7)}
.vyral-control textarea,.vyral-control select{width:100%;min-height:52px;padding:14px;border:1px solid rgba(255,255,255,.14);border-radius:15px;background:#1b1d26;color:#fff;font:inherit}.vyral-control textarea{min-height:120px;resize:vertical}
.vyral-safety-hero{margin:16px;padding:clamp(22px,5vw,50px);border:1px solid rgba(35,219,255,.22);border-radius:28px;background:radial-gradient(circle at 92% 12%,rgba(35,219,255,.18),transparent 30%),linear-gradient(135deg,#15101b,#0b1720);overflow:hidden}
.vyral-safety-hero h1{margin:8px 0;font-size:clamp(34px,7vw,70px);letter-spacing:-.065em;line-height:.95}.vyral-safety-hero p{max-width:620px;color:rgba(255,255,255,.63);line-height:1.6}.vyral-safety-hero .v7-btn{margin-top:16px}
.vyral-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.vyral-section-heading h2{margin:4px 0 0}
.vyral-device-list{display:grid;gap:9px}.vyral-device{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px;border:1px solid rgba(255,255,255,.10);border-radius:17px;background:#171922}.vyral-device.revoked{opacity:.48}.vyral-device-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgba(35,219,255,.09);color:#57e7ff}.vyral-device-icon svg{width:21px!important;height:21px!important}.vyral-device div{display:grid;gap:2px;min-width:0}.vyral-device div span,.vyral-device div small{color:rgba(255,255,255,.52);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vyral-safety-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.vyral-safety-card{padding:18px;border:1px solid rgba(255,255,255,.11);border-radius:20px;background:#15171f}.vyral-card-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.07);color:#5de8ff}.vyral-card-icon svg{width:20px!important;height:20px!important}.vyral-safety-card h3{margin:14px 0 10px}.vyral-safety-card p{display:grid;gap:3px;margin:0;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07)}.vyral-safety-card p span{font-size:12px;color:rgba(255,255,255,.52)}
.vyral-comment{display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}.vyral-comment-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#ff2d67,#1fd5f5);font-weight:900}.vyral-comment-avatar img{width:100%;height:100%;object-fit:cover}.vyral-comment p{margin:4px 0;line-height:1.45}.vyral-comment small{color:rgba(255,255,255,.45)}

/* Sound is on by default; no global on/off switch is exposed in the UI. */
[data-action="toggle-sound"],#soundToggle,.sound-toggle,.v7-sound-toggle{display:none!important}

@media(max-width:760px){
  .vyral-profile-status{top:58px;right:10px;max-width:68%}.vyral-badge{font-size:10px;padding:3px 7px}
  .vyral-safety-hero{margin:8px;border-radius:21px;padding:22px 17px}.vyral-safety-hero h1{font-size:42px}
  .vyral-safety-grid{grid-template-columns:1fr}.vyral-device{grid-template-columns:auto minmax(0,1fr)}.vyral-device>.v7-btn{grid-column:1/-1;width:100%}
}

/* Integrity pass: stable feed cards, sponsored surfaces and complete settings. */
.v7-sponsored-card {
  color:#fff;
  background:#090b12;
}
.v7-sponsored-card::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(circle at 74% 24%,rgba(35,219,255,.30),transparent 31%),
    radial-gradient(circle at 18% 78%,rgba(255,45,103,.30),transparent 34%),
    linear-gradient(145deg,#17101d 0%,#0a1520 58%,#05060a 100%);
}
.v7-sponsored-media {
  position:absolute !important;
  inset:0;
  z-index:2 !important;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.36);
}
.v7-sponsored-media svg { width:min(38vw,220px) !important; height:min(38vw,220px) !important; stroke-width:1.15; }
.v7-sponsored-top { top:max(18px,env(safe-area-inset-top)) !important; }
.v7-ad-dots svg,.vyral-ad-option svg { width:21px !important; height:21px !important; flex:0 0 21px; }
.v7-sponsored-info { bottom:max(96px,calc(78px + env(safe-area-inset-bottom))) !important; }

.vyral-theme-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.vyral-theme-choice {
  position:relative;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 20px;
  align-items:center;
  gap:12px;
  min-height:82px;
  padding:14px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:18px;
  color:#fff;
  background:rgba(255,255,255,.035);
  text-align:left;
}
.vyral-theme-choice.active { border-color:rgba(35,219,255,.48); background:rgba(35,219,255,.08); box-shadow:inset 0 0 0 1px rgba(35,219,255,.12); }
.vyral-theme-choice>svg:first-child { width:21px !important; height:21px !important; margin:auto; color:#56e7ff; }
.vyral-theme-choice>svg:last-child { width:18px !important; height:18px !important; color:#58e9b4; }
.vyral-theme-choice b,.vyral-theme-choice small { display:block; }
.vyral-theme-choice small { margin-top:4px; color:rgba(255,255,255,.5); font-size:11px; }

.vyral-preferences { display:grid; gap:9px; }
.vyral-preference-row {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:17px;
  color:#fff;
  background:rgba(255,255,255,.035);
  cursor:pointer;
}
.vyral-preference-row>span:first-child { display:flex; align-items:center; gap:12px; min-width:0; }
.vyral-preference-row>span:first-child>svg { width:20px !important; height:20px !important; flex:0 0 20px; color:#55e6ff; }
.vyral-preference-row b,.vyral-preference-row small { display:block; }
.vyral-preference-row small { margin-top:3px; color:rgba(255,255,255,.5); font-size:11px; line-height:1.4; }
.vyral-preference-row input { position:absolute; opacity:0; pointer-events:none; }
.vyral-toggle-ui { position:relative; flex:0 0 48px; width:48px; height:28px; border:1px solid rgba(255,255,255,.15); border-radius:999px; background:#2a2d37; transition:.2s ease; }
.vyral-toggle-ui::after { content:""; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; box-shadow:0 3px 10px rgba(0,0,0,.35); transition:.2s ease; }
.vyral-preference-row input:checked+.vyral-toggle-ui { border-color:#22d8ff; background:#1596b2; }
.vyral-preference-row input:checked+.vyral-toggle-ui::after { transform:translateX(20px); }
.vyral-preference-row:focus-within { outline:2px solid #22d8ff; outline-offset:2px; }
.vyral-preferences-save { width:100%; justify-content:center; margin-top:12px; }

.vyral-compact-empty { display:flex; align-items:center; gap:12px; padding:15px; border:1px solid rgba(75,231,174,.18); border-radius:17px; color:#fff; background:rgba(75,231,174,.055); }
.vyral-compact-empty>svg { width:22px !important; height:22px !important; color:#58e9b4; }
.vyral-compact-empty b,.vyral-compact-empty small { display:block; }
.vyral-compact-empty small { margin-top:3px; color:rgba(255,255,255,.5); }
.vyral-sanctions-list { display:grid; gap:9px; }
.vyral-sanctions-list article { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:center; gap:12px; padding:13px; border:1px solid rgba(255,255,255,.1); border-radius:17px; background:rgba(255,255,255,.035); }
.vyral-sanction-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:14px; color:#ff8ba0; background:rgba(255,78,110,.1); }
.vyral-sanction-icon svg { width:20px !important; height:20px !important; }
.vyral-sanctions-list b,.vyral-sanctions-list small { display:block; }
.vyral-sanctions-list small,.vyral-sanctions-list time { margin-top:3px; color:rgba(255,255,255,.5); font-size:11px; }

/* Light mode changes app surfaces while video playback stays immersive. */
body.light .vyral-account-page,
body.light .vyral-dashboard-page,
body.light .vyral-discover-page,
body.light .vyral-plus-page { color:#11141b; }
body.light .vyral-settings-section,
body.light .vyral-dashboard-section,
body.light .vyral-plus-grid article,
body.light .vyral-theme-choice,
body.light .vyral-preference-row,
body.light .vyral-sanctions-list article,
body.light .vyral-mfa-factor-list article,
body.light .vyral-settings-row { border-color:rgba(20,25,40,.12); color:#11141b; background:#fff; box-shadow:0 12px 38px rgba(31,41,72,.07); }
body.light .vyral-settings-section p,
body.light .vyral-settings-row small,
body.light .vyral-theme-choice small,
body.light .vyral-preference-row small,
body.light .vyral-sanctions-list small,
body.light .vyral-sanctions-list time,
body.light .vyral-mfa-factor-list small { color:rgba(17,20,27,.58); }
body.light .vyral-control input,
body.light .vyral-control textarea,
body.light .vyral-control select { border-color:rgba(20,25,40,.14); color:#11141b; background:#f4f5f9; }
body.light .vyral-theme-choice.active { border-color:#17b9dc; background:#eafaff; }
body.light .vyral-plus-hero { color:#fff; }

.v6-story-strip { max-width:100%; align-items:flex-start; scroll-snap-type:x proximity; }
.v6-story { flex:0 0 76px; min-width:76px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; scroll-snap-align:start; }
.v6-story-ring { overflow:hidden; }
.v6-story-ring img,.v6-story-ring video { width:100%; height:100%; object-fit:cover; border-radius:inherit; }

@media(max-width:560px){
  .vyral-theme-grid { grid-template-columns:1fr; }
  .vyral-preference-row { min-height:66px; padding:11px 12px; }
  .vyral-sanctions-list article { grid-template-columns:38px minmax(0,1fr); }
  .vyral-sanctions-list time { grid-column:2; }
  .vyral-control input.vyral-mfa-code,.vyral-mfa-code { width:100%; min-width:0; padding-left:.32em; font-size:24px; letter-spacing:.32em; }
  .v7-sponsored-top { left:12px !important; right:12px !important; }
  .v7-sponsored-info { left:14px !important; right:14px !important; }
}

/* Keep the current post stable. New realtime data must never pull the feed
   to a different card while somebody is watching or composing a reply. */
#feed.feed {
  scroll-snap-type:none !important;
  scroll-snap-stop:normal;
  scroll-behavior:auto !important;
  overscroll-behavior-y:contain;
  overflow-anchor:none;
}
#feed > .video-card {
  scroll-snap-stop:normal !important;
  overflow-anchor:none;
}


/* V6.22 locale switcher */
.vyral-language-switcher{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(255,255,255,.12);background:rgba(10,11,16,.75);font-size:12px;font-weight:800}
.vyral-language-switcher select{appearance:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;cursor:pointer;padding-right:3px}
.vyral-language-switcher select option{background:#101119;color:#fff}
@media(max-width:640px){.vyral-language-switcher{padding:6px 8px}.vyral-language-switcher span{display:none}}

/* V6.31.2 — no fullscreen startup splash */
body.vyral-booting{overflow:auto!important}
body.vyral-booting > :not(.vyral-boot){visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.vyral-boot{display:none!important}


/* V6.31.6 — CAPTCHA is never embedded in the normal login/recovery form.
   The Turnstile host lives on the dedicated verification screen and uses
   appearance: interaction-only, so it has no visual footprint unless
   Cloudflare actually needs visitor interaction. */
.vyral-security-panel-v6316 {
  width: min(620px, 100%);
  margin-inline: auto;
}

.vyral-security-panel-v6316 .vyral-turnstile-interaction-only {
  width: min(100%, 420px) !important;
  min-height: 0 !important;
  margin-inline: auto;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 16px;
  background: transparent !important;
  overflow: visible;
}

.vyral-security-panel-v6316 .vyral-turnstile-interaction-only > div,
.vyral-security-panel-v6316 .vyral-turnstile-interaction-only iframe {
  margin-inline: auto !important;
}

.vyral-security-panel-v6316 .v7-turnstile-issue {
  width: 100%;
  display: grid;
  gap: 12px;
  place-items: center;
  padding: 15px;
  border: 1px solid rgba(255,72,102,.30);
  border-radius: 16px;
  background: rgba(255,72,102,.075);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.vyral-security-panel-v6316 .v7-turnstile-issue button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 0 14px;
  background: rgba(255,255,255,.07);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.vyral-security-pulse {
  width: 88px;
  height: 26px;
  margin: 2px auto -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.vyral-security-pulse i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
  animation: vyralSecurityDot 1.05s ease-in-out infinite;
}

.vyral-security-pulse i:nth-child(2) { animation-delay: .14s; }
.vyral-security-pulse i:nth-child(3) { animation-delay: .28s; }

@keyframes vyralSecurityDot {
  0%, 60%, 100% { transform: translateY(0) scale(.85); opacity: .35; }
  30% { transform: translateY(-5px) scale(1); opacity: 1; background: var(--vyral-cyan); }
}
