@import url("https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&display=swap");

:root {
  --wgs-red: #ec515e;
  --wgs-red-dark: #ad1a27;
  --ink: #3d3d3d;
  --muted: #747474;
  --line: #e4e4e4;
  --soft: #f8f8f8;
  --soft-red: #fdeef0;
  --peach-bg: #fff3eb;
  --pink-bg: #fdeef0;
  --success: #269424;
  --success-soft: #ebfaea;
  --warning: #c97d03;
  --warning-soft: #fff5e6;
  --cool: #ebf0ff;
  --brand-gradient: linear-gradient(90deg, #ec8a6c 0%, #ee8a7e 22%, #ec6f95 100%);
  --auth-gradient: linear-gradient(115deg, #f1876d 0%, #ed7781 46%, #e96095 100%);
  --soft-mesh: radial-gradient(circle at 12% 8%, rgba(236, 138, 108, 0.2), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(236, 111, 149, 0.18), transparent 34%),
    linear-gradient(180deg, #fff3eb 0%, #f8f8f8 44%, #ffffff 100%);
  --shadow: 0 12px 28px rgba(61, 61, 61, 0.08);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft-mesh);
  font-family: Onest, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: clip;
}

html {
  overflow-x: hidden;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

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

button {
  cursor: pointer;
}

.account-frame {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--wgs-red-dark);
}

.brand strong {
  color: #e30613;
}

.brand img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

.brand img.brand-logo-full {
  width: 214px;
  max-width: min(214px, calc(100vw - 132px));
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

.shop-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.shop-home-button:hover {
  background: var(--brand-gradient);
}

.prototype-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 40px) 48px;
}

.is-logged-out .prototype-shell,
.is-loading .prototype-shell {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1180px;
}

.is-logged-out {
  background: var(--auth-gradient);
}

.is-logged-out .account-frame {
  background: var(--auth-gradient);
}

.is-logged-out .topbar {
  min-height: 60px;
  border-bottom: 0;
  padding: 8px 16px;
  background: #fff;
  backdrop-filter: none;
}

.is-logged-out .brand img:not(.brand-logo-full) {
  width: 36px;
  height: 36px;
}

.is-logged-out .prototype-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  min-height: calc(100vh - 60px);
  padding: clamp(64px, 17vh, 188px) clamp(16px, 4vw, 40px) clamp(32px, 7vh, 70px);
}

.is-logged-out .content {
  width: min(940px, 100%);
}

.is-login-sent .prototype-shell {
  align-items: center;
  padding-top: clamp(42px, 12vh, 118px);
}

.is-login-sent .content {
  width: min(460px, 100%);
}

.is-logged-out .club-hero,
.is-loading .club-hero {
  display: none;
}

.is-logged-out .sidebar,
.is-loading .sidebar,
.is-loading .login-panel,
.is-loading .login-success-panel {
  display: none;
}

.sidebar {
  position: sticky;
  top: 86px;
  height: fit-content;
  display: grid;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  text-align: left;
}

.nav-item.is-active,
.nav-item:hover {
  color: var(--ink);
  border-color: var(--line);
  background: var(--pink-bg);
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9cad1;
}

.nav-item.is-active .nav-dot {
  background: var(--brand-gradient);
}

.benefit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -4px 0 0;
}

.filter-chip {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.filter-chip.is-active,
.filter-chip:hover {
  color: var(--wgs-red-dark);
  border-color: var(--soft-red);
  background: var(--soft-red);
}

.content {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.club-hero,
.section-band,
.points-card,
.action-card,
.summary-card,
.benefit-card,
.reward-card,
.overview-offer-card,
.integration-map article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.club-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: clamp(20px, 4vw, 36px);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--wgs-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 10px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
}

.hero-status {
  min-width: 210px;
  padding: 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-gradient);
}

.hero-status span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  opacity: 0.86;
}

.hero-status strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.login-panel {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.1fr);
  gap: 0;
  overflow: hidden;
  min-height: 526px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 60px rgba(61, 61, 61, 0.14);
}

.login-copy {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 42px 34px 40px;
  background: #fff3eb;
}

.login-copy h1 {
  max-width: 370px;
  margin: 0;
  color: var(--ink);
  font-family: Onest, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  white-space: pre-line;
}

.login-panel.is-register-mode .login-copy h1 {
  font-size: 42px;
  line-height: 1.05;
}

.login-copy p {
  max-width: 350px;
  margin: -6px 0 4px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.login-earn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-gradient);
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(236, 81, 94, 0.18);
}

.login-benefit-list {
  display: grid;
  gap: 12px;
}

.login-feature-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  border: 1px solid rgba(236, 81, 94, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(61, 61, 61, 0.06);
}

.login-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #fff0f1;
  background: #fff;
  box-shadow: 0 8px 18px rgba(236, 81, 94, 0.08);
}

.login-feature-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(45%) sepia(79%) saturate(1444%) hue-rotate(321deg) brightness(102%) contrast(89%);
}

.login-feature-card strong,
.login-feature-card small {
  display: block;
}

.login-feature-card strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.login-feature-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

.login-card-panel {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-content: start;
  padding: 44px 40px 38px;
  background: #fff;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-radius: 8px;
  padding: 4px;
  background: #f6f6f6;
}

.login-tab {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #9a8f8d;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
}

.login-tab.is-active {
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(61, 61, 61, 0.1);
}

.login-tab:focus-visible {
  outline: 0;
  box-shadow: 0 2px 10px rgba(61, 61, 61, 0.1), inset 0 0 0 1px rgba(236, 81, 94, 0.12);
}

.login-heading {
  margin-top: 24px;
}

.login-heading .eyebrow {
  margin-bottom: 8px;
  color: var(--wgs-red);
  font-weight: 700;
  letter-spacing: 3px;
}

.login-heading h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.15;
}

.login-form {
  display: grid;
  align-content: start;
  gap: 16px;
  margin-top: 24px;
}

.login-field-group {
  display: grid;
  gap: 7px;
}

.login-field-group label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.login-field-group input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 500;
}

.login-field-group input::placeholder {
  color: #747474;
  font-weight: 400;
}

.login-field-group input:focus {
  outline: 2px solid rgba(236, 81, 94, 0.24);
  outline-offset: 2px;
  border-color: var(--wgs-red);
}

.login-field-hint {
  margin: 0;
  color: #8e8581;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.login-check-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #68615e;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.login-check-row input {
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: var(--ink);
}

.login-check-row strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-weight: 700;
}

.login-check-row a,
.login-footer-note a {
  color: var(--wgs-red);
  font-weight: 500;
  text-decoration: none;
}

.login-check-row a:hover,
.login-footer-note a:hover {
  color: var(--wgs-red-dark);
}

.secondary-action.login-submit-button {
  width: 100%;
  min-height: 46px;
  margin-top: 2px;
  color: #fff;
  background: #b0b0b0;
}

.secondary-action.login-submit-button:not(:disabled):hover {
  background: var(--brand-gradient);
}

