/* ==========================================================================
   MOBILE / TABLET LAYER  ·  Shenghuang lighting
   Loaded after css/site.css. Desktop layout stays untouched: everything here
   lives inside max-width media queries.

   Brand language kept identical to desktop:
     navy #07101e · panel #0d1a30 · red #ee1b25 · cyan #38c8ff
     thin 1px borders, 6–10px radii, uppercase headings + red dash.

   Layout is written with logical properties (inline-start / inline-end) so the
   Arabic RTL build mirrors automatically.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1 · BASE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 62px; -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }
  .container { width: min(calc(100% - 32px), var(--max)); }

  /* keep iOS from zooming into form fields */
  input, select, textarea, button { font-size: 16px; }

  /* comfortable tap feedback, no sticky :hover on touch */
  @media (hover: none) {
    a:active, button:active, .category-card:active, .pl-card:active { opacity: .82; }
  }
}

/* --------------------------------------------------------------------------
   2 · HEADER + DRAWER
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .site-header { box-shadow: 0 6px 22px rgba(0, 0, 0, .38); }
  .header-inner { height: 58px; gap: 10px; }
  .brand-logo { width: 140px; }
  .menu-toggle { width: 38px; height: 38px; border-radius: 6px; }
  .header-actions { margin-inline-start: auto; }

  /* full-height drawer instead of a floating panel */
  .main-nav {
    position: fixed;
    inset-block-start: 58px;
    inset-inline: 0;
    max-height: calc(100dvh - 58px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px 20px calc(26px + env(safe-area-inset-bottom));
    background: #08111f;
    border-block-end: 1px solid var(--line);
    box-shadow: 0 26px 46px rgba(0, 0, 0, .55);
    gap: 0;
  }
  .nav-link {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 2px;
    border-block-end: 1px solid var(--line);
  }
  .nav-link.active { color: #fff; }
  .nav-link.active::after { display: none; }
  /* red marker on the current page */
  .nav-link.active::before {
    content: ''; display: inline-block; width: 3px; height: 14px;
    background: var(--red); border-radius: 2px;
    margin-inline-end: 9px; vertical-align: -2px;
  }
  .nav-has-drop { padding-block-end: 6px; }
  .nav-drop-toggle { inset-inline-end: 0; inset-inline-start: auto; top: 10px; font-size: 13px; padding: 10px; }
  .nav-dropdown { background: rgba(13, 26, 48, .75); border-radius: 6px; padding: 4px; }
  .nav-dropdown a { font-size: 13px; padding: 11px 12px; }
}

/* --------------------------------------------------------------------------
   3 · HERO
   Desktop keeps photo-right / copy-left. On phones the product shot becomes a
   full-width banner (whole headlight visible, never cropped in half) and the
   copy flows underneath on the dark background — same reading order as desktop.
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero { background: #050b16; }

  /* photo keeps its native 2080×1056 ratio, so nothing gets cut */
  .hero-photo {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 2080 / 1056;
    object-fit: cover;
    object-position: center;
    /* fade the photo's own bottom edge so it melts into the copy block */
    -webkit-mask-image: linear-gradient(180deg, #000 74%, rgba(0, 0, 0, .62) 93%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 74%, rgba(0, 0, 0, .62) 93%, transparent 100%);
  }
  /* scrim only over the photo + its fade into the copy below */
  .hero::before {
    inset: 0 0 auto 0;
    height: calc(50.77vw + 56px);
    background: linear-gradient(180deg,
      rgba(5, 11, 22, .48) 0%,
      rgba(5, 11, 22, .08) 40%,
      rgba(7, 16, 30, .55) 70%,
      #07101e 96%);
  }

  .hero-inner { min-height: 0; display: block; padding-block-start: 50.77vw; }
  .hero-copy { padding: 20px 0 26px; max-width: none; }
  .hero-copy h1 { font-size: clamp(26px, 4.2vw, 38px); line-height: 1.12; }
  .hero-copy h2 { font-size: 14.5px; margin-top: 12px; line-height: 1.4; }
  .red-rule { margin: 13px 0 11px; }
  .hero-copy p { font-size: 12.5px; line-height: 1.65; max-width: none; }
  .hero-buttons { margin-top: 18px; gap: 9px; }
  .hero-buttons .btn { padding: 12px 18px; }

  /* stats: one compact strip, three even cells */
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 13px 6px; text-align: center;
    border: 0; border-inline-end: 1px solid var(--line);
  }
  .stat-item:last-child { border-inline-end: 0; }
  .stat-item svg { width: 20px; height: 20px; }
  .stat-item strong { font-size: 10.5px; line-height: 1.3; max-width: none; }
}

@media (max-width: 620px) {
  .hero-copy { padding: 16px 0 22px; }
  .hero-copy h1 { letter-spacing: -.01em; }
  .hero-copy h2 { font-size: 13px; margin-top: 9px; }
  .hero-copy p { font-size: 12px; }
  .hero-buttons { margin-top: 15px; gap: 8px; }
  .hero-buttons .btn { flex: 1 1 0; min-width: 0; padding: 12px 8px; font-size: 12.5px; }

  .stat-item { padding: 11px 4px; gap: 5px; }
  .stat-item svg { width: 18px; height: 18px; }
  .stat-item strong { font-size: 9.5px; letter-spacing: .01em; }
}

/* --------------------------------------------------------------------------
   4 · SECTION RHYTHM
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .section { padding: 36px 0; }
  .section-categories { padding: 30px 0 24px; }
  .section-products { padding-top: 22px; }
  .section-heading { margin-bottom: 20px; }
  .section-heading h2 { font-size: 22px; line-height: 1.2; }
  .section-heading p { font-size: 12px; line-height: 1.6; }
  .section-heading .red-dash { margin: 8px auto 9px; }
}
@media (max-width: 620px) {
  .section { padding: 28px 0; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2 { font-size: 19px; letter-spacing: 0; }
  .section-heading p { font-size: 11.5px; }
  .section-heading .red-dash { width: 20px; }
}

/* --------------------------------------------------------------------------
   5 · CATEGORY CARDS — 2-up compact tiles
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card { display: flex; flex-direction: column; }
  .category-img { height: 140px; }
  .category-body { flex: 1; display: flex; flex-direction: column; padding: 12px 12px 14px; text-align: start; }
  .category-body .link-btn { margin-top: auto; align-self: flex-start; }
  .category-body h3 { font-size: 13px; line-height: 1.35; }
  .category-body p { font-size: 11px; min-height: 0; margin-top: 5px; }
}
@media (max-width: 620px) {
  .category-grid { gap: 10px; }
  .category-img { height: 106px; }
  .category-body { padding: 9px 10px 11px; }
  .category-body h3 {
    font-size: 11.5px; line-height: 1.35; min-height: 31px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .category-body p { display: none; }
  .link-btn { margin-top: 7px; font-size: 10.5px; }
  .link-btn span { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   6 · FEATURED PRODUCTS — swipeable, snap-aligned carousel
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .product-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    padding-block: 2px 8px;
    margin-inline: -16px;
    padding-inline: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product-grid .product-card {
    flex: 0 0 74%;
    scroll-snap-align: start;
    border-radius: 10px;
  }
  .product-card img { height: auto; }
}
@media (max-width: 620px) {
  .product-grid { gap: 10px; margin-inline: -14px; padding-inline: 14px; scroll-padding-inline: 14px; }
  .product-grid .product-card { flex: 0 0 78%; }
}

/* --------------------------------------------------------------------------
   7 · MOBILE-ONLY FEATURE SECTIONS (replace the wide artwork banners)
   -------------------------------------------------------------------------- */
.m-sec { display: none; }

@media (max-width: 900px) {
  .section-banner { display: none; }
  .m-sec { display: block; background: var(--bg); }
  .m-sec.m-tech { background: linear-gradient(180deg, var(--bg), #081321); padding-block-end: 34px; }
  .m-sec.m-apps { background: #081321; }
  .m-sec.m-global { background: linear-gradient(180deg, #081321, #060f1c); }

  .m-head { margin-bottom: 16px; }
  .m-eyebrow {
    display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--red); margin-bottom: 7px;
  }
  .m-head h2 { font-size: 20px; line-height: 1.2; font-weight: 800; color: #fff; }
  .m-head p { margin-top: 8px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }

  .m-strip {
    margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px;
    overflow: hidden; background: #050d19;
  }
  .m-strip img { width: 100%; height: 150px; object-fit: cover; }

  .m-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .m-feat {
    display: flex; flex-direction: column; gap: 6px;
    padding: 13px 12px 14px;
    background: linear-gradient(180deg, #10203c, #0c1930);
    border: 1px solid var(--line); border-radius: 8px;
  }
  .m-feat:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 12px; }
  .m-feat-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .m-feat-ico { color: var(--cyan); display: inline-flex; }
  .m-feat-ico svg { width: 22px; height: 22px; }
  .m-feat b { font-size: 11.5px; font-weight: 700; color: #eaf1ff; line-height: 1.3; }
  .m-feat span.m-sub { font-size: 10.5px; color: #93a6c6; line-height: 1.4; }

  .m-list { display: grid; gap: 9px; }
  .m-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 13px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
  }
  .m-li-ico {
    flex: 0 0 34px; width: 34px; height: 34px; border-radius: 7px;
    display: grid; place-items: center;
    background: rgba(238, 27, 37, .13); border: 1px solid rgba(238, 27, 37, .32);
    color: #ff5460;
  }
  .m-li-ico svg { width: 18px; height: 18px; }
  .m-list div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
  .m-list b { font-size: 12px; font-weight: 700; color: #eaf1ff; line-height: 1.35; }
  .m-list span { font-size: 10.5px; color: #93a6c6; line-height: 1.45; }

  /* global markets */
  .m-markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .m-market {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 13px 6px; border-radius: 8px; text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(56, 200, 255, .13), transparent 70%), var(--panel);
    border: 1px solid var(--line);
  }
  .m-market svg { width: 17px; height: 17px; color: #ff5460; }
  .m-market b { font-size: 10.5px; font-weight: 700; color: #e6eeff; line-height: 1.25; }
  .m-global-copy {
    font-size: 11.5px; line-height: 1.75; color: var(--muted);
    border-inline-start: 2px solid var(--red); padding-inline-start: 12px;
  }
  .m-global .btn { margin-top: 16px; width: 100%; padding: 13px; font-size: 13px; }
}

@media (max-width: 620px) {
  .m-strip img { height: 132px; }
  .m-feat { padding: 11px 10px 12px; }
  .m-feat b { font-size: 11px; }
  .m-feat span.m-sub { font-size: 10px; }
  .m-list li { padding: 11px; gap: 10px; }
  .m-list b { font-size: 11.5px; }
  .m-list span { font-size: 10px; }
}

/* --------------------------------------------------------------------------
   8 · MANUFACTURING — 2×2 tiles with caption burned into the photo
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .factory-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .factory-card { position: relative; border-radius: 8px; }
  .factory-card img { height: 124px; }
  .factory-card figcaption {
    position: absolute; inset-inline: 0; inset-block-end: 0;
    justify-content: flex-start; gap: 6px;
    padding: 20px 9px 8px;
    font-size: 10.5px; font-weight: 600;
    background: linear-gradient(180deg, transparent, rgba(3, 9, 18, .94));
    border-top: 0;
  }
  .factory-card figcaption svg { width: 13px; height: 13px; }
}
@media (max-width: 620px) {
  .factory-card img { height: 108px; }
  .factory-card figcaption { font-size: 10px; padding: 18px 8px 7px; }
}

/* --------------------------------------------------------------------------
   9 · WHY CHOOSE — icon-left rows, 2-up
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .why-card {
    flex-direction: row; align-items: center; justify-content: flex-start;
    gap: 11px; min-height: 66px; padding: 13px 12px; text-align: start;
  }
  .why-card svg { width: 23px; height: 23px; flex: 0 0 23px; }
  .why-card h3 { font-size: 11.5px; line-height: 1.3; }
  /* the odd fifth tile becomes a full-width banner */
  .why-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 58px; }
}
@media (max-width: 620px) {
  .why-grid { gap: 8px; }
  .why-card { min-height: 60px; padding: 11px 10px; gap: 9px; }
  .why-card svg { width: 20px; height: 20px; flex: 0 0 20px; }
  .why-card h3 { font-size: 10.5px; }
}

/* --------------------------------------------------------------------------
   10 · CONTACT — short photo banner + full-width form
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .section-contact { padding: 26px 0 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 14px; }
  .contact-intro { min-height: 0; height: 210px; border-radius: 10px; }
  .contact-overlay { padding: 18px; }
  .contact-overlay h2 { font-size: 22px; line-height: 1.15; }
  .contact-overlay p { font-size: 12px; margin-top: 8px; }
  .contact-form { padding: 18px 16px; border-radius: 10px; }

  /* contact page: map + details, then QR codes + form */
  .contact-map-section { padding: 22px 0 16px; }
  .contact-info-layout { grid-template-columns: 1fr; gap: 13px; }
  .map-frame { min-height: 250px; }
  .map-fallback svg { width: 30px; height: 30px; }
  .map-fallback strong { font-size: 12.5px; }
  .map-fallback span, .map-fallback a { font-size: 11px; }
  .contact-info-card { padding: 17px 16px; }
  .contact-info-card h2 { font-size: 17px; margin-bottom: 8px; }
  .ci-row { padding: 8px 0; }
  .ci-row span:last-child { font-size: 11.5px; }
  .contact-info-card .btn { margin-top: 14px; height: 44px; }

  .contact-form-section { padding: 16px 0 30px; }
  .contact-bottom-layout { grid-template-columns: 1fr; gap: 13px; }
  .contact-qr-panel { padding: 18px 16px; }
  .contact-qr-panel h2 { font-size: 19px; }
  .contact-qr-panel p { font-size: 11.5px; }
  .qr-grid { margin-top: 15px; gap: 11px; }

  .form-row { grid-template-columns: 1fr; gap: 10px; }
  .contact-form label { font-size: 11.5px; gap: 6px; }
  .contact-form input, .contact-form select { height: 46px; padding: 11px 12px; }
  .contact-form textarea { min-height: 100px; padding: 11px 12px; }
  .contact-submit { width: 100%; height: 48px; font-size: 13.5px; margin-top: 4px; }
}
@media (max-width: 620px) {
  .contact-intro { height: 186px; }
  .contact-overlay h2 { font-size: 20px; }
  .map-frame { min-height: 210px; }
  .contact-info-card h2 { font-size: 16px; }
  .qr-grid { gap: 9px; }
  .qr-card { padding: 9px; }
  .qr-img { padding: 5px; }
  .qr-card figcaption { font-size: 10.5px; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   11 · FOOTER — brand on top, two link columns, contact card, bottom bar
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 30px 0 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-logo { width: 158px; margin-bottom: 12px; }
  .footer-brand p { font-size: 11.5px; line-height: 1.75; max-width: none; }
  .footer-col { border: 0; padding: 0; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h4 { font-size: 12.5px; margin-bottom: 10px; letter-spacing: .04em; }
  .footer-col a { font-size: 11.5px; padding: 4px 0; line-height: 1.5; }
  .footer-info { font-size: 11.5px; }
  .footer-contact { margin-top: 4px; }
  .footer-bottom { font-size: 10.5px; padding: 14px 0 calc(18px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
  .footer-main { gap: 20px 16px; }
  .footer-logo { width: 144px; }
  .footer-brand p { font-size: 11px; }
  .footer-col a { font-size: 11px; }
  .fc-item { grid-template-columns: 62px auto; gap: 8px; }
  .fc-k { font-size: 10.5px; }
  .fc-v { font-size: 11px; }

  /* room for the sticky action bar */
  .footer-bottom { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   12 · STICKY ACTION BAR (phones only) — Call / WhatsApp / Inquiry
   -------------------------------------------------------------------------- */
.m-bar { display: none; }

@media (max-width: 620px) {
  /* the two floating circles are replaced by the bar */
  .wa-float, .back-to-top { display: none !important; }

  .m-bar {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    /* 高于托管平台注入的底部挂件（EdgeOne 免费版 #edgeone-watermark z-index:9999） */
    z-index: 10001;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr;
    gap: 6px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    background: rgba(6, 14, 27, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-block-start: 1px solid var(--line);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, .42);
  }
  .m-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-height: 44px; padding: 5px 4px;
    border-radius: 8px; font-size: 9.5px; font-weight: 600;
    color: #c7d6ee; background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(130, 175, 235, .14);
    transition: transform .15s, background .15s;
  }
  .m-bar a:active { transform: scale(.97); }
  .m-bar a svg { width: 19px; height: 19px; }
  .m-bar .m-wa { color: #4ade80; background: rgba(37, 211, 102, .10); border-color: rgba(37, 211, 102, .30); }
  .m-bar .m-inq {
    flex-direction: row; gap: 7px;
    background: var(--red); border-color: var(--red); color: #fff;
    font-size: 12px; font-weight: 700;
    box-shadow: 0 4px 16px rgba(238, 27, 37, .34);
  }
  .m-bar .m-inq svg { width: 16px; height: 16px; }
}

/* --------------------------------------------------------------------------
   13 · INNER PAGES — page hero, product grids, detail, about
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .page-hero { padding: 30px 0 26px; }
  .page-hero h1 { font-size: 27px; }
  .page-hero p { font-size: 12px; margin-top: 9px; }
  .crumb { font-size: 10.5px; margin-bottom: 8px; }

  /* filters scroll horizontally instead of wrapping into five rows */
  .filter-bar {
    flex-wrap: nowrap; overflow-x: auto; gap: 7px;
    margin-inline: -16px; padding: 0 16px 6px; margin-bottom: 16px;
    scrollbar-width: none;
  }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; padding: 8px 14px; font-size: 11.5px; }

  .product-list-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .pl-card .pl-img { height: 130px; }
  .pl-body { padding: 11px 11px 13px; gap: 6px; }
  .pl-body h3 { font-size: 12.5px; line-height: 1.35; }
  .pl-body p { font-size: 10.5px; line-height: 1.45; }
  .pl-body .pl-cat { font-size: 9px; }
  .pl-body .pl-more { font-size: 10.5px; padding: 6px 11px; }

  .detail-layout { grid-template-columns: 1fr; gap: 16px; }
  .detail-img { padding: 14px; }
  .detail-info h2 { font-size: 22px; }
  .detail-info p { font-size: 12.5px; }
  .detail-features { grid-template-columns: 1fr 1fr; gap: 7px; }
  .detail-features span { font-size: 11px; padding: 8px 9px; }
  .detail-actions { gap: 8px; }
  .detail-actions .btn { flex: 1 1 0; font-size: 12.5px; padding: 12px 10px; }

  .info-cards { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .info-card { padding: 18px 14px; }
  .info-card .big { font-size: 26px; }
  .why-text-grid { grid-template-columns: 1fr; gap: 11px; }
  .why-text-item { padding: 16px; }
}

/* applications page: swap the unreadable wide banner + duplicate cards for the list */
@media (max-width: 900px) {
  [data-page="applications"] .section.banner-only,
  [data-page="applications"] .section.info-only { display: none; }
  /* odd last info card spans the row instead of leaving a hole */
  .info-cards .info-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* manufacturing page repeated its page-hero H1 in a section heading */
  [data-page="manufacturing"] .section-heading { display: none; }
}

@media (max-width: 620px) {
  .pl-card .pl-img { height: 112px; }
  .pl-body p { display: none; }
  .pl-body h3 { font-size: 11.5px; }
  .info-cards { grid-template-columns: 1fr 1fr; gap: 9px; }
  .info-card { padding: 15px 10px; }
  .info-card h3 { font-size: 12px; }
  .info-card p { font-size: 10.5px; }
}

/* --------------------------------------------------------------------------
   14 · RTL CLEANUP for the new components
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  html[dir="rtl"] .hero-copy { text-align: start; }
  html[dir="rtl"] .hero-buttons { justify-content: flex-start; }
  html[dir="rtl"] .stat-item { border-right: 0; border-left: 0; border-inline-end: 1px solid var(--line); }
  html[dir="rtl"] .stat-item:last-child { border-left: 0; border-inline-end: 0; }
  html[dir="rtl"] .footer-col { border-right: 0; padding-right: 0; }
  html[dir="rtl"] .m-list li,
  html[dir="rtl"] .m-feat,
  html[dir="rtl"] .m-head { text-align: right; }
  html[dir="rtl"] .m-bar { direction: rtl; }
}

/* --------------------------------------------------------------------------
   15 · HOST PLATFORM INJECTED BOTTOM WIDGET
   EdgeOne Pages 免费版会在页面底部注入 #edgeone-watermark（fixed / z-index 9999），
   会压住本站的底部操作条与页脚内容。本站的联系入口层级已提到 10001（见 site.css /
   第 12 节）；这里再为被注入挂件占掉的底部空间留出余量。
   -------------------------------------------------------------------------- */
html.has-host-widget body { padding-bottom: 96px; }
html.has-host-widget .wa-float { bottom: 118px; }
