:root {
  color-scheme: dark;
  --bg: #050611;
  --panel: rgba(18, 16, 38, .86);
  --panel-2: rgba(28, 20, 58, .78);
  --panel-3: rgba(10, 10, 24, .92);
  --line: rgba(255, 210, 103, .16);
  --line-violet: rgba(154, 84, 255, .24);
  --text: #fff9ea;
  --muted: #b8b1c9;
  --gold: #ffc94d;
  --gold-2: #f39d24;
  --violet: #7c3cff;
  --violet-2: #c45cff;
  --red: #ff5470;
  --blue: #6db7ff;
  --green: #31dfa3;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --gold-glow: 0 0 30px rgba(255, 201, 77, .24);
  --violet-glow: 0 0 42px rgba(124, 60, 255, .26);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 60, 255, .24), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255, 201, 77, .12), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(59, 16, 116, .32), transparent 34%),
    linear-gradient(135deg, #070719 0%, #050611 48%, #03040b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 72%);
}

body.modal-open {
  overflow: hidden;
}

button, input, select { font: inherit; }
button { cursor: pointer; }

button,
.gold-cta,
.secondary-cta,
.link-button,
.danger-cta,
.choice,
.icon-button {
  touch-action: manipulation;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}

button:not(:disabled):active,
.gold-cta:not(:disabled):active,
.secondary-cta:not(:disabled):active,
.link-button:not(:disabled):active,
.danger-cta:not(:disabled):active,
.choice:not(:disabled):active,
.icon-button:not(:disabled):active {
  transform: translateY(2px) scale(.985);
  filter: brightness(.94) saturate(1.08);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, .38), 0 0 12px rgba(255, 201, 77, .12);
}

button:disabled {
  cursor: not-allowed;
}

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

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 100%;
  min-height: 100vh;
}

.left-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(12, 11, 28, .94), rgba(5, 6, 17, .86));
  box-shadow: 18px 0 70px rgba(0, 0, 0, .28);
  overflow-y: auto;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.brand-logo-image {
  display: block;
  width: min(178px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .34));
}

.rail-section {
  display: grid;
  gap: 7px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
}

.rail-section > span {
  margin: 0 0 6px 12px;
  color: #8e87a5;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rail-section a,
.rail-section button {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  color: #e6e0f1;
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
  letter-spacing: .01em;
  cursor: pointer;
  text-align: left;
}

.rail-section a svg,
.rail-section button svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 214, 102, .84);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 8px rgba(255, 201, 77, .18));
}

.rail-section a.active,
.rail-section button.active,
.rail-section a:hover,
.rail-section button:hover {
  background: linear-gradient(90deg, rgba(124, 60, 255, .44), rgba(124, 60, 255, .12));
  color: #fff;
}

.rail-section .danger-link {
  color: #ffb8c4;
}

.rail-section .danger-link svg {
  color: #ff7088;
}

.benefit-promo {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 201, 77, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 14%, rgba(255, 201, 77, .28), transparent 28%),
    linear-gradient(135deg, rgba(72, 28, 125, .8), rgba(11, 10, 25, .92));
  box-shadow: var(--gold-glow);
}

.benefit-promo::after {
  content: "";
  position: absolute;
  inset: auto -30px -52px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 77, .24), transparent 62%);
  pointer-events: none;
}

.benefit-promo-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 201, 77, .38);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 201, 77, .08);
}

.benefit-promo-icon svg {
  width: 23px;
  height: 23px;
}

.benefit-promo span {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.benefit-promo strong {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.48rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.benefit-promo p {
  color: #e9defd;
  line-height: 1.42;
}

.benefit-promo .link-button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 4px;
}

.main-stage {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  padding: 26px 28px 38px;
}

body.admin-route .app-shell {
  grid-template-columns: 1fr;
}

body.admin-route .main-stage {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

body.admin-route .login-modal-top .secondary-cta {
  display: none;
}

.admin-login-action {
  display: none;
}

body.admin-route .login-modal-top .admin-login-action {
  display: inline-flex;
}

body.admin-route .login-modal-top .doctor-login-action {
  display: none;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 1.5rem;
}

.topnav {
  display: flex;
  gap: 24px;
  align-items: center;
  white-space: nowrap;
}

.topnav a {
  position: relative;
  color: #e6e0f1;
  font-size: .92rem;
  font-weight: 600;
}

.topnav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  background: var(--gold);
  box-shadow: var(--gold-glow);
}

.search-box {
  position: relative;
  display: block;
}

.search-box span,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.search-box input,
input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255, 255, 255, .055);
  outline: none;
}

select option {
  color: #100d20;
  background: #fff;
}

input:focus,
select:focus {
  border-color: rgba(255, 201, 77, .55);
  box-shadow: 0 0 0 3px rgba(255, 201, 77, .12);
}

.top-actions {
  display: flex;
  gap: 12px;
}

.gold-cta,
.secondary-cta,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.gold-cta svg,
.secondary-cta svg,
.link-button svg,
.icon-button svg,
.card-icon svg,
.register-badge svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.gold-cta {
  border: 1px solid rgba(255, 227, 135, .55);
  color: #1a1100;
  background: linear-gradient(180deg, #ffe28a, var(--gold) 52%, var(--gold-2));
  box-shadow: var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .5);
}

.secondary-cta {
  border: 1px solid rgba(255, 201, 77, .36);
  color: var(--gold);
  background: rgba(255, 255, 255, .035);
}

.link-button {
  min-height: 36px;
  border: 1px solid rgba(255, 201, 77, .26);
  color: var(--gold);
  background: rgba(255, 255, 255, .04);
}

.wide { width: 100%; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.doctor-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 22px;
  align-items: start;
}

.doctor-dashboard-topbar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-bottom: 2px;
}

.doctor-breadcrumb {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.doctor-breadcrumb strong {
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 900;
}

.doctor-breadcrumb span {
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,.16);
  color: var(--muted);
}

.doctor-search-box {
  position: relative;
  max-width: 560px;
  justify-self: end;
  width: 100%;
}

.doctor-search-box svg {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: rgba(255,255,255,.72);
}

.doctor-search-box input {
  padding-right: 48px;
}

.doctor-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.doctor-bell {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.doctor-bell span {
  position: absolute;
  top: -7px;
  right: -5px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #1a1100;
  background: var(--gold);
  font-size: .75rem;
  font-weight: 900;
}

.doctor-top-avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,.06);
  background-size: cover;
  background-position: center;
  font-weight: 900;
}

.doctor-home-main {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}

