:root,
html[data-theme="dark"],
body.theme-dark {
  --navy: #07111f;
  --navy-2: #0c1a2e;
  --ink: #e8eef8;
  --muted: #93a4bd;
  --cyan: #00a8ff;
  --gold: #ffc400;
  --red: #e11d2e;
  --card: rgba(12, 26, 46, 0.72);
  --line: rgba(0, 168, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --urdu: "Noto Nastaliq Urdu", "Noto Sans Arabic", serif;
  --page-bg: #07111f;
  --nav-bg: rgba(7, 17, 31, 0.72);
}

html[data-theme="light"],
body.theme-light {
  --navy: #f3f6fb;
  --navy-2: #ffffff;
  --ink: #122033;
  --muted: #5b6b82;
  --cyan: #0077c8;
  --gold: #c58a00;
  --red: #c62828;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(18, 32, 51, 0.12);
  --shadow: 0 18px 50px rgba(18, 32, 51, 0.12);
  --page-bg: #eef3f9;
  --nav-bg: rgba(243, 246, 251, 0.88);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  font-family: var(--font);
  /* Solid fallbacks first — Meta/Facebook in-app WebViews can fail CSS variables */
  background-color: #07111f;
  background-color: var(--page-bg, var(--navy));
  color: #e8eef8;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body.theme-light {
  background-color: #eef3f9;
  color: #122033;
}

body.theme-light::before {
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(0, 119, 200, 0.12), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(197, 138, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #f3f6fb 0%, #e8eef6 40%, #f3f6fb 100%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(0, 168, 255, 0.18), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(255, 196, 0, 0.08), transparent 50%),
    linear-gradient(180deg, #07111f 0%, #091525 40%, #07111f 100%);
  z-index: 0;
}

header.nav,
main.wrap,
.ms-hero,
footer,
.site-toast-host {
  position: relative;
  z-index: 1;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 17, 31, 0.72);
  background: var(--nav-bg, rgba(7, 17, 31, 0.72));
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
}

.site-prefs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: auto;
  flex-shrink: 0;
  max-width: 100%;
}

.site-prefs__form {
  margin: 0;
}

.site-prefs__btn {
  border: 1px solid var(--line);
  background: rgba(0, 168, 255, 0.08);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.site-prefs__btn:hover {
  border-color: rgba(0, 168, 255, 0.45);
}

.time-ago {
  display: inline-block;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: 0;
  flex: 1;
}

.brand span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-short {
  display: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.brand.brand-mkb img {
  border-radius: 12px;
  border-color: rgba(0, 168, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 196, 0, 0.25);
}

.subbrand-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 168, 255, 0.35);
  box-shadow: var(--shadow);
}

.brand small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(0, 168, 255, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.btn-cyan {
  background: linear-gradient(180deg, #33bbff, var(--cyan));
  color: #041018;
  box-shadow: 0 10px 30px rgba(0, 168, 255, 0.28);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
  padding: 56px 0 28px;
}

.kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

h1,
h2 {
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 58ch;
}

.urdu {
  font-family: var(--urdu);
  font-size: 1.25rem;
  color: #d7e6ff;
  direction: rtl;
  margin: 16px 0 0;
}

.hero-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.hero-card img.cover {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-card .badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(7, 17, 31, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(12px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 36px 0;
  max-width: 100%;
}

.piece {
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .piece {
    overflow-x: hidden;
  }
}

.pillars span,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #cfe8ff;
  font-size: 13px;
  font-weight: 700;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 196, 0, 0.08);
  border: 1px solid rgba(255, 196, 0, 0.25);
  color: #ffe9a8;
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(12, 26, 46, 0.8);
  color: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.shorts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 150px));
  gap: 12px;
  margin-top: 18px;
  align-items: start;
  justify-content: start;
}

.short-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
}

.short-card iframe {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  display: block;
  background: #000;
}

.short-card .cap {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 860px) {
  .hero,
  .grid-2,
  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card img.cover {
    min-height: 320px;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    gap: 8px;
    padding: 10px 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .nav-cta {
    padding: 8px 12px;
    font-size: 12px;
    box-shadow: none;
  }

  .btn-full {
    display: none;
  }

  .btn-short {
    display: inline;
  }

  .shorts {
    grid-template-columns: repeat(2, minmax(0, 140px));
    gap: 10px;
  }
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #cfe8ff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: rgba(7, 17, 31, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

.contact-form .errors {
  margin: 0;
  padding-left: 18px;
  color: #ffb4b8;
}

.flash {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0, 168, 255, 0.12);
  border: 1px solid var(--line);
  color: #cfe8ff;
  font-weight: 700;
}

.piece .body {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  direction: rtl;
  text-align: right;
  font-family: var(--urdu);
}

.piece .article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
  font-family: var(--urdu);
}