.secondary-action.login-submit-button:disabled {
  background: #b0b0b0;
}

.login-status {
  margin: 2px 0 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.login-status.is-success {
  color: var(--success);
  background: var(--success-soft);
}

.login-status.is-error {
  color: var(--warning);
  background: var(--warning-soft);
}

.login-status.is-waiting {
  color: var(--muted);
  background: var(--soft);
}

.dev-login-link {
  width: fit-content;
  color: var(--wgs-red-dark);
  font-size: 14px;
  font-weight: 900;
}

.login-footer-note {
  align-self: end;
  margin: 64px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: #8e8581;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.login-panel.is-register-mode .login-footer-note {
  margin-top: 22px;
}

.login-success-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  align-items: center;
  min-height: 0;
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  text-align: left;
  box-shadow: 0 18px 42px rgba(61, 61, 61, 0.12);
}

.login-success-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 18px 34px rgba(236, 81, 94, 0.18);
}

.login-success-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.login-success-panel h1 {
  max-width: none;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
}

.login-success-copy {
  max-width: none;
  margin: 0;
  color: #747474;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.login-success-copy strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.login-code-form {
  display: grid;
  justify-items: stretch;
  width: 100%;
  margin-top: 22px;
  gap: 12px;
}

.login-code-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.login-code-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 18px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.login-code-form input:focus {
  border-color: var(--wgs-red);
  box-shadow: 0 0 0 3px rgba(236, 81, 94, 0.12);
  outline: 0;
}

.secondary-action.login-success-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 16px;
  border-radius: 8px;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.login-code-form .secondary-action.login-success-button {
  width: 100%;
  margin-top: 2px;
}

.secondary-action.login-success-button:hover {
  background: var(--brand-gradient);
}

.secondary-action.login-success-button:disabled {
  cursor: wait;
  opacity: 0.64;
}

.login-code-status {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--warning);
  background: var(--warning-soft);
  font-size: 14px;
  font-weight: 700;
}

.login-code-status.is-success {
  color: var(--success);
  background: var(--success-soft);
}

.login-code-status.is-error {
  color: var(--warning);
  background: var(--warning-soft);
}

.login-success-demo {
  margin: 14px 0 0;
  color: #918985;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.login-success-divider {
  width: 100%;
  max-width: none;
  height: 1px;
  margin: 22px 0 14px;
  background: var(--line);
}

.login-success-help {
  margin: 0;
  color: #918985;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.login-success-help button + button {
  margin-left: 8px;
}

.login-reset-link {
  border: 0;
  padding: 0;
  color: var(--wgs-red);
  background: transparent;
  font: inherit;
  font-weight: 400;
}

.login-reset-link:hover {
  color: var(--wgs-red-dark);
}

.view {
  display: none;
}

.view.is-visible {
  display: grid;
  gap: 20px;
}

.dashboard-grid,
.overview-dashboard {
  display: grid;
  grid-template-columns: minmax(320px, 1.3fr) minmax(260px, 0.9fr);
  gap: 18px;
}

.overview-dashboard {
  grid-template-columns: minmax(360px, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
}

.overview-side {
  display: grid;
  gap: 18px;
}

.overview-points-row {
  display: grid;
  gap: 18px;
}

.overview-points-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: auto;
}

.overview-points-card.is-zero-points {
  border-color: rgba(236, 81, 94, 0.2);
  background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
}

.overview-points-card.has-pending-points {
  border-color: rgba(201, 125, 3, 0.28);
}

.overview-metrics,
.overview-content-grid {
  display: grid;
  gap: 18px;
}

.overview-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-content-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

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

.points-card,
.action-card,
.summary-card {
  padding: 22px;
}

.points-card {
  min-height: 312px;
}

.card-header,
.section-heading,
.compact-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.light-icon {
  filter: brightness(0) invert(1);
}

.progress-copy,
.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress-copy {
  margin-top: 34px;
  color: var(--muted);
  font-size: 14px;
}

.overview-points-card .progress-copy {
  margin-top: 0;
}

.progress-copy strong {
  color: var(--ink);
}

.progress-track {
  position: relative;
  height: 12px;
  margin: 12px 0 22px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--pink-bg);
}

.progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 240ms ease;
}

.progress-track .reward-progress-pending {
  z-index: 1;
  background: linear-gradient(90deg, #f7c96b 0%, #f2a93b 100%);
}

.progress-track .reward-progress-available {
  z-index: 2;
  background: var(--brand-gradient);
}

.overview-points-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.overview-points-stat {
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  background: var(--soft);
}

.overview-points-stat span,
.overview-points-stat p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.overview-points-stat strong {
  display: block;
  margin-top: 4px;
}

.overview-points-stat p {
  margin: 4px 0 0;
}

.metric-row {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.metric-row div {
  min-width: 0;
}

.metric-row span,
.summary-card p,
.action-card p,
.benefit-card p,
.integration-map p,
.decision-list span {
  color: var(--muted);
  line-height: 1.45;
}

.metric-row strong {
  display: block;
  margin-top: 4px;
}

.red-card {
  color: #fff;
  border-color: transparent;
  background: var(--brand-gradient);
}

.red-card .eyebrow,
.red-card p {
  color: rgba(255, 255, 255, 0.82);
}

.red-card h2 {
  color: #fff;
}

.primary-action,
.secondary-action,
.code-button,
.reward-button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  font-weight: 800;
}

.primary-action {
  color: var(--wgs-red);
  background: #fff;
}

.secondary-action,
.code-button,
.reward-button {
  color: #fff;
  background: var(--ink);
}

.secondary-action:disabled,
.code-button.is-selected,
.reward-button:not(:disabled):hover,
.secondary-action:hover {
  background: var(--brand-gradient);
}

.secondary-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.reward-button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--soft);
}

.summary-card {
  min-height: 148px;
}

.overview-mini-card {
  min-height: 132px;
}

.overview-pending-card.has-pending-points {
  border-color: rgba(201, 125, 3, 0.28);
  background: linear-gradient(180deg, #fffaf2 0%, #fff 100%);
}

.overview-pending-card.has-pending-points h2,
.overview-pending-card.has-pending-points strong,
.overview-pending-card.has-pending-points #pending-points {
  color: var(--warning);
}

.overview-points-message {
  margin: -4px 0 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.overview-points-message.is-pending {
  color: #8a5300;
  border-color: rgba(201, 125, 3, 0.24);
  background: var(--warning-soft);
}

.overview-offer-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.overview-status-list,
.overview-action-list,
.overview-offer-preview,
.overview-activity-list,
.overview-voucher-list {
  display: grid;
  gap: 10px;
}

.overview-status-row,
.overview-activity-row,
.overview-voucher-row {
  display: grid;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
}

.overview-status-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.overview-status-row:first-child,
.overview-activity-row:first-child,
.overview-voucher-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.overview-status-row span,
.overview-activity-row span,
.overview-activity-row small,
.overview-voucher-row span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.overview-status-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--wgs-red);
  background: var(--pink-bg);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.overview-status-row strong.is-active {
  color: var(--success);
  background: var(--success-soft);
}