.doctor-welcome-card,
.doctor-metric-card,
.doctor-table-card,
.doctor-profile-card {
  border: 1px solid rgba(154, 84, 255, .24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 12%, rgba(124, 60, 255, .14), transparent 24%),
    linear-gradient(145deg, rgba(18, 16, 38, .86), rgba(8, 9, 22, .92));
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.doctor-welcome-card {
  position: relative;
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 210px;
  padding: 28px 30px;
  overflow: hidden;
  border-color: rgba(255, 201, 77, .22);
  background:
    linear-gradient(90deg, rgba(8, 9, 22, .96) 0%, rgba(8, 9, 22, .82) 43%, rgba(8, 9, 22, .34) 68%, rgba(8, 9, 22, .08) 100%),
    linear-gradient(180deg, rgba(8, 9, 22, .16), rgba(8, 9, 22, .44)),
    url("/assets/dashboard-back1.webp") center center / cover no-repeat,
    linear-gradient(145deg, rgba(18, 16, 38, .86), rgba(8, 9, 22, .92));
}

.doctor-welcome-card > div:first-child {
  position: relative;
  z-index: 1;
}

.benefit-current-card {
  grid-column: span 4;
}

.doctor-welcome-card h1 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.9rem, 2.8vw, 2.85rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.doctor-welcome-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.5;
}

.doctor-welcome-orb {
  display: none;
  place-items: center;
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.22), transparent 18%),
    conic-gradient(from 30deg, #15112c, #5b2498, #f5b73d, #170e30, #6c2edb, #15112c);
  box-shadow: 0 0 54px rgba(196, 92, 255, .38);
}

.doctor-metric-card {
  grid-column: span 4;
  min-height: 230px;
  padding: 20px;
}

.next-match-doctor-card {
  grid-column: span 5;
}

.participation-card {
  grid-column: span 3;
}

.create-order-card {
  grid-column: span 4;
}

.doctor-metric-card > span,
.doctor-table-card h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-current-card strong {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.benefit-current-card p,
.create-order-card p,
.participation-body p {
  color: rgba(255,255,255,.78);
  line-height: 1.42;
}

.doctor-mini-callout {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  padding: 14px;
  border: 1px solid rgba(154, 84, 255, .28);
  border-radius: 8px;
  background: rgba(124, 60, 255, .16);
}

.doctor-mini-callout svg {
  color: var(--gold);
}

.doctor-featured-match {
  display: grid;
  gap: 16px;
}

.doctor-match-stage {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.doctor-match-stage > div {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
}

.doctor-match-stage strong {
  color: var(--text);
  font-size: 1.1rem;
}

.doctor-match-stage b {
  color: var(--gold);
  font-weight: 900;
  font-size: 1.7rem;
}

.team-token {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: var(--text);
  background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,.04));
  box-shadow: var(--violet-glow);
  font-size: 1.5rem;
  font-weight: 900;
  overflow: hidden;
}

.team-prediction-social {
  display: grid;
  gap: 9px;
  width: min(100%, 250px);
  min-height: 82px;
  margin-top: 6px;
  padding: 10px;
  border: 1px solid rgba(255, 201, 77, .18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 28%, rgba(255, 201, 77, .1), transparent 28%),
    rgba(255,255,255,.035);
  text-align: left;
}

.team-prediction-social.home {
  border-color: rgba(255, 84, 112, .26);
}

.team-prediction-social.away {
  border-color: rgba(109, 183, 255, .24);
}

.team-prediction-social strong,
.team-prediction-social span {
  display: block;
}

.team-prediction-social strong {
  color: var(--text);
  font-size: .82rem;
  text-transform: uppercase;
}

.team-prediction-social span {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.2;
}

.prediction-avatar-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.prediction-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border: 2px solid rgba(8, 9, 22, .96);
  border-radius: 50%;
  color: #120d02;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.42), transparent 18%),
    var(--gold);
  background-size: cover;
  background-position: center;
  font-size: .68rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
}

.prediction-avatar:first-child {
  margin-left: 0;
}

.prediction-more {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(124, 60, 255, .34);
  font-size: .72rem;
  font-weight: 900;
}

.team-token .fi,
.flag-circle .fi,
.teams .fi {
  display: block;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
}

.team-token .fi,
.flag-circle .fi {
  width: 100%;
  height: 100%;
  background-size: cover;
}

.teams .fi {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 50%;
  background-size: cover;
}

.flag-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(251, 194, 71, .28), rgba(76, 22, 148, .36));
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .02em;
}

.match-date-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255,201,77,.14);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255,255,255,.035);
}

.participation-body {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.participation-body strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.doctor-table-card {
  grid-column: span 12;
  padding: 20px;
}

.doctor-benefit-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 16px 20px;
  border: 1px solid rgba(154, 84, 255, .2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(18, 16, 38, .84), rgba(8,9,22,.92));
}

.doctor-benefit-strip div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.doctor-benefit-strip div:last-child {
  border-right: 0;
}

.doctor-benefit-strip svg {
  grid-row: span 2;
  color: var(--gold);
}

.doctor-benefit-strip strong {
  color: var(--gold);
  font-size: .9rem;
}

.doctor-benefit-strip span {
  color: var(--muted);
  font-size: .84rem;
}

.doctor-table-list {
  display: grid;
  gap: 10px;
}

.doctor-dashboard-row {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.discount-chip,
.order-status {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 800;
}

.discount-chip {
  border: 1px solid rgba(255,201,77,.28);
  color: var(--gold);
  background: rgba(255,201,77,.08);
}

.order-status {
  color: var(--gold);
  background: rgba(255,201,77,.08);
}

.order-status.won {
  color: #22c55e;
  background: rgba(34,197,94,.12);
}

.order-status.lost {
  color: #ff5470;
  background: rgba(255,84,112,.12);
}

.order-status.pending,
.order-status.sent-to-whatsapp,
.pill.pending,
.pill.sent-to-whatsapp {
  color: var(--gold);
  background: rgba(255,201,77,.08);
}

.order-status.no-promo-winner,
.pill.no-promo-winner {
  color: #a7b0c5;
  background: rgba(167,176,197,.12);
}

.pill.won,
.pill.approved,
.pill.settled {
  color: #22c55e;
  background: rgba(34,197,94,.12);
}

.pill.lost,
.pill.cancelled {
  color: #ff5470;
  background: rgba(255,84,112,.12);
}

.doctor-dashboard-row strong {
  display: block;
  color: var(--text);
}

.doctor-dashboard-row small,
.doctor-dashboard-row p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

.empty-state-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  border: 1px dashed rgba(255, 201, 77, .22);
  border-radius: 8px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,.025);
}

.empty-state-card > svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.empty-state-card strong {
  color: var(--text);
}

.doctor-home-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.doctor-profile-card {
  padding: 22px;
  text-align: center;
}

.doctor-profile-avatar {
  width: 118px;
  height: 118px;
  margin: 12px auto 14px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 201, 77, .32);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,255,255,.06);
  background-size: cover;
  background-position: center;
  font-size: 2rem;
  font-weight: 900;
}

.doctor-profile-card h3 {
  margin: 0;
  color: var(--text);
}

.doctor-role-pill {
  display: inline-flex;
  margin: 10px 0 16px;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--text);
  background: rgba(124, 60, 255, .42);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.doctor-profile-card p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--muted);
  text-align: left;
  overflow-wrap: anywhere;
}

