@font-face {
  font-family: "Apercu";
  src: url("assets/fonts/apercu-regular.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Apercu";
  src: url("assets/fonts/apercu-bold.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Nyse";
  src: url("assets/fonts/nyse-demi.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  --ink: #3c3c3b;
  --ink-soft: #5c5c58;
  --cream: #f3f0dd;
  --paper: #fbfaf3;
  --white: #fff;
  --olive: #585d49;
  --gold: #b59f5d;
  --line: rgba(60, 60, 59, 0.14);
  --green: #1d7b56;
  --basic-green: #58634f;
  --beige-card: #d8cfb8;
  --gold-card: #b89a4f;
  --shadow: 0 24px 70px rgba(38, 38, 34, 0.18);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: #dedbcf;
  color: var(--ink);
  font-family: "Apercu", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  margin: 0;
  background: #dedbd0;
}

button,
input,
select {
  font: inherit;
  font-synthesis: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

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

a.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.desktop-note {
  display: none;
}

.app-shell {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.app-statusbar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(27px + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) 20px 0;
  background: rgba(251, 250, 243, 0.96);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-icons svg {
  width: 15px;
  height: 12px;
  fill: currentColor;
}

.status-icons svg:last-child {
  width: 23px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  padding: 10px 20px;
  border-bottom: 1px solid transparent;
  background: rgba(251, 250, 243, 0.93);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease;
}

.brand-button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  aspect-ratio: 1;
  border: 1.5px solid var(--ink);
  font-family: "Nyse", sans-serif;
  font-size: 15px;
  letter-spacing: -0.08em;
}

.brand-word {
  max-width: 74px;
  text-align: left;
  font-size: 8px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.13em;
}

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.icon-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.notification-dot {
  position: absolute;
  top: 6px;
  right: 5px;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
}

.app-main {
  position: relative;
  height: calc(100dvh - 93px - env(safe-area-inset-top, 0px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}

.view {
  display: none;
  min-height: 100%;
  padding: 20px 18px calc(110px + var(--safe-bottom));
}

.view.is-active {
  display: block;
  animation: view-in 240ms ease both;
}

@keyframes view-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Nyse", Georgia, serif;
  font-weight: 600;
  font-synthesis: none;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 9vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.welcome-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 2px 2px 18px;
}

.avatar,
.profile-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.member-card {
  position: relative;
  isolation: isolate;
  min-height: 225px;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  background: var(--basic-green);
  box-shadow: 0 14px 30px rgba(48, 50, 41, 0.16);
  color: var(--cream);
  cursor: pointer;
}

.member-card::after {
  position: absolute;
  inset: 8px;
  z-index: -1;
  border: 1px solid rgba(243, 240, 221, 0.24);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

.member-card.tier-beige {
  background: var(--beige-card);
  color: var(--ink);
}

.member-card.tier-gold {
  background: var(--gold-card);
  color: var(--ink);
}

.member-card.tier-beige::after,
.member-card.tier-gold::after {
  border-color: rgba(60, 60, 59, 0.28);
}

.member-card.tier-beige .member-card-logo img,
.member-card.tier-gold .member-card-logo img {
  filter: brightness(0) saturate(100%) opacity(0.78);
}

.member-card.tier-beige .member-tier,
.member-card.tier-gold .member-tier {
  border-color: rgba(60, 60, 59, 0.34);
}

.member-card.tier-beige .member-number,
.member-card.tier-gold .member-number {
  opacity: 0.76;
}

.member-card-top,
.member-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.member-label,
.member-tier,
.member-number {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.member-tier {
  padding: 6px 8px;
  border: 1px solid rgba(243, 240, 221, 0.42);
  border-radius: 100px;
}

.member-card-logo {
  display: grid;
  place-items: center;
  height: 110px;
}

.member-card-logo img {
  width: min(83%, 310px);
  max-height: 76px;
}

.member-name {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
}

.member-number {
  opacity: 0.68;
}

.qr-peek {
  width: 45px;
  height: 45px;
  overflow: hidden;
  padding: 5px;
  border: 0;
  border-radius: 5px;
  background: var(--cream);
  cursor: pointer;
}

.qr-peek svg {
  width: 100%;
  height: 100%;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.quick-stats button {
  min-width: 0;
  padding: 14px 6px 13px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.quick-stats button:last-child {
  border-right: 0;
}

.quick-stats strong,
.quick-stats span {
  display: block;
}

.quick-stats strong {
  margin-bottom: 3px;
  font-size: 17px;
}

.quick-stats span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 2px 15px;
}

.section-heading.compact {
  align-items: center;
  margin: 0 0 18px;
}

.text-button {
  padding: 4px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.reward-progress {
  padding: 20px;
  border-radius: 14px;
  background: var(--cream);
}

.reward-progress p:last-child {
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.coffee-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
}

.coffee-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.stamp-row {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 5px;
}

.stamp {
  aspect-ratio: 1;
  border: 1px solid rgba(60, 60, 59, 0.23);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.stamp.is-filled {
  border-color: var(--olive);
  background: var(--olive);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.stamp:last-child {
  position: relative;
}

.stamp:last-child::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "★";
  color: var(--gold);
  font-size: 9px;
}

.daily-drop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 126px;
  margin: 16px 0 0;
  overflow: hidden;
  padding: 18px 12px 18px 20px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  text-align: left;
  cursor: pointer;
}

.business-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin: 28px 0 2px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.business-strip-mark,
.business-entry-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 7px;
  background: var(--ink);
  color: var(--cream);
  font-family: "Nyse", Georgia, serif;
  font-size: 17px;
  line-height: 0.9;
  text-align: center;
}

.business-strip-mark small,
.business-entry-mark small {
  display: block;
  margin-top: 3px;
  font-family: "Apercu", sans-serif;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.business-strip > span:nth-child(2) small,
.business-strip > span:nth-child(2) strong,
.business-entry > span:nth-child(2) small,
.business-entry > span:nth-child(2) strong {
  display: block;
}

.business-strip > span:nth-child(2) small,
.business-entry > span:nth-child(2) small {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.business-strip > span:nth-child(2) strong,
.business-entry > span:nth-child(2) strong {
  font-family: "Apercu", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.08;
}

.daily-drop .eyebrow {
  color: rgba(243, 240, 221, 0.64);
}

.drop-copy {
  position: relative;
  z-index: 2;
}

.drop-copy strong,
.drop-copy > span:last-child {
  display: block;
}

.drop-copy strong {
  margin-bottom: 8px;
  font-family: "Nyse", Georgia, serif;
  font-size: 23px;
}

.drop-copy > span:last-child {
  max-width: 165px;
  color: rgba(243, 240, 221, 0.68);
  font-size: 10px;
  line-height: 1.35;
}

.drop-cards {
  position: relative;
  display: block;
  width: 115px;
  height: 88px;
  flex: 0 0 115px;
}

.drop-cards i {
  position: absolute;
  top: 9px;
  left: 35px;
  width: 54px;
  height: 75px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: var(--gold);
  box-shadow: 0 9px 16px rgba(0, 0, 0, 0.2);
}

.drop-cards i::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(60, 60, 59, 0.45);
  border-radius: 3px;
  content: "";
}

.drop-cards i:first-child {
  transform: translateX(-20px) rotate(-17deg);
  background: var(--cream);
}

.drop-cards i:last-child {
  transform: translateX(20px) rotate(17deg);
  background: var(--olive);
}

.horizontal-list {
  display: grid;
  grid-auto-columns: minmax(220px, 75%);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -18px;
  padding: 0 18px 7px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.horizontal-list::-webkit-scrollbar {
  display: none;
}

.offer-card,
.offer-row {
  border: 1px solid var(--line);
  background: var(--white);
}

.offer-card {
  min-height: 145px;
  padding: 17px;
  border-radius: 12px;
  scroll-snap-align: start;
}

.offer-card .offer-top,
.offer-row .offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.offer-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 4px 8px;
  border-radius: 100px;
  background: var(--cream);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.offer-card h4,
.offer-row h4 {
  margin: 21px 0 6px;
  font-size: 21px;
  line-height: 1;
}

.offer-card p,
.offer-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.offer-code {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 9px;
}

.news-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ink);
  cursor: pointer;
}

.news-card.large {
  min-height: 320px;
}

.news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.news-card:active img {
  transform: scale(1.03);
}

.news-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 35%, rgba(17, 18, 15, 0.78));
  content: "";
}

.news-overlay {
  position: absolute;
  right: 13px;
  bottom: 14px;
  left: 13px;
  z-index: 2;
  color: var(--cream);
}

.news-overlay span {
  display: block;
  margin-bottom: 7px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-overlay h4 {
  margin: 0;
  font-family: "Apercu", Arial, sans-serif;
  font-size: clamp(15px, 4.5vw, 21px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.store-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 250px;
  margin-top: 36px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--olive);
  color: var(--cream);
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-copy {
  padding: 24px 18px;
}

.store-copy .eyebrow {
  color: rgba(243, 240, 221, 0.62);
}

.store-copy h3 {
  margin-bottom: 18px;
  font-size: 23px;
}

.store-copy p:not(.eyebrow) {
  color: rgba(243, 240, 221, 0.72);
  font-size: 10px;
  line-height: 1.5;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
}

.page-intro {
  margin: 4px 2px 28px;
}

.page-intro > p:last-child {
  max-width: 340px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.scan-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 21px;
  border: 1px solid rgba(60, 60, 59, 0.12);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 0 18px 45px rgba(45, 46, 39, 0.12);
}

.scan-card.tier-basic {
  border-top: 4px solid var(--basic-green);
}

.scan-card.tier-beige {
  border-top: 4px solid var(--beige-card);
  background: #f4f0e5;
}

.scan-card.tier-gold {
  border-top: 4px solid var(--gold-card);
  background: #f4efe0;
}

.scan-card-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.scan-card-brand .brand-mark {
  width: 30px;
  font-size: 12px;
}

.qr-wrap {
  display: grid;
  place-items: center;
  width: min(74vw, 285px);
  margin: 23px auto 20px;
  padding: 14px;
  border-radius: 10px;
  background: var(--white);
}

.qr-wrap svg {
  width: 100%;
  height: auto;
}

.scan-card-name {
  text-align: center;
}

.scan-card-name strong,
.scan-card-name span {
  display: block;
}

.scan-card-name strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.scan-card-name span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.scan-line {
  display: none;
}

.scan-line span {
  position: absolute;
  top: 70px;
  right: 25px;
  left: 25px;
  height: 1px;
  opacity: 0;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: scan 3.4s ease-in-out infinite;
}

@keyframes scan {
  0%, 12% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.8; }
  74% { opacity: 0.8; }
  86%, 100% { opacity: 0; transform: translateY(260px); }
}

.card-benefit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 0;
  padding: 14px 17px;
  border-radius: 11px;
  background: var(--olive);
  color: var(--cream);
}

.card-benefit-bar.tier-beige {
  background: var(--beige-card);
  color: var(--ink);
}

.card-benefit-bar.tier-gold {
  background: var(--gold-card);
  color: var(--ink);
}

.card-benefit-bar span {
  font-size: 10px;
}

.card-benefit-bar strong {
  font-family: "Nyse", Georgia, serif;
  font-size: 22px;
}

.tier-progress-card {
  margin-top: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.tier-progress-card h3 {
  font-family: "Apercu", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.tier-progress-track {
  height: 7px;
  margin: 15px 0 10px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(60, 60, 59, 0.11);
}

.tier-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--basic-green);
  transition: width 300ms ease;
}

.tier-progress-card.tier-beige .tier-progress-track span {
  background: #b3a687;
}

.tier-progress-card.tier-gold .tier-progress-track span {
  background: var(--gold-card);
}

.tier-progress-card > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.tier-overview {
  margin-top: 32px;
}

.tier-card-list {
  display: grid;
  gap: 9px;
}

.tier-summary {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  opacity: 0.72;
}

.tier-summary.is-reached {
  opacity: 1;
}

.tier-summary.is-active {
  border-color: var(--ink);
  box-shadow: inset 3px 0 0 var(--basic-green);
}

.tier-summary.tier-beige.is-active {
  box-shadow: inset 3px 0 0 #b3a687;
}

.tier-summary.tier-gold.is-active {
  box-shadow: inset 3px 0 0 var(--gold-card);
}

.tier-summary-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
}

.tier-swatch {
  display: grid;
  place-items: center;
  width: 44px;
  height: 29px;
  border-radius: 5px;
  background: var(--basic-green);
  color: var(--cream);
  font-family: "Nyse", Georgia, serif;
  font-size: 12px;
}

.tier-summary.tier-beige .tier-swatch {
  background: var(--beige-card);
  color: var(--ink);
}

.tier-summary.tier-gold .tier-swatch {
  background: var(--gold-card);
  color: var(--ink);
}

.tier-summary-head strong,
.tier-summary-head small {
  display: block;
}

.tier-summary-head strong {
  font-size: 14px;
}

.tier-summary-head small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
}

.tier-summary-head b {
  padding: 5px 7px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 8px;
  text-transform: uppercase;
}

.tier-summary ul {
  display: grid;
  gap: 4px;
  margin: 11px 0 0 55px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
  list-style: none;
}

.tier-summary li::before {
  margin-right: 6px;
  content: "✓";
}

.tier-note {
  margin: 10px 2px 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.purchase-list {
  border-top: 1px solid var(--line);
}

.purchase-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}

.purchase-date {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.purchase-date strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.purchase-copy strong,
.purchase-copy span {
  display: block;
}

.purchase-copy strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.purchase-copy span {
  color: var(--ink-soft);
  font-size: 9px;
}

.purchase-amount {
  text-align: right;
}

.purchase-amount strong,
.purchase-amount span {
  display: block;
}

.purchase-amount strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.purchase-amount span {
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.privacy-note svg {
  width: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.privacy-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.points-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
  border-radius: 15px;
  background: var(--ink);
  color: var(--cream);
}

.points-hero .eyebrow {
  color: rgba(243, 240, 221, 0.62);
}

.points-hero strong {
  display: block;
  margin-top: 8px;
  font-family: "Nyse", Georgia, serif;
  font-size: 43px;
  line-height: 0.8;
}

.points-hero strong small {
  font-family: "Apercu", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.points-hero button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 9px;
  cursor: pointer;
}

.wallet-list,
.offer-list {
  display: grid;
  gap: 9px;
}

.wallet-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.wallet-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  font-family: "Nyse", serif;
  font-size: 17px;
}

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

.wallet-card strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.wallet-card small {
  color: var(--ink-soft);
  font-size: 9px;
}

.wallet-card button,
.copy-code {
  padding: 7px 9px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.empty-wallet {
  padding: 20px;
  border: 1px dashed rgba(60, 60, 59, 0.25);
  border-radius: 11px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.offer-row {
  position: relative;
  overflow: hidden;
  padding: 17px;
  border-radius: 12px;
}

.offer-row::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--gold);
  content: "";
}

.offer-row h4 {
  margin-top: 16px;
}

.offer-row-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: 13px;
}

.play-section {
  margin-top: 38px;
}

.play-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-bottom: 9px;
  padding: 18px 15px;
  border: 0;
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
}

.play-tile.olive {
  background: var(--olive);
  color: var(--cream);
}

.play-tile.gold {
  background: var(--gold);
  color: var(--ink);
}

.play-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
}

.play-tile strong,
.play-tile small {
  display: block;
}

.play-tile strong {
  margin-bottom: 4px;
  font-family: "Apercu", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.play-tile small {
  opacity: 0.7;
  font-size: 9px;
}

.round-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 5px 2px 27px;
}

.back-link {
  margin: 0 0 17px 2px;
  padding: 3px 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 9px;
  cursor: pointer;
}

.business-hero {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 24px;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(60, 60, 59, 0.95), rgba(60, 60, 59, 0.66)),
    url("assets/images/fabrics.webp") center / cover;
  color: var(--cream);
}

.business-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 285px;
}

