:root {
  --bg: #f7f4ee;
  --bg-2: #eef7f4;
  --surface: #ffffff;
  --surface-soft: #f6f7f8;
  --ink: #17181d;
  --muted: #6d7480;
  --line: #e2e5e9;
  --brand: #d82d3a;
  --brand-dark: #991f2a;
  --teal: #0e8f82;
  --teal-soft: #dff6f1;
  --gold: #d89514;
  --blue: #2f6fbd;
  --shadow: 0 18px 40px rgba(40, 38, 35, 0.10);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0, rgba(255, 255, 255, 0) 260px),
    linear-gradient(135deg, var(--bg) 0, #f9fbfb 48%, var(--bg-2) 100%);
  letter-spacing: 0;
  overflow-x: hidden;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  font-size: 16px;
  line-height: 1.35;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 8;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 24, 29, 0.08);
  backdrop-filter: blur(18px);
}

.topbar-inner,
.quick-nav,
.page-shell,
.site-footer {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.topbar-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.brand,
.menu-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-weight: 900;
}

.brand {
  justify-self: start;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(from 200deg, var(--brand), #ef6a3a, var(--brand-dark), var(--brand));
  border-radius: 14px;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(216, 45, 58, 0.24);
}

.support-link {
  justify-self: end;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #173f3a;
  background: var(--teal-soft);
  border: 1px solid rgba(14, 143, 130, 0.18);
  border-radius: 999px;
  font-weight: 900;
}

.menu-button,
.menu-close {
  border: 0;
  cursor: pointer;
}

.menu-button {
  min-width: 82px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: start;
  padding: 0 10px;
  color: #fff;
  background: #17181d;
  border-radius: 14px;
  font-weight: 950;
}

.menu-lines {
  width: 24px;
  display: grid;
  gap: 5px;
}

.menu-lines i {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 8px;
}

.menu-lines i:nth-child(1) {
  width: 20px;
}

.menu-lines i:nth-child(2) {
  width: 14px;
}

.menu-lines i:nth-child(3) {
  width: 24px;
}

.menu-button strong {
  display: block;
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.quick-nav {
  min-height: 60px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  padding: 0 0 14px;
}

.quick-nav a,
.user-chip {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0 14px;
  color: #343943;
  background: #f5f6f7;
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 999px;
  font-weight: 850;
}

.quick-nav a.active {
  color: #fff;
  background: #17181d;
  border-color: #17181d;
}

.user-chip {
  margin-left: auto;
  color: var(--brand-dark);
  background: #fff3f0;
  border-color: rgba(216, 45, 58, 0.18);
}

.page-shell {
  padding: 34px 0 20px;
  min-height: calc(100vh - 238px);
}

body:has(.purchase-stage) {
  background: #dedede;
}

body:has(.purchase-stage) .topbar {
  color: #fff;
  background: #050608;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:has(.purchase-stage) .brand-mark {
  box-shadow: none;
}

body:has(.purchase-stage) .support-link {
  color: #fff;
  background: transparent;
  border-color: transparent;
}

body:has(.purchase-stage) .menu-lines i {
  background: #fff;
}

body:has(.purchase-stage) .quick-nav {
  min-height: 48px;
  color: #fff;
  background: #050608;
  padding-bottom: 10px;
}

body:has(.purchase-stage) .quick-nav a {
  color: #fff;
  background: transparent;
  border-color: transparent;
}

body:has(.purchase-stage) .quick-nav a.active {
  color: #fff;
  background: transparent;
}

body:has(.purchase-stage) .page-shell {
  width: min(100% - 20px, 560px);
  padding-top: 0;
}

body:has(.campaign-home) {
  background: #dedede;
}

body:has(.campaign-home) .topbar {
  color: #fff;
  background: #050608;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body:has(.campaign-home) .topbar-inner,
body:has(.campaign-home) .quick-nav,
body:has(.campaign-home) .page-shell,
body:has(.campaign-home) .site-footer {
  width: min(100% - 18px, 560px);
}

body:has(.campaign-home) .topbar-inner {
  min-height: 64px;
}

body:has(.campaign-home) .brand-mark {
  box-shadow: none;
}

body:has(.campaign-home) .support-link {
  color: #fff27a;
  background: transparent;
  border-color: transparent;
}

body:has(.campaign-home) .menu-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

body:has(.campaign-home) .menu-lines i {
  background: #fff;
}

body:has(.campaign-home) .quick-nav {
  min-height: 48px;
  color: #fff;
  background: #050608;
  padding-bottom: 10px;
}

body:has(.campaign-home) .quick-nav a {
  color: #fff;
  background: transparent;
  border-color: transparent;
  padding-inline: 0;
}

body:has(.campaign-home) .quick-nav a + a {
  margin-left: 14px;
}

body:has(.campaign-home) .quick-nav a.active {
  color: #fff;
  background: transparent;
}

body:has(.campaign-home) .page-shell {
  padding-top: 0;
}

.panel {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  overflow-x: auto;
}

.panel-head {
  min-height: 58px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-head h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
}

.panel-head span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
}

.panel-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(40, 38, 35, 0.06);
  overflow-x: auto;
}

.tabs a {
  min-width: 112px;
  text-align: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: #555d68;
  font-weight: 900;
}

.tabs a.active {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 8px 16px rgba(14, 143, 130, 0.22);
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.campaign-home {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
}

.campaign-home-panel {
  padding: 8px;
  background: #e7e7e7;
  border-radius: 16px 16px 8px 8px;
}

.home-title {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-height: 26px;
  padding: 0 4px 6px;
}

.home-title h1 {
  margin: 0;
  font-size: 19px;
  line-height: 1;
  font-weight: 950;
}

.home-title span {
  color: #6f7580;
  font-size: 13px;
  font-weight: 750;
}

.home-hero-card {
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.12);
}

.home-hero-media {
  display: block;
  background: #090909;
}

.home-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.1;
  object-fit: cover;
}