.doctor-profile-card p svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.center-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hero-card,
.next-match-card,
.participants-section,
.fixture-section,
.activity-card,
.support-card,
.registration-panel,
.doctor-dashboard,
.admin-view,
.admin-card,
.login-copy,
.login-card,
.benefit-card,
.action-cards article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(18, 16, 38, .86), rgba(8, 8, 22, .92));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 330px;
  padding: 28px 34px;
  border-color: rgba(255, 201, 77, .24);
  background:
    linear-gradient(90deg, rgba(5, 6, 17, .98) 0%, rgba(7, 8, 20, .94) 38%, rgba(7, 8, 20, .48) 56%, rgba(7, 8, 20, .1) 100%),
    linear-gradient(180deg, rgba(5, 6, 17, .12), rgba(5, 6, 17, .42)),
    url("/assets/hero-imageback.webp") center center / cover no-repeat,
    linear-gradient(135deg, #050611, #111024 64%, #21143e);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .34), 0 0 0 1px rgba(255, 201, 77, .04) inset;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 47%, rgba(255, 201, 77, .58) 47% 47.55%, rgba(255, 201, 77, .12) 47.55% 49.5%, transparent 49.5% 100%),
    radial-gradient(circle at 78% 72%, rgba(255, 201, 77, .14), transparent 21%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 76px);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 17, .9) 0%, rgba(5, 6, 17, .66) 43%, transparent 70%),
    linear-gradient(180deg, rgba(5, 6, 17, .28), transparent 46%, rgba(5, 6, 17, .5));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 620px;
  align-self: center;
}

.kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-copy h1,
.registration-copy h2,
.login-copy h2 {
  max-width: 650px;
  margin: 0;
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.hero-copy h1 strong {
  display: block;
  color: var(--gold);
}

.hero-copy p {
  min-width: 0;
  max-width: 680px;
  color: #f4eefc;
  font-size: 1.1rem;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.hero-pill {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 201, 77, .2);
  border-radius: 8px;
  color: #fff;
  background: rgba(7, 6, 18, .56);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.next-match-card,
.participants-section,
.fixture-section,
.doctor-dashboard,
.admin-view {
  min-width: 0;
  overflow: hidden;
  padding: 18px;
}

.section-label,
.section-head h2 {
  margin: 0;
  color: var(--gold);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head.compact { margin-bottom: 12px; }
.section-head span { color: var(--muted); font-size: .86rem; }

.section-note {
  color: var(--muted);
  font-size: .86rem;
}

.history-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 214, 102, .14);
}

.match-showcase {
  display: grid;
  grid-template-columns: 1fr 180px 1fr 280px;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}

.team-block {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}

.flag-circle {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,.05));
  font-size: 3.4rem;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: var(--violet-glow);
}

.flag-circle.small {
  width: 78px;
  height: 78px;
  font-size: 2.3rem;
}

.team-block strong {
  font-size: 1.1rem;
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.15;
}

.match-center {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
}

.match-center span,
.match-center em {
  color: var(--muted);
  font-style: normal;
  font-size: .82rem;
}

.match-center strong {
  font-size: 2rem;
}

.match-center b {
  color: var(--gold);
  font-size: 2.4rem;
  text-shadow: var(--gold-glow);
}

.countdown-panel {
  padding: 14px;
  border-left: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}

.countdown-panel > span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.countdown-grid div {
  padding: 10px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.countdown-grid strong {
  display: block;
  color: var(--gold);
  font-size: 1.35rem;
}

.countdown-grid small {
  color: var(--muted);
  font-size: .68rem;
  text-transform: uppercase;
}

.doctor-countdown {
  margin: 2px 0 4px;
}

.doctor-countdown div {
  padding: 8px 6px;
}

.doctor-countdown strong {
  font-size: 1.08rem;
}

.countdown-panel p,
.participant-card p,
.action-cards p,
.support-card p,
.activity-list p,
.registration-copy p,
.benefit-card p {
  color: var(--muted);
  line-height: 1.42;
}

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

.participant-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.participant-card h3 {
  margin: 0;
  text-transform: uppercase;
}

.red-team { box-shadow: inset 0 0 0 1px rgba(255, 84, 112, .16); }
.blue-team { box-shadow: inset 0 0 0 1px rgba(109, 183, 255, .16); }

.avatar-row {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.avatar-row span,
.avatar-row b,
.activity-list span,
.small-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 201, 77, .28);
  color: #1a1100;
  background: linear-gradient(145deg, #fff0b1, var(--gold));
  font-size: .72rem;
  font-weight: 900;
}

.avatar-row span,
.avatar-row b { margin-right: -8px; }
.avatar-row b { background: rgba(255,255,255,.1); color: #fff; }

.fixture-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fixture-section .section-head {
  align-items: flex-start;
  margin-bottom: 26px;
}

.fixture-title-lockup {
  display: flex;
  align-items: center;
  gap: 22px;
}

.fixture-title-lockup h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.fixture-title-lockup h2 strong,
.rules-panel strong b {
  color: var(--gold);
}

.fixture-title-lockup p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
}

.fixture-ball-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 201, 77, .3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 77, .14), rgba(255,255,255,.03));
  box-shadow: 0 0 34px rgba(255, 201, 77, .16);
  color: var(--gold);
}

.fixture-ball-icon svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 0 14px rgba(255, 201, 77, .34));
}

.fixture-section .section-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.76);
}

.fixture-section .section-note svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.match-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 410px;
  padding: 24px;
  border: 1px solid rgba(255, 201, 77, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(7, 10, 30, .32), rgba(8, 8, 22, .86)),
    radial-gradient(circle at 50% 48%, rgba(170, 65, 255, .26), transparent 18%),
    linear-gradient(135deg, rgba(22, 18, 48, .96), rgba(8, 8, 22, .96));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03), 0 18px 48px rgba(0,0,0,.22);
  overflow: hidden;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .24;
  pointer-events: none;
}

.match-card > * {
  position: relative;
  z-index: 1;
}

.match-date {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 700;
}

.match-date svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.match-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 156px;
}

.match-team {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-width: 0;
  text-align: center;
}

.match-team strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.match-flag {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 2px solid rgba(255, 201, 77, .52);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  box-shadow: 0 0 28px rgba(255, 201, 77, .16), 0 0 34px rgba(174, 73, 255, .16);
  overflow: hidden;
}

.match-flag .fi {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-size: cover;
  box-shadow: inset 0 10px 16px rgba(255,255,255,.4), inset 0 -10px 18px rgba(0,0,0,.22);
}

.match-stage > b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  color: var(--gold);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-shadow: 0 0 20px rgba(255, 201, 77, .42);
}

.match-note {
  min-height: 26px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  text-align: center;
}

.match-reward {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: .95rem;
  font-weight: 900;
}

.match-reward svg {
  width: 18px;
  height: 18px;
}

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-self: end;
}

.choice {
  min-height: 58px;
  border: 1px solid rgba(180, 92, 255, .58);
  border-radius: 8px;
  color: var(--text);
  background: rgba(122, 44, 176, .12);
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.choice:hover,
.choice.selected {
  color: #1a1100;
  background: linear-gradient(180deg, #ffe28a, var(--gold));
  box-shadow: var(--gold-glow);
}

.choice[disabled] {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}

.action-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.rules-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.rules-panel article {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 201, 77, .24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 20%, rgba(170, 65, 255, .2), transparent 26%),
    linear-gradient(145deg, rgba(18, 16, 38, .92), rgba(8, 9, 22, .96));
}

.rules-panel article > span {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 201, 77, .42);
  border-radius: 50%;
  background: rgba(122, 44, 176, .16);
  box-shadow: 0 0 30px rgba(180, 92, 255, .26);
}

