:root {
  --cz-bg: #0b0f14;
  --cz-surface: #141a22;
  --cz-line: #2a3544;
  --cz-text: #f3f6fa;
  --cz-muted: #9aa8b8;
  --cz-accent: #f5c518;
  --cz-accent-ink: #141414;
  --cz-info: #5b8cff;
}

html[data-theme^="cheza-"],
.cz-body {
  background: var(--cz-bg);
  color: var(--cz-text);
  font-family: Manrope, system-ui, sans-serif;
}

.cz-body {
  overflow-x: clip;
}

.cz-body a {
  color: inherit;
  text-decoration: none;
}

.cz-main {
  min-width: 0;
  overflow-x: clip;
  padding-bottom: 0;
}

@media (max-width: 1023px) {
  .cz-main {
    padding-bottom: 4.5rem; /* room for bottom dock */
  }
}

.cz-wrap {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.cz-hero > .cz-wrap {
  width: min(100% - 1.25rem, 1120px);
  justify-self: stretch;
}

.cz-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--cz-line);
  background: color-mix(in srgb, #1b2430 94%, transparent);
  backdrop-filter: blur(10px);
}

.cz-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cz-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: Sora, Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cz-brand__tag {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cz-accent);
}

.cz-nav {
  display: none;
  flex: 1;
}

.cz-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cz-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--cz-muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.cz-nav a:hover,
.cz-nav a.is-active {
  color: var(--cz-accent-ink);
  background: var(--cz-accent);
}

.cz-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
}

.cz-btn-primary {
  background: var(--cz-accent);
  color: var(--cz-accent-ink);
}

.cz-btn-ghost {
  border-color: var(--cz-line);
  color: var(--cz-text);
  background: transparent;
}

.cz-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--cz-line);
  background: var(--cz-surface);
  color: var(--cz-text);
}

.cz-drawer {
  border-top: 1px solid var(--cz-line);
  padding: 0.85rem 0 1rem;
}

.cz-drawer[hidden] {
  display: none !important;
}

.cz-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.cz-drawer a {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0.7rem;
  font-weight: 650;
}

.cz-drawer .cz-btn {
  width: auto;
  max-width: 100%;
  padding-inline: 1.15rem;
  margin-inline: auto;
}

.cz-main {
  min-height: 60vh;
  padding: 0 0 2rem;
}

/* CMS 內容頁（文章／FAQ／About）左右邊距 */
.cz-page {
  padding: 1.5rem 0 2rem;
}

.cz-simple-hero .cz-section-title {
  text-align: left;
  max-width: 40rem;
}

.cz-faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cz-faq-item {
  background: var(--cz-surface);
  border: 1px solid var(--cz-line);
  border-radius: 14px;
  padding: 0.9rem 1.05rem;
  color: var(--cz-text);
}

.cz-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--cz-text);
  list-style: none;
}

.cz-faq-item summary::-webkit-details-marker {
  display: none;
}

.cz-faq-item summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--cz-accent);
}

.cz-faq-item[open] summary::before {
  content: "▾";
}

.cz-faq-item p {
  margin: 0.7rem 0 0;
  color: var(--cz-muted);
  line-height: 1.65;
}

/* DaisyUI 殘留白底／白字保險（CMS 區塊若未走 cz-*） */
html[data-theme^="cheza-"] .bg-base-100,
html[data-theme^="cheza-"] .card,
html[data-theme^="cheza-"] .rounded-box {
  background-color: var(--cz-surface) !important;
  color: var(--cz-text) !important;
  border-color: var(--cz-line);
}

html[data-theme^="cheza-"] .cz-section-title {
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 1.85rem) !important;
  font-weight: 750 !important;
  line-height: 1.3;
}

/* Cheza 文章／列表：對齊 KR（Weedza）文章規格；!important 壓過 Tailwind h1{font-size:inherit} */
html[data-theme^="cheza-"] .wz-section {
  padding: 1.75rem 1rem 2.5rem;
}