.overview-action {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
  color: var(--ink);
  background: var(--soft);
  text-align: left;
}

.overview-action:hover {
  border-color: var(--soft-red);
  background: var(--soft-red);
}

.overview-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.overview-action img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.overview-action strong,
.overview-action small {
  display: block;
}

.overview-action small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.overview-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.section-band {
  padding: 22px;
}

.ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.ghost-action:hover {
  color: var(--wgs-red-dark);
  border-color: var(--soft-red);
  background: var(--soft-red);
}

.quiet-action {
  min-height: 34px;
  border-color: rgba(61, 61, 61, 0.14);
  padding: 7px 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.quiet-action:hover {
  color: var(--ink);
  border-color: rgba(61, 61, 61, 0.22);
  background: #fff;
}

.small-action {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.overview-offer-preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.overview-offer-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px;
  min-height: 196px;
  padding: 14px;
}

.overview-offer-card.is-point-campaign {
  border-color: rgba(236, 81, 94, 0.28);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.overview-offer-card img {
  width: 100%;
  max-height: 58px;
  aspect-ratio: 16 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--soft);
}

.overview-offer-card span {
  width: fit-content;
  border-radius: 999px;
  padding: 3px 8px;
  color: #17604f;
  background: #e7f6ef;
  font-size: 11px;
  font-weight: 800;
}

.overview-offer-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.overview-offer-card p.is-empty {
  visibility: hidden;
}

.overview-offer-card button {
  width: 100%;
}

.overview-activity-row {
  grid-template-columns: 92px minmax(0, 1fr) auto;
}

.overview-activity-row strong,
.overview-voucher-row strong {
  display: block;
  margin-bottom: 3px;
}

.overview-activity-row b {
  color: var(--success);
  font-size: 13px;
  white-space: nowrap;
}

.overview-activity-row b.negative {
  color: var(--wgs-red);
}

.overview-activity-row.is-pending b {
  color: var(--warning);
}

.overview-voucher-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.overview-voucher-row code {
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: var(--soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

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

.quick-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  text-align: left;
}

.quick-action img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.benefit-grid,
.offer-grid,
.reward-grid,
.integration-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.benefit-card,
.reward-card,
.integration-map article {
  padding: 16px;
}

.benefit-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  object-fit: contain;
}

.benefit-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  height: 100%;
  min-height: 186px;
}

.benefit-card h3 {
  margin-bottom: 6px;
}

.benefit-card p {
  font-size: 14px;
  line-height: 1.35;
}

.newsletter-benefit-card {
  align-content: stretch;
}

.benefit-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  align-self: end;
}

.benefit-slider-dots {
  display: none;
}

.benefit-slider-dot {
  display: grid;
  place-items: center;
  width: 12px;
  height: 16px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.benefit-slider-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cfd3da;
}

.benefit-slider-dot.is-active::before {
  background: var(--wgs-red);
}

.benefit-action {
  min-height: 32px;
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.benefit-action:not(:disabled):hover {
  background: var(--brand-gradient);
}

.benefit-action:disabled {
  cursor: wait;
  opacity: 0.72;
}

.section-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.offer-search {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 18px;
}

.offer-search span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}

.offer-search input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.offer-search input::placeholder {
  color: #747474;
  font-size: 14px;
  font-weight: 400;
}

.offer-search input:focus {
  outline: 2px solid rgba(236, 81, 94, 0.24);
  outline-offset: 2px;
  border-color: var(--wgs-red);
}

.profile-panel {
  display: grid;
  gap: 14px;
}

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

.profile-field {
  display: grid;
  gap: 5px;
}

.profile-field.is-full,
.profile-actions.is-full {
  grid-column: 1 / -1;
}

.profile-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.profile-field input,
.profile-field select {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.profile-field input[readonly] {
  color: var(--muted);
  background: var(--soft);
}

.profile-field input:focus,
.profile-field select:focus {
  outline: 2px solid rgba(236, 81, 94, 0.24);
  outline-offset: 2px;
  border-color: var(--wgs-red);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.profile-status {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
  font-weight: 800;
}

.profile-status.is-success {
  color: var(--success);
  background: var(--success-soft);
}

.profile-status.is-error {
  color: var(--warning);
  background: var(--warning-soft);
}

.account-closure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.account-closure h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.account-closure p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-closure-status {
  margin-top: 10px;
  border-radius: 8px;
  padding: 9px 11px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.account-closure-status.is-success {
  color: var(--success);
  background: var(--success-soft);
}

.account-closure-status.is-error {
  color: var(--warning);
  background: var(--warning-soft);
}

.quiet-danger-action {
  min-height: 38px;
  border: 1px solid rgba(236, 81, 94, 0.32);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--wgs-red);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.quiet-danger-action:not(:disabled):hover {
  border-color: var(--wgs-red);
  background: var(--pink-bg);
}

.quiet-danger-action:disabled {
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
  background: var(--soft);
}

.profile-page-view.view.is-visible {
  display: grid;
  gap: 18px;
}

.profile-hero-card {
  display: grid;
  gap: 30px;
  border-radius: 0 0 8px 8px;
  padding: 38px 34px 26px;
}

.profile-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.profile-main-title {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 2.7vw, 34px);
  line-height: 1.08;
  font-weight: 700;
}

.profile-account-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 16px;
  border-top: 1px solid #f5f0ee;
  padding-top: 25px;
}

.profile-account-section h2,
.profile-notification-card h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 600;
}

.profile-confirmation-copy {
  margin: 8px 0 0;
  font-size: 14px;
}

.profile-page-view .profile-form {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
  margin-top: 22px;
}

.profile-page-view .profile-form.is-compact .profile-extra-field {
  display: none;
}

.profile-page-view .profile-field {
  gap: 7px;
}

.profile-page-view .profile-field label {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

.profile-page-view .profile-field input,
.profile-page-view .profile-field select {
  min-height: 43px;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 400;
}

.profile-page-view .profile-field input[readonly] {
  color: var(--ink);
  background: #fff;
}

.profile-page-view .profile-field small {
  color: #8d837e;
  font-size: 12px;
  line-height: 1.35;
}

.profile-page-view .profile-actions {
  margin-top: 22px;
}

.profile-page-view .profile-actions .secondary-action {
  min-width: 202px;
  min-height: 42px;
  font-size: 14px;
  font-weight: 700;
}

.profile-notification-card {
  padding: 24px 30px 28px;
}

.profile-newsletter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  border-radius: 8px;
  padding: 14px 16px;
  background: #fdecef;
  cursor: pointer;
}

.profile-newsletter-row input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--ink);
}

.profile-newsletter-row strong,
.profile-newsletter-row small {
  display: block;
}