.business-hero .eyebrow {
  color: rgba(243, 240, 221, 0.62);
}

.business-hero h2 {
  margin-bottom: 15px;
  font-size: 38px;
}

.business-hero p:last-child {
  margin: 0;
  max-width: 240px;
  color: rgba(243, 240, 221, 0.7);
  font-size: 10px;
  line-height: 1.5;
}

.business-monogram {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border: 1px solid rgba(243, 240, 221, 0.55);
  font-family: "Nyse", serif;
  font-size: 21px;
}

.business-monogram small {
  display: block;
  margin-top: -15px;
  font-family: "Apercu", sans-serif;
  font-size: 7px;
  letter-spacing: 0.13em;
}

.business-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 10px 0 22px;
}

.business-link-grid a {
  position: relative;
  min-height: 106px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
}

.business-link-grid a.dark {
  border-color: var(--line);
  background: var(--cream);
  color: var(--ink);
}

.business-link-grid a[data-cn-link="website"] {
  border-color: var(--basic-green);
  background: var(--basic-green);
  color: var(--cream);
}

.business-link-grid span,
.business-link-grid strong {
  display: block;
}

.business-link-grid span {
  margin-bottom: 19px;
  opacity: 0.65;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.business-link-grid strong {
  font-family: "Nyse", Georgia, serif;
  font-size: 19px;
}

.business-link-grid i {
  position: absolute;
  top: 12px;
  right: 13px;
  font-size: 13px;
  font-style: normal;
}

.business-account {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.business-account-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.business-account-head h3 {
  font-size: 22px;
}

.business-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-meta small,
.business-meta strong {
  display: block;
}

.business-meta small {
  margin-bottom: 4px;
  color: var(--ink-soft);
  font-size: 8px;
}

.business-meta strong {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-account .secondary-button {
  width: 100%;
  min-height: 42px;
}

.business-order {
  padding: 19px;
  border-radius: 13px;
  background: var(--cream);
}

.business-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(60, 60, 59, 0.13);
}

.business-order-head strong,
.business-order-head span {
  display: block;
}

.business-order-head strong {
  margin-bottom: 4px;
  font-size: 12px;
}

.business-order-head span {
  color: var(--ink-soft);
  font-size: 8px;
}

.business-order-total {
  text-align: right;
}

.business-order-total strong {
  font-family: "Nyse", serif;
  font-size: 19px;
}

.production-timeline {
  display: grid;
  margin-top: 20px;
}

.production-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: start;
  gap: 10px;
  min-height: 49px;
}

.production-step::before {
  position: absolute;
  top: 12px;
  bottom: -1px;
  left: 6px;
  width: 1px;
  background: rgba(60, 60, 59, 0.18);
  content: "";
}

.production-step:last-child::before {
  display: none;
}

.production-dot {
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(60, 60, 59, 0.35);
  border-radius: 50%;
  background: var(--cream);
}

.production-step.is-done .production-dot,
.production-step.is-current .production-dot {
  border-color: var(--olive);
  background: var(--olive);
  box-shadow: inset 0 0 0 3px var(--cream);
}

.production-step.is-current .production-dot {
  box-shadow: 0 0 0 4px rgba(88, 93, 73, 0.14), inset 0 0 0 3px var(--cream);
}

.production-step strong,
.production-step small {
  display: block;
}

.production-step strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.production-step small {
  color: var(--ink-soft);
  font-size: 8px;
}

.production-step time {
  color: var(--ink-soft);
  font-size: 8px;
}

.production-step:not(.is-done):not(.is-current) {
  opacity: 0.5;
}

.business-actions {
  margin-top: 32px;
}

.business-actions > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 3px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

.business-actions > a strong {
  font-size: 14px;
}

.business-note {
  margin-top: 25px;
  padding: 20px;
  border-radius: 13px;
  background: var(--olive);
  color: var(--cream);
}

.business-note > strong {
  font-family: "Nyse", Georgia, serif;
  font-size: 20px;
}

.business-note p {
  margin: 9px 0 15px;
  color: rgba(243, 240, 221, 0.7);
  font-size: 9px;
  line-height: 1.5;
}

.business-note button {
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 9px;
  cursor: pointer;
}

.profile-head .profile-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  font-size: 15px;
}

