/* Lịch Việt v16.52 r11 — Countdown landing: iOS safe areas + compact mobile rhythm.
   Intentionally scoped to the standalone landing: the primary App Shell is untouched.
   Loaded after holiday-landing-v1652r7.css and all countdown theme overrides. */
body.hl-landing {
  padding-inline-start:env(safe-area-inset-left,0px);
  padding-inline-end:env(safe-area-inset-right,0px);
}
body.hl-landing .hl-share-short { display:none; }
body.hl-landing .hl-container {
  padding-top:calc(12px + env(safe-area-inset-top,0px));
  padding-bottom:calc(26px + env(safe-area-inset-bottom,0px));
}
@media (max-width:600px) {
  /* A restored/scrolled iOS webview must not tuck the header behind the status bar. */
  body.hl-landing .hl-topbar {
    position:sticky;
    top:calc(8px + env(safe-area-inset-top,0px));
    z-index:20;
    margin-bottom:12px;
  }
  body.hl-landing .hl-hero {
    min-height:0;
    padding:clamp(20px,5.2vw,28px) clamp(14px,4vw,22px);
    border-radius:22px;
  }
  body.hl-landing .hl-symbol { margin-top:9px; }
  body.hl-landing .hl-season { margin:7px 0 5px; }
  body.hl-landing .hl-hero h1 { line-height:1.2; }
  body.hl-landing .hl-subtitle { margin-top:9px; }
  body.hl-landing .hl-event-date { margin-top:12px; }
  body.hl-landing .hl-counter { margin-top:21px;gap:7px; }
  body.hl-landing .hl-digit { padding:12px 2px 10px; }
  body.hl-landing .hl-live-status { margin-top:10px; }
  body.hl-landing .hl-quote { margin:23px auto 21px; }
  body.hl-landing .hl-quote p { line-height:1.5; }
  body.hl-landing .hl-actions { gap:8px; }
  body.hl-landing .hl-share-long { display:none; }
  body.hl-landing .hl-share-short { display:inline; }
  body.hl-landing .hl-after { margin-top:12px; }
}
@media(max-width:380px) {
  body.hl-landing .hl-hero { padding:21px 12px; }
  body.hl-landing .hl-counter { gap:6px; }
}
@media(prefers-reduced-motion:reduce) {
  body.hl-landing .hl-topbar { scroll-behavior:auto; }
}