.profile-newsletter-row strong {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.profile-newsletter-row small {
  margin-top: 3px;
  color: #8d837e;
  font-size: 12px;
  line-height: 1.35;
}

.profile-newsletter-row.is-disabled {
  cursor: default;
}

.profile-newsletter-row.is-loading {
  opacity: 0.76;
}

.profile-account-closure {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin-top: 16px;
  border-top: 0;
  padding-top: 0;
}

.profile-account-closure > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.profile-account-closure p {
  color: #8d837e;
  font-size: 13px;
  line-height: 1.4;
}

.profile-account-closure .quiet-danger-action {
  min-height: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--wgs-red);
  background: transparent;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.profile-account-closure .quiet-danger-action:not(:disabled):hover {
  color: var(--wgs-red-dark);
  background: transparent;
}

.profile-account-closure .quiet-danger-action:disabled {
  color: #8d837e;
  background: transparent;
}

.profile-account-closure .account-closure-status:not([hidden]) {
  flex-basis: 100%;
  margin-top: 8px;
}

.regional-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--soft);
}

.regional-panel h3 {
  margin-bottom: 6px;
}

.regional-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.regional-panel.is-compact {
  grid-template-columns: max-content minmax(260px, 420px);
  align-items: end;
  gap: 16px;
  padding: 12px 14px;
}

.regional-panel.is-compact h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.regional-panel.is-compact .eyebrow {
  margin-bottom: 4px;
}

.regional-form {
  display: grid;
  gap: 10px;
}

.regional-form label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.regional-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.regional-input-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--ink);
  font-weight: 800;
}

.regional-input-row input:focus {
  outline: 2px solid rgba(236, 81, 94, 0.24);
  outline-offset: 2px;
  border-color: var(--wgs-red);
}

.regional-panel.is-compact .regional-form {
  gap: 8px;
}

.regional-panel.is-compact .regional-form label,
.regional-panel.is-compact #regional-panel-copy,
.regional-panel.is-compact .regional-help {
  display: none;
}

.regional-panel.is-compact .regional-input-row {
  grid-template-columns: minmax(96px, 140px) auto;
}

.regional-panel.is-compact .regional-input-row input {
  min-height: 40px;
  padding: 9px 12px;
}

.regional-help {
  font-size: 13px;
  line-height: 1.45;
}

.regional-status {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--warning-soft);
  font-size: 14px;
  font-weight: 800;
}

.regional-status.is-error {
  color: var(--wgs-red);
  background: var(--pink-bg);
}

.deal-band {
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 138, 108, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(236, 111, 149, 0.12), transparent 28%),
    #fff;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.offer-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  min-height: 286px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.offer-card.is-point-campaign {
  border-color: rgba(236, 81, 94, 0.28);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 58%, #f8fbff 100%);
}

.offer-card.is-point-action {
  border-color: rgba(236, 81, 94, 0.28);
}

.offer-card.is-activated {
  border-color: #76c36c;
  background: #f7fff6;
}

.point-campaign-visual {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 96px;
  aspect-ratio: 16 / 7;
  border: 1px solid rgba(236, 81, 94, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8ed 0%, #fff 100%);
  overflow: hidden;
}

.point-campaign-motif {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  aspect-ratio: 1;
}

.point-campaign-motif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 10px 18px rgba(61, 61, 61, 0.1));
}

.point-campaign-visual.is-compact {
  min-height: 60px;
  max-height: 60px;
  aspect-ratio: 16 / 5;
}

.point-campaign-visual.is-compact .point-campaign-motif {
  width: 50px;
}

.offer-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--soft);
}

.offer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.offer-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-category,
.offer-source-tag {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.offer-category {
  color: var(--wgs-red);
  background: var(--pink-bg);
}

.offer-card.is-point-campaign .offer-category {
  color: #8b5300;
  background: #fff0cf;
}

.offer-source-tag {
  color: #17604f;
  background: #e7f6ef;
}

.offer-brand {
  margin: 0;
  min-width: 0;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
}

.offer-card h3 {
  margin-bottom: 6px;
}

.offer-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.4;
}

.offer-card p.is-empty {
  visibility: hidden;
}

.offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.offer-code {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.offer-action {
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.offer-action:not(:disabled):hover {
  background: var(--brand-gradient);
}

.offer-action:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--soft);
}

.offer-card.is-activated .offer-action:disabled {
  color: #256d25;
  background: #e3f6e1;
}

.status-pill,
.counter-badge,
.reward-state {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--wgs-red);
  background: var(--pink-bg);
  font-size: 12px;
  font-weight: 800;
}

.status-pill.is-active {
  color: var(--success);
  background: var(--success-soft);
}

.status-pill.is-inactive {
  color: var(--wgs-red);
  background: var(--pink-bg);
}

.counter-badge {
  color: var(--wgs-red);
  background: var(--soft-red);
}

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

.partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--peach-bg);
}

.partner-card strong {
  display: block;
  margin-bottom: 4px;
}

.partner-card span {
  color: var(--muted);
  font-size: 14px;
}

.ledger,
.voucher-list,
.decision-list {
  display: grid;
  gap: 10px;
}

.ledger-row,
.voucher-row,
.decision-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.ledger-row:last-child,
.voucher-row:last-child,
.decision-list div:last-child {
  border-bottom: 0;
}

.ledger-row span,
.voucher-row span {
  color: var(--muted);
  font-size: 14px;
}

.voucher-status {
  color: var(--muted);
  font-weight: 800;
}

.ledger-points {
  color: var(--success);
  font-weight: 800;
}

.ledger-points.negative {
  color: var(--wgs-red);
}

.ledger-points.is-pending {
  color: var(--warning);
}

.expiry-timeline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.expiry-timeline div {
  border-radius: 8px;
  padding: 16px;
}

.expiry-timeline strong {
  display: block;
}

.reward-card {
  display: grid;
  gap: 16px;
}

.reward-card strong {
  font-size: 30px;
  line-height: 1;
}

.reward-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.reward-state {
  width: fit-content;
}

.reward-card.is-locked .reward-state {
  color: var(--warning);
  background: var(--warning-soft);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: var(--soft);
}

.offer-empty {
  grid-column: 1 / -1;
}

.voucher-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.voucher-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
}

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

.integration-map span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--wgs-red);
  font-weight: 900;
}

.decision-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 20px;
  background: #fff;
  box-shadow: var(--shadow);
}