.profile-head h2 {
  margin-bottom: 5px;
  font-size: 29px;
}

.profile-head > div > span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.whatsapp-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border-radius: 13px;
  background: var(--green);
  color: var(--white);
}

.external-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}

.external-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 10px;
}

.external-actions a:last-child {
  background: var(--cream);
}

.external-actions a[data-cn-link="website"] {
  border-color: var(--basic-green);
  background: var(--basic-green);
  color: var(--cream);
}

.benefits-view .reward-progress {
  margin-top: 22px;
}

.business-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  border: 0;
  border-radius: 13px;
  background: var(--gold);
  text-align: left;
  cursor: pointer;
}

.business-entry-mark {
  background: var(--ink);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.whatsapp-icon svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

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

.whatsapp-card small {
  margin-bottom: 4px;
  opacity: 0.7;
  font-size: 8px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.whatsapp-card strong {
  font-family: "Apercu", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.menu-list {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.menu-list > button,
.menu-list > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 68px;
  padding: 12px 15px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.menu-list > *:last-child {
  border-bottom: 0;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: var(--cream);
}

.menu-icon svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.menu-list strong,
.menu-list small {
  display: block;
}

.menu-list strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.menu-list small {
  color: var(--ink-soft);
  font-size: 9px;
}

.info-panel {
  margin-top: 20px;
  padding: 20px;
  border-radius: 13px;
  background: var(--cream);
}

.info-panel p:not(.eyebrow) {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.info-panel div {
  display: flex;
  gap: 14px;
  padding-top: 6px;
}

.info-panel a {
  border-bottom: 1px solid currentColor;
  font-size: 9px;
}

.reset-demo {
  display: block;
  margin: 20px auto 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
  text-decoration: underline;
  cursor: pointer;
}

.bottom-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: calc(72px + var(--safe-bottom));
  padding: 7px 10px calc(7px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 243, 0.94);
  backdrop-filter: blur(22px);
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px;
  border: 0;
  background: transparent;
  color: rgba(60, 60, 59, 0.45);
  cursor: pointer;
}

.bottom-nav button.is-active {
  color: var(--ink);
}

.bottom-nav svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.bottom-nav svg circle {
  fill: currentColor;
  stroke: none;
}

.bottom-nav span {
  font-size: 8px;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: flex-end;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 26, 22, 0.58);
  backdrop-filter: blur(5px);
  animation: fade-in 200ms ease both;
}

.sheet {
  position: relative;
  z-index: 2;
  width: min(100%, 480px);
  max-height: calc(93dvh - env(safe-area-inset-top, 0px));
  overflow-y: auto;
  padding: 28px 20px calc(24px + var(--safe-bottom));
  border-radius: 22px 22px 0 0;
  background: var(--paper);
  box-shadow: var(--shadow);
  animation: sheet-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tall-sheet {
  min-height: min(86dvh, 780px);
}

@keyframes sheet-in {
  from { opacity: 0; transform: translateY(35px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.sheet-close {
  position: absolute;
  top: 17px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 0 0 3px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}

.sheet-close.light {
  border-color: rgba(243, 240, 221, 0.2);
  background: rgba(243, 240, 221, 0.1);
  color: var(--cream);
}

.sheet-head {
  padding-right: 42px;
  margin-bottom: 24px;
}

.sheet-head h2 {
  margin-bottom: 12px;
}

.sheet-head > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

.data-purpose-note {
  padding: 14px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--cream);
}

.data-purpose-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
}

.data-purpose-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.session-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.session-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
}

.session-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

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

.session-card strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.session-card small {
  overflow: hidden;
  max-width: 210px;
  color: var(--ink-soft);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.security-note {
  margin: 12px 0;
  padding: 15px;
  border-radius: 11px;
  background: var(--cream);
}

.security-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
}

.security-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.full-button {
  width: 100%;
}

.login-sent {
  margin-top: 14px;
  padding: 22px;
  border-radius: 12px;
  background: var(--cream);
  text-align: center;
}

.login-sent > span {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  font-size: 20px;
}

.login-sent strong {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
}

.login-sent p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.5;
}

.login-sent .primary-button {
  width: 100%;
}

.privacy-setting {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
}

.privacy-setting > span:first-child strong,
.privacy-setting > span:first-child small {
  display: block;
}

.privacy-setting > span:first-child strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.privacy-setting > span:first-child small {
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.35;
}

.privacy-setting > p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.5;
}

.toggle-setting {
  cursor: pointer;
}

.toggle-setting input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-setting > i {
  position: relative;
  width: 41px;
  height: 23px;
  border-radius: 100px;
  background: #d5d4ca;
  transition: background 160ms ease;
}

.toggle-setting > i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.16);
  content: "";
  transition: transform 160ms ease;
}