.piece .article-body h1,
.piece .article-body h2,
.piece .article-body h3,
.piece h1 {
  font-weight: 700;
  color: var(--ink);
  font-family: var(--urdu);
  text-align: right;
  direction: rtl;
}

.piece .article-body h2,
.piece .article-body h3 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: right;
}

.piece .article-body h2:first-child,
.piece .article-body h3:first-child {
  margin-top: 0;
}

.piece .article-body p {
  margin: 0 0 0.95rem;
  color: var(--muted);
  text-align: right;
  direction: rtl;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.piece h1 {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.piece .article-body p:last-child {
  margin-bottom: 0;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
  width: 100%;
  max-width: 100%;
}

.post-layout__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.post-layout__main .cover {
  border-radius: 20px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
  height: auto;
}

.post-layout__main .card {
  margin: 0;
}

.post-share {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.post-share__label {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.post-share__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.post-share__btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 168, 255, 0.08);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.post-share__btn:hover {
  border-color: rgba(0, 168, 255, 0.55);
  transform: translateY(-1px);
}

.post-share__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.post-share__link-row {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 100%;
  min-width: 0;
}

.post-share__input {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.65);
  color: var(--muted);
  padding: 10px 12px;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-share__copied {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 700;
}

.post-comments {
  position: sticky;
  top: 84px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(12, 26, 46, 0.72);
  max-height: calc(100vh - 110px);
  overflow: auto;
}

.post-comments__title {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.post-comments__form {
  position: relative;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  overflow: hidden;
}

.post-comments__form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.post-comments__form input,
.post-comments__form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.65);
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.post-comments__form input:focus,
.post-comments__form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.15);
}

/* Clip honeypot in place — NEVER use left:-9999px (blows out RTL/Meta WebView width).
   Class renamed from .post-comments__hp so stale CDN/browser caches cannot re-apply old rules. */
.post-comments__trap {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  white-space: nowrap !important;
}

/* Legacy class: neutralize any cached stylesheet still shipping left:-9999px */
.post-comments__hp {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.post-comments__list {
  display: grid;
  gap: 12px;
}

.post-comments__item {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 168, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.post-comments__item strong {
  display: block;
  font-size: 0.92rem;
}

.post-comments__item time {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 2px 0 8px;
}

.post-comments__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.post-comments__empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.flash--error {
  background: rgba(225, 29, 46, 0.14);
  color: #ffb4b8;
}

.related-news {
  margin-top: 28px;
}

.related-news__title {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

[lang="ur"] .related-news__title,
[lang="ur"] .related-news__card strong,
[lang="ur"] .post-comments__title {
  direction: rtl;
  font-family: var(--urdu);
}

.related-news__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

.related-news__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related-news__card:hover {
  border-color: rgba(0, 168, 255, 0.45);
  transform: translateY(-2px);
}

.related-news__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(0, 168, 255, 0.08);
  overflow: hidden;
}

.related-news__thumb img,
.related-news__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-news__placeholder {
  background:
    linear-gradient(135deg, rgba(0, 168, 255, 0.18), transparent 60%),
    rgba(12, 26, 46, 0.9);
}

.related-news__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px 12px;
}

.related-news__meta {
  font-size: 0.72rem;
  color: var(--muted);
}

.related-news__card strong {
  font-size: 0.88rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.post-meta-row__sep {
  opacity: 0.5;
}

.post-reactions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1rem 0 1.25rem;
}

.post-reactions__label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-reactions__row {
  display: flex;
  gap: 0.5rem;
}

.post-reactions__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.04);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
}

.post-reactions__btn--like {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.35);
}

.post-reactions__btn--like:hover {
  border-color: rgba(37, 99, 235, 0.65);
  background: rgba(37, 99, 235, 0.1);
}

.post-reactions__btn--like.is-active {
  border-color: rgba(37, 99, 235, 0.85);
  background: rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
}

.post-reactions__btn--dislike {
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.35);
}

.post-reactions__btn--dislike:hover {
  border-color: rgba(220, 38, 38, 0.65);
  background: rgba(220, 38, 38, 0.1);
}