html[data-theme^="cheza-"] .wz-section__inner {
  max-width: 760px;
  margin: 0 auto;
}

html[data-theme^="cheza-"] .wz-articles .wz-section__inner {
  max-width: 1100px;
}

html[data-theme^="cheza-"] .wz-section__title {
  margin: 0 0 0.5rem;
  color: var(--cz-accent) !important;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem) !important;
  line-height: 1.3;
  text-align: center;
  font-weight: 800 !important;
}

html[data-theme^="cheza-"] .wz-section__subtitle {
  margin: 0 auto 1.75rem;
  max-width: 42rem;
  color: var(--cz-muted) !important;
  text-align: center;
  font-size: 0.98rem !important;
  line-height: 1.6;
}

html[data-theme^="cheza-"] .wz-article__inner {
  max-width: 820px;
}

html[data-theme^="cheza-"] .wz-article__inner--with-toc {
  max-width: 1100px;
}

html[data-theme^="cheza-"] .wz-article__toc-rail {
  display: none;
}

html[data-theme^="cheza-"] .wz-article__toc-mobile {
  margin: 1.25rem 0 0;
}

html[data-theme^="cheza-"] .wz-article__tag {
  display: inline-block;
  color: var(--cz-accent) !important;
  font-weight: 700 !important;
  text-decoration: none;
  font-size: 0.85rem !important;
}

html[data-theme^="cheza-"] h1.wz-article__title,
html[data-theme^="cheza-"] .wz-article__title {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #fff !important;
}

html[data-theme^="cheza-"] .wz-article__date {
  margin: 10px 0 0;
  opacity: 0.65;
  font-size: 0.9rem !important;
  color: var(--cz-muted) !important;
}

html[data-theme^="cheza-"] .wz-article__lead {
  margin: 12px 0 0;
  max-width: 40rem;
  color: rgba(232, 232, 232, 0.82) !important;
  font-size: 1rem !important;
  line-height: 1.65;
  white-space: pre-line;
}

html[data-theme^="cheza-"] .wz-article__cover {
  margin: 18px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--cz-line);
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme^="cheza-"] .wz-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-theme^="cheza-"] .wz-article__body {
  margin-top: 22px;
  line-height: 1.75;
  color: #e8e8e8 !important;
  font-size: 1.02rem !important;
}

html[data-theme^="cheza-"] .wz-article__body--html {
  white-space: normal;
}

html[data-theme^="cheza-"] .wz-article__body--html h2 {
  position: relative;
  margin: 2.6rem 0 1rem;
  padding: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.6vw, 1.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #fff !important;
  scroll-margin-top: 6rem;
}

html[data-theme^="cheza-"] .wz-article__body--html h2::before,
html[data-theme^="cheza-"] .wz-article__body--html h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
}

html[data-theme^="cheza-"] .wz-article__body--html h2::before {
  width: min(100%, 11rem);
  background: rgba(255, 255, 255, 0.18);
}

html[data-theme^="cheza-"] .wz-article__body--html h2::after {
  width: 5.5rem;
  background: var(--cz-accent);
}

html[data-theme^="cheza-"] .wz-article__body--html h3 {
  margin: 2rem 0 0.85rem;
  padding: 0.35rem 0 0.45rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #fff !important;
  border-bottom: 2px solid var(--cz-accent);
}

html[data-theme^="cheza-"] .wz-article__body--html h4 {
  margin: 1.6rem 0 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: #fff !important;
  background: rgba(245, 197, 24, 0.12);
  border-radius: 8px;
  border-left: 3px solid var(--cz-accent);
}

html[data-theme^="cheza-"] .wz-article__body--html p,
html[data-theme^="cheza-"] .wz-article__body--html ul,
html[data-theme^="cheza-"] .wz-article__body--html ol {
  margin: 0.85em 0;
  color: #e8e8e8 !important;
  font-size: 1.02rem !important;
  line-height: 1.75;
}

html[data-theme^="cheza-"] .wz-article__body--html li {
  color: #e8e8e8 !important;
}