.toggle-setting input:checked + i {
  background: var(--olive);
}

.toggle-setting input:checked + i::after {
  transform: translateX(18px);
}

.toggle-setting input:focus-visible + i {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.consent-history {
  margin-top: 28px;
}

.consent-history h3 {
  margin-bottom: 13px;
  font-size: 22px;
}

.consent-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.consent-entry strong,
.consent-entry small {
  display: block;
}

.consent-entry strong {
  margin-bottom: 3px;
  font-size: 9px;
}

.consent-entry small,
.consent-entry time {
  color: var(--ink-soft);
  font-size: 8px;
}

.consent-entry time {
  text-align: right;
}

.data-actions {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.data-actions button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 61px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.data-actions strong,
.data-actions small {
  display: block;
}

.data-actions strong {
  margin-bottom: 4px;
  font-size: 10px;
}

.data-actions small {
  color: var(--ink-soft);
  font-size: 8px;
}

.data-actions b {
  font-size: 16px;
}

.legal-smallprint {
  margin: 17px 2px 0;
  color: var(--ink-soft);
  font-size: 8px;
  line-height: 1.55;
}

.form-stack {
  display: grid;
  gap: 13px;
}

.account-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 9px;
  background: var(--cream);
}

.account-switch label {
  position: relative;
  cursor: pointer;
}

.account-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-switch span {
  display: grid;
  place-items: center;
  min-height: 39px;
  border-radius: 7px;
  color: var(--ink-soft);
  font-size: 9px;
}

.account-switch input:checked + span {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(60, 60, 59, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.form-stack label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-stack label > small {
  font-weight: 400;
}

.form-stack input:not([type="checkbox"]),
.form-stack select,
.manual-id input,
.pin-form input {
  width: 100%;
  height: 48px;
  margin-top: 6px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-stack input:focus,
.form-stack select:focus,
.manual-id input:focus,
.pin-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(181, 159, 93, 0.16);
}

.check-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 8px;
  letter-spacing: 0 !important;
  line-height: 1.4;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--olive);
}

.check-row a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  background: var(--ink);
  color: var(--cream);
}