.post-reactions__btn--dislike.is-active {
  border-color: rgba(220, 38, 38, 0.85);
  background: rgba(220, 38, 38, 0.14);
  color: #b91c1c;
}

.post-reactions__icon {
  font-size: 1rem;
  line-height: 1;
}

.post-reactions__icon--like {
  filter: sepia(1) saturate(8) hue-rotate(190deg) brightness(0.95);
}

.post-reactions__icon--dislike {
  filter: sepia(1) saturate(10) hue-rotate(-25deg) brightness(0.95);
}

.post-reactions__btn.is-active {
  /* per-button active styles above */
}

.post-engage {
  margin: 0.75rem 0 1rem;
}

.post-summary {
  margin: 0 0 1rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-inline-start: 4px solid rgba(34, 211, 238, 0.85);
  border-radius: 0.55rem;
  background: rgba(255,255,255,0.03);
}

.post-summary__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #9aa4b2);
}

.post-summary__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.read-progress {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 3px;
  background: rgba(255,255,255,0.06);
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.read-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #22d3ee, #67e8f9);
}

.next-story-chip {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 40;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.7rem 0.95rem;
  border-radius: 0.65rem;
  background: rgba(7, 17, 31, 0.94);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #e8eef7;
  text-decoration: none;
  font-size: 0.86rem;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.next-story-chip__kicker {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #67e8f9;
  opacity: 0.9;
}

.next-story-chip:hover {
  border-color: rgba(34, 211, 238, 0.7);
}

.read-also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin: 1rem 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-inline-start: 3px solid rgba(34, 211, 238, 0.55);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 0 10px 10px 0;
}

[dir="rtl"] .read-also,
[lang="ur"] .read-also {
  border-inline-start: none;
  border-inline-end: 3px solid rgba(34, 211, 238, 0.55);
  border-radius: 10px 0 0 10px;
}

.read-also__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #67e8f9;
}

.read-also__link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.35;
}

.read-also__link:hover {
  color: #67e8f9;
}

.continue-reading {
  margin: 1.75rem 0 1.25rem;
  padding: 1.25rem 1.1rem 1.35rem;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background:
    linear-gradient(160deg, rgba(34, 211, 238, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.continue-reading__head {
  margin-bottom: 1rem;
}

.continue-reading__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

.continue-reading__lead {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.78;
  line-height: 1.45;
}

[lang="ur"] .continue-reading__title,
[lang="ur"] .continue-reading__lead,
[lang="ur"] .continue-reading__next-title,
[lang="ur"] .continue-reading__copy strong {
  direction: rtl;
  font-family: var(--urdu);
}

.continue-reading__next {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(7, 17, 31, 0.55);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.continue-reading__next:hover {
  border-color: rgba(34, 211, 238, 0.75);
  transform: translateY(-1px);
}

.continue-reading__next-label {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #67e8f9;
}

.continue-reading__next-title {
  font-size: 1.08rem;
  line-height: 1.35;
}

.continue-reading__next-cta {
  font-size: 0.88rem;
  font-weight: 600;
  color: #67e8f9;
}

.continue-reading__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 1rem;
}

.continue-reading__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.continue-reading__card:hover {
  border-color: rgba(0, 168, 255, 0.45);
  transform: translateY(-2px);
}

.continue-reading__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.continue-reading__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.continue-reading__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(255, 255, 255, 0.04));
}

.continue-reading__copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.7rem 0.75rem;
}

.continue-reading__meta {
  font-size: 0.72rem;
  opacity: 0.65;
}

.continue-reading__copy strong {
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 600;
}

.continue-reading__hub {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #67e8f9;
  text-decoration: none;
}

.continue-reading__hub:hover {
  text-decoration: underline;
}

.follow-embeds {
  margin: 1.5rem 0 0.75rem;
  padding: 1.2rem 1.1rem 1.3rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.follow-embeds__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.follow-embeds__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  opacity: 0.78;
  line-height: 1.45;
}

.follow-embeds__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}

.follow-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  min-height: 6.5rem;
}

.follow-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
}

.follow-card--facebook {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 0.65rem;
}

