/* Storefront layout: one catalog, focused on XCloudPhone rental codes. */
:root { --store-sidebar: 228px; }
body { background: #f4f7f3; }
.site-head { border-bottom: 1px solid #e3ebe3; }
.head-inner { max-width: none; padding-inline: 24px; }
.desktop-nav, .head-status { display: none; }
.head-actions { margin-left: auto; }
.store-sidebar { position: absolute; top: 74px; left: 0; bottom: auto; width: var(--store-sidebar); min-height: calc(100vh - 74px); padding: 18px 14px 24px; background: #fff; border-right: 1px solid #e3ebe3; }
.sidebar-label { padding: 0 12px; color: #52685a; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.store-sidebar nav { display: grid; gap: 2px; margin: 8px 0 18px; }
.store-sidebar nav a { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 7px 10px; border-radius: 8px; color: #36503e; font-size: 13px; font-weight: 600; text-decoration: none; }
.store-sidebar nav a span { width: 19px; color: #397553; font-size: 18px; text-align: center; }
.store-sidebar nav a:hover, .store-sidebar nav a.sidebar-active { background: #e7f4e8; color: #165f3c; }
.sidebar-help { margin: 18px 2px 0; padding: 14px; border: 1px solid #dfebe0; border-radius: 12px; background: #f5faf5; color: #2b4936; font-size: 12px; line-height: 1.5; }
.sidebar-help strong { font-size: 13px; }
.sidebar-help p { margin: 6px 0 10px; }
.sidebar-help a { color: #18643c; font-weight: 700; }
#main, .footer { margin-left: var(--store-sidebar); }
#main { display: flex; flex-direction: column; }
#main .shell, .footer .shell { width: min(100% - 64px, 1300px); }
.hero { background: #f4f7f3; }
.hero-grid { grid-template-columns: minmax(0, 1fr) 42%; gap: 0; min-height: 235px; padding: 0; margin-top: 28px; margin-bottom: 30px; overflow: hidden; border-radius: 14px; background: #dcefdc; }
.hero-copy { padding: 30px 38px; }
.hero-copy h1 { font-size: clamp(32px, 3vw, 45px); line-height: 1.09; }
.hero-sub { max-width: 520px; margin-top: 12px; font-size: 14px; line-height: 1.55; }
.store-hero-link { display: inline-block; margin-top: 17px; color: #14633c; font-size: 13px; font-weight: 800; text-decoration: none; }
.store-hero-link span { margin-left: 6px; }
.hero-aside { min-height: 235px; border-radius: 0; }
.hero-aside::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, #dcefdc, transparent 30%); pointer-events: none; }
.hero-aside figcaption { z-index: 1; }
.board-wrap { padding-bottom: 45px; }
.exchange { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.exchange-head { padding: 0 0 17px; min-height: 0; border: 0; }
.exchange-title { font-size: 21px; }
.exchange-title small { display: block; margin-top: 5px; color: #4d6354; font-size: 12px; font-weight: 400; }
.exchange-meta { color: #4d6354; }
.exchange-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0; }
.plan-row, .plan-row:last-child { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; min-width: 0; min-height: 0; padding: 10px 10px 12px; border: 1px solid #e0eae0; border-radius: 12px; background: white; text-align: left; }
.plan-row:hover { border-color: #87b99a; background: #fff; }
.plan-row.is-active { border-color: #2f754f; background: #fff; box-shadow: 0 0 0 1px #2f754f; }
.plan-visual { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 100px; margin-bottom: 13px; border-radius: 7px; background: linear-gradient(135deg, #0d2b1f, #1b4d38); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.plan-row:nth-child(2) .plan-visual { background: linear-gradient(135deg, #163524, #28593d); }
.plan-row:nth-child(3) .plan-visual { background: linear-gradient(135deg, #0f322a, #1d5447); }
.plan-row:nth-child(4) .plan-visual { background: linear-gradient(135deg, #132c22, #244b39); }
.plan-visual-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #ffffff70; border-radius: 12px; background: #ffffff20; font-size: 23px; }
.plan-visual small { display: block; margin-top: 4px; opacity: .88; font-size: 11px; letter-spacing: .12em; }
.plan-main { display: block; padding: 0 3px; }
.plan-name { display: block; font-size: 14px; font-weight: 750; }
.plan-meta { display: block; margin-top: 4px; color: #4f6556; }
.plan-price { display: block; margin: 12px 3px 8px; color: #17663f; font-size: 17px; }
.plan-badge { display: inline-flex; align-self: flex-start; margin: 2px 3px 0; padding: 3px 7px; color: #475a4c; }
.plan-badge.is-save { color: #7e4b0c; }
.plan-radio { position: absolute; right: 14px; bottom: 13px; }
.ticket { gap: 15px; padding: 20px; border: 1px solid #e0eae0; border-radius: 12px; background: #fff; }
.ticket-note { margin: 0; color: #4b6152; }
@media (max-width: 1100px) { .exchange-body { grid-template-columns: minmax(0, 1fr) 280px; } #main .shell, .footer .shell { width: min(100% - 40px, 1300px); } }
@media (max-width: 900px) { .store-sidebar { display: none; } #main, .footer { margin-left: 0; } .hero-grid { margin-top: 20px; } }
@media (max-width: 700px) {
  .head-inner { padding-inline: 16px; }
  #main .shell, .footer .shell { width: calc(100% - 32px); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; margin-bottom: 25px; }
  .hero-copy { padding: 25px 22px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-aside { min-height: 135px; }
  .hero-aside::after { background: linear-gradient(180deg, #dcefdc, transparent 35%); }
  .exchange-head { gap: 10px; align-items: flex-start; }
  .exchange-title { font-size: 18px; }
  .exchange-meta { text-align: right; }
  .exchange-body { grid-template-columns: 1fr; }
  .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plan-row, .plan-row:last-child { padding: 9px 9px 11px; }
  .plan-visual { min-height: 82px; gap: 7px; font-size: 11px; }
  .plan-visual-mark { width: 34px; height: 34px; font-size: 18px; }
  .plan-name { font-size: 12px; }
  .plan-price { font-size: 15px; margin: 10px 3px 8px; }
  .plan-badge { display: inline-flex; font-size: 11px; }
  .plan-radio { right: 11px; bottom: 11px; }
}
.exchange-title { display: block; }
@media (max-width: 700px) { .exchange-meta { display: block; flex-shrink: 0; } }

.activity-card { margin-top: 26px; padding: 22px; border: 1px solid #e0eae0; border-radius: 12px; background: #fff; }
.activity-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.activity-heading h2 { margin: 0; color: #1d3526; font-size: 18px; letter-spacing: -.02em; }
.activity-heading p, .activity-foot { margin: 6px 0 0; color: #4b6152; font-size: 12px; line-height: 1.5; }
.activity-demo { flex-shrink: 0; padding: 5px 9px; border-radius: 5px; background: #edf2e6; color: #445330; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.activity-table-wrap { overflow-x: auto; margin-top: 15px; }
.activity-table { width: 100%; border-collapse: collapse; color: #344d3b; font-size: 13px; text-align: left; }
.activity-table th { padding: 10px 12px; background: #f6f9f5; color: #495f50; font-size: 11px; font-weight: 700; }
.activity-table td { padding: 12px; border-bottom: 1px solid #edf2ec; }
.activity-avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 8px; border-radius: 50%; background: #e5f2e8; color: #245f3e; font-size: 11px; font-weight: 800; }
.activity-status { color: #4b6152; font-size: 12px; }
.activity-foot { margin-top: 14px; }
.activity-foot a { color: #207849; font-weight: 700; }
@media (max-width: 700px) { .activity-card { padding: 16px; } .activity-heading { flex-wrap: wrap; } .activity-table { min-width: 480px; } }
@media (max-width: 700px) {
  .activity-table { min-width: 0; }
  .activity-table th, .activity-table td { padding: 10px 6px; }
  .activity-table th:last-child, .activity-table td:last-child { display: none; }
  .activity-table td:first-child { white-space: nowrap; }
}
#nap-ngan-hang, #hoa-don { scroll-margin-top: 90px; }

/* Small illustrated badges keep navigation recognizable at a glance. */
.store-sidebar nav a .nav-sticker, .mobile-menu nav a .nav-sticker { display: inline-grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e6f3e8; color: #317a50; }
.nav-sticker svg { width: 19px; height: 19px; }
.store-sidebar nav a .nav-sticker-code, .mobile-menu nav a .nav-sticker-code { background: #dff3e9; color: #26825b; }
.store-sidebar nav a .nav-sticker-price, .mobile-menu nav a .nav-sticker-price { background: #f5eddc; color: #9a7132; }
.store-sidebar nav a .nav-sticker-vault, .mobile-menu nav a .nav-sticker-vault { background: #e6f0f3; color: #4b7c89; }
.store-sidebar nav a .nav-sticker-bank, .mobile-menu nav a .nav-sticker-bank { background: #e5eee1; color: #5e8149; }
.store-sidebar nav a .nav-sticker-bill, .mobile-menu nav a .nav-sticker-bill { background: #f5ede0; color: #9b764a; }
.store-sidebar nav a .nav-sticker-guide, .mobile-menu nav a .nav-sticker-guide { background: #e9eee4; color: #72834a; }
.store-sidebar nav a .nav-sticker-faq, .mobile-menu nav a .nav-sticker-faq { background: #e5f1ee; color: #4c8b79; }
.mobile-menu nav a { display: flex; align-items: center; gap: 12px; }
.plan-visual { flex-direction: column; gap: 8px; }
.plan-visual img { display: block; width: min(70%, 210px); height: auto; }
.plan-visual-caption { color: #f1fbf4; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
@media (max-width: 700px) { .plan-visual img { width: min(80%, 155px); } .plan-visual-caption { font-size: 11px; letter-spacing: .09em; } }
/* Center the sharp foreground of the supplied portrait video in the landscape frame. */
.proof-media img { object-position: center 67%; }

/* Page views keep the navigation in place and remove landing-page spacing. */
.route-hidden { display: none !important; }
.store-sidebar { position: fixed; bottom: 0; overflow-y: auto; min-height: 0; }
#main { min-height: calc(100vh - 74px); }
body[data-page] #main > .section { padding: 40px 0 56px; }
body[data-page] #main > .section:not(.route-hidden) { flex: 1; }
body[data-page] .section-head { margin-bottom: 24px; }
body[data-page] .section-head h2, body[data-page] .faq-intro h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }
body[data-page="mua-ma"] .hero-grid { display: none; }
body[data-page="mua-ma"] .board-wrap { padding-top: 32px; }
body[data-page="mua-ma"] .activity-card { display: none; }
body[data-page="tra-cuu"] .vault-grid, body[data-page="nap-ngan-hang"] .vault-grid { grid-template-columns: minmax(0, 1fr); }
body[data-page="tra-cuu"] .vault-panel-wide { margin-top: 16px; }
body[data-page="nap-ngan-hang"] .vault-grid, body[data-page="hoa-don"] .vault-panel-wide { max-width: 760px; }
body[data-page="hoa-don"] .vault-panel-wide { margin-top: 0; }
@media (max-width: 900px) { .store-sidebar { display: none; } }
@media (max-width: 700px) {
  body[data-page] #main > .section { padding: 28px 0 42px; }
  body[data-page="mua-ma"] .board-wrap { padding-top: 24px; }
  .mobile-menu nav a.sidebar-active { color: #176c43; font-weight: 700; }
}
body[data-page] .hero { padding-top: 0; }
body[data-page] .section-head { grid-template-columns: 1fr; gap: 8px; }
body[data-page] .section-lede { justify-self: start; }

/* Roomier task layouts for prices, wallet and order history. */
body[data-page="bang-gia"] .rate-table th,
body[data-page="bang-gia"] .rate-table td { padding: 23px 22px; }
body[data-page="bang-gia"] .rate-table tbody th { font-size: 16px; }
body[data-page="bang-gia"] .rate-table tbody td { font-size: 15px; }
body[data-page="bang-gia"] .rate-buy { font-size: 13px; }
.rates-help { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 25px; padding: 24px 26px; border-radius: 12px; background: #edf5ed; color: #385945; }
.rates-help strong, .page-help strong { color: #254b33; font-size: 14px; }
.rates-help p, .page-help p { max-width: 55ch; margin: 8px 0 0; color: #48634f; font-size: 13px; line-height: 1.65; }
.rates-help a, .page-help a { display: inline-block; margin-top: 12px; color: #14633c; font-size: 13px; font-weight: 700; }
body[data-page="nap-ngan-hang"] #tra-cuu > .shell,
body[data-page="hoa-don"] #tra-cuu > .shell { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(250px, .8fr); gap: 20px; align-items: start; }
body[data-page="nap-ngan-hang"] #tra-cuu .section-head,
body[data-page="hoa-don"] #tra-cuu .section-head { grid-column: 1 / -1; margin-bottom: 4px; }
body[data-page="nap-ngan-hang"] .vault-grid,
body[data-page="hoa-don"] .vault-panel-wide { width: 100%; max-width: none; }
body[data-page="nap-ngan-hang"] #nap-ngan-hang,
body[data-page="hoa-don"] #hoa-don { padding: 28px; min-height: 0; background: #fff; }
body[data-page="nap-ngan-hang"] .balance-banner { padding: 20px; margin: 22px 0; border-radius: 8px; }
body[data-page="nap-ngan-hang"] .preset-chip { min-height: 42px; padding-inline: 14px; }
body[data-page="hoa-don"] #orders-history-list { margin-top: 25px; padding: 24px; border-radius: 9px; background: #f1f7f1; }
.page-help { padding: 28px; border-radius: 12px; background: #edf5ed; }
.page-help-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 12px; background: #d8ebdb; color: #287749; }
.page-help-icon svg { width: 23px; height: 23px; }
.page-help h3 { margin: 0; color: #203e2a; font-size: 19px; }
.page-help-divider { height: 1px; margin: 25px 0; background: #d2e4d4; }
@media (max-width: 900px) {
  body[data-page="nap-ngan-hang"] #tra-cuu > .shell,
  body[data-page="hoa-don"] #tra-cuu > .shell { grid-template-columns: 1fr; }
  body[data-page="nap-ngan-hang"] #tra-cuu .section-head,
  body[data-page="hoa-don"] #tra-cuu .section-head { grid-column: auto; }
}
@media (max-width: 700px) {
  body[data-page="bang-gia"] .rate-table th,
  body[data-page="bang-gia"] .rate-table td { padding: 16px 10px; }
  body[data-page="bang-gia"] .rate-table tbody th,
  body[data-page="bang-gia"] .rate-table tbody td { font-size: 12px; }
  .rates-help { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  body[data-page="nap-ngan-hang"] #nap-ngan-hang,
  body[data-page="hoa-don"] #hoa-don { min-height: 0; padding: 20px; }
  .page-help { padding: 22px; }
}

/* Announcement bar above the header, with a persistent action and close control. */
.promo-bar { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; background: #137855; color: #fff; }
.promo-bar[hidden] { display: none; }
.promo-status { flex: none; padding: 3px 8px; border-radius: 5px; background: rgba(6, 44, 30, 0.42); font-size: 11px; font-weight: 700; white-space: nowrap; color: #fff; }
.promo-banner { flex: 1; min-width: 0; overflow: hidden; color: #fff; text-decoration: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(90deg, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
.promo-track { display: flex; width: max-content; animation: promo-scroll 30s linear infinite; }
.promo-message { flex: none; padding-right: 72px; white-space: nowrap; font-size: 12px; font-weight: 600; }
.promo-message strong { font-weight: 700; color: #fff; }
.promo-banner:hover .promo-track, .promo-banner:focus-visible .promo-track { animation-play-state: paused; }
.promo-cta { flex: none; padding: 6px 14px; border-radius: 999px; background: #fff; color: #08683e; font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.promo-close { display: grid; flex: none; place-items: center; width: 28px; height: 28px; padding: 4px; border: 1px solid #ffffff66; border-radius: 8px; background: #ffffff18; color: #fff; cursor: pointer; }
.promo-close svg { width: 16px; height: 16px; }
.promo-banner:focus-visible, .promo-cta:focus-visible, .promo-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes promo-scroll { to { transform: translateX(-50%); } }
.store-sidebar { top: 112px; }
#main { min-height: calc(100vh - 112px); }
body.promo-dismissed .store-sidebar { top: 74px; }
body.promo-dismissed #main { min-height: calc(100vh - 74px); }
@media (max-width: 700px) {
  .promo-bar { gap: 7px; padding-inline: 8px; }
  .promo-status { padding: 2px 6px; font-size: 11px; }
  .promo-message { font-size: 11.5px; }
  .promo-cta { padding: 5px 10px; font-size: 11px; }
  #main { min-height: calc(100vh - 102px); }
  body.promo-dismissed #main { min-height: calc(100vh - 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .promo-bar { height: auto; min-height: 38px; padding-block: 5px; }
  .promo-banner { -webkit-mask-image: none; mask-image: none; }
  .promo-track { width: auto; animation: none; }
  .promo-message { padding: 0; white-space: normal; line-height: 1.45; }
  .promo-message + .promo-message { display: none; }
}

/* Vietnamese-first type keeps accents and letterforms consistent. */
h1, h2, h3, .step h3, .loyalty-offer h2, .activity-heading h2 { font-family: var(--font-display); font-weight: 700; font-stretch: normal; letter-spacing: -.025em; text-transform: none; }
.hero-copy h1 { font-weight: 700; line-height: 1.14; letter-spacing: -.03em; }
body[data-page] .section-head h2, body[data-page] .faq-intro h2 { line-height: 1.25; }
.step h3 { line-height: 1.35; letter-spacing: -.015em; }
.section-lede, .hero-sub, .step p { line-height: 1.7; text-wrap: pretty; }
.store-sidebar nav a { font-size: 13px; font-weight: 600; }
.plan-name { font-size: 15px; line-height: 1.45; }
.plan-meta { font-size: 12px; }
.plan-price, .ticket-line strong, .rate-table tbody td { font-family: var(--font-body); font-variant-numeric: tabular-nums; }
.rate-table tbody td { font-weight: 600; }
.step-num, .footer-social a, .footer-col h3, .footer-bottom p, .hero-aside figcaption, .worlds-illustration figcaption { font-size: 11px; }
.footer { --muted: #c2d5c3; --dim: #b4cbb8; }
.footer-col h3 { color: #e2f1e4; font-weight: 600; }
.footer-bottom p { color: #b4cbb8; font-size: 12px; }
@media (max-width: 700px) {
  .hero-copy h1 { font-size: 30px; }
  .plan-name { font-size: 12px; }
}

/* Language and appearance controls. */
.appearance-toggle, .language-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; min-width: 38px; height: 38px; padding: 0 9px; border: 1px solid #d5e3d8; border-radius: 9px; background: #fff; color: #24533a; cursor: pointer; font: 700 12px var(--font-body); }
.appearance-toggle:hover, .language-toggle:hover { background: #eef7ef; }
.appearance-toggle svg { width: 19px; height: 19px; }
.theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: block; }
html[data-theme="dark"] .theme-icon-moon { display: none; }
@media (max-width: 700px) {
  .head-inner { gap: 8px; }
  .head-actions { gap: 6px; }
  .appearance-toggle, .language-toggle { min-width: 32px; height: 34px; padding-inline: 6px; }
  .appearance-toggle svg { width: 17px; height: 17px; }
  .brand-copy strong { font-size: 15px; }
}
@media (max-width: 370px) { .brand-copy strong { font-size: 13px; } .head-inner { padding-inline: 10px; } .head-actions { gap: 4px; } }

/* Dark surfaces preserve the existing green identity and readable contrast. */
html[data-theme="dark"] { color-scheme: dark; --ground: #0d1913; --ground-2: #12221a; --panel: #172a20; --panel-2: #1b3024; --panel-3: #21392a; --line: #304a38; --line-strong: #496b53; --text: #e5f2e8; --muted: #b3caba; --dim: #9eb8a5; --mint: #87d7a0; --mint-2: #a8e5b9; --mint-ink: #10251a; --signal-text: #9ae7b0; --signal-tint: #1b4430; --amber-text: #f1c679; --amber-tint: #4c3d22; }
html[data-theme="dark"], html[data-theme="dark"] body, html[data-theme="dark"] .hero, html[data-theme="dark"] .usecases { background: #0d1913; color: #e5f2e8; }
html[data-theme="dark"] .site-head, html[data-theme="dark"] .site-head.is-scrolled, html[data-theme="dark"] .store-sidebar, html[data-theme="dark"] .mobile-menu { background: #14251b; border-color: #304a38; }
html[data-theme="dark"] .brand-copy strong, html[data-theme="dark"] .head-lookup, html[data-theme="dark"] .wallet-chip, html[data-theme="dark"] .mobile-menu a { color: #e5f2e8; }
html[data-theme="dark"] .brand-copy small, html[data-theme="dark"] .sidebar-label { color: #a8c4b0; }
html[data-theme="dark"] .store-sidebar nav a { color: #c3dac9; }
html[data-theme="dark"] .store-sidebar nav a:hover, html[data-theme="dark"] .store-sidebar nav a.sidebar-active, html[data-theme="dark"] .mobile-menu nav a.sidebar-active { background: #254936; color: #c7f5d1; }
html[data-theme="dark"] .store-sidebar nav a .nav-sticker, html[data-theme="dark"] .mobile-menu nav a .nav-sticker { background: #294b37; color: #a4e4b3; }
html[data-theme="dark"] .sidebar-help, html[data-theme="dark"] .page-help, html[data-theme="dark"] .rates-help { background: #1b3023; border-color: #304a38; color: #d3ead8; }
html[data-theme="dark"] .sidebar-help p, html[data-theme="dark"] .page-help p, html[data-theme="dark"] .rates-help p { color: #bed3c3; }
html[data-theme="dark"] .sidebar-help strong, html[data-theme="dark"] .page-help strong, html[data-theme="dark"] .page-help h3, html[data-theme="dark"] .rates-help strong { color: #e2f4e5; }
html[data-theme="dark"] .sidebar-help a, html[data-theme="dark"] .page-help a, html[data-theme="dark"] .rates-help a { color: #a6e8b6; }
html[data-theme="dark"] .hero-grid { background: #23452f; }
html[data-theme="dark"] .hero-copy h1, html[data-theme="dark"] .section h2, html[data-theme="dark"] .faq-intro h2 { color: #effaf0; }
html[data-theme="dark"] .hero-copy h1 em, html[data-theme="dark"] .store-hero-link { color: #9ae7b0; }
html[data-theme="dark"] .hero-sub, html[data-theme="dark"] .section-lede, html[data-theme="dark"] .muted-copy, html[data-theme="dark"] .step p, html[data-theme="dark"] .faq-intro p { color: #bdd1c1; }
html[data-theme="dark"] .hero-aside::after { background: linear-gradient(90deg, #23452f, transparent 30%); }
html[data-theme="dark"] .exchange-title, html[data-theme="dark"] .plan-name, html[data-theme="dark"] .ticket-head strong { color: #e5f2e8; }
html[data-theme="dark"] .exchange-title small, html[data-theme="dark"] .exchange-meta, html[data-theme="dark"] .plan-meta, html[data-theme="dark"] .ticket-note { color: #b0c8b6; }
html[data-theme="dark"] .plan-row, html[data-theme="dark"] .plan-row:last-child, html[data-theme="dark"] .ticket, html[data-theme="dark"] .activity-card { background: #172a20; border-color: #365140; color: #e5f2e8; }
html[data-theme="dark"] .plan-row:hover, html[data-theme="dark"] .plan-row.is-active { background: #1e3828; border-color: #91d7a5; }
html[data-theme="dark"] .plan-row.is-active .plan-name, html[data-theme="dark"] .plan-price, html[data-theme="dark"] .ticket-line.is-total strong, html[data-theme="dark"] .rate-table .is-mint { color: #9ae7b0; }
html[data-theme="dark"] .plan-badge, html[data-theme="dark"] .ticket-badge, html[data-theme="dark"] .activity-demo { background: #3d432b; color: #f3d99d; }
html[data-theme="dark"] .stepper, html[data-theme="dark"] .form-input, html[data-theme="dark"] .preset-chip, html[data-theme="dark"] .btn-secondary, html[data-theme="dark"] .btn-ghost, html[data-theme="dark"] .appearance-toggle, html[data-theme="dark"] .language-toggle, html[data-theme="dark"] .menu-btn { background: #1c3225; border-color: #4b6e53; color: #e4f4e8; }
html[data-theme="dark"] .stepper button, html[data-theme="dark"] .stepper input { color: #e4f4e8; }
html[data-theme="dark"] .form-input::placeholder { color: #a5baaa; }
html[data-theme="dark"] .steps, html[data-theme="dark"] .rates, html[data-theme="dark"] .vault, html[data-theme="dark"] .faq { background: #102017; }
html[data-theme="dark"] .vault-panel, html[data-theme="dark"] body[data-page="nap-ngan-hang"] #nap-ngan-hang, html[data-theme="dark"] body[data-page="hoa-don"] #hoa-don { background: #172a20; border-color: #365140; }
html[data-theme="dark"] .vault-panel h3, html[data-theme="dark"] .vault-panel-head h3, html[data-theme="dark"] .step h3, html[data-theme="dark"] .faq summary, html[data-theme="dark"] .case-copy strong { color: #e5f2e8; }
html[data-theme="dark"] .balance-banner, html[data-theme="dark"] .code-demo, html[data-theme="dark"] body[data-page="hoa-don"] #orders-history-list, html[data-theme="dark"] .activity-table th { background: #223b2b; color: #d2ead8; }
html[data-theme="dark"] .activity-heading h2, html[data-theme="dark"] .activity-table, html[data-theme="dark"] .code-demo-meta dd { color: #deefe1; }
html[data-theme="dark"] .activity-heading p, html[data-theme="dark"] .activity-foot, html[data-theme="dark"] .activity-status, html[data-theme="dark"] .code-demo-label, html[data-theme="dark"] .code-demo-meta dt { color: #b6cebb; }
html[data-theme="dark"] .activity-table th, html[data-theme="dark"] .activity-table td, html[data-theme="dark"] .step, html[data-theme="dark"] .page-help-divider { border-color: #365140; }
html[data-theme="dark"] .activity-foot a, html[data-theme="dark"] .code-demo-string, html[data-theme="dark"] .code-demo-link, html[data-theme="dark"] .rate-buy, html[data-theme="dark"] .text-link { color: #9ae7b0; }
html[data-theme="dark"] .rate-table thead th { background: #274331; color: #d0e8d5; }
html[data-theme="dark"] .rate-table tbody tr { background: #172a20; color: #e2f1e5; }
html[data-theme="dark"] .rate-table tr.is-featured, html[data-theme="dark"] .rate-table tr:hover { background: #234630; }
html[data-theme="dark"] .proof { background: #162a1e; }
html[data-theme="dark"] .modal, html[data-theme="dark"] .modal-card, html[data-theme="dark"] .modal-content, html[data-theme="dark"] .modal-dialog { background: #172a20; border-color: #365140; color: #e5f2e8; }
html[data-theme="dark"] .modal-close { background: #223b2b; color: #e5f2e8; }
html[data-theme="dark"] .modal-close:hover { background: #2c4c38; }
html[data-theme="dark"] .terms-scroll { background: #12221a; border-color: #365140; color: #e5f2e8; }
html[data-theme="dark"] .purchase-confirm-box { background: #1c3225; border-color: #365140; }
html[data-theme="dark"] .hero-aside figcaption, html[data-theme="dark"] .worlds-illustration figcaption { background: rgba(13, 25, 19, 0.88); color: #e5f2e8; }
html[data-theme="dark"] .footer-bottom p { color: #b4cbb8; }
@media (max-width: 700px) { html[data-theme="dark"] .hero-aside::after { background: linear-gradient(180deg, #23452f, transparent 35%); } }
html[data-theme="dark"] .rate-table tbody td { color: #deefe1; }
html[data-theme="dark"] .rate-table tbody td.is-mint { color: #9ae7b0; }
html[data-theme="dark"] .rate-tag { color: #f1c679; border-color: #8d7647; }
html[data-theme="dark"] .step-num { color: #a6ddb3; }
html[data-theme="dark"] .balance-banner strong { color: #f4d28d; }
@media (max-width: 700px) { .header-auth .btn { white-space: nowrap; padding-inline: 9px; font-size: 11px; } }
.loyalty-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin: 24px 0; padding: 24px 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); color: var(--text); }
.loyalty-offer h2 { margin: 0 0 8px; font-size: 1.2rem; line-height: 1.3; }
.loyalty-offer p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .875rem; }
@media (max-width: 700px) { .loyalty-offer { grid-template-columns: 1fr; gap: 12px; padding: 20px; } }

/* Google OAuth modal, logged-in account chip and account dialog. */
.google-auth-subtitle { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.google-auth-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid #c5d4ca; border-radius: 9px; background: #fff; color: #17271f; font-weight: 700; font-size: 14px; text-decoration: none; transition: background .15s ease, border-color .15s ease; }
.google-auth-button:hover { background: #f2f7f3; border-color: #9bb8a4; color: #122119; }
.google-auth-button.is-disabled, .google-auth-button:disabled { opacity: .72; cursor: not-allowed; background: #f2f6f3; color: #4a5f53; border-color: #d6e1d9; }
.google-g-icon { flex: 0 0 auto; display: block; }
.google-auth-legal { margin-top: 10px !important; font-size: 12px; color: var(--muted); }
.google-auth-legal a { color: #176b49; font-weight: 600; text-decoration: underline; }

.account-chip { display: inline-flex; align-items: center; gap: 8px; max-width: 190px; height: 36px; padding: 3px 10px 3px 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.account-chip:hover { background: #edf5ef; border-color: #8bb59a; }
.account-avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #176b49; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.account-avatar-lg { width: 44px; height: 44px; font-size: 15px; }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.account-card { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); }
.account-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.account-meta strong { font-size: 15px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-meta span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.account-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.account-pill.is-admin { background: #e3f3e8; color: #145c3b; }
.account-pill.is-loyalty { background: #fff0d9; color: #885311; }
.account-balance-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); font-size: 13px; color: var(--muted); }
.account-balance-row strong { font-size: 16px; color: var(--signal-text); }
.account-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.account-links .btn { justify-content: center; text-align: center; }
.account-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
.account-logout-all { font-size: 12px; color: var(--muted); }
.inline-auth-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.inline-auth-box p { margin: 0; }

html[data-theme="dark"] .google-auth-button { background: #1c3225; border-color: #4b6e53; color: #e5f2e8; }
html[data-theme="dark"] .google-auth-button:hover { background: #24402f; border-color: #6f9e7a; color: #f2fbf4; }
html[data-theme="dark"] .google-auth-button.is-disabled, html[data-theme="dark"] .google-auth-button:disabled { background: #182b20; border-color: #365140; color: #a7c1ae; }
html[data-theme="dark"] .google-auth-legal a { color: #9ae7b0; }
html[data-theme="dark"] .account-chip { background: #1c3225; border-color: #4b6e53; color: #e5f2e8; }
html[data-theme="dark"] .account-chip:hover { background: #24402f; }
html[data-theme="dark"] .account-avatar { background: #87d7a0; color: #10251a; }
html[data-theme="dark"] .account-card { background: #1c3225; border-color: #365140; }
html[data-theme="dark"] .account-balance-row { background: #14251b; border-color: #365140; }
html[data-theme="dark"] .account-pill.is-admin { background: #1b4430; color: #9ae7b0; }
html[data-theme="dark"] .account-pill.is-loyalty { background: #4c3d22; color: #f3d99d; }
html[data-theme="dark"] .account-logout-all { color: #b3caba; }

@media (max-width: 700px) {
  .account-chip { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .account-name { display: none; }
  .account-links { grid-template-columns: 1fr; }
}

/* Telegram @XCPCAT contact QR card & modal */
.sidebar-help-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.sidebar-qr-btn { font-size: 12px; font-weight: 600; color: #176b49; }
.inline-qr-trigger { font-size: inherit; color: #176b49; font-weight: 600; }
.footer-qr-link { padding: 0; border: 0; background: none; color: #c2d5c3; font-family: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-qr-link:hover { color: #ffffff; }

.telegram-qr-card { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--panel); max-width: 420px; }
.telegram-qr-card img { display: block; width: 132px; height: 132px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.telegram-qr-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.telegram-qr-meta strong { font-size: 17px; color: var(--text); }
.telegram-qr-meta span { font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.contact-qr-box { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 18px 0 6px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-2); }
.contact-qr-box img { display: block; width: 220px; height: 220px; border-radius: 16px; object-fit: cover; }
.contact-qr-box strong { font-size: 18px; color: var(--text); }

html[data-theme="dark"] .sidebar-qr-btn, html[data-theme="dark"] .inline-qr-trigger { color: #9ae7b0; }
html[data-theme="dark"] .telegram-qr-card { background: #172a20; border-color: #365140; }
html[data-theme="dark"] .contact-qr-box { background: #1c3225; border-color: #365140; }

@media (max-width: 520px) {
  .telegram-qr-card { flex-direction: column; align-items: flex-start; }
}