.secondary-button {
  background: transparent;
  color: var(--ink);
}

.news-sheet {
  padding: 0 0 calc(24px + var(--safe-bottom));
}

.news-sheet > img {
  width: 100%;
  height: min(43dvh, 420px);
  object-fit: cover;
}

.news-sheet-copy {
  padding: 24px 20px 0;
}

.news-sheet-copy h2 {
  margin-bottom: 14px;
}

.news-sheet-copy > p:last-of-type {
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.news-sheet-copy .primary-button {
  width: 100%;
}

.game-sheet {
  overflow: hidden;
  padding-top: 35px;
  background: var(--ink);
  color: var(--cream);
}

.game-intro {
  text-align: center;
}

.game-intro .eyebrow {
  color: rgba(243, 240, 221, 0.58);
}

.game-intro h2 {
  margin-bottom: 12px;
}

.game-intro > p:last-child {
  margin: 0 auto;
  max-width: 250px;
  color: rgba(243, 240, 221, 0.65);
  font-size: 10px;
  line-height: 1.5;
}

.pick-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0 5px;
  perspective: 900px;
}

.pick-cards button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 0.69;
  padding: 13px 8px;
  border: 1px solid rgba(243, 240, 221, 0.3);
  border-radius: 9px;
  background: var(--olive);
  color: var(--cream);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 220ms ease, opacity 220ms ease;
}

