:root{--bg:#100c0b;--panel:#1b1210;--gold:#dfb879;--muted:#ac9b90;--line:#493023;--white:#f5e8d4}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--bg);color:var(--white);font-family:'Be Vietnam Pro',Arial,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}a,button{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #ffd595;outline-offset:6px}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:'Philosopher',Georgia,serif}.wrap{max-width:1240px;width:calc(100% - 80px);margin-inline:auto}.cv-header{height:88px;padding:0 max(40px,calc((100vw - 1360px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #8d583c50;background:#100b0a;position:relative;z-index:3;gap:30px}.brand{display:flex;gap:11px;align-items:center;font-family:'Philosopher',Georgia,serif;font-size:21px;color:#edc58b;font-weight:700;white-space:nowrap}.brand small{display:block;font:10px 'Be Vietnam Pro',sans-serif;letter-spacing:5px;margin-bottom:3px}.cv-header nav{display:flex;gap:34px;height:100%;align-items:center;font-size:12px;color:#c2afa0}.cv-header nav a{display:flex;align-items:center;height:100%;position:relative;gap:9px}.cv-header nav a:hover,.cv-header nav .active{color:#f9d49b}.cv-header nav .active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:#e4b574}.account-link{border:1px solid #735135;padding:12px 20px;font-size:12px;color:#e5c49a;display:flex;gap:22px;max-width:230px;overflow-wrap:anywhere}.hero{min-height:790px;position:relative;background:url('/public/images/chien-vuong/palace.png') center 43%/cover no-repeat;display:grid;place-items:center;text-align:center;isolation:isolate;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,#100b0a10 0%,#16090515 32%,#150b0866 65%,#100c0b 100%),linear-gradient(90deg,#10090766,transparent 35%,transparent 65%,#10090766);z-index:-1}.hero-content{position:relative;display:flex;align-items:center;flex-direction:column;padding:34px 20px 62px}.eyebrow{color:var(--gold);letter-spacing:2.8px;font-size:10px;font-weight:600;line-height:1.8}.hero .eyebrow{display:flex;gap:18px;align-items:center;text-shadow:0 2px 8px #000}.hero .eyebrow span{width:46px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}.hero .eyebrow span:last-child{transform:rotate(180deg)}.hero-logo{width:min(530px,80vw);height:300px;object-fit:contain;filter:drop-shadow(0 8px 18px #100300);margin:7px 0 -5px}.hero h1{font-size:clamp(35px,3.8vw,53px);line-height:1.12;text-shadow:0 3px 16px #150401;font-weight:700}.hero h1 em{font-style:normal;color:#f6cd8d}.hero-intro{color:#e0cabb;line-height:1.9;font-size:13px;margin-top:20px;text-shadow:0 2px 6px #000}.hero-actions{display:flex;gap:14px;margin-top:30px}.button{min-height:53px;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:16px 26px;font-size:11px;letter-spacing:1px;font-weight:700;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px)}.primary{background:linear-gradient(110deg,#f3cd8e,#bb743b);color:#281208;border:1px solid #ffdaa0;box-shadow:0 3px 30px #db602033}.primary span{font-size:24px;line-height:16px}.secondary{border:1px solid #8f6542;background:#20120bd9;color:#edc18a}.secondary:hover{background:#452416}.explore{font-size:9px;letter-spacing:2px;color:#bba18a;margin-top:34px;display:grid;gap:6px}.explore span{font-size:24px}.hero-side{position:absolute;right:29px;top:40%;writing-mode:vertical-rl;letter-spacing:5px;color:#e8b07899;font-size:9px}.embers{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(2px 2px at 12% 60%,#ffab53,transparent),radial-gradient(2px 2px at 83% 45%,#ffd79c,transparent),radial-gradient(2px 2px at 26% 77%,#ffab53,transparent),radial-gradient(2px 2px at 70% 82%,#ffab53,transparent);animation:embers 7s ease-in-out infinite alternate}@keyframes embers{to{transform:translateY(-28px);opacity:.4}}.downloads{position:relative;margin-top:-22px;z-index:2;display:flex;background:linear-gradient(110deg,#291a13,#191110);border:1px solid #745031;padding:25px 28px;gap:32px;align-items:center;box-shadow:0 12px 50px #0004}.download-label{min-width:180px}.download-label .eyebrow{font-size:8px;letter-spacing:2px}.download-label h2{font-size:24px;margin-top:4px}.platforms{display:grid;grid-template-columns:repeat(4,1fr);flex:1}.platform{display:flex;align-items:center;gap:13px;padding:10px 17px;background:transparent;border-left:1px solid var(--line);text-align:left;transition:background .2s}.platform:hover{background:#c3914914}.platform-icon{font-size:29px;color:#d8ac6e}.platform strong{font-size:14px;display:block}.platform small{display:block;font-size:8px;color:#b5a092;white-space:nowrap;margin-top:6px}.download-arrow{margin-left:auto;color:#c7a370;font-size:19px}.world{padding-top:76px;padding-bottom:54px}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2{font-size:40px;margin-top:9px}.section-heading>p{font-size:12px;line-height:1.9;color:var(--muted)}.world-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:28px}.world-feature{position:relative;isolation:isolate;overflow:hidden;min-height:365px;border:1px solid #805138;display:flex;align-items:end}.feature-art{position:absolute;inset:0;background:linear-gradient(90deg,#190b06e6,#190b0622),linear-gradient(0deg,#190c08,transparent),url('/public/images/chien-vuong/palace.png') 65% 40%/cover;z-index:-1;transition:transform .6s}.world-feature:hover .feature-art{transform:scale(1.04)}.feature-copy{padding:32px}.tag{font-size:8px;letter-spacing:1.6px;color:#d8a667;font-weight:700}.feature-copy .tag{border:1px solid #966749;padding:6px 10px}.feature-copy h3{font-size:35px;line-height:1.18;margin:24px 0 15px}.feature-copy p{font-size:11px;color:#cbb7a7;line-height:1.9}.text-link{display:flex;gap:24px;font-size:9px;letter-spacing:1.6px;color:#e2b576;margin-top:24px}.news-panel{border-top:1px solid var(--line)}.news-item{width:100%;background:transparent;display:flex;text-align:left;align-items:center;gap:24px;padding:27px 12px;border-bottom:1px solid var(--line);transition:background .2s}.news-item:hover{background:#d5934510}.news-number{font-family:Georgia,serif;font-size:27px;color:#70513b}.news-item h3{font-size:25px;margin:7px 0 8px}.news-item p{font-size:11px;color:var(--muted)}.news-item>b{color:#c9a16e;font-weight:400;margin-left:auto;font-size:23px}.community{padding:36px 32px;display:flex;align-items:center;gap:27px;border-block:1px solid #66452c;background:radial-gradient(ellipse at left,#57221844,transparent 70%)}.community-seal{height:80px;width:80px;flex-shrink:0;border:1px solid #76512f;border-radius:50%;display:grid;place-items:center;font-family:serif;font-size:43px;color:#bd915c;box-shadow:inset 0 0 0 6px #1f1510,inset 0 0 0 7px #624228}.community h2{font-size:29px;margin:9px 0 10px}.community p:not(.eyebrow){font-size:11px;color:var(--muted);line-height:1.8}.community .button{margin-left:auto;flex-shrink:0;font-size:9px;padding-inline:20px}.notice{display:flex;align-items:center;gap:17px;padding-block:30px;color:#927e70;font-size:10px;line-height:1.9}.notice>span{font-size:28px;color:#a57d4f}.notice strong{display:block;color:#c5aa8c;font-size:11px;margin-bottom:3px}.notice a{white-space:nowrap;margin-left:auto;color:#c6a87e}.cv-footer{border-top:1px solid #33231a;padding-block:30px 40px;display:flex;align-items:center;gap:35px}.cv-footer .brand{font-size:18px}.cv-footer>p{color:#8f7b6c;font-size:9px;line-height:2}.cv-footer>p small{font-size:9px}.cv-footer>a:last-child{margin-left:auto;font-size:8px;letter-spacing:1.3px;color:#b18b5c}.skip{position:fixed;left:20px;top:-100px;background:#edc58b;color:#20130b;padding:15px;z-index:100}.skip:focus{top:15px}dialog{background:#1a110e;color:var(--white);border:1px solid #8d603d;max-width:760px;width:calc(100% - 32px);max-height:85vh;padding:30px;box-shadow:0 20px 100px #000b}dialog::backdrop{background:#080403d9;backdrop-filter:blur(7px)}.dialog-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:25px}.dialog-heading h2{font-size:32px;margin-top:8px}.close-dialog{background:#342016;color:#e9c28a;font-size:28px;width:40px;height:40px;flex-shrink:0}dialog h3{font-size:23px;margin:20px 0 12px}.codes{display:flex;flex-wrap:wrap;gap:10px}.codes>p,.dialog-note{color:#b6a08e;font-size:12px;line-height:1.8}.dialog-note{margin:16px 0}.code-copy{background:#302016;border:1px solid #67462e;padding:12px 15px;display:flex;gap:20px;align-items:center;max-width:100%;overflow-wrap:anywhere}.code-copy code{color:#ffd18a}.code-copy span{font-size:9px;color:#bba087}details{border-top:1px solid #503523}summary{cursor:pointer;list-style:none;padding:18px 0;color:#e6be84;font-size:13px;display:flex;justify-content:space-between}details ul{padding:0;list-style:none}details li{padding:13px;background:#271911;margin:8px 0;font-size:12px;line-height:1.8}details strong{color:#e2b372}details p{margin-top:5px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#3b2618;color:#ffe1af;border:1px solid #a67742;padding:16px 24px;z-index:20;max-width:calc(100% - 32px);width:max-content;box-shadow:0 8px 30px #0009;font-size:12px}.toast[hidden]{display:none}@media(min-width:1600px){.hero{min-height:850px}.hero-logo{height:340px;width:580px}}@media(max-width:1100px){.cv-header{padding:0 25px;gap:20px}.cv-header nav{gap:20px}.wrap{width:calc(100% - 48px)}.downloads{flex-direction:column;align-items:stretch;gap:16px}.download-label{text-align:center}.platform:first-child{border-left:0}.community{flex-wrap:wrap}.community .button{margin-left:107px}.hero{min-height:760px}}@media(max-width:700px){.cv-header{height:auto;min-height:80px;padding:16px 20px;flex-wrap:wrap;gap:14px}.brand{font-size:17px}.brand img{width:34px;height:39px}.account-link{padding:10px 13px;font-size:10px;gap:10px;max-width:150px}.cv-header nav{order:3;width:100%;justify-content:space-between;gap:12px;font-size:10px;padding-top:10px;border-top:1px solid #3d281c}.cv-header nav a{padding:8px 0}.hero{min-height:690px;background-position:center top}.hero-content{padding:32px 16px 45px}.hero-logo{height:245px;width:94vw;max-width:480px}.hero .eyebrow{font-size:8px;letter-spacing:2px;gap:10px}.hero .eyebrow span{width:20px}.hero h1{font-size:35px}.hero-intro{font-size:11px}.hero-actions{gap:10px;width:100%;justify-content:center}.button{padding:14px;font-size:9px;gap:10px}.hero-side{display:none}.wrap{width:calc(100% - 32px)}.downloads{padding:21px 12px;margin-top:-6px}.platforms{grid-template-columns:repeat(2,1fr);row-gap:12px}.platform{padding:12px 10px;gap:10px}.platform:nth-child(3){border-left:0}.platform strong{font-size:13px}.platform small{font-size:8px}.platform-icon{font-size:24px}.world{padding-top:48px;padding-bottom:32px}.section-heading{align-items:start;gap:20px}.section-heading h2{font-size:32px}.section-heading>p{display:none}.world-grid{grid-template-columns:1fr;gap:20px}.world-feature{min-height:330px}.feature-copy{padding:28px}.news-item{padding:24px 8px;gap:19px}.news-item h3{font-size:25px}.community{padding:27px 20px;gap:16px}.community-seal{width:56px;height:56px;font-size:31px}.community>div:nth-child(2){flex:1;min-width:190px}.community .eyebrow{font-size:8px;letter-spacing:1.6px}.community h2{font-size:25px;line-height:1.25}.community .button{margin-left:0;width:100%;margin-top:6px}.notice{align-items:start}.notice a{display:none}.cv-footer{flex-wrap:wrap;gap:20px}.cv-footer>p{width:100%;order:3}.cv-footer>a:last-child{font-size:7px}.eyebrow{font-size:9px;letter-spacing:2px}dialog{padding:22px}.dialog-heading h2{font-size:27px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Continuous palace backdrop and balanced responsive layout. */
body.cv-home { position: relative; isolation: isolate; }
body.cv-home::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 8, 6, .48), rgba(16, 8, 6, .73)),
    url('/public/images/chien-vuong/palace.png') center center / cover no-repeat;
}
.cv-home .hero { background: transparent; }
.cv-home .hero-shade {
  background: linear-gradient(180deg, transparent 48%, rgba(16, 8, 6, .25));
}
.cv-home .downloads { background: linear-gradient(110deg, #291a13eb, #191110eb); }
.cv-home .news-panel { background: #160d09cf; padding-inline: 18px; border: 1px solid #75503580; }
.cv-home .news-item:last-child { border-bottom: 0; }
.cv-home .section-heading { text-shadow: 0 2px 12px #000; }
.cv-home .community { background: linear-gradient(110deg, #32170fe6, #160d0ce6); }
.cv-home .notice, .cv-home .cv-footer { background: #140c09d9; padding-inline: 24px; }
.cv-home .world { padding-top: 56px; }
@media (min-width: 1101px) {
  .cv-home .wrap { width: calc(100% - 96px); max-width: 1280px; }
  .cv-home .hero { min-height: 740px; }
  .cv-home .hero-content { padding-top: 30px; padding-bottom: 52px; }
  .cv-home .hero-logo { width: 530px; height: 300px; }
  .cv-home .world-grid { grid-template-columns: 1fr 1fr; }
  .cv-home .news-panel { display: flex; flex-direction: column; }
  .cv-home .news-item { flex: 1; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 16px; }
  .cv-home::before { background-position: center, 48% center; }
  .cv-home .cv-header { padding: 14px 16px 10px; gap: 10px; }
  .cv-home .cv-header .brand { font-size: 16px; gap: 8px; }
  .cv-home .cv-header .brand small { font-size: 8px; letter-spacing: 4px; }
  .cv-home .account-link { max-width: 125px; padding: 9px 10px; }
  .cv-home .cv-header nav { gap: 8px; padding-top: 5px; }
  .cv-home .hero { min-height: 0; }
  .cv-home .hero-content { width: 100%; padding: 28px 16px 34px; }
  .cv-home .hero-logo { width: 100%; max-width: 380px; height: auto; aspect-ratio: 3 / 2; margin: 10px 0 6px; }
  .cv-home .hero h1 { font-size: clamp(26px, 7.4vw, 37px); line-height: 1.18; }
  .cv-home .hero-intro { margin-top: 16px; font-size: 11px; line-height: 1.9; }
  .cv-home .hero-actions { display: grid; grid-template-columns: 1fr 1fr; max-width: 390px; margin-top: 23px; gap: 9px; }
  .cv-home .hero-actions .button { padding: 13px 8px; min-height: 48px; font-size: 8px; letter-spacing: .5px; gap: 7px; }
  .cv-home .explore { margin-top: 23px; }
  .cv-home .wrap { width: calc(100% - 28px); }
  .cv-home .downloads { margin-top: 0; padding: 20px 10px 14px; gap: 14px; }
  .cv-home .platforms { gap: 0; }
  .cv-home .platform { min-width: 0; padding: 14px 8px; gap: 8px; }
  .cv-home .platform:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cv-home .platform small { white-space: normal; line-height: 1.6; font-size: 8px; }
  .cv-home .platform strong { font-size: 12px; }
  .cv-home .platform-icon { font-size: 22px; }
  .cv-home .world { padding-top: 34px; padding-bottom: 28px; }
  .cv-home .section-heading { margin-bottom: 20px; }
  .cv-home .section-heading h2 { font-size: 31px; }
  .cv-home .world-grid { gap: 16px; }
  .cv-home .world-feature { min-height: 300px; }
  .cv-home .feature-copy { padding: 25px 22px; }
  .cv-home .feature-copy h3 { font-size: 31px; }
  .cv-home .news-panel { padding-inline: 15px; }
  .cv-home .news-item { padding: 22px 0; gap: 13px; }
  .cv-home .news-item h3 { font-size: 23px; }
  .cv-home .news-item p { line-height: 1.75; font-size: 10px; }
  .cv-home .news-item .tag { letter-spacing: 1px; font-size: 7px; }
  .cv-home .news-number { font-size: 23px; }
  .cv-home .community { padding: 24px 18px; gap: 13px; }
  .cv-home .community-seal { width: 44px; height: 44px; font-size: 26px; }
  .cv-home .community > div:nth-child(2) { min-width: 0; }
  .cv-home .community h2 { font-size: 23px; }
  .cv-home .community .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .cv-home .notice { padding: 24px 18px; gap: 12px; }
  .cv-home .cv-footer { padding: 24px 18px; gap: 16px; }
  .cv-home .cv-footer .brand { font-size: 15px; gap: 8px; }
  .cv-home .cv-footer > a:last-child { letter-spacing: .4px; }
}

/* One shared center axis, independent of content width or browser zoom. */
html { width: 100%; min-width: 0; }
body.cv-home { width: 100%; min-width: 0; max-width: 100%; margin: 0; padding: 0; }
.cv-home #main { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; margin: 0; padding: 0; }
.cv-home #main > .hero { width: 100%; min-width: 0; }
.cv-home .hero-content { left: auto; right: auto; transform: none; margin-inline: auto; max-width: 100%; }
.cv-home .wrap { width: min(1280px, calc(100% - 48px)); max-width: calc(100% - 48px); min-width: 0; margin-left: auto; margin-right: auto; left: auto; right: auto; transform: none; }
.cv-home .platforms, .cv-home .world-grid, .cv-home .world-grid > * { min-width: 0; }
.cv-home .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .cv-home .wrap { width: calc(100% - 28px); max-width: calc(100% - 28px); }
  .cv-home .world-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Match the visual viewport when Coc Coc magnifies beyond its layout viewport. */
body.cv-home { width: min(100%, var(--cv-visible-width, 100%)); }
body.cv-home::before { right: auto; width: min(100%, var(--cv-visible-width, 100%)); }
.cv-home .cv-header { padding-inline: max(24px, calc((var(--cv-visible-width, 100vw) - 1280px) / 2)); }
@media (max-width: 700px) { .cv-home .cv-header { padding-inline: 16px; } }

/* A dedicated screen layer stays still while all page content scrolls above it. */
body.cv-home::before { content: none; }
.cv-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cv-visible-width, 100%);
  height: var(--cv-visible-height, 100vh);
  transform: translate3d(var(--cv-view-left, 0px), var(--cv-view-top, 0px), 0);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 8, 6, .48), rgba(16, 8, 6, .73)),
    url('/public/images/chien-vuong/palace.png') center center / cover no-repeat;
}

/* Scroll content in its own viewport; the palace never participates in scrolling. */
html:has(body.cv-home) { height: 100%; overflow: hidden; }
body.cv-home { height: 100%; overflow: hidden; }
.cv-backdrop {
  transform: none;
  height: var(--cv-backdrop-height, 100lvh);
  transition: none;
  animation: none;
}
.cv-scroll-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: min(100%, var(--cv-visible-width, 100%));
  height: var(--cv-visible-height, 100dvh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
}
@media (prefers-reduced-motion: reduce) { .cv-scroll-shell { scroll-behavior: auto; } }

/* Top rewards expand in the document instead of a modal overlay. */
.reward-inline{background:#1a110ef2;border:1px solid #805638;padding:30px;margin-bottom:32px;scroll-margin-top:20px;}
.reward-inline[hidden]{display:none!important}
.reward-inline .dialog-heading{margin-bottom:18px}
.reward-inline h2{font-size:32px}
#reward-toggle[aria-expanded="true"]{background:#56341d55}
#reward-toggle[aria-expanded="true"]>b{transform:rotate(90deg)}
@media(max-width:700px){.reward-inline{padding:22px 16px;margin-bottom:24px}.reward-inline h2{font-size:27px}}

/* Emphasize the rewards entry and make prize text readable. */
#reward-toggle h3{font-size:30px;font-weight:700;color:#ffe09a;text-shadow:0 2px 3px #150700,0 0 18px #d9863045;}
#reward-toggle .tag{color:#f1c779;font-size:10px;}
#reward-panel-title{font-size:36px;font-weight:700;color:#ffe09a;text-shadow:0 2px 4px #0e0602;}
.reward-inline summary{font-size:17px;font-weight:700;color:#ffda8a;padding:20px 12px;letter-spacing:.3px;}
.reward-inline details[open]>summary{background:#55321770;color:#ffeac2;border-left:3px solid #e6b25d;}
.reward-inline details li{padding:17px 18px;border-left:2px solid #8f6239;font-size:15px;line-height:1.85;color:#f4e5cf;}
.reward-inline details li>strong{display:block;font-size:17px;color:#ffce73;margin-bottom:5px;}
.reward-inline .dialog-note{font-size:13px;color:#cdb79e;}
@media(max-width:700px){#reward-toggle h3{font-size:27px}#reward-panel-title{font-size:30px}.reward-inline summary{font-size:15px;padding:18px 8px}.reward-inline details li{font-size:14px;padding:14px 12px}.reward-inline details li>strong{font-size:16px}}

/* Inline giftcodes share the rewards presentation. */
.gift-inline{background:#1a110ef2;border:1px solid #805638;padding:30px;margin-bottom:32px;scroll-margin-top:20px;}
.gift-inline[hidden]{display:none!important}
#gift-toggle h3{font-size:30px;font-weight:700;color:#ffe09a;text-shadow:0 2px 3px #150700,0 0 18px #d9863045;}
#gift-toggle .tag{color:#f1c779;font-size:10px}
#gift-toggle[aria-expanded="true"]{background:#56341d55}
#gift-toggle[aria-expanded="true"]>b{transform:rotate(90deg)}
#gift-panel-title{font-size:36px;font-weight:700;color:#ffe09a;text-shadow:0 2px 4px #0e0602}
.gift-inline h3{font-size:25px;color:#f5d49b;margin:26px 0 14px}
.gift-inline .codes{gap:12px}
.gift-inline .code-copy{padding:16px 20px;gap:22px;min-height:60px;border-color:#a67540;background:linear-gradient(120deg,#442b18,#291a11);flex-wrap:wrap;text-align:left;}
.gift-inline .code-copy:hover{background:#54351d;border-color:#ffd28b}
.gift-inline .code-copy code{font-size:20px;font-weight:700;letter-spacing:.6px;color:#ffda8b;overflow-wrap:anywhere;min-width:0;}
.gift-inline .code-copy span{font-size:12px;font-weight:600;color:#e1c7a3}
.gift-inline .dialog-note{font-size:14px;color:#cdb79e;margin-top:22px}
@media(max-width:700px){.gift-inline{padding:22px 16px;margin-bottom:24px}#gift-toggle h3{font-size:27px}#gift-panel-title{font-size:30px}.gift-inline h3{font-size:23px}.gift-inline .code-copy{width:100%;justify-content:space-between;padding:15px;gap:12px}.gift-inline .code-copy code{font-size:18px}}

/* Readable landing-page labels against the detailed palace artwork. */
.cv-home:not(.cv-inner) .downloads{background:linear-gradient(110deg,#291a13f7,#160e0bf7)}
.cv-home:not(.cv-inner) .download-label .eyebrow{font-size:11px;letter-spacing:1.5px;color:#ffda91;font-weight:700}
.cv-home:not(.cv-inner) .download-label h2{font-size:29px;color:#ffe1a5;font-weight:700}
.cv-home:not(.cv-inner) .platform strong{font-size:18px;font-weight:800;color:#fff0ce}
.cv-home:not(.cv-inner) .platform small{font-size:11px;line-height:1.6;color:#d6c1aa;white-space:normal}
.cv-home:not(.cv-inner) .platform-icon,.cv-home:not(.cv-inner) .download-arrow{color:#ffcf79}
.cv-home:not(.cv-inner) .section-heading .eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:#ffd17d}
.cv-home:not(.cv-inner) .section-heading h2{font-size:44px;color:#ffe3ac;text-shadow:0 3px 5px #100703,0 0 20px #160901;font-weight:700}
.cv-home:not(.cv-inner) .section-heading>p{font-size:14px;line-height:1.9;color:#f0dcc2;text-shadow:0 2px 4px #000}
.cv-home:not(.cv-inner) .news-panel{background:#160d09ed}
.cv-home:not(.cv-inner) .news-item .tag{font-size:11px;letter-spacing:1.5px;color:#ffd17d;font-weight:700}
.cv-home:not(.cv-inner) .news-item h3{font-size:30px;font-weight:700;color:#ffe09a;text-shadow:0 2px 4px #100703}
.cv-home:not(.cv-inner) .news-item p{font-size:13px;color:#dfcbb4;line-height:1.8}
.cv-home:not(.cv-inner) .news-number{color:#d1a36a}
.cv-home:not(.cv-inner) .news-item>b{color:#ffd17d}
.cv-home:not(.cv-inner) .hero-intro{font-size:15px;color:#f6e3ca;text-shadow:0 2px 5px #000}
@media(max-width:1100px){.cv-home:not(.cv-inner) .platform{padding-inline:12px}}
@media(max-width:700px){
 .cv-home:not(.cv-inner) .download-label h2{font-size:26px}
 .cv-home:not(.cv-inner) .download-label .eyebrow{font-size:10px}
 .cv-home:not(.cv-inner) .platform strong{font-size:15px}
 .cv-home:not(.cv-inner) .platform small{font-size:10px}
 .cv-home:not(.cv-inner) .platform{padding-inline:8px}
 .cv-home:not(.cv-inner) .section-heading .eyebrow{font-size:10px}
 .cv-home:not(.cv-inner) .section-heading h2{font-size:35px}
 .cv-home:not(.cv-inner) .news-item h3{font-size:27px}
 .cv-home:not(.cv-inner) .news-item .tag{font-size:9px;letter-spacing:1px}
 .cv-home:not(.cv-inner) .news-item p{font-size:12px}
 .cv-home:not(.cv-inner) .hero-intro{font-size:12px}
}

/* Stronger navigation, community and footer typography. */
.cv-home .cv-header nav a{font-size:15px;font-weight:700;color:#f3d7aa;}
.cv-home .account-link{font-size:14px;font-weight:700;color:#ffe0a3;border-color:#b9874d;}
.cv-home .cv-header .brand{font-size:24px;color:#ffe0a3;}
.cv-home .cv-header .brand small{font-size:11px;font-weight:700;color:#ffd184;}
.cv-home .community .eyebrow{font-size:12px;font-weight:800;color:#ffd17d;letter-spacing:2px;}
.cv-home .community h2{font-size:34px;font-weight:700;color:#ffe2a8;text-shadow:0 2px 4px #120701;}
.cv-home .community p:not(.eyebrow){font-size:14px;color:#eedcc3;line-height:1.9;}
.cv-home .community .button{font-size:12px;letter-spacing:.7px;color:#ffe1a4;border-color:#ba884e;}
.cv-home .notice{font-size:13px;color:#e2ceb5;background:#140c09ef;}
.cv-home .notice strong{font-size:16px;font-weight:800;color:#ffda91;margin-bottom:6px;}
.cv-home .notice a{font-size:12px;font-weight:700;color:#ffda91;}
.cv-home .cv-footer{background:#140c09ef;}
.cv-home .cv-footer .brand{font-size:22px;color:#ffe0a3;}
.cv-home .cv-footer>p,.cv-home .cv-footer>p small{font-size:12px;color:#dfc9ad;line-height:1.9;}
.cv-home .cv-footer>a:last-child{font-size:11px;font-weight:700;color:#ffda91;letter-spacing:.8px;}
@media(max-width:1100px){.cv-home .cv-header nav{gap:18px}.cv-home .cv-header nav a{font-size:13px}.cv-home .cv-header .brand{font-size:21px}}
@media(max-width:700px){
 .cv-home .cv-header .brand{font-size:18px}
 .cv-home .cv-header .brand small{font-size:9px}
 .cv-home .cv-header nav a{font-size:11px}
 .cv-home .account-link{font-size:11px}
 .cv-home .community .eyebrow{font-size:9px;letter-spacing:1px}
 .cv-home .community h2{font-size:27px}
 .cv-home .community p:not(.eyebrow){font-size:12px}
 .cv-home .community .button{font-size:11px}
 .cv-home .notice{font-size:12px}
 .cv-home .notice strong{font-size:15px}
 .cv-home .cv-footer .brand{font-size:18px}
 .cv-home .cv-footer>p,.cv-home .cv-footer>p small{font-size:11px}
 .cv-home .cv-footer>a:last-child{font-size:9px;letter-spacing:.3px}
}

/* Prominent primary actions on the home hero. */
.cv-home .hero-actions .button{font-size:17px;font-weight:800;letter-spacing:.4px;min-height:62px;padding:18px 28px;gap:16px;line-height:1.5}
.cv-home .hero-actions .primary{color:#291508;background:linear-gradient(110deg,#ffe0a0,#cf9455);border-color:#ffe0a0}
.cv-home .hero-actions .secondary{color:#ffe3a5;background:#21120af2;border-color:#d5a365;text-shadow:0 1px 3px #000}
.cv-home .hero-actions .button span{font-size:23px}
.cv-home .explore{font-size:13px;font-weight:800;color:#ffdfa1;letter-spacing:1.5px;text-shadow:0 2px 4px #000}
.cv-home .explore span{font-size:25px;color:#ffe3a5}
@media(max-width:700px){
.cv-home .hero-actions{max-width:440px;gap:10px}
.cv-home .hero-actions .button{font-size:13px;min-height:58px;padding:14px 10px;gap:8px;letter-spacing:0}
.cv-home .hero-actions .button span{font-size:19px}
.cv-home .explore{font-size:11px;letter-spacing:1px}
}
@media(max-width:380px){.cv-home .hero-actions{grid-template-columns:1fr;max-width:290px}}
.cv-home .close-dialog{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;background:linear-gradient(110deg,#ffe0a0,#c58c50);color:#29160c;border:1px solid #ffe4b0;font-size:28px;font-weight:800;border-radius:3px}.cv-home .close-dialog:hover{filter:brightness(1.12)}
