/* ==========================================================================
   Yemeni Legal Website — Unified Articles & Legal Posts Stylesheet
   File: /assets/css/posts.css
   Covers all 23 pages in /posts/ (replacing 8 inline <style> blocks
   + 3 external CSS files per page with one clean ~16 KB stylesheet).
   ========================================================================== */

/* 1. Local Variable Fonts (Cairo) */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/cairo/cairo-01.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/cairo/cairo-02.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/cairo/cairo-03.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Royal Navy & Gold Design Tokens */
:root {
  --yl-font: "Cairo", Tahoma, Arial, sans-serif;
  --yl-navy-900: #07152f;
  --yl-navy-800: #0b225a;
  --yl-navy-700: #12325f;
  --yl-gold-500: #d6a62f;
  --yl-gold-400: #f3c969;
  --yl-gold-soft: #fff8e8;
  --yl-bg: #f4f7fb;
  --yl-surface: #ffffff;
  --yl-ink: #0f172a;
  --yl-body: #1e293b;
  --yl-muted: #475569;
  --yl-border: #dce4f0;
  --yl-border-gold: rgba(214, 166, 47, 0.48);
  --yl-shadow: 0 8px 24px rgba(7, 21, 47, 0.08);
  --yl-radius: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

html, body {
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-family: var(--yl-font);
  background: var(--yl-bg);
  color: var(--yl-ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a, button, summary { touch-action: manipulation; }
[hidden] { display: none !important; }

:where(a[href], button, input, summary):focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 3px;
}

/* 3. Top Header Bar */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: linear-gradient(135deg, var(--yl-navy-900) 0%, var(--yl-navy-800) 100%);
  border-bottom: 2.5px solid var(--yl-gold-500);
  padding: 0.65rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(7, 21, 47, 0.18);
}

header.topbar .brand,
header.topbar .yl-header-link--site {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.06rem;
  text-decoration: none;
}

header.topbar nav,
header.topbar .main-nav,
header.topbar .yl-header-shortcuts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

header.topbar nav a,
header.topbar .yl-header-shortcuts a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.78rem;
  border-radius: 9px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

header.topbar nav a:hover,
header.topbar .yl-header-shortcuts a:hover,
header.topbar nav a[aria-current="page"] {
  background: rgba(243, 201, 105, 0.18);
  color: var(--yl-gold-400);
}

/* 4. Page Shell & Breadcrumb */
.page-shell,
main.page-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.1rem 1.1rem 2.4rem;
}

nav.breadcrumb,
.yl-post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.55rem 0.95rem;
  border-radius: 12px;
  background: var(--yl-surface);
  border: 1px solid var(--yl-border);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yl-muted);
}

nav.breadcrumb a,
.yl-post-breadcrumb a {
  color: var(--yl-navy-800);
  text-decoration: none;
}

nav.breadcrumb a:hover,
.yl-post-breadcrumb a:hover {
  text-decoration: underline;
}

/* 5. Hero Section */
.hero.yl-site-static-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 1.4rem;
  padding: clamp(1.5rem, 3.2vw, 2.5rem) clamp(1.1rem, 3vw, 2.2rem);
  border-radius: 22px;
  border: 1.5px solid var(--yl-border-gold);
  background: radial-gradient(circle at 12% 0%, rgba(243, 201, 105, 0.16), transparent 36%),
              linear-gradient(135deg, var(--yl-navy-900) 0%, var(--yl-navy-800) 60%, var(--yl-navy-700) 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 14px 36px rgba(7, 21, 47, 0.16);
}

.yl-static-hero__content { max-width: 940px; margin: 0 auto; }

.yl-static-hero__badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  margin: 0 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 105, 0.55);
  background: rgba(243, 201, 105, 0.14);
  color: var(--yl-gold-400);
  font-size: 0.86rem;
  font-weight: 800;
}

.yl-site-static-hero h1 {
  margin: 0 0 0.65rem;
  color: #ffffff;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 900;
  line-height: 1.4;
}

.yl-static-hero__description {
  max-width: 780px;
  margin: 0 auto;
  color: #dbe8ff;
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  font-weight: 600;
  line-height: 1.85;
}

.yl-static-hero__rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.yl-static-hero__whatsapp {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.78rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #087f43, #12a855 50%, #25d366);
  color: #ffffff;
  text-align: right;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.yl-static-hero__whatsapp:hover { transform: translateY(-2px); filter: brightness(1.04); }

.yl-static-hero__whatsapp-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #138841;
  font-size: 1.5rem;
}