html[data-theme^="cheza-"] .wz-article__body--html a {
  color: var(--cz-accent) !important;
}

html[data-theme^="cheza-"] .wz-article__body--html img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

html[data-theme^="cheza-"] .wz-article__back {
  margin-top: 32px;
}

html[data-theme^="cheza-"] .wz-article__back a {
  color: var(--cz-accent) !important;
  text-decoration: none;
  font-weight: 600;
}

html[data-theme^="cheza-"] .wz-article-list {
  display: grid;
  gap: 1rem;
}

html[data-theme^="cheza-"] .wz-article-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: var(--cz-surface);
  border: 1px solid var(--cz-line);
  text-decoration: none;
  color: var(--cz-text);
}

html[data-theme^="cheza-"] .wz-article-card__cover {
  width: 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: #0e0e0e;
}

html[data-theme^="cheza-"] .wz-article-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-theme^="cheza-"] .wz-article-card__title {
  margin: 0.25rem 0 0;
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  line-height: 1.35;
  color: #fff !important;
}

html[data-theme^="cheza-"] .wz-article-card__tag {
  color: var(--cz-accent) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

html[data-theme^="cheza-"] .wz-article-card__excerpt,
html[data-theme^="cheza-"] .wz-article-card__date {
  margin: 0.35rem 0 0;
  color: var(--cz-muted) !important;
  font-size: 0.88rem !important;
  line-height: 1.5;
}

html[data-theme^="cheza-"] .wz-toc {
  margin: 1rem 0 1.25rem;
  color: #e8e8e8;
}

html[data-theme^="cheza-"] .wz-toc__mobile {
  border: 1px solid var(--cz-line);
  border-radius: 12px;
  background: var(--cz-surface);
  overflow: hidden;
}

html[data-theme^="cheza-"] .wz-toc__mobile summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-weight: 700 !important;
  color: #fff !important;
}

html[data-theme^="cheza-"] .wz-toc__mobile summary::-webkit-details-marker {
  display: none;
}

html[data-theme^="cheza-"] .wz-toc__mobile summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--cz-accent);
  border-bottom: 2px solid var(--cz-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

html[data-theme^="cheza-"] .wz-toc__mobile[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.25rem;
}

html[data-theme^="cheza-"] .wz-toc__count {
  margin-left: auto;
  margin-right: 0.35rem;
  min-width: 1.5rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.16);
  color: var(--cz-accent);
  font-size: 0.78rem;
  text-align: center;
}

html[data-theme^="cheza-"] .wz-toc__desktop {
  display: none;
}

html[data-theme^="cheza-"] .wz-toc__desktop-title {
  margin: 0 0 0.75rem;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: var(--cz-accent) !important;
}

html[data-theme^="cheza-"] .wz-toc__list {
  margin: 0;
  padding: 0 0.75rem 0.85rem 1rem;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

html[data-theme^="cheza-"] .wz-toc__desktop .wz-toc__list {
  padding: 0;
  max-height: calc(100vh - 8rem);
  overflow: auto;
}

html[data-theme^="cheza-"] .wz-toc__list a {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.45rem 0.35rem;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  font-size: 0.88rem !important;
  line-height: 1.45;
  border-left: 2px solid transparent;
}

html[data-theme^="cheza-"] .wz-toc__list a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme^="cheza-"] .wz-toc__num {
  flex: 0 0 1.25rem;
  color: var(--cz-accent) !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
}

html[data-theme^="cheza-"] .cz-btn-primary {
  color: var(--cz-accent-ink) !important;
}

@media (min-width: 768px) {
  html[data-theme^="cheza-"] .wz-article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html[data-theme^="cheza-"] .wz-article-card {
    grid-template-columns: 140px 1fr;
  }
  html[data-theme^="cheza-"] .wz-article-card__cover {
    width: 140px;
    height: 90px;
  }
}