.pick-cards button:nth-child(2) {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-7px);
}

.pick-cards button:nth-child(3) {
  background: var(--cream);
  color: var(--ink);
}

.pick-cards button::before {
  position: absolute;
  inset: 6px;
  border: 1px solid currentColor;
  border-radius: 5px;
  opacity: 0.36;
  content: "";
}

.pick-cards button span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-top: 22px;
  border: 1px solid currentColor;
  font-family: "Nyse", serif;
  font-size: 13px;
}

.pick-cards button small {
  font-size: 8px;
  letter-spacing: 0.1em;
}

.pick-cards.is-picked button:not(.is-picked) {
  opacity: 0.35;
  transform: scale(0.92);
}

.pick-cards.is-picked button.is-picked {
  transform: translateY(-12px) rotateY(180deg);
}

.game-result {
  min-height: 80px;
  padding-top: 18px;
  text-align: center;
}

.game-result strong,
.game-result span {
  display: block;
}

.game-result strong {
  margin-bottom: 7px;
  font-family: "Nyse", Georgia, serif;
  font-size: 21px;
}

.game-result span {
  color: rgba(243, 240, 221, 0.65);
  font-size: 9px;
}

.quiz-progress {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.quiz-progress span {
  height: 3px;
  flex: 1;
  border-radius: 100px;
  background: var(--line);
}

.quiz-progress span.is-active {
  background: var(--gold);
}

.quiz-question h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.quiz-options {
  display: grid;
  gap: 8px;
}

.quiz-options button {
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  text-align: left;
  cursor: pointer;
}

.quiz-result {
  padding: 24px;
  border-radius: 13px;
  background: var(--cream);
  text-align: center;
}

.quiz-result .result-monogram {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Nyse", serif;
  font-size: 22px;
}

.quiz-result h3 {
  margin-bottom: 10px;
  font-size: 29px;
}

.quiz-result p {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

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

.pin-form input {
  height: 62px;
  margin: 0;
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.4em;
}

.team-heading {
  margin-bottom: 16px;
}

.team-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-bottom: 14px;
  padding: 3px;
  border-radius: 9px;
  background: var(--cream);
}

.team-tabs button {
  min-height: 39px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.team-tabs button.is-active {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(60, 60, 59, 0.08);
  color: var(--ink);
}

.team-panel {
  display: none;
}

.team-panel.is-active {
  display: grid;
  gap: 12px;
}

.team-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.team-card h3 {
  margin-bottom: 17px;
  font-size: 22px;
}

.scan-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.manual-id {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  margin-top: 19px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.manual-id span {
  grid-column: 1 / -1;
  margin: -26px auto 0;
  padding: 0 7px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 8px;
  text-transform: uppercase;
}

.manual-id input {
  height: 43px;
  margin: 0;
  font-size: 11px;
}

.manual-id button {
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
  color: var(--cream);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

#scanVideo {
  width: 100%;
  margin-top: 13px;
  border-radius: 8px;
  background: #111;
}

.scan-result {
  margin-top: 13px;
  padding: 13px;
  border-radius: 8px;
  background: var(--cream);
}

.scan-result strong,
.scan-result span {
  display: block;
}

.scan-result strong {
  margin-bottom: 4px;
  font-size: 11px;
}

.scan-result span {
  color: var(--ink-soft);
  font-size: 9px;
}

.compact-form {
  gap: 11px;
}

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

.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-radius: 8px;
  background: var(--cream);
  font-size: 10px;
}

.checkout-summary strong {
  font-size: 17px;
}

.admin-discount-list {
  display: grid;
  gap: 8px;
}

.admin-discount {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: var(--cream);
}

.admin-discount strong,
.admin-discount span {
  display: block;
}

.admin-discount strong {
  margin-bottom: 3px;
  font-size: 10px;
}

.admin-discount span {
  color: var(--ink-soft);
  font-size: 8px;
}

.admin-discount button {
  align-self: center;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  font-size: 8px;
  cursor: pointer;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: calc(88px + var(--safe-bottom));
  left: 18px;
  z-index: 200;
  max-width: 420px;
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  color: var(--cream);
  font-size: 10px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

/* Kleine Beschriftungen bewusst nicht unter 9 px, damit die Markenfonts sauber bleiben. */
.business-strip-mark small,
.business-entry-mark small,
.business-strip > span:nth-child(2) small,
.business-entry > span:nth-child(2) small,
.news-overlay span,
.whatsapp-card small {
  font-size: 9px;
}

.play-tile small,
.menu-list small,
.privacy-setting small,
.session-card small {
  font-size: 10px;
}

@media (min-width: 860px) {
  body {
    display: grid;
    grid-template-columns: minmax(300px, 560px) 440px;
    align-items: center;
    justify-content: center;
    gap: clamp(45px, 8vw, 120px);
    min-height: 100vh;
    padding: 35px;
  }

  .desktop-note {
    display: block;
    max-width: 510px;
  }

  .desktop-note h1 {
    margin: 0 0 24px;
    font-size: clamp(50px, 6vw, 86px);
    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .desktop-note > p:not(.eyebrow) {
    max-width: 420px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
  }

  .desktop-address {
    display: inline-block;
    margin-top: 35px;
    padding-top: 10px;
    border-top: 1px solid var(--ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .app-shell {
    width: 440px;
    min-height: auto;
    height: min(900px, calc(100vh - 70px));
    border: 8px solid #252623;
    border-radius: 38px;
    box-shadow: 0 40px 100px rgba(39, 40, 35, 0.28);
  }

  .app-statusbar {
    height: 27px;
    padding-top: 0;
  }

  .app-main {
    height: calc(100% - 93px);
  }

  .sheet {
    max-height: 90vh;
    border-radius: 22px;
  }

  .modal {
    align-items: center;
  }
}

@media (max-width: 374px) {
  .view {
    padding-right: 14px;
    padding-left: 14px;
  }

  .news-grid {
    grid-template-columns: 1fr 0.9fr;
  }

  .store-card {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .horizontal-list {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
