:root {
  --primary: #00c7d9;
  --secondary: #083344;
  --accent: #035797;
  --ink: #10242b;
  --muted: #5b7178;
  --line: #cce5e9;
  --bg: #d9fbff;
  --surface: #ffffff;
  --danger: #b42318;
  --warning: #9a6700;
  --ok: #087443;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f5fafb;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.public-shell {
  min-height: 100vh;
  background: var(--bg);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.landing-page {
  min-height: 100vh;
  background: #f7fbf8;
  color: #10242b;
}

.landing-hero {
  position: relative;
  min-height: clamp(620px, 78svh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #071f27;
}

.landing-hero-image,
.landing-hero-shade {
  position: absolute;
  inset: 0;
}

.landing-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 18, 24, 0.94) 0%, rgba(5, 28, 34, 0.78) 43%, rgba(5, 28, 34, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 25, 31, 0.7) 0%, rgba(5, 25, 31, 0) 42%);
}

.landing-hero-inner {
  position: relative;
  z-index: 1;
  padding: 104px 0 86px;
}

.landing-hero-copy {
  width: min(720px, 100%);
  min-width: 0;
  color: #fff;
}

.landing-eyebrow {
  color: #a7f8c8;
}

.landing-hero .landing-eyebrow {
  color: #a7f8c8;
}

.landing-hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.25rem);
  line-height: 0.92;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.landing-lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2.2vw, 1.34rem);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.landing-cta-area {
  width: min(640px, 100%);
  margin-top: 28px;
}

.landing-cta-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
  overflow-wrap: anywhere;
}

.landing-wallet-soon {
  margin: 16px 0 0;
  padding: 13px 15px;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(167, 248, 200, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  overflow-wrap: anywhere;
}

.landing-wallet-soon strong,
.landing-wallet-soon span {
  display: block;
}

.landing-wallet-soon strong {
  color: #a7f8c8;
  font-size: 0.98rem;
  font-weight: 950;
}

.landing-wallet-soon span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.landing-flash {
  margin: 18px 0 0;
}

.landing-actions {
  justify-content: flex-start;
  margin-top: 18px;
}

.landing-actions button {
  max-width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  background: #12e0a3;
  color: #052f35;
  line-height: 1.2;
  box-shadow: 0 14px 28px rgba(18, 224, 163, 0.22);
}

.landing-actions button:hover,
.landing-actions button:focus-visible {
  background: #68f0bf;
}

.landing-actions .wallet-badge-button {
  min-height: 55px;
  padding: 0;
  background: transparent;
  border-radius: 28px;
  box-shadow: none;
}

.landing-actions .wallet-badge-button:hover,
.landing-actions .wallet-badge-button:focus-visible {
  background: transparent;
}

.wallet-badge-image {
  width: auto;
  height: 52px;
  max-width: min(100%, 260px);
  display: block;
}

.wallet-cta-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.wallet-cta-label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.landing-trust {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(8, 51, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 51, 68, 0.12);
}

.landing-trust-grid div {
  min-height: 128px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid #e3eff1;
}

.landing-trust-grid div:last-child {
  border-right: 0;
}

.landing-trust-grid strong,
.landing-trust-grid span {
  display: block;
}

.landing-trust-grid strong {
  color: #083344;
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 950;
}

.landing-trust-grid span {
  color: #5b7178;
  font-size: 0.94rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.landing-section {
  padding: clamp(54px, 8vw, 92px) 0;
}

.landing-split,
.landing-legit-grid,
.landing-reward-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.landing-section h2,
.landing-final-cta h2 {
  color: #083344;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  text-wrap: balance;
}

.landing-copy-stack {
  display: grid;
  gap: 18px;
  color: #395860;
  font-size: 1.05rem;
}

.landing-copy-stack p,
.landing-legit p,
.landing-rewards p,
.landing-faq-item p {
  margin: 0;
}

.landing-section-heading {
  width: min(760px, 100%);
  margin-bottom: 28px;
}

.landing-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.landing-step {
  min-height: 252px;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
  border: 1px solid #d7ebef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(8, 51, 68, 0.06);
}

.landing-step .step-num {
  margin: 0;
}

.landing-step h3 {
  color: #083344;
  font-size: 1.08rem;
  font-weight: 950;
}

.landing-step p {
  margin: 0;
  color: #5b7178;
  line-height: 1.45;
}

.landing-legit {
  background: #062f35;
  color: #eafff7;
}

.landing-legit h2,
.landing-legit .eyebrow {
  color: #fff;
}

.landing-legit p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.landing-checklist {
  display: grid;
  gap: 14px;
}

.landing-checklist div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-checklist strong,
.landing-checklist span {
  display: block;
}

.landing-checklist strong {
  color: #a7f8c8;
  font-size: 1rem;
}

.landing-checklist span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.landing-reward-panel {
  overflow: hidden;
  gap: 0;
  border: 1px solid #d7ebef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(8, 51, 68, 0.08);
}

.landing-reward-panel > div {
  padding: clamp(28px, 5vw, 52px);
}

.landing-reward-panel p {
  margin-top: 18px;
  color: #45666e;
  font-size: 1.05rem;
}

.landing-reward-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
}

.landing-faq {
  background: #eef8f6;
}

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

.landing-faq-item {
  min-height: 174px;
  padding: 22px;
  border: 1px solid #d7ebef;
  border-radius: 8px;
  background: #fff;
}

.landing-faq-item h3 {
  color: #083344;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 950;
}

.landing-faq-item p {
  margin-top: 10px;
  color: #5b7178;
}

.landing-wallet-guide {
  padding: clamp(54px, 8vw, 84px) 0;
  background: #062f35;
  color: #fff;
}

.landing-wallet-guide-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.landing-wallet-guide img {
  width: 100%;
  min-height: 340px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.landing-wallet-guide h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  text-wrap: balance;
}

.landing-wallet-guide .eyebrow {
  color: #a7f8c8;
}

.landing-wallet-guide p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  line-height: 1.55;
}