@media (min-width: 1024px) {
  html[data-theme^="cheza-"] .wz-article__inner--with-toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 1.75rem;
    align-items: start;
  }

  html[data-theme^="cheza-"] .wz-article__prose {
    grid-column: 1;
    min-width: 0;
  }

  html[data-theme^="cheza-"] .wz-article__toc-rail {
    display: block;
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 6.5rem;
  }

  html[data-theme^="cheza-"] .wz-toc__desktop {
    display: block;
    padding: 1rem;
    border: 1px solid var(--cz-line);
    border-radius: 12px;
    background: var(--cz-surface);
  }

  html[data-theme^="cheza-"] .wz-article__toc-mobile {
    display: none;
  }
}

.cz-footer {
  margin-top: 0.35rem;
  padding: 1.15rem 0 calc(1.1rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--cz-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--cz-accent) 7%, transparent), transparent 48%),
    #080b10;
}

.cz-footer__inner {
  display: grid;
  gap: 0.95rem;
}

.cz-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.5rem;
}

.cz-footer__kicker {
  margin: 0 0 0.3rem;
  color: var(--cz-accent);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cz-footer__name {
  display: block;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  color: #fff;
  line-height: 1.25;
}

.cz-footer__blurb,
.cz-footer__legal,
.cz-footer__copy,
.cz-muted {
  color: var(--cz-muted);
}

.cz-footer__blurb {
  margin: 0.4rem 0 0;
  max-width: 34rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.cz-footer__label {
  margin: 0 0 0.45rem;
  color: var(--cz-accent);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cz-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
}

.cz-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--cz-line);
  background: color-mix(in srgb, var(--cz-surface) 80%, transparent);
  color: color-mix(in srgb, var(--cz-muted) 80%, #fff);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.cz-footer__links a:hover {
  color: #fff;
  border-color: color-mix(in srgb, var(--cz-accent) 45%, var(--cz-line));
}

.cz-footer__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cz-footer__legal {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  max-width: 36rem;
}

.cz-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cz-line);
}

.cz-footer__copy {
  margin: 0;
  font-size: 0.76rem;
}

.cz-footer__rp {
  color: color-mix(in srgb, var(--cz-accent) 75%, #fff);
  font-size: 0.76rem;
  font-weight: 650;
  text-decoration: none;
}

.cz-footer__rp:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (min-width: 800px) {
  .cz-footer__top {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: start;
  }
  .cz-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem 0.55rem;
  }
  .cz-footer__links a {
    justify-content: flex-start;
    min-height: auto;
    padding: 0.15rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
}

@media (max-width: 720px) {
  .cz-footer {
    padding-bottom: calc(5.6rem + env(safe-area-inset-bottom));
  }
}

.cz-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--cz-info) 55%, transparent);
  color: var(--cz-info);
  background: color-mix(in srgb, var(--cz-info) 12%, transparent);
}

.cz-tag-age {
  border-color: var(--cz-line);
  color: var(--cz-muted);
  background: transparent;
}

.cz-hero {
  position: relative;
  isolation: isolate;
  min-height: 19.5rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 1.5rem 0 1.6rem;
  background:
    radial-gradient(120% 80% at 78% 18%, rgba(255, 70, 70, 0.16), transparent 55%),
    radial-gradient(90% 70% at 12% 88%, rgba(245, 197, 24, 0.16), transparent 50%),
    linear-gradient(165deg, #05070c 0%, #0d1520 48%, #161016 100%);
}

.cz-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.cz-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.cz-hero__glow--sun {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  right: -8%;
  top: 4%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.28), transparent 68%);
  animation: cz-banner-pulse 5.5s ease-in-out infinite;
}

.cz-hero__glow--flare {
  width: min(28vw, 280px);
  height: min(28vw, 280px);
  left: 6%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(255, 80, 80, 0.22), transparent 70%);
  animation: cz-banner-pulse 4.2s ease-in-out infinite reverse;
}

.cz-hero__stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1px 1px at 28% 58%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 46% 18%, rgba(255, 240, 180, 0.7), transparent),
    radial-gradient(1px 1px at 63% 42%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 68%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 88% 28%, rgba(255, 230, 160, 0.55), transparent),
    radial-gradient(1px 1px at 18% 78%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.7;
  animation: cz-banner-twinkle 3.8s ease-in-out infinite;
}