.rules-panel svg {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.rules-panel strong {
  display: block;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  text-transform: uppercase;
}

.rules-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.38;
}

.challenge-summary {
  display: grid;
  gap: 12px;
}

.challenge-summary div {
  padding: 14px;
  border: 1px solid rgba(255, 201, 77, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.challenge-summary span,
.challenge-summary p {
  color: var(--muted);
}

.challenge-summary span {
  display: block;
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.challenge-summary strong {
  display: block;
  margin: 4px 0;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.challenge-summary p {
  margin: 0;
}

.action-cards article,
.benefit-card {
  padding: 16px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #1a1100;
  background: linear-gradient(145deg, #fff0b1, var(--gold));
  box-shadow: var(--gold-glow);
  font-size: 1.25rem;
  font-weight: 900;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.right-rail {
  display: grid;
  gap: 18px;
}

.activity-card,
.support-card {
  padding: 18px;
}

.activity-list {
  display: grid;
  gap: 14px;
}

.activity-list div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.activity-list p {
  margin: 0;
  font-size: .9rem;
}

.support-card {
  border-color: rgba(154, 84, 255, .34);
  background: linear-gradient(135deg, rgba(72, 28, 125, .75), rgba(18, 16, 38, .92));
}

.registration-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: 16px;
  padding: 16px;
}

.registration-copy,
.login-copy {
  padding: 22px;
  border: 0;
  box-shadow: none;
  background: rgba(255,255,255,.035);
}

.register-card,
.login-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 0;
  box-shadow: none;
  background: rgba(255,255,255,.035);
}

.admin-login-copy {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(100%, 980px);
  min-height: 520px;
  margin: 0 auto;
  align-content: center;
  overflow: hidden;
  padding: 44px clamp(24px, 5vw, 68px);
  border: 1px solid rgba(59, 214, 177, .22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 18, 27, .96), rgba(12, 15, 29, .94)),
    radial-gradient(circle at 85% 18%, rgba(57, 214, 185, .16), transparent 28%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.admin-login-lockup {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.admin-login-lockup .brand-logo-image {
  width: min(250px, 100%);
}

.admin-login-copy h2 {
  max-width: 660px;
  font-size: clamp(2.25rem, 4.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.admin-login-copy p {
  max-width: 660px;
  color: rgba(255,255,255,.74);
  font-size: 1.12rem;
  line-height: 1.52;
}

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

.admin-login-actions .gold-cta,
.admin-login-actions .secondary-cta {
  min-width: min(100%, 190px);
  white-space: normal;
}

.photo-field {
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--muted);
}

.photo-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.photo-preview {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: 1px solid rgba(255, 201, 77, .35);
  color: var(--gold);
  background: rgba(255, 255, 255, .05);
  background-size: cover;
  background-position: center;
  font-size: 2rem;
  font-weight: 900;
}

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

.register-submit {
  justify-self: start;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
}

.doctor-selector {
  display: grid;
  grid-template-columns: minmax(280px, 440px) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
}

.doctor-profile-chip {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
}

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

.benefit-card span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefit-card strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 2rem;
}

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

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
}

.progress {
  overflow: hidden;
  height: 12px;
  margin: 8px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.progress-fill {
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--violet-2));
  box-shadow: var(--gold-glow);
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-right: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 201, 77, .24);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 201, 77, .08);
  font-size: .76rem;
  font-weight: 900;
}

.status.muted {
  color: var(--muted);
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.admin-view {
  margin-top: 22px;
  padding: 18px;
}

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

.admin-sidebar,
.admin-main-panel {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(14, 15, 34, .94), rgba(7, 8, 20, .96));
  box-shadow: var(--shadow);
}

.admin-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.admin-sidebar-brand {
  display: grid;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.admin-sidebar-brand .brand-logo-image {
  width: 170px;
}

.admin-sidebar-brand span {
  color: var(--muted);
  font-size: .84rem;
}

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

.admin-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  background: transparent;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu button.active,
.admin-menu button:hover {
  border-color: rgba(255, 201, 77, .26);
  color: var(--text);
  background: linear-gradient(135deg, rgba(124, 60, 255, .32), rgba(255, 201, 77, .08));
}

.admin-menu svg {
  width: 19px;
  height: 19px;
  color: var(--gold);
}

.admin-sidebar-actions {
  display: grid;
  gap: 10px;
}

.admin-main-panel {
  padding: 20px;
}

.admin-page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-page-head h1 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.admin-page-head p {
  margin: 0;
  color: var(--muted);
}

.admin-mobile-back {
  display: none;
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: grid;
  gap: 16px;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-stats-grid article {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 12%, rgba(255, 201, 77, .12), transparent 24%),
    rgba(255,255,255,.04);
}

.admin-stats-grid span,
.admin-subsection-title {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-stats-grid strong {
  display: block;
  margin: 8px 0 3px;
  color: var(--text);
  font-size: 2rem;
}

.admin-stats-grid small {
  color: var(--muted);
}

.compact-grid {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
}

.login-panel,
.admin-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

#adminLogin.login-panel {
  grid-template-columns: minmax(0, 1fr);
}

.admin-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.form-grid,
.admin-list {
  display: grid;
  gap: 12px;
}

.doctor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(4, minmax(78px, auto));
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.admin-order-row {
  grid-template-columns: minmax(0, 1fr) minmax(90px, auto) minmax(128px, auto) minmax(118px, auto);
}

.admin-mini-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.admin-mini-row strong,
.admin-mini-row small {
  display: block;
}

.admin-mini-row small {
  color: var(--muted);
  font-size: .78rem;
}

.admin-subsection-title {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.danger-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 99, 99, .32);
  border-radius: 8px;
  color: #ffb4b4;
  background: rgba(255, 77, 77, .08);
  font-weight: 900;
  cursor: pointer;
}

.danger-cta:hover {
  border-color: rgba(255, 99, 99, .58);
  background: rgba(255, 77, 77, .14);
}

.danger-cta svg {
  width: 16px;
  height: 16px;
}

.doctor-row small,
.row-metric span {
  color: var(--muted);
  font-size: .76rem;
}

.pill {
  justify-self: end;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(255, 201, 77, .08);
  font-size: .76rem;
  font-weight: 900;
}

.match-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.settings-form {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.settings-form p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.admin-match-results {
  display: grid;
  gap: 14px;
}

.admin-result-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 201, 77, .08), transparent 24%),
    rgba(255, 255, 255, .04);
}

.admin-result-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-result-main h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 6px;
  color: var(--text);
  font-size: 1.05rem;
}

.admin-result-main h3 b {
  color: var(--gold);
}

.admin-result-main p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
}

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

.admin-result-actions button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

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

.admin-prediction-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: rgba(5, 6, 17, .36);
}

.admin-prediction-row > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #090914;
  background: var(--gold);
  font-size: .76rem;
  font-weight: 900;
}

.admin-prediction-row p,
.admin-prediction-row small {
  display: grid;
  gap: 2px;
  margin: 0;
}