.landing-final-cta {
  padding: clamp(54px, 8vw, 84px) 0;
  background: #0d4744;
  color: #fff;
  text-align: center;
}

.landing-final-cta .container {
  width: min(820px, calc(100% - 32px));
}

.landing-final-cta h2,
.landing-final-cta .eyebrow,
.landing-final-cta .landing-cta-note {
  color: #fff;
}

.landing-final-cta .landing-cta-note {
  width: min(640px, 100%);
  margin: 16px auto 0;
}

.landing-final-cta .landing-actions {
  justify-content: center;
}

.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 48px 0 28px;
}

.hero-card {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(8, 51, 68, 0.1);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 24px 70px rgba(8, 51, 68, 0.12);
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.25rem);
  line-height: 1;
  color: var(--secondary);
}

h2 {
  font-size: 1.55rem;
  color: var(--secondary);
}

h3 {
  font-size: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 18px auto 0;
  max-width: 680px;
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

.btn,
button {
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--secondary);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
}

.btn.secondary {
  background: #e7f7f9;
  color: var(--secondary);
  border: 1px solid var(--line);
}

.btn.danger {
  background: var(--danger);
}

.btn.success {
  background: var(--ok);
}

.section {
  padding: 28px 0 56px;
}

.steps,
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.table-wrap,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--secondary);
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.wallet-topbar,
.admin-topbar {
  background: var(--secondary);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.wallet-topbar .container,
.admin-topbar .container {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.nav button {
  color: inherit;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 10px;
  border-radius: 8px;
  min-height: 36px;
  text-decoration: none;
  font-weight: 700;
}

.wallet-main,
.admin-main {
  padding: 28px 0 60px;
}

.pass-summary {
  margin-top: 24px;
}

.pass-actions {
  justify-content: flex-start;
}

.earn-only {
  min-height: 100vh;
  padding: 0 0 36px;
  background: #035797;
}

.earn-only .container {
  width: min(980px, calc(100% - 36px));
}

.earn-hero {
  padding: 48px 0 38px;
  text-align: center;
}

.earn-hero h1 {
  width: min(620px, 100%);
  margin: 0 auto;
  color: #fafafa;
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.15;
  font-weight: 950;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.task-card {
  min-height: 406px;
  padding: 34px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 2px solid rgba(43, 113, 144, 0.16);
  box-shadow: 0 2px 4px rgba(8, 51, 68, 0.2);
  text-align: center;
}

.task-card.is-waiting {
  background: #e8fbfd;
  border-color: #2b7190;
}

.task-card.is-ready {
  border-color: rgba(255, 255, 255, 0.88);
}

.offer-thumb {
  width: min(150px, 82%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, #123c45, #6ae2ed);
  color: #fff;
  font-size: 4.6rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.offer-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.task-card h3 {
  width: 100%;
  margin-top: 16px;
  color: #166167;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-instruction {
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  color: #456b72;
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.task-reward {
  width: 100%;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 8px;
  align-items: end;
  text-align: left;
}

.task-reward span:first-child {
  grid-column: 1 / -1;
  color: #6d888e;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.task-reward strong {
  min-width: 0;
  color: #2bb976;
  font-size: clamp(1.65rem, 5vw, 2.2rem);
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.reward-icon {
  color: #c2a114;
  font-size: 2rem;
  line-height: 1;
}

.task-form {
  width: 100%;
  margin: auto 0 0;
  display: flex;
  justify-content: center;
}

.install-trigger,
.task-status-button {
  width: min(150px, 100%);
  border-radius: 999px;
  color: #fff;
  font-size: 0.98rem;
  line-height: 1.15;
  box-shadow: none;
}

.install-trigger {
  min-height: 48px;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff4766, #ff805f);
}

.task-status-button {
  margin: auto 0 0;
  min-height: 60px;
  padding: 10px 18px;
  background: #789aa4;
  color: #eefcff;
  cursor: pointer;
}

.install-trigger:hover,
.install-trigger:focus-visible {
  background: linear-gradient(135deg, #f83f5f, #ff7254);
}

.task-status-button:hover,
.task-status-button:focus-visible {
  background: #658995;
}

.task-status-button:disabled,
.task-status-button:disabled:hover,
.task-status-button:disabled:focus-visible {
  background: #789aa4;
  opacity: 1;
}

.referral-page {
  min-height: 100vh;
  padding: clamp(10px, 3vw, 22px) 0;
  background: #035797;
}

.referral-shell {
  width: min(480px, calc(100% - 34px));
  margin: 0 auto;
}

.referral-card {
  overflow: hidden;
  border: 1px solid rgba(8, 51, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 51, 68, 0.18);
  color: #064f42;
}

.referral-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3.08 / 1;
  object-fit: cover;
}

.referral-body {
  padding: 22px 16px 26px;
  text-align: center;
}

.referral-card h1 {
  color: #004844;
  font-size: clamp(1.65rem, 7vw, 1.75rem);
  line-height: 1.12;
  font-weight: 950;
}

.referral-lead {
  margin: 12px 0 0;
  color: #004844;
  font-size: 0.98rem;
}

.referral-link-panel {
  margin-top: 16px;
  padding: 14px 16px 16px;
  border: 1.5px solid #1473ff;
  border-radius: 8px;
  background: #fff;
}

.referral-link-panel label {
  display: block;
  color: #003f3e;
  font-size: 0.84rem;
  font-weight: 950;
}

.referral-link-input {
  margin-top: 8px;
  min-height: 42px;
  border-color: #d4d4d4;
  background: #fff;
  color: #0068ff;
  text-align: center;
}

.referral-copy-button {
  width: 100%;
  min-height: 44px;
  margin-top: 12px;
  background: #1473ff;
  color: #fff;
  font-size: 1rem;
  box-shadow: none;
}

.referral-copy-button:hover,
.referral-copy-button:focus-visible,
.referral-copy-button.is-copied {
  background: #0d63df;
}

.referral-copy-status {
  min-height: 16px;
  margin: 7px 0 -6px;
  color: #087443;
  font-size: 0.78rem;
  font-weight: 800;
}

.referral-share-panel {
  margin-top: 16px;
  text-align: left;
}

.referral-share-panel h2 {
  color: #004844;
  font-size: 0.92rem;
  font-weight: 950;
  text-align: center;
}

.referral-share-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
}

.referral-share-button {
  min-width: 0;
  min-height: 48px;
  padding: 10px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(8, 51, 68, 0.12);
}

.referral-share-button:hover,
.referral-share-button:focus-visible {
  filter: brightness(1.06);
}

.referral-share-button span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-share-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.referral-share-button.facebook {
  background: #1877f2;
}

.referral-share-button.messenger {
  background: #0084ff;
}

.referral-share-button.reddit {
  background: #ff4500;
}

.referral-share-button.whatsapp {
  background: #128c7e;
}

.referral-share-button.telegram {
  background: #229ed9;
}

.referral-share-button.viber {
  background: #7360f2;
}

.referral-benefits {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.referral-benefit {
  min-height: 59px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border-radius: 6px;
  background: #e5f7fc;
  text-align: left;
}

.referral-benefit-icon {
  display: grid;
  place-items: center;
  color: #005f62;
  font-size: 1.25rem;
  line-height: 1;
}

.referral-benefit strong,
.referral-benefit small {
  display: block;
}

.referral-benefit strong {
  color: #004844;
  font-size: 0.95rem;
  line-height: 1.15;
  font-weight: 950;
}

.referral-benefit small {
  margin-top: 2px;
  color: #173f48;
  font-size: 0.86rem;
  line-height: 1.25;
}

.referral-rules {
  margin-top: 24px;
  padding: 17px 16px 18px;
  border: 1px solid #f2d784;
  border-radius: 6px;
  background: #fff3c8;
  color: #936500;
  text-align: left;
}

.referral-rules h2 {
  text-align: center;
  color: #9b6900;
  font-size: 1rem;
  font-weight: 950;
}

.referral-rules ul {
  margin: 12px 0 0;
  padding-left: 24px;
  color: #855800;
  font-size: 0.85rem;
  line-height: 1.45;
}

.referral-rules li::marker {
  color: #ff3b4f;
}

.referral-rules li + li {
  margin-top: 4px;
}

.referral-footer {
  margin: 14px 8px 0;
  color: #173f48;
  font-size: 0.76rem;
}

.support-page {
  min-height: 100vh;
  padding: clamp(26px, 5vw, 54px) 0;
  background: #55dff0;
}

.support-shell {
  width: min(500px, calc(100% - 34px));
  margin: 0 auto;
}

.support-card {
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(8, 51, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 51, 68, 0.18);
  color: #0c4c42;
}

.support-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3.08 / 1;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.support-card .flash {
  margin-top: 18px;
}

.support-body {
  padding-top: 24px;
}

.support-card h1 {
  color: #0b4f43;
  font-size: clamp(2.05rem, 10vw, 2.65rem);
  line-height: 1.08;
  font-weight: 950;
}

.support-lead {
  margin: 12px 0 0;
  color: #0b4f43;
  font-size: 1.08rem;
}

.support-form {
  margin-top: 22px;
  display: grid;
  gap: 15px;
}

.support-form label {
  color: #0b4f43;
}

.support-form input,
.support-form textarea {
  border-color: #b9dce2;
  background: #fbfeff;
}

.support-form textarea {
  min-height: 140px;
}

.support-form button {
  width: 100%;
  min-height: 54px;
  background: #087443;
  font-size: 1.04rem;
}

.support-pass-id {
  margin: 18px 0 0;
  color: #5b7178;
  font-size: 0.92rem;
}

.support-history {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3eef0;
}

.support-history h2 {
  font-size: 1.1rem;
}

.support-thread-item {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7ebef;
  border-radius: 8px;
  background: #f8fcfd;
}

.support-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-thread-item p {
  margin: 12px 0 0;
  color: #0b4f43;
}

.support-thread-item small {
  display: block;
  margin-top: 8px;
  color: #5b7178;
}

.support-reply {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #e8fff4;
  color: #087443;
}

.support-reply p {
  color: #087443;
}

.offer-modal[hidden] {
  display: none;
}

.offer-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.offer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 51, 68, 0.34);
}

.offer-modal-panel {
  position: relative;
  width: min(452px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 24px;
  background: #fff;
  padding: 26px 26px 24px;
  box-shadow: 0 18px 60px rgba(8, 51, 68, 0.28);
}

.offer-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  background: transparent;
  color: #8d979b;
  font-size: 2.2rem;
  font-weight: 500;
}

.offer-modal-close:hover,
.offer-modal-close:focus-visible {
  background: #f2f6f7;
  color: #52676d;
}

.offer-modal-panel h2 {
  margin: 0 42px 24px 0;
  color: #10564d;
  font-size: clamp(1.65rem, 7vw, 2rem);
  line-height: 1.1;
  font-weight: 950;
}

.offer-modal-top {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.offer-modal-thumb {
  width: 156px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #123c45, #6ae2ed);
  color: #fff;
  font-size: 4.4rem;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(8, 51, 68, 0.12);
}

.offer-modal-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.offer-modal-thumb img[hidden],
.offer-modal-thumb span[hidden] {
  display: none;
}

.offer-modal-title-wrap {
  display: grid;
  gap: 22px;
  align-content: center;
  min-width: 0;
}

.offer-modal-title-wrap h3 {
  color: #10564d;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 950;
}

.offer-modal-small-install,
.offer-modal-install {
  border-radius: 999px;
  background: linear-gradient(135deg, #ff605c, #ff4b67);
  color: #fff;
  box-shadow: none;
}

.offer-modal-small-install {
  width: min(156px, 100%);
  min-height: 48px;
}

.offer-modal-reward {
  margin-top: 20px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, auto) auto;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f6f6f6;
}

.offer-modal-reward span:first-child {
  color: #747f83;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.offer-modal-reward strong {
  color: #2bb976;
  font-size: clamp(2rem, 9vw, 2.35rem);
  line-height: 1;
  font-weight: 950;
}

.offer-modal-install {
  width: 100%;
  min-height: 64px;
  margin-top: 18px;
  font-size: 1.15rem;
}

.offer-modal-small-install:hover,
.offer-modal-small-install:focus-visible,
.offer-modal-install:hover,
.offer-modal-install:focus-visible {
  background: linear-gradient(135deg, #f75250, #f63f5f);
}

.offer-modal-rules {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid #f2e4a9;
  border-radius: 12px;
  background: #fff4cc;
  color: #8a7413;
}

.offer-modal-rules-title {
  margin: 0 0 10px;
  font-size: 1.08rem;
  font-weight: 950;
}

.offer-modal-description {
  margin: -2px 0 12px;
  color: #776416;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.35;
}

.offer-modal-description[hidden] {
  display: none;
}

.offer-modal-rules ul {
  margin: 0;
  padding-left: 24px;
  font-size: 1.04rem;
  line-height: 1.32;
}

.offer-modal-rules li + li {
  margin-top: 8px;
}

.offer-modal-rules li {
  overflow-wrap: anywhere;
}

.redeem-page {
  min-height: 100vh;
  padding: clamp(26px, 5vw, 54px) 0;
  background: #035797;
}

.redeem-shell {
  width: min(448px, calc(100% - 34px));
  margin: 0 auto;
}

.redeem-card {
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(8, 51, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 51, 68, 0.18);
  color: #0c4c42;
  text-align: center;
}

.redeem-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3.08 / 1;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
}

.redeem-card h1 {
  margin-top: 28px;
  color: #0b4f43;
  font-size: clamp(2.05rem, 10vw, 2.65rem);
  line-height: 1.08;
  font-weight: 950;
}

.redeem-balance-panel {
  margin-top: 28px;
  padding: 34px 18px 32px;
  border-radius: 8px;
  background: #f5f7f8;
}

.redeem-balance-panel span {
  display: block;
  color: #0b4f43;
  font-size: 1.15rem;
}

.redeem-balance-panel strong {
  display: block;
  margin-top: 14px;
  color: #064f42;
  font-size: clamp(3.05rem, 14vw, 4.05rem);
  line-height: 0.95;
  font-weight: 950;
}

.redeem-message {
  margin: 26px auto 0;
  color: #0b4f43;
  font-size: clamp(1.2rem, 5vw, 1.42rem);
  line-height: 1.35;
}

.redeem-message strong,
.redeem-away strong {
  color: #147ee8;
}

.redeem-progress {
  position: relative;
  height: 28px;
  margin-top: 28px;
  border-radius: 999px;
  background: #d9d9d9;
}

.redeem-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--progress);
  max-width: 100%;
  border-radius: inherit;
  background: #147ee8;
}

.redeem-progress-badge {
  position: absolute;
  top: 50%;
  left: clamp(24px, var(--progress), calc(100% - 24px));
  z-index: 1;
  transform: translate(-50%, -50%);
  min-width: 44px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #147ee8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.2;
}

.redeem-away {
  margin: 22px 0 0;
  color: #0b4f43;
  font-size: 1.1rem;
  font-weight: 700;
}

.redeem-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.redeem-form {
  margin-top: 24px;
  display: grid;
  gap: 15px;
  text-align: left;
}

.redeem-form label {
  color: #0b4f43;
}

.redeem-form input,
.redeem-form textarea {
  border-color: #b9dce2;
  background: #fbfeff;
}

.redeem-form textarea {
  min-height: 92px;
}

.redeem-form button {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  background: #087443;
  font-size: 1.04rem;
}

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

.redeem-method {
  position: relative;
  display: block;
}

.redeem-method input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.redeem-method-body {
  min-height: 112px;
  padding: 15px 13px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 2px solid #d7ebef;
  border-radius: 8px;
  background: #f6fbfc;
  cursor: pointer;
}

.redeem-method-body strong {
  color: #0b4f43;
  font-size: 1rem;
}

.redeem-method-body small {
  color: #5b7178;
  font-size: 0.82rem;
  line-height: 1.25;
}

.redeem-method input:checked + .redeem-method-body {
  border-color: #147ee8;
  background: #edf7ff;
  box-shadow: 0 0 0 3px rgba(20, 126, 232, 0.12);
}

.redeem-method input:focus-visible + .redeem-method-body {
  outline: 3px solid rgba(20, 126, 232, 0.28);
  outline-offset: 2px;
}

.redeem-history {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3eef0;
  text-align: left;
}

.redeem-history h2 {
  font-size: 1.1rem;
}

.redeem-history-item {
  margin-top: 12px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef5f6;
}

.redeem-history-item span:first-child {
  display: grid;
  gap: 3px;
}

.redeem-history-item small {
  color: #5b7178;
}

.balance {
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1;
  color: var(--secondary);
  font-weight: 950;
}

.muted {
  color: var(--muted);
}

.device-note {
  margin: 24px auto 0;
  max-width: 520px;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

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

.settings-hero .lead {
  margin-left: 0;
  margin-right: 0;
}

.admin-settings-section {
  padding-top: 24px;
}

.settings-form {
  gap: 30px;
}

.settings-group {
  display: grid;
  gap: 14px;
}

.settings-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.settings-group-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.setting-card {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.setting-card-main {
  display: grid;
  gap: 8px;
}

.setting-label-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.setting-title {
  min-width: 0;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.setting-type {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: #edf7f8;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.setting-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.setting-field input,
.setting-field select,
.setting-field textarea {
  min-height: 46px;
  font-weight: 700;
}

.setting-field textarea {
  min-height: 92px;
}

.setting-color-field {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.setting-color-preview {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 0 0 3px #fff;
}

.setting-color-field input {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.setting-meta {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding-top: 12px;
  border-top: 1px solid #e3eff1;
  color: var(--muted);
  font-size: 0.8rem;
}

.setting-meta span {
  font-weight: 800;
  text-transform: uppercase;
}

.setting-meta code {
  color: var(--secondary);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.settings-actions {
  justify-content: flex-start;
  margin-top: 4px;
}

.flash {
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid;
}

.flash.success {
  background: #e8fff4;
  border-color: #a8e9ca;
  color: var(--ok);
}

.flash.error {
  background: #fff1f0;
  border-color: #ffb8b2;
  color: var(--danger);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.stat strong {
  display: block;
  font-size: 1.55rem;
  color: var(--secondary);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  background: #edf7f8;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 800;
}

.status.banned,
.status.rejected,
.status.failed {
  background: #fff1f0;
  color: var(--danger);
}

.status.pending,
.status.suspended,
.status.open {
  background: #fff8df;
  color: var(--warning);
}

.status.active,
.status.paid,
.status.approved,
.status.resolved {
  background: #e8fff4;
  color: var(--ok);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.admin-search {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 160px 160px auto;
  gap: 10px;
  align-items: end;
}

.code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  word-break: break-all;
}

@media (max-width: 940px) {
  .landing-trust-grid,
  .landing-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-trust-grid div:nth-child(2) {
    border-right: 0;
  }

  .landing-trust-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid #e3eff1;
  }

  .landing-split,
  .landing-legit-grid,
  .landing-reward-panel,
  .landing-wallet-guide-inner {
    grid-template-columns: 1fr;
  }

  .landing-reward-panel img {
    min-height: 280px;
  }

  .landing-wallet-guide img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .landing-hero {
    min-height: auto;
    align-items: stretch;
  }

  .landing-hero-image {
    object-position: 58% center;
  }

  .landing-hero-shade {
    background:
      linear-gradient(90deg, rgba(3, 18, 24, 0.92) 0%, rgba(5, 28, 34, 0.78) 100%),
      linear-gradient(0deg, rgba(5, 25, 31, 0.76) 0%, rgba(5, 25, 31, 0.18) 58%);
  }

  .landing-hero-inner {
    padding: 96px 0 72px;
  }

  .landing-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.35rem);
    line-height: 1;
  }

  .landing-lead {
    font-size: 1.05rem;
  }

  .landing-trust {
    margin-top: 0;
  }

  .landing-trust-grid {
    border-radius: 0;
    box-shadow: none;
  }

  .landing-section {
    padding: 48px 0;
  }

  .landing-faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 28px 20px;
  }

  .wallet-topbar .container,
  .admin-topbar .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .split,
  .admin-search {
    grid-template-columns: 1fr;
  }

  .table-wrap {
    overflow-x: auto;
  }

  .earn-only .container {
    width: min(calc(100% - 32px), 480px);
  }

  .earn-hero {
    padding: 48px 0 34px;
  }

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

  .task-card {
    min-height: 394px;
    padding: 34px 14px 16px;
  }

  .offer-thumb {
    width: min(150px, 86%);
  }

  .task-reward {
    column-gap: 6px;
  }

  .task-reward strong {
    font-size: 1.75rem;
  }

  .reward-icon {
    font-size: 1.85rem;
  }
}

@media (max-width: 620px) {
  .landing-page {
    overflow-x: hidden;
  }

  .landing-hero-inner {
    width: calc(100% - 48px);
  }

  .landing-hero-copy,
  .landing-cta-area,
  .landing-lead {
    max-width: 100%;
  }

  .landing-trust-grid,
  .landing-step-grid {
    grid-template-columns: 1fr;
  }

  .landing-trust-grid div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e3eff1;
  }

  .landing-trust-grid div:last-child {
    border-bottom: 0;
  }

  .landing-actions,
  .landing-actions button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .landing-trust-grid,
  .landing-step-grid,
  .landing-faq-grid {
    grid-template-columns: 1fr;
  }

  .landing-trust-grid div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #e3eff1;
  }

  .landing-trust-grid div:last-child {
    border-bottom: 0;
  }

  .landing-actions,
  .landing-actions button {
    width: 100%;
  }

  .landing-final-cta .landing-actions {
    width: 100%;
  }

  .task-card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .task-reward {
    column-gap: 5px;
  }

  .task-reward strong {
    font-size: 1.55rem;
  }

  .reward-icon {
    font-size: 1.55rem;
  }

  .offer-modal {
    padding: 18px;
  }

  .offer-modal-panel {
    padding: 24px 22px 22px;
  }

  .offer-modal-top {
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 16px;
  }

  .offer-modal-thumb {
    width: 138px;
    border-radius: 22px;
  }

  .offer-modal-title-wrap {
    gap: 18px;
  }

  .offer-modal-title-wrap h3 {
    font-size: 1.22rem;
  }

  .offer-modal-reward {
    grid-template-columns: auto minmax(0, auto) auto;
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .offer-modal-reward strong {
    font-size: 2rem;
  }

  .offer-modal-rules {
    padding: 16px 18px;
  }

  .redeem-card {
    padding: 26px;
  }

  .redeem-methods {
    grid-template-columns: 1fr;
  }

  .redeem-method-body {
    min-height: 86px;
  }
}

@media (max-width: 280px) {
  .task-grid {
    grid-template-columns: 1fr;
  }

  .offer-modal-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .offer-modal-small-install {
    justify-self: center;
  }

  .redeem-shell {
    width: calc(100% - 20px);
  }

  .redeem-card {
    padding: 18px;
  }
}

/* Support Center task history */
.support-page {
  min-height: 100vh;
  padding: 0 0 40px;
  background: #fff;
}

.support-shell {
  width: min(800px, 100%);
  margin: 0 auto;
}

.support-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #024233;
}

.support-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3.08 / 1;
  border-radius: 0;
  object-fit: cover;
}

.support-card .flash {
  margin: 16px 20px 0;
}

.support-body {
  padding: 24px 0 0;
}

.support-card h1 {
  padding: 0 20px;
  color: #024233;
  font-size: clamp(2.3rem, 8vw, 3.15rem);
  line-height: 1.05;
  font-weight: 950;
}

.support-tabs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #e5e8ea;
}

.support-tab-button {
  min-height: 76px;
  padding: 12px 10px;
  display: grid;
  align-content: center;
  gap: 4px;
  border-radius: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #024233;
  box-shadow: none;
}

.support-tab-button span:first-child {
  font-size: 1.15rem;
  line-height: 1;
}

.support-tab-button span:last-child {
  font-size: 0.92rem;
  font-weight: 800;
}

.support-tab-button.active,
.support-tab-button:hover,
.support-tab-button:focus-visible {
  border-bottom-color: #5de2fd;
  background: #e6f9ff;
  color: #024233;
}

.support-tab-panel {
  padding: 24px 20px 0;
}

.support-tab-panel[hidden] {
  display: none;
}

.support-section-heading h2,
.support-completed-section h2,
.support-history h2 {
  color: #024233;
  font-size: clamp(1.6rem, 6vw, 2rem);
  line-height: 1.1;
  font-weight: 950;
}

.support-offer-list,
.support-history-list {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.support-offer-row {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-left: 4px solid #ffc107;
  border-radius: 10px;
  background: #fff;
}

.support-offer-row.completed {
  border-left-color: #28a745;
}

.support-offer-row.disabled {
  border-left-color: #6c757d;
  background: #f8f9fa;
}

.support-offer-header {
  min-height: 118px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.support-offer-content {
  min-width: 0;
}

.support-offer-content h3 {
  color: #024233;
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 950;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.support-offer-content p {
  margin: 14px 0 0;
  color: #555;
  font-size: 0.98rem;
  line-height: 1.4;
  cursor: pointer;
}

.support-offer-footer {
  margin-top: 12px;
  display: grid;
  gap: 3px;
  color: #777;
  font-size: 0.82rem;
  font-style: italic;
}

.support-dispute-button,
.support-earned-badge {
  width: 92px;
  min-width: 92px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  box-shadow: none;
}

.support-dispute-button {
  background: #dc3545;
  color: #fff;
}

.support-earned-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #28a745;
  color: #fff;
  font-weight: 900;
}

.support-expand-button {
  position: absolute;
  right: 6px;
  bottom: 0;
  width: auto;
  min-height: 34px;
  padding: 4px 12px;
  border-radius: 0;
  background: transparent;
  color: #0d6efd;
  font-size: 1.1rem;
  box-shadow: none;
}

.support-expand-button.expanded {
  transform: rotate(180deg);
}

.support-offer-details {
  padding: 0 20px 18px;
  border-top: 1px solid #eee;
}

.support-offer-details h4 {
  margin: 16px 0 8px;
  color: #024233;
  font-size: 1rem;
}

.support-offer-details ul {
  margin: 0;
  padding-left: 22px;
  color: #244d48;
  font-size: 0.95rem;
}

.support-offer-details li + li {
  margin-top: 6px;
}

.support-completed-section {
  margin-top: 28px;
}

.support-completed-section > p {
  margin: 6px 0 0;
  color: #6c757d;
  font-size: 0.95rem;
}

.support-empty {
  margin-top: 16px;
  padding: 30px 18px;
  border: 1px solid #dce2e0;
  border-radius: 10px;
  background: #f8f9fa;
  text-align: center;
}

.support-empty h3 {
  color: #024233;
  font-size: 1.1rem;
}

.support-empty p {
  margin: 8px 0 0;
  color: #6c757d;
}

.earning-chart-card {
  margin: 0 0 24px;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #052f35 0%, #075446 58%, #126fd0 130%);
  color: #fff;
  box-shadow: 0 16px 34px rgba(6, 48, 54, 0.2);
}

.earning-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.earning-chart-kicker,
.earning-chart-summary span,
.earning-chart-summary small {
  display: block;
}

.earning-chart-kicker,
.earning-chart-summary span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.earning-chart-header strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 0.95;
  font-weight: 950;
}

.earning-chart-summary {
  padding-top: 4px;
  text-align: right;
}

.earning-chart-summary small {
  margin-top: 7px;
  color: #b7ffe1;
  font-size: 0.86rem;
  font-weight: 900;
}

.earning-chart-bars {
  margin-top: 20px;
  padding: 2px 0 3px;
  min-height: 158px;
  display: grid;
  grid-template-columns: repeat(7, minmax(44px, 1fr));
  gap: 10px;
  align-items: end;
  overflow-x: auto;
}

.earning-chart-day {
  min-width: 0;
  display: grid;
  grid-template-rows: 22px 112px auto auto;
  gap: 5px;
  text-align: center;
}

.earning-chart-amount,
.earning-chart-label,
.earning-chart-date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.earning-chart-amount {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 950;
}

.earning-chart-track {
  height: 112px;
  padding: 4px;
  display: flex;
  align-items: flex-end;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.earning-chart-fill {
  width: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(180deg, #7cffbf 0%, #5de2fd 100%);
  box-shadow: 0 8px 18px rgba(93, 226, 253, 0.24);
}

.earning-chart-day.has-value .earning-chart-fill {
  min-height: 10px;
}

.earning-chart-label {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.earning-chart-date {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.7rem;
  font-weight: 800;
}

.support-history-row {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #ddd;
  border-left: 4px solid #28a745;
  border-radius: 10px;
  background: #fff;
}

.support-history-row.negative {
  border-left-color: #dc3545;
  background: #fff5f5;
}

.support-history-row strong {
  color: #024233;
}

.support-history-meta {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: #6c757d;
  font-size: 0.84rem;
}

.support-amount-pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 950;
  white-space: nowrap;
}

.support-amount-pill.positive {
  background: #e8fff4;
  color: #087443;
}

.support-amount-pill.negative {
  background: #fff1f0;
  color: #b42318;
}

.support-general-panel {
  margin-top: 28px;
  border: 1px solid #d7ebef;
  border-radius: 10px;
  background: #f8fcfd;
}

.support-general-panel summary {
  padding: 16px;
  color: #024233;
  font-weight: 950;
  cursor: pointer;
}

.support-general-panel .support-form {
  margin: 0;
  padding: 0 16px 16px;
}

.support-form {
  margin-top: 18px;
  display: grid;
  gap: 15px;
}

.support-form label {
  color: #024233;
}

.support-form input,
.support-form textarea {
  border-color: #d5dee1;
  background: #fbfeff;
}

.support-form textarea {
  min-height: 128px;
}

.support-form button {
  width: 100%;
  min-height: 52px;
  background: #0d6efd;
  font-size: 1rem;
}

.support-form button:disabled,
.support-dispute-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.support-cooldown {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-pass-id {
  margin: 22px 20px 0;
  color: #5b7178;
  font-size: 0.88rem;
}

.support-history {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e3eef0;
}

.support-thread-item {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d7ebef;
  border-radius: 10px;
  background: #f8fcfd;
}

.support-thread-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.support-thread-item p {
  margin: 12px 0 0;
  color: #0b4f43;
}

.support-thread-item small {
  display: block;
  margin-top: 8px;
  color: #5b7178;
}

.support-reply {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #e8fff4;
  color: #087443;
}

.support-reply p {
  color: #087443;
}

.support-dispute-modal[hidden] {
  display: none;
}

.support-dispute-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}

.support-dispute-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 51, 68, 0.38);
}

.support-dispute-panel {
  position: relative;
  width: min(480px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(8, 51, 68, 0.28);
}

.support-dispute-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  color: #6c757d;
  font-size: 1.8rem;
}

.support-dispute-panel h2 {
  margin-right: 42px;
  color: #024233;
  font-size: 1.55rem;
}

.support-dispute-panel p {
  margin: 8px 42px 0 0;
  color: #586b6f;
}

@media (max-width: 520px) {
  .support-card h1 {
    font-size: 2.45rem;
  }

  .support-tab-panel {
    padding-right: 16px;
    padding-left: 16px;
  }

  .support-offer-header {
    padding: 16px 14px;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 10px;
  }

  .support-dispute-button,
  .support-earned-badge {
    width: 86px;
    min-width: 86px;
    font-size: 0.88rem;
  }

  .earning-chart-card {
    padding: 16px;
  }

  .earning-chart-header {
    display: grid;
    gap: 10px;
  }

  .earning-chart-summary {
    padding-top: 0;
    text-align: left;
  }

  .earning-chart-bars {
    grid-template-columns: repeat(7, minmax(42px, 1fr));
    gap: 8px;
  }

  .support-history-row {
    grid-template-columns: 1fr;
  }

  .support-amount-pill {
    width: fit-content;
  }
}