.cz-hero__grid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background-image:
    linear-gradient(rgba(245, 197, 24, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 24, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 80%);
  transform: perspective(700px) rotateX(42deg);
  transform-origin: center bottom;
  will-change: transform;
}

.cz-hero__flight {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.cz-hero__trail {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  stroke-width: 4;
  animation: cz-banner-draw 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.cz-hero__trail--core {
  animation-delay: 0.08s;
}

.cz-hero__plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 20px;
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.65));
  animation: cz-banner-fly 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}

.cz-hero__plane svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cz-hero__mult {
  position: absolute;
  right: max(1rem, calc((100% - min(100% - 2rem, 38rem)) / 2));
  top: 1.1rem;
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  font-family: Unbounded, Sora, sans-serif;
  color: var(--cz-accent);
  text-shadow: 0 0 24px rgba(245, 197, 24, 0.35);
  z-index: 2;
  pointer-events: none;
}

.cz-hero__mult-label {
  font-size: clamp(0.85rem, 1.8vw, 1.25rem);
  font-weight: 700;
  opacity: 0.8;
}

.cz-hero__mult-value {
  font-size: clamp(1.45rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.cz-hero__mult-value.is-crash {
  color: var(--cz-danger, #ff5c5c);
  transform: scale(1.04);
}

.cz-hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.cz-hero__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.cz-hero__brand {
  margin: 0 0 0.55rem;
  padding-right: 3.75rem;
  font-family: Unbounded, Sora, sans-serif;
  font-size: clamp(1.35rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
}

.cz-hero__title {
  margin: 0 0 0.65rem;
  color: #ffe9a8;
  font-size: clamp(1rem, 2.4vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.cz-hero__lead {
  margin: 0 0 1rem;
  color: #c5d0dd;
  max-width: 36rem;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  overflow-wrap: break-word;
}

.cz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.cz-hero__cta {
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.25), 0 10px 36px rgba(245, 197, 24, 0.22);
  animation: cz-banner-cta 2.8s ease-in-out infinite;
}

.cz-hero__meta {
  margin: 0.85rem 0 0;
  color: var(--cz-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

@keyframes cz-banner-draw {
  0% { stroke-dashoffset: 1400; opacity: 0.25; }
  18% { opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  86% { opacity: 0.15; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes cz-banner-fly {
  0% { transform: translate(-8%, 78%) rotate(-8deg); opacity: 0; }
  8% { opacity: 1; }
  72% { transform: translate(78%, 10%) rotate(-26deg); opacity: 1; }
  86% { transform: translate(86%, 6%) rotate(-28deg); opacity: 0; }
  100% { transform: translate(86%, 6%) rotate(-28deg); opacity: 0; }
}

@keyframes cz-banner-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes cz-banner-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.85; }
}

@keyframes cz-banner-cta {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.25), 0 10px 36px rgba(245, 197, 24, 0.18); }
  50% { box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.4), 0 12px 42px rgba(245, 197, 24, 0.34); }
}

@media (prefers-reduced-motion: reduce) {
  .cz-hero__glow,
  .cz-hero__stars,
  .cz-hero__trail,
  .cz-hero__plane,
  .cz-hero__cta {
    animation: none !important;
  }
  .cz-hero__trail,
  .cz-hero__trail--core {
    stroke-dashoffset: 0;
    opacity: 0.85;
  }
  .cz-hero__plane {
    transform: translate(62%, 22%) rotate(-18deg);
    opacity: 1;
  }
}

@media (max-width: 420px) {
  .cz-hero__brand {
    font-size: 1.35rem;
    padding-right: 3.25rem;
  }
  .cz-hero__mult-value {
    font-size: 1.35rem;
  }
}

.cz-section {
  padding: 1.15rem 0;
}

.cz-section--compact {
  padding: 0.85rem 0;
}

.cz-section-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 750;
}

.cz-grid-3 {
  display: grid;
  gap: 1rem;
}

.cz-card {
  background: var(--cz-surface);
  border: 1px solid var(--cz-line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.cz-step {
  text-align: center;
}

.cz-step h3 {
  margin: 0 0 0.35rem;
  color: var(--cz-accent);
  font-size: 1.02rem;
}

.cz-step p {
  margin: 0;
  color: var(--cz-muted);
  font-size: 0.92rem;
}

.cz-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cz-trust__item {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  text-align: left;
  font-weight: 650;
  font-size: 0.86rem;
}

.cz-play-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100dvh - 9.5rem);
  min-height: 320px;
  border-radius: 14px;
  border: 1px solid var(--cz-line);
  background: #0b121a;
}

.cz-play-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cz-play-frame__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--cz-muted);
  background: #0b121a;
}

.cz-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--cz-line);
  background: #0d1218;
}

