/* Jasa Air 1.1.0 (2026-11-18, Claude) · route-poster look (user picked direction C).
   Family with Jasa Hotels and JEX: same system type stack, button shapes, motion rhythm (--ease), the "J" mark
   (Air = tail fin with a J cut out) and the big italic word at the foot of the page.
   Air's own character: paper background, huge type, thin route lines, split-flap letters only for flight number,
   gate and status. System fonts only, no external requests. */
:root {
  --bg: #f6f4ef;
  --bg2: #ece9e1;
  --card: #fffdf9;
  --ink: #0c1724;
  --muted: #55657a;
  --line: #dcd8ce;
  --sky: #0284c7;
  --sky-bright: #38bdf8;
  --sky-soft: rgba(2, 132, 199, 0.10);
  --dest: #b45309;
  --jex: #4d7c0f;
  --gold: #b45309;
  --ok: #15803d;
  --bad: #b91c1c;
  --flap: #152235;
  --flap-fg: #eaf3fb;
  --flap-edge: #0a121e;
  --shadow: 0 1px 0 rgba(12, 23, 36, .04), 0 24px 50px -34px rgba(8, 17, 29, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0f1113;
  --bg2: #17191c;
  --card: #141619;
  --ink: #e9ecef;
  --muted: #a0a7b0;
  --line: #272a2e;
  --sky: #38bdf8;
  --sky-bright: #7dd3fc;
  --sky-soft: rgba(56, 189, 248, 0.14);
  --dest: #f59e0b;
  --jex: #d4ff3a;
  --gold: #fbbf24;
  --ok: #4ade80;
  --bad: #f87171;
  --flap: #1b2b42;
  --shadow: none;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.ic.sm { width: 15px; height: 15px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; width: 100%; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }
h1, h2, h3 { letter-spacing: -.015em; text-wrap: balance; }
main.enter > * { animation: pageIn .55s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 86%, transparent); box-shadow: 0 1px 0 var(--line); }
.top-in { max-width: 1180px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 560px) { .top-in { padding: 0 12px; height: 58px; } }
.brand-link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.air-mark svg { width: 32px; height: 32px; display: block; }
.air-word { display: inline-flex; align-items: baseline; gap: 5px; font-weight: 900; font-style: italic; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.air-word i { font-style: inherit; color: var(--sky); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { text-decoration: none; padding: 8px 13px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--sky-soft); }
.nav-links a.on { color: var(--ink); font-weight: 700; }
.top-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { height: 36px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--ink); }
.mob-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .mob-toggle { display: inline-flex; }
  .hide-sm { display: none !important; }
}
@media (max-width: 420px) { .top-tools .icon-btn .lbl { display: none; } .icon-btn { padding: 0 9px; } }
.mnav { display: none; border-bottom: 1px solid var(--line); background: var(--card); padding: 12px 16px; gap: 4px; }
.mnav.open { display: grid; }
.mnav a { padding: 11px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.mnav a.on { background: var(--sky-soft); color: var(--sky); }

/* ---------- buttons, pills, inputs, cards ---------- */
.btn { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), filter .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .48; pointer-events: none; }
.btn.sm { height: 35px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 50px; padding: 0 24px; font-size: 15.5px; }
.btn.primary { background: var(--sky); color: #fff; box-shadow: 0 10px 24px -14px rgba(2, 132, 199, .9); }
html[data-theme="dark"] .btn.primary { color: #08111d; }
.btn.primary:hover { filter: brightness(1.07); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.jex { background: #0a0f1a; color: #d4ff3a; }
.btn.danger { background: color-mix(in srgb, var(--bad) 12%, var(--card)); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 32%, var(--line)); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--bg2); color: var(--muted); }
.pill.sky { background: var(--sky-soft); color: var(--sky); }
.pill.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.pill.warn { background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }
.pill.bad { background: color-mix(in srgb, var(--bad) 15%, transparent); color: var(--bad); }
.pill.jex { background: rgba(212, 255, 58, .2); color: var(--ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .card { padding: 16px; border-radius: 16px; } }
.field { display: grid; gap: 5px; min-width: 0; }
.field > span { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.input, select.input { height: 46px; width: 100%; min-width: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); padding: 0 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
.input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-soft); }
input[type="range"] { accent-color: var(--sky); }

/* ---------- split-flap letters (flight number, gate, status only) ---------- */
.flaps { --fs: 15px; display: inline-flex; gap: 2px; font: 700 var(--fs)/1 var(--mono); vertical-align: middle; }
.flap { position: relative; display: inline-grid; place-items: center; min-width: .82em; height: 1.36em; padding: 0 .08em; background: var(--flap); color: var(--flap-fg); border-radius: .14em; overflow: hidden; box-shadow: inset 0 -1px 0 var(--flap-edge); }
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--flap-edge); opacity: .9; }
.flap.f { animation: flip .09s linear; }
@keyframes flip { 0% { transform: scaleY(1); } 50% { transform: scaleY(.15); } 100% { transform: scaleY(1); } }
.flaps.light .flap { background: var(--bg2); color: var(--ink); box-shadow: inset 0 -1px 0 var(--line); }
.flaps.light .flap::after { background: var(--line); }
.flaps.st-ok .flap { color: #4ade80; }
.flaps.st-bd .flap { color: #7dd3fc; }
.flaps.st-dl .flap { color: #fbbf24; }
.flaps.st-gone .flap { color: #94a3b8; }

/* ---------- home: the route poster ---------- */
.poster { padding: 34px 0 10px; }
.poster-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; align-items: center; }
@media (max-width: 900px) { .poster-in { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.kicker { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.poster-type { font-weight: 900; letter-spacing: -.045em; line-height: .9; font-size: clamp(54px, 7.2vw, 118px); margin: 14px 0 0; display: flex; align-items: baseline; gap: .12em; flex-wrap: nowrap; white-space: nowrap; font-style: italic; }
.poster-in > div:first-child { position: relative; z-index: 1; }
.poster-type .arrow { color: var(--sky); font-weight: 300; font-style: normal; }
.dest { display: inline-block; height: .9em; overflow: hidden; vertical-align: bottom; }
.dest > span { display: block; transition: transform .7s var(--ease); }
.dest i { display: block; font-style: inherit; height: .9em; color: var(--dest); }
.poster-city { margin: 10px 0 0; font-size: clamp(16px, 1.8vw, 21px); font-weight: 600; min-height: 1.6em; transition: opacity .4s; }
.poster-city small { color: var(--muted); font-weight: 400; }
.poster-sub { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0; font: 700 12px var(--mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.poster .lede { color: var(--muted); max-width: 34em; margin: 16px 0 0; }
.map { width: 100%; height: auto; display: block; overflow: visible; }
.map .land { fill: var(--line); }
.map .spoke { fill: none; stroke: var(--sky); stroke-width: 1.2; opacity: .5; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: opacity .25s, stroke-width .25s; }
.map.on .spoke { animation: draw 1.6s var(--ease) forwards; animation-delay: var(--d); }
.map .spoke.hot { opacity: 1; stroke-width: 2.2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map .apt { fill: var(--ink); }
.map .hub { fill: var(--dest); }
.map text { font: 600 10px var(--mono); fill: var(--muted); }
.map g.dst { cursor: pointer; }
.map g.dst:hover text, .map g.dst.hot text { fill: var(--ink); font-weight: 800; }
.map .jet { fill: var(--sky); }
.map .jet-halo { fill: var(--sky); opacity: .25; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-out infinite; }
@keyframes halo { from { transform: scale(1); opacity: .35; } to { transform: scale(3.2); opacity: 0; } }

.search-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: 0 30px 60px -40px rgba(2, 40, 80, .45); margin: 22px 0 8px; }
.trip-tabs { display: inline-flex; gap: 4px; background: var(--bg2); padding: 4px; border-radius: 999px; margin-bottom: 12px; }
.trip-tabs button { height: 32px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.trip-tabs button.on { background: var(--ink); color: var(--bg); }
.s-row { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr) auto; gap: 8px; align-items: end; }
.s-row .swap { height: 46px; width: 40px; padding: 0; }
@media (max-width: 1060px) { .s-row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .s-row .s-date, .s-row .s-ret { grid-column: span 1; } .s-row .s-go { grid-column: 1 / -1; } }
@media (max-width: 600px) { .s-row { grid-template-columns: 1fr 1fr; } .s-row .s-from, .s-row .s-to { grid-column: 1 / -1; } .s-row .swap { display: none; } .s-row .s-pax { grid-column: 1 / -1; } }
.s-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; display: flex; gap: 6px; align-items: center; }

.board { background: #0b1422; color: #eaf3fb; border-radius: 20px; padding: 18px 18px 12px; box-shadow: inset 0 0 0 1px #1d2c40; }
html[data-theme="dark"] .board { background: #070e18; }
.board-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.board-head b { font-weight: 900; font-style: italic; letter-spacing: .01em; font-size: 18px; }
.board-head .clock { font: 700 16px var(--mono); color: #7dd3fc; }
.board-scroll { overflow-x: auto; }
.brd { width: 100%; border-collapse: separate; border-spacing: 0 6px; min-width: 560px; }
.brd th { font: 600 11px var(--mono); letter-spacing: .1em; color: #7f93a8; text-align: left; padding: 0 8px; }
.brd td { padding: 0 8px; vertical-align: middle; font-size: 13.5px; white-space: nowrap; }
.brd tr.row-link { cursor: pointer; }
.brd tr.row-link:hover td { color: #fff; }
.brd .t { font: 700 15px var(--mono); }
.brd .zh { color: #9fb3c8; font-size: 12px; margin-left: 6px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.features .card h3 { margin: 10px 0 6px; font-size: 18px; }
.features .card p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- results: route arc + flights ---------- */
.sec { padding-top: 32px; padding-bottom: 32px; }  /* keep .wrap's side padding (the old file lost it on phones) */
.route-head { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-bottom: 14px; }
.route-head h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; font-style: italic; letter-spacing: -.03em; }
.route-head .sub { color: var(--muted); font-size: 13.5px; }
.mini { flex: 1 1 260px; min-width: 0; max-width: 520px; }
.mini svg { width: 100%; height: auto; display: block; overflow: visible; }
.mini .arc { fill: none; stroke: var(--sky); stroke-width: 2.2; stroke-linecap: round; }
.mini .gc { fill: none; stroke: var(--line); stroke-width: 1; }
.mini circle { fill: var(--ink); }
.mini text { font: 700 11px var(--mono); fill: var(--muted); }
.flight-list { display: grid; gap: 12px; }
.f-opt { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 14px; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.f-opt:hover { border-color: color-mix(in srgb, var(--sky) 45%, var(--line)); }
.f-opt.selected { border-color: var(--sky); box-shadow: 0 0 0 2px var(--sky-soft); }
.f-opt.rise { animation: rise .55s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.f-main { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: center; }
@media (max-width: 780px) { .f-main { grid-template-columns: 1fr; } }
.f-times { display: flex; align-items: center; gap: 14px; }
.f-end b { display: block; font: 800 26px/1.1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.f-end span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.f-arc { flex: 1; text-align: center; min-width: 90px; }
.f-arc .line { height: 1px; background: var(--line); position: relative; margin: 8px 0; }
.f-arc .line::after { content: '✈'; position: absolute; right: -2px; top: -10px; font-size: 13px; color: var(--sky); }
.f-arc small { display: block; font-size: 12px; color: var(--muted); }
.cabin-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 520px) { .cabin-strip { grid-template-columns: 1fr; } }
.cab-btn { padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.cab-btn:hover { border-color: var(--sky); }
.cab-btn:active { transform: scale(.97); }
.cab-btn.on { border-color: var(--sky); background: var(--sky-soft); }
.cab-btn small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.cab-btn b { display: block; font: 800 17px var(--mono); margin-top: 2px; font-variant-numeric: tabular-nums; }
.tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card { border: 1.5px solid var(--line); border-radius: 15px; padding: 15px; display: grid; gap: 8px; background: var(--bg); cursor: pointer; text-align: left; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.tier-card:active { transform: scale(.98); }
.tier-card.on { border-color: var(--sky); background: var(--card); box-shadow: 0 0 0 3px var(--sky-soft); }
.tier-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.tier-card li b { color: var(--ink); }

/* ---------- seat map ---------- */
.fuselage { background: var(--bg); border: 1.5px solid var(--line); border-radius: 60px 60px 18px 18px; padding: 22px 14px 18px; overflow-x: auto; max-width: 100%; }
.seat-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.s-swatch { width: 16px; height: 16px; border-radius: 5px; display: inline-block; border: 1.5px solid var(--line); }
.seat-table { margin: 0 auto; border-collapse: separate; border-spacing: 4px; }
.seat-row-num { font-size: 11px; color: var(--muted); text-align: center; padding: 0 6px; font-family: var(--mono); }
.seat-cell { width: 32px; height: 32px; border-radius: 8px 8px 5px 5px; border: 1.5px solid color-mix(in srgb, var(--sky) 50%, var(--line)); background: var(--card); color: var(--ink); font-size: 11px; font-weight: 800; cursor: pointer; padding: 0; display: grid; place-items: center; transition: transform .18s var(--ease), background .2s; }
.seat-cell:hover { transform: translateY(-2px); }
.seat-cell:active { transform: scale(.86); }
.seat-cell.legroom { border-color: var(--sky); background: var(--sky-soft); }
.seat-cell.suite { width: 40px; height: 36px; border-color: var(--gold); }
.seat-cell.occ { background: var(--bg2); color: var(--muted); opacity: .45; cursor: not-allowed; border-color: transparent; }
.seat-cell.picked { background: var(--sky) !important; color: #fff !important; border-color: var(--sky) !important; }
html[data-theme="dark"] .seat-cell.picked { color: #08111d !important; }
.seat-cell.just { animation: pop .35s var(--ease); }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.seat-aisle { width: 16px; }
.fly-chip { position: fixed; z-index: 60; pointer-events: none; font: 700 12px var(--mono); background: var(--sky); color: #fff; border-radius: 999px; padding: 3px 9px; transition: transform .55s var(--ease), opacity .55s; }
.leg-btn.bump { animation: bump .3s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 50% { transform: scale(1.08); } 100% { transform: scale(1); } }

.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; align-items: start; }
@media (max-width: 920px) { .book-layout { grid-template-columns: 1fr; } }
.sticky-sum { position: sticky; top: 82px; }
@media (max-width: 920px) { .sticky-sum { position: static; } }

/* ---------- boarding passes (sky | thermal | executive) + print animation ---------- */
.bp-stack { display: grid; gap: 18px; }
.printer-slot { height: 12px; border-radius: 8px; background: var(--ink); opacity: .9; margin: 0 6px -6px; position: relative; z-index: 2; }
.bp-stack.printing .bp-card { animation: printOut 1.4s steps(14, end) both; animation-delay: var(--d, 0ms); }
@keyframes printOut { from { clip-path: inset(0 0 100% 0 round 0 0 20px 20px); transform: translateY(-14px); } to { clip-path: inset(0 0 0 0 round 0 0 20px 20px); transform: none; } }
.bp-card { display: grid; grid-template-columns: minmax(0, 1fr) 220px; border-radius: 20px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; color: #08111d; box-shadow: var(--shadow); }
@media (max-width: 740px) { .bp-card { grid-template-columns: 1fr; } }
.bp-main { padding: 20px 22px; display: grid; gap: 14px; min-width: 0; }
.bp-stub { padding: 18px; border-left: 2px dashed rgba(8, 17, 29, .22); display: grid; align-content: space-between; gap: 10px; text-align: center; min-width: 0; background: #eef7fd; transform-origin: top left; transition: transform .7s var(--ease), opacity .7s; }
.bp-card.torn { overflow: visible; }
.bp-card.torn .bp-stub { transform: translate(18px, 22px) rotate(6deg); opacity: .9; box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .4); border-radius: 0 16px 16px 0; }
@media (max-width: 740px) { .bp-stub { border-left: 0; border-top: 2px dashed rgba(8, 17, 29, .22); } .bp-card.torn .bp-stub { transform: translate(0, 18px) rotate(2deg); border-radius: 0 0 16px 16px; } }
.bp-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(8, 17, 29, .1); }
.bp-brand { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bp-brand .bp-mk { width: 24px; height: 24px; display: block; }
.bp-j { font-weight: 900; font-size: 19px; font-style: italic; letter-spacing: -.03em; }
.bp-air { font-weight: 900; font-size: 19px; font-style: italic; color: #0284c7; }
.bp-brand small { font-size: 11px; opacity: .72; font-weight: 700; letter-spacing: .06em; margin-left: 6px; }
.bp-cabin-pill { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .06em; background: #08111d; color: #38bdf8; }
.bp-route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; }
.bp-apt-r { text-align: right; }
.bp-iata { display: block; font-size: 36px; font-weight: 900; line-height: 1; letter-spacing: -.03em; font-family: var(--mono); }
.bp-plane-mid { text-align: center; display: grid; gap: 2px; justify-items: center; }
.bp-plane-mid span { font-weight: 900; font-size: 13px; color: #0284c7; font-family: var(--mono); }
.bp-plane-mid i { font-style: normal; font-size: 20px; color: #0284c7; }
.bp-plane-mid small { font-size: 11px; opacity: .7; }
.bp-fitwrap { width: 100%; min-width: 0; overflow: hidden; }
.bp-fit { display: inline-block; max-width: 100%; }
.bp-pax-row { display: grid; grid-template-columns: minmax(0, 1.8fr) 1fr .9fr; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(2, 132, 199, .06); }
@media (max-width: 560px) { .bp-pax-row { grid-template-columns: 1fr; } }
.bp-col label, .bp-hi label { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; opacity: .65; margin-bottom: 2px; }
.bp-ops-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .bp-ops-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bp-hi { padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(8, 17, 29, .12); min-width: 0; }
.bp-hi b { font-size: 19px; font-weight: 900; font-family: var(--mono); }
.bp-hi .flaps { --fs: 15px; }
.bp-seat-hi { background: #38bdf8; color: #08111d; border-color: #0284c7; }
.bp-foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.bp-barwrap { flex: 1; min-width: 160px; max-width: 280px; height: 34px; color: inherit; }
.bp-bar { width: 100%; height: 34px; display: block; }
.bp-meta-sm { display: grid; text-align: right; font-size: 11px; font-family: var(--mono); opacity: .75; }
.bp-stub-top { display: flex; justify-content: space-between; font-weight: 900; font-size: 13px; font-family: var(--mono); }
.bp-stub-name { font-weight: 800; }
.bp-stub-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: rgba(255, 255, 255, .75); padding: 8px 6px; border-radius: 10px; color: #08111d; }
.bp-stub-kv small { display: block; font-size: 9.5px; opacity: .65; font-weight: 800; }
.bp-stub-kv b { font-size: 14px; font-family: var(--mono); }
.bp-qr-box { display: grid; place-items: center; padding: 8px; background: #fff; color: #08111d; border-radius: 12px; width: 102px; height: 102px; margin: 0 auto; border: 1px solid rgba(0, 0, 0, .1); }
.bp-sim-note { font-size: 10px; font-weight: 800; opacity: .68; letter-spacing: .04em; }
.bp-card.bp-thermal { background: #fff; color: #000; border: 2px solid #000; border-radius: 8px; box-shadow: none; }
.bp-card.bp-thermal .bp-air, .bp-card.bp-thermal .bp-plane-mid span, .bp-card.bp-thermal .bp-plane-mid i { color: #000; }
.bp-card.bp-thermal .bp-cabin-pill, .bp-card.bp-thermal .bp-seat-hi { background: #000; color: #fff; border-color: #000; }
.bp-card.bp-thermal .bp-pax-row { background: #f4f4f4; border: 1px solid #000; }
.bp-card.bp-thermal .bp-stub { background: #fafafa; border-color: #000; }
.bp-card.bp-thermal .flap { background: #000; color: #fff; }
.bp-card.bp-executive { background: #08111d; color: #f0f7ff; border: 1.5px solid #d4af37; }
.bp-card.bp-executive .bp-air { color: #38bdf8; }
.bp-card.bp-executive .bp-cabin-pill { background: linear-gradient(135deg, #f5d061, #c9971c); color: #08111d; }
.bp-card.bp-executive .bp-pax-row { background: rgba(255, 255, 255, .05); border: 1px solid rgba(212, 175, 55, .28); }
.bp-card.bp-executive .bp-hi { border-color: rgba(255, 255, 255, .16); }
.bp-card.bp-executive .bp-seat-hi { background: #d4af37; color: #08111d; border-color: #f5d061; }
.bp-card.bp-executive .bp-stub { background: #0d1b2e; color: #f0f7ff; border-color: rgba(212, 175, 55, .45); }
.bp-card.bp-executive .bp-stub-kv { background: rgba(255, 255, 255, .08); color: #f0f7ff; }

/* ---------- globe (flight status page) ---------- */
.globe-box { position: relative; height: 380px; border-radius: 22px; background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, .1), rgba(6, 13, 24, .9)); border: 1px solid rgba(56, 189, 248, .2); overflow: hidden; background-color: #08111d; }
.globe-box canvas { width: 100%; height: 100%; display: block; cursor: grab; --g-land: #7f9bb8; --g-route: #38bdf8; --g-cargo: #d4ff3a; --g-hub: #38bdf8; --g-ink: #eef6ff; }
.globe-legend { position: absolute; left: 14px; bottom: 12px; display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #cbdcf0; background: rgba(6, 13, 24, .75); padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); }
.globe-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

/* ---------- footer: family big type + a plane along a dotted track ---------- */
.foot { margin-top: 48px; font-size: 13px; color: var(--muted); padding-bottom: 40px; }
.foot-brand { position: relative; height: clamp(110px, 20vw, 240px); overflow: hidden; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.foot-word { position: absolute; left: -.04em; bottom: -.19em; font-size: clamp(64px, 15vw, 200px); font-weight: 900; font-style: italic; letter-spacing: -.07em; line-height: 1; color: var(--ink); transform: skewX(-2deg); white-space: nowrap; }
.foot-word em { font-style: inherit; color: var(--sky); }
.foot-track { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.foot-track path { stroke: var(--sky); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; }
.foot-plane { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 6px color-mix(in srgb, var(--sky) 22%, transparent); opacity: 0; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px 28px; flex-wrap: wrap; }
.foot-in > div:first-child { max-width: 46em; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; font-weight: 600; color: var(--ink); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--sky); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map .spoke { stroke-dashoffset: 0; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }
html[data-motion="off"] .map .spoke { stroke-dashoffset: 0; }

@media print {
  .top, .mnav, .foot, .no-print, .printer-slot { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .wrap { max-width: 100%; padding: 0; }
  .bp-card { break-inside: avoid; box-shadow: none !important; margin-bottom: 16px; animation: none !important; clip-path: none !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .bp-card.torn .bp-stub { transform: none; }
}

/* ---------- 1.2.0 (2026-11-19): family rules + motion ---------- */
.f-end b, .cab-btn b, .tier-card .mono, .sticky-sum .mono { font-family: var(--font); letter-spacing: -.01em; }
.pill { font-weight: 600; }
.tagline { font-size: 13.5px; color: var(--muted); }
html[data-theme="dark"] .pill { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
html[data-theme="dark"] .pill.ok { color: var(--ok); }
html[data-theme="dark"] .pill.warn { color: var(--gold); }
html[data-theme="dark"] .pill.bad { color: var(--bad); }
html[data-theme="dark"] .card { box-shadow: none; }
html[data-theme="dark"] .cab-btn.on, html[data-theme="dark"] .tier-card.on { background: transparent; border-color: var(--ink); box-shadow: none; }
html[data-theme="dark"] .f-opt.selected { border-color: var(--ink); box-shadow: none; }
body:not(.is-home) .foot-brand { height: clamp(70px, 11vw, 130px); }
body:not(.is-home) .foot-word { font-size: clamp(48px, 10vw, 128px); }
html[data-theme="dark"] .foot-word { color: color-mix(in srgb, var(--ink) 16%, var(--bg)); }
html[data-theme="dark"] .foot-word em { color: color-mix(in srgb, var(--sky) 40%, var(--bg)); }
.cab-btn.on, .tier-card.on { animation: pick .35s var(--ease); }
@keyframes pick { 0% { transform: scale(.97); } 60% { transform: scale(1.015); } 100% { transform: none; } }
.route-track { position: relative; margin: 18px 0 6px; }
.route-track .fm-tier i { height: 4px; }
.route-track .jet { position: absolute; top: -9px; left: 0; width: 22px; height: 22px; margin-left: -11px; color: var(--sky); transition: left 1.3s var(--ease-out) .2s; }
.route-track .jet svg { width: 100%; height: 100%; display: block; transform: rotate(90deg); }
.member-hero { position: relative; overflow: hidden; }
.member-hero .big { font-size: clamp(34px, 5vw, 52px); font-weight: 900; font-style: italic; letter-spacing: -.03em; line-height: 1; margin: 6px 0 0; }
.member-hero .num { font-size: 30px; font-weight: 800; line-height: 1.1; display: block; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat-row > div { border-top: 1px solid var(--line); padding-top: 10px; }
@media (max-width: 600px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.trip-row { text-decoration: none; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; transition: border-color .2s, transform .25s var(--ease); }
.trip-row:hover { border-color: var(--ink); transform: translateY(-2px); }
.trip-row .r { font-size: 20px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }

/* 1.2.0 layout (2026-11-19): main column + narrow side column, both start on the same line */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 20px; align-items: start; }
.two-col .side-find { position: sticky; top: 84px; }
@media (max-width: 920px) { .two-col { grid-template-columns: 1fr; } .two-col .side-find { position: static; order: -1; } }

/* 1.5.0 (2026-11-19): coupons, card hint and tier benefits */
.cp-pick { display: grid; gap: 6px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.cp-pick b { font-size: 12.5px; }
.cp-pick small { color: var(--muted); font-size: 12.5px; }
.cp-pick select { width: 100%; }
.card-hint { margin-top: 10px; font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: var(--bg2, rgba(127,127,127,.08)); }
.perk-hint { margin-top: 8px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.perk-hint b { color: var(--ink); font-weight: 600; }
.bk-perks { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.bk-perks span::before { content: "·"; margin-right: 6px; opacity: .5; }
.bk-perks span:first-child::before { content: none; }

/* 1.6.0 (2026-11-23): destinations. Each city has its own drawn scene (server/air/dest.py, drawn by dest-scene.js)
   that follows the local time of day, with a Jasa Air plane crossing it. Only transform and opacity move. */
.hscene { width: 100%; height: 100%; display: block; }
.hs-stack { position: absolute; inset: 0; overflow: hidden; }
.hs-stack > svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .9s cubic-bezier(.4, 0, .2, 1); }
.hs-stack > svg.hs-enter { opacity: 0; }
.hs-stack.hs-settle > svg { animation: hs-settle 1.5s var(--ease-out) both; }
@keyframes hs-settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hs-k-cloud { animation: hs-drift 80s ease-in-out var(--hs-t, 0s) infinite alternate; }
.hs-k-star { animation: hs-twinkle 4.6s ease-in-out var(--hs-t, 0s) infinite alternate; }
.hs-k-water { animation: hs-shimmer 7.5s ease-in-out var(--hs-t, 0s) infinite alternate; }
.hs-k-bird { animation: hs-glide 52s ease-in-out var(--hs-t, 0s) infinite alternate; }
.hs-k-beam { animation: hs-beam 5.5s ease-in-out var(--hs-t, 0s) infinite alternate; }
.hs-k-plane { animation: hs-fly 90s linear var(--hs-t, 0s) infinite; }
@keyframes hs-drift { from { transform: translateX(-28px); } to { transform: translateX(36px); } }
@keyframes hs-twinkle { from { opacity: .5; } to { opacity: 1; } }
@keyframes hs-shimmer { from { transform: translateX(-9px); } to { transform: translateX(9px); } }
@keyframes hs-glide { from { transform: translate(-70px, 8px); } to { transform: translate(90px, -12px); } }
@keyframes hs-beam { from { opacity: .3; } to { opacity: 1; } }
@keyframes hs-fly { from { transform: translate(-700px, 26px); } to { transform: translate(1100px, -26px); } }   /* starts and ends out of sight */
.hs-paused path { animation-play-state: paused; }

.dest-hero { position: relative; min-height: clamp(320px, 46vw, 560px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.dest-hero .dest-art { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.dest-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 22, 0) 22%, rgba(6, 12, 22, .34) 52%, rgba(6, 12, 22, .74) 100%); }
.dest-hero-in { text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.dest-hero-in { padding-top: 40px; padding-bottom: 34px; }
.dest-hero .kicker { color: #fff; opacity: .92; }
.dest-city { margin: 8px 0 6px; font-size: clamp(52px, 9vw, 128px); font-weight: 900; font-style: italic; letter-spacing: -.045em; line-height: .9; }
.dest-city small { display: block; font-size: .32em; font-style: normal; letter-spacing: 0; font-weight: 700; opacity: .9; margin-top: 10px; }
.dest-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; opacity: .92; }
.dest-meta .clock { font-family: var(--mono); }
main.enter .dest-hero-in > * { animation: hero-rise .9s var(--ease-out) both; }
main.enter .dest-hero-in > :nth-child(2) { animation-delay: .1s; }
main.enter .dest-hero-in > :nth-child(3) { animation-delay: .2s; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.dest-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .dest-body { grid-template-columns: 1fr; gap: 26px; } }
.dest-story { font-size: clamp(18px, 1.9vw, 22px); line-height: 1.65; margin: 0 0 22px; text-wrap: pretty; }
.dest-lines { display: grid; gap: 12px; margin: 0 0 24px; }
.dest-lines p { margin: 0; display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; font-size: 14.5px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 12px; }
.dest-lines b { font: 700 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); padding-top: 3px; }
.dest-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dest-first h2, .dest-sec h2 { font-size: 13px; font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.dest-first ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dest-first li { display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.dest-first li > i { font: 800 13px var(--mono); color: var(--sky); font-style: normal; padding-top: 2px; }
.dest-first li b { display: block; font-size: 16px; margin-bottom: 3px; }
.dest-first li span { color: var(--muted); font-size: 14px; line-height: 1.6; }
.dest-day { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .dest-day { grid-template-columns: 1fr; } }
.dest-day button { text-align: left; font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; display: grid; gap: 6px; transition: border-color .25s, transform .2s var(--ease), box-shadow .25s; }
.dest-day button:hover { transform: translateY(-2px); }
.dest-day button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.dest-day b { font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.dest-day span { font-size: 14.5px; line-height: 1.6; }
.dest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-chips a { text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; display: inline-flex; gap: 8px; align-items: baseline; transition: border-color .2s, transform .2s var(--ease); }
.dest-chips a:hover { border-color: var(--ink); transform: translateY(-1px); }
.dest-chips a i { font: 700 12px var(--mono); font-style: normal; color: var(--sky); }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.dest-card { position: relative; display: block; text-decoration: none; color: #fff; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg2); isolation: isolate; transform: translateZ(0); }
.dest-card .art { position: absolute; inset: 0; z-index: -2; transition: transform 1.1s var(--ease-out); }
.dest-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 12, 22, 0) 45%, rgba(6, 12, 22, .62) 100%); }
.dest-card:hover .art { transform: scale(1.045); }
.dest-card .txt { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.dest-card b { font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: 1; }
.dest-card .code { font: 700 12px var(--mono); letter-spacing: .06em; opacity: .9; display: block; margin-top: 5px; white-space: nowrap; }
.dest-card .tm { font: 600 12px var(--mono); padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .34); white-space: nowrap; }
.dest-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 14px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.dest-strip .dest-card { scroll-snap-align: start; }
.dest-banner { position: relative; display: flex; align-items: flex-end; min-height: 150px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.dest-banner .art { position: absolute; inset: 0; z-index: -2; }
.dest-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 12, 22, .58), rgba(6, 12, 22, 0) 70%); }
.dest-banner .txt { padding: 16px 18px; display: grid; gap: 4px; max-width: 34em; }
.dest-banner b { font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.dest-banner span { font-size: 13.5px; opacity: .92; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .hs-stack > svg, .dest-card .art { transition: none; }
  .hs-stack.hs-settle > svg, .hs-stack path, main.enter .dest-hero-in > * { animation: none !important; }
  .dest-card:hover .art { transform: none; }
}
html[data-motion="off"] .hs-stack > svg { transition: none; }
html[data-motion="off"] .hs-stack.hs-settle > svg, html[data-motion="off"] .hs-stack path, html[data-motion="off"] main.enter .dest-hero-in > * { animation: none !important; }
.dest-title { margin: 8px 0 6px; font-size: clamp(36px, 5vw, 60px); font-weight: 900; font-style: italic; letter-spacing: -.04em; }
.dest-lede { margin: 0 0 22px; color: var(--muted); max-width: 42em; }
.dest-note { color: var(--muted); font-size: 13px; margin: 0; }
.dest-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.dest-strip-head h2 { margin: 0; font-size: 22px; font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.dest-strip-head a { font-size: 14px; color: var(--sky); text-decoration: none; }
.dest-strip[aria-busy="true"] { min-height: 150px; }
#destBanner:empty { display: none; }

/* 1.7.0 (2026-11-23): postcards load their picture when they come near the screen; until then, the sky of that hour */
.dest-card .art:not(.in) { background: linear-gradient(180deg, #9cc8e6, #e3eef4); }
.dest-card .art.ph-dawn:not(.in) { background: linear-gradient(180deg, #f1b9a3, #fbe3c8); }
.dest-card .art.ph-dusk:not(.in) { background: linear-gradient(180deg, #6f6aa3, #f0a77c); }
.dest-card .art.ph-night:not(.in) { background: linear-gradient(180deg, #0d1b33, #27406b); }
.dest-card .art.in > svg { animation: card-in .5s var(--ease-out) both; }
@keyframes card-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dest-card .art.in > svg { animation: none; } }
html[data-motion=off] .dest-card .art.in > svg { animation: none; }
/* 1.7.0: the language menu (中文 / EN / 日本語 / ES / 한국어), as in Jasa Hotels */
select.lang-sel { -webkit-appearance: none; appearance: none; font: inherit; font-size: 13px; font-weight: 600; color: inherit; cursor: pointer;
  padding: 0 26px 0 12px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 10px) 50%; background-size: 4px 4px, 4px 4px; background-repeat: no-repeat; }
select.lang-sel option { color: #08111d; background: #fff; }
html:lang(ja) body { line-break: strict; overflow-wrap: anywhere; }   /* Japanese breaks between characters; keep-all would break only at punctuation */
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { word-break: auto-phrase; }
html:lang(es) p { hyphens: auto; }
