/* V9 offline preview extension. All V8 CSS retained for precise rollback. */
.v9-nav-logo{display:none;line-height:0;min-width:0}
.v9-menu-label{display:none}
.v9-hero-logo-video{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;transform:scale(1.18);mix-blend-mode:normal;opacity:0;transition:opacity .35s ease;pointer-events:none}
.v9-logo-motion{position:relative;display:block;isolation:auto}
.v9-logo-motion.v9-logo-playing .v9-hero-logo-video{opacity:1}
.v9-logo-motion .hero-logo{display:block;opacity:1;transition:opacity .35s ease}
.v9-logo-motion.v9-logo-playing .hero-logo{opacity:0}
.v9-policy-hub{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:36px 0}
.v9-policy-item{display:flex;align-items:center;gap:18px;min-height:132px;padding:24px;border:1px solid #a9875370;background:linear-gradient(138deg,#14243bdf,#08121fdc 70%);border-radius:12px;color:#f4e6c7;transition:border-color .16s,transform .16s}
.v9-policy-item:hover{border-color:#ecd19d;transform:translateY(-2px)}
.v9-policy-item>.icon:first-child{width:34px;height:34px;color:#e5ba75;flex:none}
.v9-policy-item>.icon:last-child{margin-left:auto;color:#d3a35c;width:18px;flex:none}
.v9-policy-item span{display:grid;gap:6px;min-width:0}
.v9-policy-item strong{font:600 clamp(17px,2.1vw,22px)/1.35 Georgia,'Noto Serif TC',serif;letter-spacing:.035em;font-variant-numeric:lining-nums}
.v9-policy-item small{color:#bfc8d5;line-height:1.6}
.v9-guide-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 28px}
.v9-info-panel{background:linear-gradient(155deg,#102036e3,#060f1ae8);border:1px solid #af864a7a;padding:26px;border-radius:12px}
.v9-info-panel h2{font-family:Georgia,'Noto Serif TC',serif;color:#eed2a0;font-size:clamp(18px,2.2vw,25px);margin:9px 0 16px;font-variant-numeric:lining-nums}
.v9-info-panel p{color:#d5dce4;line-height:1.78;margin:0 0 22px}
.v9-info-panel .btn{min-height:42px}
.v9-mobile-drawer{display:none}
@media(max-width:1099px){
 body[data-home-mode] .site-header.v5-header.a12-site-nav{width:min(calc(100vw - 16px),680px);top:2px;border:0!important;border-radius:0!important;background:linear-gradient(90deg,#050c1700 0%,#050c17ed 7%,#050c17ed 93%,#050c1700 100%)!important;box-shadow:none!important}
 body[data-home-mode] .a12-site-nav .a14-frame{display:block}
 body[data-home-mode] .a12-site-nav .a14-flourish{top:3px;width:72px;height:52.8px}
 body[data-home-mode] .a12-site-nav .a14-flourish-right{width:73.6px}
 body[data-home-mode] .a12-site-nav .a14-rule{top:49.7px}
 body[data-home-mode] .a12-site-nav .a14-rule-left{left:65px;right:50%}
 body[data-home-mode] .a12-site-nav .a14-rule-right{right:64px;left:50%}
 body[data-home-mode] .a12-site-nav .nav-inner.a12-nav-content{padding:0 12px;display:flex;justify-content:space-between;gap:8px}
 body[data-home-mode] .a12-site-nav .nav-brand{display:flex!important;position:relative;align-items:center;min-width:0;max-width:calc(100% - 165px);height:100%;line-height:0}
 .a12-site-nav .nav-brand .brand-img{display:none!important}
 .a12-site-nav .nav-brand .v9-nav-logo{display:block;width:100%;max-width:190px}
 .a12-site-nav .nav-brand .v9-nav-logo img{width:100%;height:auto;max-height:49px;object-fit:contain;object-position:left center}
 body[data-home-mode] .a12-site-nav .nav-tools.a12-nav-tools{margin-left:auto!important;padding:0;gap:6px;flex:none;min-width:0}
 body[data-home-mode] .a12-site-nav .a12-search-anchor,body[data-home-mode] .a12-site-nav .a12-cart,body[data-home-mode] .a12-site-nav .a12-account-anchor{display:none!important}
 body[data-home-mode] .a12-site-nav .a12-lang-trigger{height:44px;min-height:44px;min-width:70px;padding:0 8px;white-space:nowrap;border:1px solid #8a6b48;border-radius:7px;background:#101b2a;box-sizing:border-box}
 body[data-home-mode] .a12-site-nav .a12-mobile-toggle{display:flex!important;align-items:center;justify-content:center;width:auto;min-width:91px;height:44px;min-height:44px;padding:0 11px!important;gap:7px;border:1px solid #c79a51;border-radius:8px;background:linear-gradient(145deg,#513719,#1d1b1b);box-shadow:inset 0 0 0 1px #e2bf7344,0 0 16px #bd8a3830;color:#ffdfad;font:600 14px/1 system-ui,sans-serif;white-space:nowrap}
 body[data-home-mode] .a12-site-nav .a12-mobile-toggle .v9-menu-label{display:inline}
 body[data-home-mode] .a12-site-nav .a12-mobile-menu.v9-mobile-drawer:not([hidden]){display:block!important;left:auto!important;right:0!important;top:65px!important;width:min(395px,calc(100vw - 16px))!important;min-width:0!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 80px)!important;padding:0!important;border:1px solid #c69b5d!important;border-radius:13px!important;background:linear-gradient(150deg,#0a1829f9,#050b13fc 86%)!important;box-shadow:0 20px 70px #000e,0 0 0 1px #d1a0613b!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;z-index:330}
 .v9-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 17px;background:#13223687;border-bottom:1px solid #94744964}
 .v9-drawer-head .kicker{color:#e9c992;letter-spacing:.13em;font-size:11px}
 .v9-drawer-close{display:flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;border:1px solid #94754d66;border-radius:8px;color:#efd2a2;background:#0a1726}
 .v9-mobile-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:17px 13px 19px;border-bottom:1px solid #9875483d}
 .v9-mobile-quick>a,.v9-mobile-quick>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:70px;padding:7px 3px;border:1px solid #ae884a66;border-radius:9px;color:#f4e0bd;background:linear-gradient(145deg,#13243a,#0a1625);font-size:12px;text-align:center;text-decoration:none}
 .v9-mobile-quick .icon{height:21px;width:21px;color:#e8c182}
 .v9-mobile-section-label{font-size:11px;font-weight:700;letter-spacing:.14em;color:#c1a57c;margin:15px 17px 7px}
 .v9-mobile-links,.v9-mobile-more nav{display:grid;gap:4px;padding:0 13px 12px}
 .v9-mobile-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px 12px!important;border-radius:7px;border:1px solid transparent;color:#f4e7d6;text-decoration:none;line-height:1.4;font-size:14px;overflow-wrap:anywhere}
 .v9-mobile-row:hover,.v9-mobile-row:focus-visible{background:#c198481e;border-color:#c8a86e77}
 [data-control-panel-mobile] button.v9-mobile-row{width:100%;font-family:inherit;text-align:left;cursor:pointer;background:transparent}
 .v9-mobile-row .icon{height:15px;width:15px;flex:none;color:#caa36c}
 .v9-mobile-more{padding:12px 0 0;border-top:1px solid #96734459}
 .v9-mobile-more>summary{display:flex;align-items:center;gap:10px;min-height:48px;margin:0 13px 9px;padding:0 12px;border:1px solid #b68f555a;border-radius:8px;background:#182437bc;color:#f2d29a;cursor:pointer;font-weight:600;font-size:13px;list-style:none}
 .v9-mobile-more>summary::-webkit-details-marker{display:none}
 .v9-mobile-more>summary .icon{width:18px;height:18px;color:#e2be7b;flex:none}
 .v9-mobile-more>summary .icon:last-child{margin-left:auto}
 .v9-mobile-more nav{padding-left:22px;padding-right:22px}
 .v9-mobile-foot{font-size:10px;letter-spacing:.10em;color:#9aaabc;border-top:1px solid #96734442;text-align:center;padding:16px 12px}
}
@media(max-width:730px){body[data-home-mode] .site-header.v5-header.a12-site-nav{height:60px}}
@media(max-width:370px){
 body[data-home-mode] .a12-site-nav .nav-inner.a12-nav-content{padding:0 7px;gap:3px}
 body[data-home-mode] .a12-site-nav .nav-brand{max-width:calc(100% - 149px)}
 body[data-home-mode] .a12-site-nav .nav-brand .v9-nav-logo{max-width:135px}
 body[data-home-mode] .a12-site-nav .nav-brand .v9-nav-logo img{max-height:45px}
 body[data-home-mode] .a12-site-nav .nav-tools.a12-nav-tools{gap:4px}
 body[data-home-mode] .a12-site-nav .a12-lang-trigger{min-width:64px;padding:0 4px;font-size:12px}
 body[data-home-mode] .a12-site-nav .a12-mobile-toggle{min-width:78px;padding:0 8px!important;font-size:12px;gap:4px}
 body[data-home-mode] .a12-site-nav .a12-mobile-toggle .icon{height:17px;width:17px}
}
@media(max-width:640px){.v9-policy-hub,.v9-guide-sections{grid-template-columns:1fr}.v9-policy-item{min-height:115px;padding:20px}}
@media(prefers-reduced-motion:reduce){.v9-hero-logo-video,.v9-policy-item{transition:none}.v9-logo-motion .v9-hero-logo-video{display:none!important}.v9-logo-motion .hero-logo{opacity:1!important}}

/* TASK017 R4: reserve visible original corner artwork outside interactive controls. */
@media(min-width:600px) and (max-width:1099px){body[data-home-mode] .a12-site-nav .nav-inner.a12-nav-content{padding-left:82px;padding-right:82px}}
@media(max-width:599px){
 body[data-home-mode] .a12-site-nav .nav-inner.a12-nav-content{padding-left:40px;padding-right:40px}
 body[data-home-mode] .a12-site-nav .a14-flourish{width:32px;height:23.47px}
 body[data-home-mode] .a12-site-nav .a14-flourish-right{width:32.71px}
 body[data-home-mode] .a12-site-nav .a14-rule-left{left:29px}
 body[data-home-mode] .a12-site-nav .a14-rule-right{right:29px}
}
@media(max-width:370px){
 body[data-home-mode] .a12-site-nav .nav-inner.a12-nav-content{padding-left:32px;padding-right:32px}
 body[data-home-mode] .a12-site-nav .a14-flourish{width:26px;height:19.07px}
 body[data-home-mode] .a12-site-nav .a14-flourish-right{width:26.58px}
 body[data-home-mode] .a12-site-nav .a14-rule-left{left:24px}
 body[data-home-mode] .a12-site-nav .a14-rule-right{right:24px}
}

/* TASK018: the desktop A14 frame vocabulary, limited to the existing narrow header/drawer. */
@media(max-width:1099px){
 body[data-home-mode] .site-header.v5-header.a12-site-nav{
  --nav-h:58px;--frame-line:52.5px;
  --a18-left-w:72px;--a18-right-w:73.6px;--a18-art-h:52.8px;--a18-art-line:46.667px;--a18-join:65px;--a18-safe:82px;
  --a18-frame-bg:linear-gradient(90deg,#050c1700 0%,#050c17ed 7%,#050c17ed 93%,#050c1700 100%);
  --a18-gold-rule:linear-gradient(90deg,#8c622a 0%,#cc9d56 30%,#e2be7a 65%,#b48749 100%);
  background:var(--a18-frame-bg)!important;
 }
 body[data-home-mode=hero] .site-header.v5-header.a12-site-nav{--a18-frame-bg:linear-gradient(90deg,#050c1700 0%,#050c17c7 7%,#050c17cc 93%,#050c1700 100%)}
 body[data-home-mode] .a12-site-nav .a14-flourish{top:calc(var(--frame-line) - var(--a18-art-line));width:var(--a18-left-w);height:var(--a18-art-h)}
 body[data-home-mode] .a12-site-nav .a14-flourish-right{width:var(--a18-right-w)}
 body[data-home-mode] .a12-site-nav .a14-rule{top:var(--frame-line)}
 body[data-home-mode] .a12-site-nav .a14-rule-left{left:var(--a18-join)}
 body[data-home-mode] .a12-site-nav .a14-rule-right{right:var(--a18-join)}

}
@media(max-width:730px){body[data-home-mode] .site-header.v5-header.a12-site-nav{--nav-h:60px;--frame-line:54.5px}}
@media(max-width:599px){body[data-home-mode] .site-header.v5-header.a12-site-nav{--a18-left-w:32px;--a18-right-w:32.71px;--a18-art-h:23.47px;--a18-art-line:20.744px;--a18-join:29px;--a18-safe:40px}}
@media(max-width:370px){body[data-home-mode] .site-header.v5-header.a12-site-nav{--a18-left-w:26px;--a18-right-w:26.58px;--a18-art-h:19.07px;--a18-art-line:16.855px;--a18-join:24px;--a18-safe:32px}}

/* L8A4: the fallback poster uses the same crop and scale as the movie. */
@media(min-width:960px){body[data-page="home"] .v9-logo-motion .hero-logo{transform:scale(1.18)!important}}
/* H6B2 mobile only: one complete opaque movie, same-canvas poster and static scene. */
.h6-mobile-play{display:none}
@media(max-width:959px){
 body.c2-home-host{--h6-stage:min(100vw,480px)}
 body.c2-home-host[data-home-mode="hero"]{overflow-y:auto;touch-action:pan-y}
 body.c2-home-host[data-home-mode="hero"] .hero{height:auto;min-height:100vh;min-height:max(100svh,calc(var(--h6-stage) * 16 / 9));max-height:none;background:#060c18;overflow:hidden;display:block}
 body.c2-home-host[data-home-mode="hero"] .hero:before,body.c2-home-host[data-home-mode="hero"] .hero:after,body.c2-home-host[data-home-mode="hero"] .hero-content:before{content:none}
 body.c2-home-host[data-home-mode="hero"] .hero>picture{display:contents}
 body.c2-home-host[data-home-mode="hero"] .hero-bg,body.c2-home-host[data-home-mode="hero"] .hero-poster{position:absolute;inset:0 auto auto 50%;width:var(--h6-stage);height:calc(var(--h6-stage) * 16 / 9);max-width:none;transform:translateX(-50%);object-fit:fill;object-position:center}
 body.c2-home-host[data-home-mode="hero"] .hero-content{position:relative;top:auto;left:auto;transform:none;width:100%;padding:max(76px,calc(var(--h6-stage) * .3 - 24px)) 0 48px;align-items:center}
 body.c2-home-host[data-home-mode="hero"] .hero-overline{font-size:10px;line-height:16px;height:16px;margin:0 0 8px;white-space:nowrap;max-width:calc(100% - 24px);letter-spacing:.1em}
 body.c2-home-host[data-home-mode="hero"] .hero-content h1#heroBrand{margin:0!important;width:var(--h6-stage);height:calc(var(--h6-stage) * 9 / 16);flex:none}
 body.c2-home-host[data-home-mode="hero"] .hero-wordmark{width:100%;height:100%;max-width:none;aspect-ratio:16/9;transform:none}
 body.c2-home-host[data-home-mode="hero"] .hero-logo{opacity:0!important}
 body.c2-home-host[data-home-mode="hero"] .v9-hero-logo-video,body.c2-home-host #sceneVideo{display:none!important}
 body.c2-home-host[data-home-mode="hero"] .hero-tagline{font-size:20px;line-height:1.4;white-space:normal;max-width:min(440px,calc(100% - 38px));margin:12px 0 28px}
 body.c2-home-host[data-home-mode="hero"] .hero-content .hero-actions{width:min(520px,calc(100% - 32px));flex-direction:column;align-items:center;gap:12px}
 body.c2-home-host[data-home-mode="hero"] .hero-content .hero-cta,body.c2-home-host[data-home-mode="hero"] .hero-content .hero-cta.purple{width:min(100%,320px)!important;min-width:0!important;max-width:100%;height:49px;min-height:49px;padding:10px 12px;font-size:15px}
 body.c2-home-host[data-home-mode="hero"] .hero-scroll{position:relative;left:auto;bottom:auto;transform:none;min-height:44px;margin-top:14px;font-size:16px}
 body.c2-home-host[data-home-mode="hero"] .h6-mobile-play:not([hidden]){display:inline-flex;align-items:center;justify-content:center;max-width:calc(100% - 32px);min-height:44px;margin-top:14px;padding:10px 16px;border:1px solid #d8bd7f;border-radius:6px;background:#102035;color:#ffe4b3}
}