.decision-list div {
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .prototype-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 71px;
    z-index: 15;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: -10px calc(-1 * clamp(16px, 4vw, 40px)) 4px;
    border-bottom: 1px solid var(--line);
    padding: 10px clamp(16px, 4vw, 40px);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
  }

  .nav-item {
    justify-content: center;
    min-height: 40px;
    padding: 9px 8px;
    font-size: 14px;
    white-space: nowrap;
  }

  .nav-dot {
    display: none;
  }

  .nav-item[data-view="overview"] {
    order: 1;
  }

  .nav-item[data-view="benefits"] {
    order: 2;
  }

  .nav-item[data-view="points"] {
    order: 3;
  }

  .nav-item[data-view="profile"] {
    order: 4;
  }

  .benefit-filter-bar {
    display: flex;
    gap: 8px;
    margin: -4px 0 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }

  .benefit-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 32px;
    font-size: 12px;
  }

  .dashboard-grid,
  .overview-dashboard,
  .overview-content-grid,
  .points-detail-grid {
    grid-template-columns: 1fr;
  }

  .overview-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .benefit-grid,
  .overview-offer-preview,
  .offer-grid,
  .reward-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .content,
  .view.is-visible {
    gap: 12px;
  }

  .prototype-shell {
    padding-top: 16px;
    padding-bottom: 32px;
  }

  .is-logged-out .prototype-shell {
    align-items: flex-start;
    padding: 28px 16px 34px;
  }

  .topbar {
    padding: 10px 12px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    max-width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-home-button {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .section-band,
  .points-card,
  .action-card,
  .summary-card,
  .benefit-card,
  .reward-card,
  .integration-map article {
    padding: 14px;
  }

  .dashboard-grid,
  .points-detail-grid,
  .benefit-grid,
  .offer-grid,
  .reward-grid,
  .partner-list,
  .ledger,
  .voucher-list {
    gap: 10px;
  }

  .points-card,
  .summary-card,
  .benefit-card,
  .offer-card {
    min-height: 0;
  }

  .summary-card h2,
  .points-card h2,
  .section-heading h2,
  .compact-heading h2 {
    font-size: 20px;
  }

  .summary-card p,
  .benefit-card p,
  .offer-card p,
  .section-copy,
  .partner-card span,
  .ledger-row span,
  .voucher-row span {
    font-size: 13px;
    line-height: 1.35;
  }

  .eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
    letter-spacing: 1px;
  }

  .login-input-row,
  .offer-search,
  .account-closure,
  .profile-form,
  .profile-field,
  .regional-input-row,
  .regional-panel.is-compact .regional-input-row {
    min-width: 0;
  }

  .login-input-row input,
  .offer-search input,
  .profile-field input,
  .profile-field select,
  .regional-input-row input,
  .regional-panel.is-compact .regional-input-row input {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  .offer-search input {
    font-size: 14px;
  }

  .club-hero {
    grid-template-columns: 1fr;
  }

  .login-panel {
    min-height: 0;
  }

  .login-copy,
  .login-card-panel {
    padding: 28px 22px;
  }

  .login-copy {
    gap: 16px;
  }

  .login-copy h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .login-copy p {
    margin: 0;
    font-size: 15px;
  }

  .login-earn-badge {
    min-height: 50px;
    font-size: 18px;
  }

  .login-feature-card {
    min-height: 62px;
  }

  .login-card-panel {
    grid-template-rows: auto auto auto auto;
  }

  .login-heading,
  .login-form {
    margin-top: 18px;
  }

  .login-tabs {
    margin: 0;
  }

  .login-footer-note {
    margin-top: 28px;
  }

  .login-success-panel {
    min-height: 0;
    padding: 26px 20px;
  }

  .login-success-icon {
    display: none;
  }

  .login-success-icon img {
    width: 34px;
    height: 34px;
  }

  .login-success-panel h1 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
  }

  .login-success-copy,
  .login-success-help {
    font-size: 13px;
  }

  .secondary-action.login-success-button {
    min-height: 44px;
    margin-top: 2px;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .login-success-demo {
    margin-top: 20px;
    font-size: 15px;
  }

  .login-success-divider {
    margin: 20px 0 14px;
  }

  .hero-status {
    min-width: 0;
  }

  .sidebar {
    top: 57px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: -16px -16px 0;
    padding: 8px 12px 9px;
  }

  .nav-item {
    min-height: 36px;
    padding: 7px 5px;
    font-size: 12px;
  }

  .benefit-filter-bar {
    gap: 6px;
    margin-top: -2px;
  }

  .filter-chip {
    min-height: 30px;
    padding: 7px 9px;
  }

  .quick-actions,
  .overview-metrics,
  .overview-points-summary,
  .overview-offer-preview,
  .offer-grid,
  .reward-grid,
  .partner-list,
  .integration-map,
  .expiry-timeline,
  .login-panel,
  .login-teasers,
  .login-input-row,
  .account-closure,
  .profile-form {
    grid-template-columns: 1fr;
  }

  .metric-row,
  .progress-copy,
  .card-header,
  .section-heading,
  .compact-heading {
    align-items: flex-start;
  }

  .section-heading,
  .compact-heading {
    gap: 8px;
  }

  .overview-offer-heading-actions {
    justify-content: flex-start;
  }

  .card-header {
    gap: 10px;
  }

  .card-icon {
    width: 34px;
    height: 34px;
  }

  .status-pill,
  .counter-badge,
  .reward-state {
    min-height: 22px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .progress-copy {
    margin-top: 16px;
  }

  .progress-track {
    height: 9px;
    margin: 8px 0 14px;
  }

  .metric-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 12px;
  }

  .partner-card,
  .regional-panel,
  .regional-panel.is-compact,
  .regional-input-row,
  .regional-panel.is-compact .regional-input-row,
  .overview-activity-row,
  .overview-voucher-row,
  .ledger-row,
  .decision-list div {
    grid-template-columns: 1fr;
  }

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

  .benefit-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
  }

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

  .benefit-card {
    gap: 4px;
    grid-template-rows: auto auto 1fr auto;
    min-height: 136px;
  }

  .benefit-card img {
    width: 26px;
    height: 26px;
    margin-bottom: 5px;
  }

  .benefit-card h3 {
    margin-bottom: 2px;
    font-size: 15px;
  }

  .benefit-action {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 11px;
  }

  .offer-search {
    margin-top: 12px;
  }

  .offer-grid {
    margin-top: 12px;
  }

  .offer-card {
    gap: 10px;
    padding: 14px;
  }

  .offer-image {
    max-height: 72px;
    aspect-ratio: 16 / 5;
  }

  .offer-top {
    align-items: flex-start;
    gap: 8px;
  }

  .offer-labels {
    gap: 5px;
  }

  .offer-category,
  .offer-source-tag {
    padding: 3px 8px;
    font-size: 11px;
  }

  .offer-brand {
    font-size: 14px;
  }

  .offer-card h3 {
    font-size: 16px;
  }

  .offer-meta {
    gap: 8px;
    padding-top: 10px;
  }

  .offer-code {
    font-size: 13px;
  }

  .offer-action,
  .code-button,
  .reward-button {
    min-height: 34px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .partner-card {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .reward-card {
    gap: 10px;
  }

  .reward-card strong {
    font-size: 24px;
  }

  .regional-panel,
  .regional-panel.is-compact {
    gap: 12px;
    padding: 14px;
  }

  .empty-state {
    padding: 14px;
    font-size: 13px;
  }

  .ledger-row,
  .voucher-row,
  .decision-list div {
    gap: 8px;
    padding: 10px 0;
  }

  .benefit-slider-dots:not([hidden]) {
    display: none;
  }
}

@media (min-width: 761px) and (max-height: 760px) {
  .is-logged-out .prototype-shell {
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .is-login-sent .prototype-shell {
    align-items: center;
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .login-panel {
    min-height: 0;
  }

  .login-copy,
  .login-card-panel {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .login-copy {
    gap: 18px;
  }

  .login-feature-card {
    min-height: 62px;
  }

  .login-card-panel {
    grid-template-rows: auto auto auto auto;
  }

  .login-panel.is-register-mode .login-footer-note {
    margin-top: 18px;
  }

  .login-success-panel {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .login-success-icon {
    display: none;
  }

  .login-success-icon img {
    width: 40px;
    height: 40px;
  }

  .login-success-panel h1 {
    margin: 0 0 10px;
    font-size: 26px;
  }

  .login-success-copy {
    font-size: 14px;
    line-height: 1.45;
  }

  .secondary-action.login-success-button {
    min-height: 46px;
    margin-top: 2px;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .login-success-demo {
    margin-top: 14px;
    font-size: 13px;
  }

  .login-success-divider {
    margin: 22px 0 14px;
  }

  .login-success-help {
    font-size: 13px;
  }
}

@media (max-width: 440px) {
  .prototype-shell {
    padding-inline: 12px;
  }

  .club-hero,
  .section-band,
  .points-card,
  .action-card,
  .summary-card,
  .reward-card,
  .integration-map article {
    padding: 14px;
  }

  .benefit-card {
    padding: 12px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 20px;
  }

  .brand span {
    display: none;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 38px;
  border-radius: 999px;
  padding: 7px 13px 7px 8px;
  color: var(--ink);
  background: #fde8ed;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-user-pill span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-user-avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 999px;
  color: #fff;
  background: var(--wgs-red);
  font-size: 13px;
  font-weight: 800;
}

.is-authenticated {
  background: #fff2ea;
}

.is-authenticated .account-frame {
  background: #fff2ea;
}

.is-authenticated .topbar {
  position: static;
  min-height: 68px;
  border-bottom: 0;
  padding: 11px 20px;
  background: #fff;
  backdrop-filter: none;
}

.is-authenticated .brand img.brand-logo-full {
  width: 226px;
  max-width: min(226px, calc(100vw - 360px));
  height: 42px;
}

.is-authenticated .prototype-shell {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 1072px;
  padding: 64px 16px 56px;
}

.is-authenticated .content {
  gap: 18px;
}

.is-authenticated .sidebar {
  position: static;
  display: flex;
  align-items: stretch;
  gap: 30px;
  height: 55px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 0 34px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(61, 61, 61, 0.04);
}

.is-authenticated .nav-item {
  position: relative;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #958c88;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.is-authenticated .nav-item:hover,
.is-authenticated .nav-item.is-active {
  color: var(--ink);
  border-color: transparent;
  background: transparent;
}

.is-authenticated .nav-item:focus {
  outline: 0;
}

.is-authenticated .nav-item:focus-visible {
  outline: 2px solid rgba(236, 81, 94, 0.32);
  outline-offset: -6px;
}

.is-authenticated .nav-item.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--wgs-red);
}

.is-authenticated .nav-dot {
  display: none;
}

.club-home-view.view.is-visible {
  display: grid;
  gap: 18px;
}

.club-home-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(61, 61, 61, 0.04);
}

.club-home-hero-card {
  display: grid;
  gap: 28px;
  border-radius: 0 0 8px 8px;
  padding: 38px 34px 30px;
}

.club-home-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 26px;
}

.club-home-title {
  max-width: none;
  margin: 0;
  font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: 0;
}

#overview-welcome-name {
  color: #ee7385;
}

.club-status-card {
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 18px;
  background: #fafafa;
}

.club-status-card > span {
  display: block;
  margin-bottom: 4px;
  color: #988f8a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.club-status-card strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--ink);
  font-size: 36px;
  line-height: 0.98;
  font-weight: 700;
}

.club-status-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.club-reward-roadmap {
  display: grid;
  gap: 15px;
}

.club-reward-roadmap h2 {
  margin-bottom: 12px;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 600;
}

.club-reward-roadmap p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reward-roadmap-shell {
  padding: 58px 82px 24px 48px;
}

.reward-roadmap-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: #f0f0f0;
}

.reward-roadmap-track .reward-progress-pending,
.reward-roadmap-track .reward-progress-available {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  height: 100%;
  border-radius: inherit;
  transition: width 240ms ease;
}

.reward-roadmap-track .reward-progress-pending {
  z-index: 1;
  background: linear-gradient(90deg, #f7c46e 0%, #f3a535 100%);
}

.reward-roadmap-track .reward-progress-available {
  z-index: 2;
  background: var(--brand-gradient);
}

.reward-roadmap-start {
  position: absolute;
  z-index: 4;
  left: -32px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 999px;
  color: var(--wgs-red);
  background: var(--pink-bg);
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-50%);
}

.reward-roadmap-current {
  position: absolute;
  z-index: 6;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--wgs-red);
  box-shadow: 0 4px 12px rgba(61, 61, 61, 0.16);
  transform: translate(-50%, -50%);
}

.reward-roadmap-current img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.reward-roadmap-tooltip {
  position: absolute;
  z-index: 7;
  top: -58px;
  left: var(--tooltip-left, 20%);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transform: translateX(-50%);
  box-shadow: 0 8px 18px rgba(61, 61, 61, 0.18);
}

.reward-roadmap-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  transform: translateX(-50%) rotate(45deg);
}

.reward-roadmap-milestones {
  position: absolute;
  inset: 0;
}

.reward-roadmap-milestone {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
}

.reward-roadmap-label {
  position: absolute;
  bottom: 31px;
  color: #9a918d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.reward-roadmap-gift {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px dashed rgba(236, 81, 94, 0.45);
  border-radius: 999px;
  background: #fff;
}

.reward-roadmap-gift img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.reward-roadmap-milestone strong {
  position: absolute;
  left: 36px;
  display: block;
  min-width: 96px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
}

.reward-roadmap-milestone.is-reached .reward-roadmap-gift {
  border-color: var(--wgs-red);
}

.overview-points-message.is-success {
  width: fit-content;
  margin: 0;
  border-color: #aee7a7;
  color: #235d27;
  background: #effcef;
}

.overview-legacy-values {
  display: none;
}

.club-home-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.club-home-section-head h2 {
  margin: 0;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 600;
}

.club-home-card .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.club-home-section-head .section-copy {
  margin-top: 32px;
  font-size: 14px;
}

.club-boost-section,
.popular-partners-section,
.favorite-offers-section,
.latest-points-section {
  padding: 28px 34px;
}

.overview-days-badge {
  border-radius: 6px;
  padding: 9px 14px;
  color: var(--wgs-red);
  background: var(--pink-bg);
  font-size: 12px;
  font-weight: 600;
}

.boost-card {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.boost-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f2f1ee;
}

.boost-image {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.boost-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 280px;
  color: #9c928d;
  background: #f2f1ee;
  font-size: 14px;
  font-weight: 500;
}

.boost-image-wrap > span {
  position: absolute;
  left: 17px;
  top: 17px;
  border-radius: 8px;
  padding: 9px 16px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 7px 15px rgba(61, 61, 61, 0.14);
}

.boost-detail-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.boost-points-copy {
  margin: 0;
  color: var(--wgs-red);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.boost-copy {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}

.boost-copy h3 {
  margin: 0 0 7px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 600;
}

.boost-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.boost-action {
  min-width: 220px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 12px 24px;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.boost-action:not(:disabled):hover {
  background: var(--brand-gradient);
}

.boost-action:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: var(--soft);
}

.boost-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.boost-controls > button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 20px;
  font-weight: 700;
}

.boost-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.boost-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #e1e1e1;
}