.admin-prediction-row small {
  color: var(--muted);
  font-size: .78rem;
}

.hidden { display: none !important; }

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 60, 255, .22), transparent 34%),
    rgba(3, 4, 11, .78);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid rgba(255, 201, 77, .22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 201, 77, .12), transparent 24%),
    linear-gradient(135deg, rgba(18, 16, 38, .98), rgba(8, 8, 22, .98));
  box-shadow: var(--shadow), var(--gold-glow);
}

.register-modal-card {
  display: grid;
  grid-template-columns: minmax(340px, .92fr) minmax(520px, 1.45fr);
  gap: 0;
  width: min(1320px, calc(100vw - 36px));
  max-height: min(92vh, 920px);
  border-color: rgba(155, 89, 255, .34);
  background:
    radial-gradient(circle at 13% 89%, rgba(255, 201, 77, .18), transparent 16%),
    radial-gradient(circle at 21% 74%, rgba(172, 68, 255, .28), transparent 22%),
    linear-gradient(135deg, rgba(8, 10, 24, .98), rgba(11, 12, 31, .98));
}

.premium-register-copy {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 42px;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 201, 77, .28), transparent 16%),
    radial-gradient(circle at 45% 92%, rgba(168, 63, 255, .58), transparent 26%),
    linear-gradient(180deg, rgba(8, 10, 24, .95), rgba(21, 10, 44, .88));
}

.premium-register-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 8, 20, .86) 0%, rgba(7, 8, 20, .76) 48%, rgba(7, 8, 20, .48) 100%),
    linear-gradient(180deg, rgba(7, 8, 20, .74) 0%, rgba(7, 8, 20, .38) 42%, rgba(7, 8, 20, .12) 100%);
  pointer-events: none;
}

.premium-register-copy > *:not(.register-hero-image) {
  position: relative;
  z-index: 2;
}

.register-hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .92;
  pointer-events: none;
  filter: saturate(1.05) contrast(1.04);
}

.register-brand {
  margin-bottom: 34px;
}

.register-brand .brand-logo-image {
  width: min(190px, 100%);
}

.register-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(190, 85, 255, .62);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(91, 28, 140, .34);
  font-size: .84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.premium-register-title {
  max-width: 360px;
  margin: 18px 0 12px;
  color: var(--text);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.premium-register-title strong,
.premium-register-lead b,
.terms-check b {
  color: var(--gold);
}

.premium-register-lead {
  max-width: 420px;
  margin: 0 0 22px;
  color: rgba(255,255,255,.88);
  font-size: 1.08rem;
  line-height: 1.45;
}

.legacy-register-copy {
  display: none;
}

.register-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-top: 18px;
  max-width: 390px;
}

.register-benefits div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.register-benefits div > span,
.form-title-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(169, 83, 255, .48);
  border-radius: 8px;
  color: var(--gold);
  background: linear-gradient(145deg, rgba(94, 26, 158, .78), rgba(32, 12, 76, .82));
  box-shadow: 0 0 22px rgba(144, 55, 255, .24);
}

.register-benefits div > span svg,
.form-title-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.9;
}

.register-benefits p {
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.35;
}

.register-benefits strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 1.02rem;
}

.premium-register-form {
  padding: 42px;
  background: rgba(8, 9, 24, .58);
}

.premium-register-form label,
.premium-register-form input,
.premium-register-form small,
.premium-register-form p,
.premium-register-form span {
  font-weight: 400;
}

.register-form-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.register-form-head > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.register-form-head h2,
.register-form-head p {
  grid-column: 2;
}

.register-form-head h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.7rem;
}

.register-form-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.form-title-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}

.register-body-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.premium-photo-field {
  margin-top: 28px;
}

.premium-photo-field .photo-preview {
  width: 162px;
  height: 162px;
  border: 2px solid rgba(184, 84, 255, .82);
  color: var(--gold);
  background-color: rgba(10, 10, 28, .8);
  box-shadow: 0 0 34px rgba(165, 67, 255, .42);
}

.premium-photo-field .photo-preview svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
}

.premium-photo-field strong {
  color: var(--text);
  font-weight: 500;
}

.premium-photo-field small {
  color: var(--muted);
}

.premium-register-form .register-fields {
  grid-template-columns: 1fr;
  gap: 16px;
}

.premium-register-form .register-fields label {
  position: relative;
  color: var(--text);
  font-size: .92rem;
  font-weight: 500;
}

.premium-register-form .register-fields label b {
  color: var(--gold);
  font-weight: 500;
}

.premium-register-form .register-fields label::before {
  position: absolute;
  left: 18px;
  bottom: 17px;
  z-index: 2;
  color: #b46cff;
  font-size: 1.1rem;
}

.premium-register-form .register-fields label:nth-child(1)::before { content: "👤"; }
.premium-register-form .register-fields label:nth-child(2)::before { content: "✉"; }
.premium-register-form .register-fields label:nth-child(4)::before,
.premium-register-form .register-fields label:nth-child(5)::before { content: "🔒"; }

.premium-register-form input,
.premium-register-form select {
  min-height: 54px;
  border-color: rgba(156, 98, 255, .24);
  background: rgba(255,255,255,.035);
}

.premium-register-form .register-fields > label:not(.whatsapp-field) input {
  padding-left: 52px;
}

.premium-register-form .register-fields label::before {
  content: none !important;
  display: none !important;
}

.field-control {
  position: relative;
  display: block;
}

.field-control svg {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 2;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  color: #b46cff;
  stroke-width: 1.9;
}

.field-control input {
  width: 100%;
  padding-left: 52px;
}

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

.phone-prefix {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(156, 98, 255, .24);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,.045);
  font-weight: 500;
}

.password-policy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 16px;
  border: 1px solid rgba(164, 86, 255, .3);
  border-radius: 8px;
  color: rgba(255,255,255,.84);
  background: linear-gradient(135deg, rgba(104, 38, 164, .22), rgba(255,255,255,.035));
}

.password-policy > span {
  color: #b46cff;
  font-size: 1.8rem;
}

.password-policy > span svg {
  width: 32px;
  height: 32px;
}

.password-policy p {
  margin: 0 10px 0 0;
  font-weight: 400;
}

.password-policy small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.86);
  font-weight: 400;
}

.password-policy small svg {
  width: 15px;
  height: 15px;
  color: #22c55e;
}

.terms-check {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-weight: 400;
}

.terms-check b {
  font-weight: 500;
}

.terms-check input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: #ffc94d;
}

.premium-register-form .register-submit {
  width: 100%;
  min-height: 58px;
  justify-self: stretch;
  font-size: 1.15rem;
  font-weight: 600;
}

.privacy-note {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  text-align: center;
  color: var(--muted);
  font-weight: 400;
}

.privacy-note svg {
  width: 17px;
  height: 17px;
  color: #b46cff;
}

.login-modal-card {
  display: grid;
  width: min(820px, calc(100vw - 36px));
  padding: 42px 86px 44px;
  border-color: rgba(184, 84, 255, .48);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 60, 255, .22), transparent 34%),
    radial-gradient(circle at 10% 96%, rgba(255, 201, 77, .08), transparent 22%),
    linear-gradient(145deg, rgba(17, 16, 38, .98), rgba(7, 8, 22, .98));
}

