/* Sakura Gate - app-only layout and look (html.appui, set by appui.js). The website never gets these classes.
   Light theme colours for the site's own components come from appui-light.css (generated); this file adds the app
   shell (tab bar, app screens) and the hand-tuned parts of the light look. */

/* ---------------------------------------------------------------- shell */
html.appui header nav#mainnav, html.appui #mnav, html.appui .zprim, html.appui .ztab, html.appui #zthm, html.appui header .lg img, html.appui footer, html.appui #home { display: none !important; }
html.appui header { position: sticky; top: 0; z-index: 50; padding: 10px 16px; min-height: 0; }
html.appui.app-light header { background: rgba(244, 246, 251, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(11, 28, 61, .08); }
html.appui body.appv-on header { display: none; }
html.appui body.appv-on #app { display: none !important; }
html.appui body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
html.appui main { padding-top: 0; }
#appv { max-width: 720px; margin: 0 auto; padding: 0 0 24px; }
#appv[hidden] { display: none; }

#apptabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); background: rgba(6, 18, 41, .97); border-top: 1px solid rgba(170, 205, 255, .18); }
#apptabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; border-radius: 12px; padding: 6px 2px; color: #A8B9D6; font: 500 .6875rem/1.2 var(--f-body); min-height: 52px; }
#apptabs button span { font-size: 1.3rem; line-height: 1; }
#apptabs button[aria-current] { color: #F3F7FF; font-weight: 700; }
html.app-light #apptabs { background: rgba(255, 255, 255, .98); border-top: 1px solid rgba(11, 28, 61, .1); box-shadow: 0 -4px 18px rgba(11, 28, 61, .06); }
html.app-light #apptabs button { color: #7A869C; }
html.app-light #apptabs button[aria-current] { color: #0B1C3D; }
/* the emergency button and toasts sit above the tab bar */
html.appui .toast, html.appui .savest { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
html.appui .sos-in, html.appui .dt-in { margin-bottom: 0; max-height: calc(94vh - 60px); }
html.appui #sg-sos, html.appui #sg-alerts, html.appui #sg-badges, html.appui #sg-myday, html.appui #sg-story, html.appui #sg-around, html.appui #sg-golden, html.appui #sg-post, html.appui #sg-bags, html.appui #sg-world, html.appui #sg-snap, html.appui #sg-tm, html.appui #sg-events, html.appui #sg-shop, html.appui #sg-auto, html.appui #sg-gems, html.appui #sg-guides, html.appui #sg-awards, html.appui #sg-exp, html.appui #sg-diet, html.appui #sg-taste, html.appui #sg-irctc, html.appui #sg-insp { z-index: 3200; }

/* ---------------------------------------------------------------- app screens */
.as-hero { position: relative; padding: 18px 18px 18px; border-radius: 0 0 26px 26px; color: #fff; overflow: hidden;
  background: linear-gradient(180deg, rgba(6, 18, 41, .15), rgba(6, 18, 41, .72)), url("/bg/sky-clouds.jpg") center 55% / cover no-repeat; }
.as-brand { display: flex; align-items: center; gap: 8px; font: 500 1.2rem/1 var(--f-head); letter-spacing: .04em; margin-bottom: 18px; color: #fff; }
.as-hero h1 { font: 500 2rem/1.15 var(--f-head); color: #fff; margin: 0 0 6px; }
.as-hero p { margin: 0 0 16px; color: rgba(255, 255, 255, .9); font-size: .9375rem; max-width: 28em; }
.as-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: #fff; color: #0B1C3D; border-radius: 16px; padding: 12px 6px; box-shadow: 0 8px 24px rgba(11, 28, 61, .18); }
.as-sum div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; min-width: 0; }
.as-sum div + div { border-left: 1px solid rgba(11, 28, 61, .1); }
.as-sum span { font-size: 1.1rem; }
.as-sum small { color: #5B6B85; font-size: .75rem; }
.as-sum b { font-size: .875rem; overflow-wrap: anywhere; }
.as-sec { padding: 18px 16px 4px; }
.as-sec h2, .as-h2 { font: 600 1.125rem/1.3 var(--f-body); color: var(--ink); margin: 0 0 10px; letter-spacing: 0; }
.as-h2 { padding: 18px 16px 0; }
.as-sech { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.as-chip { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: rgba(31, 79, 168, .12); color: var(--lav); white-space: nowrap; }
.as-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; margin: 0 -16px; padding-inline: 16px; scrollbar-width: none; }
.as-row::-webkit-scrollbar { display: none; }
.as-pick { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; padding: 0; border-radius: 18px; overflow: hidden; background: var(--gl); border: 1px solid var(--ln); color: var(--ink); }
.as-pick.sm { flex-basis: 42%; max-width: 180px; }
.as-img { display: block; height: 140px; background: linear-gradient(135deg, #1f5fd1, #8DB4F0) center / cover no-repeat; }
.as-pick.sm .as-img { height: 100px; }
.as-pt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; min-width: 0; }
.as-pt b { font-size: .9375rem; }
.as-pt small { color: var(--mut); font-size: .8125rem; line-height: 1.4; overflow-wrap: break-word; }
.as-trip { display: flex; align-items: center; gap: 12px; margin: 16px 16px 0; width: calc(100% - 32px); padding: 10px; text-align: left; border-radius: 18px; background: var(--gl); border: 1px solid var(--ln); color: var(--ink); }
.as-trip .as-img { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.as-trip .as-pt { flex: 1; padding: 0; }
.as-go { font-size: 1.25rem; color: var(--lav); }
.as-link { background: none; border: 0; color: var(--lav); padding: 4px 0; font-weight: 600; }
.as-empty { text-align: center; padding: 18px 16px; border-radius: 18px; background: var(--gl); border: 1px solid var(--ln); margin: 0 16px; }
.as-sec .as-empty { margin: 0; }
.as-empty p { color: var(--mut); margin: 8px 0 14px; }
.as-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.as-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px; background: var(--gl); border: 1px solid var(--ln); color: var(--ink); min-width: 0; }
.as-tile span { font-size: 1.4rem; line-height: 1; }
.as-tile b { font-size: .75rem; font-weight: 600; line-height: 1.25; text-align: center; max-width: 100%; }
.as-head { padding: 20px 16px 4px; }
.as-head h1 { font: 600 1.5rem/1.2 var(--f-body); color: var(--ink); margin: 0; }
.as-head p { color: var(--mut); margin: 4px 0 0; font-size: .9375rem; }
.as-list { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px 0; }
.as-feat { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 16px; background: var(--gl); border: 1px solid var(--ln); color: var(--ink); text-decoration: none; font-weight: 400; }
.as-feat > span:first-child { font-size: 1.35rem; width: 32px; text-align: center; flex: none; }
.as-feat > span:nth-child(2) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.as-feat b { font-weight: 600; font-size: .9375rem; }
.as-feat small { color: var(--mut); font-size: .8125rem; line-height: 1.4; }
.as-feat select { width: auto; max-width: 45%; }
.as-sw input { width: 44px; height: 26px; accent-color: #0B1C3D; }
.as-pad { padding: 8px 16px; }
@media (min-width: 720px) { .as-pick { flex-basis: 260px; } .as-pick.sm { flex-basis: 170px; } }

/* ---------------------------------------------------------------- light look, hand-tuned */
html.app-light body { background: #F4F6FB !important; }
html.app-light body::before, html.app-light body::after { display: none !important; }
html.app-light .gl { background: #fff; border-color: rgba(11, 28, 61, .08); box-shadow: 0 4px 16px rgba(11, 28, 61, .06); backdrop-filter: none; -webkit-backdrop-filter: none; }
html.app-light button, html.app-light .btn { background: #fff; border-color: rgba(11, 28, 61, .14); color: #0B1C3D; }
html.app-light button.p, html.app-light .btn.p { background: #0B1C3D; color: #fff; border-color: #0B1C3D; }
html.app-light h1, html.app-light h2, html.app-light h3 { color: #0B1C3D; }
html.app-light .as-hero h1, html.app-light .as-hero p, html.app-light .as-brand { color: #fff; }
html.app-light .hint, html.app-light small { color: #5B6B85; }
html.app-light a { color: #1F4FA8; }
html.app-light input, html.app-light select, html.app-light textarea { background: #fff; color: #0B1C3D; border-color: rgba(11, 28, 61, .18); }
html.app-light input::placeholder, html.app-light textarea::placeholder { color: #8A96AB; }
html.app-light .modal .box, html.app-light .sos-in, html.app-light .dt-in { background: #fff; color: #0B1C3D; border-color: rgba(11, 28, 61, .1); }
html.app-light .sos-top button, html.app-light .modal .close { color: #0B1C3D; }
html.app-light .sos-place, html.app-light .insp-pl { background: #F4F6FB; }
html.app-light .sos-place small, html.app-light .insp-pl small, html.app-light .insp-src small, html.app-light .ir-dl dt { color: #5B6B85; }
html.app-light .insp-src a, html.app-light .insp-pl a { color: #1F4FA8; }
html.app-light #sg-insp textarea, html.app-light #sg-irctc textarea { background: #fff; border-color: rgba(11, 28, 61, .18); }
html.app-light .sos-box { border-top-color: rgba(11, 28, 61, .1); }
html.app-light .sos-line { border-bottom-color: rgba(11, 28, 61, .15); }
html.app-light .sos-line small { color: #5B6B85; }
html.app-light #sg-irctc .ok, html.app-light #sg-insp .ok { color: #1E6B3A; }
html.app-light .tabs button[aria-selected=true], html.app-light .tabs button.on { background: #0B1C3D; color: #fff; }
html.app-light #chatbox .m { background: #F4F6FB; color: #0B1C3D; }
html.app-light #chatbox .m.u { background: #0B1C3D; color: #fff; }
html.app-light .demo { background: #FFF6E5; color: #6B4A00; border-color: #F2D8A0; }
/* app cards win over the light theme's generic button colours */
html.appui #appv .as-trip, html.appui #appv .as-pick, html.appui #appv .as-tile, html.appui #appv .as-feat, html.appui #appv .as-empty { background: var(--gl); color: var(--ink); }
html.app-light #appv .as-trip, html.app-light #appv .as-pick, html.app-light #appv .as-tile, html.app-light #appv .as-feat, html.app-light #appv .as-empty { box-shadow: 0 4px 14px rgba(11, 28, 61, .06); border-color: rgba(11, 28, 61, .08); }
/* trip hub above the trip summary */
.as-hub { margin: -4px 0 14px; }
.as-hubhero { min-height: 150px; border-radius: 18px; display: flex; align-items: flex-end; padding: 14px; color: #fff; background: linear-gradient(135deg, #1f5fd1, #0B1C3D) center / cover no-repeat; }
.as-hubhero h2 { font: 600 1.375rem/1.2 var(--f-body); color: #fff !important; margin: 0; }
.as-hubhero p { margin: 4px 0 0; color: rgba(255, 255, 255, .92); font-size: .875rem; }
.as-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -22px 10px 12px; position: relative; padding: 12px 14px; border-radius: 16px; background: var(--gl); border: 1px solid var(--ln); box-shadow: 0 8px 20px rgba(11, 28, 61, .12); }
html:not(.app-light) .as-total { background: #0b1c3d; }
.as-total div { display: flex; flex-direction: column; min-width: 0; }
.as-total b { font-size: 1.375rem; color: var(--ink); }
.as-total small { color: var(--mut); font-size: .75rem; }
.as-total .btn { padding: 8px 12px; font-size: .8125rem; white-space: nowrap; }
.as-hub .as-tile small { color: var(--mut); font-size: .6875rem; text-align: center; }
html.appui #sum .as-hub .as-tile { background: var(--gl); color: var(--ink); }
html.appui #app > h2, html.appui #dm { display: none; }
html.appui #wiz { margin-top: 12px; }
.as-total > div { flex: 1; }
.as-total b { white-space: nowrap; }
.as-hub .as-grid4 { gap: 8px; }
.as-hub .as-tile { padding: 10px 2px; }
.as-hub .as-tile b { font-size: .6875rem; }
.as-total { flex-wrap: wrap; }
html.appui .as-total .btn { background: none !important; border: 0 !important; color: var(--lav) !important; padding: 4px 0 !important; font-weight: 600; box-shadow: none; }
html.appui #app { padding-top: 8px !important; }
.as-row { scroll-padding-inline: 16px; }
html.appui #appv .as-link { background: none; border: 0; box-shadow: none; padding: 4px 0; color: var(--lav); }
.as-cred { display: block; margin-top: 8px; font-size: .625rem; color: rgba(255, 255, 255, .75) !important; text-align: right; }
html.app-light #sg-hotel .hp { background: #fff; color: #0B1C3D; }
html.app-light .hp-meta, html.app-light .hp-amen small { color: #5B6B85; }
html.appui #sg-hotel .hp { max-height: calc(96vh - 60px); }
/* labels laid over photos stay dark with white text in the light theme */
html.app-light .dcred, html.app-light .dimg + .dcred, html.app-light .dcard .dcred { background: rgba(0, 0, 0, .55) !important; color: #fff !important; }
html.app-light #sakfab { border-color: #0B1C3D; box-shadow: 0 6px 18px rgba(11, 28, 61, .25); }
html.app-light .sk-m { background: #F0F3F9; color: #0B1C3D; }
html.app-light .sk-m.u { background: #0B1C3D; color: #fff; }
html.app-light #sg-sakura { background: #fff; color: #0B1C3D; border-color: rgba(11, 28, 61, .1); box-shadow: 0 14px 40px rgba(11, 28, 61, .22); }
html.app-light .sk-top { border-bottom-color: rgba(11, 28, 61, .08); }
html.app-light .sk-top button { color: #0B1C3D; background: none; }
html.app-light .sk-hotel { background: #F4F6FB; }
html.app-light .sk-tools button { color: #0B1C3D; background: none; }
/* total trip cost card: price and "View price breakdown" stacked so long amounts never overlap (owner, 1 Nov 2026) */
.as-total { flex-direction: column; align-items: flex-start; gap: 2px; }
.as-total > div { width: 100%; }
.as-total b { font-size: 1.125rem; white-space: normal; overflow-wrap: anywhere; }
html.appui .as-total .btn { align-self: flex-start; padding: 2px 0 !important; font-size: .8125rem; }

/* ---------------------------------------------------------------- Adaptive Destination Experience (D42) */
html.appui { --d1: #E8789F; --d2: #0B1C3D; --d3: #CFE2FF; --dglow: #8DB4F0; }
html.appui body, #apptabs button, #sakfab, .as-hero { transition: background-color .5s ease, color .3s ease, border-color .5s ease, box-shadow .5s ease; }
#appv > * { animation: asin .35s ease-out both; }
@keyframes asin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #appv > * { animation: none; } }
/* destination accents: active tab, Sakura's ring, chips; the brand (logo, type, mascot) stays the same */
html.dest-on #apptabs button[aria-current] { color: var(--d1); }
html.dest-on #apptabs button[aria-current] span { text-shadow: 0 0 12px color-mix(in srgb, var(--d1) 45%, transparent); }
html.dest-on #sakfab { border-color: var(--d1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--d1) 22%, transparent), 0 6px 20px rgba(0,0,0,.3); }
html.dest-on .as-sec h2::before { content: ""; display: inline-block; width: 4px; height: .95em; margin-right: 8px; border-radius: 2px; background: var(--d1); vertical-align: -2px; }
/* destination hero */
.as-hero.dest { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, var(--d1) 0%, var(--d2) 75%) center / cover no-repeat; color: #fff; }
.as-brand { justify-content: flex-start; }
.as-switch { margin-left: auto; font: 600 .75rem/1 var(--f-body); padding: 7px 11px; border-radius: 999px; background: rgba(0,0,0,.35) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.35) !important; }
.as-dhead { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; }
.as-dhead h1 { font: 600 1.6rem/1.15 var(--f-body); color: #fff !important; margin: 4px 0 4px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.as-dhead p { margin: 0; color: rgba(255,255,255,.92) !important; font-size: .875rem; }
.as-bubble { display: inline-block; background: #fff; color: #0B1C3D; font-weight: 700; font-size: .8125rem; padding: 4px 10px; border-radius: 12px 12px 12px 3px; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.dest-mascot { position: relative; display: inline-block; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.dest-mascot img, .dest-mascot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dest-mascot .dm-float { animation: dmfloat 3s ease-in-out infinite; }
@keyframes dmfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@media (prefers-reduced-motion: reduce) { .dest-mascot .dm-float { animation: none; } }
.as-cchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; align-items: center; }
.as-cchips button, .as-cchips span { font: 600 .75rem/1.2 var(--f-body); padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.4) !important; }
.as-cchips button[aria-pressed=true] { background: #fff !important; color: var(--d2) !important; }
.as-cchips.solid span, .as-pad.as-cchips button { background: var(--gl) !important; color: var(--ink) !important; border-color: var(--ln) !important; }
.as-pad.as-cchips button[aria-pressed=true] { background: var(--d1) !important; color: #fff !important; border-color: var(--d1) !important; }
.as-cchips i { opacity: .5; font-style: normal; }
.as-now { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; margin: -18px 16px 0; position: relative; padding: 12px 14px; border-radius: 16px; background: var(--gl); border: 1px solid var(--ln); box-shadow: 0 8px 20px rgba(11,28,61,.12); }
.as-now small { display: block; color: var(--mut); font-size: .6875rem; }
.as-now b { font-size: 1rem; color: var(--ink); white-space: nowrap; }
.as-now button { padding: 8px 10px; font-size: .75rem; border-radius: 999px; background: var(--d1) !important; color: #fff !important; border: 0 !important; }
/* universal: search in the hero, recap after a trip */
.as-search { display: flex; gap: 8px; margin-top: 4px; }
.as-search input { flex: 1; padding: 13px 16px; border-radius: 999px; font-size: 1rem; background: #fff !important; color: #0B1C3D !important; border: 0 !important; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.as-search button { width: 48px; border-radius: 50%; padding: 0; font-size: 1.1rem; }
.as-recap { display: flex; gap: 12px; align-items: center; margin: 16px 16px 0; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, #E8789F 18%, var(--gl)), var(--gl)); border: 1px solid var(--ln); }
.as-recap b { display: block; font-size: 1rem; color: var(--ink); } .as-recap small { color: var(--mut); }
/* reels and stories */
.as-reels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-reel { aspect-ratio: 9 / 16; max-height: 300px; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; text-align: left; color: #fff !important; border: 0 !important; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.6)), linear-gradient(160deg, var(--d1), var(--d2)) !important; }
.as-reel span { font-size: 2rem; margin-bottom: auto; } .as-reel small { color: rgba(255,255,255,.85) !important; }
.as-reel.soon { background: linear-gradient(160deg, #5B6B85, #1F2937) !important; opacity: .85; }
.as-stories { display: flex; gap: 12px; overflow-x: auto; padding: 12px 16px 6px; scrollbar-width: none; }
.as-story { flex: none; width: 72px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: none !important; border: 0 !important; padding: 0; color: var(--ink) !important; }
.as-story .as-img { width: 66px; height: 66px; border-radius: 50%; border: 3px solid var(--gl); box-shadow: 0 0 0 2px #CFE2FF; }
.as-story.trip .as-img { box-shadow: 0 0 0 3px var(--d1); }
.as-story small { font-size: .6875rem; text-align: center; line-height: 1.2; max-width: 100%; }
.as-first { margin: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.as-first h2 { margin: 6px 0 0; }
.as-feat.cur { border-color: var(--d1) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--d1) 30%, transparent); }

/* owner mockups (1 Nov 2026): universal = midnight navy/purple with sakura pink; Sakura big in the header */
html.appui:not(.app-light) body { background: radial-gradient(900px 520px at 85% -5%, rgba(255, 79, 163, .16), transparent 60%), radial-gradient(800px 600px at 0% 30%, rgba(108, 76, 255, .14), transparent 60%), #0C0A1F !important; }
html.appui:not(.app-light) #apptabs { background: rgba(14, 11, 34, .97); border-top-color: rgba(255, 255, 255, .08); }
html.appui:not(.app-light):not(.dest-on) #apptabs button[aria-current] { color: #FF5FA8; }
html.appui:not(.app-light) .as-feat, html.appui:not(.app-light) .as-tile, html.appui:not(.app-light) .as-pick, html.appui:not(.app-light) .as-empty, html.appui:not(.app-light) .as-trip, html.appui:not(.app-light) .as-now { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .1) !important; }
html.dest-on.appui:not(.app-light) body { background: radial-gradient(900px 520px at 85% -5%, color-mix(in srgb, var(--d1) 22%, transparent), transparent 60%), color-mix(in srgb, var(--d2) 55%, #0C0A1F) !important; }
.as-hero.uni { background: linear-gradient(180deg, rgba(12, 10, 31, .35) 0%, rgba(26, 14, 60, .75) 60%, #0C0A1F 100%), url("/bg/sky-clouds.jpg") center 55% / cover no-repeat; padding-bottom: 20px; }
html.app-light .as-hero.uni { background: linear-gradient(180deg, rgba(12, 10, 31, .25) 0%, rgba(26, 14, 60, .7) 100%), url("/bg/sky-clouds.jpg") center 55% / cover no-repeat; }
.as-uhead, .as-dhead { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.as-utext, .as-dhead > div { flex: 1; min-width: 0; }
.as-utext h1 { font: 700 1.55rem/1.15 var(--f-body); color: #fff !important; margin: 0 0 8px; }
.as-utext p { margin: 0; color: rgba(255, 255, 255, .92) !important; font-size: .9375rem; line-height: 1.45; }
.as-utext em { color: #FF5FA8; font-style: italic; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255, 95, 168, .5); text-underline-offset: 3px; }
.as-umascot { flex: none; margin-right: -6px; }
.as-umascot .dest-mascot { filter: drop-shadow(0 10px 24px rgba(255, 95, 168, .35)); }
@media (max-width: 360px) { .as-umascot .dest-mascot { width: 112px !important; height: 112px !important; } }
.as-search { align-items: center; margin-top: 14px; padding: 4px 6px 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.as-search input { background: transparent !important; color: #fff !important; box-shadow: none !important; padding: 10px 8px; }
.as-search input::placeholder { color: rgba(255, 255, 255, .75) !important; }
.as-smic { width: 40px !important; height: 40px; border-radius: 50% !important; padding: 0 !important; background: none !important; border: 0 !important; color: #fff !important; font-size: 1.1rem; }
.as-qrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 0; }
.as-qrow .as-tile { padding: 12px 2px; }
.as-qrow .as-tile b { font-size: .6875rem; }
html.appui:not(.app-light) .as-qrow .as-tile span { filter: drop-shadow(0 0 6px rgba(255, 95, 168, .35)); }

/* ---------------------------------------------------------------- owner mockups, copied (1 Nov 2026) */
html.appui { --acc: #FF4FA3; }
html.dest-on { --acc: var(--d1); }
html[data-dest-family="japan"] { --acc: #FF6FAE; }
.as-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; position: relative; z-index: 2; }
.as-logo { font: 700 1.25rem/1 var(--f-body); color: #fff; letter-spacing: .01em; }
.as-logo b { color: var(--acc); }
.as-avatar { width: 38px; height: 38px; border-radius: 50% !important; padding: 0 !important; background: var(--acc) !important; color: #fff !important; border: 2px solid rgba(255,255,255,.7) !important; font-weight: 700; }
.as-hero { position: relative; overflow: hidden; }
.as-hero > *:not(.as-decor) { position: relative; z-index: 2; }
.as-qrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px 16px 0; }
.as-q { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 2px; border-radius: 16px; min-width: 0; background: rgba(255,255,255,.06) !important; border: 1px solid color-mix(in srgb, var(--acc) 35%, rgba(255,255,255,.12)) !important; color: var(--ink) !important; }
.as-q span { font-size: 1.35rem; line-height: 1; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--acc) 50%, transparent)); }
.as-q b { font-size: .6875rem; font-weight: 600; line-height: 1.2; text-align: center; max-width: 100%; }
html.app-light .as-q { background: #fff !important; }
.as-trend { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.as-ptile { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; padding: 0 !important; border: 0 !important; background: #241a44 !important; }
.as-ptile .as-img { position: absolute; inset: 0; height: 100%; }
.as-ptile b { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 6px 6px; font-size: .75rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); text-align: center; }
.as-sech .as-link { color: var(--acc) !important; font-size: .8125rem; }
.as-headrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.as-iconbtn { background: none !important; border: 0 !important; font-size: 1.3rem; padding: 6px; }
.as-plane { font-size: 1.6rem; opacity: .85; transform: rotate(-12deg); }
.as-chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 4px; scrollbar-width: none; }
.as-chips button, .as-seg button { flex: none; padding: 8px 16px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: rgba(255,255,255,.06) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.14) !important; }
.as-chips button[aria-pressed=true], .as-seg button[aria-pressed=true] { background: var(--acc) !important; color: #fff !important; border-color: var(--acc) !important; box-shadow: 0 4px 14px color-mix(in srgb, var(--acc) 40%, transparent); }
html.app-light .as-chips button, html.app-light .as-seg button { background: #fff !important; border-color: rgba(11,28,61,.14) !important; }
.as-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 16px 4px; }
.as-xgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 16px 0; }
.as-xcard, .as-scard { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #241a44; }
.as-xopen, .as-scard { display: block; width: 100%; height: 100%; padding: 0 !important; border: 0 !important; background: none !important; text-align: left; position: relative; }
.as-xcard .as-img, .as-scard .as-img { position: absolute; inset: 0; height: 100%; }
.as-xcard b, .as-scard b { position: absolute; left: 10px; right: 46px; bottom: 26px; color: #fff; font-size: .875rem; line-height: 1.2; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.as-xcard small { position: absolute; left: 10px; right: 46px; bottom: 9px; color: rgba(255,255,255,.88); font-size: .6875rem; }
.as-scard b { bottom: 10px; }
.as-xopen::after, .as-scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
.as-xopen > *, .as-scard > * { z-index: 1; }
.as-heart { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 32px; height: 32px; padding: 0 !important; border-radius: 50% !important; font-size: 1.1rem; background: rgba(0,0,0,.35) !important; color: #fff !important; border: 0 !important; }
.as-heart[aria-pressed=true] { color: var(--acc) !important; }
.as-xcard.mine { box-shadow: 0 0 0 2px var(--acc); }
.as-bm { position: absolute; top: 8px; right: 8px; z-index: 2; font-size: 1rem; }
.as-reel { aspect-ratio: 3 / 4 !important; max-height: none !important; }
.as-hero.plan { background: linear-gradient(180deg, rgba(12,10,31,.2), rgba(40,18,70,.85)), url("/bg/sky-clouds.jpg") center / cover no-repeat; padding-bottom: 22px; }
.as-plans { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.as-plan { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; text-align: left; color: #fff !important; border: 1px solid rgba(255,255,255,.14) !important; }
.as-plan span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.as-plan b { font-size: 1rem; }
.as-plan small { color: rgba(255,255,255,.8); font-size: .75rem; }
.as-pic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: rgba(255,255,255,.12); flex: none; }
.as-plan .as-go { color: #fff; font-size: 1.5rem; }
.as-plan.c1 { background: linear-gradient(90deg, #5B2A86, #3A1C5C) !important; }
.as-plan.c2 { background: linear-gradient(90deg, #22357A, #1B2552) !important; }
.as-plan.c3 { background: linear-gradient(90deg, #165A45, #123B33) !important; }
.as-plan.c4 { background: linear-gradient(90deg, #6E3A16, #45240F) !important; }
.as-plan.c5 { background: linear-gradient(90deg, #6E1F4F, #451534) !important; }
.as-tlist { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 0; }
.as-tcard { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; padding: 0 !important; border: 1px solid rgba(255,255,255,.12) !important; background: #241a44 !important; text-align: left; }
.as-tcard .as-img { position: absolute; inset: 0; height: 100%; }
.as-tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.75)); }
.as-tbadge, .as-tbody, .as-tin { position: absolute; z-index: 1; }
.as-tbadge { top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 85%, transparent); color: #fff; font-size: .75rem; font-weight: 700; }
.as-tbody { left: 14px; bottom: 12px; right: 110px; display: flex; flex-direction: column; color: #fff; }
.as-tbody b { font-size: 1.125rem; }
.as-tbody small { color: rgba(255,255,255,.9); font-size: .75rem; }
.as-tin { right: 12px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); }
.as-newtrip { display: block; width: calc(100% - 32px); margin: 14px 16px 0; padding: 16px; border-radius: 16px; background: none !important; border: 2px dashed var(--acc) !important; color: var(--acc) !important; font-weight: 700; font-size: 1rem; }
.as-hero.prof { text-align: center; padding-top: 28px; background: linear-gradient(180deg, rgba(12,10,31,.1), rgba(12,10,31,.85)), url("/bg/sky-clouds.jpg") center 40% / cover no-repeat; }
.as-gear { position: absolute !important; top: 14px; right: 14px; background: rgba(0,0,0,.3) !important; border: 0 !important; border-radius: 50% !important; width: 40px; height: 40px; padding: 0 !important; z-index: 3 !important; }
.as-pava { width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 700 2.4rem/1 var(--f-body); color: #fff; background: linear-gradient(135deg, var(--acc), #6C4CFF); border: 4px solid #fff; box-shadow: 0 0 0 3px var(--acc); }
.as-hero.prof h1 { font: 700 1.5rem/1.2 var(--f-body); color: #fff !important; margin: 0; }
.as-hero.prof p { color: rgba(255,255,255,.85) !important; margin: 4px 0 12px; font-size: .8125rem; }
.as-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.as-stats b { display: block; font-size: 1.375rem; color: #fff; }
.as-stats small { color: rgba(255,255,255,.8); font-size: .75rem; }
.as-prows { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 0; }
.as-prow { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; text-align: left; background: rgba(255,255,255,.05) !important; border: 1px solid rgba(255,255,255,.12) !important; color: var(--ink) !important; }
.as-prow b { flex: 1; font-weight: 600; }
.as-prow .as-go { font-size: 1.4rem; opacity: .7; }
html.app-light .as-prow { background: #fff !important; border-color: rgba(11,28,61,.1) !important; }
#as-prefs { padding-top: 6px; }
.as-decor { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; display: none; }
html[data-dest-family="japan"] .as-decor { display: block; }
html[data-dest-family="japan"] .as-decor i { position: absolute; top: -12px; width: 12px; height: 9px; border-radius: 12px 1px 12px 1px; background: radial-gradient(circle at 30% 30%, #FFE3EE, #FF9EC4); opacity: .9; animation: petal 9s linear infinite; }
html[data-dest-family="japan"] .as-decor i:nth-child(1) { left: 6%; animation-delay: 0s; }
html[data-dest-family="japan"] .as-decor i:nth-child(2) { left: 18%; animation-delay: 2.5s; animation-duration: 11s; }
html[data-dest-family="japan"] .as-decor i:nth-child(3) { left: 31%; animation-delay: 5s; }
html[data-dest-family="japan"] .as-decor i:nth-child(4) { left: 44%; animation-delay: 1.2s; animation-duration: 12s; }
html[data-dest-family="japan"] .as-decor i:nth-child(5) { left: 57%; animation-delay: 6.5s; }
html[data-dest-family="japan"] .as-decor i:nth-child(6) { left: 68%; animation-delay: 3.6s; animation-duration: 10s; }
html[data-dest-family="japan"] .as-decor i:nth-child(7) { left: 79%; animation-delay: 7.8s; }
html[data-dest-family="japan"] .as-decor i:nth-child(8) { left: 90%; animation-delay: 4.4s; animation-duration: 13s; }
html[data-dest-family="japan"] .as-decor i:nth-child(9) { left: 50%; animation-delay: 8.6s; }
@keyframes petal { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 10% { opacity: .95; } 100% { transform: translate(-60px, 360px) rotate(320deg); opacity: 0; } }
html[data-dest-family="japan"] .as-hero.dest::before { content: ""; position: absolute; top: -10px; right: -20px; width: 180px; height: 110px; z-index: 1; pointer-events: none; opacity: .85;
  background: radial-gradient(circle at 20% 40%, #FFB7D5 0 7px, transparent 8px), radial-gradient(circle at 40% 25%, #FF9EC4 0 9px, transparent 10px), radial-gradient(circle at 62% 45%, #FFC9DE 0 8px, transparent 9px), radial-gradient(circle at 80% 22%, #FF9EC4 0 10px, transparent 11px), radial-gradient(circle at 92% 55%, #FFB7D5 0 7px, transparent 8px); }
html[data-dest-family="japan"].appui:not(.app-light) body { background: radial-gradient(900px 520px at 85% -5%, rgba(255, 111, 174, .22), transparent 60%), radial-gradient(700px 500px at 0% 40%, rgba(108, 76, 255, .12), transparent 60%), #140A22 !important; }
html[data-dest-family="gulf"] .as-decor { display: block; background: linear-gradient(115deg, transparent 30%, rgba(242, 210, 122, .18) 45%, transparent 60%); background-size: 250% 100%; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
html[data-dest-family="tropical"] .as-decor { display: block; background: radial-gradient(120% 40% at 50% 115%, rgba(95, 227, 214, .35), transparent 60%); animation: tide 5s ease-in-out infinite; }
@keyframes tide { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .as-decor, .as-decor i { animation: none !important; } }

/* Small labels under icons wrap only between words, never inside one ("Emergen-cy" looked unprofessional, owner
   3 Nov 2026). appui.js shrinks a label a little when one word is still wider than its tile on a narrow phone. */
.as-tile b, .as-q b, .as-story small { overflow-wrap: normal; word-break: normal; hyphens: none; }

/* Explore -> Guides: country photo cards, colourful tool tiles, and the country guide sheet */
.as-grow { gap: 12px; }
.as-gcard { position: relative; flex: none; width: 148px; height: 196px; padding: 0 !important; border-radius: 22px; overflow: hidden; border: 0 !important; background: linear-gradient(160deg, #2A3A6E, #13204A) !important; color: #fff !important; text-align: left; box-shadow: 0 8px 22px rgba(0,0,0,.28); scroll-snap-align: start; }
.as-gcard .as-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.as-gcard:hover .as-img, .as-gcard:focus-visible .as-img { transform: scale(1.06); }
.as-gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(4,10,30,.85)); }
.as-gname { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.as-gname i { font-style: normal; font-size: 1.4rem; line-height: 1; }
.as-gname b { font-size: 1rem; line-height: 1.2; }
.as-gname small { font-size: .75rem; opacity: .85; }
.as-gcard.any { background: radial-gradient(circle at 30% 20%, #6C8CFF, #2A1F6E 70%) !important; }
.as-gany { position: absolute; top: 34px; left: 0; right: 0; text-align: center; font-size: 3.6rem; }
.as-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.as-tool { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 14px; border-radius: 20px; text-align: left; border: 1px solid rgba(255,255,255,.08) !important; color: #fff !important; }
.as-tool .as-tic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border-radius: 14px; font-size: 1.5rem; background: rgba(255,255,255,.18); }
.as-tool b { font-size: .9375rem; line-height: 1.25; }
.as-tool small { font-size: .75rem; line-height: 1.3; opacity: .85; }
.as-tool.c0 { background: linear-gradient(145deg, #FF7AA8, #B23A7A) !important; }
.as-tool.c1 { background: linear-gradient(145deg, #FF8A65, #C2410C) !important; }
.as-tool.c2 { background: linear-gradient(145deg, #4FB6FF, #1D4ED8) !important; }
.as-tool.c3 { background: linear-gradient(145deg, #34D399, #047857) !important; }
.as-tool.c4 { background: linear-gradient(145deg, #A78BFA, #5B21B6) !important; }
.as-tool.c5 { background: linear-gradient(145deg, #FBBF24, #B45309) !important; }
#as-gsheet { position: fixed; inset: 0; z-index: 3200; background: rgba(4,8,20,.6); display: flex; justify-content: center; align-items: flex-end; }
#as-gsheet[hidden] { display: none; }
.as-gin { width: 100%; max-width: 640px; max-height: 100%; overflow: auto; background: var(--bg, #0B1430); color: var(--ink, #fff); border-radius: 24px 24px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 640px) { .as-gin { height: 100%; border-radius: 0; } }
.as-gtop { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 16px; background: inherit; }
.as-gtop button, .as-gclose { width: 40px; height: 40px; border-radius: 50%; padding: 0; }
.as-ghero { position: relative; height: 220px; background: linear-gradient(160deg, #2A3A6E, #13204A); }
.as-ghero .as-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.as-ghero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(4,10,30,.9)); }
.as-gclose { position: absolute; z-index: 2; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; background: rgba(0,0,0,.45) !important; color: #fff !important; border: 0 !important; }
.as-gh { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; color: #fff; }
.as-gh span { font-size: 2rem; }
.as-gh h2 { margin: 2px 0 0; font-size: 1.75rem; }
.as-gh small { opacity: .85; font-size: .8125rem; }
.as-gsec { margin: 10px 0 0; border-radius: 16px; background: var(--gl); border: 1px solid var(--ln); overflow: hidden; }
.as-gsec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; }
.as-gsec > summary::-webkit-details-marker { display: none; }
.as-gsec > summary::after { content: "›"; margin-left: auto; font-size: 1.3rem; transition: transform .2s; opacity: .7; }
.as-gsec[open] > summary::after { transform: rotate(90deg); }
.as-gsec > summary span { font-size: 1.25rem; }
.as-gsec > div { padding: 0 16px 14px; font-size: .875rem; line-height: 1.5; }
.as-gsec ul { margin: 0; padding-left: 18px; }
.as-gsec li + li { margin-top: 6px; }
.as-gbody [data-getaround] h3 { font-size: 1rem; margin: 16px 0 6px; }
.as-gsrc { margin: 14px 0 0; }
.as-gacts { display: flex; gap: 8px; padding: 14px 16px 4px; }
.as-gacts button { flex: 1; }
.as-gbody { padding: 0 16px; }
.as-gbody .day { margin: 12px 0 0; }
.as-glist { display: flex; flex-direction: column; padding: 8px 16px; }
.as-glist button { text-align: left; padding: 12px 6px; border: 0 !important; border-bottom: 1px solid var(--ln) !important; border-radius: 0; background: none !important; color: var(--ink) !important; }
/* light theme: the selected chip keeps its colour, and text on the colourful tool tiles stays white */
html.app-light .as-chips button[aria-pressed=true], html.app-light .as-seg button[aria-pressed=true] { background: var(--acc) !important; color: #fff !important; border-color: var(--acc) !important; }
html.app-light .as-tool, html.app-light .as-tool b, html.app-light .as-tool small { color: #fff !important; }
html.app-light .as-tool small { opacity: .92; }

/* Explore -> Trip Packages */
.as-pkgs { display: flex; flex-direction: column; gap: 14px; }
.as-pkg { position: relative; border-radius: 22px; overflow: hidden; background: var(--gl); border: 1px solid var(--ln); }
.as-pkg .as-img { display: block; height: 170px; background: linear-gradient(160deg, #2A3A6E, #13204A) center / cover; }
.as-pkgd { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: rgba(255,255,255,.92); color: #14213D; }
.as-pkgb { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.as-pkgb b { font-size: 1.0625rem; }
.as-pkgb small { color: var(--mut); font-size: .8125rem; line-height: 1.4; }
.as-pkgb button { align-self: flex-start; margin-top: 8px; }

/* B37: on phones the itinerary comes first, extras after */
@media (max-width:860px){ html.zn .lay2{display:flex;flex-direction:column} html.zn .lay2 .colL{order:1} html.zn .lay2 .colR{order:2} }