.boost-dot.is-active {
  width: 28px;
  background: var(--wgs-red);
}

.popular-partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.popular-partner-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.popular-partner-card.is-clickable {
  cursor: pointer;
}

.popular-partner-logo {
  display: flex;
  align-items: center;
  min-height: 56px;
  margin-bottom: 6px;
  color: #111;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.popular-partner-logo.has-image {
  justify-content: center;
  width: 100%;
  min-height: 62px;
}

.popular-partner-logo img {
  display: block;
  width: min(176px, 88%);
  height: 58px;
  object-fit: contain;
  object-position: center center;
}

.popular-partner-logo.is-mediamarkt {
  color: #e30613;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
}

.popular-partner-logo.is-zalando {
  color: #2a2a2a;
  font-size: 31px;
}

.popular-partner-logo.is-lieferando {
  color: #ff7900;
  font-size: 15px;
  font-weight: 800;
}

.popular-partner-card strong {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.popular-partner-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.popular-partner-card b {
  width: fit-content;
  margin-top: 8px;
  border-radius: 5px;
  padding: 6px 10px;
  color: var(--wgs-red);
  background: var(--pink-bg);
  font-size: 12px;
  font-weight: 700;
}

.popular-partner-card b.is-neutral {
  color: var(--ink);
  background: #f5f3f2;
}

.text-link-button {
  border: 0;
  padding: 0;
  color: var(--wgs-red);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
}

.text-link-button:hover {
  color: var(--wgs-red-dark);
}

.favorite-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.favorite-offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.favorite-offer-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #f0f0f0;
}