.home-hero-copy {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.home-hero-copy h2,
.home-hero-copy p {
  margin: 0;
}

.home-hero-copy h2 {
  font-size: 15px;
  line-height: 1.05;
  font-weight: 950;
}

.home-hero-copy p {
  color: #3f4650;
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.home-hero-button {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  color: #fff;
  background: #178f57;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(23, 143, 87, 0.22);
}

.home-hero-button::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -40px;
  z-index: 0;
  width: 34px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(18deg);
  animation: buy-shine 3.8s ease-in-out infinite;
}

.home-hero-button::before {
  content: "";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(#178f57, #178f57) 8px 12px / 10px 2px no-repeat,
    linear-gradient(45deg, transparent 43%, #178f57 45% 56%, transparent 58%) 13px 7px / 7px 7px no-repeat,
    linear-gradient(-45deg, transparent 43%, #178f57 45% 56%, transparent 58%) 13px 12px / 7px 7px no-repeat,
    #fff;
  border-radius: 999px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(23, 143, 87, 0.12);
}

.home-hero-button span,
.home-hero-button small {
  display: block;
}

.home-hero-button span {
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.home-hero-button small {
  margin-top: 2px;
  opacity: 0.86;
  font-size: 11px;
  font-weight: 850;
}

.draw-countdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  color: #17214a;
  background: linear-gradient(135deg, #ffffff, #eef5ff);
  border: 1px solid #cadcf7;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(23, 65, 138, 0.08);
}

.draw-countdown span,
.draw-countdown strong {
  display: block;
}

.draw-countdown span {
  color: #5b6677;
  font-size: 12px;
  font-weight: 850;
}

.draw-countdown strong {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  color: #fff;
  background: #17214a;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.draw-countdown.compact {
  padding: 8px;
  box-shadow: none;
}

.draw-countdown.compact span,
.draw-countdown.compact strong {
  font-size: 11px;
}

.draw-countdown.is-done {
  color: #0f4633;
  background: #effbf5;
  border-color: #c9efdc;
}

.draw-countdown.is-done strong {
  background: #178f57;
}

.campaign-share {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.campaign-share .button {
  min-height: 42px;
  padding-inline: 10px;
  font-size: 13px;
  white-space: nowrap;
}

.campaign-share.compact {
  grid-template-columns: 1fr;
  gap: 6px;
}

.campaign-share.compact .button {
  min-height: 36px;
  font-size: 12px;
}

.attention-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.attention-item {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 9px 10px;
  color: #17214a;
  background: #fff;
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
}

.attention-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  opacity: 0;
  transform: translateX(-120%);
}

.attention-item.hot {
  color: #fff;
  background: linear-gradient(135deg, #050608, #17214a 48%, #178f57);
}

.attention-item.hot::after {
  opacity: 1;
  animation: buy-shine 4.2s ease-in-out infinite;
}

.attention-item.safe {
  color: #0f4633;
  background: linear-gradient(135deg, #f2fff8, #e5f8ef);
  border-color: #c7ecd8;
}

.attention-item span,
.attention-item strong {
  position: relative;
  z-index: 1;
  display: block;
}

.attention-item span {
  color: inherit;
  opacity: 0.74;
  font-size: 10px;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.attention-item strong {
  font-size: 12px;
  line-height: 1.15;
  font-weight: 950;
}

.campaign-urgency {
  display: grid;
  gap: 8px;
  padding: 10px;
  color: #121820;
  background: #fff;
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18, 25, 50, 0.08);
}

.campaign-urgency-head,
.campaign-urgency-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.campaign-urgency-head strong {
  color: #0f5f3d;
  font-size: 13px;
  font-weight: 950;
}

.campaign-urgency-head span {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  color: #fff;
  background: #17214a;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  white-space: nowrap;
}

.campaign-urgency-bar {
  height: 12px;
  overflow: hidden;
  background: #e8edf2;
  border-radius: 999px;
}

.campaign-urgency-bar i {
  min-width: 4px;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #19a36f, #f0c542);
  border-radius: inherit;
}

.campaign-urgency-meta {
  flex-wrap: wrap;
  color: #65707d;
  font-size: 12px;
  font-weight: 800;
}

.campaign-urgency-meta strong {
  color: #111827;
  font-weight: 950;
}

.campaign-urgency.compact {
  gap: 6px;
  padding: 8px;
  background: #f8fbf9;
  box-shadow: none;
}

.campaign-urgency.compact .campaign-urgency-head strong {
  font-size: 12px;
}

.campaign-urgency.compact .campaign-urgency-head span,
.campaign-urgency.compact .campaign-urgency-meta {
  font-size: 10px;
}

.campaign-urgency.compact .campaign-urgency-bar {
  height: 8px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.trust-strip span {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px;
  color: #0f4633;
  background: #effbf5;
  border: 1px solid #c9efdc;
  border-radius: 8px;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  font-size: 12px;
  font-weight: 950;
}

.trust-strip small {
  color: #60766f;
  font-size: 10px;
  font-weight: 780;
}

.trust-strip.compact {
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 0 16px 12px;
}

.trust-strip.compact span {
  min-height: 40px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 7px 9px;
}

.trust-strip.compact strong,
.trust-strip.compact small {
  font-size: 11px;
}

.anti-fraud-box {
  display: grid;
  gap: 5px;
  padding: 12px;
  color: #513709;
  background: #fff7e5;
  border: 1px solid #f0d59d;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

.anti-fraud-box strong,
.anti-fraud-box p,
.anti-fraud-box a {
  display: block;
  margin: 0;
}

.anti-fraud-box strong {
  font-size: 14px;
  font-weight: 950;
}

.anti-fraud-box p {
  color: #6c5222;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.anti-fraud-box a {
  width: fit-content;
  color: #111827;
  font-size: 12px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.anti-fraud-box.compact {
  margin: 0 16px 16px;
  padding: 10px;
}

.buyer-faq {
  display: grid;
  gap: 6px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.buyer-faq-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 2px 5px;
}

.buyer-faq-head strong,
.buyer-faq-head span {
  display: block;
}

.buyer-faq-head strong {
  font-size: 15px;
  font-weight: 950;
}

.buyer-faq-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.buyer-faq details {
  overflow: hidden;
  background: #f8fafb;
  border: 1px solid #e2e7ed;
  border-radius: 7px;
}

.buyer-faq summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
}

.buyer-faq p {
  margin: 0;
  padding: 0 12px 12px;
  color: #5b6677;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.sparkle-ticker {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  overflow: hidden;
  min-height: 44px;
  margin-top: 8px;
  padding: 7px;
  color: #fff;
  background: linear-gradient(135deg, #050608 0%, #17214a 45%, #0c8b72 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(18, 25, 50, 0.18);
}

.sparkle-ticker.is-live {
  background: linear-gradient(135deg, #052719 0%, #0c6f4b 52%, #1143a0 100%);
  box-shadow: 0 12px 28px rgba(10, 111, 75, 0.24);
}

.sparkle-ticker.is-live::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13), transparent);
  transform: translateX(-100%);
  animation: buy-shine 4.5s ease-in-out infinite;
}

.sparkle-title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff27a;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.sparkle-title::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff27a;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(255, 242, 122, 0.5);
  animation: live-pulse 1.6s ease-out infinite;
}

.sparkle-rail {
  min-width: 0;
  overflow: hidden;
}

.sparkle-track {
  display: flex;
  width: max-content;
  gap: 6px;
  animation: sparkle-scroll 24s linear infinite;
}

.sparkle-track span {
  position: relative;
  flex: 0 0 auto;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.sparkle-track span::after {
  content: "";
  position: absolute;
  inset: -8px auto -8px -34px;
  width: 24px;
  background: rgba(255, 255, 255, 0.56);
  transform: rotate(18deg);
  animation: ticket-glint 4.2s ease-in-out infinite;
}

.sparkle-track strong {
  font-family: Consolas, monospace;
  font-size: 12px;
}

.sparkle-track em {
  color: #fff27a;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.sparkle-track small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 850;
}

.sparkle-track .is-purchase {
  min-height: 34px;
  background: rgba(255, 255, 255, 0.16);
}

.sparkle-track .is-purchase strong {
  font-family: inherit;
  font-size: 12px;
}

.sparkle-track .is-purchase em {
  color: #fff;
}

.sparkle-track .is-purchase small {
  min-height: 21px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #08351f;
  background: #fff27a;
  border-radius: 999px;
  font-weight: 950;
}

.sparkle-track:hover {
  animation-play-state: paused;
}

.home-hero-button span,
.home-hero-button small,
.home-hero-button::before {
  position: relative;
  z-index: 1;
}

.home-section-head {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 2px;
}

.home-section-head div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}

.home-section-head h2,
.home-section-head p {
  margin: 0;
}

.home-section-head h2 {
  font-size: 19px;
  line-height: 1;
  font-weight: 950;
}

.home-section-head p {
  color: #626974;
  font-size: 13px;
  white-space: nowrap;
}

.home-section-head a {
  min-width: 34px;
  min-height: 30px;
  display: grid;
  place-items: center;
  color: #5d6570;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 950;
}

.home-winners,
.home-campaign-list {
  display: grid;
  gap: 8px;
}

.home-winner-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
}

.home-winner-card {
  flex: 0 0 min(230px, 82vw);
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
  scroll-snap-align: start;
}

.home-winner-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #19bed0, #5e7bf2);
  border-radius: 12px;
  font-weight: 950;
}

.home-winner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-winner-card h3,
.home-winner-card p {
  margin: 0;
}

.home-winner-card h3 {
  font-size: 14px;
  line-height: 1.05;
}

.home-winner-card p,
.home-winner-card small {
  display: block;
  overflow: hidden;
  color: #4f5865;
  font-size: 11px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-campaign-card {
  background: #fff;
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(20, 20, 20, 0.08);
}

.home-campaign-card.is-active {
  display: grid;
  gap: 6px;
  padding: 6px;
}

.home-campaign-title {
  padding: 0 2px;
}

.home-campaign-title h3,
.home-campaign-title p,
.home-campaign-info h3,
.home-campaign-info p {
  margin: 0;
}

.home-campaign-title h3,
.home-campaign-info h3 {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.05;
  font-weight: 950;
}

.home-campaign-title p,
.home-campaign-info p,
.home-campaign-info small {
  display: block;
  color: #4f5865;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-campaign-buy-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
}

.home-campaign-buy-row > img,
.home-campaign-card.is-quiet > img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  background: #090909;
  border-radius: 8px;
}

.home-buy-form {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.home-buy-form .quantity-widget.compact {
  display: grid;
  grid-template-columns: minmax(82px, 110px) minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.home-buy-form .quantity-widget.compact .quick-amounts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}

.home-buy-form .quantity-widget.compact .quick-amounts button {
  min-height: 30px;
  padding: 4px;
  font-size: 12px;
  border-radius: 5px;
}

.home-buy-form .quantity-widget.compact .quick-amounts button.popular::before {
  display: none;
}

.home-buy-form .quantity-widget.compact .quantity-row {
  min-width: 0;
  grid-template-columns: 31px minmax(0, 1fr) 31px;
  border-radius: 8px;
  box-shadow: none;
}

.home-buy-form .quantity-widget.compact .quantity-row button {
  width: 31px;
  height: 34px;
  font-size: 18px;
}

.home-buy-form .quantity-widget.compact .quantity-row input {
  min-height: 34px;
  padding: 0 4px;
  font-size: 13px;
}

.home-card-buy {
  min-height: 30px;
  justify-content: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12px;
  text-transform: uppercase;
}

.home-card-buy strong {
  font-size: 11px;
}

.home-campaign-card.is-quiet {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 6px;
}

.mini-status {
  display: inline-flex;
  width: fit-content;
  min-height: 17px;
  align-items: center;
  padding: 2px 6px;
  color: #fff;
  background: #158cda;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
}

.mini-status.status-active {
  background: #168f63;
}

.mini-status.status-completed {
  background: #2372ff;
}

.mini-status.status-upcoming {
  color: #4c3000;
  background: #ffd372;
}

.winner-list {
  display: grid;
  gap: 14px;
}

.campaign-card,
.winner-card,
.order-card,
.text-card,
.form-card,
.success-box,
.legal-text,
.payment-summary,
.pix-panel {
  background: var(--surface);
  border: 1px solid rgba(23, 24, 29, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.campaign-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  min-height: 190px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.campaign-card img {
  width: 190px;
  height: 166px;
  border-radius: 8px;
  object-fit: cover;
  background: #111;
}

.campaign-body {
  display: grid;
  align-content: start;
  gap: 8px;
}

.campaign-body h2,
.winner-card h2,
.text-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.campaign-body p,
.winner-card p,
.text-card p,
.legal-text p {
  margin: 0;
  color: #55606d;
  line-height: 1.45;
}

.campaign-topline,
.meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #09584f;
  background: var(--teal-soft);
  font-weight: 900;
  font-size: 12px;
}

.pill.muted {
  color: #606975;
  background: #eef1f4;
}

.progress {
  height: 9px;
  background: #eef1f4;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.button,
button.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.button:hover,
button.button:hover {
  transform: translateY(-1px);
}

.button.dark {
  color: #fff;
  background: #17181d;
  box-shadow: 0 10px 18px rgba(23, 24, 29, 0.18);
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 18px rgba(47, 111, 189, 0.18);
}

.button.success {
  color: #fff;
  background: var(--teal);
  box-shadow: 0 10px 18px rgba(14, 143, 130, 0.18);
}

.button.large {
  min-height: 50px;
  font-size: 18px;
}

.button.full {
  width: 100%;
}

.button:disabled,
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.detail-layout,
.buy-layout,
.payment-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.detail-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.detail-copy,
.legal-text,
.text-card,
.success-box {
  padding: 22px;
}

.detail-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: 0;
}

.eyebrow,
.small {
  color: var(--muted);
  font-size: 13px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.detail-list div,
.metric {
  background: var(--surface-soft);
  border: 1px solid rgba(23, 24, 29, 0.06);
  padding: 14px;
  border-radius: 8px;
}

.detail-list dt,
.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.detail-list dd,
.metric strong {
  display: block;
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 950;
}

.form-card {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.form-card.stacked {
  max-width: 780px;
  margin: 0;
}

.login-card {
  max-width: 430px;
}

label {
  display: grid;
  gap: 7px;
  color: #343943;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d2d8df;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 143, 130, 0.12);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.form-grid.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.permission-option {
  min-height: 58px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.permission-option.full-access {
  background: #eefbf7;
  border-color: #bfe9d7;
}

.permission-option input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.permission-option span,
.permission-option strong,
.permission-option small {
  min-width: 0;
}

.permission-option strong {
  display: block;
}

.permission-option small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.button.danger {
  color: #fff;
  background: #c2414b;
  border-color: #c2414b;
}

.total-box {
  padding: 14px;
  color: #173f3a;
  background: var(--teal-soft);
  border: 1px solid rgba(14, 143, 130, 0.18);
  border-radius: 8px;
}

.card-buy-form {
  display: grid;
  gap: 8px;
}

.quantity-widget {
  display: grid;
  gap: 10px;
}

.quantity-widget.compact {
  gap: 8px;
}

.quantity-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 0;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d2d8df;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quantity-row button,
.quick-amounts button {
  border: 0;
  color: #fff;
  background: #050608;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.quantity-row button {
  width: 44px;
  height: 44px;
  color: #050608;
  background: #fff;
  font-size: 22px;
}

.quantity-row input {
  border: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 950;
  box-shadow: none;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.value-amounts {
  display: grid;
  gap: 7px;
  padding: 9px;
  background: linear-gradient(135deg, #eefbf5, #ffffff);
  border: 1px solid #bde9d6;
  border-radius: 8px;
}

.value-amounts p {
  margin: 0;
  color: #176247;
  font-size: 12px;
  font-weight: 950;
}

.value-amounts > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.value-amounts button {
  position: relative;
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #bfe9d7;
  color: #11231c;
  background: #fff;
  border-radius: 7px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 139, 91, 0.08);
}

.value-amounts button.active {
  color: #fff;
  background: #159260;
  border-color: #159260;
}

.value-amounts button.popular::before {
  content: "MAIS ESCOLHIDO";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 15px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  background: #103b83;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0;
  white-space: nowrap;
}

.value-amounts button span,
.value-amounts button small {
  display: block;
}

.value-amounts button span {
  font-size: 15px;
  line-height: 1;
}

.value-amounts button small {
  margin-top: 3px;
  color: inherit;
  font-size: 10px;
  opacity: 0.8;
}

.discount-hint {
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  color: #637184;
  background: #f4f7fa;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.discount-hint.active {
  color: #0a5f40;
  background: #dff9ee;
  border-color: #aee5cd;
}

.discount-hint.compact {
  grid-column: 1 / -1;
  min-height: 22px;
  font-size: 10px;
  padding: 4px 6px;
}

.quick-amounts button {
  position: relative;
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 7px;
  font-size: 18px;
}

.quick-amounts button.active {
  background: #31aa78;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.quick-amounts button.popular::before {
  content: "POPULAR";
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  min-height: 16px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: #168f63;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
}

.quick-amounts button span {
  display: block;
  line-height: 1;
}

.quick-amounts small {
  display: block;
  font-size: 11px;
  font-weight: 850;
}

.quantity-widget.compact .quick-amounts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quantity-widget.compact .quick-amounts button {
  min-height: 34px;
  font-size: 13px;
}

.quantity-widget.compact .quick-amounts small,
.quantity-widget.compact .total-box {
  display: none;
}

.quantity-control {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 8px;
  align-items: center;
}

.quantity-control button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #17181d;
  font-size: 20px;
  font-weight: 950;
  cursor: pointer;
}

.quantity-control input {
  text-align: center;
  font-weight: 950;
}

.checkout-summary h2 {
  margin: 0;
  font-size: 24px;
}

.summary-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.summary-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(23, 24, 29, 0.06);
  border-radius: 8px;
}

.summary-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 950;
}

.reservation-box {
  padding: 14px;
  color: #513709;
  background: #fff7e5;
  border: 1px solid #f0d59d;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.reservation-box strong,
.reservation-box p {
  display: block;
  margin: 0;
}

.reservation-box p {
  margin-top: 6px;
  line-height: 1.45;
}

.purchase-stage {
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  margin: 0 auto;
}

.purchase-hero {
  position: relative;
  min-height: 255px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  border-radius: 0 0 8px 8px;
  background: #111;
  box-shadow: var(--shadow);
}

.purchase-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.purchase-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purchase-hero > div {
  position: relative;
  z-index: 1;
  padding: 18px;
}

.purchase-hero h2,
.purchase-hero p {
  margin: 4px 0 0;
}

.purchase-hero h2 {
  font-size: 20px;
}

.purchase-price-strip {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #17181d;
  font-size: 14px;
}

.purchase-price-strip strong {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: #050608;
  border-radius: 5px;
}

.number-purchase-card,
.regulation-box,
.prize-board {
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.number-purchase-card {
  display: grid;
  gap: 7px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.buy-submit {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  padding-inline: 18px 12px;
}

.buy-submit::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -35%;
  width: 30%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  animation: buy-shine 3.4s ease-in-out infinite;
}

.buy-submit span,
.buy-submit small,
.buy-submit strong {
  position: relative;
  z-index: 1;
  display: block;
}

.buy-submit span {
  text-align: left;
}

.buy-submit small {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 800;
  opacity: 0.88;
}

.buy-submit strong {
  min-width: 74px;
  padding: 8px 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 7px;
}

.chance-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  color: #0f4633;
  background: #e9fbf3;
  border: 1px solid #bbebd4;
  border-radius: 8px;
}

.chance-callout strong,
.chance-callout span {
  display: block;
}

.chance-callout strong {
  font-size: 15px;
  font-weight: 950;
}

.chance-callout span {
  color: #527168;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.mobile-buy-bar {
  display: none;
}

.regulation-box summary {
  cursor: pointer;
  text-align: center;
  font-weight: 950;
}

.prize-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 0 4px;
}

.prize-head h2,
.prize-head p {
  margin: 0;
}

.prize-head h2 {
  font-size: 20px;
}

.prize-head .pill {
  color: #fff;
  background: #3046b9;
  border-radius: 6px;
  font-size: 14px;
}

.prize-bars {
  display: flex;
  height: 30px;
  overflow: hidden;
  margin-bottom: 8px;
  color: #fff;
  border-radius: 7px;
  background: #eef1f4;
  font-size: 13px;
  font-weight: 950;
}

.prize-bars span,
.prize-bars strong {
  min-width: fit-content;
  display: grid;
  place-items: center;
  padding: 0 10px;
}

.prize-bars span {
  background: var(--teal);
}

.prize-bars strong {
  background: #be3d4a;
}

.prize-ticket-list {
  display: grid;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.prize-ticket-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 5px 8px;
  background: #fff;
  border: 1px solid #d8dde5;
  border-radius: 6px;
  font-weight: 900;
}

.prize-ticket-list code {
  min-height: 22px;
  color: #fff;
  background: #8d99a8;
}

.checkout-overlay-panel {
  width: min(100%, 560px);
  margin: 28px auto;
}

.checkout-box {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(23, 24, 29, 0.28);
}

.checkout-head,
.checkout-context,
.secure-buy {
  padding: 16px;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.checkout-head h2 {
  margin: 0;
}

.checkout-head a {
  color: #737b86;
  font-size: 26px;
}

.checkout-context {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.checkout-context strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 16px 14px;
}

.checkout-steps span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #6b7280;
  background: #f3f6f8;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.checkout-steps i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #6b7280;
  background: #fff;
  border-radius: 999px;
  font-style: normal;
  font-weight: 950;
}

.checkout-steps span.active {
  color: #fff;
  background: #178f57;
  border-color: #178f57;
}

.checkout-steps span.active i,
.checkout-steps span.done i {
  color: #178f57;
}

.checkout-steps span.done {
  color: #0f4633;
  background: #e8f8f0;
  border-color: #c5ecd7;
}

.checkout-form {
  display: grid;
  gap: 12px;
  padding: 0 16px 16px;
}

.checkout-login-link {
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
  color: var(--blue);
  font-weight: 900;
}

.checkbox-line {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
  padding: 0;
  margin-top: 2px;
}

.secure-buy {
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.secure-buy span {
  color: var(--teal);
  font-weight: 950;
}

.payment-layout {
  grid-template-columns: minmax(360px, 1fr) minmax(320px, 420px);
}

.pix-wait-header {
  width: min(100%, 820px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  margin-bottom: 12px;
  color: #fff;
  background: linear-gradient(135deg, #173f58, #234f73);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pix-wait-header p,
.pix-wait-header small {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.pix-wait-header small {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  text-align: right;
}

.status-dot {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  color: #173f58;
  background: #fff;
  border-radius: 50%;
  font-weight: 950;
}

.chance-badge {
  min-width: 84px;
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: #3046b9;
  border-radius: 14px;
}

.chance-badge strong,
.chance-badge span {
  display: block;
  line-height: 1;
}

.chance-badge strong {
  font-size: 24px;
}

.chance-badge span {
  font-size: 12px;
  font-weight: 850;
}

.payment-countdown {
  width: min(100%, 820px);
  padding: 12px;
  margin-bottom: 12px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.payment-countdown p {
  margin: 0 0 8px;
  font-size: 18px;
}

.payment-countdown strong {
  color: #050608;
  font-size: 24px;
}

.payment-countdown > span {
  height: 16px;
  display: block;
  overflow: hidden;
  background: #a3a3a3;
  border-radius: 999px;
}

.payment-countdown i {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #d63d54, var(--gold));
  border-radius: inherit;
}

.payment-summary,
.pix-panel {
  padding: 18px;
}

.pix-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbf8 100%);
}

.pix-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #14b87a, #1046b3);
}

.payment-summary img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
  margin-bottom: 14px;
}

.payment-summary h2,
.pix-panel h2 {
  margin: 0 0 6px;
}

.pix-panel-intro {
  margin: 0 0 12px;
  color: #5f6975;
  font-size: 13px;
  font-weight: 750;
}

.payment-status {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.payment-status.status-pending {
  color: #7c4a03;
  background: #fff3d0;
}

.payment-status.status-paid {
  color: #14532d;
  background: #dcfce7;
}

.payment-status.status-expired,
.payment-status.status-cancelled,
.payment-status.status-failed {
  color: #7f1d1d;
  background: #fee2e2;
}

.fake-qr {
  width: min(100%, 330px);
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  gap: 3px;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8dde5;
  box-shadow: inset 0 0 0 8px #f4f6f7;
}

.fake-qr i {
  display: block;
  border-radius: 2px;
  background: #fff;
}

.fake-qr i.on {
  background: #15171d;
}

.real-qr {
  width: min(100%, 330px);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d8dde5;
  box-shadow: inset 0 0 0 8px #f4f6f7;
}

.pix-copy {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.pix-copy textarea {
  min-height: 96px;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.pix-action-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

.pix-main-copy {
  position: relative;
  overflow: hidden;
}

.pix-main-copy::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -38%;
  width: 30%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: buy-shine 3.6s ease-in-out infinite;
}

.pix-safe-note {
  display: grid;
  gap: 3px;
  margin: 12px 0;
  padding: 11px 12px;
  color: #0f4633;
  background: #e7f9f1;
  border: 1px solid #bce9d2;
  border-radius: 8px;
}

.pix-safe-note strong,
.pix-safe-note span {
  display: block;
}

.pix-safe-note strong {
  font-size: 13px;
  font-weight: 950;
}

.pix-safe-note span {
  color: #587168;
  font-size: 12px;
  font-weight: 750;
}

.payment-support-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  color: #5f6975;
  font-size: 13px;
  font-weight: 850;
}

.pix-steps {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
  counter-reset: pix-step;
}

.pix-steps li {
  position: relative;
  padding: 10px 10px 10px 44px;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: pix-step;
}

.pix-steps li::before {
  content: counter(pix-step);
  position: absolute;
  left: 10px;
  top: 11px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 950;
}

.pix-steps strong,
.pix-steps span {
  display: block;
}

.pix-steps span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.txid {
  text-align: center;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.receipt-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.receipt-head h2,
.receipt-head p {
  margin: 0;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.receipt-grid div,
.receipt-auth,
.receipt-numbers {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(23, 24, 29, 0.06);
  border-radius: 8px;
}

.receipt-grid dt,
.receipt-auth span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.receipt-grid dd {
  margin: 4px 0 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.receipt-numbers strong {
  display: block;
  margin-bottom: 10px;
}

.receipt-auth,
.receipt-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.receipt-auth strong {
  font-family: Consolas, monospace;
  letter-spacing: 0;
}

.receipt-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.inline-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(100%, 720px);
  padding: 12px;
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.security-box {
  width: min(100%, 820px);
  margin-bottom: 16px;
  padding: 18px;
  color: #513709;
  background: #fff7e5;
  border: 1px solid #f0d59d;
  border-left: 6px solid var(--gold);
  border-radius: 8px;
}

.security-box strong {
  display: block;
  margin-bottom: 8px;
}

.titles-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.titles-summary div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.titles-summary span,
.titles-summary strong {
  display: block;
}

.titles-summary span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.titles-summary strong {
  font-size: 18px;
  font-weight: 950;
}

.order-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  margin-top: 12px;
}

.title-card {
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.title-card > img {
  width: 116px;
  height: 100%;
  min-height: 154px;
  object-fit: cover;
  border-radius: 8px;
  background: #111;
}

.title-card-body {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.title-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.title-card-head h3,
.title-card-head p {
  margin: 5px 0 0;
}

.title-card-head h3 {
  font-size: 18px;
  line-height: 1.1;
}

.title-card-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.title-card-head > strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  color: #0f4633;
  background: #e6f9f0;
  border-radius: 7px;
  white-space: nowrap;
}

.title-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.title-card-meta span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  color: #516071;
  background: #eef2f6;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.title-numbers {
  max-height: 88px;
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.title-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.title-tools > .button,
.title-tools .order-actions .button,
.title-tools .order-actions .pill {
  min-height: 36px;
  font-size: 13px;
}

.title-tools .order-actions {
  justify-content: flex-start;
}

.numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  grid-column: 1 / -1;
}

code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 8px;
  color: #f8fafc;
  background: #17181d;
  border-radius: 6px;
  font-family: Consolas, monospace;
  font-size: 13px;
}

.wallet-grid,
.metric-grid,
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

.draw-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.draw-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.draw-summary h2 {
  margin: 0;
}

.wallet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.simple-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.simple-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.winner-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px;
}

.winner-photo {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--brand));
  border-radius: 8px;
  font-size: 34px;
  font-weight: 950;
}

.text-card {
  margin-bottom: 12px;
}

.notice {
  width: min(100%, 820px);
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-weight: 850;
}

.notice.danger {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid #fecaca;
}

.notice.success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.empty-state {
  width: min(100%, 680px);
  padding: 30px;
  color: var(--muted);
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 6px;
}

.admin-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #fff;
  background: #17181d;
  border-radius: 8px;
  font-weight: 900;
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table th {
  color: #555d68;
  background: #f6f7f8;
  font-size: 13px;
  font-weight: 950;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.admin-tabs {
  margin-bottom: 14px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 210px;
}

.table-actions form {
  margin: 0;
}

.table-actions .button {
  min-height: 36px;
  padding: 0 10px;
  font-size: 13px;
}

.campaign-editor {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.campaign-editor-preview {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 10px;
  padding: 12px;
  color: #111827;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.campaign-editor-preview > span {
  color: #5c6673;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.campaign-editor-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #08090c;
  border-radius: 8px;
}

.campaign-editor-stats {
  display: grid;
  gap: 7px;
}

.campaign-editor-stats span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  color: #5b6470;
  background: #f5f7f9;
  border: 1px solid #e3e8ee;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.campaign-editor-stats strong {
  color: #111827;
  font-size: 13px;
  font-weight: 950;
}

.campaign-admin-form textarea {
  min-height: 150px;
}

.admin-form-note {
  margin: -2px 0 2px;
  color: #69717d;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.admin-order-head {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

.admin-order-head img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  background: #08090c;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-order-head h2,
.admin-order-head p {
  margin: 0;
}

.admin-order-head h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
}

.admin-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: start;
}

.admin-order-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-order-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.admin-order-card .detail-list {
  margin: 0;
}

.admin-copy-field {
  display: grid;
  gap: 6px;
  color: #4f5966;
  font-size: 12px;
  font-weight: 900;
}

.admin-copy-field textarea {
  min-height: 94px;
  resize: vertical;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.admin-order-actions {
  display: grid;
  gap: 8px;
}

.admin-order-numbers {
  grid-column: 1 / -1;
}

.admin-whatsapp-log {
  grid-column: 1 / -1;
}

.admin-order-numbers p {
  margin: 0;
  color: #68727e;
  font-size: 13px;
  font-weight: 750;
}

.admin-report-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-report-head h2,
.admin-report-head p {
  margin: 0;
}

.admin-report-head h2 {
  margin-top: 3px;
  font-size: 24px;
  line-height: 1.05;
}

.admin-report-head p:last-child {
  margin-top: 5px;
  color: #68727e;
  font-size: 13px;
  font-weight: 750;
}

.report-metrics {
  margin-bottom: 14px;
}

.report-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.report-table td:first-child a,
.report-table td:first-child small {
  display: block;
}

.report-table td:first-child small {
  margin-top: 3px;
  color: #69727e;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.report-progress {
  min-width: 150px;
  display: grid;
  gap: 5px;
}

.report-progress span {
  height: 10px;
  overflow: hidden;
  background: #e8edf2;
  border-radius: 999px;
}

.report-progress i {
  min-width: 3px;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #178f57, #16c6d4, #e5b526);
  border-radius: inherit;
}

.report-progress small {
  color: #68727e;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.site-footer {
  margin: 20px auto 42px;
  color: #737b86;
  text-align: center;
  font-size: 13px;
}

.site-footer strong {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  margin-right: 6px;
  color: #173f3a;
  background: var(--teal-soft);
  border-radius: 999px;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  color: var(--ink);
  background: rgba(23, 24, 29, 0.36);
  backdrop-filter: blur(8px);
  overflow: auto;
}

.menu-overlay[hidden] {
  display: none;
}

.menu-panel {
  width: min(92vw, 440px);
  min-height: 100vh;
  margin-left: 0;
  padding: 28px;
  position: relative;
  background: #fff;
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 60px rgba(23, 24, 29, 0.18);
}

.menu-close {
  position: absolute;
  right: 24px;
  top: 28px;
  width: 38px;
  height: 38px;
  color: #fff;
  background: #17181d;
  border-radius: 50%;
  font-size: 20px;
}

.menu-list {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.menu-list a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  color: #343943;
  background: #f7f8f9;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
}

.menu-list a:hover {
  border-color: var(--line);
  background: #fff;
}

.menu-list strong {
  padding: 2px 8px;
  color: #fff;
  background: var(--teal);
  border-radius: 999px;
  font-size: 12px;
}

.menu-login {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 950;
}

@keyframes sparkle-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes ticket-glint {
  0%,
  54% {
    left: -34px;
  }

  70%,
  100% {
    left: calc(100% + 34px);
  }
}

@keyframes live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 242, 122, 0.52);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(255, 242, 122, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 242, 122, 0);
  }
}

@keyframes buy-shine {
  0%,
  58% {
    left: -40px;
  }

  78%,
  100% {
    left: calc(100% + 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sparkle-track,
  .sparkle-track span::after,
  .sparkle-title::before,
  .home-hero-button::after,
  .attention-item.hot::after {
    animation: none;
  }
}

@media (max-width: 980px) {
  .campaign-grid,
  .detail-layout,
  .buy-layout,
  .payment-layout,
  .receipt-grid,
  .draw-layout,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid.compact {
    grid-template-columns: 1fr;
  }

  .campaign-card {
    grid-template-columns: 170px 1fr;
  }

  .campaign-card img {
    width: 170px;
  }
}

@media (max-width: 700px) {
  .topbar-inner,
  .quick-nav,
  .page-shell,
  .site-footer {
    width: min(100% - 22px, 560px);
  }

  .page-shell {
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .main-panel,
  .panel-body,
  .form-card {
    width: 100%;
  }

  .login-card,
  .checkout-box,
  .checkout-overlay-panel {
    max-width: none;
    width: 100%;
  }

  .login-card,
  .checkout-form,
  .form-card.stacked {
    gap: 12px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  input[type="checkbox"],
  input[type="radio"] {
    min-height: 18px;
  }

  label {
    font-size: 13px;
  }

  .topbar-inner {
    min-height: 66px;
    gap: 10px;
  }

  .brand {
    font-size: 14px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .support-link {
    padding: 0 10px;
    font-size: 13px;
  }

  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .campaign-card,
  .winner-card,
  .wallet-grid,
  .campaign-editor,
  .admin-order-head,
  .admin-order-layout,
  .report-split,
  .security-grid,
  .wallet-actions,
  .form-grid.two,
  .permission-grid,
  .inline-search,
  .order-card,
  .receipt-head,
  .receipt-auth,
  .receipt-actions {
    grid-template-columns: 1fr;
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-context,
  .pix-wait-header,
  .prize-head {
    grid-template-columns: 1fr;
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-steps {
    grid-template-columns: 1fr;
  }

  .title-card {
    grid-template-columns: 1fr;
  }

  .campaign-editor-preview {
    position: static;
  }

  .admin-order-head img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .admin-report-head {
    align-items: stretch;
    flex-direction: column;
  }

  .title-card > img {
    width: 100%;
    min-height: 150px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .title-card-head,
  .title-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .title-card-head > strong,
  .title-tools > .button,
  .title-tools .order-actions,
  .title-tools .order-actions .button {
    width: 100%;
  }

  .titles-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .titles-summary div:last-child {
    grid-column: 1 / -1;
  }

  .pix-action-grid {
    grid-template-columns: 1fr;
  }

  .draw-countdown {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .draw-countdown strong {
    justify-content: center;
  }

  .campaign-share {
    grid-template-columns: 1fr;
  }

  .buyer-faq-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .attention-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .attention-item {
    min-height: 62px;
  }

  .quick-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-amounts > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chance-callout {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .chance-callout span {
    text-align: left;
  }

  .purchase-hero {
    min-height: 260px;
  }

  body:has(.mobile-buy-bar) {
    padding-bottom: 86px;
  }

  .mobile-buy-bar {
    position: fixed;
    left: 50%;
    bottom: 10px;
    z-index: 60;
    width: min(100% - 20px, 520px);
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #101418;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(14, 31, 45, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
    backdrop-filter: blur(12px);
  }

  .mobile-buy-bar div,
  .mobile-buy-bar span,
  .mobile-buy-bar strong {
    display: block;
  }

  .mobile-buy-bar span {
    color: #6a737d;
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-buy-bar strong {
    margin-top: 2px;
    color: #0f8b5b;
    font-size: 20px;
    font-weight: 950;
  }

  .mobile-buy-bar .button {
    min-height: 48px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .prize-ticket-list li {
    grid-template-columns: 1fr auto;
  }

  .prize-ticket-list li span {
    grid-column: 1 / -1;
  }

  .campaign-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .detail-list {
    grid-template-columns: 1fr;
  }

  .tabs {
    width: 100%;
  }

  .tabs a {
    min-width: max-content;
  }
}

@media (max-width: 420px) {
  .topbar-inner,
  .quick-nav,
  .page-shell,
  .site-footer {
    width: min(100% - 14px, 560px);
  }

  .panel-body,
  .form-card {
    padding: 14px;
  }

  .login-card {
    border-radius: 8px;
  }

  .button,
  button {
    min-height: 46px;
  }

  body:has(.campaign-home) .topbar-inner,
  body:has(.purchase-stage) .topbar-inner,
  body:has(.campaign-home) .quick-nav,
  body:has(.purchase-stage) .quick-nav,
  body:has(.campaign-home) .page-shell,
  body:has(.purchase-stage) .page-shell,
  body:has(.campaign-home) .site-footer {
    width: min(100% - 12px, 560px);
  }

  body:has(.campaign-home) .menu-button,
  body:has(.purchase-stage) .menu-button {
    min-width: 74px;
    padding: 0 8px;
  }

  body:has(.campaign-home) .brand > span:last-child,
  body:has(.purchase-stage) .brand > span:last-child {
    display: none;
  }

  .home-section-head {
    align-items: flex-start;
  }

  .home-section-head div {
    display: block;
  }

  .home-section-head p {
    margin-top: 3px;
    white-space: normal;
  }

  .home-hero-button span {
    font-size: 19px;
  }

  .attention-strip {
    gap: 5px;
  }

  .attention-item {
    padding: 8px;
  }

  .attention-item strong {
    font-size: 11px;
  }

  .home-campaign-buy-row,
  .home-campaign-card.is-quiet {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 6px;
  }

  .home-buy-form .quantity-widget.compact {
    grid-template-columns: minmax(74px, 88px) minmax(0, 1fr);
  }

  .home-buy-form .quantity-widget.compact .quick-amounts button {
    font-size: 11px;
  }
}

@media print {
  body {
    background: #fff;
  }

  .topbar,
  .quick-nav,
  .menu-overlay,
  .site-footer,
  .receipt-actions {
    display: none !important;
  }

  .page-shell,
  .main-panel,
  .panel-body {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .main-panel,
  .receipt-card {
    box-shadow: none;
    border-color: #d5d9df;
  }
}
