/* Pinglo Asia section (/asia, /asia/<destination>) — loaded after gcc.css on those pages only (<body data-section="as">).
 * Same system as the GCC / North Africa / Korea pages; the accent is Pinglo's own green (AA on paper and white) in place of
 * the Gulf's sand-gold. The hub's hero shows the interactive map of Asia (js/asia-map.js, in the .hero2-art slot); the
 * destination pages' art is one illustration (images/as-art.svg — scripts/as/gen-art.mjs). */
:root {
  --as-green: #0b7f49;
}

body[data-section="as"] { --i-sun: var(--as-green); --sun-gold: var(--as-green); --gold-text: var(--as-green); }
body[data-section="as"] .eyebrow { color: var(--as-green); }
body[data-section="as"] .prod-card-art::before { background: var(--as-green); }
body[data-section="as"] .hero2 h1 .gold { color: var(--as-green); }

/* destination pages: the illustration, the eSIM card smaller in the lower corner (as Korea's) */
body[data-section="as"] .gcc-pd-art .kr-art-img { position: absolute; left: 50%; top: 2%; height: 96%; width: auto; aspect-ratio: 1; transform: translateX(-50%); }
body[data-section="as"] .gcc-pd-art .esim-card2 { z-index: 2; left: 5%; top: 54%; width: 44%; padding: 4cqw; gap: 2.6cqw; }
body[data-section="as"] .gcc-pd-art .esim-card2 .nm b { font-size: 3.6cqw; }
body[data-section="as"] .gcc-pd-art .esim-card2 .chipx { width: 10cqw; height: 7.6cqw; }

/* the arrivals board lists 14 destinations: a little tighter, with the region chips above it */
body[data-section="as"] .gcc-nets { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.as-regs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.as-regs button { font: inherit; font-size: 14px; font-weight: 700; border: 1.5px solid var(--line-2, #d9d5cb); background: #fff; color: var(--ink, #1d2733); border-radius: 999px; padding: 4px 16px; cursor: pointer; }
.as-regs button[aria-pressed="true"] { background: var(--ink, #1d2733); border-color: var(--ink, #1d2733); color: #fff; }
.as-regs button:focus-visible { outline: 2px solid #0872eb; outline-offset: 2px; }

/* ---- hero: the 15-second Asia film in the .hero2-art slot (muted, looping; poster first) ---- */
body[data-section="as"] .hero2-art.hero-win { max-width: 620px; aspect-ratio: auto; overflow: visible; container-type: normal; }
body[data-section="as"] .hero-win .as-film { position: relative; margin: 0; width: 100%; }
.as-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 26px; background: #f6f5f2; border: 1px solid var(--line, #e6e3dc); box-shadow: 0 30px 60px -38px rgba(20, 60, 120, .45); }
.as-credit { margin-top: 8px; font-size: 11px; line-height: 1.5; color: var(--muted, #6b7686); text-align: center; }
body[data-section="as"] .hero-win .conn-card { display: none; } /* the film shows the connection itself */
body[data-section="as"] .hero-win .qr-card { display: none; }

/* ---- the interactive map of Asia (js/asia-map.js) over the arrivals board ---- */
.as-map { position: relative; max-width: 860px; margin: 0 auto 22px; background: #fff; border: 1px solid var(--line, #e6e3dc); border-radius: 28px; padding: 12px; box-shadow: 0 30px 60px -38px rgba(20, 60, 120, .45); }
.as-mc-top { padding: 4px 4px 10px; }
.as-zc { display: flex; gap: 6px; flex-wrap: wrap; }
.as-zc button { font: inherit; font-size: 13px; font-weight: 700; border: 1.5px solid var(--line-2, #d9d5cb); background: #fff; color: var(--ink, #1d2733); border-radius: 999px; padding: 3px 13px; cursor: pointer; }
.as-zc button[aria-pressed="true"] { background: var(--ink, #1d2733); border-color: var(--ink, #1d2733); color: #fff; }
.as-zc button:focus-visible { outline: 2px solid #0872eb; outline-offset: 2px; }
.as-mapbox { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 920 / 700; background: radial-gradient(circle at 20% 30%, #eaf3ff 0, transparent 55%), radial-gradient(circle at 85% 80%, #e9f8f1 0, transparent 50%), #f4f8fd; }
.as-mapbox::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#cfdcee 1px, transparent 1.2px); background-size: 22px 22px; opacity: .55; pointer-events: none; }
.as-mapbox svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: manipulation; }
.as-land path { fill: #dfe9f6; stroke: #fff; stroke-width: 1; vector-effect: non-scaling-stroke; }
.as-c { cursor: pointer; fill: #b9d6fb; stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: fill .25s; }
.as-c.as-full { fill: #c8eedb; }
.as-c:hover, .as-c.hv { fill: #5aa5f5; }
.as-c.as-full:hover, .as-c.as-full.hv { fill: #5fd09a; }
.as-c.on { fill: #0872eb; }
.as-c.as-full.on { fill: #14b067; }
.as-c:focus-visible { outline: none; stroke: #1d2733; stroke-width: 2.2; }
.as-hit { fill: transparent; cursor: pointer; }
.as-pt { fill: #fff; stroke: #0872eb; stroke-width: 2.4; vector-effect: non-scaling-stroke; pointer-events: none; }
.as-pt.on { fill: #0872eb; stroke: #fff; }
.as-rip { fill: none; stroke: #0872eb; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; vector-effect: non-scaling-stroke; }
.as-rip.on { animation: as-rip 2.4s infinite cubic-bezier(.23, 1, .32, 1); }
@keyframes as-rip { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.as-lbl { font-weight: 800; font-size: 15px; fill: #1d2733; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity .2s; }
.as-lbl.on { opacity: 1; }
.as-arc { fill: none; stroke: #0872eb; stroke-width: 2.4; stroke-dasharray: 7 8; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: as-dash 1.1s linear infinite; opacity: .85; }
@keyframes as-dash { to { stroke-dashoffset: -30; } }
.as-home rect { fill: #1d2733; }
.as-home circle { fill: #0872eb; }
.as-home text { font-weight: 800; font-size: 13px; fill: #fff; }
.as-chip { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; background: #fff; border: 1px solid var(--line, #e6e3dc); border-radius: 14px; padding: 6px 12px; box-shadow: 0 12px 26px -16px rgba(20, 60, 120, .5); font-size: 12.5px; line-height: 1.35; pointer-events: none; }
.as-chip .mono { display: block; font-family: ui-monospace, "IBM Plex Mono", Consolas, monospace; font-size: 11px; color: var(--muted, #6b7686); }
.as-chip b { color: var(--ink, #1d2733); font-size: 15px; }
.as-sel { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 6px 4px; }
.as-tiles { display: flex; gap: 4px; }
.as-tiles i { font-style: normal; font: 600 17px ui-monospace, "IBM Plex Mono", Consolas, monospace; width: 30px; height: 38px; display: grid; place-items: center; background: #ece9e1; border-radius: 7px; color: var(--ink, #1d2733); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .08); }
.as-nm { flex: 1; min-width: 140px; }
.as-nm strong { display: flex; align-items: center; gap: 8px; font-size: 19px; color: var(--ink, #1d2733); line-height: 1.3; }
.as-nm small { color: var(--muted, #6b7686); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .as-rip.on, .as-arc { animation: none; } }