.login-modal-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 28px;
}

.login-brand {
  margin: 0;
}

.login-brand .brand-logo-image {
  width: min(260px, 100%);
}

.premium-login-copy {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0;
  text-align: center;
  background: transparent;
}

.login-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(184, 84, 255, .38);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255,255,255,.035);
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.login-access-badge svg {
  width: 18px;
  height: 18px;
}

.premium-login-copy h2 {
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.premium-login-copy h2 strong {
  color: var(--gold);
}

.premium-login-copy p {
  max-width: 540px;
  margin: 0 auto 14px;
  color: rgba(255,255,255,.68);
  font-size: 1.14rem;
  line-height: 1.36;
}

.premium-login-form {
  width: min(560px, 100%);
  justify-self: center;
  gap: 18px;
  padding: 0;
  background: transparent;
}

.premium-login-form label {
  color: rgba(255,255,255,.74);
  font-weight: 600;
  font-size: .92rem;
}

.login-select-control {
  position: relative;
  display: block;
}

.login-select-control > svg:first-child,
.login-select-control > svg:last-child {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--gold);
}

.login-select-control > svg:first-child {
  left: 18px;
  width: 26px;
  height: 26px;
}

.login-select-control > svg:last-child {
  right: 18px;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,.88);
}

.login-select-control select {
  width: 100%;
  min-height: 62px;
  padding: 0 54px 0 70px;
  appearance: none;
  border-color: rgba(156, 98, 255, .26);
  color: var(--text);
  background: rgba(255,255,255,.04);
  font-size: 1.08rem;
  font-weight: 700;
}

.premium-login-form .field-control input {
  min-height: 62px;
  border-color: rgba(156, 98, 255, .26);
  background: rgba(255,255,255,.04);
  font-size: 1rem;
}

.login-error {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: -2px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 107, .42);
  border-radius: 8px;
  color: #ffd5d5;
  background: rgba(78, 14, 25, .42);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}

.login-error svg {
  width: 18px;
  height: 18px;
  color: #ff8b8b;
}

.login-error.hidden {
  display: none;
}

body.admin-route .premium-login-form .field-control input {
  border-color: rgba(59, 214, 177, .28);
}

body.admin-route .login-access-badge {
  border-color: rgba(59, 214, 177, .36);
  color: #8fffe2;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.login-options label {
  display: inline-flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.82);
  font-weight: 400;
}

.login-options input {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: #b46cff;
}

.login-options .link-button {
  min-height: auto;
  padding: 0;
  border: 0;
  color: #d37bff;
  background: transparent;
  font-weight: 600;
}

.login-submit {
  width: 100%;
  min-height: 62px;
  font-size: 1.22rem;
}

.login-privacy {
  max-width: 480px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  line-height: 1.45;
}

.order-modal-card {
  width: min(1120px, calc(100vw - 34px));
  max-height: min(94vh, 940px);
  padding: clamp(24px, 4vw, 44px);
  border-color: rgba(255, 201, 77, .58);
  background:
    radial-gradient(circle at 78% 14%, rgba(124, 60, 255, .18), transparent 26%),
    radial-gradient(circle at 16% 92%, rgba(255, 201, 77, .12), transparent 28%),
    linear-gradient(145deg, rgba(13, 14, 30, .98), rgba(6, 8, 19, .99));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .58), 0 0 0 1px rgba(255, 201, 77, .08) inset, 0 0 48px rgba(255, 201, 77, .11);
}

.order-modal-head {
  display: grid;
  gap: 14px;
  padding-right: 78px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.order-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-kicker span,
.order-summary-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 201, 77, .42);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 201, 77, .07);
}

.order-kicker svg {
  width: 28px;
  height: 28px;
}

.order-modal-head h2 {
  max-width: 1040px;
  margin: 0;
  color: #fff8e9;
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3rem, 5.2vw, 4.55rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.order-modal-head p {
  max-width: 780px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 1.38;
}

.order-form {
  display: grid;
  gap: 22px;
  padding-top: 26px;
  background: transparent;
}

.profile-modal-card {
  width: min(860px, 100%);
}

.profile-form {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.profile-photo-field {
  min-height: 220px;
  margin: 0;
}

.profile-edit-fields {
  display: grid;
  gap: 16px;
}

.decision-modal-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(560px, calc(100vw - 36px));
  padding: 34px;
  text-align: center;
  border-color: rgba(184, 84, 255, .42);
  background:
    radial-gradient(circle at 50% 0%, rgba(124, 60, 255, .24), transparent 36%),
    linear-gradient(145deg, rgba(17, 16, 38, .98), rgba(7, 8, 22, .98));
}

.decision-modal-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 201, 77, .3);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(124, 60, 255, .18);
  box-shadow: var(--violet-glow);
}

.decision-modal-icon svg {
  width: 30px;
  height: 30px;
}

.decision-modal-card h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.decision-modal-card > p {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.76);
  line-height: 1.45;
}

.decision-summary {
  display: grid;
  gap: 8px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 201, 77, .18);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  text-align: left;
}

.decision-summary span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.decision-summary strong {
  color: var(--text);
  font-size: 1.1rem;
}

.decision-summary p {
  margin: 8px 0 0;
  color: var(--gold);
}

.decision-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 12px;
  width: 100%;
}

.winner-icon {
  border-color: rgba(255, 201, 77, .45);
  background: rgba(255, 201, 77, .1);
}

.winner-discount {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 201, 77, .24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 196, 57, .14), rgba(124, 60, 255, .12));
}

.winner-discount span {
  display: block;
  color: var(--gold);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
}

.winner-discount p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
}

.benefits-modal-card {
  display: grid;
  gap: 22px;
  width: min(880px, calc(100vw - 36px));
  padding: 34px;
  border-color: rgba(255, 201, 77, .42);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 201, 77, .16), transparent 24%),
    radial-gradient(circle at 10% 90%, rgba(124, 60, 255, .22), transparent 28%),
    linear-gradient(145deg, rgba(17, 16, 38, .98), rgba(7, 8, 22, .98));
}

.benefits-modal-head {
  display: grid;
  gap: 10px;
  padding-right: 42px;
}

.benefits-modal-head .benefit-promo-icon {
  margin: 0;
}

.benefits-modal-head h2 {
  margin: 0;
  color: var(--text);
  font-family: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 0;
}

.benefits-modal-head p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 1.04rem;
  line-height: 1.45;
}

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

.benefits-steps article {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(255, 201, 77, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(124, 60, 255, .1));
}

.benefit-step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #100b01;
  background: var(--gold);
  font-weight: 900;
}

.benefits-steps article > svg {
  width: 34px;
  height: 34px;
  color: var(--gold);
}

.benefits-steps h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
}

.benefits-steps strong {
  color: var(--gold);
  font-size: 2.4rem;
  line-height: .9;
}

.benefits-steps p {
  margin: 0;
  color: rgba(255,255,255,.74);
  line-height: 1.42;
}

.benefits-cap {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 201, 77, .28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 196, 57, .12), rgba(124, 60, 255, .12));
}

