@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #07100e;
  --bg-soft: #0b1714;
  --surface: rgba(255, 255, 255, .052);
  --surface-strong: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .1);
  --muted: #82918c;
  --text: #f2f8f5;
  --accent: #00e6ad;
  --accent-soft: rgba(0, 230, 173, .14);
  --silver: #c8d4d2;
  --gold: #eacb74;
  --purple: #b39cff;
  --orange: #ffad73;
  --radius-lg: 25px;
  --radius-md: 17px;
  --radius-sm: 12px;
  --shadow: 0 22px 70px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body.modal-open { overflow: hidden; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); color: var(--text); font-family: 'Manrope', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button { appearance: none; -webkit-appearance: none; border: 0; color: inherit; font: inherit; cursor: pointer; background: transparent; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.auth-screen { position: relative; display: flex; flex-direction: column; align-items: stretch; width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding: 54px 22px 32px; background: radial-gradient(circle at 50% 0%, rgba(0,230,173,.12), transparent 25rem), linear-gradient(180deg, #08120f 0%, #07100e 100%); }
.auth-mark { display: grid; place-items: center; margin-bottom: 33px; }
.auth-mark .brand-mark { width: 78px; height: 78px; }
.auth-mark .brand-logo { width: 78px; height: 78px; }
.auth-login-toggle { position: absolute; top: calc(18px + env(safe-area-inset-top)); right: 22px; min-width: 62px; min-height: 34px; padding: 8px 13px; border: 1px solid rgba(0,230,173,.35); border-radius: 10px; background: rgba(0,230,173,.1); color: var(--accent); font-size: 10px; font-weight: 800; transition: .2s ease; }
.auth-login-toggle:hover, .auth-login-toggle:focus-visible { border-color: var(--accent); background: rgba(0,230,173,.18); color: #fff; outline: none; }
.auth-screen > .eyebrow { color: var(--accent); }
.auth-screen h1 { max-width: 340px; margin-top: 8px; font-size: 32px; }
.auth-screen > p { margin-top: 10px; max-width: 330px; }
.auth-login { margin-top: 19px; }
.recovery-toggle { align-self: center; margin-top: 14px; color: var(--muted); font-size: 9px; font-weight: 700; }
.auth-code-field { display: flex; flex-direction: column; gap: 6px; margin-top: 19px; }
.auth-code-field > span { color: #c5d3cd; font-size: 9px; font-weight: 700; }
.auth-code-field input { width: 100%; height: 43px; padding: 0 12px; border: 1px solid rgba(255,255,255,.11); border-radius: 11px; outline: none; background: rgba(255,255,255,.055); color: var(--text); font: inherit; font-size: 11px; letter-spacing: .04em; }
.auth-code-field input:focus { border-color: rgba(0,230,173,.55); box-shadow: 0 0 0 3px rgba(0,230,173,.09); }
.forgot-access { margin-top: 17px; padding: 15px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); }
.forgot-access h2 { font-size: 17px; }
.forgot-access > p { margin-top: 7px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.forgot-access .auth-code-field { margin-top: 10px; }
.forgot-access .primary-button { margin-top: 13px; }
.auth-screen .primary-button { margin-top: 15px; }
.auth-error { min-height: 17px; margin-top: 10px; color: #ff9a9a; font-size: 9px; }
.auth-success { min-height: 17px; margin-top: 10px; color: var(--accent); font-size: 9px; }
.referral-registration { margin-top: 24px; padding: 17px; border: 1px solid rgba(0,230,173,.24); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(0,230,173,.1), rgba(255,255,255,.035)); }
.auth-screen:has(#referral-registration:not([hidden])) #auth-login,
.auth-screen:has(#referral-registration:not([hidden])) .recovery-toggle,
.auth-screen:has(#referral-registration:not([hidden])) #forgot-access { display: none !important; }
.referral-registration h2 { margin-top: 6px; }
.referral-registration > p { margin-top: 7px; }
.referral-source { color: var(--accent); font-size: 9px; font-weight: 700; }
.referral-registration form { margin-top: 13px; }
.referral-registration .auth-code-field { margin-top: 10px; }
.auth-registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.auth-registration-grid .auth-code-field { min-width: 0; }
.referral-registration .primary-button { margin-top: 15px; }

.app-shell { position: relative; width: min(100%, 520px); min-height: 100vh; margin: 0 auto; overflow: hidden; background: radial-gradient(circle at 90% 0%, rgba(0, 230, 173, .08), transparent 29rem), linear-gradient(180deg, #08120f 0%, #07100e 60%, #08120f 100%); }
.app-shell.partner-mode .bottom-nav, .app-shell.admin-mode .bottom-nav { display: none; }
.ambient { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); opacity: .7; }
.ambient-one { width: 240px; height: 240px; top: 110px; right: -150px; background: rgba(0, 230, 173, .08); }
.ambient-two { width: 180px; height: 180px; top: 520px; left: -150px; background: rgba(137, 99, 255, .07); }
.topbar, .main-content, .bottom-nav { position: relative; z-index: 1; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: calc(76px + env(safe-area-inset-top)); padding: calc(18px + env(safe-area-inset-top)) 22px 12px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 0; background: transparent; text-align: left; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; background: transparent; }
.brand-logo { display: block; width: 35px; height: 35px; object-fit: contain; }
.brand strong { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }
.icon-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: rgba(255,255,255,.04); color: var(--text); transition: .2s ease; touch-action: manipulation; }
.icon-button:hover { border-color: rgba(0,230,173,.45); background: var(--accent-soft); transform: translateY(-1px); }
.icon-button.subtle { color: var(--muted); background: rgba(255,255,255,.025); }
.notification-button { position: relative; }
.notification-button i { position: absolute; top: 5px; right: 4px; display: grid; min-width: 15px; height: 15px; padding: 0 3px; place-items: center; border: 2px solid var(--bg); border-radius: 999px; background: var(--accent); color: #06201a; font-size: 7px; font-style: normal; font-weight: 800; line-height: 1; box-shadow: 0 0 8px rgba(0,230,173,.6); }
.main-content { padding: 14px 20px 120px; }
.view { display: none; animation: view-in .35s ease both; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow, .modal-kicker { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.accent-eyebrow { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 6px; font-size: clamp(27px, 7vw, 34px); letter-spacing: -.06em; line-height: 1.04; }
h1 span { color: var(--accent); font-size: .65em; vertical-align: top; }
h2 { margin-top: 5px; font-size: 17px; letter-spacing: -.035em; }
h3 { font-size: 15px; letter-spacing: -.035em; }
p { color: var(--muted); font-size: 11px; line-height: 1.55; }
.welcome-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 6px 0 24px; }
.welcome-row p { margin-top: 7px; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border: 2px solid rgba(255,255,255,.16); border-radius: 50%; font-size: 10px; font-weight: 800; }
.avatar-large { width: 42px; height: 42px; border-color: rgba(0, 230, 173, .45); background: rgba(0,230,173,.13); color: var(--accent); font-size: 14px; }
.avatar-profile { width: 64px; height: 64px; border: 1px solid rgba(0,230,173,.65); background: linear-gradient(145deg, rgba(0,230,173,.3), rgba(0,230,173,.07)); color: var(--accent); font-size: 22px; box-shadow: 0 0 30px rgba(0,230,173,.13); }
.avatar-pink { background: #64394f; color: #ffb0d0; }
.avatar-blue { background: #264b62; color: #9cd9ff; }
.avatar-orange { background: #60452b; color: #ffc98a; }
.avatar-green { background: #275047; color: #92f6db; }
.avatar-violet { background: #4b3f68; color: #cebfff; }
.avatar-light { background: #d5e3dc; color: #234238; }
.avatar-more { background: #24332f; color: var(--muted); }

.balance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 13px; }
.balance-card { width: 100%; min-width: 0; padding: 14px 13px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; color: inherit; font: inherit; text-align: left; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.balance-card:hover { border-color: rgba(0,230,173,.32); transform: translateY(-1px); }
.balance-gold:hover { border-color: rgba(234,203,116,.42); }
.balance-silver { background: linear-gradient(142deg, rgba(184,202,198,.18), rgba(111,130,127,.045)); }
.balance-gold { background: linear-gradient(142deg, rgba(231,198,104,.2), rgba(149,112,35,.055)); border-color: rgba(234,203,116,.18); }
.card-topline, .event-meta, .event-footer, .section-head, .compact-head, .table-card-top, .event-card-meta, .booking-details, .prepay-row { display: flex; align-items: center; }
.card-topline { gap: 7px; }
.balance-icon { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 7px; color: var(--silver); font-family: 'DM Mono', monospace; font-size: 11px; }
.balance-gold .balance-icon { color: var(--gold); }
.balance-label { overflow: hidden; color: #c7d3cf; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.balance-value { display: block; margin-top: 15px; font-family: 'DM Mono', monospace; font-size: 22px; letter-spacing: -.1em; }
.balance-value small { font-size: 12px; letter-spacing: -.05em; }
.balance-actions { display: grid; gap: 6px; margin-top: 12px; }
.bonus-card-action { width: 100%; min-height: 30px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(0,0,0,.12); color: #c6d2ce; font: inherit; font-size: 8px; font-weight: 750; line-height: 1.2; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease; }
.bonus-history-button { border-color: rgba(0,230,173,.24); background: rgba(0,230,173,.08); color: var(--accent); }
.balance-gold .bonus-history-button { border-color: rgba(234,203,116,.3); background: rgba(234,203,116,.09); color: var(--gold); }
.bonus-card-action:hover, .bonus-card-action:focus-visible { border-color: currentColor; background: rgba(255,255,255,.08); color: #fff; outline: none; transform: translateY(-1px); }
.bonus-card-action:focus-visible { box-shadow: 0 0 0 2px rgba(0,230,173,.2); }
.push-connect-card { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; padding: 12px; border: 1px solid rgba(0,230,173,.28); border-radius: var(--radius-md); background: linear-gradient(110deg, rgba(0,230,173,.13), rgba(255,255,255,.035)); }
.push-connect-card[hidden] { display: none; }
.push-connect-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: #04110d; }
.push-connect-icon svg { width: 17px; height: 17px; }
.push-connect-card > div { min-width: 0; flex: 1; }
.push-connect-card strong, .push-connect-card p { display: block; }
.push-connect-card strong { font-size: 10px; }
.push-connect-card p { margin-top: 4px; font-size: 8px; line-height: 1.4; }
.push-connect-card button { flex: 0 0 auto; min-height: 32px; padding: 7px 10px; border: 1px solid rgba(0,230,173,.35); border-radius: 9px; background: rgba(0,230,173,.14); color: var(--accent); font: inherit; font-size: 8px; font-weight: 800; cursor: pointer; }
.push-connect-card button:hover, .push-connect-card button:focus-visible { border-color: var(--accent); background: rgba(0,230,173,.2); color: #fff; outline: none; }
.push-connect-card button:disabled { cursor: wait; opacity: .6; }
.push-admin-status { margin-bottom: 12px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.045); color: var(--muted); font-size: 9px; line-height: 1.45; }
.push-admin-status.is-ready { border-color: rgba(0,230,173,.35); background: rgba(0,230,173,.09); color: var(--text); }
.push-admin-status.is-warning { border-color: rgba(255,184,77,.35); background: rgba(255,184,77,.09); color: #ffd79a; }
.next-event-card { padding: 17px 16px 15px; border: 1px solid rgba(0,230,173,.2); border-radius: var(--radius-lg); background: linear-gradient(130deg, rgba(0,230,173,.13), rgba(255,255,255,.035) 72%); box-shadow: 0 10px 40px rgba(0,230,173,.06); }
.section-head { justify-content: space-between; gap: 12px; margin: 28px 0 12px; }
.compact-head { margin: 0; align-items: flex-start; }
.status-pill { padding: 5px 7px; border: 1px solid rgba(0,230,173,.32); border-radius: 999px; color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .09em; }
.event-meta { gap: 15px; margin-top: 15px; color: #b7c7c2; font-size: 9px; }
.event-meta span { display: inline-flex; align-items: center; gap: 5px; }
.event-meta svg { width: 13px; height: 13px; color: var(--accent); }
.progress-track { height: 4px; margin: 12px 0 11px; border-radius: 10px; background: rgba(255,255,255,.1); }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 10px rgba(0,230,173,.55); }
.event-footer { justify-content: space-between; gap: 10px; }
.location { color: var(--muted); font-size: 9px; }
.text-button, .link-button { display: inline-flex; align-items: center; gap: 5px; padding: 0; background: transparent; color: var(--accent); font-size: 10px; font-weight: 700; white-space: nowrap; }
.text-button svg, .link-button svg { width: 14px; height: 14px; }
.link-button { color: var(--muted); }
.opportunity-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.opportunity-card { position: relative; min-height: 116px; padding: 18px 48px 18px 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,.035); text-align: left; overflow: hidden; transition: .2s ease; }
.opportunity-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); }
.invite-opportunity { background: linear-gradient(140deg, rgba(0,230,173,.15), rgba(255,255,255,.025)); }
.partner-opportunity { background: linear-gradient(140deg, rgba(179,156,255,.16), rgba(255,255,255,.025)); }
.product-opportunity { background: linear-gradient(140deg, rgba(234,203,116,.15), rgba(255,255,255,.025)); }
.opportunity-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--accent); }
.partner-opportunity .opportunity-icon { color: var(--purple); }
.product-opportunity .opportunity-icon { color: var(--gold); }
.opportunity-icon svg { width: 21px; height: 21px; }
.opportunity-card strong, .opportunity-card small { display: block; }
.opportunity-card strong { font-size: 15px; line-height: 1.2; }
.opportunity-card small { margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.opportunity-card .opportunity-reward { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 800; }
.opportunity-card .opportunity-meta { font-size: 11px; }
.corner-arrow { position: absolute; right: 13px; bottom: 13px; width: 14px; height: 14px; color: var(--muted); }
.table-section-head { margin-top: 26px; }
.glass-card, .full-table-card, .referral-card, .settings-list, .info-banner, .empty-hint { border: 1px solid var(--border); background: rgba(255,255,255,.035); }
.table-preview { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: var(--radius-md); cursor: pointer; transition: .2s ease; }
.table-preview:hover { background: rgba(255,255,255,.06); }
.table-date { display: flex; align-items: center; gap: 6px; min-width: 52px; color: var(--accent); }
.table-date strong { font-family: 'DM Mono', monospace; font-size: 24px; letter-spacing: -.12em; }
.table-date span { color: var(--muted); font-size: 7px; line-height: 1.35; letter-spacing: .08em; }
.table-copy { min-width: 0; flex: 1; }
.table-copy strong, .table-copy span { display: block; }
.table-copy strong { font-size: 11px; }
.table-copy span { margin-top: 4px; color: var(--muted); font-size: 9px; }
.avatar-stack { display: flex; align-items: center; padding-left: 7px; }
.avatar-stack .avatar { margin-left: -7px; }
.chevron { width: 15px; height: 15px; color: #5b6c66; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 10px 0 22px; }
.page-heading h1 { font-size: 30px; }
.page-heading p { margin-top: 8px; }
.filter-row { display: flex; gap: 7px; margin: 0 -20px 19px; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,.035); color: var(--muted); font-size: 9px; }
.filter-chip.active { border-color: rgba(0,230,173,.35); background: var(--accent-soft); color: var(--accent); }
.event-card[hidden], .events-empty[hidden], [hidden] { display: none !important; }
.events-list { display: grid; gap: 10px; }
.event-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 132px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(9,19,16,.82); overflow: hidden; }
.event-card[data-action="open-booking"] { cursor: pointer; transition: .2s ease; }
.event-card[data-action="open-booking"]:hover { border-color: rgba(0,230,173,.32); background: rgba(0,230,173,.055); transform: translateY(-1px); }
.event-card[data-action="open-booking"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.featured-event { border-color: rgba(0,230,173,.22); background: linear-gradient(132deg, rgba(0,230,173,.12), rgba(255,255,255,.03)); }
.booked-event { border-color: rgba(0,230,173,.38); box-shadow: inset 0 0 0 1px rgba(0,230,173,.06); }
.event-date-block { display: flex; flex: 0 0 47px; flex-direction: column; align-items: center; justify-content: center; height: 76px; border-right: 1px solid var(--border); text-align: center; }
.event-date-block strong { font-family: 'DM Mono', monospace; font-size: 27px; letter-spacing: -.1em; }
.event-date-block span { color: var(--muted); font-size: 9px; }
.event-date-block i { margin-top: 7px; color: var(--accent); font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .12em; }
.event-card-main { min-width: 0; flex: 1; }
.event-type-line { display: flex; align-items: center; gap: 7px; }
.event-type { color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.booking-badge { padding: 3px 5px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.purple-type { color: var(--purple); }
.orange-type { color: var(--orange); }
.event-card h3 { margin-top: 7px; }
.event-card p { margin-top: 5px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.event-card-meta { gap: 7px; margin-top: 11px; color: #b7c7c2; font-family: 'DM Mono', monospace; font-size: 9px; }
.events-empty { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 13px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.events-empty strong { display: block; font-size: 10px; }
.events-empty p { margin-top: 4px; font-size: 9px; }
.info-banner, .empty-hint { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 13px; border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.banner-icon, .hint-icon { display: grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.banner-icon svg, .hint-icon svg { width: 15px; height: 15px; }
.info-banner strong, .empty-hint strong { display: block; font-size: 10px; }
.info-banner p, .empty-hint p { margin-top: 4px; font-size: 9px; }
.count-badge { margin-top: 7px; padding: 6px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 9px; font-weight: 700; white-space: nowrap; }
.table-list { display: grid; gap: 12px; }
.full-table-card { padding: 15px; border-radius: var(--radius-lg); }
.clickable-table-card, .club-table-admin-summary { cursor: pointer; transition: .2s ease; }
.clickable-table-card:hover, .clickable-table-card:focus-visible { border-color: rgba(0,230,173,.38); background: rgba(0,230,173,.055); outline: none; }
.club-table-admin-summary:hover strong, .club-table-admin-summary:focus-visible strong { color: var(--accent); }
.club-table-admin-summary:focus-visible { outline: 1px solid rgba(0,230,173,.65); outline-offset: 4px; border-radius: 7px; }
.table-card-top { align-items: flex-start; gap: 11px; }
.table-card-top > div:nth-child(2) { min-width: 0; flex: 1; }
.large-date { min-width: 57px; padding-top: 3px; border-right: 1px solid var(--border); }
.table-card-top h3 { margin-top: 5px; }
.table-card-top p { margin-top: 4px; font-size: 9px; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 8px; margin-top: 17px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.07); }
.person { display: flex; align-items: center; width: 100%; gap: 7px; padding: 0; border: 0; background: transparent; color: #d6e1dc; font-size: 9px; line-height: 1.35; text-align: left; cursor: pointer; transition: .2s ease; }
.person:hover { color: var(--accent); transform: translateY(-1px); }
.person small { color: var(--muted); font-size: 8px; }
.empty-hint { margin-top: 15px; }

.profile-hero, .admin-heading { display: flex; align-items: center; gap: 12px; margin: 10px 0 18px; }
.profile-hero > div, .admin-heading > div { flex: 1; min-width: 0; }
.profile-hero h1, .admin-heading h1 { font-size: 24px; }
.profile-hero p, .admin-heading p { margin-top: 5px; font-size: 9px; }
.profile-hero .icon-button { align-self: flex-start; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 13px; padding: 15px 5px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.035); }
.profile-stat-button { display: block; width: 100%; padding: 0 5px; border: 0; background: transparent; color: var(--text); text-align: center; cursor: pointer; transition: .2s ease; }
.profile-stat-button + .profile-stat-button { border-left: 1px solid var(--border); }
.profile-stat-button:hover { color: var(--accent); transform: translateY(-1px); }
.profile-stats strong, .profile-stats span { display: block; }
.profile-stats strong { font-family: 'DM Mono', monospace; font-size: 19px; }
.profile-stats span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.install-banner { display: flex; align-items: center; width: 100%; gap: 10px; padding: 12px; border: 1px solid rgba(0,230,173,.2); border-radius: var(--radius-md); background: linear-gradient(100deg, rgba(0,230,173,.13), rgba(255,255,255,.03)); text-align: left; }
.install-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 9px; background: var(--accent); color: #05120e; }
.install-icon svg { width: 15px; height: 15px; stroke-width: 2.2; }
.install-banner span:nth-child(2) { flex: 1; }
.install-banner strong, .install-banner small { display: block; }
.install-banner strong { font-size: 10px; }
.install-banner small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.profile-section { margin-top: 27px; }
.referral-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 14px; border-radius: var(--radius-md); background: linear-gradient(125deg, rgba(179,156,255,.13), rgba(255,255,255,.03)); }
.referral-card > div:first-child { min-width: 0; flex: 1; }
.referral-actions { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.referral-label, .referral-card strong, .referral-card p { display: block; }
.referral-label { color: var(--muted); font-size: 8px; }
.referral-card strong { margin-top: 3px; color: var(--purple); font-family: 'DM Mono', monospace; font-size: 14px; letter-spacing: .03em; }
.referral-card p { margin-top: 6px; font-size: 8px; }
.copy-code { padding: 8px 10px; border: 1px solid rgba(179,156,255,.3); border-radius: 9px; background: rgba(179,156,255,.1); color: #c4b5ff; font-size: 8px; font-weight: 700; }
.referral-open-button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 7px 10px; border: 1px solid rgba(0,230,173,.28); border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 8px; font-weight: 800; }
.referral-open-button svg { width: 12px; height: 12px; }
.invite-list { display: grid; gap: 8px; margin-top: 18px; }
.invite-list-row { display: flex; align-items: center; width: 100%; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: .2s ease; }
.invite-list-row:hover, .invite-list-row:focus-visible { border-color: rgba(0,230,173,.32); background: rgba(0,230,173,.06); }
.invite-list-avatar { flex: 0 0 auto; width: 34px; height: 34px; font-size: 12px; }
.invite-list-main { min-width: 0; flex: 1; }
.invite-list-main strong, .invite-list-main small, .invite-list-main span { display: block; }
.invite-list-main strong { font-size: 10px; }
.invite-list-main small, .invite-list-main span { margin-top: 3px; color: var(--muted); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-list-status { flex: 0 0 auto; max-width: 72px; color: var(--accent); font-size: 7px; font-weight: 800; line-height: 1.3; text-align: right; }
.selected-gifts-list { display: grid; gap: 8px; margin-top: 10px; }
.selected-gift-card { padding: 12px; border: 1px solid rgba(179,156,255,.24); border-radius: var(--radius-md); background: linear-gradient(125deg, rgba(179,156,255,.12), rgba(255,255,255,.03)); }
.selected-gift-top { display: flex; align-items: center; gap: 9px; }
.selected-gift-top .gift-card-icon { width: 30px; height: 30px; }
.selected-gift-top > div { min-width: 0; flex: 1; }
.selected-gift-top strong, .selected-gift-top small { display: block; }
.selected-gift-top strong { font-size: 10px; }
.selected-gift-top small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.gift-status { padding: 4px 6px; border-radius: 999px; background: rgba(0,230,173,.12); color: var(--accent); font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.gift-status-redeemed { background: rgba(234,203,116,.12); color: var(--gold); }
.selected-gift-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 11px; }
.selected-gift-amounts > div { padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(0,0,0,.1); }
.selected-gift-amounts span, .selected-gift-amounts strong { display: block; }
.selected-gift-amounts span { color: var(--muted); font-size: 7px; }
.selected-gift-amounts strong { margin-top: 4px; font-family: 'DM Mono', monospace; font-size: 9px; }
.selected-gift-amounts .remaining-amount { color: var(--gold); }
.selected-gift-contact, .gift-qr-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.selected-gift-contact span, .gift-qr-contact span { min-width: 0; }
.selected-gift-contact strong, .selected-gift-contact small, .gift-qr-contact strong, .gift-qr-contact small { display: block; }
.selected-gift-contact strong, .gift-qr-contact strong { font-size: 8px; }
.selected-gift-contact small, .gift-qr-contact small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.selected-gift-contact a, .gift-qr-contact a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 8px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.selected-gift-contact svg, .gift-qr-contact svg { width: 12px; height: 12px; }
.gift-qr-button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 8px 9px; border: 1px solid rgba(0,230,173,.25); border-radius: 9px; background: rgba(0,230,173,.08); color: var(--accent); font-size: 8px; font-weight: 800; text-align: center; }
.gift-qr-button svg { width: 13px; height: 13px; }
.gift-qr-button:disabled { cursor: default; opacity: .5; }
.selected-gift-card-redeemed, .selected-gift-card.gift-status-redeemed { border-color: rgba(234,203,116,.28); background: linear-gradient(125deg, rgba(234,203,116,.12), rgba(255,255,255,.03)); }
.selected-gift-card-redeemed { cursor: pointer; transition: .2s ease; }
.selected-gift-card-redeemed:hover { border-color: rgba(234,203,116,.48); background: linear-gradient(125deg, rgba(234,203,116,.17), rgba(255,255,255,.04)); }
.selected-gift-card.gift-status-used { border-color: rgba(0,230,173,.35); background: linear-gradient(125deg, rgba(0,230,173,.12), rgba(255,255,255,.03)); }
.gift-status-used { background: rgba(0,230,173,.13); color: var(--accent); }
.gift-action-row { display: flex; gap: 7px; margin-top: 10px; }
.gift-action-row .gift-details-button:first-child { flex: 1; }
.gift-action-row .gift-details-button:last-child { width: 36px; padding-right: 0; padding-left: 0; }
.gift-tracking-grid strong { font-size: 8px; line-height: 1.3; }
.gift-details-button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; padding: 8px 9px; border: 1px solid rgba(234,203,116,.3); border-radius: 9px; background: rgba(234,203,116,.09); color: var(--gold); font-size: 8px; font-weight: 800; text-align: center; }
.gift-details-button svg { width: 13px; height: 13px; }
.selected-gifts-empty { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.025); }
.selected-gifts-empty strong, .selected-gifts-empty p { display: block; }
.selected-gifts-empty strong { font-size: 9px; }
.selected-gifts-empty p { margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.gift-qr-sheet { padding-bottom: max(22px, calc(22px + env(safe-area-inset-bottom))); }
.settings-list { margin-top: 10px; border-radius: var(--radius-md); overflow: hidden; }
.setting-row { display: flex; align-items: center; width: 100%; gap: 10px; padding: 13px 12px; background: transparent; text-align: left; }
.setting-row + .setting-row { border-top: 1px solid rgba(255,255,255,.07); }
.setting-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.07); color: var(--accent); }
.setting-icon svg { width: 15px; height: 15px; }
.setting-row > span:nth-child(2) { flex: 1; }
.setting-row strong, .setting-row small { display: block; }
.setting-row strong { font-size: 10px; }
.setting-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.toggle { position: relative; width: 32px; height: 19px; border-radius: 999px; background: #26342f; }
.toggle i { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: #83948d; transition: .2s; }
.toggle.on { background: rgba(0,230,173,.3); }
.toggle.on i { left: 16px; background: var(--accent); }
.admin-switch, .back-to-member { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; margin-top: 27px; padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 9px; }
.logout-button { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 12px; padding: 10px; border: 1px solid rgba(255,116,116,.18); border-radius: 11px; background: rgba(255,116,116,.06); color: #ffadad; font-size: 9px; }
.account-menu { position: fixed; inset: 0; z-index: 30; opacity: 0; transition: opacity .18s ease; }
.account-menu.open { opacity: 1; }
.account-menu-backdrop { position: absolute; inset: 0; background: transparent; }
.account-menu-panel { position: absolute; top: 72px; right: max(16px, calc((100vw - 520px) / 2 + 16px)); width: min(260px, calc(100vw - 32px)); padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(13, 27, 23, .98); box-shadow: 0 18px 42px rgba(0,0,0,.34); transform: translateY(-8px) scale(.98); transition: transform .18s ease; }
.account-menu.open .account-menu-panel { transform: translateY(0) scale(1); }
.account-menu-heading { position: relative; display: flex; align-items: center; gap: 10px; padding: 3px 38px 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
.account-menu-identity { display: grid; gap: 3px; min-width: 0; }
.account-menu-heading strong { overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.account-menu-heading small { color: var(--muted); font-size: 9px; }
.account-menu-avatar { flex: 0 0 34px; width: 34px; height: 34px; font-size: 12px; }
.account-menu-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.07); color: var(--muted); }
.account-menu-close:hover, .account-menu-close:focus-visible { background: rgba(255,255,255,.12); color: var(--text); }
.account-menu-close svg { width: 14px; height: 14px; }
.account-menu-item { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 11px 9px; border-radius: 11px; color: var(--text); text-align: left; font-size: 10px; }
.account-menu-item:hover, .account-menu-item:focus-visible { background: rgba(255,255,255,.06); }
.account-menu-item svg { width: 16px; height: 16px; color: var(--accent); }
.account-menu-item.account-menu-danger { color: #ffadad; }
.account-menu-item.account-menu-danger svg { color: #ff8d8d; }
.notification-sheet { max-width: 430px; }
.notification-list { display: grid; gap: 9px; margin-top: 18px; }
.notification-card { display: flex; gap: 11px; width: 100%; padding: 13px; border: 1px solid var(--border); border-radius: 15px; background: rgba(255,255,255,.035); text-align: left; }
.notification-card-new { border-color: rgba(0,230,173,.3); background: linear-gradient(135deg, rgba(0,230,173,.1), rgba(255,255,255,.035)); }
.notification-card-read { opacity: .72; }
.notification-card-icon { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.notification-card-icon svg { width: 16px; height: 16px; }
.notification-card-copy { display: grid; min-width: 0; flex: 1; }
.notification-card-topline { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; color: var(--accent); font-size: 8px; letter-spacing: .08em; }
.notification-card-topline time { color: var(--muted); font-size: 8px; letter-spacing: 0; white-space: nowrap; }
.notification-card strong { display: block; color: var(--text); font-size: 11px; }
.notification-card-message { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.notification-unread-label { margin-top: 8px; color: var(--accent); font-size: 7px; font-style: normal; letter-spacing: .08em; }
.notification-detail-sheet { max-width: 430px; }
.notification-detail-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.notification-detail-icon svg { width: 21px; height: 21px; }
.notification-detail-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notification-detail-meta time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.notification-detail-message { margin-top: 14px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.notification-detail-message p { margin: 0; }
.notification-detail-message p + p { margin-top: 14px; }
.notification-detail-actions { display: grid; gap: 10px; margin-top: 24px; }
.notification-detail-actions .text-button { justify-self: center; }
.bonus-scan-button { margin-top: 8px; }
.admin-bonus-camera { display: grid; gap: 8px; margin-top: 10px; padding: 9px; border: 1px solid rgba(0,230,173,.25); border-radius: 15px; background: rgba(0,230,173,.06); }
.admin-bonus-camera .qr-camera-frame { min-height: 190px; }
.admin-bonus-camera .text-button { justify-self: start; padding: 0; font-size: 9px; }
.partner-scan-card { display: grid; gap: 12px; padding: 15px; border: 1px solid rgba(0,230,173,.25); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(0,230,173,.13), rgba(255,255,255,.035)); }
.partner-scan-card > .setting-icon { width: 34px; height: 34px; }
.partner-scan-card h2 { margin-top: 0; }
.partner-scan-card .auth-code-field { margin-top: 5px; }
.partner-scan-card .primary-button { margin-top: 0; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 0; padding: 11px 15px; border: 1px solid rgba(0,230,173,.3); border-radius: 12px; background: rgba(0,230,173,.08); color: var(--accent); font-size: 10px; font-weight: 800; transition: .2s ease; }
.secondary-button:hover { border-color: rgba(0,230,173,.55); background: rgba(0,230,173,.14); transform: translateY(-1px); }
.secondary-button svg { width: 15px; height: 15px; }
.partner-redemptions-list { display: grid; gap: 7px; }
.partner-redemption-row { display: flex; align-items: center; width: 100%; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: .2s ease; }
.partner-redemption-row:hover { border-color: rgba(0,230,173,.32); background: rgba(0,230,173,.06); }
.partner-redemption-row > div { min-width: 0; flex: 1; }
.partner-redemption-row strong, .partner-redemption-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.partner-redemption-row strong { font-family: 'DM Mono', monospace; font-size: 8px; }
.partner-redemption-row small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.partner-redemption-row > span { flex: 0 0 auto; font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.partner-redemption-row .chevron { flex: 0 0 auto; width: 13px; height: 13px; color: var(--muted); }
.redeemed-status { color: var(--accent); }
.pending-status { color: var(--gold); }
.admin-switch svg:last-child { width: 13px; }
.admin-switch svg:first-child { width: 15px; color: var(--accent); }
.back-to-member { margin-top: 25px; color: var(--muted); }

.admin-view .eyebrow { color: var(--accent); }
.admin-tabs { display: flex; gap: 7px; margin: 0 0 18px; padding: 4px; overflow-x: auto; border: 1px solid var(--border); border-radius: 13px; background: rgba(255,255,255,.025); scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; flex: 1 0 auto; padding: 8px 11px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 9px; font-weight: 800; white-space: nowrap; transition: .2s ease; }
.admin-tab:hover, .admin-tab:focus-visible { color: var(--text); background: rgba(255,255,255,.05); outline: none; }
.admin-tab.is-active { background: var(--accent); color: #03100c; box-shadow: 0 5px 16px rgba(0,230,173,.18); }
.admin-tab span { display: grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: rgba(3,16,12,.16); font: 800 7px/1 'DM Mono', monospace; }
.admin-tab-panel[hidden] { display: none; }
.admin-tab-intro { margin: -8px 0 16px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.admin-club-members-list { display: grid; gap: 8px; }
.admin-club-member { display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(0,230,173,.22); border-radius: 13px; background: linear-gradient(115deg, rgba(0,230,173,.08), rgba(255,255,255,.03)); }
.admin-club-member > div { min-width: 0; }
.admin-club-member strong, .admin-club-member small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-club-member strong { font-size: 10px; }
.admin-club-member small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.admin-club-member .secondary-button { width: auto; min-height: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.admin-club-member-actions { display: flex; align-items: center; gap: 5px; }
.admin-club-member-delete { display: grid; place-items: center; width: 29px; min-width: 29px; height: 29px; padding: 0; border: 1px solid rgba(255, 112, 112, .34); border-radius: 9px; background: rgba(255, 93, 93, .08); color: #ff9b9b; cursor: pointer; }
.admin-club-member-delete svg { width: 13px; height: 13px; }
.admin-club-member-delete:hover, .admin-club-member-delete:focus-visible { border-color: rgba(255, 112, 112, .82); background: rgba(255, 93, 93, .18); color: #ffd0d0; outline: none; }
.admin-club-member-code { color: var(--accent); font: 800 8px/1.25 'DM Mono', monospace; }
.admin-club-member-empty { padding: 16px; border: 1px dashed rgba(255,255,255,.16); border-radius: 13px; color: var(--muted); font-size: 9px; line-height: 1.5; text-align: center; }
.admin-bonus-balance-row { grid-template-columns: 31px minmax(0, 1fr) auto; }
.admin-bonus-balance-button { width: 100%; color: inherit; cursor: pointer; }
.admin-bonus-balance-button:hover, .admin-bonus-balance-button:focus-visible { border-color: rgba(0,230,173,.68); outline: none; }
.admin-bonus-currencies { display: grid; gap: 4px; text-align: right; }
.admin-bonus-currencies span { color: var(--muted); font-size: 7px; white-space: nowrap; }
.admin-bonus-currencies span strong { display: inline; margin-left: 3px; color: var(--accent); font: 800 9px 'DM Mono', monospace; }
.admin-bonus-currencies span:last-child strong { color: var(--gold); }
.admin-crm-tab-summary { display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 7px 10px; margin: 0 0 14px; padding: 14px; border: 1px solid rgba(0,230,173,.2); border-radius: 13px; background: linear-gradient(115deg, rgba(0,230,173,.09), rgba(255,255,255,.03)); }
.admin-crm-tab-summary strong { color: var(--accent); font: 800 20px/1 'DM Mono', monospace; }
.admin-crm-tab-summary span { color: var(--muted); font-size: 8px; line-height: 1.3; }
.offer-builder-form { margin-top: 0; }
.offer-builder-result { margin-top: 16px; padding: 12px; border: 1px solid rgba(0,230,173,.24); border-radius: var(--radius-md); background: rgba(0,230,173,.045); }
.offer-builder-result .crm-workspace-heading { margin: 0 0 10px; }
.offer-builder-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.offer-builder-result .secondary-button { width: auto; min-height: 0; padding: 7px 9px; font-size: 8px; }
.offer-html-report { display: block; width: 100%; min-height: 530px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #fff; }
.admin-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 27px; }
.admin-metrics-single { grid-template-columns: 1fr; }
.admin-metric { display: flex; flex-direction: column; min-width: 0; min-height: 126px; padding: 12px 9px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.035); color: var(--text); text-align: left; cursor: pointer; transition: .2s ease; }
.admin-metric:hover { border-color: rgba(0,230,173,.4); background: rgba(0,230,173,.08); transform: translateY(-2px); }
.admin-metric > .admin-metric-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); }
.admin-metrics svg { width: 13px; height: 13px; }
.admin-metrics strong, .admin-metrics small, .admin-metric-value { display: block; }
.admin-metrics strong { margin-top: 12px; color: var(--text); font-size: 12px; font-weight: 800; line-height: 1.2; }
.admin-metric-value { margin-top: 9px; color: var(--accent); font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 700; letter-spacing: -.05em; }
.admin-metrics small { margin-top: 4px; color: #c7d3cf; font-size: 8px; line-height: 1.3; }
.admin-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.admin-actions button { position: relative; min-height: 108px; padding: 13px 11px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.035); text-align: left; }
.admin-actions button:hover { border-color: rgba(0,230,173,.32); transform: translateY(-1px); }
.admin-actions button > span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 12px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.admin-actions button:nth-child(3) > span { background: rgba(179,156,255,.13); color: var(--purple); }
.admin-actions button:nth-child(4) > span { background: rgba(255,173,115,.13); color: var(--orange); }
.admin-actions strong, .admin-actions small { display: block; }
.admin-actions strong { font-size: 12px; font-weight: 800; line-height: 1.2; }
.admin-actions small { max-width: 100%; margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.admin-participants-entry { display: flex; align-items: center; gap: 10px; width: 100%; margin: 10px 0 8px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.035); color: var(--text); text-align: left; }
.admin-participants-entry > span:nth-child(2) { min-width: 0; flex: 1; }
.admin-participants-entry strong, .admin-participants-entry small { display: block; }
.admin-participants-entry strong { font-size: 10px; }
.admin-participants-entry small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.admin-participants-entry:hover { border-color: rgba(0,230,173,.4); background: rgba(0,230,173,.08); }
.admin-participants-entry .setting-icon { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.admin-participants-entry .setting-icon svg { width: 15px; height: 15px; }
.admin-participants-entry .chevron { width: 14px; height: 14px; color: var(--muted); }
.admin-crm-entry { display: flex; align-items: center; gap: 10px; width: 100%; margin: 8px 0; padding: 11px 12px; border: 1px solid rgba(0,230,173,.24); border-radius: var(--radius-md); background: linear-gradient(100deg, rgba(0,230,173,.09), rgba(255,255,255,.035)); color: var(--text); text-align: left; }
.admin-crm-entry > span:nth-child(2) { min-width: 0; flex: 1; }
.admin-crm-entry strong, .admin-crm-entry small { display: block; }
.admin-crm-entry strong { font-size: 10px; }
.admin-crm-entry small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.admin-crm-entry:hover { border-color: rgba(0,230,173,.52); background: rgba(0,230,173,.11); }
.admin-crm-entry .setting-icon { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); }
.admin-crm-entry .setting-icon svg, .admin-crm-entry .chevron { width: 15px; height: 15px; }
.admin-crm-entry .chevron { flex: 0 0 auto; color: var(--muted); }
.crm-entry-badge { display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #03100c; font: 800 8px/1 'DM Mono', monospace; }
.crm-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 17px 0 12px; }
.crm-summary-item { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 56px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); color: var(--text); text-align: left; }
.crm-summary-button { cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.crm-summary-button:hover, .crm-summary-button:focus-visible, .crm-summary-button.active { border-color: rgba(0,230,173,.42); background: rgba(0,230,173,.08); outline: none; transform: translateY(-1px); }
.crm-summary-item strong, .crm-summary-item small { display: block; }
.crm-summary-item strong { color: var(--accent); font: 800 23px/1 'DM Mono', monospace; }
.crm-summary-item small { color: var(--text); font-size: 9px; font-weight: 800; line-height: 1.18; }
.crm-standalone-section { margin: 14px 0 16px; padding: 12px; border: 1px solid rgba(0,230,173,.16); border-radius: 13px; background: linear-gradient(135deg, rgba(0,230,173,.065), rgba(255,255,255,.025)); }
.crm-standalone-section .crm-workspace-heading { align-items: flex-start; }
.crm-standalone-section .crm-workspace-heading > div { min-width: 0; }
.crm-standalone-section .crm-workspace-heading p { margin: 4px 0 0; color: var(--muted); font-size: 8px; line-height: 1.35; }
.crm-standalone-add { width: auto; min-height: 31px; margin: 0; padding: 7px 9px; font-size: 8px; white-space: nowrap; }
.crm-standalone-filters { margin: 11px 0 0; }
.crm-standalone-task.is-overdue { border-color: rgba(255,138,138,.35); }
.crm-standalone-task.is-high-priority { border-color: rgba(255,190,92,.38); background: rgba(255,190,92,.06); }
.crm-standalone-task.is-high-priority strong { color: #ffd083; }
.crm-standalone-list-item .crm-lead-avatar { background: rgba(255,190,92,.13); color: #ffd083; }
.crm-standalone-stage { background: rgba(255,190,92,.12); color: #ffd083; }
.crm-standalone-side { display: flex; align-items: center; gap: 5px; }
.crm-standalone-delete { display: grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid rgba(255,138,138,.28); border-radius: 50%; background: rgba(255,138,138,.08); color: #ff9a9a; }
.crm-standalone-delete:hover, .crm-standalone-delete:focus-visible { border-color: rgba(255,138,138,.7); background: rgba(255,138,138,.17); outline: none; }
.crm-standalone-delete svg { width: 12px; height: 12px; }
.crm-toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-bottom: 9px; }
.crm-toolbar input { min-width: 0; height: 37px; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; outline: none; background: rgba(255,255,255,.055); color: var(--text); font: inherit; font-size: 9px; }
.crm-toolbar input:focus { border-color: rgba(0,230,173,.55); box-shadow: 0 0 0 3px rgba(0,230,173,.09); }
.crm-toolbar .primary-button { min-height: 37px; margin: 0; padding: 0 11px; font-size: 8px; white-space: nowrap; }
.crm-toolbar .crm-add-button { width: 37px; padding: 0; font-size: 17px; line-height: 1; }
.crm-toolbar .crm-add-task-button { min-height: 37px; margin: 0; padding: 0 10px; font-size: 8px; white-space: nowrap; }
.crm-filters { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
.crm-filters::-webkit-scrollbar { display: none; }
.crm-filter { flex: 0 0 auto; padding: 7px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 8px; }
.crm-filter.active, .crm-filter:hover { border-color: rgba(0,230,173,.36); background: rgba(0,230,173,.09); color: var(--accent); }
.crm-stage-filter { cursor: grab; }
.crm-stage-filter.is-dragging { opacity: .45; }
.crm-stage-filter.is-drop-target { border-color: rgba(0,230,173,.65); box-shadow: 0 0 0 2px rgba(0,230,173,.14); }
.crm-list { display: grid; gap: 7px; }
.crm-lead { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; background: rgba(255,255,255,.035); }
.crm-lead-button { width: 100%; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.crm-lead-button:hover, .crm-lead-button:focus-visible { border-color: rgba(0,230,173,.42); background: rgba(0,230,173,.065); outline: none; transform: translateY(-1px); }
.crm-lead.has-crm-focus { border-color: rgba(0,230,173,.34); background: linear-gradient(135deg, rgba(0,230,173,.105), rgba(255,255,255,.035)); }
.crm-lead-avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 800; }
.crm-lead-main { min-width: 0; }
.crm-lead strong, .crm-lead small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-lead strong { font-size: 12px; }
.crm-lead small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.crm-lead-next { color: #c8d4cf !important; }
.crm-lead-profile { color: #9bb0a8 !important; }
.crm-lead-focus { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 6px; margin-top: 6px; padding: 6px 7px; border: 1px solid rgba(0,230,173,.27); border-radius: 8px; background: rgba(0,230,173,.09); color: #d9f8ed; }
.crm-lead-focus b { color: var(--accent); font-size: 8px; white-space: nowrap; }
.crm-lead-focus small { margin: 0; color: #b9d9ce; font: 700 8px/1 'DM Mono', monospace; white-space: nowrap; }
.crm-lead-focus em { min-width: 0; overflow: hidden; color: #e6f4ef; font-size: 9px; font-style: normal; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.crm-lead-side { display: grid; justify-items: end; }
.crm-stage { padding: 6px 8px; border-radius: 999px; background: rgba(179,156,255,.13); color: var(--purple); font-size: 9px; font-weight: 800; line-height: 1; white-space: nowrap; }
.crm-stage[data-stage="new"] { background: rgba(0,230,173,.11); color: var(--accent); }
.crm-stage[data-stage="contact"] { background: rgba(255,184,77,.12); color: var(--gold); }
.crm-stage[data-stage="consultation"] { background: rgba(104,188,255,.13); color: #87c9ff; }
.crm-stage[data-stage="client"] { background: rgba(255,137,189,.13); color: #ffafd0; }
.crm-stage[data-stage="member"] { background: rgba(179,156,255,.13); color: var(--purple); }
.crm-stage[data-stage="refused"] { background: rgba(255,91,104,.13); color: #ff9ca5; }
.crm-empty { padding: 18px 12px; border: 1px dashed rgba(255,255,255,.14); border-radius: 12px; color: var(--muted); font-size: 9px; text-align: center; }
.crm-workspace-button, .crm-workspace-back { margin-top: 12px; }
.crm-workspace-section { margin-top: 18px; }
.crm-workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crm-workspace-heading h3 { margin: 0; font-size: 11px; }
.crm-workspace-heading span { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 800 8px/1 'DM Mono', monospace; }
.crm-touch-list, .crm-task-list { display: grid; gap: 7px; margin-top: 9px; }
.crm-touch, .crm-task { padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.crm-touch-meta { display: flex; justify-content: space-between; gap: 10px; }
.crm-touch-meta strong, .crm-task strong { font-size: 9px; }
.crm-touch-meta small, .crm-task small { color: var(--muted); font-size: 7px; white-space: nowrap; }
.crm-touch p { margin: 7px 0 0; color: #d7e0dc; font-size: 9px; line-height: 1.45; white-space: pre-wrap; }
.crm-card-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:15px 0 12px; padding:4px; border:1px solid rgba(255,255,255,.08); border-radius:12px; background:rgba(255,255,255,.025); }
.crm-card-tab { min-height:34px; padding:8px 6px; border-radius:8px; color:var(--muted); font-size:8px; font-weight:800; letter-spacing:.03em; }
.crm-card-tab.active { background:var(--accent-soft); color:var(--accent); }
.crm-touch-button { width:100%; color:var(--text); font:inherit; text-align:left; cursor:pointer; transition:border-color .18s ease, background .18s ease; }
.crm-touch-button:hover, .crm-touch-button:focus-visible { border-color:rgba(167,219,99,.52); background:rgba(167,219,99,.08); outline:none; }
.crm-touch-button .crm-touch-meta { width:100%; }
.crm-touch-text { display:block; margin-top:7px; color:#d7e0dc; font-size:9px; line-height:1.45; white-space:pre-wrap; }
.crm-touch-detail { margin:15px 0; }
.crm-clear-touches { margin-top:10px; }
.crm-task { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.crm-task-main { min-width: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.crm-task-main:hover strong, .crm-task-main:focus-visible strong { color: var(--accent); }
.crm-task-main:focus-visible { outline: 0; }
.crm-task strong, .crm-task small { display: block; }
.crm-task small { margin-top: 4px; }
.crm-task.is-done { opacity: .58; }
.crm-task.is-done strong { text-decoration: line-through; }
.crm-task-toggle { width: auto; min-height: 0; margin: 0; padding: 7px 8px; font-size: 7px; white-space: nowrap; }
.crm-inline-form { margin-top: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(0,0,0,.11); }
.crm-inline-form .form-grid { gap: 9px; }
.crm-inline-form .full-width { margin-top: 10px; }
.crm-task-delete { margin-top: 10px; }
.crm-social-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; }
.crm-social-control input { min-width: 0; }
.crm-social-link { max-width: 132px; overflow: hidden; color: var(--accent); font: 700 7px/1.25 'DM Mono', monospace; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.crm-social-link:hover { text-decoration: underline; }
.admin-event-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-event-row-button { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.admin-event-row-button:hover { background: rgba(0,230,173,.055); }
.mini-date { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.mini-date strong { font-family: 'DM Mono', monospace; font-size: 16px; }
.mini-date span { font-size: 6px; font-weight: 800; }
.purple-date { background: rgba(179,156,255,.13); color: var(--purple); }
.admin-event-row > div:nth-child(2) { flex: 1; min-width: 0; }
.admin-event-row strong, .admin-event-row small { display: block; }
.admin-event-row strong { font-size: 10px; }
.admin-event-row small { margin-top: 4px; color: var(--muted); font-size: 8px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; }
.green-dot { background: var(--accent); box-shadow: 0 0 9px rgba(0,230,173,.7); }
.event-admin-details { display: grid; gap: 8px; margin-bottom: 18px; }
.event-admin-field, .event-admin-copy, .event-admin-links { padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.event-admin-field { display: flex; justify-content: space-between; gap: 12px; }
.event-admin-field span, .event-admin-copy > span, .event-admin-links > span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event-admin-field strong { font-size: 9px; text-align: right; }
.event-admin-copy p { margin-top: 6px; color: #cbd8d2; font-size: 9px; line-height: 1.45; white-space: pre-wrap; }
.event-admin-links { display: grid; gap: 7px; }
.event-admin-link { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; color: inherit; text-decoration: none; }
.event-admin-link:hover { border-color: rgba(0,230,173,.35); background: rgba(0,230,173,.06); }
.event-admin-link span { min-width: 0; }
.event-admin-link strong, .event-admin-link small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-admin-link strong { font-size: 9px; }
.event-admin-link small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.event-admin-link > svg { flex: 0 0 auto; width: 13px; height: 13px; color: var(--accent); }
.event-admin-link-empty { cursor: default; opacity: .7; }
.event-admin-link-empty:hover { border-color: rgba(255,255,255,.08); background: transparent; }
.event-registration-admin-row { display: flex; align-items: stretch; gap: 7px; }
.event-registration-admin-row > .stats-row { min-width: 0; flex: 1; }
.event-approve-button { width: auto; min-height: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.event-tables-admin { display: grid; gap: 8px; margin: 16px 0; }
.event-tables-admin-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.event-tables-admin-heading > div { min-width: 0; }
.event-tables-admin-heading small { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; line-height: 1.35; }
.event-tables-admin-heading .secondary-button { width: auto; min-height: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.event-table-admin-row { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid rgba(0,230,173,.2); border-radius: 12px; background: rgba(0,230,173,.045); }
.event-table-admin-row > div:first-child { min-width: 0; flex: 1; }
.event-table-admin-row strong, .event-table-admin-row small, .event-table-admin-row span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-table-admin-row strong { font-size: 10px; }
.event-table-admin-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.event-table-admin-row span { margin-top: 5px; color: var(--accent); font-size: 7px; }
.event-table-admin-actions { display: flex; align-items: center; gap: 5px; }
.event-table-admin-actions .secondary-button { width: auto; min-height: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.club-table-edit-button { margin-top: 16px; }
.event-table-admin-empty { padding: 13px; border: 1px dashed rgba(255,255,255,.16); border-radius: 12px; color: var(--muted); font-size: 8px; line-height: 1.45; text-align: center; }
.event-table-participants { display: grid; gap: 5px; max-height: 208px; overflow-y: auto; padding: 2px; }
.event-table-participant { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: rgba(255,255,255,.025); cursor: pointer; transition: .18s ease; }
.event-table-participant:hover { border-color: rgba(0,230,173,.32); background: rgba(0,230,173,.045); }
.event-table-participant:has(input:checked) { border-color: rgba(0,230,173,.52); background: rgba(0,230,173,.09); }
.event-table-participant input { appearance: none; display: grid; place-content: center; flex: 0 0 17px; width: 17px !important; height: 17px !important; margin: 0; padding: 0 !important; border: 1px solid rgba(255,255,255,.3); border-radius: 5px; background: rgba(255,255,255,.035); cursor: pointer; }
.event-table-participant input:checked { border-color: var(--accent); background: var(--accent); }
.event-table-participant input:checked::after { content: '✓'; color: #07100e; font-size: 12px; font-weight: 900; line-height: 1; }
.event-table-participant input:focus-visible { outline: 2px solid rgba(0,230,173,.45); outline-offset: 2px; }
.event-table-participant span { min-width: 0; }
.event-table-participant strong, .event-table-participant small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-table-participant strong { font-size: 9px; }
.event-table-participant small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.event-detail-actions { grid-template-columns: 1fr; }
.event-detail-actions .danger-button { margin-top: 0; }
.admin-event-row-shell { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-event-row-shell .admin-event-row-button { min-width: 0; flex: 1; border-bottom: 0; }
.admin-event-tables-button { width: auto; min-height: 0; flex: 0 0 auto; margin-top: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.admin-event-delete-button { width: auto; min-height: 0; flex: 0 0 auto; margin-top: 0; padding: 8px 9px; font-size: 8px; white-space: nowrap; }
.stats-summary-card-button { cursor: pointer; transition: .2s ease; }
.stats-summary-card-button:hover, .stats-summary-card-button:focus-visible { border-color: rgba(0,230,173,.42); background: rgba(0,230,173,.08); outline: none; transform: translateY(-1px); }

.bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; display: flex; align-items: flex-end; justify-content: space-around; width: min(100%, 520px); height: 81px; margin: 0 auto; padding: 12px 10px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); background: rgba(6, 15, 13, .91); backdrop-filter: blur(18px); }
.nav-item { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 5px; padding: 0; background: transparent; color: #708079; font-size: 8px; -webkit-tap-highlight-color: transparent; }
.nav-item svg { width: 19px; height: 19px; }
.nav-item.active { color: var(--accent); }
.nav-item b { position: absolute; top: -5px; right: calc(50% - 21px); display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: var(--accent); color: #03100c; font-size: 7px; }
.nav-center { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: transparent; color: var(--accent); font-size: 8px; }
.nav-center span { display: grid; place-items: center; width: 45px; height: 45px; margin-top: -28px; border: 4px solid #07100e; border-radius: 16px; background: var(--accent); color: #05120e; box-shadow: 0 7px 22px rgba(0,230,173,.24); }
.nav-center span svg { width: 20px; height: 20px; stroke-width: 2; }

.modal-layer { position: fixed; inset: 0; z-index: 10; display: grid; align-items: center; visibility: hidden; opacity: 0; transition: .25s ease; padding: 16px; }
.modal-layer.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .62); backdrop-filter: blur(5px); }
.modal-sheet { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); margin: 0 auto; padding: 25px 22px max(26px, calc(26px + env(safe-area-inset-bottom))); overflow-y: auto; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: linear-gradient(145deg, #12211d, #09130f); box-shadow: 0 20px 70px rgba(0,0,0,.45); transform: translateY(16px) scale(.98); transition: .3s ease; }
.admin-sheet { display: flex; flex-direction: column; max-height: calc(100vh - 22px); overflow: hidden; }
.admin-sheet > .modal-close { top: 29px; }
.admin-sheet > .modal-kicker { margin-top: 14px; }
.admin-modal-scroll { flex: 1 1 auto; min-height: 0; max-height: 100%; overflow-x: hidden; overflow-y: scroll; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: rgba(0,230,173,.58) rgba(255,255,255,.06); padding-right: 4px; margin-right: -4px; }
.admin-modal-scroll::-webkit-scrollbar { width: 8px; }
.admin-modal-scroll::-webkit-scrollbar-track { border-radius: 999px; background: rgba(255,255,255,.06); }
.admin-modal-scroll::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgba(0,230,173,.58); background-clip: padding-box; }
.admin-modal-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: padding-box; }
.admin-sheet h2 { max-width: calc(100% - 36px); }
.admin-sheet > p { max-width: 390px; margin-top: 9px; }
.admin-form { margin-top: 19px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full-field { grid-column: 1 / -1; }
.form-field label, .form-field > span { color: #c5d3cd; font-size: 9px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; outline: none; background: rgba(255,255,255,.055); color: var(--text); font: inherit; font-size: 10px; }
.form-field input, .form-field select { height: 38px; padding: 0 10px; }
.modal-sheet .form-field:has(input[type="date"]) { min-width: 0; }
.modal-sheet .form-field input[type="date"] { width: 132px; max-width: 100%; min-width: 0; padding: 0 7px; font-size: 9px; }
.form-field textarea { min-height: 73px; padding: 10px; resize: vertical; line-height: 1.45; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: rgba(0,230,173,.55); box-shadow: 0 0 0 3px rgba(0,230,173,.09); }
.form-field .checkbox-label { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: #dce7e2; cursor: pointer; line-height: 1.2; }
.form-field .checkbox-label > input[type="checkbox"] { appearance: none; -webkit-appearance: none; display: grid; place-content: center; flex: 0 0 14px; width: 14px; height: 14px; margin: 0; padding: 0; border: 1px solid rgba(255,255,255,.38); border-radius: 4px; background: rgba(255,255,255,.04); cursor: pointer; }
.form-field .checkbox-label > input[type="checkbox"]:checked { border-color: var(--accent); background: var(--accent); }
.form-field .checkbox-label > input[type="checkbox"]:checked::after { content: '✓'; color: #07100e; font-size: 10px; font-weight: 900; line-height: 1; }
.form-field .checkbox-label > input[type="checkbox"]:focus-visible { outline: 2px solid rgba(0,230,173,.48); outline-offset: 2px; }
.profile-visibility { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.035); cursor: pointer; }
.profile-visibility input { width: 16px; height: 16px; accent-color: var(--accent); }
.profile-visibility span { display: block; }
.profile-visibility strong, .profile-visibility small { display: block; }
.profile-visibility strong { font-size: 9px; }
.profile-visibility small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.partner-checkbox-field { border-color: rgba(0,230,173,.25); background: rgba(0,230,173,.055); }
.partner-checkbox-field .partner-toggle-copy { display: block; min-width: 0; }
.partner-checkbox-field .partner-toggle-copy span { color: var(--accent); }
.access-code-settings-field { border-top: 1px solid var(--border); padding-top: 12px; }
.access-settings-panel { display: grid; gap: 10px; margin-top: 6px; padding: 13px; border: 1px solid rgba(0,230,173,.24); border-radius: 14px; background: rgba(0,230,173,.055); }
.access-settings-panel > strong { color: var(--accent); font-size: 12px; }
.access-settings-panel > small { color: var(--muted); line-height: 1.5; }
.access-settings-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.access-settings-row label { grid-column: 1 / -1; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.access-settings-row input { min-width: 0; }
.access-settings-row .secondary-button { white-space: nowrap; }
@media (max-width: 520px) { .access-settings-row { grid-template-columns: 1fr; } .access-settings-row .secondary-button { width: 100%; } }
.form-field input::placeholder, .form-field textarea::placeholder { color: #6f8079; }
.form-field select option { background: #10211c; color: var(--text); }
.form-field small, .form-hint { color: var(--muted); font-size: 8px; line-height: 1.4; }
.admin-form .primary-button { margin-top: 16px; }
.form-divider { height: 1px; margin: 16px 0 13px; background: rgba(255,255,255,.08); }
.partner-admin-list { display: grid; gap: 7px; margin-top: 12px; }
.participant-admin-list { display: grid; gap: 7px; margin-top: 12px; }
.participant-admin-row { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.participant-admin-row > div { min-width: 0; flex: 1; }
.participant-admin-row strong, .participant-admin-row small { display: block; }
.participant-admin-row strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.participant-admin-row .participant-admin-balance { margin-top: 5px; color: var(--text); font-size: 8px; white-space: nowrap; }
.participant-admin-balance b:first-child { color: var(--accent); }
.participant-admin-balance b:last-child { color: var(--gold); }
.participant-admin-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.participant-admin-row .secondary-button { width: auto; flex: 0 0 auto; min-height: 0; padding: 8px 9px; font-size: 8px; }
.participant-admin-code { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 800; }
.admin-form-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 16px; }
.admin-form-actions .primary-button { margin-top: 0; }
  .partner-admin-row { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
  .partner-admin-row:hover, .partner-admin-row:focus-visible { border-color: rgba(0,230,173,.35); background: rgba(0,230,173,.06); transform: translateY(-1px); outline: none; }
  .partner-logo { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: rgba(0,230,173,.13); color: var(--accent); font-size: 10px; font-weight: 800; }
  .partner-admin-row-main { min-width: 0; flex: 1; }
  .partner-admin-row strong, .partner-admin-row small { display: block; }
  .partner-admin-row strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .partner-admin-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
  .partner-admin-row-hint { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; color: var(--accent); font-size: 7px; font-weight: 800; }
  .partner-admin-row-hint svg { width: 10px; height: 10px; }
  .gift-list { display: grid; gap: 8px; margin-top: 18px; }
  .gift-card { display: flex; gap: 10px; padding: 11px; border: 1px solid rgba(179,156,255,.2); border-radius: 12px; background: linear-gradient(120deg, rgba(179,156,255,.1), rgba(255,255,255,.035)); }
  .partner-gift-card { cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
  .partner-gift-card:hover, .partner-gift-card:focus-visible { border-color: rgba(179,156,255,.5); background: linear-gradient(120deg, rgba(179,156,255,.17), rgba(255,255,255,.05)); transform: translateY(-1px); outline: none; }
.gift-card-icon { display: grid; place-items: center; flex: 0 0 auto; width: 31px; height: 31px; border-radius: 9px; background: rgba(179,156,255,.15); color: var(--purple); }
.gift-card-icon svg { width: 16px; height: 16px; }
.gift-card-main { min-width: 0; flex: 1; }
.gift-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.gift-card-main strong, .gift-card-main p { display: block; }
.gift-card-main strong { font-size: 10px; }
.gift-card-main p { margin-top: 3px; color: var(--muted); font-size: 8px; }
.gift-free-badge { flex: 0 0 auto; padding: 4px 5px; border-radius: 999px; background: rgba(0,230,173,.12); color: var(--accent); font-size: 6px; font-weight: 800; letter-spacing: .08em; }
.gift-partner-note { display: block; margin-top: 6px; color: #9eb0a9; font-size: 7px; line-height: 1.35; }
.gift-costs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.gift-buy { padding: 6px 7px; border-radius: 8px; font-size: 7px; font-weight: 800; }
.gift-buy-silver { border: 1px solid rgba(184,202,198,.3); background: rgba(184,202,198,.1); color: var(--silver); }
.gift-buy-gold { border: 1px solid rgba(234,203,116,.3); background: rgba(234,203,116,.1); color: var(--gold); }
.gift-buy-free { display: inline-flex; align-items: center; gap: 5px; border: 1px solid rgba(0,230,173,.3); background: rgba(0,230,173,.1); color: var(--accent); }
.gift-buy-free svg { width: 12px; height: 12px; }
  .gift-buy-claimed { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: var(--muted); cursor: pointer; }
  .gift-buy:disabled { cursor: default; opacity: .45; }
  .gift-hint { margin-top: 12px; }
  .partner-detail-card { display: grid; gap: 14px; margin-top: 18px; padding: 13px; border: 1px solid rgba(179,156,255,.24); border-radius: 14px; background: linear-gradient(125deg, rgba(179,156,255,.12), rgba(255,255,255,.035)); }
  .partner-detail-section { display: grid; gap: 6px; }
  .partner-detail-label { color: var(--purple); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
  .partner-detail-reward { font-size: 13px; }
  .partner-detail-section p { color: var(--muted); font-size: 9px; line-height: 1.5; }
  .partner-detail-contacts { display: grid; gap: 7px; }
  .partner-detail-contact { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(0,0,0,.12); color: var(--text); }
  .partner-detail-contact span { min-width: 0; }
  .partner-detail-contact strong, .partner-detail-contact small { display: block; }
  .partner-detail-contact strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
  .partner-detail-contact small { margin-top: 3px; color: var(--muted); font-size: 7px; }
  .partner-detail-contact > svg { width: 13px; height: 13px; color: var(--accent); }
  .gift-access-locked { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px; border: 1px solid rgba(234,203,116,.24); border-radius: 12px; background: rgba(234,203,116,.08); }.gift-access-locked strong, .gift-access-locked p { display: block; }.gift-access-locked strong { font-size: 10px; }.gift-access-locked p { margin-top: 4px; font-size: 8px; }
.product-list { display: grid; gap: 9px; margin-top: 17px; }
.product-card { padding: 13px; border: 1px solid rgba(234,203,116,.24); border-radius: 14px; background: linear-gradient(130deg, rgba(234,203,116,.1), rgba(255,255,255,.035)); }
.product-card-top, .product-card-foot, .store-balance, .checkout-cash-row, .checkout-total-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-card-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.product-category { color: var(--gold); font-size: 7px; font-weight: 800; letter-spacing: .14em; }
.product-silver-label { padding: 3px 5px; border: 1px solid rgba(184,202,198,.35); border-radius: 999px; color: var(--silver); background: rgba(184,202,198,.1); font-size: 7px; font-weight: 800; white-space: nowrap; }
.product-silver-label-full { border-color: rgba(0,230,173,.42); color: var(--accent); background: rgba(0,230,173,.1); }
.product-source { display: block; margin-top: 8px; color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.product-source-partner { color: var(--purple); }
.product-price { color: var(--text); font-family: 'DM Mono', monospace; font-size: 12px; }
.product-card h3 { margin-top: 10px; font-size: 13px; }
.product-card p { margin-top: 5px; font-size: 9px; line-height: 1.45; }
.product-card-foot { align-items: flex-end; margin-top: 13px; }
.product-card-foot > span { max-width: 145px; color: var(--muted); font-size: 7px; line-height: 1.35; }
.product-buy-button { min-height: 35px; margin-top: 0; padding: 8px 10px; font-size: 9px; }
.store-balance { margin-top: 18px; padding: 11px; border: 1px solid rgba(0,230,173,.22); border-radius: 12px; background: rgba(0,230,173,.07); }
.store-balance span, .store-balance strong { display: block; }
.store-balance span { color: var(--muted); font-size: 8px; }
.store-balance strong { margin-top: 4px; font-family: 'DM Mono', monospace; font-size: 9px; }
.store-balance svg { width: 22px; height: 22px; color: var(--accent); }
.store-silver { color: var(--silver); }.store-gold { color: var(--gold); }
.store-rules { margin-top: 13px; padding: 11px; border-left: 2px solid var(--gold); border-radius: 0 10px 10px 0; background: rgba(234,203,116,.07); }
.store-rules strong { display: block; color: var(--gold); font-size: 9px; }.store-rules p { margin-top: 4px; font-size: 8px; }
.product-logo { background: rgba(234,203,116,.13); color: var(--gold); }
.product-order-avatar { background: rgba(234,203,116,.13); color: var(--gold); }
.gift-admin-avatar { background: rgba(179,156,255,.15); color: var(--purple); }
.gift-admin-row .stats-row-side strong { font-family: 'Manrope', sans-serif; font-size: 7px; letter-spacing: .05em; }
.delete-button { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255,116,116,.1); color: #ff9a9a; }
.delete-button svg { width: 13px; height: 13px; }
.admin-success { display: flex; align-items: flex-start; gap: 9px; margin-top: 18px; padding: 11px; border: 1px solid rgba(0,230,173,.22); border-radius: 11px; background: rgba(0,230,173,.08); }
.admin-success > svg { flex: 0 0 auto; color: var(--accent); }
.admin-success strong, .admin-success p { display: block; }
.admin-success strong { font-size: 10px; }.admin-success p { margin-top: 4px; font-size: 8px; }
.stats-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.gift-tracking-summary { grid-template-columns: repeat(3, 1fr); }
.gift-tracking-summary .stats-summary-card { min-width: 0; }.gift-tracking-summary .stats-summary-card strong { font-size: 14px; }.gift-tracking-summary .stats-summary-card small { line-height: 1.3; }
.access-code-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 12px; border: 1px solid rgba(0,230,173,.25); border-radius: 12px; background: rgba(0,230,173,.08); }
.access-code-card > div { min-width: 0; }
.access-code-card span, .access-code-card strong, .access-code-card small { display: block; }
.access-code-card span { color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.access-code-card strong { margin-top: 6px; color: var(--text); font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .04em; overflow-wrap: anywhere; }
.access-code-card small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.copy-access-code { flex: 0 0 auto; padding: 7px 8px; border: 1px solid rgba(0,230,173,.3); border-radius: 8px; background: rgba(0,230,173,.1); color: var(--accent); font-size: 8px; font-weight: 800; }
.danger-button { margin-top: 18px; min-height: 42px; border: 1px solid rgba(255,116,116,.25); border-radius: 11px; background: rgba(255,116,116,.08); color: #ffadad; font-size: 9px; font-weight: 800; }
.stats-summary-card { padding: 11px; border: 1px solid var(--border); border-radius: 11px; background: rgba(255,255,255,.035); }
.stats-summary-card strong, .stats-summary-card small { display: block; }
.stats-summary-card strong { font-family: 'DM Mono', monospace; font-size: 16px; letter-spacing: -.08em; }
.stats-summary-card small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.stats-list { display: grid; gap: 7px; margin-top: 17px; }
.stats-list-heading { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.stats-row { display: flex; align-items: center; gap: 9px; padding: 10px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.stats-row-button { width: 100%; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: .2s ease; }
.stats-row-button:hover { border-color: rgba(0,230,173,.32); background: rgba(0,230,173,.06); }
.stats-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 29px; height: 29px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-size: 9px; font-weight: 800; }
.stats-row-main { min-width: 0; flex: 1; }
.stats-row-main strong, .stats-row-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-row-main strong { font-size: 9px; }
.stats-row-main small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.stats-row-side { flex: 0 0 auto; text-align: right; }
.stats-row-side strong, .stats-row-side small { display: block; }
.stats-row-side strong { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 10px; }
.stats-row-side small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.stats-bonus-row .stats-avatar { background: rgba(234,203,116,.14); color: var(--gold); }
.stats-bonus-row .stats-row-side strong { color: var(--gold); }
.bonus-grant-detail-meta { display: flex; justify-content: space-between; gap: 12px; padding: 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; color: var(--muted); font-size: 8px; }
.bonus-grant-detail-meta strong { color: var(--text); font-family: 'DM Mono', monospace; font-size: 8px; }
.bonus-expiration-policy { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; padding: 11px; border: 1px solid rgba(0,230,173,.2); border-radius: 11px; background: var(--accent-soft); color: #b8d9cf; font-size: 8px; line-height: 1.45; }
.bonus-expiration-policy svg { flex: 0 0 auto; width: 14px; height: 14px; color: var(--accent); }
.bonus-expiration-avatar { background: rgba(234,203,116,.14); color: var(--gold); }
.bonus-expiration-row .stats-row-side strong { color: var(--gold); }
.bonus-expiration-upcoming { opacity: .86; }
.modal-layer.open .modal-sheet { transform: translateY(0) scale(1); }
#admin-modal.crm-lead-modal.open .modal-sheet { transform: translateY(10vh) scale(1); }
#admin-modal.crm-lead-modal .admin-sheet { max-height: calc(80vh - 22px); }
.crm-task-modal-wide .modal-sheet { width: min(100%, 720px); max-width: 720px; }
.crm-task-modal-wide .admin-modal-scroll { padding-bottom: 6px; }
.crm-task-modal-wide .form-field textarea { min-height: 180px; font-size: 11px; }
.crm-task-modal-wide .crm-standalone-task-body { max-height: 280px; overflow-y: auto; resize: vertical; }
.bonus-info-sheet { max-width: 520px; }
.bonus-info-sheet > p { margin-top: 8px; }
.bonus-history-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 16px; }
.bonus-history-summary[hidden] { display: none; }
.bonus-history-summary > div { min-width: 0; padding: 10px 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.035); }
.bonus-history-summary span, .bonus-history-summary strong { display: block; }
.bonus-history-summary span { color: var(--muted); font-size: 7px; letter-spacing: .05em; text-transform: uppercase; }
.bonus-history-summary strong { margin-top: 5px; overflow: hidden; font-family: 'DM Mono', monospace; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.bonus-history-in strong { color: var(--accent); }
.bonus-history-out strong { color: #ff978f; }
.bonus-history-balance.gold-history strong { color: var(--gold); }
.bonus-info-points { display: grid; gap: 9px; margin-top: 18px; }
.bonus-info-point { display: flex; align-items: flex-start; gap: 10px; padding: 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(255,255,255,.035); }
.bonus-info-point-icon { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid rgba(184,202,198,.34); border-radius: 9px; color: var(--silver); font-family: 'DM Mono', monospace; font-size: 12px; font-weight: 800; }
.bonus-info-point-icon.gold-point { border-color: rgba(234,203,116,.38); color: var(--gold); }
.bonus-history-credit .bonus-info-point-icon { border-color: rgba(0,230,173,.34); color: var(--accent); }
.bonus-history-debit .bonus-info-point-icon, .bonus-history-debit .bonus-info-point-icon.gold-point { border-color: rgba(255,151,143,.34); color: #ff978f; }
.bonus-info-point strong { display: block; font-size: 10px; }
.bonus-info-point p { margin-top: 4px; font-size: 9px; line-height: 1.45; }
.participant-sheet { max-height: calc(100vh - 22px); overflow-y: auto; }
.participant-profile-head { display: flex; align-items: center; gap: 12px; padding-right: 35px; }
.participant-profile-head > div { min-width: 0; }
.participant-profile-head h2 { margin-top: 5px; overflow-wrap: anywhere; }
.participant-modal-avatar { width: 58px; height: 58px; font-size: 20px; }
.participant-profile-code { margin-top: 5px; color: var(--muted); font-family: 'DM Mono', monospace; font-size: 8px; letter-spacing: .04em; }
.participant-fields { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 22px; }
.participant-field { min-width: 0; padding: 11px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.035); }
.participant-field span, .participant-field strong { display: block; }
.participant-field span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.participant-field strong { margin-top: 6px; font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.participant-contacts { margin-top: 22px; }
.contact-list { display: grid; gap: 7px; margin-top: 9px; }
.contact-row { display: flex; align-items: center; gap: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); color: inherit; text-decoration: none; transition: .2s ease; }
.contact-row:hover { border-color: rgba(0,230,173,.35); background: rgba(0,230,173,.06); }
.contact-channel { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 700; }
.contact-row > span:nth-child(2) { min-width: 0; flex: 1; }
.contact-row strong, .contact-row small { display: block; }
.contact-row strong { font-size: 9px; }
.contact-row small { margin-top: 3px; color: var(--muted); font-size: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-row .chevron { width: 13px; height: 13px; color: var(--accent); }
.contact-row-empty { cursor: default; }
.contact-row-empty:hover { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.035); }
.modal-close { position: absolute; top: 17px; right: 17px; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: rgba(255,255,255,.07); color: var(--muted); }
.modal-close svg { width: 15px; height: 15px; }
.modal-sheet h2 { margin-top: 7px; font-size: 25px; }
.modal-sheet > p { max-width: 335px; margin-top: 9px; font-size: 10px; }
.qr-sheet { text-align: center; }
.qr-sheet .modal-kicker { color: var(--accent); }
.qr-sheet > p { margin-right: auto; margin-left: auto; }
.qr-box { position: relative; width: 170px; height: 170px; margin: 21px auto 16px; border: 9px solid #f0f5f1; border-radius: 10px; background: #f0f5f1; overflow: hidden; }
.qr-svg { display: block; width: 100%; height: 100%; fill: #07100e; stroke: none; shape-rendering: crispEdges; }
.qr-svg .qr-background { fill: #f0f5f1; }
.qr-svg rect:not(.qr-background) { fill: #07100e; }
.qr-canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.scanner-sheet { max-height: calc(100vh - 22px); overflow-y: auto; }
.qr-camera-frame { position: relative; aspect-ratio: 4 / 3; margin-top: 18px; border: 1px solid rgba(0,230,173,.32); border-radius: 18px; background: #020806; overflow: hidden; }
.qr-camera-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.qr-camera-corners { position: absolute; inset: 15%; border: 2px solid rgba(0,230,173,.78); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,.22), 0 0 30px rgba(0,230,173,.18); pointer-events: none; }
.qr-camera-line { position: absolute; right: 18%; left: 18%; height: 2px; background: var(--accent); box-shadow: 0 0 12px rgba(0,230,173,.85); animation: qr-scan-line 2.2s ease-in-out infinite; pointer-events: none; }
@keyframes qr-scan-line { 0%, 100% { top: 18%; opacity: .45; } 50% { top: 80%; opacity: 1; } }
.scanner-status { min-height: 34px; margin-top: 12px; color: #b8cbc4; font-size: 9px; line-height: 1.45; text-align: center; }
.scanner-status.error { color: #ffadad; }
.scanner-fallback { margin-top: 9px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.08); }
.scanner-fallback > span { color: #c5d3cd; font-size: 9px; font-weight: 700; }
.scanner-fallback-row { display: flex; gap: 7px; margin-top: 7px; }
.scanner-fallback-row input { min-width: 0; flex: 1; height: 42px; padding: 0 11px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; outline: none; background: rgba(255,255,255,.055); color: var(--text); font: inherit; font-size: 10px; letter-spacing: .03em; }
.scanner-fallback-row input:focus { border-color: rgba(0,230,173,.55); box-shadow: 0 0 0 3px rgba(0,230,173,.09); }
.scanner-fallback-row .secondary-button { flex: 0 0 44px; padding: 0; }
.gift-details-sheet { max-height: calc(100vh - 22px); overflow-y: auto; }
.gift-details-status { display: flex; align-items: center; gap: 7px; margin-top: 18px; padding: 11px; border: 1px solid rgba(234,203,116,.3); border-radius: 11px; background: rgba(234,203,116,.1); color: var(--gold); }
.gift-details-status > svg { flex: 0 0 auto; width: 14px; height: 14px; }
.gift-details-status strong { font-size: 9px; }
.gift-details-status span { margin-left: auto; color: #cbbd8c; font-size: 8px; text-align: right; }
.gift-details-status-pending { border-color: rgba(0,230,173,.25); background: var(--accent-soft); color: var(--accent); }
.gift-details-status-pending span { color: #9fc8bb; }
.gift-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 15px; }
.gift-details-grid > div { min-width: 0; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.gift-details-grid span, .gift-details-grid strong { display: block; }
.gift-details-grid span { color: var(--muted); font-size: 7px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gift-details-grid strong { margin-top: 5px; overflow-wrap: anywhere; font-family: 'DM Mono', monospace; font-size: 9px; line-height: 1.35; }
.gift-details-contact { margin-top: 17px; text-decoration: none; }
.product-checkout-sheet { max-height: calc(100vh - 22px); overflow-y: auto; }
.product-checkout-price { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding: 12px; border: 1px solid rgba(234,203,116,.25); border-radius: 12px; background: rgba(234,203,116,.08); }
.product-checkout-price span { color: var(--muted); font-size: 8px; }.product-checkout-price strong { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 17px; }
.product-checkout-form { margin-top: 13px; }
.checkout-field { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin-top: 9px; padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.035); }
.checkout-field label { display: grid; gap: 3px; }.checkout-field label span { color: #c5d3cd; font-size: 9px; font-weight: 700; }.checkout-field label small { color: var(--muted); font-size: 7px; }
.checkout-field input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 9px; outline: none; background: rgba(255,255,255,.055); color: var(--text); font: inherit; font-size: 10px; text-align: right; }
.checkout-field input:focus { border-color: rgba(0,230,173,.55); box-shadow: 0 0 0 3px rgba(0,230,173,.09); }
.checkout-cash-row, .checkout-total-row { margin-top: 13px; padding: 11px 0; border-top: 1px solid var(--border); }
.checkout-cash-row span strong, .checkout-cash-row span small { display: block; }.checkout-cash-row span strong { font-size: 9px; }.checkout-cash-row span small { margin-top: 3px; color: var(--muted); font-size: 7px; }.checkout-cash-row > strong { color: var(--gold); font-family: 'DM Mono', monospace; font-size: 13px; }
.checkout-total-row { border-bottom: 1px solid var(--border); }.checkout-total-row span { color: var(--muted); font-size: 9px; }.checkout-total-row strong { color: var(--accent); font-family: 'DM Mono', monospace; font-size: 14px; }
.checkout-earned-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 0; color: var(--gold); font-size: 8px; }.checkout-earned-row strong { font-family: 'DM Mono', monospace; font-size: 11px; }
.referral-code { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--accent); font-family: 'DM Mono', monospace; font-size: 13px; letter-spacing: .06em; }
.referral-code button { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }
.referral-code svg { width: 13px; height: 13px; }
.qr-invite-link { display: block; width: fit-content; margin: 8px auto 0; color: var(--muted); font-size: 9px; text-decoration: underline; text-underline-offset: 3px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; margin-top: 21px; padding: 12px 16px; border-radius: 13px; background: var(--accent); color: #04100c; font-size: 11px; font-weight: 800; box-shadow: 0 8px 28px rgba(0,230,173,.18); transition: .2s ease; }
.primary-button:hover { background: #2ff5c5; transform: translateY(-1px); }
.primary-button svg { width: 15px; height: 15px; }
.full-width { width: 100%; }
.booking-sheet { padding-top: 23px; }
.booking-date { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.booking-date strong { font-family: 'DM Mono', monospace; font-size: 42px; letter-spacing: -.12em; }
.booking-date span { color: var(--muted); font-size: 9px; letter-spacing: .12em; line-height: 1.45; }
.booking-sheet .event-type { display: block; margin-top: 18px; }
.booking-sheet h2 { margin-top: 6px; font-size: 27px; }
.booking-details { gap: 17px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--border); }
.booking-details span { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 9px; }
.booking-details b { color: #cbd8d2; font-weight: 600; }
.booking-details svg { width: 14px; height: 14px; }
.booking-status { display: flex; align-items: center; gap: 7px; margin-top: 15px; padding: 10px 11px; border: 1px solid rgba(0,230,173,.25); border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.booking-status svg { width: 14px; height: 14px; }
.booking-status strong { font-size: 9px; }
.booking-status span { margin-left: auto; color: #9fc8bb; font-size: 8px; }
.event-instruction { margin-top: 14px; padding: 11px 12px; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: rgba(0,230,173,.07); }
.instruction-label { display: block; color: var(--accent); font-size: 7px; font-weight: 800; letter-spacing: .15em; }
.event-instruction p { margin-top: 5px; color: #b7c9c2; font-size: 9px; }
.materials-section { margin-top: 15px; padding: 12px; border: 1px solid rgba(179,156,255,.22); border-radius: 13px; background: rgba(179,156,255,.07); }
.materials-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.materials-head strong { font-size: 10px; }
.materials-head span { color: var(--purple); font-size: 6px; font-weight: 800; letter-spacing: .1em; }
.materials-list { display: grid; gap: 6px; margin-top: 9px; }
.material-link { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; background: rgba(0,0,0,.1); color: inherit; text-decoration: none; }
.material-link > span { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: rgba(179,156,255,.14); color: var(--purple); }
.material-link > span svg { width: 12px; height: 12px; }
.material-link strong { min-width: 0; flex: 1; font-size: 9px; font-weight: 700; }
.material-link small { color: var(--muted); font-size: 7px; }
.material-link .chevron { color: var(--purple); }
.prepay-row { justify-content: space-between; gap: 10px; margin-top: 16px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.prepay-row strong, .prepay-row small { display: block; }
.prepay-row > span > strong { font-size: 10px; }.prepay-row small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.prepay-row > strong { font-family: 'DM Mono', monospace; font-size: 16px; }
.modal-note { display: block; margin-top: 12px; color: var(--muted); font-size: 8px; text-align: center; }
.toast { position: fixed; z-index: 20; bottom: 92px; left: 50%; max-width: calc(100% - 40px); padding: 11px 14px; border: 1px solid rgba(0,230,173,.3); border-radius: 11px; background: rgba(16, 33, 28, .97); color: #d7eee6; font-size: 10px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* iOS Safari zooms focused controls whose text is smaller than 16px. */
@media (max-width: 699px) {
  input,
  textarea,
  select { font-size: 16px !important; }
}

@media (min-width: 700px) {
  body { padding: 18px; background: #030807; }
  .app-shell { min-height: calc(100vh - 36px); border: 1px solid rgba(255,255,255,.08); border-radius: 32px; box-shadow: 0 25px 100px rgba(0,0,0,.45); }
  .bottom-nav { bottom: 18px; border-radius: 0 0 32px 32px; }
}