.yl-static-hero__notification-dot {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 12px;
  height: 12px;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  background: #ff3b30;
}

.yl-static-hero__whatsapp-copy strong { display: block; font-size: 1.02rem; font-weight: 900; color: #ffffff; }

.yl-static-hero__action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.yl-static-hero__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border-radius: 13px;
  border: 1px solid rgba(243, 201, 105, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

.yl-static-hero__action i { color: var(--yl-gold-400); }
.yl-static-hero__action:hover { transform: translateY(-2px); background: rgba(243, 201, 105, 0.2); }

/* 6. Section Cards & Headings */
.section-card {
  background: var(--yl-surface);
  border: 1px solid var(--yl-border);
  border-radius: 20px;
  padding: 1.4rem;
  margin: 0 0 1.35rem;
  box-shadow: var(--yl-shadow);
}

.section-head {
  margin: 0 0 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(214, 166, 47, 0.3);
}

.section-head h2 {
  margin: 0 0 0.25rem;
  color: var(--yl-navy-900);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 900;
  line-height: 1.45;
}

.section-head p {
  margin: 0;
  color: var(--yl-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

/* 7. Posts Index Cards Grid */
.posts-grid,
.library-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.post-card,
.case-card,
.library-modern-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--yl-radius);
  border: 1.5px solid var(--yl-border-gold);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf4 100%);
  box-shadow: 0 4px 14px rgba(7, 21, 47, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.post-card:hover,
.case-card:hover,
.library-modern-card:hover {
  transform: translateY(-3px);
  border-color: var(--yl-gold-500);
  box-shadow: 0 12px 26px rgba(7, 21, 47, 0.12);
}

.library-modern-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.75rem;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--yl-navy-900), var(--yl-navy-800));
  border: 1.5px solid var(--yl-gold-500);
  color: var(--yl-gold-400);
  font-size: 1.2rem;
}

.case-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.55rem;
  border-radius: 999px;
  background: var(--yl-gold-soft);
  border: 1px solid var(--yl-border-gold);
  color: #7c4d05;
  font-size: 0.78rem;
  font-weight: 800;
}

.post-card h2,
.post-card h3,
.case-card h3,
.library-modern-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--yl-navy-900);
  line-height: 1.5;
}

.case-title-link,
.library-title-link {
  color: var(--yl-navy-900);
  text-decoration: none;
}

.post-card p,
.case-card p,
.library-modern-card p {
  margin: 0 0 0.85rem;
  color: var(--yl-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.action-btn,
.library-card-action,
.posts-index-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border-radius: 11px;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: auto;
  background: linear-gradient(135deg, var(--yl-navy-900) 0%, var(--yl-navy-800) 100%);
  color: var(--yl-gold-400);
  border: 1.5px solid var(--yl-gold-500);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.action-btn:hover,
.library-card-action:hover,
.posts-index-primary-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* 8. Editorial Legal Article / Research Paper Typography */
.research-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.research-paper {
  background: #ffffff;
  border: 1.5px solid var(--yl-border-gold);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  box-shadow: 0 8px 26px rgba(7, 21, 47, 0.07);
  color: var(--yl-body);
  font-size: 1.02rem;
  line-height: 2.05;
}

.research-heading {
  margin: 1.4rem 0 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(214, 166, 47, 0.35);
  color: var(--yl-navy-900);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.5;
}

.research-subheading {
  margin: 1.15rem 0 0.5rem;
  color: var(--yl-navy-800);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.55;
}

.research-label,
.info-label {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--yl-gold-soft);
  border: 1px solid var(--yl-border-gold);
  color: #7c4d05;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.research-line {
  margin: 0 0 0.85rem;
  color: var(--yl-body);
}

.research-listlike {
  margin: 0 0 0.65rem;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--yl-gold-500);
  color: var(--yl-body);
}

.research-spacer {
  height: 0.75rem;
}

.research-note,
.post-note,
.info-box {
  margin: 1.1rem 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--yl-gold-soft);
  border: 1px solid var(--yl-border-gold);
  border-inline-start: 4px solid var(--yl-gold-500);
  color: #1e293b;
  font-size: 0.94rem;
  line-height: 1.85;
}

