/* Match the existing Hero frame exactly; all new selectors stay inside it. */
.hero-slideshow[data-bsky-hero] .hero-stage{position:relative;overflow:hidden;isolation:isolate;z-index:0;height:clamp(360px,58vw,680px)}
.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--framing);opacity:0;transform:none;will-change:auto}
.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide:first-child{opacity:1;z-index:1}
.hero-slideshow[data-bsky-hero] .hero-pause{position:absolute;right:20px;top:20px;z-index:3;min-height:44px;max-width:calc(100% - 40px);padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:14px;font-weight:700;box-shadow:0 4px 16px rgba(11,42,74,.1)}
.hero-slideshow[data-bsky-hero] .hero-pause:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.hero-slideshow[data-bsky-hero] .hero-pause:disabled{cursor:default;opacity:1}
@media(max-width:720px){.hero-slideshow[data-bsky-hero] .hero-stage{height:360px}.hero-slideshow[data-bsky-hero] .hero-pause{top:12px;left:12px;right:auto;padding:9px 12px;font-size:13px;max-width:calc(100% - 24px)}.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{object-position:var(--mobile-framing,var(--framing))}}

.hero-slideshow[data-bsky-hero] .hero-pause{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;background:rgba(255,255,255,.86);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.hero-slideshow[data-bsky-hero] .hero-pause .hero-icon-play{display:none}
.hero-slideshow[data-bsky-hero] .hero-pause[aria-pressed="true"] .hero-icon-pause{display:none}
.hero-slideshow[data-bsky-hero] .hero-pause[aria-pressed="true"] .hero-icon-play{display:block}
.hero-slideshow[data-bsky-hero] .hero-pause:disabled .hero-icon-play{display:none}
.hero-slideshow[data-bsky-hero] .hero-pause:disabled .hero-icon-pause{display:block}

/* Decorative circular flag only: preserve the existing language link and accessible name. */
.bsky-plan-b #header a.langbtn[href$="/zh/"]::before{content:"";display:inline-block;width:28px;height:28px;flex:0 0 28px;margin-right:7px;vertical-align:middle;background:url("assets/taiwan-flag-circle.svg") center/contain no-repeat}

/* Astra assigns headings their own dark color; set color on the headings themselves. */
.bsky-plan-b :is(.band-dark,.app,.site-footer) :is(h1,h2,h3,h4,h5,h6){color:#fff}
/* Keep pale quotation text readable even over the brightest gradient stop. */
.bsky-plan-b .plan-quote{background:linear-gradient(160deg,#0a2c50,#0062a5 72%,#0065a8)}
.bsky-plan-b :is(.band-dark,.app,.site-footer) :is(a,button):focus-visible{outline:3px solid #7dd3fc;outline-offset:3px}
.bsky-plan-b :is(.fleet-choice,.app-tabs button):hover:not([aria-pressed="true"]){background:#173e60;color:#fff;border-color:#7dd3fc}

/* Header already lives inside this scroller: do not subtract a second viewport strip. */
html:has(body.bsky-plan-b-page){overflow:clip;scroll-padding:0}
body.bsky-plan-b-page .bsky-plan-b{position:fixed;inset:var(--bsky-admin) 0 0;min-width:0;overflow:hidden}
body.bsky-plan-b-page .bsky-plan-b .page-scroll{height:100%;width:100%;min-width:0}

/* Owner-requested crystal blue treatment; keep existing CTA geometry and links. */
.bsky-plan-b .hero-cta .btn-ghost,.bsky-plan-b .floating-access .floating-book{
  color:#074869;
  background:linear-gradient(145deg,rgba(255,255,255,.98) 0%,rgba(177,226,250,.94) 48%,rgba(225,247,255,.96) 100%);
  border-color:#9bcce5;
  box-shadow:inset 0 1px 0 #fff,inset 0 0 0 1px #ffffff80,0 4px 14px #0071ce1a;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.bsky-plan-b .hero-cta .btn-ghost:hover,.bsky-plan-b .floating-access .floating-book:hover{background:linear-gradient(145deg,#fff,#9ed8f5 48%,#d3f1ff);color:#053a57}
.bsky-plan-b .hero-cta .btn-ghost:focus-visible,.bsky-plan-b .floating-access .floating-book:focus-visible{outline:3px solid #0071ce;outline-offset:3px}

/* Enlarge only the header brand; retain the original asset ratio and footer logo. */
.bsky-plan-b #header .logo-img{height:50px;width:auto;max-width:100%;object-fit:contain}
@media(max-width:1020px){.bsky-plan-b #header .logo-img{height:44px}}
@media(max-width:720px){.bsky-plan-b #header .logo-img{height:42px}}

/* Reduce only the floating control surfaces by 20%; keep labels fully opaque. */
.bsky-plan-b .floating-access{background:rgba(255,255,255,.768)}
.bsky-plan-b .floating-access .floating-book{background:linear-gradient(145deg,rgba(255,255,255,.784) 0%,rgba(177,226,250,.752) 48%,rgba(225,247,255,.768) 100%)}
.bsky-plan-b .floating-access .floating-book:hover{background:linear-gradient(145deg,rgba(255,255,255,.8),rgba(158,216,245,.8) 48%,rgba(211,241,255,.8))}

/* Owner request: make only the header surface 30% less opaque, not its text/logo. */
.bsky-plan-b #header{background:color-mix(in srgb,var(--bg) 50%,transparent)}

/* Frost the backdrop without fading navigation labels. */
.bsky-plan-b #header{backdrop-filter:blur(28px) saturate(1.25);-webkit-backdrop-filter:blur(28px) saturate(1.25)}
.bsky-plan-b #header .navlinks a{color:#101218}

/* Local AA correction on the existing light Technology surface. */
.bsky-plan-b #technology>.wrap>.eyebrow,.bsky-plan-b #technology .num{color:#0067bc}
.bsky-plan-b .homepage-faq .faq-q{font-size:18px;line-height:1.45;gap:20px}
.bsky-plan-b .homepage-faq .faq-a{font-size:16px;max-width:900px;line-height:1.65}
.bsky-plan-b .homepage-faq .faq-a p{margin:0 0 14px}
.bsky-plan-b .homepage-faq .faq-all{display:inline-flex;align-items:center;min-height:44px;margin-top:22px;font-weight:700;color:#0067bc;text-decoration:underline;text-underline-offset:4px}
.bsky-plan-b #services .svc-panel{min-height:var(--service-card-height,0)}
.bsky-plan-b #services .service-pause{display:grid;place-items:center;width:44px;height:44px;padding:0;margin:0 0 16px auto;border:1px solid #dbe4ee;border-radius:50%;background:#fff;color:#101218;font-size:20px}
.bsky-plan-b #services .service-pause:focus-visible{outline:3px solid #0071ce;outline-offset:3px}
@media(max-width:720px){.bsky-plan-b .homepage-faq .faq-q{font-size:17px;gap:14px}}
/* Native anchors must move the inner scroller, never the outer WordPress document. */
body.bsky-plan-b-page{position:fixed;inset:0;min-height:0;height:auto;overflow:clip}
/* overflow:hidden creates a second programmatically scrollable viewport; clip does not. */
body.bsky-plan-b-page .bsky-plan-b{overflow:clip}


.bsky-plan-b #partners .partner-showcase{display:block;color:inherit;text-decoration:none;border-radius:28px}
.bsky-plan-b #partners .partner-showcase:focus-visible{outline:3px solid #0071ce;outline-offset:5px}
.bsky-plan-b #partners .partner-showcase:hover{outline:1px solid #9bcce5;outline-offset:3px}

/* Animate only the existing booking slot; keep Top stationary and usable. */
.bsky-plan-b .floating-access{--expanded-gap:10px;gap:var(--expanded-gap);transition:gap .42s cubic-bezier(.22,.61,.36,1)}
.bsky-plan-b .floating-book-slot{display:block;width:var(--floating-book-width,130px);overflow:hidden;opacity:1;transform:translateX(0);transition:width .42s cubic-bezier(.22,.61,.36,1),opacity .25s ease,transform .42s ease}
.bsky-plan-b .floating-book-slot .floating-book{width:max-content;white-space:nowrap}
.bsky-plan-b .floating-access.is-compact{gap:0}
.bsky-plan-b .floating-access.is-compact .floating-book-slot{width:0;opacity:0;transform:translateX(12px);pointer-events:none}
@media(prefers-reduced-motion:reduce){.bsky-plan-b .floating-access,.bsky-plan-b .floating-book-slot{transition:none}}

@media(max-width:720px){.bsky-plan-b .floating-access{--expanded-gap:4px}}

.bsky-plan-b .footer-contact{min-width:0;width:max-content;max-width:100%}
.bsky-plan-b .footer-contact address{font-style:normal;line-height:1.6;margin:12px 0}
.bsky-plan-b .footer-contact p{margin:0 0 8px}
.bsky-plan-b .footer-contact a{display:inline-block;min-height:32px;line-height:1.6;overflow-wrap:anywhere}
/* Footer-only brand enlargement: scale the image and its existing white chip by 30%. */
.bsky-plan-b .site-footer .logo-chip{padding:7.8px 13px;border-radius:13px}
.bsky-plan-b .site-footer .logo-chip .logo-img{height:44.2px;width:auto;max-width:100%;object-fit:contain}

.bsky-plan-b .footer-contact address{white-space:nowrap}
.bsky-plan-b .footer-contact .footer-phones{display:flex;gap:16px;align-items:center}
.bsky-plan-b .footer-contact .footer-phones a{white-space:nowrap}
@media(max-width:390px){.bsky-plan-b .footer-contact{font-size:14px}.bsky-plan-b .footer-contact .footer-phones{gap:12px}}
.bsky-plan-b #partners .partner-showcase{cursor:zoom-in}
body.bsky-plan-b-page .bsky-partner-dialog{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:16px;width:min(1200px,94vw);max-width:94vw;max-height:90dvh;background:transparent;overflow:visible;box-shadow:0 24px 80px #0008}
body.bsky-plan-b-page .bsky-partner-dialog[open]{animation:bsky-partner-open .28s ease-out both}
body.bsky-plan-b-page .bsky-partner-dialog.is-closing[open]{animation:bsky-partner-close .24s ease-in both}
.bsky-partner-dialog::backdrop{background:rgba(4,16,30,.82);backdrop-filter:blur(5px)}
.bsky-partner-dialog img{display:block;width:100%;max-height:90dvh;object-fit:contain;border-radius:16px;cursor:zoom-out}
.bsky-partner-dialog button{position:absolute;right:8px;top:8px;width:44px;height:44px;padding:0;border:1px solid #dbe4ee;border-radius:50%;background:#fffffff0;color:#101218;font:30px/1 sans-serif;cursor:pointer}
.bsky-partner-dialog button:focus-visible{outline:3px solid #0071ce;outline-offset:3px}
@keyframes bsky-partner-open{from{opacity:0;transform:scale(.86)}to{opacity:1;transform:scale(1)}}
@keyframes bsky-partner-close{from{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.86)}}
@media(prefers-reduced-motion:reduce){body.bsky-plan-b-page .bsky-partner-dialog[open]{animation:none}}
/* Keep overscan inside the existing rounded frame and anchor zoom above the subject's head. */
.hero-slideshow[data-bsky-hero]{--bsky-parallax-pad:10px}
.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{top:calc(-1 * var(--bsky-parallax-pad));bottom:auto;height:calc(100% + 2 * var(--bsky-parallax-pad));translate:0 clamp(0px,var(--bsky-hero-parallax,0px),var(--bsky-parallax-pad));transform-origin:center top}
@media(max-width:720px){.hero-slideshow[data-bsky-hero]{--bsky-parallax-pad:4px}}
@media(prefers-reduced-motion:reduce){.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{top:0;height:100%;translate:none}}

.bsky-plan-b .footer-legal a{display:inline-block;min-height:32px;line-height:1.6}
/* One copy layer moves into the image; the badge stops approaching at their shared boundary. */
.bsky-plan-b .hero-copy{position:relative;z-index:3;background:transparent;transform:translateY(var(--bsky-title-lag,0px))}
.bsky-plan-b .hero .hero-copy h1,.bsky-plan-b .hero .hero-copy .hero-sub{transform:none;text-shadow:0 0 2px #fff,0 0 5px #fff,0 0 10px #fff}
.bsky-plan-b .hero .hero-cta{translate:none;justify-content:flex-end;padding:0 16px 24px 0}
@media(min-width:1101px){
.bsky-plan-b .hero-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px}
.bsky-plan-b .hero-copy h1{grid-column:1;grid-row:1}
.bsky-plan-b .hero-copy .hero-sub{grid-column:1 / -1;grid-row:2}
.bsky-plan-b .hero-copy .hero-cta{grid-column:2;grid-row:1;align-self:end;margin-top:0;padding:0 16px 6px 0}
}
.hero-slideshow[data-bsky-hero]{overflow:visible;background:transparent}
.hero-slideshow[data-bsky-hero] .hero-stage{border-radius:inherit;overflow:hidden}
.hero-slideshow[data-bsky-hero] .hero-badge{translate:0 var(--bsky-badge-y,0px);z-index:4}
.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{translate:0 clamp(0px,var(--bsky-hero-parallax,var(--bsky-parallax-pad)),var(--bsky-parallax-pad))}
@media(prefers-reduced-motion:reduce){.bsky-plan-b .hero-copy{transform:none}.hero-slideshow[data-bsky-hero] .hero-badge,.hero-slideshow[data-bsky-hero] .hero-stage .hero-slide{translate:none}}

.bsky-plan-b #fleet .fleet-photo-stage{position:relative}
.bsky-plan-b #fleet .fleet-photo.active{position:relative;z-index:2}
.bsky-plan-b #fleet .fleet-photo.active>img{animation:none}
.bsky-plan-b #fleet .fleet-photo.is-leaving[hidden]{display:block!important;position:absolute;inset:0;z-index:1;pointer-events:none}

/* Stronger Hero depth on wide screens; tighter framing protects heads at narrow widths. */
.hero-slideshow[data-bsky-hero]{--bsky-parallax-pad:26px}
@media(max-width:1100px){.hero-slideshow[data-bsky-hero]{--bsky-parallax-pad:10px}}
@media(max-width:720px){.hero-slideshow[data-bsky-hero]{--bsky-parallax-pad:6px}}
@media(min-width:1101px){.hero-slideshow[data-bsky-hero] .hero-slide:last-child{object-position:50% -12%}}
.bsky-plan-b .fleet-amenities{font-size:14px;line-height:1.6;color:#b9d4ee;margin:12px 0 0}

/* Mirror the Taiwan language-switch flag on the Traditional Chinese homepage. */
.bsky-plan-b #header a.langbtn[data-bsky-language="en"]::before{content:"";display:inline-block;width:28px;height:28px;flex:0 0 28px;margin-right:7px;vertical-align:middle;background:url("assets/us-flag-circle.svg") center/contain no-repeat}

/* Longer coverage heading stays in the existing card; all other statistics retain their style. */
.bsky-plan-b #about .stat.service-coverage b{font-size:clamp(22px,2.5vw,34px);line-height:1.12;letter-spacing:-.035em;margin-bottom:10px}
@media(max-width:360px){.bsky-plan-b #about .stat.service-coverage{display:block}}

/* Compact booking entries share the amenities row; narrow layouts wrap naturally. */
.bsky-plan-b .fleet-amenities-row{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin-top:12px}
.bsky-plan-b .fleet-amenities-row .fleet-amenities{flex:1 1 230px;margin:0}
.bsky-plan-b .fleet-quick-links{display:flex;flex-wrap:wrap;gap:8px}
.bsky-plan-b .fleet-quick-link{min-height:44px;padding:8px 12px;font-size:13px;line-height:1.25;white-space:normal}

.bsky-plan-b #fleet a.fleet-quick-link,.bsky-plan-b #fleet a.fleet-quick-link:visited,.bsky-plan-b #fleet a.fleet-quick-link:focus{color:#fff;background:#0071ce;border-color:#0071ce}
.bsky-plan-b #fleet a.fleet-quick-link:hover{color:#fff;background:#005da8;border-color:#005da8}

.hero-slideshow[data-bsky-hero] .hero-pause{top:var(--bsky-pause-y,20px)}
