:root {
  --ink: #151b2d;
  --muted: #737b8c;
  --line: #e2e6ee;
  --surface: #ffffff;
  --soft: #f6f8fb;
  --brand: #2563eb;
  --brand-purple: #5b3bff;
  --green: #00b875;
  --vixa-green: #00e676;
  --deep-navy: #0b0f2c;
  --cashback-gold: #ffc107;
  --shadow: 0 22px 70px rgba(17, 24, 39, 0.14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.site-header, .member-header {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 0 54px;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.translucent {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}
.logo { display: inline-flex; align-items: center; height: 54px; }
.logo img { width: 54px; height: 54px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; gap: 22px; color: var(--muted); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; font-weight: 850; }
.text-link { color: #111; }
.dark-pill, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.secondary {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 850;
}

.home-header { justify-content: flex-start; }
.home-header .logo { position: static; transform: none; }
.home-header .header-actions {
  margin-left: auto;
}
.brand-wordmark {
  width: auto;
  min-width: 188px;
  gap: 10px;
  align-items: center;
}
.brand-wordmark img {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
}
.brand-wordmark span {
  color: var(--deep-navy);
  font-size: 21px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}
.brand-wordmark span::after {
  content: "BACK";
  display: block;
  color: var(--vixa-green);
  font-size: 0.68em;
  letter-spacing: 0.18em;
  margin-top: 2px;
}
.globe {
  width: 42px;
  height: 42px;
  border: 1px solid #111;
  border-radius: 50%;
  background: white;
  font-size: 18px;
}
.logout-home {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: 999px;
  background: white;
  font-weight: 850;
}

.theme-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: linear-gradient(120deg, #ff3028 0%, #ff6748 52%, #ffb27c 100%);
}
.theme-copy {
  position: relative;
  z-index: 2;
  width: min(520px, 42vw);
  margin-left: 22vw;
  padding-top: 86px;
}
.theme-copy h1 {
  margin: 0 0 16px;
  color: white;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
}
.theme-copy p {
  color: white;
  font-weight: 750;
  line-height: 1.45;
}
.black-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 22px;
  border-radius: 999px;
  color: white;
  background: #050505;
  font-weight: 900;
}
.coin {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff0a8, #ffc238 48%, #e18300);
  box-shadow: 0 4px 0 #c57100;
}
.coin-a { left: 11%; top: 48%; transform: rotate(-20deg); }
.coin-b { left: 44%; top: 32%; }
.coin-c { right: 12%; top: 17%; }
.sparkle { position: absolute; color: #fff25b; font-size: 22px; font-weight: 900; }
.sparkle-a { left: 15%; top: 18%; }
.sparkle-b { right: 23%; top: 32%; }
.hero-cards {
  position: absolute;
  right: 16vw;
  bottom: 34px;
  width: 430px;
  height: 310px;
}
.hero-cards > div {
  position: absolute;
  padding: 14px;
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 50px rgba(30, 20, 12, 0.18);
  transform: rotate(8deg);
}
.hero-cards span { display: block; margin-bottom: 10px; font-weight: 900; }
.travel-card { left: 60px; top: 20px; width: 210px; height: 250px; }
.shop-card { left: 210px; top: 98px; width: 210px; height: 172px; }
.food-card { left: 280px; top: 175px; width: 170px; height: 118px; }
.sea, .bags, .noodles { height: calc(100% - 30px); border-radius: 10px; }
.sea { background: linear-gradient(135deg, #3ed9e8, #f7ffff 58%, #0a78a0); }
.bags { background: linear-gradient(135deg, #f1f5ff, #d4f0ff 48%, #ffc2a7); }
.noodles { background: linear-gradient(135deg, #ffbe47, #ff5d2e); }

.stat-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(1060px, calc(100vw - 48px));
  margin: -54px auto 0;
  padding: 28px 30px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 16px 40px rgba(18, 24, 40, 0.12);
}
.stat-strip div { text-align: center; }
.stat-strip strong { display: block; font-size: 24px; }
.stat-strip span { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }

.theme-section {
  width: min(1060px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 38px 0;
}
.theme-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.theme-section-head h2 { margin: 0; font-size: 26px; }
.theme-section-head a { color: var(--brand); font-weight: 850; }
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.brand-card { position: relative; min-width: 0; }
.boost {
  position: absolute;
  top: -8px;
  left: 0;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  color: white;
  background: #6157ff;
  font-size: 11px;
  font-weight: 900;
}
.brand-logo {
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  height: 78px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}
.brand-card h3 { margin: 10px 0 2px; font-size: 13px; color: #4b5565; }
.brand-card strong { display: block; font-size: 13px; }
.brand-card small { display: block; margin-top: 3px; color: var(--muted); }

.split-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 26px;
}
.split-story article {
  min-height: 390px;
  padding: 70px 10vw;
  text-align: center;
}
.split-story article:first-child { background: #e7f8ff; }
.split-story article:last-child { background: #e9faef; }
.split-story h2 { margin: 28px auto 12px; max-width: 430px; font-size: 28px; line-height: 1.15; }
.split-story p { max-width: 520px; margin: 0 auto; color: var(--muted); line-height: 1.55; }
.floating-tags { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.floating-tags span {
  padding: 9px 18px;
  border-radius: 999px;
  background: white;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(18,24,40,0.08);
}
.phone-reward {
  display: grid;
  place-items: center;
  width: 150px;
  height: 190px;
  margin: 0 auto;
  border-radius: 28px;
  color: white;
  background: linear-gradient(180deg, #ff522f, #151b2d);
  box-shadow: var(--shadow);
}
.phone-reward span { padding: 6px 10px; border-radius: 999px; color: #111; background: white; font-weight: 900; }
.phone-reward strong { max-width: 120px; font-size: 14px; }

.process-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
}
.process-art { position: relative; min-height: 260px; }
.reward-bubble {
  position: absolute;
  left: 38%;
  top: 30px;
  padding: 18px;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
  font-size: 24px;
  font-weight: 900;
}
.reward-bubble span { display: block; color: var(--muted); font-size: 13px; }
.reward-bubble.second { left: 26%; top: 132px; }
.process-list { display: grid; gap: 28px; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 16px; color: #a0a7b5; font-weight: 750; }
.process-list li:nth-child(2) { color: var(--ink); font-weight: 900; }
.process-list span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f0f2f6; }
.process-list li:nth-child(2) span { color: white; background: #050505; }

.app-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 380px;
  padding: 60px 18vw;
  background: #ffd8d2;
}
.app-band h2 { max-width: 430px; font-size: 30px; line-height: 1.18; }
.app-band p { max-width: 430px; color: #374151; line-height: 1.55; font-weight: 750; }
.store-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.store-buttons span { display: grid; place-items: center; min-width: 92px; min-height: 42px; padding: 0 12px; border-radius: 8px; color: white; background: #050505; font-weight: 900; }
.phone-stack { width: 190px; height: 260px; margin: 0 auto; border-radius: 34px; background: linear-gradient(180deg, #ff5130, #fff); box-shadow: var(--shadow); }

.coupon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.coupon-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.coupon-card span { display: inline-block; padding: 6px 10px; border: 1px dashed var(--green); border-radius: 8px; color: var(--green); font-weight: 900; }
.coupon-card h3 { font-size: 15px; }
.coupon-card p { color: var(--muted); font-size: 13px; line-height: 1.45; }

.theme-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 44px 18vw;
  color: white;
  background: #050505;
}
.theme-footer h3 { margin-top: 0; font-size: 14px; }
.theme-footer a { display: block; margin: 10px 0; color: rgba(255,255,255,0.72); font-size: 13px; }
.cloud { display: inline-flex; padding: 8px 12px; border-radius: 6px; color: #333; background: #ddd; font-size: 12px; font-weight: 900; }
.theme-footer select { display: block; margin-top: 18px; width: 160px; height: 38px; border-radius: 8px; padding: 0 10px; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 72px 12vw;
  background: linear-gradient(135deg, #ff3829 0%, #ff9063 56%, #ffe0ba 100%);
}
.home-hero h1 {
  max-width: 620px;
  margin: 0 0 18px;
  color: white;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.98;
}
.home-hero p { max-width: 580px; color: rgba(255,255,255,0.86); font-size: 18px; line-height: 1.55; }
.eyebrow { margin: 0 0 12px; color: #ffe680; font-size: 13px; text-transform: uppercase; font-weight: 900; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-card {
  padding: 22px;
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}
.hero-card img { display: block; width: 100%; border-radius: 10px; margin-bottom: 18px; }
.hero-card span { color: var(--muted); }
.hero-card strong { display: block; margin-top: 8px; font-size: 34px; }

.auth-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(12, 16, 26, 0.42), rgba(12, 16, 26, 0.42)),
    linear-gradient(135deg, #ffd4cb 0%, #fff1ef 48%, #ffd4cb 100%);
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) auto;
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 44px 12vw;
}
.auth-copy h1 { font-size: 38px; line-height: 1.15; margin: 0 0 18px; }
.auth-copy p { color: #303747; font-weight: 750; line-height: 1.55; }
.auth-card {
  position: relative;
  display: grid;
  grid-template-columns: 292px 370px;
  min-height: 500px;
  overflow: hidden;
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow);
}
.close {
  position: absolute;
  z-index: 4;
  right: 14px;
  top: 10px;
  color: white;
  font-size: 30px;
}
.auth-side {
  display: grid;
  grid-template-rows: 108px 1fr auto;
  background: white;
}
.auth-side.faded { opacity: 0.45; }
.side-head { padding: 26px 32px; color: white; background: #030303; }
.side-head span { display: block; margin-bottom: 7px; font-weight: 750; }
.side-head img { width: 142px; height: 56px; object-fit: contain; object-position: left center; }
.cash-art { position: relative; min-height: 210px; background: linear-gradient(90deg, white 0 72%, #f8fbff 72%); }
.art-hand {
  position: absolute;
  left: 48px;
  top: 82px;
  width: 112px;
  height: 72px;
  border: 4px solid #111;
  border-right: 0;
  border-bottom: 0;
  border-radius: 70% 0 0 0;
  transform: skewX(-18deg) rotate(-8deg);
}
.art-bill {
  position: absolute;
  left: 145px;
  top: 82px;
  display: grid;
  place-items: center;
  width: 90px;
  height: 62px;
  color: #31518a;
  border: 4px solid #657ab2;
  background: #dce5ff;
  font-size: 28px;
  font-weight: 900;
  transform: rotate(13deg);
}
.art-check {
  position: absolute;
  left: 200px;
  top: 64px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  background: #ff623f;
  font-weight: 900;
}
.auth-side p { padding: 0 32px 34px; color: #7b8496; line-height: 1.55; }
.auth-form { padding: 46px 50px 34px; position: relative; }
.auth-form h2 { margin: 4px 0 18px; color: #4d5568; text-align: center; font-size: 25px; line-height: 1.08; }
.country { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 18px; color: #778091; font-size: 13px; }
.country select { height: 31px; min-width: 116px; padding: 0 14px; border: 1px solid #111; border-radius: 999px; background: white; font-weight: 850; }
.auth-form form { display: grid; gap: 12px; }
.auth-form input {
  height: 38px;
  padding: 0 14px;
  border: 1px solid #ccd3df;
  border-radius: 999px;
  outline: 0;
}
.auth-form form button {
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #050505;
  font-weight: 900;
}
.referral {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 44px;
  border: 1px solid #7aafff;
  color: #1574ee;
  background: #f7fbff;
  font-weight: 850;
}
.register-card .auth-form { padding-top: 66px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #999; font-weight: 850; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: #eceff3; }
.social-row { display: flex; justify-content: center; gap: 34px; margin-bottom: 22px; }
.social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 27px;
  font-weight: 950;
}
.facebook { color: #1877f2; }
.google { color: #4285f4; }
.social-stack { display: grid; gap: 10px; margin-top: 14px; }
.social-option {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 36px;
  border: 1px solid #111;
  border-radius: 999px;
  font-weight: 850;
}
.social-option::before { margin-right: 12px; font-weight: 950; }
.social-option.google::before { content: "G"; }
.social-option.facebook::before { content: "f"; font-size: 20px; }
.terms { display: grid; grid-template-columns: 18px 1fr; gap: 10px; margin-top: 16px; color: #6f788c; font-size: 13px; line-height: 1.45; }
.switch { margin: 12px 0 0; text-align: center; color: #697184; font-weight: 750; }
.switch a { color: #1476ed; font-weight: 900; }
.form-error { min-height: 18px; margin: 0; color: #dc2626; text-align: center; font-size: 13px; }

.member-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
}
.member-header .brand-wordmark { min-width: 188px; }
.member-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  width: min(520px, 42vw);
  height: 48px;
  padding-left: 22px;
  border-radius: 999px;
  background: #f0f1f4;
}
.member-search input { min-width: 0; border: 0; outline: 0; background: transparent; }
.member-search button { border: 0; border-radius: 50%; color: white; background: #050505; }
.member-right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 850; }
.member-right button { height: 36px; padding: 0 14px; border: 1px solid #111; border-radius: 999px; background: white; font-weight: 850; }
.member-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #4b5565;
  background: #f5f7fb;
}
.member-pill.active {
  color: white;
  background: #111827;
}
.account-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); min-height: calc(100vh - 64px); background: var(--soft); }
.sidebar { padding: 26px 22px; border-right: 1px solid var(--line); background: white; }
.sidebar h2 { margin: 0 0 18px; }
.wallet-mini {
  min-height: 164px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, #5f61ff, #25336d);
  box-shadow: 0 8px 20px rgba(38, 51, 109, 0.25);
}
.wallet-mini span, .wallet-mini small { display: block; color: rgba(255,255,255,0.82); }
.wallet-mini strong { display: block; margin: 14px 0 36px; font-size: 28px; }
.sidebar nav { display: grid; }
.sidebar nav a { min-height: 38px; display: flex; align-items: center; padding: 0 10px; border-radius: 8px; color: #202633; font-size: 14px; }
.sidebar nav a:hover, .sidebar nav a.active { background: #f0f5ff; color: #155eef; font-weight: 850; }
.account-content { padding: 28px; display: grid; gap: 18px; align-content: start; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: 10px; background: white; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.panel h1 { margin: 0 0 20px; font-size: 32px; }
.panel h2 { margin: 0 0 10px; }
.profile-list { display: grid; gap: 12px; margin: 0; }
.profile-list div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.profile-list dt { color: var(--muted); }
.profile-list dd { margin: 0; font-weight: 850; }
.profile-list a { color: var(--brand); overflow-wrap: anywhere; }
.profile-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}
.profile-summary div, .status-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbff;
}
.profile-summary span, .status-card span, .status-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.profile-summary strong, .status-card strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
}
.profile-form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
.profile-form-wide { max-width: 680px; }
.profile-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 750;
}
.profile-form input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  color: var(--ink);
}
.profile-form button {
  justify-self: start;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.form-error.success { color: var(--green); }
.activity-hero p:not(.eyebrow) { color: var(--muted); line-height: 1.55; }
.activity-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.activity-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbff;
}
.activity-stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}
.activity-stats strong {
  display: block;
  font-size: 20px;
}
.activity-list { display: grid; gap: 12px; margin-top: 16px; }
.status-grid, .challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.activity-item span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.activity-item b {
  display: block;
  text-align: right;
  color: var(--green);
  font-size: 18px;
}
.activity-item em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
  text-align: right;
}
.empty { color: var(--muted); }
.muted-text { color: var(--muted); line-height: 1.55; }
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.notice-box {
  padding: 18px;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #eff6ff;
}
.notice-box h3 { margin-top: 0; }
.notice-box p { color: #38506f; line-height: 1.55; }
.copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 18px 0 8px;
}
.copy-row input {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.copy-row button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.challenge-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}
.challenge-card span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px dashed var(--green);
  border-radius: 8px;
  color: var(--green);
  font-weight: 900;
}
.challenge-card h3 { margin-bottom: 8px; font-size: 16px; }
.challenge-card p, .challenge-card small { color: var(--muted); line-height: 1.45; }
.settings-list { display: grid; gap: 12px; max-width: 620px; margin: 18px 0; }
.settings-list label {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.settings-list input { width: 20px; height: 20px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { color: var(--muted); line-height: 1.55; }
.admin-console .admin-section { display: none; }
.admin-console .admin-section.active { display: block; }
.admin-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.mini-list {
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.mini-list span {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-table-wrap { overflow-x: auto; margin-top: 18px; }
.admin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 850;
  border-bottom: 1px solid var(--line);
  padding: 10px;
}
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
}
.admin-table small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.admin-table select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 8px;
  background: white;
}
.admin-table button {
  min-height: 32px;
  margin: 0 4px 4px 0;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 850;
}
.admin-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}
.admin-form.compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.admin-form input,
.admin-form select,
.admin-form textarea {
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
}
.admin-form textarea {
  grid-column: span 2;
  min-height: 86px;
  padding-top: 10px;
  resize: vertical;
}
.admin-form button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.admin-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.admin-actions-row button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 750;
}
.inline-check input { width: 18px; min-height: 18px; }
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.admin-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #f3f4f6;
}
.admin-card span,
.admin-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.admin-card h3 { margin: 8px 0; font-size: 16px; }
.admin-card p { color: #4b5565; line-height: 1.45; }
.admin-card a { display: inline-block; margin-top: 10px; color: var(--brand); font-weight: 850; }
.admin-member-table { min-width: 1180px; }
.admin-member-table td:first-child strong {
  display: block;
  margin-bottom: 4px;
}
.affiliate-link-table { min-width: 1080px; }
.link-title-cell {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.link-title-cell img,
.link-title-cell .image-placeholder {
  width: 74px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eef2f7;
}
.link-title-cell strong,
.link-title-cell a {
  display: block;
}
.link-title-cell small {
  max-width: 520px;
  max-height: 38px;
  overflow: hidden;
}
.link-title-cell a {
  margin-top: 5px;
  color: var(--brand);
  font-weight: 850;
}
.admin-dialog {
  width: min(720px, calc(100vw - 32px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: var(--shadow);
}
.admin-dialog::backdrop { background: rgba(15, 23, 42, 0.45); }
.admin-dialog-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: white;
}
.admin-dialog-card h2,
.admin-dialog-card .form-error,
.dialog-actions {
  grid-column: 1 / -1;
}
.admin-dialog-card h2 { margin: 0 0 4px; }
.admin-dialog-card label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 750;
}
.admin-dialog-card input,
.admin-dialog-card select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: white;
}
.admin-dialog-card select[multiple] {
  min-height: 112px;
  padding: 8px 12px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.dialog-actions button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: #111827;
  font-weight: 900;
}
.dialog-actions button:first-child {
  color: #111827;
  background: #eef2f7;
}
.media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.compact-copy {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 12px;
}
.compact-copy input { font-size: 12px; }

@media (max-width: 900px) {
  .site-header, .member-header { padding: 0 20px; }
  .site-header nav, .member-right { display: none; }
  .brand-wordmark { min-width: 158px; }
  .brand-wordmark img { width: 46px; height: 46px; }
  .brand-wordmark span { font-size: 18px; }
  .theme-copy { width: auto; margin: 0; padding: 58px 24px 24px; }
  .theme-hero { min-height: 620px; }
  .hero-cards { left: 20px; right: auto; bottom: 26px; transform: scale(0.82); transform-origin: left bottom; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; margin-top: -36px; }
  .brand-grid, .coupon-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-story, .app-band, .theme-footer { grid-template-columns: 1fr; }
  .split-story article { padding: 54px 24px; }
  .app-band { padding: 48px 24px; }
  .theme-footer { padding: 36px 24px; }
  .home-hero, .auth-layout { grid-template-columns: 1fr; padding: 44px 20px; }
  .hero-card { display: none; }
  .auth-copy { display: none; }
  .auth-card { grid-template-columns: 1fr; width: 100%; }
  .auth-side { display: none; }
  .close { color: #111; }
  .account-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; border-right: 0; border-bottom: 1px solid var(--line); }
  .member-search { width: min(100%, 420px); }
  .activity-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-summary, .status-grid, .challenge-grid, .split-panel { grid-template-columns: 1fr; }
  .admin-grid-two, .admin-form, .admin-form.compact, .admin-card-grid { grid-template-columns: 1fr; }
  .admin-form textarea { grid-column: auto; }
}

@media (max-width: 560px) {
  .header-actions { gap: 10px; }
  .text-link { display: none; }
  .theme-copy h1 { font-size: 40px; }
  .theme-hero { min-height: 560px; }
  .hero-cards { transform: scale(0.66); }
  .stat-strip, .brand-grid, .coupon-row { grid-template-columns: 1fr; }
  .activity-stats { grid-template-columns: 1fr; }
  .activity-item { align-items: flex-start; flex-direction: column; }
  .activity-item b, .activity-item em { text-align: left; }
}