.research-author-card {
  margin-top: 1.5rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid var(--yl-border);
  color: var(--yl-muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.research-author-card strong { color: var(--yl-navy-900); }
.research-author-card a { color: var(--yl-navy-800); font-weight: 800; }

/* 9. FAQ & Internal Links */
.claim-faq-list,
.faq-box {
  display: grid;
  gap: 0.75rem;
}

.claim-faq-item,
.faq-box details {
  border: 1px solid var(--yl-border);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
  background: #f8fafc;
}

.claim-faq-item summary,
.faq-box summary,
.claim-faq-item h3 {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: var(--yl-navy-900);
  cursor: pointer;
}

.claim-faq-answer {
  margin: 0;
  color: var(--yl-muted);
  font-size: 0.93rem;
  line-height: 1.8;
}

.seo-internal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(195px, 100%), 1fr));
  gap: 0.65rem;
}

.seo-internal-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: var(--yl-navy-900);
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
}

.seo-internal-link:hover {
  background: var(--yl-gold-soft);
  border-color: var(--yl-gold-500);
}

/* 10. Unified Royal Navy & Gold Footer */
footer.site-footer {
  background: linear-gradient(180deg, var(--yl-navy-800) 0%, var(--yl-navy-900) 100%);
  color: #e2e8f0;
  border-top: 3px solid var(--yl-gold-500);
  padding: 1.7rem 1rem 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.88rem;
}

footer.site-footer p { margin: 0 0 0.85rem; color: #e2e8f0; }

footer.site-footer .yl-institutional-owner {
  max-width: 820px;
  margin: 0 auto 1.1rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(243, 201, 105, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  line-height: 1.8;
}

footer.site-footer .yl-institutional-owner strong { display: block; color: var(--yl-gold-400); font-size: 1rem; }
footer.site-footer .yl-institutional-owner span { display: block; color: #e2e8f0; }
footer.site-footer .yl-institutional-owner small { display: block; color: #cbd5e1; }
footer.site-footer .yl-institutional-owner a { color: #ffffff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

footer.site-footer .yl-trust-footer-links {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.9rem;
}

footer.site-footer .yl-trust-footer-links a { color: #cbd5e1; font-size: 0.84rem; text-decoration: none; white-space: nowrap; }
footer.site-footer .yl-trust-footer-links a:hover { color: var(--yl-gold-400); text-decoration: underline; }

/* 11. Floating Share & Toast */
.yl-floating-share-wrap {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 20px;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
}

.yl-floating-share-btn {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.34);
}

.yl-floating-share-facebook { background: #1877f2; }
.yl-floating-share-btn svg { width: 25px; height: 25px; fill: currentColor; }

.yl-floating-share-toast {
  position: fixed;
  inset-inline-end: 16px;
  bottom: 150px;
  z-index: 99999;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.yl-floating-share-toast.show { opacity: 1; transform: translateY(0); }

/* 12. Responsive Breakpoints */
@media (max-width: 960px) {
  .posts-grid, .library-modern-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .page-shell, main.page-shell { padding: 0.75rem 0.7rem 2rem; }
  .section-card, .research-paper { padding: 1.05rem; border-radius: 16px; }
  .yl-static-hero__action-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts-grid, .library-modern-grid { grid-template-columns: 1fr; gap: 0.85rem; }
}

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

@media print {
  header.topbar,
  .yl-floating-share-wrap,
  .yl-floating-share-toast,
  ins.adsbygoogle { display: none !important; }
  body { background: #ffffff; }
  .research-paper { border: 0; box-shadow: none; padding: 0; }
}
/* ===== Floating Share & Facebook Buttons (Restored Pixel-Exact) ===== */
.yl-floating-share-wrap {
  position: fixed;
  inset-inline-end: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 99998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction: rtl;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
}
.yl-floating-share-btn {
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.34);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.yl-floating-share-btn.yl-floating-share-facebook,
.yl-floating-share-facebook {
  background: #1877f2;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(24, 119, 242, 0.34);
}
.yl-floating-share-btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.06);
  color: #ffffff;
}
.yl-floating-share-btn:active {
  transform: translateY(0) scale(0.98);
}
.yl-floating-share-btn:focus-visible {
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}
.yl-floating-share-btn svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
  color: #ffffff;
  flex-shrink: 0;
}
.yl-floating-share-toast {
  position: fixed;
  inset-inline-end: 18px;
  bottom: 156px;
  z-index: 99999;
  max-width: min(310px, calc(100vw - 36px));
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.yl-floating-share-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .yl-floating-share-wrap {
    inset-inline-end: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  .yl-floating-share-btn {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }
  .yl-floating-share-btn svg {
    width: 24px;
    height: 24px;
  }
}