.cz-dock a {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.35rem 0.2rem;
  color: var(--cz-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .cz-hero {
    min-height: 24rem;
    align-items: center;
    padding: 2rem 0 2.25rem;
  }
  .cz-hero__brand {
    padding-right: 0;
  }
  .cz-hero__actions {
    justify-content: flex-start;
  }
  .cz-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .cz-trust {
    gap: 0.6rem;
  }
  .cz-trust__item {
    flex: 0 0 auto;
  }
  .cz-step {
    text-align: left;
  }
  .cz-play-frame {
    height: min(70svh, 720px);
    min-height: 480px;
  }
  .cz-dock {
    display: none;
  }
}

@media (min-width: 1024px) {
  .cz-nav {
    display: block;
  }
  .cz-menu-btn {
    display: none;
  }
}

/* ---- Cheza Mines / Limbo theme tokens ---- */
html[data-theme="cheza-mines"] {
  --cz-accent: #3dd68c;
  --cz-accent-ink: #07140f;
  --cz-info: #f0d36a;
  --cz-danger: #ff5c5c;
}

html[data-theme="cheza-limbo"] {
  --cz-accent: #6ea8ff;
  --cz-accent-ink: #071018;
  --cz-info: #b8c7ff;
  --cz-danger: #ff6b8a;
}

.cz-hero--mines,
.cz-hero--limbo {
  min-height: clamp(22rem, 58vw, 28rem);
  align-items: end;
  padding: 1.75rem 0 1.85rem;
}

.cz-hero--mines {
  background: linear-gradient(115deg, #040a08 0%, #07140f 42%, #0a1a14 100%);
}

.cz-hero--limbo {
  background: linear-gradient(115deg, #04060e 0%, #0a1020 42%, #101528 100%);
}

.cz-hero__art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 72% center;
  opacity: 1;
  z-index: 0;
}

.cz-hero__art--mines {
  background-image: url("/images/cheza/mines-hero.jpg");
  background-position: 58% center;
}

.cz-hero__art--limbo {
  background-image: url("/images/cheza/limbo-hero.jpg");
  background-position: 52% center;
}

.cz-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 8, 7, 0.72) 0%, rgba(4, 8, 7, 0.45) 32%, rgba(4, 8, 7, 0.18) 58%, rgba(4, 8, 7, 0.08) 100%),
    linear-gradient(180deg, transparent 55%, rgba(4, 8, 7, 0.55) 100%);
  pointer-events: none;
}

.cz-hero--limbo .cz-hero__veil {
  background:
    linear-gradient(90deg, rgba(4, 6, 14, 0.7) 0%, rgba(4, 6, 14, 0.42) 30%, rgba(4, 6, 14, 0.16) 58%, rgba(4, 6, 14, 0.08) 100%),
    linear-gradient(180deg, transparent 52%, rgba(4, 6, 14, 0.58) 100%);
}