.follow-card__embed {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.follow-card__fallback {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #67e8f9;
  text-decoration: none;
}

.follow-card__brand {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}

.follow-card__name {
  font-size: 1rem;
  line-height: 1.3;
}

.follow-card__cta {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 800;
  color: #67e8f9;
}

.cookie-notice {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: rgba(7, 17, 31, 0.96);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.cookie-notice p {
  margin: 0;
  flex: 1 1 14rem;
  font-size: 0.9rem;
  color: var(--muted, #9aa4b2);
}

.cookie-notice a {
  color: #67e8f9;
}

.cookie-notice__btn {
  flex: 0 0 auto;
}

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

.adsense-slot {
  margin: 1rem 0 1.25rem;
  min-height: 0;
}

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

  .post-comments {
    position: static;
    max-height: none;
  }
}

@media (min-width: 861px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }
}

.legal {
  padding-top: 28px;
  padding-bottom: 48px;
  max-width: 820px;
}

.legal-card {
  margin-top: 22px;
}

.legal-body {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  direction: ltr;
  font-family: var(--sans, "Plus Jakarta Sans", system-ui, sans-serif);
  text-align: left;
}

.legal-body h2 {
  margin: 1.6rem 0 0.55rem;
  color: var(--text, #f4f7fb);
  font-size: 1.15rem;
}

.legal-body ul {
  margin: 0.4rem 0 0.8rem 1.2rem;
  padding: 0;
}

.legal-body li {
  margin-bottom: 0.35rem;
}

.legal-body a {
  color: var(--cyan, #00a8ff);
}

.legal-related {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 420px) {
  .nav-cta {
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* —— Mehran Ki Baat news home —— */
.news-masthead {
  padding: 28px 0 8px;
  text-align: center;
}

.news-masthead__brand {
  margin: 6px 0 8px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
}

.news-masthead__tag {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.news-lead {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin: 18px 0 8px;
  width: 100%;
  max-width: 100%;
}

.news-lead__feature {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 26, 46, 0.65);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-lead__feature:hover {
  border-color: rgba(0, 168, 255, 0.5);
  transform: translateY(-2px);
}

.news-lead__feature img,
.news-lead__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-lead__placeholder {
  background:
    linear-gradient(135deg, rgba(0, 168, 255, 0.2), transparent 55%),
    rgba(7, 17, 31, 0.9);
}

.news-lead__copy {
  padding: 18px 20px 20px;
  direction: rtl;
  font-family: var(--urdu);
}

.news-lead__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.news-lead__copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.45;
}

.news-lead__copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.news-lead__meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.news-lead__empty {
  padding: 28px;
  border-radius: 20px;
  border: 1px dashed var(--line);
  direction: rtl;
  font-family: var(--urdu);
}

.news-lead__side {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(12, 26, 46, 0.55);
}

.news-lead__side h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  direction: rtl;
  font-family: var(--urdu);
}

.news-lead__side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.news-lead__side a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.news-lead__side a img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.news-lead__side strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  direction: rtl;
  font-family: var(--urdu);
}

.news-lead__side small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.news-section-title {
  margin: 0 0 14px;
  direction: rtl;
  font-family: var(--urdu);
  font-size: 1.35rem;
}

.news-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
}

.news-section-head .news-section-title {
  margin: 0;
}

.news-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.news-filter-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.news-filter-tab:hover {
  color: var(--ink);
  border-color: var(--cyan);
}

.news-filter-tab.is-active {
  color: #041018;
  background: linear-gradient(180deg, #33bbff, var(--cyan));
  border-color: transparent;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.news-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.news-tile:hover {
  border-color: rgba(0, 168, 255, 0.45);
  transform: translateY(-2px);
}

.news-tile__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(0, 168, 255, 0.08);
  overflow: hidden;
}

.news-tile__media img,
.news-tile__ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-tile__ph {
  background: linear-gradient(135deg, rgba(0, 168, 255, 0.16), transparent 60%);
}

.news-tile__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  direction: rtl;
  font-family: var(--urdu);
}

.news-tile__body strong {
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-tile__body small {
  color: var(--muted);
  font-size: 0.75rem;
}

.news-tile__label {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan, #7dd3fc);
  opacity: 0.9;
}

.news-follow {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(12, 26, 46, 0.6);
  text-align: center;
}

html[dir="rtl"] .news-lead__copy,
html[dir="rtl"] .news-lead__side h3,
html[dir="rtl"] .news-lead__side strong,
html[dir="rtl"] .news-section-title,
html[dir="rtl"] .news-tile__body,
html[dir="rtl"] .news-masthead__tag,
html[dir="rtl"] .piece .body {
  direction: rtl;
  font-family: var(--urdu);
}

html[dir="ltr"] .news-lead__copy,
html[dir="ltr"] .news-lead__side h3,
html[dir="ltr"] .news-lead__side strong,
html[dir="ltr"] .news-section-title,
html[dir="ltr"] .news-tile__body,
html[dir="ltr"] .news-masthead__tag {
  direction: ltr;
  font-family: var(--font);
}

/* Urdu article body stays RTL even when the UI language is English. */
html[dir="ltr"] .piece .body.article-body,
html[dir="ltr"] .piece .article-body,
html[dir="ltr"] .piece .article-body h1,
html[dir="ltr"] .piece .article-body h2,
html[dir="ltr"] .piece .article-body h3,
html[dir="ltr"] .piece .article-body p,
html[dir="ltr"] .piece h1 {
  direction: rtl;
  text-align: right;
  font-family: var(--urdu);
}

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

  /* Long Urdu titles — smaller on phones; desktop clamp stays as-is */
  .piece h1 {
    font-size: clamp(1.28rem, 4.8vw, 1.65rem);
    line-height: 1.42;
    letter-spacing: -0.01em;
  }

  .news-lead__copy h2 {
    font-size: clamp(1.12rem, 4.4vw, 1.4rem);
    line-height: 1.4;
  }

  .news-tile__body strong {
    font-size: 0.88rem;
    line-height: 1.4;
  }
}

@media (min-width: 861px) {
  .news-lead {
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  }
}

/* —— Main site professional landing —— */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 168, 255, 0.08);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.nav-cta-mobile {
  display: none !important;
}

.ms-hero {
  position: relative;
  /* Outside .wrap — avoid 100vw + calc(50%-50vw) (blank screen in Meta in-app browsers + RTL) */
  width: 100%;
  max-width: 100%;
  margin: 0;
  min-height: 70vh;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}

.ms-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.ms-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.05) contrast(1.05);
}