.benefits-cap span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 201, 77, .08);
}

.benefits-cap p {
  margin: 0;
  color: rgba(255,255,255,.8);
}

.benefits-cap strong {
  color: var(--text);
}

.participant-modal-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  width: min(820px, calc(100vw - 36px));
  padding: 30px;
  border-color: rgba(255, 201, 77, .38);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 201, 77, .14), transparent 22%),
    radial-gradient(circle at 88% 12%, rgba(124, 60, 255, .18), transparent 26%),
    linear-gradient(145deg, rgba(17, 16, 38, .98), rgba(7, 8, 22, .98));
}

.participant-photo-large {
  display: grid;
  place-items: center;
  width: 220px;
  aspect-ratio: 1;
  align-self: start;
  justify-self: center;
  border: 2px solid rgba(255, 201, 77, .42);
  border-radius: 50%;
  color: #130e02;
  background:
    radial-gradient(circle at 34% 24%, rgba(255,255,255,.42), transparent 18%),
    var(--gold);
  background-size: cover;
  background-position: center;
  font-size: 3rem;
  font-weight: 900;
  box-shadow: var(--gold-glow), 0 22px 52px rgba(0,0,0,.34);
}

.participant-modal-body {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding-right: 36px;
}

.participant-modal-body h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

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

.participant-detail-grid div {
  padding: 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}

.participant-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.participant-detail-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
}

.participant-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.participant-date svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.participant-products {
  padding: 14px;
  border: 1px solid rgba(255, 201, 77, .18);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.participant-products h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
}

.participant-products ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}

.participant-products strong {
  color: var(--gold);
}

.order-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 244px 168px;
  gap: 28px;
  align-items: end;
}

.order-builder label {
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  font-weight: 700;
}

.order-product-field .field-control input {
  min-height: 76px;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  font-size: 1.2rem;
}

.order-product-field .field-control svg {
  color: var(--gold);
}

.order-stepper {
  display: grid;
  grid-template-columns: 72px minmax(84px, 1fr) 72px;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.055);
}

.order-stepper button,
.order-stepper input {
  min-width: 0;
  min-height: 76px;
  border: 0;
  border-radius: 0;
  color: var(--text);
  background: transparent;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.order-stepper button {
  display: grid;
  place-items: center;
  color: var(--gold);
  border-right: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
}

.order-stepper button:last-child {
  border-right: 0;
  border-left: 1px solid rgba(255,255,255,.12);
}

.order-stepper svg {
  width: 24px;
  height: 24px;
}

.order-add-button {
  min-height: 76px;
  border-color: rgba(255, 201, 77, .78);
  color: var(--gold);
  background: rgba(255, 201, 77, .04);
  font-size: 1.18rem;
  font-weight: 900;
}

.order-items {
  display: grid;
  gap: 10px;
  min-height: 150px;
}

.order-item,
.order-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 214, 102, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.order-item {
  border-color: rgba(255, 201, 77, .2);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(124, 60, 255, .08));
}

.order-item strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.order-item small {
  color: var(--muted);
}

.order-summary {
  display: grid;
  grid-template-columns: 92px 160px 170px minmax(0, 1fr);
  align-items: center;
  padding: 22px 28px;
  border-color: rgba(255, 201, 77, .35);
  background: linear-gradient(135deg, rgba(255, 196, 57, .12), rgba(101, 43, 167, .24));
}

.order-summary strong {
  color: var(--gold);
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: .9;
}

.order-summary-label {
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.15;
}

.order-summary p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: 1.06rem;
  line-height: 1.4;
}

.order-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -4px 0 0;
  color: var(--gold);
  font-size: 1.05rem;
}

.order-note svg {
  width: 22px;
  height: 22px;
}

.order-submit {
  min-height: 76px;
  width: 100%;
  font-size: clamp(1.2rem, 2.7vw, 1.65rem);
  font-weight: 900;
}

.order-submit svg {
  width: 30px;
  height: 30px;
}

.qty-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.qty-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 32px;
  min-height: 32px;
  border: 1px solid rgba(255, 214, 102, .25);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.qty-controls .remove {
  padding: 0 10px;
  color: var(--muted);
}

.qty-controls svg {
  width: 16px;
  height: 16px;
}

.qty-controls span {
  min-width: 28px;
  text-align: center;
  color: var(--gold);
  font-weight: 900;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  font-size: 1.5rem;
  line-height: 1;
}

.modal-close:hover {
  border-color: rgba(255, 201, 77, .42);
  color: var(--gold);
}

.order-modal-close {
  top: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-color: rgba(255, 201, 77, .42);
  color: var(--gold);
  background: rgba(255, 201, 77, .05);
}

.order-modal-close svg {
  width: 30px;
  height: 30px;
}

.empty {
  padding: 16px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 8px;
  color: var(--muted);
}

.order-items .empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 24px;
  border-color: rgba(255, 201, 77, .42);
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.025);
  text-align: center;
  font-size: 1.12rem;
}

.order-items .empty svg {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 201, 77, .08);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 201, 77, .28);
  border-radius: 8px;
  color: var(--text);
  background: rgba(10, 10, 24, .96);
  box-shadow: var(--shadow), var(--gold-glow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .app-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .content-grid,
  .doctor-home { grid-template-columns: 1fr; }
  .right-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1500px) {
  .next-match-doctor-card,
  .participation-card,
  .create-order-card {
    grid-column: span 12;
  }
}