.cz-hero__hud {
  position: absolute;
  right: max(1rem, 4%);
  top: 1.15rem;
  z-index: 2;
  min-width: 7.5rem;
  padding: 0.7rem 0.85rem 0.75rem;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.cz-hero__hud--mines {
  border: 1px solid rgba(61, 214, 140, 0.35);
  background: rgba(7, 20, 15, 0.72);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.cz-hero__hud--limbo {
  border: 1px solid rgba(110, 168, 255, 0.4);
  background: rgba(8, 14, 28, 0.74);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.cz-hero__hud-kicker {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  font-weight: 750;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cz-accent) 85%, #fff);
  opacity: 0.9;
}

.cz-hero__hud-value {
  display: block;
  margin-top: 0.15rem;
  font-family: Unbounded, Sora, sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.cz-hero__hud-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--cz-muted);
}

.cz-hero__pulse-dot {
  position: absolute;
  right: 26%;
  top: 46%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  z-index: 2;
  background: rgba(61, 214, 140, 0.95);
  box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.45);
  animation: cz-mines-soft-pulse 3.8s ease-in-out infinite;
}

.cz-hero__target-glow {
  position: absolute;
  left: 42%;
  right: 8%;
  top: 34%;
  height: 2px;
  z-index: 2;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(110, 168, 255, 0.85), transparent);
  box-shadow: 0 0 18px rgba(110, 168, 255, 0.35);
  animation: cz-limbo-soft-glow 4.2s ease-in-out infinite;
  opacity: 0.75;
}

.cz-hero--mines .cz-hero__title,
.cz-hero--limbo .cz-hero__title {
  color: color-mix(in srgb, var(--cz-accent) 70%, #fff);
}

.cz-hero--mines .cz-hero__cta,
.cz-hero--limbo .cz-hero__cta {
  animation: none;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cz-accent) 28%, transparent), 0 10px 28px color-mix(in srgb, var(--cz-accent) 18%, transparent);
}

/* Banner CTA placement: different per game */
.cz-hero__actions--aviator {
  justify-content: center;
}

.cz-hero__actions--mines {
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
  max-width: none;
}

.cz-hero__actions--mines .cz-hero__cta,
.cz-hero__actions--mines .cz-hero__about {
  width: auto;
  min-width: 0;
  max-width: 100%;
  justify-content: center;
  border-radius: 12px;
  min-height: 2.5rem;
  padding-inline: 1.15rem;
}

.cz-hero__actions--mines .cz-hero__about {
  border-style: dashed;
}

.cz-hero__actions--limbo {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  max-width: none;
}

.cz-hero__actions--limbo .cz-hero__about {
  order: 0;
  border: 0;
  background: transparent;
  padding-inline: 0.2rem;
  min-height: auto;
  min-width: 0;
  color: color-mix(in srgb, var(--cz-accent) 80%, #fff);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  border-radius: 0;
}

.cz-hero__actions--limbo .cz-hero__about:hover {
  background: transparent;
  color: #fff;
}

.cz-hero__actions--limbo .cz-hero__cta {
  order: 1;
  width: auto;
  min-width: 0;
  border-radius: 999px;
  justify-content: center;
  padding-inline: 1.25rem;
}

.cz-hero__content--mines {
  max-width: 34rem;
}

.cz-hero__content--limbo {
  max-width: 36rem;
}

.cz-hero__content--limbo .cz-hero__meta {
  margin-top: 1.05rem;
}

@media (min-width: 768px) {
  .cz-hero__actions--aviator {
    justify-content: flex-start;
  }
  .cz-hero__actions--limbo {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .cz-section {
    padding: 0.85rem 0;
  }
  .cz-hero--mines,
  .cz-hero--limbo {
    padding-bottom: 1.15rem;
  }
  .cz-hero__actions--mines,
  .cz-hero__actions--limbo {
    width: auto;
    max-width: 100%;
  }
  .cz-hero__actions--limbo {
    justify-content: flex-start;
  }
  .cz-hero__actions--limbo .cz-hero__cta {
    min-width: 0;
    flex: 0 0 auto;
  }
  .cz-btn {
    min-height: 40px;
    padding: 0.45rem 0.95rem;
    font-size: 0.86rem;
  }
}

.cz-step__icon {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.55rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cz-accent);
  background: color-mix(in srgb, var(--cz-accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cz-accent) 28%, transparent);
}

.cz-step--mines {
  border-radius: 12px;
}

.cz-step--limbo {
  border-radius: 16px;
  border-color: color-mix(in srgb, var(--cz-accent) 28%, var(--cz-line));
}

.cz-grid-3--mines .cz-step h3,
.cz-grid-3--limbo .cz-step h3 {
  margin-top: 0;
}

@keyframes cz-mines-soft-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.35); opacity: 0.85; }
  50% { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(61, 214, 140, 0); opacity: 1; }
}