.ms-hero__veil {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.72) 42%, rgba(7, 17, 31, 0.35) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.88) 0%, transparent 45%);
}

html[data-theme="light"] .ms-hero__veil,
body.theme-light .ms-hero__veil {
  background:
    linear-gradient(90deg, rgba(243, 246, 251, 0.94) 0%, rgba(243, 246, 251, 0.78) 45%, rgba(243, 246, 251, 0.28) 100%),
    linear-gradient(0deg, rgba(238, 243, 249, 0.9) 0%, transparent 50%);
}

.ms-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 56px;
}

.ms-eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.ms-brand {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 14ch;
}

.ms-lead {
  margin: 0 0 24px;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
}

.ms-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ms-section {
  padding-top: 56px;
  padding-bottom: 12px;
}

.ms-roles,
.ms-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ms-role,
.ms-work__card,
.ms-contact,
.ms-media-door {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px;
}

.ms-role h3,
.ms-work__card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.ms-role__org {
  margin: 0 0 10px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
}

.ms-role p:last-child,
.ms-work__card p {
  margin: 0;
  color: var(--muted);
}

.ms-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
}

.ms-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0, 168, 255, 0.08);
}

.ms-highlights {
  margin: 22px 0 0;
  padding-inline-start: 1.2rem;
  color: var(--muted);
}

.ms-highlights li {
  margin-bottom: 8px;
}

.ms-media-door {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.ms-media-door__logo {
  width: 100%;
  max-width: 110px;
  height: auto;
}

.ms-contact {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    order: 2;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .nav-cta-mobile {
    display: inline-flex !important;
    width: fit-content;
  }

  .nav-inner {
    position: relative;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    z-index: 40;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .ms-hero {
    min-height: 78vh;
  }

  .ms-hero__copy {
    padding: 48px 0 36px;
    width: min(100%, calc(100% - 28px));
  }

  .ms-brand {
    max-width: none;
  }

  .ms-roles,
  .ms-work {
    grid-template-columns: 1fr;
  }

  .ms-media-door {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ms-media-door__logo {
    margin: 0 auto;
  }

  .shorts {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .contact-form .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .ms-hero {
    min-height: 70vh;
  }

  .ms-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.site-toast-host {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 22rem;
  width: calc(100% - 2rem);
  pointer-events: none;
}

html[dir="rtl"] .site-toast-host {
  right: auto;
  left: 1rem;
}

.site-toast {
  pointer-events: auto;
  padding: 0.9rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast--success {
  border-color: rgba(0, 168, 255, 0.45);
  box-shadow: 0 12px 32px rgba(0, 168, 255, 0.18);
}

.site-toast--error {
  border-color: rgba(255, 100, 110, 0.45);
  color: #ffb4b8;
}