@media (max-width: 980px) {
  .app-shell { display: block; }
  .left-rail { position: relative; height: auto; display: none; }
  .main-stage { padding: 16px; }
  .topbar { grid-template-columns: 1fr; }
  .icon-button { display: none; }
  .topnav, .search-box { display: none; }
  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .top-actions .gold-cta,
  .top-actions .secondary-cta {
    width: 100%;
    min-width: 0;
  }
  .hero-card, .match-showcase, .registration-panel, .login-panel, .admin-grid, .match-form, .settings-form, .order-builder {
    grid-template-columns: 1fr;
  }
  .admin-workspace {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
  .admin-menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .admin-menu button {
    justify-content: center;
    padding: 0 8px;
    font-size: .82rem;
  }
  .admin-sidebar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-stats-grid,
  .compact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-order-row,
  .doctor-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .danger-cta {
    width: 100%;
  }
  .order-modal-card {
    padding: 24px;
  }
  .order-modal-head {
    padding-right: 54px;
  }
  .order-modal-head h2 {
    font-size: clamp(2.65rem, 10vw, 4rem);
  }
  .order-summary {
    grid-template-columns: 64px 1fr;
  }
  .order-summary strong {
    grid-column: 1 / -1;
  }
  .order-summary p {
    grid-column: 1 / -1;
  }
  .order-stepper {
    grid-template-columns: 64px minmax(84px, 1fr) 64px;
  }
  .admin-result-main,
  .admin-result-actions,
  .admin-prediction-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .benefits-steps {
    grid-template-columns: 1fr;
  }
  .benefits-modal-card {
    padding: 28px;
  }
  .participant-modal-card {
    grid-template-columns: 1fr;
  }
  .participant-photo-large {
    width: 180px;
  }
  .participant-modal-body {
    padding-right: 0;
  }
  .register-modal-card,
  .login-modal-card {
    grid-template-columns: 1fr;
  }
  .login-modal-card {
    padding: 34px 28px;
  }
  .admin-login-copy {
    min-height: auto;
    padding: 28px 22px;
  }
  .admin-login-copy h2 {
    font-size: 2.8rem;
  }
  .admin-login-actions .gold-cta,
  .admin-login-actions .secondary-cta {
    width: 100%;
    justify-content: center;
  }
  .login-modal-top {
    flex-direction: column;
    gap: 16px;
  }
  .premium-register-copy {
    min-height: auto;
    padding: 28px;
  }
  .premium-register-copy::after {
    display: block;
    background:
      linear-gradient(180deg, rgba(7, 8, 20, .82) 0%, rgba(7, 8, 20, .68) 56%, rgba(7, 8, 20, .22) 100%),
      linear-gradient(90deg, rgba(7, 8, 20, .8), rgba(7, 8, 20, .34));
  }
  .register-hero-image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center bottom;
    opacity: .82;
  }
  .register-body-grid {
    grid-template-columns: 1fr;
  }
  .profile-form {
    grid-template-columns: 1fr;
  }
  .premium-photo-field {
    margin-top: 0;
  }
  .register-form-head {
    flex-direction: column;
  }
  .hero-card {
    min-height: 520px;
    padding: 22px;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(5, 6, 17, .98) 0%, rgba(5, 6, 17, .9) 46%, rgba(5, 6, 17, .38) 74%, rgba(5, 6, 17, .7) 100%),
      url("/assets/hero-imageback.webp") 70% center / cover no-repeat,
      linear-gradient(135deg, #050611, #111024 64%, #21143e);
  }
  .hero-card::before {
    background:
      linear-gradient(142deg, transparent 0 62%, rgba(255, 201, 77, .8) 62% 63%, rgba(255, 201, 77, .14) 63% 69%, transparent 69% 100%),
      repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 72px);
  }
  .hero-card::after {
    background: linear-gradient(180deg, rgba(5, 6, 17, .78) 0%, rgba(5, 6, 17, .52) 48%, rgba(5, 6, 17, .2) 100%);
  }
  .countdown-panel { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .fixture-strip, .action-cards, .rules-panel, .benefit-grid, .participant-grid, .right-rail {
    grid-template-columns: 1fr;
  }
  .fixture-section .section-head,
  .fixture-title-lockup,
  .rules-panel article {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .fixture-title-lockup {
    display: grid;
    gap: 14px;
  }
  .match-card {
    min-height: auto;
    padding: 18px;
  }
  .match-stage {
    gap: 12px;
    min-height: 132px;
  }
  .doctor-match-stage {
    grid-template-columns: 1fr;
  }
  .team-prediction-social {
    width: 100%;
  }
  .match-flag {
    width: 82px;
    height: 82px;
  }
  .match-stage > b {
    min-width: 44px;
    font-size: 2rem;
  }
  .rules-panel article {
    min-height: 0;
  }
  .doctor-home-main {
    grid-template-columns: 1fr;
  }
  .doctor-dashboard-topbar {
    grid-template-columns: 1fr;
  }
  .doctor-search-box {
    justify-self: stretch;
    max-width: none;
  }
  .doctor-top-actions {
    justify-content: space-between;
  }
  .doctor-welcome-card,
  .doctor-metric-card,
  .doctor-table-card,
  .doctor-benefit-strip {
    grid-column: auto;
  }
  .doctor-welcome-card {
    grid-template-columns: 1fr;
  }
  .doctor-welcome-orb {
    display: none;
  }
  .doctor-benefit-strip {
    grid-template-columns: 1fr 1fr;
  }
  .doctor-benefit-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 12px;
  }
}

@media (max-width: 560px) {
  .topbar { gap: 10px; width: 100%; }
  .top-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .gold-cta, .secondary-cta { padding: 0 12px; }
  .hero-card,
  .next-match-card,
  .participants-section,
  .fixture-section,
  .doctor-dashboard,
  .admin-view,
  .support-card,
  .activity-card {
    max-width: calc(100vw - 32px);
  }
  .hero-copy h1 { font-size: 2.45rem; }
  .register-fields, .doctor-selector { grid-template-columns: 1fr; }
  .premium-register-form { padding: 22px; }
  .premium-login-copy h2 { font-size: 2.75rem; }
  .premium-login-copy p { font-size: 1rem; }
  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
  .decision-actions {
    grid-template-columns: 1fr;
  }
  .phone-row { grid-template-columns: 1fr; }
  .password-policy { align-items: flex-start; }
  .modal { padding: 10px; }
  .modal-card { max-height: 94vh; }
  .benefits-modal-card {
    width: min(100%, calc(100vw - 28px));
    padding: 20px;
  }
  .participant-modal-card {
    width: min(100%, calc(100vw - 28px));
    padding: 20px;
  }
  .participant-detail-grid {
    grid-template-columns: 1fr;
  }
  .benefits-modal-card .modal-close {
    top: 12px;
    right: 12px;
  }
  .benefits-modal-head {
    padding-right: 36px;
  }
  .benefits-cap {
    grid-template-columns: 1fr;
  }
  .admin-main-panel,
  .admin-sidebar {
    padding: 14px;
  }
  .admin-menu,
  .admin-sidebar-actions,
  .admin-stats-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .admin-page-head {
    display: grid;
  }
  .order-modal-card {
    width: calc(100vw - 20px);
    padding: 18px;
  }
  .order-modal-close {
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
  }
  .order-modal-close svg {
    width: 22px;
    height: 22px;
  }
  .order-modal-head {
    gap: 10px;
    padding-right: 46px;
    padding-bottom: 20px;
  }
  .order-kicker {
    gap: 10px;
    font-size: .82rem;
  }
  .order-kicker span {
    width: 42px;
    height: 42px;
  }
  .order-modal-head p {
    font-size: 1rem;
  }
  .order-form {
    gap: 16px;
    padding-top: 18px;
  }
  .order-builder {
    gap: 14px;
  }
  .order-product-field .field-control input,
  .order-stepper,
  .order-stepper button,
  .order-stepper input,
  .order-add-button,
  .order-submit {
    min-height: 58px;
  }
  .order-summary {
    padding: 16px;
  }
  .order-summary-icon {
    width: 54px;
    height: 54px;
  }
  .order-submit {
    font-size: 1.08rem;
  }
  .participant-card { grid-template-columns: 1fr; }
  .doctor-row { grid-template-columns: 1fr; }
  .doctor-dashboard-row {
    grid-template-columns: 1fr;
  }
  .doctor-breadcrumb {
    display: grid;
    gap: 6px;
  }
  .doctor-breadcrumb span {
    padding-left: 0;
    border-left: 0;
  }
  .doctor-benefit-strip {
    grid-template-columns: 1fr;
  }
  .doctor-match-stage {
    grid-template-columns: 1fr;
  }
  .doctor-welcome-card,
  .doctor-metric-card,
  .doctor-table-card,
  .doctor-profile-card {
    padding: 18px;
  }
}