@keyframes cz-limbo-soft-glow {
  0%, 100% { opacity: 0.55; filter: brightness(1); }
  50% { opacity: 0.9; filter: brightness(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  .cz-hero__pulse-dot,
  .cz-hero__target-glow {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .cz-header-cta {
    display: none;
  }
  .cz-brand {
    min-width: 0;
    flex: 1 1 auto;
  }
  .cz-brand > span {
    min-width: 0;
    display: grid;
  }
  .cz-brand > span > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cz-hero--mines,
  .cz-hero--limbo {
    min-height: 0;
  }
  .cz-hero__art {
    background-position: 80% center;
  }
  .cz-hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 8, 7, 0.55) 0%, rgba(4, 8, 7, 0.82) 48%, rgba(4, 8, 7, 0.94) 100%),
      linear-gradient(90deg, rgba(4, 8, 7, 0.7) 0%, transparent 70%);
  }
  .cz-hero--limbo .cz-hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 6, 14, 0.55) 0%, rgba(4, 6, 14, 0.84) 48%, rgba(4, 6, 14, 0.95) 100%),
      linear-gradient(90deg, rgba(4, 6, 14, 0.72) 0%, transparent 70%);
  }
  /* Keep HUD top-right so it does not cover CTA stack */
  .cz-hero__hud {
    top: 0.75rem;
    bottom: auto;
    right: 0.75rem;
    min-width: 0;
    max-width: min(42vw, 7.2rem);
    padding: 0.5rem 0.6rem;
  }
  .cz-hero__hud-value {
    font-size: 1.25rem;
  }
  .cz-hero__hud-sub {
    display: none;
  }
  .cz-hero__content--mines,
  .cz-hero__content--limbo {
    max-width: 100%;
    padding-right: 0.25rem;
  }
  .cz-hero__actions--mines,
  .cz-hero__actions--limbo {
    max-width: 100%;
    width: auto;
  }
  .cz-hero__actions--limbo {
    flex-wrap: wrap;
    gap: 0.55rem;
  }
  .cz-hero__actions--limbo .cz-hero__cta {
    min-width: 0;
    flex: 0 0 auto;
  }
  .cz-hero__pulse-dot,
  .cz-hero__target-glow {
    display: none;
  }
  .cz-float {
    bottom: calc(4.6rem + env(safe-area-inset-bottom));
    width: 5.6rem;
  }
  .cz-float__orb {
    width: 5.6rem;
    min-height: 5.6rem;
  }
}

/* ke7 sponsored Aviator Rains banner (home + play) */
.cz-sponsor {
  padding: 1.1rem 0 0.35rem;
}
.cz-sponsor__inner {
  display: grid;
  gap: 0.4rem;
}
.cz-sponsor__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cz-muted);
  font-weight: 750;
}
.cz-sponsor__link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--cz-line);
  background: #5c0707;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cz-sponsor__link:hover,
.cz-sponsor__link:focus-visible {
  border-color: color-mix(in srgb, var(--cz-accent) 55%, var(--cz-line));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cz-accent) 35%, transparent);
  outline: none;
}
.cz-sponsor__img {
  width: 100%;
  height: auto;
  aspect-ratio: 35 / 9;
  object-fit: contain;
  object-position: center top;
  background: #5c0707;
  display: block;
}
.cz-sponsor__note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--cz-muted);
}