.favorite-offer-card.is-wgs-shop-wall .favorite-offer-media {
  display: grid;
  place-items: center;
  padding: 19px 28px;
  background: #fff;
}

.favorite-offer-media > img,
.favorite-offer-placeholder {
  display: block;
  width: 100%;
  height: 100%;
}

.favorite-offer-media > img {
  object-fit: cover;
}

.favorite-offer-card.is-wgs-shop-wall .favorite-offer-media > img {
  max-width: 220px;
  max-height: 82px;
  object-fit: contain;
}

.favorite-offer-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff6f1 0%, #f9f9f9 100%);
}

.favorite-offer-placeholder img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.favorite-offer-star {
  position: absolute;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(61, 61, 61, 0.12);
}

.favorite-offer-star span {
  color: #8c8581;
  font-size: 22px;
  line-height: 1;
}

.favorite-offer-body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 8px;
  padding: 16px;
}

.favorite-offer-body > span {
  color: #226c32;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.favorite-offer-card.is-point-action .favorite-offer-body > span {
  color: #8b5300;
}

.favorite-offer-body strong {
  font-size: 18px;
  line-height: 1.16;
  font-weight: 700;
}

.favorite-offer-body p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.38;
}

.favorite-offer-action {
  min-height: 40px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.favorite-offer-action:not(:disabled):hover {
  color: #fff;
  background: var(--ink);
}

.favorite-offer-action:disabled {
  cursor: not-allowed;
  color: var(--muted);
  border-color: var(--line);
  background: var(--soft);
}

.overview-latest-points {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.overview-latest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.overview-latest-row:last-child {
  border-bottom: 0;
}

.overview-latest-row strong,
.overview-latest-row span {
  display: block;
}

.overview-latest-row strong {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
}

.overview-latest-row span {
  color: var(--muted);
  font-size: 13px;
}

.overview-latest-row b {
  color: var(--wgs-red);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.overview-latest-row b.negative {
  color: var(--ink);
}

.overview-latest-row b.is-pending {
  color: var(--warning);
}

.overview-logout-link {
  justify-self: center;
  margin: 8px 0 0;
  border: 0;
  color: #9c928d;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.overview-logout-link:hover {
  color: var(--wgs-red);
}

@media (max-width: 900px) {
  .is-authenticated .topbar {
    gap: 12px;
  }

  .header-user-pill {
    max-width: 42vw;
  }

  .is-authenticated .brand img.brand-logo-full {
    max-width: min(214px, calc(100vw - 270px));
  }

  .is-authenticated .prototype-shell {
    padding-top: 24px;
  }

  .is-authenticated .sidebar {
    position: static;
    gap: 18px;
    overflow-x: auto;
    border-radius: 8px 8px 0 0;
    padding: 0 18px;
    scrollbar-width: none;
  }

  .is-authenticated .sidebar::-webkit-scrollbar {
    display: none;
  }

  .club-home-hero-card,
  .club-boost-section,
  .popular-partners-section,
  .favorite-offers-section,
  .latest-points-section {
    padding: 24px 22px;
  }

  .club-home-hero-row,
  .boost-detail-row {
    grid-template-columns: 1fr;
  }

  .boost-copy {
    border-left: 0;
    padding-left: 0;
  }

  .boost-action {
    width: 100%;
  }

  .popular-partner-grid,
  .favorite-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar-actions {
    gap: 8px;
  }

  .header-user-pill {
    display: none;
  }

  .is-authenticated .brand img.brand-logo-full {
    max-width: min(214px, calc(100vw - 118px));
  }

  .is-authenticated .prototype-shell {
    padding-inline: 12px;
    padding-top: 18px;
  }

  .is-authenticated .sidebar {
    gap: 16px;
    height: 48px;
    padding: 0 14px;
  }

  .is-authenticated .nav-item {
    min-height: 47px;
    font-size: 13px;
  }

  .club-home-title {
    font-size: 34px;
  }

  .club-status-card {
    min-width: 0;
  }

  .reward-roadmap-shell {
    padding: 52px 54px 22px 34px;
  }

  .reward-roadmap-tooltip {
    max-width: 190px;
    font-size: 12px;
  }

  .reward-roadmap-milestone strong {
    display: none;
  }

  .boost-image,
  .boost-image-placeholder {
    height: 210px;
  }

  .club-home-section-head {
    display: grid;
  }

  .club-home-section-head .section-copy {
    margin-top: 0;
  }

  .popular-partner-grid,
  .favorite-offer-grid {
    grid-template-columns: 1fr;
  }

  .popular-partner-card {
    min-height: 0;
  }

  .overview-latest-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.benefits-hero-card,
.offers-hero-card {
  border-radius: 0 0 8px 8px;
  padding: 38px 34px;
}

.benefits-hero-row,
.offers-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.benefits-title,
.offers-title {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 2.7vw, 34px);
  line-height: 1.08;
  font-weight: 700;
}

.benefits-hero-copy {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.benefits-inclusion-section {
  padding: 28px 34px 26px;
}

.benefits-section-head {
  margin-bottom: 22px;
}

.benefits-section-head .section-copy {
  margin-top: 8px;
  font-size: 14px;
}

.benefits-inclusion-section .benefit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.benefits-inclusion-section .benefit-card {
  min-height: 160px;
  padding: 24px 22px 20px;
  box-shadow: none;
}

.benefits-inclusion-section .benefit-card img {
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
}

.benefits-inclusion-section .benefit-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.benefits-inclusion-section .benefit-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.benefits-inclusion-section .benefit-card-footer {
  margin-top: 10px;
}

.benefits-inclusion-section .status-pill {
  min-height: 24px;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}

.benefits-inclusion-section .benefit-action {
  min-height: 32px;
  font-weight: 600;
}

.points-page-view.view.is-visible {
  display: grid;
  gap: 18px;
}

.points-hero-card {
  display: grid;
  gap: 30px;
  border-radius: 0 0 8px 8px;
  padding: 38px 34px 30px;
}

.points-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.points-title {
  max-width: none;
  margin: 0;
  font-size: clamp(30px, 2.7vw, 34px);
  line-height: 1.08;
  font-weight: 700;
}

.points-roadmap {
  gap: 18px;
}

.points-roadmap h2 {
  margin-bottom: 14px;
  font-size: 23px;
  line-height: 1.18;
  font-weight: 600;
}

.points-roadmap p {
  color: var(--muted);
  font-size: 14px;
}

.points-redeem-section,
.points-ledger-section {
  padding: 28px 34px;
}

.points-redeem-section .reward-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.points-redeem-section .reward-card {
  min-height: 182px;
  align-content: start;
  gap: 14px;
  padding: 20px;
  box-shadow: none;
}

.points-redeem-section .reward-state {
  min-height: 24px;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
}

.points-redeem-section .reward-card strong {
  font-size: 31px;
  line-height: 1;
}

.points-redeem-section .reward-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.points-redeem-section .reward-button {
  width: 100%;
  min-height: 40px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.points-ledger-section .ledger {
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.points-ledger-section .ledger-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 17px 0;
}

.ledger-copy strong,
.points-ledger-section .ledger-points {
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
}

.ledger-copy span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ledger-copy .ledger-detail {
  margin-top: 4px;
}

.points-ledger-section .ledger-points {
  color: var(--wgs-red);
  text-align: right;
  white-space: nowrap;
}

.points-ledger-section .ledger-points.negative {
  color: #958c88;
}

.points-ledger-section .ledger-points.is-pending {
  color: var(--warning);
}

.offers-boost-section {
  margin-top: 0;
}

.is-benefits-page.view.is-visible,
.is-offers-page.view.is-visible {
  display: grid;
  gap: 18px;
}

.is-offers-page .deal-band {
  padding: 28px 34px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(61, 61, 61, 0.04);
}

.is-offers-page .compact-heading h2 {
  margin-bottom: 7px;
  font-size: 22px;
  font-weight: 600;
}

.is-offers-page .section-copy {
  font-size: 14px;
}

.is-offers-page .offer-search {
  max-width: none;
  margin-top: 22px;
}

.is-offers-page .offer-search span {
  color: var(--ink);
}

.is-offers-page .benefit-filter-bar {
  margin: 12px 0 0;
}

.is-offers-page .filter-chip {
  min-height: 36px;
  padding: 8px 15px;
  font-weight: 600;
}

.is-offers-page .filter-chip.is-active,
.is-offers-page .filter-chip.is-active:hover {
  color: #fff;
  border-color: var(--ink);
  background: var(--ink);
}

.offer-grid {
  gap: 16px;
}

.offer-card {
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 297px;
  padding: 14px;
}

.offer-media {
  display: block;
  width: 100%;
  min-height: 120px;
  aspect-ratio: 16 / 6.7;
  overflow: hidden;
  border: 1px dashed #bababa;
  border-radius: 8px;
  background: #f1f1f1;
}

.offer-media.has-image {
  border-style: solid;
  border-color: var(--line);
  background: #fff;
}

.offer-card.is-wgs-shop-wall .offer-media {
  display: grid;
  place-items: center;
  padding: 17px 24px;
  border-style: solid;
  background: #fff;
}

.offer-media .offer-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  background: transparent;
}

.offer-card.is-wgs-shop-wall .offer-media .offer-image {
  max-width: 210px;
  max-height: 78px;
  object-fit: contain;
}

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

.offer-card-body .offer-labels {
  min-height: 24px;
}

.offer-card h3 {
  margin: 2px 0 0;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.offer-card p {
  font-size: 13px;
}

.offer-category {
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
}

.offer-category.is-shopping {
  color: #c81226;
  background: #fde8ec;
}

.offer-category.is-beauty {
  color: #238327;
  background: #e6f7e7;
}

.offer-category.is-wellness {
  color: #214fc5;
  background: #e9efff;
}

.offer-category.is-food {
  color: #b66a00;
  background: #fff0d8;
}

.offer-category.is-points {
  color: var(--wgs-red);
  background: var(--pink-bg);
}

.offer-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  justify-content: stretch;
  border-top: 0;
  padding-top: 0;
}

.offer-code {
  color: var(--muted);
  font-size: 13px;
}

.offer-action {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.offer-action:not(:disabled):hover {
  color: #fff;
  background: var(--ink);
}

.offer-action:disabled {
  border-color: var(--line);
}

@media (max-width: 900px) {
  .benefits-hero-card,
  .offers-hero-card,
  .points-hero-card,
  .profile-hero-card,
  .benefits-inclusion-section,
  .points-redeem-section,
  .points-ledger-section,
  .profile-notification-card,
  .is-offers-page .deal-band {
    padding: 24px 22px;
  }

  .benefits-hero-row,
  .offers-hero-row,
  .points-hero-row,
  .profile-hero-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .benefits-title,
  .offers-title,
  .points-title,
  .profile-main-title {
    font-size: 28px;
  }

  .club-status-card strong {
    font-size: 32px;
  }

  .points-roadmap h2 {
    font-size: 20px;
  }

  .points-redeem-section .reward-grid {
    grid-template-columns: 1fr;
  }

  .points-ledger-section .ledger-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .points-ledger-section .ledger-points {
    text-align: left;
  }

  .profile-account-section {
    grid-template-columns: 1fr;
  }

  .profile-page-view .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-page-view .profile-actions .secondary-action {
    width: 100%;
  }

  .offer-media {
    min-height: 112px;
  }

  .benefits-inclusion-section .benefit-card {
    padding: 16px;
  }

  .benefits-inclusion-section .benefit-card img {
    width: 26px;
    height: 26px;
  }

  .offer-search input::placeholder {
    font-size: 13px;
  }
}
