:root{
  --bg:#080b12;
  --surface:#10151f;
  --surface-2:#151c28;
  --surface-3:#1b2432;
  --border:#263142;
  --text:#f5f7fa;
  --muted:#8d99aa;
  --accent:#b7ff3c;
  --accent-dark:#8fcf22;
  --danger:#ff6b6b;
  --warning:#ffca68;
  --success:#63e6a5;
  --theme-glow:rgba(183,255,60,.105);
  --theme-glow-secondary:rgba(64,110,255,.085);
  --theme-shift:0deg;
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 18px 50px rgba(0,0,0,.28);
}

*{
  box-sizing:border-box;
}

html{
  background:var(--bg);
  color-scheme:dark;
}

body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(900px 520px at 82% -8%,var(--theme-glow),transparent 58%),
    radial-gradient(760px 520px at -12% 8%,var(--theme-glow-secondary),transparent 60%),
    radial-gradient(620px 420px at 50% 46%,rgba(255,255,255,.018),transparent 68%),
    linear-gradient(180deg,#070a10 0%,#080b12 42%,#06090e 100%);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.app{
  position:relative;
  width:100%;
  max-width:680px;
  margin:0 auto;
  padding:24px 16px 48px;
}

header{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
  margin:4px 0 26px;
}

.mark{
  position:relative;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:15px;
  display:grid;
  place-items:center;
  background:
    linear-gradient(145deg,#caff63 0%,#b7ff3c 52%,#99df2d 100%);
  color:#080d0a;
  font-size:25px;
  font-weight:900;
  box-shadow:
    0 10px 30px rgba(183,255,60,.17),
    inset 0 1px 0 rgba(255,255,255,.4);
  text-shadow:0 1px 0 rgba(255,255,255,.2);
}

.mark::after{
  content:"";
  position:absolute;
  inset:4px;
  border:1px solid rgba(8,13,10,.12);
  border-radius:11px;
  pointer-events:none;
}

h1{
  margin:0;
  font-size:25px;
  line-height:1.05;
  letter-spacing:-.75px;
  font-weight:900;
  color:#f7f9fc;
  text-shadow:0 6px 22px rgba(0,0,0,.28);
}

.brand p{
  margin:4px 0 0;
  color:#7f8b9d;
  font-size:11px;
  line-height:1.25;
  font-weight:650;
  letter-spacing:.2px;
}

h2{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.12;
  letter-spacing:-.55px;
  font-weight:850;
  color:#f3f6fa;
  text-shadow:0 5px 20px rgba(0,0,0,.22);
}

h3{
  margin:0 0 10px;
  font-size:17px;
  line-height:1.2;
  letter-spacing:-.25px;
  font-weight:800;
  color:#e9edf3;
}

p{
  margin:5px 0;
  color:#9ba6b6;
  line-height:1.58;
  letter-spacing:.05px;
}

.muted{
  color:#7f8b9d;
  font-size:.94em;
  letter-spacing:.08px;
}

.card{
  position:relative;
  overflow:hidden;
  margin:14px 0;
  padding:21px;
  background:
    linear-gradient(145deg,rgba(18,25,37,.98),rgba(8,12,19,.99));
  border:1px solid rgba(255,255,255,.085);
  border-radius:20px;
  box-shadow:
    0 22px 55px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.card::before{
  content:"";
  position:absolute;
  top:0;
  left:18px;
  right:18px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(183,255,60,.16),transparent);
  pointer-events:none;
}

label{
  display:block;
  margin:15px 0 8px;
  color:#dce2ea;
  font-size:12px;
  font-weight:800;
  letter-spacing:.45px;
  text-transform:uppercase;
}

input,
select{
  width:100%;
  min-height:50px;
  padding:13px 14px;
  border:1px solid rgba(255,255,255,.095);
  border-radius:14px;
  outline:none;
  background:
    linear-gradient(145deg,rgba(21,29,42,.96),rgba(11,16,24,.98));
  color:#f2f5f8;
  font:inherit;
  font-size:16px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 22px rgba(0,0,0,.12);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
}

input::placeholder{
  color:#687486;
}

input:hover,
select:hover{
  border-color:rgba(255,255,255,.14);
}

input:focus,
select:focus{
  border-color:rgba(183,255,60,.55);
  background:
    linear-gradient(145deg,rgba(25,34,47,.98),rgba(11,16,24,.99));
  box-shadow:
    0 0 0 3px rgba(183,255,60,.085),
    0 10px 26px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.045);
}

select{
  appearance:auto;
}

button{
  min-height:50px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius-sm);
  padding:13px 16px;
  background:
    linear-gradient(135deg,#c7ff5a 0%,#b7ff3c 52%,#a1e832 100%);
  color:#080d0a;
  font:inherit;
  font-size:15px;
  font-weight:850;
  letter-spacing:-.1px;
  cursor:pointer;
  box-shadow:
    0 10px 24px rgba(183,255,60,.11),
    inset 0 1px 0 rgba(255,255,255,.32);
  transition:transform .18s ease,filter .18s ease,background .18s ease,box-shadow .18s ease;
}

button:hover{
  filter:brightness(1.045);
  box-shadow:
    0 13px 30px rgba(183,255,60,.15),
    inset 0 1px 0 rgba(255,255,255,.38);
}

button:active{
  transform:translateY(1px) scale(.985);
}

button:disabled{
  opacity:.6;
  cursor:wait;
}

.secondary{
  background:
    linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  color:#edf1f6;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 10px 24px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.055);
}

.secondary:hover{
  background:
    linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));
  border-color:rgba(183,255,60,.22);
  filter:none;
}

.card>#convert,
#loginBtn,
#registerBtn{
  width:100%;
  margin-top:18px;
  background:var(--accent);
  color:#090d12;
}

.hidden{
  display:none!important;
}

.row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);
  gap:8px;
  align-items:end;
}

.arrow{
  display:grid;
  place-items:center;
  padding-bottom:12px;
  color:var(--accent);
  font-size:20px;
  font-weight:900;
}

.codeRow{
  display:flex;
  gap:8px;
}

.codeRow input{
  min-width:0;
}

.codeRow button{
  width:auto;
  flex:0 0 auto;
}

.status,
#status{
  min-height:20px;
  margin-top:12px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}

.resultTop{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.resultCode{
  margin:14px 0;
  padding:18px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  background:#090d14;
  color:var(--accent);
  text-align:center;
  font-size:26px;
  font-weight:900;
  letter-spacing:2px;
  overflow-wrap:anywhere;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

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

.actions button{
  width:100%;
}

.actions button:first-child{
  background:var(--accent);
  color:#090d12;
}

.stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--border);
  text-align:center;
}

.stats b{
  display:block;
  color:var(--text);
  font-size:20px;
}

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

.success{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 9px;
  border:1px solid rgba(99,230,165,.25);
  border-radius:999px;
  background:rgba(99,230,165,.10);
  color:var(--success);
  font-size:11px;
  font-weight:850;
  letter-spacing:.4px;
}

.warning{
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(255,202,104,.20);
  border-radius:var(--radius-sm);
  background:rgba(255,202,104,.08);
  color:var(--warning);
}

.info{
  background:linear-gradient(180deg,#101722,#0d131c);
}

footer{
  padding:10px 20px;
  color:#687486;
  text-align:center;
  font-size:11px;
  line-height:1.5;
}

.accountHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
}

.accountHead span{
  padding:6px 9px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:11px;
  white-space:nowrap;
}

.accountDetails{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:17px;
  padding-top:16px;
  border-top:1px solid var(--border);
}

.accountDetails div{
  padding:12px;
  border-radius:var(--radius-sm);
  background:var(--surface-2);
  border:1px solid var(--border);
}

.accountDetails small{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:11px;
}

.accountDetails b{
  font-size:13px;
}

.account>button{
  width:100%;
  margin-top:12px;
}



.historyItem{
  padding:13px 0;
  border-bottom:1px solid var(--border);
}

.historyItem:last-child{
  border-bottom:0;
}

.historyItem span{
  color:var(--accent);
  font-weight:800;
  letter-spacing:1px;
}

.historyItem b{
  color:var(--text);
  font-size:13px;
}

.passwordWrap{
  position:relative;
  width:100%;
}

.passwordWrap input{
  width:100%;
  padding-right:52px;
}

.togglePassword{
  position:absolute;
  top:50%;
  right:7px;
  min-width:40px;
  min-height:40px;
  padding:8px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:var(--muted);
  box-shadow:none;
}

.togglePassword:hover{
  background:var(--surface-3);
}

.forgotBtn{
  display:block;
  min-height:auto;
  margin:9px 0 4px auto;
  padding:4px 0;
  background:transparent;
  color:var(--accent);
  font-size:13px;
  font-weight:700;
}

.linkBtn{
  min-height:auto;
  padding:0;
  background:transparent;
  color:var(--accent);
  font-size:14px;
  font-weight:750;
}

.switchText{
  margin-top:17px;
  text-align:center;
  font-size:14px;
}

.authSpinner{
  display:inline-block;
  width:14px;
  height:14px;
  margin-right:8px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:authSpin .7s linear infinite;
  vertical-align:-2px;
}

@keyframes authSpin{
  to{
    transform:rotate(360deg);
  }
}

@media (max-width:520px){
  .app{
    padding:17px 12px 32px;
  }

  header{
    margin-bottom:18px;
  }

  .card{
    padding:17px;
    border-radius:16px;
  }

  h1{
    font-size:22px;
  }

  h2{
    font-size:19px;
  }

  .resultCode{
    font-size:22px;
  }

  .accountHead{
    flex-direction:column;
  }

  .accountHead span{
    white-space:normal;
  }
}

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

/* ===== P2 MOBILE DASHBOARD ===== */

.dashboardHero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(183,255,60,.12), transparent 38%),
    linear-gradient(145deg, var(--surface-2), var(--surface));
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

.dashboardWelcome {
  min-width: 0;
}

.dashboardWelcome h2 {
  margin: 5px 0 7px;
  font-size: clamp(25px, 7vw, 34px);
  line-height: 1.05;
  letter-spacing: -.8px;
}

.dashboardWelcome p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 460px;
}

.heroIcon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(183,255,60,.25);
  border-radius: 18px;
  color: var(--accent);
  background: rgba(183,255,60,.08);
  font-size: 27px;
  font-weight: 800;
}

.dashboardStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 14px;
}

.dashboardStat {
  min-width: 0;
  padding: 14px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
}

.dashboardStat .statIcon {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 12px;
}

.dashboardStat div {
  min-width: 0;
}

.dashboardStat b,
.dashboardStat small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboardStat b {
  font-size: 15px;
}

.dashboardStat small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.quickActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.quickAction {
  min-height: 86px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
}

.quickAction:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.quickAction > span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 18px;
}

.quickAction strong,
.quickAction small {
  display: block;
}

.quickAction strong {
  font-size: 14px;
}

.quickAction small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 420px) {
  .dashboardHero {
    padding: 20px 16px;
  }

  .heroIcon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .dashboardStats {
    gap: 6px;
  }

  .dashboardStat {
    padding: 11px 8px;
    gap: 6px;
  }

  .dashboardStat .statIcon {
    display: none;
  }

  .dashboardStat b {
    font-size: 13px;
  }

  .dashboardStat small {
    font-size: 9px;
  }
}


/* ===== P3 PROFESSIONAL CONVERSION SCREEN ===== */

.converterCard {
  position: relative;
  overflow: hidden;
}

.converterCard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: .75;
}

.converterCard .sectionHeading {
  margin-bottom: 20px;
}

.converterCard .sectionHeading h2 {
  margin-bottom: 5px;
}

.converterCard .sectionHeading p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.routeBox {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface-2);
  margin-bottom: 20px;
}

.routePoint {
  display: flex;
  align-items: center;
  gap: 12px;
}

.routePoint > div {
  flex: 1;
  min-width: 0;
}

.routePoint label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  color: var(--muted);
}

.routeNumber {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-3);
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
}

.routePoint select {
  width: 100%;
}

.routeConnector {
  height: 25px;
  margin-left: 15px;
  border-left: 1px dashed var(--border);
  display: flex;
  align-items: center;
}

.routeConnector span {
  width: 24px;
  height: 24px;
  margin-left: -12px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
}

.codeSection {
  margin-bottom: 17px;
}

.inputHeading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.inputHeading label {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.inputHeading span {
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}

#code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: .4px;
}

#convert {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 800;
}

.buttonArrow {
  font-size: 20px;
  line-height: 1;
}

.conversionHint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(183,255,60,.045);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.conversionHint span:first-child {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 420px) {
  .routeBox {
    padding: 12px;
  }

  .inputHeading {
    display: block;
  }

  .inputHeading span {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

  #convert {
    min-height: 52px;
  }
}


/* P5 — Conversion result route */
.resultRoute{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:10px 0 14px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.03);
  font-size:13px;
  font-weight:600;
}

.routeArrow{
  opacity:.5;
  font-size:16px;
}

#resultFrom,#resultTo{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


/* P5 — Conversion analysis summary */
.resultSummary{
  margin:14px 0 10px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}

.resultSummary span{
  display:block;
  font-size:13px;
  font-weight:700;
}

.resultSummary small{
  display:block;
  margin-top:4px;
  opacity:.65;
  font-size:11px;
  line-height:1.45;
}


/* P6 — Matching status visualization */
.matchStatus{
  display:flex;
  align-items:center;
  gap:10px;
  margin:12px 0;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.03);
}

.matchStatus > div{
  min-width:0;
}

.matchStatus b{
  display:block;
  font-size:13px;
}

.matchStatus small{
  display:block;
  margin-top:3px;
  opacity:.65;
  font-size:11px;
  line-height:1.4;
}

.matchStatus.good #matchIndicator{
  opacity:.9;
}

.matchStatus.review #matchIndicator{
  opacity:.65;
}


/* P7 — Copy / Share action feedback */
.actionStatus{
  min-height:16px;
  margin-top:8px;
  text-align:center;
  font-size:11px;
  line-height:1.4;
  opacity:.7;
}

/* P8 — History Vault */
.historyVault .sectionHeading{
  align-items:flex-start;
}

.historyVault .sectionHeading > div{
  min-width:0;
}

.historyVault .sectionHeading .muted{
  margin:4px 0 0;
  font-size:11px;
  line-height:1.4;
}

.historyClear{
  flex:0 0 auto;
  padding:8px 11px;
  font-size:11px;
}

.historyItem{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 0;
  border-top:1px solid rgba(255,255,255,.07);
}

.historyMain{
  min-width:0;
  flex:1;
}

.historyMain b{
  display:block;
  font-size:13px;
  line-height:1.3;
}

.historyMain small{
  display:block;
  margin-top:3px;
  font-size:10px;
  opacity:.5;
}

.historyMain span{
  display:block;
  margin-top:7px;
  padding:8px 9px;
  border-radius:9px;
  background:rgba(255,255,255,.035);
  font-size:11px;
  line-height:1.35;
  word-break:break-all;
  opacity:.8;
}

.historyCopy{
  flex:0 0 auto;
  padding:8px 10px;
  font-size:10px;
}

.historyEmpty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:24px 12px;
  text-align:center;
  border:1px dashed rgba(255,255,255,.09);
  border-radius:12px;
}

.historyEmpty b{
  font-size:13px;
}

.historyEmpty span{
  font-size:11px;
  opacity:.55;
}

/* P9 — Account / Credits / Plans */
.accountVault .accountHead{
  align-items:flex-start;
}

.planPanel{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.planInfo,
.creditInfo{
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.035);
}

.planInfo strong,
.creditInfo strong{
  display:block;
  margin-top:4px;
  font-size:18px;
}

.planInfo small,
.creditInfo small{
  display:block;
  margin-top:3px;
  font-size:10px;
  opacity:.55;
}

.planActions{
  display:flex;
  gap:9px;
  margin-top:12px;
}

.planActions button{
  flex:1;
}

.plansPanel{
  margin-top:12px;
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.plansHeading b{
  display:block;
  font-size:13px;
}

.plansHeading small{
  display:block;
  margin-top:4px;
  font-size:10px;
  line-height:1.4;
  opacity:.55;
}

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

.planOption{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
}

.planOption strong{
  font-size:13px;
}

.planOption span{
  font-size:10px;
  line-height:1.35;
  opacity:.6;
}

.planOption b{
  margin-top:4px;
  font-size:10px;
  opacity:.7;
}

@media(max-width:420px){
  .planPanel,
  .planOptions{
    grid-template-columns:1fr;
  }
}

.multiConvertBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  padding:12px 14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.multiConvertBar > div{
  min-width:0;
}

.multiConvertBar b{
  display:block;
  font-size:13px;
}

.multiConvertBar small{
  display:block;
  margin-top:3px;
  font-size:10px;
  line-height:1.4;
  opacity:.55;
}

.multiConvertBar button{
  flex:0 0 auto;
  padding:8px 11px;
  font-size:11px;
}

.multiPanel{
  margin-top:10px;
  padding:13px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:12px;
  background:rgba(255,255,255,.02);
}

.multiHeading b{
  display:block;
  font-size:13px;
}

.multiHeading small{
  display:block;
  margin-top:3px;
  font-size:10px;
  opacity:.55;
}

#multiCodes{
  display:block;
  width:100%;
  min-height:110px;
  margin-top:10px;
  box-sizing:border-box;
  resize:vertical;
  font:inherit;
  line-height:1.5;
}

#multiConvert{
  width:100%;
  margin-top:9px;
}

#multiStatus{
  min-height:16px;
  margin-top:8px;
  text-align:center;
  font-size:11px;
  line-height:1.4;
  opacity:.7;
}

.multiResult{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:9px;
  padding:11px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:rgba(255,255,255,.025);
}

.multiResult b{
  font-size:12px;
}

.multiResult span{
  font-size:10px;
  opacity:.55;
  word-break:break-all;
}

.multiResult strong{
  margin-top:4px;
  padding:8px 9px;
  border-radius:8px;
  background:rgba(255,255,255,.04);
  font-size:11px;
  line-height:1.4;
  word-break:break-all;
}

.multiResult small{
  font-size:10px;
  opacity:.55;
  line-height:1.4;
}

.recoveryPanel{
  margin-top:10px;
  padding:13px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.recoveryHead b{
  display:block;
  margin-top:3px;
  font-size:13px;
}

.recoveryHead small{
  display:block;
  margin-top:4px;
  font-size:10px;
  line-height:1.45;
  opacity:.6;
  word-break:break-word;
}

.recoveryActions{
  display:flex;
  gap:9px;
  margin-top:11px;
}

.recoveryActions button{
  flex:1;
}


/* =========================================================
   PHASE 1 — PROFESSIONAL PUBLIC HOMEPAGE
   ========================================================= */

.publicHome{
  width:100%;
  max-width:1100px;
  margin:0 auto;
  padding:8px 0 20px;
}

.publicNav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:4px 0 28px;
}

.publicBrand{
  display:flex;
  align-items:center;
  gap:11px;
}

.publicBrand .mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:13px;
  font-size:21px;
}

.publicBrand strong{
  display:block;
  font-size:17px;
  letter-spacing:-.2px;
}

.publicBrand span{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:11px;
}

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

.publicNavActions button{
  min-height:42px;
  padding:10px 14px;
  font-size:13px;
}

.navLoginBtn{
  background:transparent;
  color:var(--text);
  border:1px solid var(--border);
}

.navGetStarted{
  background:var(--accent);
  color:#090d12;
}

.heroSection{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);
  gap:46px;
  align-items:center;
  padding:58px 0 68px;
  isolation:isolate;
}

.heroSection::before{
  content:"";
  position:absolute;
  inset:-90px -120px -110px;
  z-index:-2;
  background:
    radial-gradient(520px 360px at 18% 42%,rgba(183,255,60,.075),transparent 68%),
    radial-gradient(460px 360px at 84% 50%,rgba(76,110,245,.055),transparent 70%);
  pointer-events:none;
}

.heroSection::after{
  content:"";
  position:absolute;
  left:8%;
  right:8%;
  bottom:18px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(183,255,60,.18),rgba(255,255,255,.08),transparent);
  pointer-events:none;
}

.heroCopy{
  max-width:620px;
}

.heroCopy h2{
  margin:10px 0 18px;
  font-size:clamp(40px,6vw,68px);
  line-height:.96;
  letter-spacing:-3.2px;
  text-wrap:balance;
  text-shadow:0 12px 40px rgba(0,0,0,.32);
}

.heroText{
  max-width:560px;
  font-size:17px;
  line-height:1.7;
}

.heroActions{
  display:flex;
  gap:10px;
  margin-top:26px;
}

.heroActions button{
  min-width:130px;
}

.heroTrust{
  display:flex;
  flex-wrap:wrap;
  gap:9px 14px;
  margin-top:21px;
  color:#aeb8c7;
  font-size:11px;
  font-weight:650;
  letter-spacing:.15px;
}

.heroTrust span{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#aeb8c7;
}

.heroTrust span::before{
  content:"";
  width:5px;
  height:5px;
  flex:0 0 5px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 10px rgba(183,255,60,.42);
}

.heroPreview{
  position:relative;
  min-height:390px;
  display:grid;
  place-items:center;
}

.previewGlow{
  position:absolute;
  width:270px;
  height:270px;
  border-radius:50%;
  background:rgba(183,255,60,.08);
  filter:blur(30px);
}

.previewWindow{
  position:relative;
  width:min(100%,410px);
  padding:22px;
  border:1px solid #303c4d;
  border-radius:24px;
  background:linear-gradient(145deg,#151c28,#0b1018);
  box-shadow:0 30px 80px rgba(0,0,0,.42);
  transform:rotate(1deg);
}

.previewTop{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:24px;
}

.previewTop strong{
  display:block;
  margin-top:4px;
  font-size:18px;
}

.previewEyebrow,
.previewField span,
.previewMarkets span{
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  letter-spacing:1.2px;
}

.previewDot{
  color:var(--accent);
  font-size:12px;
}

.previewField{
  padding:16px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#0c1119;
}

.previewField strong{
  display:block;
  margin-top:7px;
  color:#dce2ea;
  font-size:14px;
}

.previewMarkets{
  display:grid;
  grid-template-columns:1fr 32px 1fr;
  gap:8px;
  align-items:center;
  margin:12px 0;
}

.previewMarkets>div:not(.previewArrow){
  padding:14px;
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--surface-2);
}

.previewMarkets strong{
  display:block;
  margin-top:5px;
  font-size:13px;
}

.previewArrow{
  text-align:center;
  color:var(--accent);
  font-weight:900;
}

.previewButton{
  padding:14px;
  border-radius:13px;
  background:var(--accent);
  color:#090d12;
  text-align:center;
  font-size:14px;
  font-weight:850;
}

.previewStatus{
  margin-top:14px;
  color:#9da8b8;
  text-align:center;
  font-size:11px;
}

.previewStatus span{
  color:var(--success);
}

.trustStrip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.trustStrip>div{
  padding:22px 18px;
}

.trustStrip>div+div{
  border-left:1px solid var(--border);
}

.trustStrip strong{
  display:block;
  margin-bottom:5px;
  font-size:15px;
}

.trustStrip span{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

.homeSection{
  padding:80px 0 10px;
}

.sectionHeading{
  max-width:650px;
  margin-bottom:28px;
}

.sectionHeading h2{
  margin:9px 0 8px;
  font-size:clamp(27px,4vw,38px);
  letter-spacing:-1px;
}

.sectionHeading p{
  font-size:15px;
}

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

.homeCard{
  padding:23px;
  min-height:185px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:linear-gradient(145deg,var(--surface),#0d121a);
}

.homeCard h3{
  margin:10px 0 7px;
  font-size:17px;
}

.homeCard p{
  font-size:13px;
  line-height:1.65;
}

.stepNumber{
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:1px;
}

.featureIcon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:rgba(183,255,60,.09);
  border:1px solid rgba(183,255,60,.16);
  color:var(--accent);
  font-size:20px;
  font-weight:900;
}

.featureCard{
  min-height:200px;
}

.homeCta{
  margin:80px 0 20px;
  padding:46px 24px;
  border:1px solid var(--border);
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 20%,rgba(183,255,60,.10),transparent 30%),
    linear-gradient(145deg,#131a24,#0c1118);
  text-align:center;
}

.homeCta h2{
  max-width:620px;
  margin:10px auto 8px;
  font-size:clamp(28px,5vw,43px);
  letter-spacing:-1.4px;
}

.homeCta p{
  margin-bottom:22px;
}

.homeCta button{
  min-width:190px;
}

.publicFooter{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:28px 0 8px;
  color:var(--muted);
  font-size:11px;
}

.publicFooter strong{
  color:var(--text);
  font-size:13px;
}

.publicFooter p{
  margin-top:4px;
  font-size:11px;
}

@media (max-width:760px){
  .publicHome{
    padding:0 0 10px;
  }

  .publicNav{
    padding-bottom:18px;
  }

  .publicBrand span{
    display:none;
  }

  .publicNavActions .navLoginBtn{
    display:none;
  }

  .heroSection{
    grid-template-columns:1fr;
    gap:30px;
    padding:28px 0 40px;
  }

  .heroCopy h2{
    font-size:44px;
    letter-spacing:-2px;
  }

  .heroText{
    font-size:15px;
  }

  .heroPreview{
    min-height:350px;
  }

  .previewWindow{
    transform:none;
  }

  .trustStrip{
    grid-template-columns:1fr;
  }

  .trustStrip>div{
    padding:17px 4px;
  }

  .trustStrip>div+div{
    border-left:0;
    border-top:1px solid var(--border);
  }

  .stepsGrid,
  .featureGrid{
    grid-template-columns:1fr;
  }

  .homeSection{
    padding-top:60px;
  }

  .homeCard{
    min-height:auto;
  }

  .publicFooter{
    flex-direction:column;
  }
}

@media (min-width:761px){
  .app{
    max-width:1140px;
    padding-left:28px;
    padding-right:28px;
  }
}


/* PHASE 2 — Professional branding */
.publicBrandIcon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  background:
    linear-gradient(145deg,rgba(183,255,60,.16),rgba(12,18,27,.92));
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    0 0 22px rgba(183,255,60,.07),
    inset 0 1px 0 rgba(255,255,255,.12);
  object-fit: cover;
}

.publicBrand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.publicBrand strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.publicBrand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.publicNavActions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navLoginBtn,
.navGetStarted {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  font-weight: 700;
  cursor: pointer;
}

.navLoginBtn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}

.navGetStarted {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #080b12;
}

.navLoginBtn:hover {
  background: var(--surface-2);
}

.navGetStarted:hover {
  background: var(--accent-dark);
}

@media (max-width: 560px) {
  .publicBrandIcon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .publicBrand span {
    display: none;
  }

  .navLoginBtn,
  .navGetStarted {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .publicNavActions {
    gap: 7px;
  }
}

/* PHASE 6 — Pricing & Plans */
.pricingGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.priceCard {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.priceCardPro {
  border-color: rgba(183,255,60,.3);
  background:
    linear-gradient(145deg, rgba(183,255,60,.06), transparent 55%),
    var(--surface);
}

.priceBadge {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 7px;
  background: rgba(183,255,60,.08);
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.priceCard h3 {
  margin: 16px 0 7px;
  font-size: 22px;
}

.priceDescription {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.priceFeatures {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.priceFeatures li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  font-size: 13px;
}

.priceFeatures li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.priceButton {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 11px;
  background: var(--accent);
  color: #080b12;
  font-weight: 800;
  cursor: pointer;
}

.priceButton:hover:not(:disabled) {
  background: var(--accent-dark);
}

.disabledPrice {
  border-color: var(--border);
  background: var(--surface-2);
  color: var(--muted);
  cursor: not-allowed;
}

@media (max-width: 680px) {
  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .priceCard {
    padding: 22px;
  }
}

/* PHASE 7 — TRUST, SECURITY & RELIABILITY */
.securitySection {
  position: relative;
}

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

.securityCard {
  position: relative;
  overflow: hidden;
}

.securityCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: #b7ff3c;
  opacity: .7;
}

.securityIcon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(183,255,60,.22);
  border-radius: 12px;
  background: rgba(183,255,60,.07);
  color: #b7ff3c;
  font-size: 18px;
  font-weight: 800;
}

.securityCard h3 {
  margin-bottom: 8px;
}

.securityCard p {
  color: rgba(255,255,255,.68);
  line-height: 1.7;
}

.securityNote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(183,255,60,.14);
  border-radius: 16px;
  background: rgba(183,255,60,.035);
}

.securityNote strong {
  color: #fff;
  white-space: nowrap;
}

.securityNote span {
  color: rgba(255,255,255,.62);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .securityGrid {
    grid-template-columns: 1fr;
  }

  .securityNote {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .securityNote strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .securityCard {
    transition: none;
  }
}


/* PHASE 8 — FAQ & SUPPORT */
.faqSection {
  position: relative;
}

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

.faqItem {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  overflow: hidden;
}

.faqItem summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  cursor: pointer;
  list-style: none;
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
}

.faqItem summary::-webkit-details-marker {
  display: none;
}

.faqItem summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #b7ff3c;
  font-size: 22px;
  font-weight: 400;
}

.faqItem[open] summary {
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.faqItem[open] summary::after {
  content: "−";
}

.faqItem p {
  margin: 0;
  padding: 0 20px 20px;
  color: rgba(255,255,255,.64);
  line-height: 1.7;
}

.faqItem:hover {
  border-color: rgba(183,255,60,.18);
  background: rgba(255,255,255,.035);
}

@media (max-width: 760px) {
  .faqGrid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faqItem {
    scroll-behavior: auto;
  }
}


/* PHASE 9 — MOBILE / RESPONSIVE POLISH */
@media (max-width: 760px) {
  .publicNav {
    gap: 12px;
  }

  .publicNavActions {
    gap: 8px;
  }

  .navGetStarted {
    padding: 10px 13px;
    font-size: 12px;
  }

  .heroCopy h2 {
    max-width: 100%;
  }

  .heroActions {
    flex-wrap: wrap;
  }

  .heroActions button {
    flex: 1 1 150px;
  }

  .pricingGrid {
    grid-template-columns: 1fr;
  }

  .securityGrid {
    grid-template-columns: 1fr;
  }

  .faqGrid {
    grid-template-columns: 1fr;
  }

  .homeCta {
    padding: 48px 22px;
  }

  .homeCta h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .publicNav {
    align-items: center;
  }

  .publicBrand strong {
    font-size: 14px;
  }

  .publicBrandIcon {
    width: 34px;
    height: 34px;
  }

  .navGetStarted {
    padding: 9px 11px;
    font-size: 11px;
  }

  .heroSection {
    padding-top: 20px;
  }

  .heroCopy h2 {
    font-size: 36px;
    line-height: 1.04;
  }

  .heroActions {
    width: 100%;
  }

  .heroActions button {
    width: 100%;
    flex-basis: 100%;
  }

  .previewWindow {
    padding: 18px;
  }

  .previewMarkets {
    gap: 8px;
  }

  .priceCard {
    padding: 22px;
  }

  .securityNote {
    padding: 16px;
  }

  .homeCta {
    margin-top: 48px;
    padding: 42px 18px;
  }
}

@media (max-width: 360px) {
  .publicNavActions .navGetStarted {
    padding-left: 9px;
    padding-right: 9px;
  }

  .heroCopy h2 {
    font-size: 32px;
  }

  .homeSection {
    padding-top: 50px;
  }

  .homeCta h2 {
    font-size: 28px;
  }
}



/* PHASE B-A PREMIUM MOBILE HERO */
.publicHome{
  width:100%;
  overflow:hidden;
}

.publicNav{
  position:sticky;
  top:10px;
  z-index:20;
  margin:0 0 18px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(16,21,31,.88);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.publicBrand{
  min-width:0;
}

.publicBrand strong{
  font-size:15px;
  letter-spacing:-.2px;
}

.publicBrand span{
  color:#7f8a9c;
  font-size:11px;
}

.publicNavActions{
  gap:7px;
}

.publicNavActions button{
  min-height:42px;
  padding:9px 12px;
  font-size:13px;
}

.heroSection{
  position:relative;
  isolation:isolate;
  padding:30px 0 8px;
}

.heroCopy{
  position:relative;
  z-index:2;
}

.heroCopy h2{
  max-width:620px;
  margin-top:10px;
  font-size:clamp(34px,9vw,58px);
  line-height:.98;
  letter-spacing:-1.8px;
}

.heroText{
  max-width:540px;
  margin-top:16px;
  font-size:16px;
  line-height:1.65;
  color:#aab4c3;
}

.heroActions{
  margin-top:22px;
  gap:10px;
}

.heroActions button{
  min-height:54px;
  border-radius:14px;
  padding:14px 18px;
  font-size:15px;
}

.heroTrust{
  margin-top:18px;
  gap:8px 14px;
}

.heroTrust span{
  font-size:12px;
  color:#9ba6b6;
}

.heroPreview{
  position:relative;
  margin-top:28px;
  padding:6px 0 10px;
}

.previewWindow{
  position:relative;
  z-index:2;
  border:1px solid rgba(183,255,60,.16);
  box-shadow:
    0 28px 70px rgba(0,0,0,.42),
    0 0 45px rgba(183,255,60,.06);
}

.previewGlow{
  opacity:.8;
}

.trustStrip{
  margin-top:18px;
  border-color:rgba(255,255,255,.07);
  background:rgba(16,21,31,.72);
}

/* HOMEPAGE VISUAL PROJECT 1 — LAYOUT/GRID */
.heroSection{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,460px);
  align-items:center;
  gap:64px;
  width:100%;
}

.heroCopy{
  min-width:0;
  width:100%;
}

.heroPreview{
  min-width:0;
  width:100%;
  position:relative;
  isolation:isolate;
}

.heroPreview::before{
  content:"";
  position:absolute;
  inset:-70px -50px;
  z-index:-2;
  background:
    radial-gradient(420px 300px at 58% 38%,rgba(183,255,60,.10),transparent 65%),
    radial-gradient(360px 280px at 82% 72%,rgba(64,110,255,.07),transparent 68%),
    radial-gradient(300px 240px at 28% 78%,rgba(255,255,255,.025),transparent 70%);
  filter:blur(8px);
  pointer-events:none;
}

.heroPreview::after{
  content:"";
  position:absolute;
  inset:-20px;
  z-index:-1;
  background:
    linear-gradient(90deg,rgba(6,9,14,.30),transparent 42%,rgba(6,9,14,.12)),
    radial-gradient(circle at 50% 50%,transparent 38%,rgba(4,7,12,.38) 100%);
  pointer-events:none;
}

@media (max-width:860px){
  .heroSection{
    grid-template-columns:1fr;
    gap:30px;
  }

  .heroCopy,
  .heroPreview{
    width:100%;
  }
}

@media (max-width:560px){
  .app{
    padding:14px 12px 34px;
  }

  .appHeader{
    margin-bottom:14px;
  }

  .publicNav{
    top:6px;
    padding:9px;
  }

  .publicBrandIcon{
    width:34px;
    height:34px;
  }

  .publicBrand span{
    display:none;
  }

  .publicNavActions button{
    min-height:40px;
    padding:8px 10px;
  }

  .heroSection{
    padding-top:24px;
  }

  .heroCopy h2{
    font-size:clamp(34px,10.5vw,48px);
  }

  .heroText{
    font-size:15px;
    line-height:1.6;
  }

  .heroActions{
    display:grid;
    grid-template-columns:1fr;
  }

  .heroActions button{
    width:100%;
  }

  .heroTrust{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .heroPreview{
    margin-top:24px;
  }
}

/* PHASE B-A CHANGE 3 — PREMIUM CONVERSION PREVIEW */
.previewWindow{
  padding:24px;
  border-radius:26px;
  border:1px solid rgba(255,255,255,.105);
  background:
    linear-gradient(145deg,rgba(25,33,47,.97),rgba(8,12,19,.99));
  box-shadow:
    0 34px 90px rgba(0,0,0,.52),
    0 0 45px rgba(183,255,60,.055),
    inset 0 1px 0 rgba(255,255,255,.055);
  overflow:hidden;
}

.previewWindow::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(300px 180px at 15% 0%,rgba(183,255,60,.075),transparent 68%),
    linear-gradient(120deg,rgba(255,255,255,.035),transparent 35%);
  pointer-events:none;
}

".previewWindow::after{
  content:"";
  position:absolute;
  top:-90px;
  right:-80px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:rgba(183,255,60,.055);
  filter:blur(34px);
  pointer-events:none;
}

.previewWindow{
  transform:translateY(0) rotate(1deg);
  will-change:transform;
}

.previewWindow::before{
  z-index:0;
}

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

.previewTop{
  position:relative;
  z-index:1;
  padding-bottom:17px;
  border-bottom:1px solid rgba(255,255,255,.075);
}

.previewEyebrow{
  display:block;
  margin-bottom:6px;
  color:var(--accent);
  font-size:9px;
  font-weight:900;
  letter-spacing:1.8px;
  text-transform:uppercase;
  text-shadow:0 0 18px rgba(183,255,60,.28);
}

.previewTop strong{
  font-size:16px;
  letter-spacing:-.35px;
  line-height:1.2;
  color:#f7f9fc;
  text-shadow:0 5px 20px rgba(0,0,0,.35);
}

.previewDot{
  color:var(--success);
  font-size:11px;
}

.previewField{
  position:relative;
  z-index:1;
  margin-top:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 12px 28px rgba(0,0,0,.16);
}

.previewField span,
.previewMarkets span{
  display:block;
  margin-bottom:6px;
  color:#788497;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px;
}

.previewField strong{
  font-size:22px;
  letter-spacing:1.5px;
}

.previewMarkets{
  display:grid;
  grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr);
  align-items:center;
  gap:8px;
  margin-top:12px;
}

.previewMarkets>div:not(.previewArrow){
  position:relative;
  min-width:0;
  padding:14px 12px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:14px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.012));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    0 8px 20px rgba(0,0,0,.12);
}

.previewMarkets strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:14px;
  line-height:1.25;
  color:#eef2f7;
}

.previewArrow{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border:1px solid rgba(183,255,60,.16);
  border-radius:50%;
  color:var(--accent);
  background:rgba(183,255,60,.045);
  font-size:15px;
  font-weight:900;
  box-shadow:0 0 22px rgba(183,255,60,.08);
}

.previewButton{
  position:relative;
  overflow:hidden;
  margin-top:15px;
  min-height:50px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  background:
    linear-gradient(135deg,#c7ff5a 0%,#b7ff3c 48%,#9ee62f 100%);
  color:#071008;
  font-size:14px;
  font-weight:900;
  letter-spacing:-.15px;
  box-shadow:
    0 14px 30px rgba(183,255,60,.16),
    inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow:0 1px 0 rgba(255,255,255,.18);
}

.previewButton::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.22) 50%,transparent 70%);
  transform:translateX(-120%);
  pointer-events:none;
}

.previewStatus{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:13px;
  color:#aab4c3;
  font-size:11px;
  letter-spacing:.15px;
}

.previewStatus>span{
  width:7px;
  height:7px;
  border-radius:50%;
  color:transparent;
  background:var(--success);
  box-shadow:0 0 12px rgba(99,230,165,.55);
}

@media (max-width:560px){
  .previewWindow{
    padding:15px;
    border-radius:19px;
  }

  .previewField strong{
    font-size:20px;
  }

  .previewMarkets{
    grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);
  }

  .previewMarkets>div:not(.previewArrow){
    padding:11px 9px;
  }

  .previewMarkets strong{
    font-size:13px;
  }
}

/* PHASE B-A CHANGE 4 — PREMIUM TRUST STRIP */
.trustStrip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:11px;
  margin:20px 0 8px;
}

.trustItem{
  position:relative;
  min-width:0;
  overflow:hidden;
  padding:15px 14px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:17px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.042),rgba(255,255,255,.012));
  box-shadow:
    0 14px 30px rgba(0,0,0,.13),
    inset 0 1px 0 rgba(255,255,255,.035);
}

.trustItem::before{
  content:"";
  position:absolute;
  top:0;
  left:14px;
  right:14px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(183,255,60,.24),transparent);
  pointer-events:none;
}

.trustItem strong{
  display:block;
  margin-bottom:5px;
  color:#f1f4f8;
  font-size:13px;
  font-weight:900;
  letter-spacing:-.2px;
}

.trustItem span{
  display:block;
  color:#8793a4;
  font-size:10px;
  line-height:1.5;
}

@media (max-width:560px){
  .trustStrip{
    grid-template-columns:1fr;
    gap:8px;
    margin-top:14px;
  }

  .trustItem{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:13px 14px;
  }

  .trustItem strong{
    margin:0;
    white-space:nowrap;
  }

  .trustItem span{
    text-align:right;
  }
}

/* PHASE B-A CHANGE 5 — PREMIUM MOBILE NAV */
.publicNav{
  position:sticky;
  top:0;
  z-index:30;
  padding:12px 0;
  background:
    linear-gradient(180deg,rgba(8,11,18,.98) 0%,rgba(8,11,18,.86) 72%,rgba(8,11,18,0) 100%);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.publicNav .publicNavInner{
  position:relative;
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:8px 10px 8px 14px;
  border:1px solid rgba(255,255,255,.085);
  border-radius:18px;
  background:
    linear-gradient(145deg,rgba(20,27,39,.92),rgba(10,15,23,.94));
  box-shadow:
    0 16px 40px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.publicBrand{
  min-width:0;
}

.publicBrand strong{
  font-size:16px;
  font-weight:900;
  letter-spacing:-.45px;
  line-height:1.05;
  color:#f5f7fa;
  text-shadow:0 5px 18px rgba(0,0,0,.28);
}

.publicBrand span{
  margin-top:3px;
  font-size:9px;
  font-weight:750;
  letter-spacing:1.15px;
  line-height:1;
  text-transform:uppercase;
  color:#7f8b9d;
}

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

.publicNavActions button{
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  font-size:12px;
  font-weight:850;
  letter-spacing:.05px;
  box-shadow:
    0 8px 20px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.055);
}

.publicNavActions .navLoginBtn{
  border:1px solid rgba(255,255,255,.11);
  background:
    linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  color:#e9edf3;
}

.publicNavActions .navLoginBtn:hover{
  border-color:rgba(183,255,60,.22);
  background:
    linear-gradient(145deg,rgba(183,255,60,.075),rgba(255,255,255,.025));
}

.publicNavActions .navGetStarted{
  border:1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(135deg,#c7ff5a 0%,#b7ff3c 52%,#9fe631 100%);
  color:#071008;
  box-shadow:
    0 10px 24px rgba(183,255,60,.14),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.publicNavActions .navGetStarted:hover{
  filter:brightness(1.045);
  box-shadow:
    0 12px 28px rgba(183,255,60,.18),
    inset 0 1px 0 rgba(255,255,255,.4);
}

@media (max-width:560px){
  .publicNav{
    padding:8px 0 10px;
  }

  .publicNav .publicNavInner{
    min-height:48px;
    padding:6px 7px 6px 12px;
    border-radius:16px;
  }

  .publicBrand strong{
    font-size:14px;
  }

  .publicBrand span{
    display:none;
  }

  .publicNavActions{
    gap:5px;
  }

  .publicNavActions button{
    min-height:34px;
    padding:0 10px;
    font-size:11px;
  }
}

/* PHASE B-A CHANGE 6 — MOBILE SECTION RHYTHM */
@media (max-width:560px){
  .publicHome{
    padding-bottom:20px;
  }

  .heroSection{
    padding-top:18px;
    padding-bottom:24px;
  }

  .heroCopy h2{
    max-width:11ch;
    margin-bottom:12px;
    line-height:1.04;
  }

  .heroText{
    max-width:42ch;
    font-size:13px;
    line-height:1.65;
  }

  .heroActions{
    gap:8px;
    margin-top:18px;
  }

  .heroActions .btn{
    min-height:46px;
  }

  .heroTrust{
    margin-top:13px;
    font-size:10px;
  }

  .heroPreview{
    margin-top:20px;
  }

  .homeSection{
    padding-top:28px;
    padding-bottom:28px;
  }

  .homeSection h3{
    margin-bottom:8px;
  }

  .stepsGrid,
  .featureGrid{
    gap:10px;
  }

  .stepCard,
  .featureCard{
    border-radius:17px;
  }

  .trustStrip{
    margin-bottom:4px;
  }
}

/* PHASE B-C CHANGE 1 — PREMIUM PASSWORD VISIBILITY CONTROL */
.passwordWrap{
  position:relative;
  width:100%;
}

.passwordWrap input{
  width:100%;
  padding-right:58px;
}

.togglePassword{
  position:absolute;
  top:50%;
  right:8px;
  width:40px;
  min-width:40px;
  height:40px;
  min-height:40px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateY(-50%);
  border:1px solid var(--border);
  border-radius:11px;
  background:var(--surface-2);
  color:var(--muted);
  box-shadow:0 4px 12px rgba(0,0,0,.14);
  font-size:0;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}

.togglePassword::before{
  content:"";
  width:17px;
  height:11px;
  border:1.7px solid currentColor;
  border-radius:12px / 9px;
  display:block;
  position:relative;
}

.togglePassword::after{
  content:"";
  position:absolute;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
}

.togglePassword:hover{
  background:var(--surface-3);
  border-color:var(--accent);
  color:var(--accent);
  box-shadow:0 6px 16px rgba(0,0,0,.2);
}

.togglePassword:active{
  transform:translateY(-50%) scale(.96);
}

.togglePassword:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
}

/* PHASE B-C CHANGE 2 — PASSWORD VISIBILITY STATE */
.togglePassword.is-visible{
  color:var(--accent);
  border-color:rgba(183,255,60,.35);
  background:rgba(183,255,60,.06);
}

.togglePassword.is-visible::before{
  opacity:.95;
}

.togglePassword.is-visible::after{
  width:22px;
  height:1.5px;
  border-radius:2px;
  background:currentColor;
  transform:rotate(-45deg);
}

.togglePassword.is-visible:hover{
  background:rgba(183,255,60,.1);
  border-color:var(--accent);
}

/* PHASE B-C CHANGE 3 — PREMIUM AUTH CARD PRESENTATION */
#loginCard,
#registerCard,
#forgotCard,
#resetCard{
  position:relative;
  margin-top:18px;
  padding:24px;
  background:
    linear-gradient(180deg,rgba(21,28,40,.98),rgba(14,19,28,.98));
  border:1px solid rgba(141,153,170,.18);
  border-radius:20px;
  box-shadow:
    0 22px 60px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.015);
}

#loginCard::before,
#registerCard::before,
#forgotCard::before,
#resetCard::before{
  content:"";
  position:absolute;
  top:0;
  left:24px;
  right:24px;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(183,255,60,.34),
    transparent
  );
}

#loginCard h2,
#registerCard h2,
#forgotCard h2,
#resetCard h2{
  margin-bottom:8px;
  font-size:22px;
  letter-spacing:-.45px;
}

#loginCard p,
#registerCard p,
#forgotCard p,
#resetCard p{
  line-height:1.55;
}

#loginCard label,
#registerCard label,
#forgotCard label,
#resetCard label{
  margin-top:17px;
}

#loginCard input,
#registerCard input,
#forgotCard input,
#resetCard input{
  background:rgba(21,28,40,.82);
}

#loginCard input:focus,
#registerCard input:focus,
#forgotCard input:focus,
#resetCard input:focus{
  background:var(--surface-3);
}

#loginCard .switchText,
#registerCard .switchText,
#forgotCard .switchText,
#resetCard .switchText{
  margin-top:19px;
  padding-top:17px;
  border-top:1px solid rgba(141,153,170,.12);
}

@media (max-width:520px){
  #loginCard,
  #registerCard,
  #forgotCard,
  #resetCard{
    padding:21px 18px;
    border-radius:18px;
  }

  #loginCard::before,
  #registerCard::before,
  #forgotCard::before,
  #resetCard::before{
    left:18px;
    right:18px;
  }
}

/* PHASE B-C CHANGE 4 — AUTH HIERARCHY & INTRO REFINEMENT */
.authCard{
  overflow:hidden;
}

.authIntro{
  margin-bottom:4px;
}

.authIntro .eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  border:1px solid rgba(183,255,60,.18);
  border-radius:999px;
  background:rgba(183,255,60,.055);
  color:var(--accent);
  font-size:10px;
  font-weight:850;
  letter-spacing:1.05px;
  line-height:1;
}

.authIntro h2{
  margin-top:13px;
  margin-bottom:8px;
  font-size:23px;
  line-height:1.15;
  letter-spacing:-.55px;
}

.authIntro p{
  max-width:520px;
  margin-top:0;
  color:#9aa6b7;
  font-size:14px;
  line-height:1.6;
}

.authCard > label:first-of-type{
  margin-top:22px;
}

.authCard .status{
  min-height:20px;
  margin-top:11px;
}

.authCard .forgotBtn{
  margin-top:8px;
}

.authCard .switchText{
  color:#8995a6;
}

.authCard .switchText .linkBtn{
  margin-left:3px;
}

#verificationScreen .authIntro{
  margin-bottom:2px;
}

#verificationScreen #verificationEmail{
  color:var(--text);
  font-weight:750;
}

#verificationScreen #verificationCountdown{
  margin-top:11px;
  text-align:center;
  font-size:13px;
}

#verificationScreen #resendVerificationBtn{
  display:block;
  margin:12px auto 0;
}

@media (max-width:520px){
  .authIntro h2{
    font-size:21px;
  }

  .authIntro p{
    font-size:13.5px;
  }

  .authIntro .eyebrow{
    font-size:9.5px;
  }
}

/* PHASE B-C CHANGE 5 — AUTH ACTION HIERARCHY */
.authCard .forgotBtn,
.authCard .linkBtn{
  position:relative;
  color:var(--accent);
  transition:
    color .18s ease,
    opacity .18s ease,
    transform .15s ease;
}

.authCard .forgotBtn::after,
.authCard .linkBtn::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:1px;
  background:currentColor;
  opacity:0;
  transform:scaleX(.35);
  transform-origin:center;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.authCard .forgotBtn:hover,
.authCard .linkBtn:hover{
  color:#d0ff82;
  filter:none;
}

.authCard .forgotBtn:hover::after,
.authCard .linkBtn:hover::after{
  opacity:.75;
  transform:scaleX(1);
}

.authCard .forgotBtn:active,
.authCard .linkBtn:active{
  transform:scale(.97);
}

.authCard .forgotBtn:focus-visible,
.authCard .linkBtn:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:4px;
}

.authCard .switchText{
  line-height:1.6;
}

#verificationScreen #resendVerificationBtn{
  font-size:13px;
  font-weight:750;
}

#verificationScreen #verificationBackBtn{
  font-size:13px;
}

@media (max-width:520px){
  .authCard .forgotBtn{
    min-height:36px;
    padding:8px 2px;
  }

  .authCard .linkBtn{
    min-height:34px;
    padding:6px 2px;
  }
}

/* PHASE B-C CHANGE 6 — AUTH RESPONSIVE CONSISTENCY & SELECTOR FIX */
.authCard{
  position:relative;
  margin-top:18px;
  padding:24px;
  background:
    linear-gradient(180deg,rgba(21,28,40,.98),rgba(14,19,28,.98));
  border:1px solid rgba(141,153,170,.18);
  border-radius:20px;
  box-shadow:
    0 22px 60px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.015);
}

.authCard::before{
  content:"";
  position:absolute;
  top:0;
  left:24px;
  right:24px;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(183,255,60,.34),
    transparent
  );
}

@media (max-width:520px){
  .authCard{
    margin-top:16px;
    padding:21px 18px;
    border-radius:18px;
  }

  .authCard::before{
    left:18px;
    right:18px;
  }

  .authCard .passwordWrap{
    width:100%;
  }

  .authCard .togglePassword{
    right:7px;
    width:40px;
    min-width:40px;
    height:40px;
    min-height:40px;
  }
}

/* ===== B7 EVIDENCE-BASED MATCH INTELLIGENCE ===== */

.analystWorkspace{
  position:relative;
  overflow:hidden;
  margin-bottom:14px;
}

.analystWorkspace::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:var(--accent);
  opacity:.75;
}

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

.analystHeading h2{
  margin:5px 0 6px;
}

.analystHeading p{
  margin:0;
  max-width:520px;
  line-height:1.5;
}

.analystVerifiedBadge{
  flex:0 0 auto;
  padding:7px 9px;
  border:1px solid rgba(183,255,60,.24);
  border-radius:999px;
  color:var(--accent);
  background:rgba(183,255,60,.07);
  font-size:9px;
  font-weight:800;
  letter-spacing:.8px;
}

.analystControls{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
  padding:14px;
  border:1px solid var(--border);
  border-radius:18px;
  background:var(--surface-2);
}

.analystControls label{
  display:block;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
}

.analystControls select{
  width:100%;
  margin-top:7px;
}

.analystControls button{
  min-height:46px;
  white-space:nowrap;
}

.analystStatus{
  margin-top:10px;
  padding:11px 13px;
  border-radius:13px;
  border:1px solid var(--border);
  color:var(--muted);
  background:var(--surface-2);
  font-size:12px;
  line-height:1.45;
}

.analystResult{
  margin-top:14px;
  padding-top:16px;
  border-top:1px solid var(--border);
}

.analystResultHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.analystResultHead h3{
  margin:5px 0 0;
  font-size:18px;
  line-height:1.35;
}

.analystConfidence{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface-2);
  color:var(--text);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.7px;
}

.analystEvidenceSummary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:14px;
}

.analystEvidenceSummary>div{
  padding:12px 10px;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface);
}

.analystEvidenceSummary strong,
.analystEvidenceSummary small{
  display:block;
}

.analystEvidenceSummary strong{
  font-size:17px;
}

.analystEvidenceSummary small{
  margin-top:3px;
  color:var(--muted);
  font-size:9px;
}

.analystInsights,
.analystWarnings{
  margin-top:16px;
}

.analystSubhead{
  display:flex;
  flex-direction:column;
  gap:3px;
  margin-bottom:9px;
}

.analystSubhead strong{
  font-size:13px;
}

.analystInsight{
  padding:13px;
  margin-top:8px;
  border:1px solid var(--border);
  border-radius:16px;
  background:var(--surface-2);
}

.analystInsightTitle{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
}

.analystInsightTitle::before{
  content:"";
  width:6px;
  height:6px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--accent);
}

.analystInsight p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

.analystInsight .analystEvidenceLine{
  margin-top:8px;
  color:var(--text);
  font-size:10px;
  line-height:1.45;
}

.analystWarning{
  padding:11px 12px;
  margin-top:7px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
}

.analystIntegrity{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid var(--border);
}

.analystIntegrity span{
  padding:6px 8px;
  border-radius:999px;
  background:var(--surface-3);
  color:var(--muted);
  font-size:9px;
  font-weight:700;
}

@media (max-width:768px){
  .analystHeading{
    flex-direction:column;
    gap:10px;
  }

  .analystVerifiedBadge{
    align-self:flex-start;
  }

  .analystControls{
    grid-template-columns:1fr;
  }

  .analystControls button{
    width:100%;
  }

  .analystResultHead{
    flex-direction:column;
  }

  .analystConfidence{
    align-self:flex-start;
  }
}

@media (max-width:420px){
  .analystEvidenceSummary{
    gap:6px;
  }

  .analystEvidenceSummary>div{
    padding:10px 8px;
  }

  .analystEvidenceSummary strong{
    font-size:15px;
  }

  .analystEvidenceSummary small{
    font-size:8px;
  }
}

/* =========================
   B8 — MATCH RADAR
   ========================= */

.radarWorkspace{
  margin-top:18px;
  overflow:hidden;
}

.radarHeading{
  align-items:flex-start;
}

.radarVerifiedBadge{
  flex:0 0 auto;
  padding:7px 10px;
  border:1px solid rgba(183,255,60,.22);
  border-radius:999px;
  background:rgba(183,255,60,.07);
  color:var(--accent);
  font-size:9px;
  font-weight:800;
  letter-spacing:.08em;
}

.radarSummary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:18px;
}

.radarSummaryItem{
  min-width:0;
  padding:13px;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface-2);
}

.radarSummaryItem strong{
  display:block;
  color:var(--text);
  font-size:18px;
  line-height:1;
}

.radarSummaryItem small{
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:9px;
  font-weight:700;
  letter-spacing:.03em;
}

.radarStatus{
  margin-top:12px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}

.radarEmpty{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-top:12px;
  padding:17px;
  border:1px dashed var(--border);
  border-radius:17px;
  background:var(--surface-2);
}

.radarEmptyIcon{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:11px;
  background:var(--surface-3);
  color:var(--accent);
  font-size:20px;
}

.radarEmpty strong{
  display:block;
  color:var(--text);
  font-size:12px;
  line-height:1.35;
}

.radarEmpty p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.55;
}

.radarResults{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.radarCard{
  padding:15px;
  border:1px solid var(--border);
  border-radius:17px;
  background:var(--surface-2);
}

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

.radarMatchName{
  color:var(--text);
  font-size:13px;
  font-weight:800;
  line-height:1.4;
}

.radarCompetition{
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
}

.radarAttention{
  flex:0 0 auto;
  padding:6px 8px;
  border-radius:999px;
  background:var(--surface-3);
  color:var(--text);
  font-size:9px;
  font-weight:800;
}

.radarSignals{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:12px;
}

.radarSignal{
  padding:6px 8px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface-3);
  color:var(--muted);
  font-size:9px;
  font-weight:700;
}

.radarSignalStrong{
  border-color:rgba(183,255,60,.24);
  color:var(--accent);
}

.radarSignalModerate{
  color:var(--text);
}

.radarEvidence{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:12px;
}

.radarEvidenceItem{
  padding:9px;
  border-radius:12px;
  background:var(--surface-3);
}

.radarEvidenceItem strong{
  display:block;
  color:var(--text);
  font-size:11px;
}

.radarEvidenceItem small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:8px;
}

.radarIntegrity{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid var(--border);
}

.radarIntegrity span{
  padding:6px 8px;
  border-radius:999px;
  background:var(--surface-3);
  color:var(--muted);
  font-size:9px;
  font-weight:700;
}

@media (max-width:768px){
  .radarHeading{
    flex-direction:column;
    gap:10px;
  }

  .radarVerifiedBadge{
    align-self:flex-start;
  }
}

@media (max-width:420px){
  .radarSummary{
    gap:6px;
  }

  .radarSummaryItem{
    padding:10px 8px;
  }

  .radarSummaryItem strong{
    font-size:15px;
  }

  .radarSummaryItem small{
    font-size:8px;
  }

  .radarEvidence{
    grid-template-columns:1fr;
  }
}

/* =========================
   B9 — MY FOOTBALL DESK
   ========================= */

.footballDesk {
  margin-top: 14px;
}

.footballDeskHeading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  max-width: none;
  margin-bottom: 18px;
}

.footballDeskBadge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

.footballDeskSummary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.footballDeskSummaryItem {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}

.footballDeskSummaryItem strong,
.footballDeskSummaryItem small {
  display: block;
}

.footballDeskSummaryItem strong {
  font-size: 20px;
}

.footballDeskSummaryItem small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.footballDeskGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footballDeskPanel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}

.footballDeskPanelHead {
  margin-bottom: 12px;
}

.footballDeskPanelHead h3 {
  margin: 5px 0 0;
  font-size: 16px;
}

.footballDeskList {
  display: grid;
  gap: 8px;
}

.footballDeskEmpty {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.footballDeskEmpty b {
  font-size: 13px;
}

.footballDeskEmpty span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.footballDeskItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.footballDeskItemMain {
  min-width: 0;
}

.footballDeskItemMain strong,
.footballDeskItemMain small {
  display: block;
}

.footballDeskItemMain strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.footballDeskItemMain small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.footballDeskRemove {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 10px;
}

@media (max-width: 600px) {
  .footballDeskHeading {
    display: block;
  }

  .footballDeskBadge {
    display: inline-block;
    margin-top: 10px;
  }

  .footballDeskGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .footballDeskSummary {
    grid-template-columns: 1fr 1fr;
  }

  .footballDeskPanel {
    padding: 13px;
  }

  .footballDeskItem {
    align-items: flex-start;
  }
}

/* =========================
   B9 — DESK DISCOVERY
   ========================= */

.footballDeskFollow {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}

.footballDeskFollowControls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 8px;
  align-items: center;
}

.footballDeskSelect {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: inherit;
  font: inherit;
}

.footballDeskHint {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .footballDeskFollowControls {
    grid-template-columns: 1fr 1fr;
  }

  .footballDeskSelect {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .footballDeskFollowControls {
    grid-template-columns: 1fr;
  }

  .footballDeskSelect {
    grid-column: auto;
  }
}

/* =========================
   B10 — TRUST CENTRE
   ========================= */

.trustCentre {
  margin-top: 14px;
}

.trustCentreHeading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  max-width: none;
  margin-bottom: 20px;
}

.trustCentreBadge {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

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

.trustCentreCard {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}

.trustCentreCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--accent);
  opacity: .65;
}

.trustCentreIcon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border: 1px solid rgba(183,255,60,.22);
  border-radius: 12px;
  background: rgba(183,255,60,.07);
  color: var(--accent);
  font-size: 17px;
  font-weight: 800;
}

.trustCentreCard h3 {
  margin: 6px 0 8px;
  font-size: 15px;
}

.trustCentreCard p {
  margin: 0;
  color: rgba(255,255,255,.66);
  line-height: 1.65;
  font-size: 12px;
}

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

.trustCentrePrinciples > div {
  display: grid;
  gap: 4px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.trustCentrePrinciples strong {
  font-size: 12px;
}

.trustCentrePrinciples span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.trustCentreNote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(183,255,60,.14);
  border-radius: 15px;
  background: rgba(183,255,60,.035);
}

.trustCentreNote strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 12px;
}

.trustCentreNote span {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .trustCentreHeading {
    display: block;
  }

  .trustCentreBadge {
    display: inline-block;
    margin-top: 10px;
  }

  .trustCentreGrid {
    grid-template-columns: 1fr;
  }

  .trustCentrePrinciples {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .trustCentreCard {
    padding: 14px;
  }

  .trustCentreNote {
    display: grid;
  }
}

.headerBadge{
  margin-left:auto;
  padding:6px 9px;
  border:1px solid rgba(183,255,60,.22);
  border-radius:999px;
  background:
    linear-gradient(145deg,rgba(183,255,60,.12),rgba(183,255,60,.045));
  color:#c7ff68;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.3px;
  line-height:1;
  box-shadow:
    0 6px 18px rgba(183,255,60,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* HOMEPAGE VISUAL PROJECT — CINEMATIC HERO ATMOSPHERE */
@keyframes heroAtmosphereDrift{
  0%,100%{
    transform:translate3d(0,0,0) scale(1);
    opacity:.82;
  }
  50%{
    transform:translate3d(10px,-8px,0) scale(1.035);
    opacity:1;
  }
}

.heroPreview::before{
  animation:heroAtmosphereDrift 9s ease-in-out infinite;
}

@media (prefers-reduced-motion:reduce){
  .heroPreview::before{
    animation:none;
  }
}

/* HOMEPAGE VISUAL PROJECT — HERO PREVIEW EDGE LIGHT */
.previewWindow{
  border-color:rgba(255,255,255,.12);
  box-shadow:
    0 38px 100px rgba(0,0,0,.56),
    0 0 55px rgba(183,255,60,.065),
    inset 0 1px 0 rgba(255,255,255,.07);
}

.previewWindow::before{
  background:
    radial-gradient(340px 200px at 12% 0%,rgba(183,255,60,.09),transparent 68%),
    radial-gradient(300px 220px at 100% 100%,rgba(70,110,255,.055),transparent 72%),
    linear-gradient(120deg,rgba(255,255,255,.045),transparent 35%);
}

.previewWindow::after{
  box-shadow:
    -35px 35px 70px rgba(183,255,60,.035);
}

.previewTop{
  border-bottom-color:rgba(255,255,255,.09);
}

.previewField{
  border-color:rgba(183,255,60,.11);
  background:
    linear-gradient(145deg,rgba(183,255,60,.045),rgba(255,255,255,.012));
}

.previewMarkets>div:not(.previewArrow){
  border-color:rgba(255,255,255,.085);
}

.previewButton{
  box-shadow:
    0 16px 34px rgba(183,255,60,.19),
    0 0 26px rgba(183,255,60,.07),
    inset 0 1px 0 rgba(255,255,255,.38);
}

/* HOMEPAGE VISUAL PROJECT — PREMIUM CONVERSION CTA */
.previewButton{
  transition:
    transform .2s ease,
    filter .2s ease,
    box-shadow .2s ease;
}

.previewButton::after{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.14);
  pointer-events:none;
}

.previewButton:hover{
  transform:translateY(-1px);
  filter:brightness(1.055);
  box-shadow:
    0 19px 38px rgba(183,255,60,.22),
    0 0 32px rgba(183,255,60,.09),
    inset 0 1px 0 rgba(255,255,255,.42);
}

.previewButton:active{
  transform:translateY(1px) scale(.99);
}

.previewButton::before{
  animation:previewButtonSweep 4.5s ease-in-out infinite;
}

@keyframes previewButtonSweep{
  0%,55%,100%{
    transform:translateX(-120%);
  }
  72%{
    transform:translateX(120%);
  }
}

@media (prefers-reduced-motion:reduce){
  .previewButton::before{
    animation:none;
  }
}

/* HOMEPAGE VISUAL PROJECT — HERO TYPOGRAPHY POLISH */
.heroCopy h2{
  font-weight:950;
  color:#f8fafc;
  text-shadow:
    0 10px 34px rgba(0,0,0,.38),
    0 0 42px rgba(183,255,60,.035);
}

.heroCopy h2 strong,
.heroCopy h2 .accent,
.heroCopy h2 span{
  color:inherit;
}

.heroCopy p{
  max-width:560px;
  color:#9da8b8;
  font-size:15px;
  line-height:1.7;
  letter-spacing:.02px;
}

.heroTrust{
  margin-top:23px;
}

.heroTrust span{
  transition:
    color .18s ease,
    transform .18s ease;
}

.heroTrust span:hover{
  color:#dce4ee;
  transform:translateY(-1px);
}

/* HOMEPAGE VISUAL PROJECT — TRUST STRIP REFINEMENT */
.trustStrip{
  gap:12px;
}

.trustItem{
  min-height:76px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-color:rgba(255,255,255,.085);
  background:
    linear-gradient(145deg,rgba(22,30,43,.82),rgba(9,14,21,.94));
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.trustItem:hover{
  transform:translateY(-2px);
  border-color:rgba(183,255,60,.19);
  background:
    linear-gradient(145deg,rgba(26,36,49,.9),rgba(10,15,23,.96));
  box-shadow:
    0 18px 38px rgba(0,0,0,.22),
    0 0 24px rgba(183,255,60,.045),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.trustItem strong{
  letter-spacing:-.25px;
}

.trustItem span{
  color:#8c98a9;
}

@media (max-width:620px){
  .trustStrip{
    grid-template-columns:1fr;
  }

  .trustItem{
    min-height:auto;
  }
}

/* HOMEPAGE VISUAL PROJECT — PREMIUM CARD SYSTEM */
.card{
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.card:hover{
  transform:translateY(-2px);
  border-color:rgba(255,255,255,.115);
  background:
    linear-gradient(145deg,rgba(21,29,42,.99),rgba(8,12,19,.99));
  box-shadow:
    0 28px 65px rgba(0,0,0,.34),
    0 0 28px rgba(183,255,60,.035),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.card::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:150px;
  height:120px;
  background:
    radial-gradient(circle at 100% 0%,rgba(183,255,60,.045),transparent 68%);
  pointer-events:none;
}

.card h2,
.card h3{
  position:relative;
  z-index:1;
}

.card p,
.card label,
.card input,
.card select,
.card button{
  position:relative;
  z-index:1;
}

/* HOMEPAGE VISUAL PROJECT — CARD CONTROL REFINEMENT */
.card button{
  transition:
    transform .18s ease,
    filter .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.card button:hover{
  transform:translateY(-1px);
}

.card .secondary{
  background:
    linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.018));
}

.card .secondary:hover{
  border-color:rgba(183,255,60,.22);
  background:
    linear-gradient(145deg,rgba(183,255,60,.07),rgba(255,255,255,.025));
}

.card input:hover,
.card select:hover{
  border-color:rgba(255,255,255,.15);
}

.card input:focus,
.card select:focus{
  transform:translateY(-1px);
}

.card input::placeholder{
  color:#667284;
}

.card label{
  color:#cfd7e2;
  letter-spacing:.55px;
}

/* HOMEPAGE VISUAL PROJECT — NAVIGATION FINISH */
.publicNav .publicNavInner::before{
  content:"";
  position:absolute;
  left:14%;
  right:14%;
  top:0;
  height:1px;
  background:
    linear-gradient(90deg,transparent,rgba(183,255,60,.22),transparent);
  pointer-events:none;
}

.publicNav .publicNavInner::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  background:
    radial-gradient(260px 90px at 18% 0%,rgba(183,255,60,.035),transparent 72%);
  pointer-events:none;
}

.publicBrand,
.publicNavActions{
  position:relative;
  z-index:1;
}

.publicNavActions button{
  transition:
    transform .18s ease,
    filter .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}

.publicNavActions button:hover{
  transform:translateY(-1px);
}

.publicNavActions button:active{
  transform:translateY(1px) scale(.985);
}

.publicNavActions .navGetStarted{
  box-shadow:
    0 11px 27px rgba(183,255,60,.16),
    0 0 20px rgba(183,255,60,.045),
    inset 0 1px 0 rgba(255,255,255,.38);
}

/* HOMEPAGE VISUAL PROJECT — PHONE COMPOSITION POLISH */
@media (max-width:620px){
  .app{
    padding-left:14px;
    padding-right:14px;
  }

  .heroSection{
    gap:24px;
    padding-top:38px;
    padding-bottom:42px;
  }

  .heroCopy h2{
    font-size:clamp(38px,11vw,54px);
    letter-spacing:-2.4px;
  }

  .heroCopy p{
    font-size:14px;
    line-height:1.65;
  }

  .heroTrust{
    gap:8px 12px;
  }

  .heroPreview{
    margin-top:4px;
  }

  .previewWindow{
    padding:18px;
    border-radius:22px;
    transform:none;
  }

  .previewMarkets{
    gap:8px;
  }

  .previewMarkets>div:not(.previewArrow){
    padding:12px 10px;
  }

  .previewButton{
    min-height:48px;
  }

  .card{
    padding:18px;
    border-radius:18px;
  }

  .publicNav{
    padding:8px 0;
  }

  .publicNav .publicNavInner{
    min-height:48px;
    padding:6px 8px 6px 10px;
    border-radius:16px;
  }

  .publicNavActions{
    gap:6px;
  }

  .publicNavActions button{
    min-height:36px;
    padding:0 10px;
    font-size:11px;
  }
}

/* HOMEPAGE VISUAL PROJECT — SPACING RHYTHM */
.heroSection{
  margin-bottom:10px;
}

.heroCopy > *{
  position:relative;
}

.heroCopy > p{
  margin-top:10px;
}

.heroCopy > .heroTrust{
  margin-top:23px;
}

.trustStrip{
  margin-top:24px;
  margin-bottom:14px;
}

.card + .card{
  margin-top:18px;
}

.card > h2:first-child,
.card > h3:first-child{
  margin-top:0;
}

.card > p:last-child{
  margin-bottom:0;
}

.publicNav{
  margin-bottom:2px;
}

@media (max-width:620px){
  .heroSection{
    margin-bottom:4px;
  }

  .trustStrip{
    margin-top:20px;
    margin-bottom:12px;
  }

  .card + .card{
    margin-top:14px;
  }
}

/* HOMEPAGE VISUAL PROJECT — MICRO DETAILS */
.previewDot{
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid rgba(99,230,165,.18);
  border-radius:50%;
  color:var(--success);
  background:rgba(99,230,165,.055);
  font-size:7px;
  line-height:1;
  box-shadow:
    0 0 16px rgba(99,230,165,.08),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.previewField > span,
.previewMarkets span{
  color:#778395;
  font-size:9px;
  font-weight:850;
  letter-spacing:1.1px;
  text-transform:uppercase;
}

.previewField > strong{
  display:block;
  margin-top:5px;
  color:#f4f7fa;
  font-size:19px;
  line-height:1.15;
  letter-spacing:.35px;
}

.previewMarkets{
  position:relative;
  z-index:1;
}

.previewStatus{
  color:#9ba6b5;
}

.previewStatus>span{
  animation:statusPulse 2.8s ease-in-out infinite;
}

@keyframes statusPulse{
  0%,100%{
    opacity:.65;
    transform:scale(.9);
  }
  50%{
    opacity:1;
    transform:scale(1.12);
  }
}

@media (prefers-reduced-motion:reduce){
  .previewStatus>span{
    animation:none;
  }
}

/* DYNAMIC_THEME_LAYER */
body{
  position:relative;
  isolation:isolate;
}

body::before{
  content:"";
  position:fixed;
  inset:-18%;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(42% 34% at 78% 8%,var(--theme-glow),transparent 72%),
    radial-gradient(38% 32% at 8% 18%,var(--theme-glow-secondary),transparent 74%);
  filter:blur(22px);
  opacity:.78;
  transform:translate3d(0,0,0) scale(1);
  animation:themeLayerDrift 22s ease-in-out infinite;
  will-change:transform,opacity;
}

@keyframes themeLayerDrift{
  0%,100%{
    transform:translate3d(0,0,0) scale(1);
    opacity:.72;
  }
  50%{
    transform:translate3d(1.5%, -1%, 0) scale(1.035);
    opacity:.88;
  }
}

@media (prefers-reduced-motion:reduce){
  body::before{
    animation:none;
  }
}

/* HERO_FOOTBALL_IMAGE_APPLIED */
.heroPreview{
  background:
    linear-gradient(90deg,rgba(6,9,14,.92) 0%,rgba(6,9,14,.68) 28%,rgba(6,9,14,.28) 64%,rgba(6,9,14,.56) 100%),
    url("/assets/hero-football.png") center right / cover no-repeat;
  border-radius:30px;
  padding:34px 26px;
  overflow:hidden;
  box-shadow:
    0 35px 90px rgba(0,0,0,.38),
    0 0 60px rgba(183,255,60,.045);
}

.heroPreview::after{
  background:
    linear-gradient(90deg,rgba(4,7,12,.46),transparent 48%,rgba(4,7,12,.28)),
    radial-gradient(circle at 72% 50%,transparent 28%,rgba(4,7,12,.42) 100%);
}

@media (max-width:620px){
  .heroPreview{
    padding:24px 16px;
    border-radius:24px;
    background-position:68% center;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE DASHBOARD BLUEPRINT
   Visual layer only — existing functional classes preserved
   ========================================================= */

.mobileAppShell {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 14px 96px;
  box-sizing: border-box;
}

.systemStatusSpace {
  height: 18px;
}

.mobileAppHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 2px 14px;
}

.mobileBrand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobileBrand strong {
  color: #b7ff3c;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: .04em;
}

.mobileBrand span {
  margin-top: 4px;
  color: rgba(255,255,255,.55);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .02em;
}

.mobileProfileBadge {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(183,255,60,.28);
  border-radius: 50%;
  background: rgba(183,255,60,.08);
  color: #b7ff3c;
  display: grid;
  place-items: center;
  box-shadow: 0 0 18px rgba(183,255,60,.08);
}

.mobileProfileBadge span {
  font-size: 15px;
}

.mobileTopTabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
}

.mobileTopTab {
  position: relative;
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255,255,255,.48);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 3px 8px;
}

.mobileTopTab span {
  font-size: 18px;
  line-height: 1;
}

.mobileTopTab small {
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .02em;
}

.mobileTopTab.active {
  color: #b7ff3c;
  background: rgba(183,255,60,.055);
}

.mobileTopTab.active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: #b7ff3c;
  box-shadow: 0 0 10px rgba(183,255,60,.55);
}

.dashboardHero.redesignedHero {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px 19px 20px;
  margin: 0 0 20px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 18%, rgba(183,255,60,.18), transparent 30%),
    linear-gradient(145deg, #101722 0%, #080b12 68%);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
}

.dashboardHero.redesignedHero .dashboardHeroOverlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4,7,11,.08) 0%, rgba(4,7,11,.38) 35%, rgba(4,7,11,.94) 100%);
  pointer-events: none;
}

.dashboardHero.redesignedHero .dashboardWelcome {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.dashboardHero.redesignedHero .eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(183,255,60,.25);
  border-radius: 999px;
  background: rgba(183,255,60,.08);
  color: #b7ff3c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.dashboardHero.redesignedHero h2 {
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(27px, 7vw, 40px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 900;
}

.dashboardHero.redesignedHero p {
  max-width: 510px;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 12px;
  line-height: 1.55;
}

.heroActions {
  margin-top: 17px;
}

.dashboardHero.redesignedHero .heroActions .primary {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(183,255,60,.16);
}

.quickActionsSection {
  margin-bottom: 20px;
}

.mobileSectionLabel {
  margin: 0 2px 9px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.quickActionsSection .quickActions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.quickActionsSection .quickAction {
  position: relative;
  min-width: 0;
  min-height: 105px;
  margin: 0;
  padding: 13px 10px 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(20,27,37,.96), rgba(10,14,20,.98));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

.quickActionsSection .quickAction > span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: rgba(183,255,60,.09);
  color: #b7ff3c;
  font-size: 15px;
}

.quickActionsSection .quickAction strong {
  display: block;
  max-width: 90%;
  margin-top: auto;
  color: rgba(255,255,255,.9);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.quickActionsSection .quickAction i {
  position: absolute;
  right: 10px;
  bottom: 11px;
  color: rgba(255,255,255,.35);
  font-size: 13px;
  font-style: normal;
}

.quickActionsSection .quickAction:active {
  transform: translateY(1px);
}

.dashboardStatsHidden {
  display: none !important;
}

@media (max-width: 430px) {
  .mobileAppShell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .systemStatusSpace {
    height: 14px;
  }

  .dashboardHero.redesignedHero {
    min-height: 258px;
    padding: 19px 16px 18px;
    border-radius: 20px;
  }

  .dashboardHero.redesignedHero h2 {
    font-size: 27px;
  }

  .quickActionsSection .quickAction {
    min-height: 98px;
    padding-left: 9px;
    padding-right: 8px;
  }

  .quickActionsSection .quickAction strong {
    font-size: 10px;
  }
}

@media (min-width: 700px) {
  .mobileAppShell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .dashboardHero.redesignedHero {
    min-height: 320px;
  }
}

/* =========================================================
   BETCODE PRO — FOOTBALL HERO IMAGE
   ========================================================= */
.dashboardHero.redesignedHero {
  position: relative;
  overflow: hidden;
  background-image: url("/assets/hero-football.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.dashboardHero.redesignedHero .dashboardHeroOverlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(8,11,18,.94) 0%, rgba(8,11,18,.76) 48%, rgba(8,11,18,.38) 100%),
    linear-gradient(180deg, rgba(8,11,18,.12) 0%, rgba(8,11,18,.78) 100%);
}

.dashboardHero.redesignedHero .dashboardWelcome {
  position: relative;
  z-index: 1;
}

@media (max-width: 430px) {
  .dashboardHero.redesignedHero {
    background-position: 58% center;
  }
}

/* =========================================================
   BETCODE PRO — MATCH RADAR MOBILE MODULE
   Visual layer only — radar functionality preserved
   ========================================================= */
#radarWorkspace {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(20,26,38,.98), rgba(9,13,21,.98));
  border: 1px solid rgba(183,255,60,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  overflow: hidden;
}

#radarWorkspace .radarHeading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

#radarWorkspace .radarHeading > div {
  min-width: 0;
}

#radarWorkspace .radarHeading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b7ff3c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

#radarWorkspace .radarHeading .eyebrow::before {
  content: "◉";
  font-size: 10px;
}

#radarWorkspace .radarHeading h2 {
  margin: 7px 0 5px;
  font-size: 20px;
  line-height: 1.15;
}

#radarWorkspace .radarHeading p {
  margin: 0;
  max-width: 330px;
  font-size: 12px;
  line-height: 1.55;
}

#radarWorkspace .radarVerifiedBadge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(183,255,60,.25);
  border-radius: 999px;
  color: #b7ff3c;
  background: rgba(183,255,60,.07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

#radarWorkspace .radarSummary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

#radarWorkspace .radarSummaryItem {
  min-width: 0;
  padding: 12px 9px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

#radarWorkspace .radarSummaryItem strong {
  display: block;
  color: #f5f7fa;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 6px;
}

#radarWorkspace .radarSummaryItem small {
  display: block;
  color: #8f98a8;
  font-size: 9px;
  line-height: 1.25;
}

#radarWorkspace .radarStatus,
#radarWorkspace .radarEmpty {
  border-radius: 14px;
  background: #0d131d;
  border: 1px solid rgba(255,255,255,.06);
}

#radarWorkspace .radarStatus {
  margin-bottom: 10px;
  padding: 11px 12px;
}

#radarWorkspace .radarEmpty {
  padding: 15px 12px;
  color: #8f98a8;
  font-size: 11px;
  line-height: 1.5;
}

#radarWorkspace .radarIntegrity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,.06);
}

#radarWorkspace .radarIntegrity span {
  color: #8f98a8;
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
}

#radarWorkspace .radarIntegrity span::first-letter {
  color: #b7ff3c;
}

@media (max-width: 430px) {
  #radarWorkspace {
    padding: 16px;
    border-radius: 20px;
  }

  #radarWorkspace .radarHeading {
    gap: 8px;
  }

  #radarWorkspace .radarVerifiedBadge {
    font-size: 8px;
    padding: 5px 7px;
  }

  #radarWorkspace .radarHeading h2 {
    font-size: 18px;
  }
}

/* =========================================================
   BETCODE PRO — MATCH INTELLIGENCE MOBILE DRAWER
   Visual layer only — analyst functionality preserved
   ========================================================= */
#analystWorkspace {
  position: relative;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(20,26,38,.98), rgba(9,13,21,.98));
  border: 1px solid rgba(183,255,60,.12);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  overflow: hidden;
}

#analystWorkspace::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: #b7ff3c;
  opacity: .8;
}

#analystWorkspace .analystHeading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

#analystWorkspace .analystHeading > div {
  min-width: 0;
}

#analystWorkspace .analystHeading .eyebrow {
  color: #b7ff3c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

#analystWorkspace .analystHeading h2 {
  margin: 7px 0 5px;
  font-size: 20px;
  line-height: 1.15;
}

#analystWorkspace .analystHeading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

#analystWorkspace .analystVerifiedBadge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid rgba(183,255,60,.22);
  border-radius: 999px;
  color: #b7ff3c;
  background: rgba(183,255,60,.07);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
}

#analystWorkspace .analystControls {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(90px, 3fr);
  gap: 8px;
  align-items: end;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.06);
}

#analystWorkspace .analystControls label {
  min-width: 0;
  color: #8f98a8;
  font-size: 10px;
  font-weight: 700;
}

#analystWorkspace .analystControls select {
  width: 100%;
  min-height: 42px;
  margin-top: 5px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0d131d;
  color: #f5f7fa;
  font-size: 11px;
  outline: none;
}

#analystWorkspace .analystControls button,
#analystRun {
  min-height: 42px;
  border: 0;
  border-radius: 11px;
  background: #b7ff3c;
  color: #080b12;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 8px 20px rgba(183,255,60,.12);
}

@media (max-width: 430px) {
  #analystWorkspace {
    padding: 16px;
    border-radius: 20px;
  }

  #analystWorkspace .analystHeading {
    gap: 8px;
  }

  #analystWorkspace .analystHeading h2 {
    font-size: 18px;
  }

  #analystWorkspace .analystVerifiedBadge {
    font-size: 8px;
    padding: 5px 7px;
  }

  #analystWorkspace .analystControls {
    grid-template-columns: 7fr 3fr;
    padding: 8px;
  }
}

/* =========================================================
   BETCODE PRO — STICKY MOBILE BOTTOM NAVIGATION
   ========================================================= */
.mobileBottomNav {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 24px));
  z-index: 1000;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 18px 0 10px;
  padding: 8px 6px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(9,13,21,.94);
  box-shadow: 0 16px 40px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mobileBottomItem {
  display: flex;
  min-width: 0;
  min-height: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 5px 3px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #737d8d;
}

.mobileBottomItem span {
  font-size: 18px;
  line-height: 1;
}

.mobileBottomItem small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .02em;
}

.mobileBottomItem.active {
  color: #b7ff3c;
  background: rgba(183,255,60,.07);
}

.mobileBottomItem.active span {
  filter: drop-shadow(0 0 7px rgba(183,255,60,.32));
}

@media (min-width: 700px) {
  .mobileBottomNav {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =========================================================
   BETCODE PRO — DYNAMIC THEME TRANSITION LAYER
   Visual only — preserves existing functional colors
   ========================================================= */

:root {
  --theme-transition: 700ms cubic-bezier(.22,.61,.36,1);
}

body,
.mobileAppShell,
.mobileAppHeader,
.mobileTopTabs,
.dashboardHero.redesignedHero,
.quickActionsSection,
#radarWorkspace,
#analystWorkspace,
.mobileBottomNav {
  transition:
    background-color var(--theme-transition),
    border-color var(--theme-transition),
    box-shadow var(--theme-transition),
    color var(--theme-transition);
}

.mobileAppHeader,
.mobileTopTabs,
.mobileBottomNav {
  will-change: background-color, box-shadow;
}

.dashboardHero.redesignedHero .eyebrow,
.mobileSectionLabel,
.radarVerifiedBadge,
.analystVerifiedBadge,
.mobileTopTab.active small,
.mobileBottomItem.active small {
  transition:
    color var(--theme-transition),
    text-shadow var(--theme-transition);
}

.mobileProfileBadge,
.mobileTopTab.active,
.mobileBottomItem.active,
.quickAction:hover,
#analystWorkspace .analystControls button:hover {
  transition:
    background-color var(--theme-transition),
    border-color var(--theme-transition),
    box-shadow var(--theme-transition),
    color var(--theme-transition),
    transform 220ms ease;
}

@media (prefers-reduced-motion: reduce) {
  body,
  .mobileAppShell,
  .mobileAppHeader,
  .mobileTopTabs,
  .dashboardHero.redesignedHero,
  .quickActionsSection,
  #radarWorkspace,
  #analystWorkspace,
  .mobileBottomNav,
  .dashboardHero.redesignedHero .eyebrow,
  .mobileSectionLabel,
  .radarVerifiedBadge,
  .analystVerifiedBadge,
  .mobileTopTab.active small,
  .mobileBottomItem.active small {
    transition: none;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE HERO CLEARANCE FIX
   Visual/layout only — converter functionality untouched
   ========================================================= */
@media (max-width: 699px) {
  .mobileAppShell {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 96px;
    overflow: visible;
  }

  .dashboardHero.redesignedHero {
    position: relative;
    z-index: 1;
    min-height: 300px;
    margin: 12px 0 18px;
    isolation: isolate;
  }

  .dashboardHero.redesignedHero .dashboardHeroOverlay {
    z-index: 0;
  }

  .dashboardHero.redesignedHero .dashboardWelcome {
    position: relative;
    z-index: 2;
  }

  .quickActionsSection {
    position: relative;
    z-index: 2;
  }

  .mobileBottomNav {
    z-index: 1000;
  }
}

/* =========================================================
   BETCODE PRO — HERO VISIBILITY TUNING
   Visual only
   ========================================================= */
@media (max-width: 699px) {
  .dashboardHero.redesignedHero {
    min-height: 350px;
    padding: 24px 18px 22px;
    background-position: 62% center;
  }

  .dashboardHero.redesignedHero .dashboardHeroOverlay {
    background:
      linear-gradient(90deg, rgba(8,11,18,.82) 0%, rgba(8,11,18,.58) 52%, rgba(8,11,18,.20) 100%),
      linear-gradient(180deg, rgba(8,11,18,.08) 0%, rgba(8,11,18,.62) 100%);
  }

  .dashboardHero.redesignedHero .dashboardWelcome {
    max-width: 88%;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE TYPOGRAPHY REFINEMENT
   Typography only — no layout/functionality changes
   ========================================================= */
@media (max-width: 699px) {
  .mobileBrand strong {
    font-size: 15px;
    line-height: 1.05;
    letter-spacing: .045em;
  }

  .mobileBrand span {
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .015em;
  }

  .mobileTopTab span {
    font-size: 18px;
  }

  .mobileTopTab small {
    font-size: 10px;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: .025em;
  }

  .dashboardHero.redesignedHero .eyebrow,
  .mobileSectionLabel {
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .09em;
  }

  .dashboardHero.redesignedHero .dashboardWelcome h2 {
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -.9px;
  }

  .dashboardHero.redesignedHero .dashboardWelcome p {
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: .005em;
  }

  .quickAction strong {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.1px;
  }

  .quickAction small {
    font-size: 11px;
    line-height: 1.3;
  }

  .mobileBottomItem small {
    font-size: 10px;
    line-height: 1.15;
    font-weight: 750;
    letter-spacing: .025em;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE CARD REFINEMENT
   Visual only — preserves layout and functionality
   ========================================================= */
@media (max-width: 699px) {
  .quickActionsSection .quickAction,
  #radarWorkspace,
  #analystWorkspace,
  .converterCard {
    border-color: rgba(255,255,255,.085);
    box-shadow:
      0 14px 32px rgba(0,0,0,.22),
      inset 0 1px 0 rgba(255,255,255,.025);
  }

  .quickActionsSection .quickAction {
    border-radius: 18px;
    background:
      linear-gradient(145deg, rgba(22,29,40,.98), rgba(10,14,21,.99));
  }

  .quickActionsSection .quickAction > span {
    border: 1px solid rgba(183,255,60,.08);
  }

  #radarWorkspace,
  #analystWorkspace,
  .converterCard {
    border-radius: 20px;
  }

  #radarWorkspace .radarSummaryItem,
  #radarWorkspace .radarStatus,
  #radarWorkspace .radarEmpty,
  #analystWorkspace .analystControls {
    border-color: rgba(255,255,255,.07);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.018);
  }

  #radarWorkspace .radarSummaryItem {
    background: rgba(255,255,255,.04);
  }

  #radarWorkspace .radarStatus,
  #radarWorkspace .radarEmpty,
  #analystWorkspace .analystControls {
    background: rgba(7,11,18,.72);
  }

  .converterCard {
    background:
      linear-gradient(145deg, rgba(20,27,37,.98), rgba(9,13,20,.99));
  }
}

@media (max-width: 430px) {
  .quickActionsSection .quickAction,
  #radarWorkspace,
  #analystWorkspace,
  .converterCard {
    border-radius: 18px;
  }
}

/* =========================================================
   BETCODE PRO — PROFESSIONAL MOBILE ICON SYSTEM
   Inline SVG — visual only
   ========================================================= */
@media (max-width: 699px) {
  .mobileTopTab .uiIcon,
  .mobileBottomItem .uiIcon,
  .quickActionsSection .quickAction .uiIcon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .mobileTopTab .uiIcon svg,
  .mobileBottomItem .uiIcon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .quickActionsSection .quickAction .uiIcon {
    width: 29px;
    height: 29px;
  }

  .quickActionsSection .quickAction .uiIcon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobileTopTab.active .uiIcon,
  .mobileBottomItem.active .uiIcon {
    filter: drop-shadow(0 0 6px rgba(183,255,60,.28));
  }

  #radarWorkspace .radarEmptyIcon {
    display: inline-grid;
    place-items: center;
  }

  #radarWorkspace .radarEmptyIcon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE SPACING & SIZING REFINEMENT
   Visual layer only
   ========================================================= */
@media (max-width: 699px) {
  .mobileAppShell {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 104px;
  }

  .systemStatusSpace {
    height: 12px;
  }

  .mobileAppHeader {
    gap: 12px;
    padding: 7px 2px 12px;
  }

  .mobileProfileBadge {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .mobileTopTabs {
    gap: 3px;
    padding: 4px;
    margin-bottom: 14px;
  }

  .mobileTopTab {
    min-height: 56px;
    padding: 7px 3px 8px;
  }

  .dashboardHero.redesignedHero {
    min-height: 350px;
    margin-bottom: 18px;
    padding: 24px 18px 22px;
  }

  .dashboardHero.redesignedHero .dashboardWelcome {
    max-width: 90%;
  }

  .dashboardHero.redesignedHero h2 {
    margin-top: 11px;
    margin-bottom: 8px;
  }

  .heroActions {
    margin-top: 16px;
  }

  .quickActionsSection {
    margin-bottom: 18px;
  }

  .mobileSectionLabel {
    margin-bottom: 8px;
  }

  .quickActionsSection .quickActions {
    gap: 7px;
  }

  .quickActionsSection .quickAction {
    min-height: 104px;
    padding: 12px 9px 11px;
  }

  #radarWorkspace,
  #analystWorkspace {
    margin-top: 16px;
    padding: 17px;
  }

  #radarWorkspace .radarHeading,
  #analystWorkspace .analystHeading {
    margin-bottom: 14px;
  }

  #radarWorkspace .radarSummary {
    gap: 7px;
    margin-bottom: 9px;
  }

  #radarWorkspace .radarSummaryItem {
    padding: 11px 8px;
  }

  #radarWorkspace .radarStatus {
    margin-bottom: 9px;
    padding: 10px 11px;
  }

  #radarWorkspace .radarEmpty {
    padding: 14px 11px;
  }

  #radarWorkspace .radarIntegrity {
    margin-top: 9px;
    padding-top: 10px;
  }

  #analystWorkspace .analystControls {
    gap: 7px;
    padding: 9px;
  }

  .mobileBottomNav {
    bottom: 9px;
    width: calc(100% - 24px);
    padding: 7px 5px;
  }

  .mobileBottomItem {
    min-height: 50px;
  }
}

@media (max-width: 430px) {
  .mobileAppShell {
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 102px;
  }

  .systemStatusSpace {
    height: 10px;
  }

  .mobileAppHeader {
    padding-bottom: 11px;
  }

  .mobileTopTabs {
    margin-bottom: 12px;
  }

  .mobileTopTab {
    min-height: 54px;
  }

  .dashboardHero.redesignedHero {
    min-height: 350px;
    margin-bottom: 16px;
    padding: 22px 16px 20px;
    border-radius: 20px;
  }

  .dashboardHero.redesignedHero .dashboardWelcome {
    max-width: 92%;
  }

  .quickActionsSection {
    margin-bottom: 16px;
  }

  .quickActionsSection .quickActions {
    gap: 6px;
  }

  .quickActionsSection .quickAction {
    min-height: 98px;
    padding: 11px 8px 10px;
    border-radius: 17px;
  }

  #radarWorkspace,
  #analystWorkspace {
    margin-top: 14px;
    padding: 15px;
    border-radius: 18px;
  }

  #radarWorkspace .radarSummary {
    gap: 6px;
  }

  #radarWorkspace .radarSummaryItem {
    padding: 10px 7px;
  }

  #analystWorkspace .analystControls {
    gap: 6px;
    padding: 8px;
  }

  .mobileBottomNav {
    bottom: 8px;
    width: calc(100% - 20px);
    padding: 6px 4px;
    border-radius: 18px;
  }
}

/* =========================================================
   BETCODE PRO — MOBILE NAVIGATION VISUAL POLISH
   Visual layer only
   ========================================================= */
@media (max-width: 699px) {
  .mobileTopTabs {
    border-color: rgba(255,255,255,.085);
    background: rgba(10,14,21,.72);
    box-shadow:
      0 10px 24px rgba(0,0,0,.16),
      inset 0 1px 0 rgba(255,255,255,.025);
  }

  .mobileTopTab {
    color: rgba(255,255,255,.46);
    transition:
      color .18s ease,
      background .18s ease,
      transform .18s ease;
  }

  .mobileTopTab .uiIcon,
  .mobileBottomItem .uiIcon {
    transition:
      transform .18s ease,
      filter .18s ease;
  }

  .mobileTopTab.active {
    color: #b7ff3c;
    background: rgba(183,255,60,.065);
  }

  .mobileTopTab.active .uiIcon,
  .mobileBottomItem.active .uiIcon {
    transform: translateY(-1px);
  }

  .mobileTopTab:active {
    transform: scale(.98);
  }

  .mobileBottomNav {
    border-color: rgba(255,255,255,.095);
    background: rgba(8,12,19,.95);
    box-shadow:
      0 18px 42px rgba(0,0,0,.42),
      inset 0 1px 0 rgba(255,255,255,.035);
  }

  .mobileBottomItem {
    color: #737d8d;
    transition:
      color .18s ease,
      background .18s ease,
      transform .18s ease;
  }

  .mobileBottomItem.active {
    color: #b7ff3c;
    background: rgba(183,255,60,.075);
  }

  .mobileBottomItem.active .uiIcon {
    filter: drop-shadow(0 0 7px rgba(183,255,60,.32));
  }

  .mobileBottomItem:active {
    transform: scale(.97);
  }

  .mobileTopTab,
  .mobileBottomItem {
    -webkit-tap-highlight-color: transparent;
  }
}

/* =========================================================
    font-size: 6.5px;

/* =========================================================
   LIVE CENTRE — DEDICATED PAGE NAVIGATION
   ========================================================= */
.liveCentreHeaderNav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.liveCentreHeaderNav .liveCentreBack{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 12px;
  border:1px solid rgba(183,255,60,.12);
  border-radius:12px;
  background:rgba(255,255,255,.025);
  color:inherit;
  text-decoration:none;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.liveCentreHeaderNav .liveCentreBack:hover{
  background:rgba(183,255,60,.055);
  border-color:rgba(183,255,60,.24);
  transform:translateY(-1px);
}



/* ============================================================
   BETCODE PRO — LIVE CENTRE
   GLOBAL SCOREBOARD SYSTEM
   Continent → Country → League → Match
   Presentation layer only
   ============================================================ */

#liveCentreWorkspace.liveScoreBoard{
  --lc-bg:#080b12;
  --lc-surface:#10151e;
  --lc-surface-2:#141b25;
  --lc-surface-3:#19212c;
  --lc-border:rgba(255,255,255,.075);
  --lc-border-strong:rgba(255,255,255,.12);
  --lc-text:#f4f7fb;
  --lc-muted:#8993a3;
  --lc-dim:#626c7c;
  --lc-live:#b7ff3c;
  --lc-live-soft:rgba(183,255,60,.12);
  --lc-radius:16px;

  position:relative;
  isolation:isolate;
  margin:18px 0 28px;
  padding:0;
  overflow:hidden;
  border:1px solid var(--lc-border);
  border-radius:22px;
  background:var(--lc-bg);
  color:var(--lc-text);
  box-shadow:
    0 24px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.025);
}

#liveCentreWorkspace.liveScoreBoard::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent 0%,
    rgba(183,255,60,.25) 12%,
    var(--lc-live) 50%,
    rgba(183,255,60,.25) 88%,
    transparent 100%
  );
  z-index:5;
}

#liveCentreWorkspace.liveScoreBoard::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 92% 0%,rgba(183,255,60,.055),transparent 24%),
    radial-gradient(circle at 4% 30%,rgba(80,110,160,.035),transparent 28%);
}

#liveCentreWorkspace.liveScoreBoard > *{
  position:relative;
  z-index:1;
}

/* ------------------------------------------------------------
   TOP BAR
   ------------------------------------------------------------ */

.liveScoreTopBar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:54px;
  padding:0 16px;
  border-bottom:1px solid var(--lc-border);
  background:rgba(8,11,18,.92);
}

#liveCentreWorkspace .liveScoreBrand{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  color:var(--lc-text);
}

#liveCentreWorkspace .liveScoreBrandDot{
  width:8px;
  height:8px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--lc-live);
  box-shadow:0 0 0 4px rgba(183,255,60,.08),0 0 14px rgba(183,255,60,.4);
}

#liveCentreWorkspace .liveScoreBrand strong{
  font-size:13px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

#liveCentreWorkspace .liveScoreTopMeta{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--lc-muted);
  font-size:11px;
  font-weight:700;
}

/* ------------------------------------------------------------
   HERO
   ------------------------------------------------------------ */

.liveCentreHero{
  padding:20px 16px 18px;
  border-bottom:1px solid var(--lc-border);
  background:linear-gradient(180deg,rgba(255,255,255,.018),transparent);
}

.liveCentreHeroCopy{
  min-width:0;
}

.liveCentreLiveLabel{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-bottom:8px;
  color:var(--lc-live);
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.liveCentreLiveLabel::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--lc-live);
  box-shadow:0 0 0 4px rgba(183,255,60,.08);
  animation:lcPulse 1.7s ease-in-out infinite;
}

.liveCentreHero h1{
  margin:0;
  color:var(--lc-text);
  font-size:clamp(24px,6vw,34px);
  line-height:1.05;
  letter-spacing:-.035em;
}

.liveCentreHeroCopy p{
  max-width:620px;
  margin:8px 0 0;
  color:var(--lc-muted);
  font-size:12px;
  line-height:1.55;
}

.liveCentreHeroStatus{
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:12px;
  color:var(--lc-muted);
  font-size:11px;
}

.liveCentreStatusDot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--lc-live);
}

/* ------------------------------------------------------------
   SUMMARY / FILTER TABS
   ------------------------------------------------------------ */

#liveCentreWorkspace .liveScoreBoardHeader{
  padding:16px;
  border-bottom:1px solid var(--lc-border);
  background:rgba(255,255,255,.012);
}

#liveCentreWorkspace .liveScoreBoardTitle .eyebrow{
  color:var(--lc-live);
  font-size:9px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

#liveCentreWorkspace .liveScoreBoardTitle h2{
  margin:4px 0 0;
  color:var(--lc-text);
  font-size:17px;
  line-height:1.2;
}

#liveCentreWorkspace .liveScoreBoardTitle p{
  margin:5px 0 0;
  color:var(--lc-muted);
  font-size:11px;
}

#liveCentreWorkspace .liveCentreSummary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0;
  padding:12px 16px;
  border-bottom:1px solid var(--lc-border);
}

#liveCentreWorkspace .liveCentreTabs{
  display:flex;
  gap:8px;
  padding:10px 16px;
  overflow-x:auto;
  border-bottom:1px solid var(--lc-border);
  scrollbar-width:none;
}

#liveCentreWorkspace .liveCentreTabs::-webkit-scrollbar{
  display:none;
}

#liveCentreWorkspace .liveCentreTab{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex:0 0 auto;
  min-height:42px;
  padding:8px 12px;
  border:1px solid var(--lc-border);
  border-radius:12px;
  background:var(--lc-surface);
  color:var(--lc-muted);
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  transition:.18s ease;
}

#liveCentreWorkspace .liveCentreTab:hover{
  border-color:var(--lc-border-strong);
  color:var(--lc-text);
}

#liveCentreWorkspace .liveCentreTab.active{
  border-color:rgba(183,255,60,.28);
  background:var(--lc-live-soft);
  color:var(--lc-live);
}

#liveCentreWorkspace .liveCentreTabCount{
  min-width:20px;
  padding:2px 5px;
  border-radius:7px;
  background:rgba(255,255,255,.06);
  text-align:center;
  font-size:10px;
}

#liveCentreWorkspace .liveCentreTab.active .liveCentreTabCount{
  background:rgba(183,255,60,.13);
}

/* ------------------------------------------------------------
   COMPETITION FILTER
   ------------------------------------------------------------ */

#liveCentreWorkspace .liveCentreFilterBar{
  padding:13px 16px;
  border-bottom:1px solid var(--lc-border);
}

#liveCentreWorkspace .liveCentreFilterHeading{
  margin-bottom:8px;
  color:var(--lc-dim);
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

#liveCentreWorkspace .liveCentreFilters{
  display:flex;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:none;
}

#liveCentreWorkspace .liveCentreFilters::-webkit-scrollbar{
  display:none;
}

#liveCentreWorkspace .liveCompetitionFilter{
  min-height:34px;
  padding:7px 11px;
  border:1px solid var(--lc-border);
  border-radius:10px;
  background:var(--lc-surface);
  color:var(--lc-muted);
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}

#liveCentreWorkspace .liveCompetitionFilter:hover{
  color:var(--lc-text);
  border-color:var(--lc-border-strong);
}

#liveCentreWorkspace .liveCompetitionFilter.active{
  border-color:rgba(183,255,60,.3);
  background:var(--lc-live-soft);
  color:var(--lc-live);
}

/* ------------------------------------------------------------
   CONTINENT / COUNTRY / LEAGUE HIERARCHY
   ------------------------------------------------------------ */

#liveCentreWorkspace .liveCentreCompetitions{
  padding:0 10px 14px;
}

#liveCentreWorkspace .liveCentreRegion{
  margin-top:18px;
}

#liveCentreWorkspace .liveCentreRegion:first-child{
  margin-top:8px;
}

#liveCentreWorkspace .liveCentreRegionHeader{
  display:flex;
  align-items:center;
  gap:9px;
  padding:11px 6px 9px;
  border-bottom:1px solid rgba(255,255,255,.045);
}

#liveCentreWorkspace .liveCentreRegionIcon{
  display:grid;
  width:26px;
  height:26px;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--lc-border);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  color:var(--lc-muted);
  font-size:11px;
}

#liveCentreWorkspace .liveCentreRegionName{
  color:var(--lc-text);
  font-size:13px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

#liveCentreWorkspace .liveCentreRegionMeta{
  margin-left:auto;
  color:var(--lc-dim);
  font-size:10px;
  font-weight:700;
}

#liveCentreWorkspace .liveCentreCountry{
  margin-top:10px;
}

#liveCentreWorkspace .liveCentreCountryHeader{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 8px;
  border-radius:10px;
  color:var(--lc-text);
  background:rgba(255,255,255,.018);
}

#liveCentreWorkspace .liveCentreCountryName{
  min-width:0;
  color:var(--lc-text);
  font-size:11px;
  font-weight:850;
}

#liveCentreWorkspace .liveCentreCountryCount{
  color:var(--lc-dim);
  font-size:9px;
  font-weight:700;
}

#liveCentreWorkspace .liveCentreCountryChevron{
  margin-left:auto;
  color:var(--lc-dim);
}

#liveCentreWorkspace .liveCentreCompetition{
  margin-top:8px;
  overflow:hidden;
  border:1px solid var(--lc-border);
  border-radius:14px;
  background:rgba(16,21,30,.78);
}

#liveCentreWorkspace .liveCentreCompetitionHeader{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:43px;
  padding:8px 11px;
  border-bottom:1px solid var(--lc-border);
  background:rgba(255,255,255,.018);
}

#liveCentreWorkspace .liveCentreCompetitionName{
  min-width:0;
  color:var(--lc-text);
}

#liveCentreWorkspace .liveCentreCompetitionName strong{
  display:block;
  overflow:hidden;
  font-size:11px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#liveCentreWorkspace .liveCentreCompetitionName small{
  display:block;
  margin-top:2px;
  color:var(--lc-dim);
  font-size:9px;
}

#liveCentreWorkspace .liveCentreCompetitionCount{
  margin-left:auto;
  color:var(--lc-dim);
  font-size:9px;
  font-weight:800;
}

/* ------------------------------------------------------------
   MATCH ROWS
   ------------------------------------------------------------ */

#liveCentreWorkspace .liveCentreMatchList{
  display:flex;
  flex-direction:column;
}

#liveCentreWorkspace .liveCentreMatch{
  position:relative;
  display:grid;
  grid-template-columns:62px minmax(0,1fr) 42px 24px;
  align-items:center;
  gap:8px;
  min-height:72px;
  padding:10px 10px;
  border-bottom:1px solid rgba(255,255,255,.055);
  background:rgba(255,255,255,.006);
  transition:background-color .18s ease;
}

#liveCentreWorkspace .liveCentreMatch:last-child{
  border-bottom:0;
}

#liveCentreWorkspace .liveCentreMatch:hover{
  background:rgba(255,255,255,.025);
}

#liveCentreWorkspace .liveCentreMatchMain{
  min-width:0;
}

#liveCentreWorkspace .liveCentreMatchMeta{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  min-width:0;
}

#liveCentreWorkspace .liveCentreLiveDot{
  width:6px;
  height:6px;
  margin-right:5px;
  flex:0 0 auto;
  border-radius:50%;
  background:var(--lc-live);
  box-shadow:0 0 0 4px rgba(183,255,60,.07);
  animation:lcPulse 1.5s ease-in-out infinite;
}

#liveCentreWorkspace .liveCentreMatchStatus{
  color:var(--lc-live);
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}

#liveCentreWorkspace .liveCentreTeams{
  display:flex;
  flex-direction:column;
  gap:7px;
  min-width:0;
}

#liveCentreWorkspace .liveCentreTeam{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:18px;
}

#liveCentreWorkspace .liveCentreTeamName{
  overflow:hidden;
  color:var(--lc-text);
  font-size:11px;
  font-weight:750;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#liveCentreWorkspace .liveCentreScore{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
  color:var(--lc-text);
  font-size:13px;
  font-weight:950;
  line-height:1;
  text-align:center;
}

#liveCentreWorkspace .liveCentreMatchAside{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

#liveCentreWorkspace .liveCentreMatchTime{
  color:var(--lc-muted);
  font-size:10px;
  font-weight:800;
  text-align:center;
}

#liveCentreWorkspace .liveCentreScheduled{
  color:var(--lc-muted);
  font-size:10px;
  font-weight:800;
}

#liveCentreWorkspace .liveCentreMatchFavorite{
  display:grid;
  width:24px;
  height:24px;
  place-items:center;
  color:var(--lc-dim);
  font-size:15px;
}

/* ------------------------------------------------------------
   EMPTY / STATUS / INTEGRITY
   ------------------------------------------------------------ */

#liveCentreWorkspace .liveCentreStatus,
#liveCentreWorkspace #liveCentreDebug{
  margin:0 16px;
  color:var(--lc-muted);
  font-size:10px;
}

#liveCentreWorkspace .liveCentreEmpty{
  margin:12px 6px;
  padding:28px 16px;
  border:1px dashed var(--lc-border-strong);
  border-radius:14px;
  background:rgba(255,255,255,.012);
  color:var(--lc-muted);
  text-align:center;
}

#liveCentreWorkspace .liveCentreIntegrity{
  display:flex;
  flex-wrap:wrap;
  gap:7px 14px;
  padding:12px 16px;
  border-top:1px solid var(--lc-border);
  color:var(--lc-muted);
  font-size:9px;
}

#liveCentreWorkspace .liveCentreIntegrity span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}

#liveCentreWorkspace .liveCentreIntegrity b{
  color:var(--lc-live);
}

/* ------------------------------------------------------------
   ANIMATION
   ------------------------------------------------------------ */

@keyframes lcPulse{
  0%,100%{
    opacity:1;
    transform:scale(1);
  }
  50%{
    opacity:.48;
    transform:scale(.78);
  }
}

/* ------------------------------------------------------------
   MOBILE
   ------------------------------------------------------------ */

@media (max-width:768px){
  #liveCentreWorkspace.liveScoreBoard{
    margin:12px -2px 22px;
    border-radius:18px;
  }

  .liveScoreTopBar{
    min-height:50px;
    padding:0 13px;
  }

  #liveCentreWorkspace .liveScoreTopMeta{
    display:none;
  }

  .liveCentreHero{
    padding:17px 13px 16px;
  }

  #liveCentreWorkspace .liveScoreBoardHeader{
    padding:14px 13px;
  }

  #liveCentreWorkspace .liveCentreSummary{
    padding:10px 13px;
  }

  #liveCentreWorkspace .liveCentreTabs{
    padding:9px 13px;
  }

  #liveCentreWorkspace .liveCentreFilterBar{
    padding:11px 13px;
  }

  #liveCentreWorkspace .liveCentreCompetitions{
    padding:0 7px 12px;
  }

  #liveCentreWorkspace .liveCentreMatch{
    grid-template-columns:55px minmax(0,1fr) 38px 22px;
    gap:6px;
    min-height:68px;
    padding:9px 8px;
  }

  #liveCentreWorkspace .liveCentreTeamName{
    font-size:10.5px;
  }

  #liveCentreWorkspace .liveCentreScore{
    font-size:12px;
  }
}

@media (max-width:380px){
  #liveCentreWorkspace .liveCentreMatch{
    grid-template-columns:50px minmax(0,1fr) 34px 20px;
    gap:5px;
    padding:8px 6px;
  }

  #liveCentreWorkspace .liveCentreMatchFavorite{
    font-size:13px;
  }

  #liveCentreWorkspace .liveCentreMatchStatus,
  #liveCentreWorkspace .liveCentreScheduled{
    font-size:9px;
  }
}


/* =========================================================
   LIVE CENTRE — CONTINENT → COUNTRY → LEAGUE → MATCH
   Final hierarchy presentation layer
   ========================================================= */

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetitions{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:18px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegion{
  margin:0;
  border:1px solid var(--lc-border);
  border-radius:18px;
  background:rgba(16,21,30,.72);
  overflow:hidden;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionHeader{
  width:100%;
  min-height:58px;
  padding:14px 16px;
  border:0;
  background:var(--lc-surface-2);
  color:var(--lc-text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  cursor:pointer;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionTitle{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionTitle strong{
  font-size:15px;
  font-weight:800;
  letter-spacing:.12em;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionIcon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(183,255,60,.1);
  color:var(--lc-live);
  font-size:13px;
  flex:0 0 auto;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionMeta{
  color:var(--lc-muted);
  font-size:11px;
  white-space:nowrap;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegionBody{
  display:none;
  padding:10px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreRegion.is-expanded .liveCentreRegionBody{
  display:block;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountry{
  margin:0 0 10px;
  border:1px solid var(--lc-border);
  border-radius:14px;
  overflow:hidden;
  background:rgba(20,27,37,.78);
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountry:last-child{
  margin-bottom:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountryHeader{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border:0;
  background:transparent;
  color:var(--lc-text);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  cursor:pointer;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreHierarchyTitle{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreHierarchyTitle strong{
  font-size:14px;
  font-weight:750;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountryFlag{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.07);
  color:var(--lc-live);
  font-size:9px;
  flex:0 0 auto;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreHierarchyMeta{
  color:var(--lc-muted);
  font-size:11px;
  white-space:nowrap;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountryBody{
  display:none;
  padding:0 9px 9px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCountry.is-expanded .liveCentreCountryBody{
  display:block;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetition{
  margin:0 0 8px;
  border:1px solid rgba(255,255,255,.055);
  border-radius:12px;
  background:var(--lc-surface);
  overflow:hidden;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetition:last-child{
  margin-bottom:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetitionHeader{
  min-height:42px;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px solid rgba(255,255,255,.055);
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetitionName{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreLeagueMarker{
  color:var(--lc-live);
  font-size:9px;
  opacity:.8;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetitionName strong{
  color:var(--lc-text);
  font-size:12px;
  font-weight:750;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreCompetitionCount{
  color:var(--lc-dim);
  font-size:10px;
  white-space:nowrap;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchList{
  display:flex;
  flex-direction:column;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatch{
  width:100%;
  min-height:68px;
  padding:10px 12px;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.045);
  background:transparent;
  color:var(--lc-text);
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  text-align:left;
  cursor:pointer;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatch:last-child{
  border-bottom:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatch:active{
  background:rgba(255,255,255,.035);
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchMain{
  min-width:0;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchMeta{
  display:flex;
  align-items:center;
  gap:6px;
  margin-bottom:5px;
  color:var(--lc-dim);
  font-size:9px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreTeams{
  display:flex;
  flex-direction:column;
  gap:3px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreTeam{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreTeamName{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--lc-text);
  font-size:12px;
  font-weight:650;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreScore{
  min-width:18px;
  color:var(--lc-text);
  font-size:14px;
  font-weight:850;
  text-align:right;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchAside{
  min-width:48px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:3px;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchStatus{
  color:var(--lc-live);
  font-size:11px;
  font-weight:800;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreScheduled{
  color:var(--lc-muted);
  font-size:11px;
  font-weight:700;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreLiveDot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--lc-live);
  box-shadow:0 0 0 4px var(--lc-live-soft);
  animation:liveCentrePulse 1.5s ease-in-out infinite;
}

#liveCentreWorkspace.liveScoreBoard .liveCentreMatchTime{
  color:var(--lc-dim);
  font-size:8px;
}

@media (max-width:768px){
  #liveCentreWorkspace.liveScoreBoard .liveCentreCompetitions{
    gap:12px;
    margin-top:14px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreRegionBody{
    padding:7px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreRegionHeader{
    min-height:54px;
    padding:12px 13px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreRegionMeta{
    font-size:10px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreCountryHeader{
    padding:11px 12px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreMatch{
    min-height:64px;
    padding:9px 10px;
    gap:8px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreTeamName{
    font-size:11px;
  }

  #liveCentreWorkspace.liveScoreBoard .liveCentreScore{
    font-size:13px;
  }
}

@keyframes liveCentrePulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.45;transform:scale(.78)}
}

/* =========================================================
   MATCH RADAR — DEDICATED PAGE
   ========================================================= */

.matchRadarPage{
  min-height:100vh;
}

.matchRadarPageShell{
  width:min(1120px, calc(100% - 28px));
  margin:0 auto;
  padding:28px 0 48px;
}

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

.matchRadarBack,
.matchRadarLiveLink{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
  text-decoration:none;
}

.matchRadarBack:hover,
.matchRadarLiveLink:hover{
  color:var(--text);
  border-color:rgba(183,255,60,.24);
}

.matchRadarPageHeader h1{
  margin:4px 0 5px;
  color:var(--text);
  font-size:clamp(24px,4vw,34px);
  line-height:1.05;
  letter-spacing:-.03em;
}

.matchRadarPageHeader p{
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.5;
}

.matchRadarWorkspace{
  margin-top:18px;
  overflow:hidden;
}

.matchRadarControls{
  display:flex;
  align-items:end;
  gap:10px;
  margin-top:18px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:15px;
  background:var(--surface-2);
}

.matchRadarControls label{
  display:grid;
  gap:6px;
  flex:1;
  min-width:0;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.matchRadarControls input{
  width:100%;
  min-height:40px;
  box-sizing:border-box;
}

.matchRadarControls button{
  min-height:40px;
  white-space:nowrap;
}

.matchRadarResult{
  margin-top:12px;
  padding:16px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:16px;
  background:linear-gradient(145deg,rgba(20,26,38,.96),rgba(10,14,22,.98));
  box-shadow:0 14px 34px rgba(0,0,0,.20);
}

.matchRadarResultHead{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.matchRadarResultHead h3{
  margin:4px 0 4px;
  color:var(--text);
  font-size:18px;
}

.matchRadarVisualization{
  min-height:220px;
  display:grid;
  place-items:center;
  margin-top:14px;
  padding:18px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:15px;
  background:#0d131d;
}

.matchRadarUnavailable{
  max-width:430px;
  text-align:center;
}

.matchRadarUnavailable strong{
  display:block;
  color:var(--text);
  font-size:12px;
}

.matchRadarUnavailable p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:10px;
  line-height:1.55;
}

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

.matchRadarMetric{
  padding:11px;
  border:1px solid var(--border);
  border-radius:13px;
  background:var(--surface-3);
}

.matchRadarMetric strong{
  display:block;
  color:var(--text);
  font-size:12px;
}

.matchRadarMetric small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:9px;
  line-height:1.4;
}

@media (max-width:700px){
  .matchRadarPageShell{
    width:min(100% - 20px, 680px);
    padding:18px 0 34px;
  }

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

  .matchRadarPageHeader > div{
    grid-column:1 / -1;
    grid-row:1;
    padding:8px 2px 2px;
  }

  .matchRadarBack{
    grid-column:1;
    grid-row:2;
    justify-self:start;
  }

  .matchRadarLiveLink{
    grid-column:2;
    grid-row:2;
    justify-self:end;
  }

  .matchRadarControls{
    flex-direction:column;
    align-items:stretch;
  }

  .matchRadarControls button{
    width:100%;
  }

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

@media (max-width:420px){
  .matchRadarMetrics{
    grid-template-columns:1fr;
  }

  .matchRadarPageHeader h1{
    font-size:25px;
  }
}

/* =========================================================
   PLAYER RADAR — SIX-AXIS VISUALIZATION
   ========================================================= */

.playerRadarChartWrap{
  width:min(100%,560px);
  display:grid;
  justify-items:center;
  gap:10px;
  padding:4px 0 2px;
}

.playerRadarLegend{
  width:100%;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px;
  color:var(--muted);
  font-size:9px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.playerRadarLegend span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.playerRadarLegend i{
  width:10px;
  height:10px;
  display:inline-block;
  border-radius:3px;
}

.playerRadarLegendPlayer{
  background:rgba(74,144,255,.30);
  border:1px solid rgba(74,144,255,.85);
}

.playerRadarLegendBenchmark{
  background:rgba(150,158,170,.08);
  border:1px dotted rgba(170,178,190,.85);
}

.playerRadarSvg{
  width:min(100%,420px);
  height:auto;
  overflow:visible;
}

.playerRadarGridRing{
  fill:none;
  stroke:rgba(150,158,170,.22);
  stroke-width:1;
}

.playerRadarGridAxis{
  stroke:rgba(150,158,170,.18);
  stroke-width:1;
}

.playerRadarBenchmarkPolygon{
  fill:rgba(150,158,170,.055);
  stroke:rgba(165,173,185,.78);
  stroke-width:1.5;
  stroke-dasharray:2.5 4;
  stroke-linejoin:round;
}

.playerRadarPlayerPolygon{
  fill:rgba(74,144,255,.24);
  stroke:rgba(74,144,255,.96);
  stroke-width:2;
  stroke-linejoin:round;
}

.playerRadarCenter{
  fill:var(--muted);
}

.playerRadarAxisLabel{
  fill:var(--text);
  font-size:9px;
  font-weight:800;
  letter-spacing:.02em;
}

.playerRadarScale{
  width:min(100%,420px);
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:8px;
  font-weight:750;
}

.playerRadarValues{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:2px;
}

.playerRadarValue{
  padding:10px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  min-width:0;
}

.playerRadarValue span{
  display:block;
  color:var(--muted);
  font-size:8px;
  font-weight:800;
  line-height:1.3;
}

.playerRadarValue strong{
  display:block;
  margin-top:3px;
  color:var(--text);
  font-size:12px;
}

.playerRadarValue small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:8px;
}

@media (max-width:768px){
  .playerRadarChartWrap{
    width:100%;
  }

  .playerRadarAxisLabel{
    font-size:8px;
  }

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

@media (max-width:420px){
  .playerRadarValues{
    grid-template-columns:1fr;
  }

  .playerRadarLegend{
    font-size:8px;
  }
}

/* B8 — consumer player search */
.playerRadarSearchControls{
  position:relative;
}

.playerRadarSearchResults{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 6px);
  z-index:30;
  display:grid;
  gap:4px;
  padding:6px;
  border:1px solid rgba(183,255,60,.14);
  border-radius:12px;
  background:#101721;
  box-shadow:0 18px 40px rgba(0,0,0,.34);
}

.playerRadarSearchResults.hidden{
  display:none;
}

.playerRadarSearchItem{
  width:100%;
  border:1px solid transparent;
  border-radius:9px;
  padding:10px 11px;
  background:transparent;
  color:var(--text);
  text-align:left;
  font:inherit;
  font-size:12px;
  font-weight:750;
  cursor:pointer;
}

.playerRadarSearchItem:hover,
.playerRadarSearchItem:focus-visible{
  border-color:var(--border);
  background:var(--surface-3);
  outline:none;
}

.playerRadarSearchEmpty{
  padding:10px 11px;
  color:var(--muted);
  font-size:11px;
}

@media (max-width:768px){
  .playerRadarSearchResults{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    margin-top:6px;
    box-shadow:none;
  }
}

/* ============================================================
   MATCH RADAR — DUAL ANALYSIS WORKSPACE
   ============================================================ */

.matchRadarDualWorkspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
  width:100%;
  margin-top:18px;
}

.matchRadarDualWorkspace > section{
  min-width:0;
  width:auto;
  margin:0;
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-sizing:border-box;
}

.matchRadarDualWorkspace > #radarWorkspace{
  border:1px solid rgba(183,255,60,.18);
}

.matchRadarDualWorkspace > #playerRadarWorkspace{
  border:1px solid rgba(255,255,255,.09);
}

.matchRadarDualWorkspace .radarIntegrity,
.matchRadarDualWorkspace .analystIntegrity{
  margin-top:auto;
}

.matchRadarDualWorkspace .playerRadarSearchControls{
  position:relative;
}

.matchRadarDualWorkspace .playerRadarSearchResults{
  width:100%;
  z-index:20;
}

.matchRadarDualWorkspace #playerRadarLoad{
  min-height:46px;
  margin-top:10px;
}

@media (max-width:768px){
  .matchRadarDualWorkspace{
    grid-template-columns:1fr;
    gap:16px;
  }

  .matchRadarDualWorkspace > section{
    width:100%;
  }
}

@media (max-width:520px){
  .matchRadarDualWorkspace{
    margin-top:14px;
    gap:14px;
  }

  .matchRadarDualWorkspace > section{
    border-radius:18px;
  }
}


/* MATCH RADAR — FINAL PLAYER WORKSPACE COMPOSITION */
#playerRadarWorkspace{
  min-height:100%;
}

#playerRadarWorkspace .matchRadarResult{
  flex:1;
  min-height:0;
  display:flex;
  flex-direction:column;
}

#playerRadarWorkspace .matchRadarResultHead{
  flex:0 0 auto;
}

#playerRadarWorkspace .matchRadarVisualization{
  flex:1;
  min-height:360px;
  display:grid;
  place-items:center;
}

#playerRadarWorkspace .matchRadarUnavailable{
  width:min(100%,420px);
}

#playerRadarWorkspace .matchRadarMetrics{
  flex:0 0 auto;
  margin-top:10px;
}

#playerRadarWorkspace .analystIntegrity{
  flex:0 0 auto;
  margin-top:12px;
}

@media (max-width:768px){
  #playerRadarWorkspace .matchRadarVisualization{
    min-height:300px;
  }
}

@media (max-width:420px){
  #playerRadarWorkspace .matchRadarVisualization{
    min-height:260px;
  }
}

/* MATCH RADAR — TYPOGRAPHY & CONTRAST */
.matchRadarPage{
  --radar-text:#F3F4F6;
  --radar-subtext:#9CA3AF;
}

.matchRadarPage,
.matchRadarPage .matchRadarWorkspace,
.matchRadarPage .radarWorkspace{
  color:var(--radar-text);
}

.matchRadarPage p,
.matchRadarPage .muted,
.matchRadarPage .matchRadarPageHeader p,
.matchRadarPage .radarHeading p,
.matchRadarPage .matchRadarResultHead p,
.matchRadarPage .matchRadarControls label,
.matchRadarPage .radarStatus,
.matchRadarPage .radarEmpty{
  color:var(--radar-subtext);
  font-size:14px;
  line-height:1.6;
}

.matchRadarPage .matchRadarPageHeader h1,
.matchRadarPage .radarHeading h2,
.matchRadarPage .sectionHeading h2,
.matchRadarPage .matchRadarResultHead h3{
  color:var(--radar-text);
  line-height:1.2;
}

.matchRadarPage .matchRadarPageHeader h1{
  font-size:clamp(24px,4vw,34px);
}

.matchRadarPage .radarHeading h2,
.matchRadarPage .sectionHeading h2{
  font-size:20px;
}

.matchRadarPage .matchRadarResultHead h3{
  font-size:20px;
}

.matchRadarPage .eyebrow,
.matchRadarPage .radarVerifiedBadge,
.matchRadarPage .analystVerifiedBadge,
.matchRadarPage .analystConfidence{
  font-size:14px;
  line-height:1.35;
}

.matchRadarPage .radarSummaryItem strong{
  font-size:20px;
  line-height:1.2;
}

.matchRadarPage .radarSummaryItem small{
  color:var(--radar-subtext);
  font-size:14px;
  line-height:1.4;
}

.matchRadarPage .radarIntegrity span,
.matchRadarPage .analystIntegrity span{
  color:var(--radar-subtext);
  font-size:14px;
  line-height:1.4;
}

.matchRadarPage .matchRadarWorkspace,
.matchRadarPage #radarWorkspace{
  padding:20px;
}

.matchRadarPage .sectionHeading,
.matchRadarPage .radarHeading{
  line-height:1.35;
}

@media (max-width:768px){
  .matchRadarPage .matchRadarWorkspace,
  .matchRadarPage #radarWorkspace{
    padding:18px;
  }

  .matchRadarPage p,
  .matchRadarPage .muted,
  .matchRadarPage .matchRadarPageHeader p{
    font-size:14px;
  }
}

@media (max-width:420px){
  .matchRadarPage .matchRadarWorkspace,
  .matchRadarPage #radarWorkspace{
    padding:16px;
  }
}

/* MATCH RADAR — PLAYER ANALYSIS EMPTY STATE */
.matchRadarPage .playerRadarEmptyState{
  margin-top:16px;
  padding:20px;
  border:1px solid rgba(255,255,255,.07);
  border-radius:18px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015));
}

.matchRadarPage .playerRadarEmptyCopy{
  max-width:620px;
  margin:16px auto 0;
  text-align:center;
}

.matchRadarPage .playerRadarEmptyCopy h3{
  margin:7px 0 6px;
  color:#F3F4F6;
  font-size:20px;
  line-height:1.25;
}

.matchRadarPage .playerRadarEmptyCopy p{
  max-width:560px;
  margin:0 auto;
  color:#9CA3AF;
  font-size:14px;
  line-height:1.6;
}

.matchRadarPage .playerRadarPreview{
  max-width:520px;
  margin:0 auto;
  padding:12px;
  border:1px solid rgba(183,255,60,.10);
  border-radius:15px;
  background:rgba(8,11,18,.58);
}

.matchRadarPage .playerRadarPreviewHeader{
  display:flex;
  gap:7px;
}

.matchRadarPage .playerRadarPreviewHeader span{
  display:block;
  height:7px;
  border-radius:99px;
  background:rgba(255,255,255,.07);
}

.matchRadarPage .playerRadarPreviewHeader span:nth-child(1){width:28%}
.matchRadarPage .playerRadarPreviewHeader span:nth-child(2){width:17%}
.matchRadarPage .playerRadarPreviewHeader span:nth-child(3){width:12%;margin-left:auto}

.matchRadarPage .playerRadarPreviewChart{
  position:relative;
  width:min(100%,250px);
  aspect-ratio:1;
  margin:12px auto;
  border:1px solid rgba(255,255,255,.045);
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(183,255,60,.035),transparent 62%);
}

.matchRadarPage .previewAxis{
  position:absolute;
  left:50%;
  top:50%;
  width:1px;
  height:92%;
  transform-origin:center;
  background:rgba(255,255,255,.07);
}

.matchRadarPage .previewAxisA{transform:translate(-50%,-50%) rotate(0deg)}
.matchRadarPage .previewAxisB{transform:translate(-50%,-50%) rotate(60deg)}
.matchRadarPage .previewAxisC{transform:translate(-50%,-50%) rotate(120deg)}
.matchRadarPage .previewAxisD{display:none}

.matchRadarPage .previewRadarShape{
  position:absolute;
  left:50%;
  top:50%;
  width:48%;
  height:48%;
  transform:translate(-50%,-50%) rotate(30deg);
  clip-path:polygon(50% 0,92% 26%,84% 82%,25% 100%,5% 45%);
  background:rgba(183,255,60,.09);
  border:1px solid rgba(183,255,60,.25);
}

.matchRadarPage .playerRadarPreviewMetrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}

.matchRadarPage .playerRadarPreviewMetrics span{
  height:34px;
  border-radius:10px;
  background:rgba(255,255,255,.045);
}

.matchRadarPage .playerRadarQuickSelect{
  margin-top:18px;
  text-align:center;
}

.matchRadarPage .playerRadarQuickSelect > span{
  display:block;
  color:#9CA3AF;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
}

.matchRadarPage .playerRadarQuickTags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:9px;
}

.matchRadarPage .playerRadarQuickTags button{
  min-height:38px;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#F3F4F6;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.matchRadarPage .playerRadarQuickTags button:hover{
  border-color:rgba(183,255,60,.28);
  background:rgba(183,255,60,.06);
}

.matchRadarPage .playerRadarGuide{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-top:18px;
}

.matchRadarPage .playerRadarGuide > div{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:11px;
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  background:rgba(255,255,255,.025);
}

.matchRadarPage .playerRadarGuide strong{
  display:grid;
  place-items:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  border-radius:50%;
  background:rgba(183,255,60,.10);
  color:#b7ff3c;
  font-size:13px;
}

.matchRadarPage .playerRadarGuide span{
  color:#9CA3AF;
  font-size:14px;
  line-height:1.35;
}

@media (max-width:768px){
  .matchRadarPage .playerRadarGuide{
    grid-template-columns:1fr;
  }
}

@media (max-width:420px){
  .matchRadarPage .playerRadarEmptyState{
    padding:16px;
  }

  .matchRadarPage .playerRadarPreviewChart{
    width:min(100%,210px);
  }

  .matchRadarPage .playerRadarPreviewMetrics{
    grid-template-columns:1fr;
  }
}

/* MATCH RADAR — LAYOUT / UI CLEANUP */
.matchRadarPage .matchRadarDualWorkspace > section{
  overflow:visible;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarDualWorkspace > #radarWorkspace,
.matchRadarPage .matchRadarDualWorkspace > #playerRadarWorkspace{
  border-radius:20px;
}

.matchRadarPage .matchRadarDualWorkspace .sectionHeading{
  margin-bottom:16px;
}

.matchRadarPage .matchRadarDualWorkspace .matchRadarControls{
  margin-top:4px;
}

.matchRadarPage .matchRadarDualWorkspace .radarResults{
  min-width:0;
  width:100%;
}

.matchRadarPage .matchRadarDualWorkspace .radarIntegrity,
.matchRadarPage .matchRadarDualWorkspace .analystIntegrity{
  width:100%;
  box-sizing:border-box;
}

.matchRadarPage .playerRadarSearchResults{
  max-width:100%;
  box-sizing:border-box;
}

@media (max-width:768px){
  .matchRadarPage .matchRadarDualWorkspace > section{
    overflow:visible;
  }

  .matchRadarPage .matchRadarDualWorkspace .sectionHeading{
    margin-bottom:14px;
  }
}

/* =========================================================
   BETCODE PRO — HERO IMAGE SIZING / OBJECT-FIT FIX
   Final responsive framing
   ========================================================= */

.dashboardHero.redesignedHero{
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center center;
  aspect-ratio:16 / 7;
  min-height:270px;
}

@media (max-width:699px){
  .dashboardHero.redesignedHero{
    aspect-ratio:4 / 3;
    min-height:0;
    background-size:cover;
    background-position:62% center;
  }
}

@media (max-width:430px){
  .dashboardHero.redesignedHero{
    aspect-ratio:1 / 1;
    background-position:62% center;
  }
}

/* =========================================================
   MATCH RADAR — STEP 1
   Page Shell & Responsive Architecture
   Layout-only: existing radar functionality preserved
   ========================================================= */

body.matchRadarPage{
  background:#0F172A;
  color:#F8FAFC;
  min-height:100vh;
}

.matchRadarPageShell{
  width:min(1280px, calc(100% - 32px));
  margin:0 auto;
  padding:28px 0 52px;
}

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

.matchRadarPageHeader > div{
  min-width:0;
}

.matchRadarPageHeader h1{
  margin:6px 0 5px;
  color:#F8FAFC;
  font-size:clamp(26px, 3vw, 36px);
  line-height:1.08;
  letter-spacing:-.025em;
}

.matchRadarPageHeader p{
  margin:0;
  color:#94A3B8;
  font-size:14px;
  line-height:1.55;
}

.matchRadarDualWorkspace{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(360px,2fr);
  gap:20px;
  align-items:start;
  width:100%;
  margin-top:0;
}

.matchRadarDualWorkspace > .card{
  min-width:0;
  width:100%;
  box-sizing:border-box;
}

.matchRadarDualWorkspace .radarWorkspace,
.matchRadarDualWorkspace .matchRadarWorkspace{
  margin-top:0;
  min-height:100%;
}

@media (max-width:900px){
  .matchRadarPageShell{
    width:min(100% - 24px, 760px);
    padding-top:22px;
  }

  .matchRadarDualWorkspace{
    grid-template-columns:1fr;
    gap:16px;
  }

  .matchRadarDualWorkspace > .card{
    min-height:0;
  }
}

@media (max-width:600px){
  .matchRadarPageShell{
    width:calc(100% - 20px);
    padding:18px 0 36px;
  }

  .matchRadarPageHeader{
    grid-template-columns:1fr;
    align-items:start;
    gap:12px;
    margin-bottom:16px;
  }

  .matchRadarPageHeader h1{
    font-size:27px;
  }

  .matchRadarPageHeader p{
    font-size:13px;
  }

  .matchRadarPageHeader .matchRadarLiveLink{
    justify-self:start;
  }

  .matchRadarDualWorkspace{
    gap:14px;
  }
}

@media (max-width:430px){
  .matchRadarPageShell{
    width:calc(100% - 16px);
    padding-top:14px;
  }

  .matchRadarPageHeader h1{
    font-size:24px;
  }
}


/* =========================================================
   MATCH RADAR — STEP 2
   Radar Header & Live Status
   Data hooks preserved
   ========================================================= */

.matchRadarPage .radarTitleRow{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.matchRadarPage .radarLiveStatus{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:22px;
  padding:4px 8px;
  border:1px solid rgba(34,197,94,.22);
  border-radius:999px;
  background:rgba(34,197,94,.07);
  color:#84CC16;
  font-size:9px;
  font-weight:800;
  letter-spacing:.09em;
  white-space:nowrap;
}

.matchRadarPage .radarLiveStatus i{
  display:block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#22C55E;
  box-shadow:0 0 0 0 rgba(34,197,94,.55);
  animation:matchRadarLivePulse 1.8s infinite;
}

@keyframes matchRadarLivePulse{
  0%{
    box-shadow:0 0 0 0 rgba(34,197,94,.55);
  }
  70%{
    box-shadow:0 0 0 6px rgba(34,197,94,0);
  }
  100%{
    box-shadow:0 0 0 0 rgba(34,197,94,0);
  }
}

.matchRadarPage .radarSummary{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:20px;
}

.matchRadarPage .radarSummaryItem{
  position:relative;
  padding:15px 16px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:16px;
  background:#1E293B;
  overflow:hidden;
}

.matchRadarPage .radarSummaryItem::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:2px;
  background:#22C55E;
  opacity:.8;
}

.matchRadarPage .radarSummaryLabel{
  margin-bottom:9px;
  color:#94A3B8;
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  line-height:1.2;
}

.matchRadarPage .radarSummaryItem strong{
  color:#F8FAFC;
  font-size:22px;
  line-height:1;
  letter-spacing:-.02em;
}

.matchRadarPage .radarSummaryItem small{
  margin-top:7px;
  color:#94A3B8;
  font-size:11px;
  font-weight:500;
  line-height:1.35;
}

@media (max-width:600px){
  .matchRadarPage .radarSummary{
    gap:8px;
  }

  .matchRadarPage .radarSummaryItem{
    padding:13px 11px;
    border-radius:14px;
  }

  .matchRadarPage .radarSummaryLabel{
    font-size:8px;
    letter-spacing:.06em;
  }

  .matchRadarPage .radarSummaryItem strong{
    font-size:19px;
  }

  .matchRadarPage .radarSummaryItem small{
    font-size:10px;
  }
}

@media (max-width:430px){
  .matchRadarPage .radarSummary{
    grid-template-columns:1fr;
  }

  .matchRadarPage .radarSummaryItem{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    column-gap:10px;
    align-items:center;
  }

  .matchRadarPage .radarSummaryLabel{
    grid-column:1;
    grid-row:1;
    margin:0;
  }

  .matchRadarPage .radarSummaryItem strong{
    grid-column:2;
    grid-row:1 / span 2;
  }

  .matchRadarPage .radarSummaryItem small{
    grid-column:1;
    grid-row:2;
    margin-top:4px;
  }
}


/* =========================================================
   MATCH RADAR — STEP 3
   Filter Bar
   Visual layer only — existing radar logic preserved
   ========================================================= */

.matchRadarPage .radarFilterBar{
  display:flex;
  align-items:center;
  gap:6px;
  width:100%;
  margin:18px 0 14px;
  padding:5px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:14px;
  background:#1E293B;
  overflow-x:auto;
  scrollbar-width:none;
}

.matchRadarPage .radarFilterBar::-webkit-scrollbar{
  display:none;
}

.matchRadarPage .radarFilterButton{
  flex:0 0 auto;
  min-height:36px;
  padding:0 15px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#94A3B8;
  font:inherit;
  font-size:12px;
  font-weight:750;
  line-height:1;
  white-space:nowrap;
  cursor:pointer;
  transition:
    background .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.matchRadarPage .radarFilterButton:hover{
  color:#F8FAFC;
  background:rgba(148,163,184,.07);
}

.matchRadarPage .radarFilterButton:focus-visible{
  outline:2px solid rgba(34,197,94,.65);
  outline-offset:2px;
}

.matchRadarPage .radarFilterButton.is-active{
  border-color:rgba(34,197,94,.24);
  background:rgba(34,197,94,.10);
  color:#84CC16;
}

.matchRadarPage .radarFilterButton.is-active:hover{
  background:rgba(34,197,94,.14);
}

@media (max-width:600px){
  .matchRadarPage .radarFilterBar{
    margin:14px 0 12px;
    border-radius:12px;
  }

  .matchRadarPage .radarFilterButton{
    min-height:34px;
    padding:0 13px;
    font-size:11px;
  }
}


/* =========================================================
   B9 — FOOTBALL DESK POLISH
   Discovery panel hierarchy
   ========================================================= */

.footballDeskFollow{
  position:relative;
  margin-bottom:14px;
  padding:18px;
  border:1px solid rgba(183,255,60,.16);
  border-radius:18px;
  background:
    linear-gradient(135deg,rgba(183,255,60,.055),rgba(255,255,255,.018) 48%,rgba(255,255,255,.012));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}

.footballDeskFollow::before{
  content:"";
  position:absolute;
  top:16px;
  bottom:16px;
  left:0;
  width:2px;
  border-radius:999px;
  background:var(--accent);
  opacity:.8;
}

.footballDeskFollow .footballDeskPanelHead{
  margin-bottom:13px;
  padding-left:4px;
}

.footballDeskFollow .footballDeskPanelHead h3{
  font-size:17px;
}

.footballDeskFollowControls{
  gap:9px;
}

.footballDeskSelect{
  min-height:44px;
  border-color:rgba(183,255,60,.14);
  background:rgba(0,0,0,.18);
}

.footballDeskSelect:focus{
  border-color:rgba(183,255,60,.42);
  outline:none;
  box-shadow:0 0 0 3px rgba(183,255,60,.07);
}

.footballDeskFollow .primary,
.footballDeskFollow .secondary{
  min-height:44px;
}

.footballDeskHint{
  max-width:760px;
}

@media (max-width:720px){
  .footballDeskFollow{
    padding:15px;
  }

  .footballDeskFollowControls{
    gap:8px;
  }
}

@media (max-width:420px){
  .footballDeskFollow{
    padding:14px;
    border-radius:16px;
  }
}

/* ============================================================
   BETCODE PRO — MOBILE-FIRST RADAR HARDENING
   Final presentation layer
   Existing IDs, JS hooks, APIs and radar logic preserved.
   ============================================================ */

body.matchRadarPage{
  background:#0F172A;
  color:#F8FAFC;
  overflow-x:hidden;
}

.matchRadarPageShell{
  width:min(1280px,calc(100% - 32px));
  max-width:1280px;
  margin:0 auto;
  padding:28px 0 52px;
  box-sizing:border-box;
}

.matchRadarPageHeader{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:20px;
  width:100%;
  box-sizing:border-box;
}

.matchRadarPageHeader h1{
  color:#F8FAFC;
  font-size:clamp(26px,3vw,36px);
  line-height:1.08;
}

.matchRadarPageHeader p{
  color:#94A3B8;
  font-size:14px;
  line-height:1.55;
}

.matchRadarBack,
.matchRadarLiveLink{
  min-height:44px;
  padding:0 14px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
}

.matchRadarDualWorkspace{
  display:grid;
  grid-template-columns:minmax(0,3fr) minmax(0,2fr);
  gap:20px;
  width:100%;
  margin-top:0;
  align-items:start;
  box-sizing:border-box;
}

.matchRadarDualWorkspace > .card{
  min-width:0;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.matchRadarPage .sectionHeading{
  min-width:0;
}

.matchRadarPage .sectionHeading h2{
  color:#F8FAFC;
  font-size:18px;
  line-height:1.3;
}

.matchRadarPage .sectionHeading .muted{
  color:#94A3B8;
  font-size:14px;
  line-height:1.55;
}

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

.matchRadarPage .radarSummaryItem{
  min-width:0;
  background:#1E293B;
}

.matchRadarPage .radarSummaryLabel{
  color:#94A3B8;
  font-size:12px;
  line-height:1.3;
}

.matchRadarPage .radarSummaryItem strong{
  color:#F8FAFC;
  font-size:22px;
}

.matchRadarPage .radarSummaryItem small{
  color:#94A3B8;
  font-size:12px;
  line-height:1.4;
}

.matchRadarPage .radarFilterBar{
  display:flex;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  gap:8px;
  box-sizing:border-box;
}

.matchRadarPage .radarFilterButton{
  min-height:46px;
  padding:0 15px;
  font-size:12px;
  flex:0 0 auto;
}

.matchRadarPage .matchRadarControls{
  width:100%;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarControls label{
  font-size:12px;
  line-height:1.3;
}

.matchRadarPage .matchRadarControls input{
  min-height:48px;
  font-size:15px;
  box-sizing:border-box;
}

.matchRadarPage #playerRadarLoad{
  min-height:48px;
  padding:0 18px;
  font-size:14px;
  font-weight:800;
  box-sizing:border-box;
}

.matchRadarPage .playerRadarEmptyState{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.matchRadarPage .playerRadarEmptyCopy h3{
  font-size:18px;
  line-height:1.35;
}

.matchRadarPage .playerRadarEmptyCopy p{
  font-size:14px;
  line-height:1.55;
  color:#94A3B8;
}

.matchRadarPage .playerRadarQuickTags button{
  min-height:44px;
  padding:0 14px;
  font-size:13px;
}

.matchRadarPage .playerRadarGuide{
  width:100%;
  box-sizing:border-box;
}

.matchRadarPage .playerRadarGuide span{
  font-size:14px;
}

.matchRadarPage .matchRadarResult{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarResultHead h3{
  font-size:20px;
  line-height:1.3;
}

.matchRadarPage .matchRadarVisualization{
  width:100%;
  max-width:100%;
  min-height:300px;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarUnavailable{
  width:min(100%,420px);
  max-width:100%;
  padding:0 8px;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarUnavailable strong{
  font-size:15px;
  line-height:1.4;
}

.matchRadarPage .matchRadarUnavailable p{
  font-size:14px;
  line-height:1.55;
}

.matchRadarPage .matchRadarMetrics{
  width:100%;
  box-sizing:border-box;
}

.matchRadarPage .matchRadarMetric{
  min-width:0;
}

.matchRadarPage .analystIntegrity,
.matchRadarPage .radarIntegrity{
  font-size:12px;
  line-height:1.4;
}

@media (max-width:767px){

  .matchRadarPageShell{
    width:calc(100% - 24px);
    max-width:none;
    padding:18px 0 36px;
  }

  .matchRadarPageHeader{
    grid-template-columns:1fr;
    gap:12px;
    align-items:start;
    margin-bottom:16px;
  }

  .matchRadarPageHeader > div{
    min-width:0;
  }

  .matchRadarPageHeader h1{
    font-size:26px;
  }

  .matchRadarPageHeader p{
    font-size:14px;
  }

  .matchRadarPageHeader .matchRadarLiveLink,
  .matchRadarPageHeader .matchRadarBack{
    justify-self:stretch;
    width:100%;
  }

  .matchRadarDualWorkspace{
    grid-template-columns:1fr !important;
    gap:16px;
    width:100%;
  }

  .matchRadarDualWorkspace > .card{
    width:100%;
    min-width:0;
    max-width:none;
  }

  /* Player analysis remains fully visible instead of becoming
     a narrow desktop column. */
  #playerRadarWorkspace{
    order:1;
  }

  #radarWorkspace{
    order:2;
  }

  .matchRadarPage .radarSummary{
    grid-template-columns:1fr;
    gap:8px;
  }

  .matchRadarPage .radarSummaryItem{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto;
    column-gap:12px;
    align-items:center;
  }

  .matchRadarPage .radarSummaryLabel{
    grid-column:1;
    grid-row:1;
    margin:0;
  }

  .matchRadarPage .radarSummaryItem strong{
    grid-column:2;
    grid-row:1 / span 2;
    font-size:20px;
  }

  .matchRadarPage .radarSummaryItem small{
    grid-column:1;
    grid-row:2;
    margin-top:4px;
  }

  .matchRadarPage .matchRadarControls{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:14px;
  }

  .matchRadarPage .matchRadarControls label{
    width:100%;
  }

  .matchRadarPage #playerRadarLoad{
    width:100%;
  }

  .matchRadarPage .playerRadarEmptyState{
    min-height:0;
    padding:20px 14px;
  }

  .matchRadarPage .playerRadarPreview{
    width:100%;
    max-width:240px;
    margin:0 auto;
  }

  .matchRadarPage .playerRadarPreviewChart{
    width:min(100%,210px);
    max-width:100%;
  }

  .matchRadarPage .playerRadarQuickTags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }

  .matchRadarPage .playerRadarQuickTags button{
    flex:1 1 140px;
  }

  .matchRadarPage .matchRadarVisualization{
    min-height:280px;
  }

  .matchRadarPage .matchRadarMetrics{
    grid-template-columns:1fr;
  }
}

@media (max-width:430px){

  .matchRadarPageShell{
    width:calc(100% - 16px);
    padding-top:14px;
  }

  .matchRadarPageHeader h1{
    font-size:24px;
  }

  .matchRadarPage .sectionHeading h2{
    font-size:18px;
  }

  .matchRadarPage .sectionHeading .muted{
    font-size:14px;
  }

  .matchRadarPage .radarFilterButton{
    min-height:44px;
    padding:0 14px;
  }

  .matchRadarPage .playerRadarQuickTags button{
    flex-basis:100%;
  }
}

/* ============================================================
   BETCODE PRO — RADAR ANALYZE PROCESSING STATE
   Uses the existing disabled state set by loadPlayerRadar().
   No API or JS workflow changes.
   ============================================================ */

.matchRadarPage #playerRadarLoad:disabled{
  opacity:1;
  color:#050807;
  background:#22C55E;
  border-color:#22C55E;
  cursor:wait;
  box-shadow:
    0 0 0 1px rgba(34,197,94,.25),
    0 0 18px rgba(34,197,94,.32),
    0 0 34px rgba(34,197,94,.16);
}

.matchRadarPage #playerRadarLoad:disabled::after{
  content:"";
  display:inline-block;
  width:9px;
  height:9px;
  margin-left:9px;
  border:2px solid rgba(5,8,7,.28);
  border-top-color:#050807;
  border-radius:50%;
  vertical-align:-1px;
  animation:betcodeRadarSpin .75s linear infinite;
}

@keyframes betcodeRadarSpin{
  to{transform:rotate(360deg);}
}

@media (prefers-reduced-motion:reduce){
  .matchRadarPage #playerRadarLoad:disabled::after{
    animation:none;
  }
}


/* BETCODE_DECOR_START */
.heroPreview{max-width:240px!important;margin:6px auto 0!important;opacity:.92}
.heroPreview .previewWindow{zoom:.72}
#footballHub{position:relative;isolation:isolate}
#footballHub::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.55;background:radial-gradient(600px 260px at 15% 0%,rgba(183,255,60,.10),transparent 70%),radial-gradient(500px 300px at 100% 40%,rgba(60,200,255,.06),transparent 70%),repeating-linear-gradient(90deg,rgba(255,255,255,.018) 0 60px,transparent 60px 120px)}
#footballHub .fh-card{background:linear-gradient(180deg,#0f1722,#0b1119);box-shadow:0 10px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.04);transition:transform .2s,border-color .2s}
#footballHub .fh-card:hover{border-color:#3a5a1f;transform:translateY(-2px)}
#footballHub .fh-h::after{content:"";display:block;width:64px;height:4px;border-radius:4px;margin-top:12px;background:linear-gradient(90deg,#b7ff3c,transparent)}
/* BETCODE_DECOR_END */

/* BETCODE_HERO2_START */
.heroSection .heroActions{display:none!important}
.heroSection{min-height:0!important;gap:14px!important;padding-bottom:10px!important}
.heroSection .heroPreview{max-width:100%!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}
.heroSection .heroPreview .previewWindow{zoom:1!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:10px 12px!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;border-radius:16px!important}
.heroSection .heroPreview .previewTop{grid-column:1/-1!important;margin:0!important;padding:0 0 6px!important}
.heroSection .heroPreview .previewField,.heroSection .heroPreview .previewMarkets{margin:0!important;padding:8px 10px!important;min-height:0!important}
.heroSection .heroPreview .previewField strong{font-size:15px!important}
.heroSection .heroPreview .previewMarkets{padding:6px 8px!important}
.heroSection .heroPreview .previewButton{grid-column:1/-1!important;margin:0!important;padding:9px!important;font-size:13px!important}
.heroSection .heroPreview .previewStatus{display:none!important}
.heroSection .heroPreview .previewGlow{opacity:.5}
/* BETCODE_HERO2_END */

/* BETCODE_NEWS_START */
#footballHub .nw-head{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin:26px 0 14px}
#footballHub .nw-h{margin:8px 0 0;font-size:20px;color:#fff;font-weight:800}
#footballHub .nw-src{color:#6f7d93;font-size:12px}
#footballHub .nw-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
@media(min-width:860px){#footballHub .nw-grid{grid-template-columns:1.25fr 1fr}}
#footballHub .nw-feat{position:relative;display:block;min-height:240px;border-radius:18px;overflow:hidden;border:1px solid #1d2735;background:linear-gradient(135deg,#16240f,#0d131c);text-decoration:none;isolation:isolate}
#footballHub .nw-fimg,#footballHub .nw-fimg img{position:absolute;inset:0;width:100%;height:100%}
#footballHub .nw-fimg img{object-fit:cover;transition:transform .4s}
#footballHub .nw-feat:hover .nw-fimg img{transform:scale(1.04)}
#footballHub .nw-ov{position:absolute;left:0;right:0;bottom:0;padding:48px 16px 16px;background:linear-gradient(180deg,transparent,rgba(5,8,13,.93) 70%)}
#footballHub .nw-ov b{display:block;color:#fff;font-size:19px;line-height:1.25;margin-top:8px}
#footballHub .nw-pill{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.03em;color:#0a0f06;background:#b7ff3c;border-radius:999px;padding:3px 9px}
#footballHub .nw-list{display:grid;gap:10px;align-content:start}
#footballHub .nw-card{display:flex;gap:12px;padding:10px;border-radius:14px;border:1px solid #1d2735;background:linear-gradient(180deg,#0f1722,#0b1119);text-decoration:none;transition:border-color .2s,transform .2s}
#footballHub .nw-card:hover{border-color:#3a5a1f;transform:translateY(-2px)}
#footballHub .nw-th{flex:none;width:96px;height:72px;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#1b2b12,#101a26)}
#footballHub .nw-th img{width:100%;height:100%;object-fit:cover;display:block}
#footballHub .nw-tx{min-width:0}
#footballHub .nw-tx b{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#e8edf5;font-size:14px;line-height:1.3}
#footballHub .nw-tx small{display:block;margin-top:6px;color:#6f7d93;font-size:11px}
/* BETCODE_NEWS_END */

/* BETCODE_LOWER_START */
.rv{opacity:0;transform:translateY(16px);transition:opacity .5s ease,transform .5s ease}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

#engineStats{width:100%;max-width:1100px;margin:0 auto;padding:6px 16px 24px;box-sizing:border-box}
#engineStats .es-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media(min-width:760px){#engineStats .es-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
#engineStats .es-grid>div{padding:16px 12px;border-radius:16px;text-align:center;border:1px solid #1d2735;background:radial-gradient(240px 120px at 50% 0%,rgba(183,255,60,.10),transparent 70%),linear-gradient(180deg,#0f1722,#0b1119)}
#engineStats b{display:block;color:#b7ff3c;font-size:clamp(24px,6vw,32px);font-weight:800;line-height:1.1}
#engineStats span{display:block;color:#8794a8;font-size:12px;margin-top:6px}

#publicHome .trustStrip{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:0 16px!important;margin:6px 0 10px!important;background:none!important;border:0!important}
#publicHome .trustStrip>div{padding:12px 8px!important;border-radius:14px!important;text-align:center;background:linear-gradient(180deg,#0f1722,#0b1119)!important;border:1px solid #1d2735!important}
#publicHome .trustStrip strong{display:block;color:#b7ff3c!important;font-size:14px!important}
#publicHome .trustStrip span{display:block;color:#8794a8!important;font-size:11px!important;line-height:1.35;margin-top:3px}

#publicHome .homeSection{padding:30px 16px!important;margin:0!important}
#publicHome .sectionHeading{margin-bottom:18px!important}
#publicHome .sectionHeading h2{font-size:clamp(22px,5.6vw,32px)!important;line-height:1.18!important}
#publicHome .sectionHeading p{font-size:14px!important;line-height:1.55!important}
#publicHome .homeCard{background:linear-gradient(180deg,#0f1722,#0b1119)!important;border:1px solid #1d2735!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.04)!important}

#publicHome .stepsGrid,#publicHome .featureGrid,#publicHome .securityGrid{display:grid!important;gap:12px!important;grid-template-columns:minmax(0,1fr)!important}
#publicHome .stepsGrid .homeCard{position:relative;padding:16px 16px 16px 74px!important;min-height:0!important}
#publicHome .stepsGrid .stepNumber{position:absolute!important;left:16px;top:16px;width:42px;height:42px;display:grid;place-items:center;margin:0!important;border-radius:50%;background:rgba(183,255,60,.12);border:1px solid #35521a;color:#b7ff3c;font-weight:800;font-size:14px}
#publicHome .stepsGrid .homeCard:not(:last-child)::after{content:"";position:absolute;left:36px;top:60px;bottom:-12px;width:2px;background:linear-gradient(#35521a,transparent)}
#publicHome .stepsGrid h3{margin:0 0 4px!important;font-size:16px!important}
#publicHome .stepsGrid p{margin:0!important;font-size:13px!important;line-height:1.5!important}

#publicHome .featureCard,#publicHome .securityCard{display:grid!important;grid-template-columns:48px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px!important;min-height:0!important}
#publicHome .featureIcon,#publicHome .securityIcon{grid-row:1/3;margin:0!important;width:48px!important;height:48px!important;display:grid!important;place-items:center}
#publicHome .featureCard h3,#publicHome .securityCard h3{margin:0 0 4px!important;font-size:16px!important}
#publicHome .featureCard p,#publicHome .securityCard p{margin:0!important;font-size:13px!important;line-height:1.5!important}
@media(min-width:860px){
  #publicHome .stepsGrid,#publicHome .featureGrid,#publicHome .securityGrid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #publicHome .stepsGrid .homeCard:not(:last-child)::after{display:none}
}
#publicHome .securityNote{margin-top:14px!important;padding:14px 16px!important;border-radius:14px!important;border:1px solid #1d2735!important;border-left:3px solid #b7ff3c!important;background:#0d131c!important}
#publicHome .securityNote strong{display:block;color:#fff;font-size:14px}
#publicHome .securityNote span{display:block;color:#8794a8;font-size:13px;line-height:1.5;margin-top:4px}

#publicHome .pricingGrid{display:grid!important;gap:14px!important;grid-template-columns:minmax(0,1fr)!important;max-width:780px;margin:0 auto}
@media(min-width:760px){#publicHome .pricingGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
#publicHome .priceCard{border-radius:20px!important;padding:20px!important;border:1px solid #1d2735!important;background:linear-gradient(180deg,#0f1722,#0b1119)!important}
#publicHome .priceCard:not(.priceCardPro){border-color:#35521a!important;box-shadow:0 0 36px rgba(183,255,60,.08),0 10px 28px rgba(0,0,0,.35)!important;background:radial-gradient(320px 160px at 50% 0%,rgba(183,255,60,.10),transparent 70%),linear-gradient(180deg,#101c14,#0b1119)!important}
#publicHome .priceCardPro{opacity:.88}
#publicHome .priceFeatures li{padding:6px 0!important;font-size:14px!important}
#publicHome .priceButton{border-radius:14px!important}

#publicHome .faqGrid{display:grid!important;gap:8px!important;max-width:780px;margin:0 auto}
#publicHome .faqItem{border-radius:14px!important;border:1px solid #1d2735!important;background:linear-gradient(180deg,#0f1722,#0b1119)!important;overflow:hidden}
#publicHome .faqItem[open]{border-color:#35521a!important;border-left:3px solid #b7ff3c!important}
#publicHome .faqItem summary{padding:14px 16px!important;font-size:15px!important}
#publicHome .faqItem p{padding:0 16px 14px!important;font-size:13px!important;line-height:1.55!important}

#publicHome .homeCta{margin:18px 16px 10px!important;padding:32px 20px!important;border-radius:22px!important;text-align:center;border:1px solid #2f4a1c!important;background:radial-gradient(420px 220px at 50% 0%,rgba(183,255,60,.16),transparent 70%),repeating-linear-gradient(90deg,rgba(255,255,255,.02) 0 60px,transparent 60px 120px),linear-gradient(180deg,#0f1a12,#0b1119)!important;box-shadow:0 0 44px rgba(183,255,60,.08)!important}
#publicHome .homeCta h2{font-size:clamp(22px,5.6vw,30px)!important}

#pfWrap{width:100%;max-width:1100px;margin:0 auto;padding:18px 16px 4px;box-sizing:border-box}
#pfWrap .pfCols{display:grid;gap:18px;grid-template-columns:1fr 1fr}
@media(min-width:760px){#pfWrap .pfCols{grid-template-columns:2fr 1fr 1fr}}
#pfWrap .pfCols div:first-child{grid-column:1/-1}
@media(min-width:760px){#pfWrap .pfCols div:first-child{grid-column:auto}}
#pfWrap b{display:block;color:#fff;font-size:14px;margin-bottom:8px}
#pfWrap small{color:#8794a8;font-size:12px;line-height:1.5;display:block}
#pfWrap a{display:block;color:#b7ff3c;font-size:13px;text-decoration:none;padding:4px 0}
#pfWrap .pfRg{margin:18px 0 0;padding:12px 14px;border-radius:14px;border:1px solid #4a3a14;background:linear-gradient(135deg,#1b1608,#0d131c);color:#e9dcb4;font-size:12px;line-height:1.55}
#pfWrap .pfRg b{display:inline;color:#ffd66b;font-size:12px;margin:0}
/* BETCODE_LOWER_END */

/* BETCODE_FIX2_START */
#publicHome .priceFeatures li{padding:6px 0 6px 28px!important}
#publicHome .faqGrid,#publicHome .pricingGrid{width:100%!important;box-sizing:border-box}
#publicHome .faqItem{width:100%!important;box-sizing:border-box}
/* BETCODE_FIX2_END */
/* BETCODE_NAV_CSS */
.bcHide{display:none !important}
.mobileBottomItem{transition:color .2s,transform .2s}
.mobileBottomItem.active{color:#b7ff3c !important;transform:translateY(-2px)}
.mobileBottomItem.active *{color:#b7ff3c !important}
/* BETCODE_HUB_CSS */
.bcHomeHub{padding:14px 14px 4px;display:grid;gap:12px}
.bcHead h2{margin:0 0 4px;font-size:20px;color:#fff}
.bcHead p,.bcMuted{margin:0;color:#8f9bb3;font-size:13px}
.bcCard{background:linear-gradient(160deg,#0f1522,#0a0e17);border:1px solid rgba(183,255,60,.18);border-radius:16px;padding:14px;display:grid;gap:10px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.bcCard h3{margin:0;font-size:15px;color:#b7ff3c;letter-spacing:.3px}
.bcCard select,.bcCard input{width:100%;box-sizing:border-box;background:#080b12;color:#fff;border:1px solid #243049;border-radius:10px;padding:11px;font-size:14px}
.bcBtn{background:#b7ff3c;color:#0a0e17;border:0;border-radius:10px;padding:11px 16px;font-weight:700;font-size:14px}
.bcGhost{background:transparent;color:#b7ff3c;border:1px solid #b7ff3c}
.bcRow{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #1a2336;color:#e8ecf5}
.bcRow small{display:block;color:#8f9bb3;font-size:12px;margin-top:2px}
.bcAdd,.bcDel{background:rgba(183,255,60,.12);color:#b7ff3c;border:1px solid rgba(183,255,60,.4);border-radius:8px;padding:7px 10px;font-size:12px;white-space:nowrap}
.bcVerdict{border-radius:12px;padding:11px;display:grid;gap:3px;font-size:13px;color:#e8ecf5}
.bcVerdict b{font-size:15px}
.bcGood{background:rgba(60,255,120,.12);border:1px solid #3cff78}
.bcOk{background:rgba(183,255,60,.1);border:1px solid #b7ff3c}
.bcBad{background:rgba(255,90,90,.1);border:1px solid #ff5a5a}
.bcStats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;text-align:center}
.bcStats div{background:#080b12;border-radius:10px;padding:8px 2px}
.bcStats b{display:block;color:#fff;font-size:14px}
.bcStats small{color:#8f9bb3;font-size:11px}
.bcRowIn{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}
.bcFine{color:#6f7b93;font-size:11px;text-align:center;margin:0 0 6px}
/* BETCODE_NODESK */
#mainApp #footballDesk,#mainApp .footballDesk{display:none !important}
/* BETCODE_HUB2_CSS */
.bcBanker{display:grid;gap:4px;color:#e8ecf5;background:linear-gradient(135deg,rgba(183,255,60,.14),rgba(183,255,60,.03));border:1px solid rgba(183,255,60,.5);border-radius:14px;padding:14px}
.bcBanker b{font-size:18px;color:#b7ff3c}
.bcBanker small{color:#8f9bb3;font-size:12px}
.bcBanker button{justify-self:start;margin-top:6px}
#bcMk details{border-top:1px solid #1a2336;padding:4px 0}
#bcMk summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;color:#e8ecf5;list-style:none;padding:8px 0}
#bcMk summary::-webkit-details-marker{display:none}
#bcMk summary small{display:block;color:#8f9bb3;font-size:12px}
#bcMk summary em{font-style:normal;color:#b7ff3c;font-size:12px;white-space:nowrap}
.bcMkGrp{color:#b7ff3c;font-size:12px;letter-spacing:.5px;text-transform:uppercase;margin:12px 0 4px}
.bcMkRow{display:grid;grid-template-columns:1fr 70px 38px 30px;align-items:center;gap:8px;color:#e8ecf5;font-size:13px;padding:4px 0}
.bcMkRow i{display:block;height:6px;border-radius:4px;background:#1a2336;overflow:hidden}
.bcMkRow u{display:block;height:100%;background:#b7ff3c;border-radius:4px}
.bcMkRow b{text-align:right;font-size:12px}
.bcMkRow .bcAdd{padding:4px 0;text-align:center}
/* BETCODE_TRACK_CSS */
.bcRecRow{grid-template-columns:62px 1fr 40px 46px !important}
.bcRecRow small{color:#8f9bb3;font-size:11px;text-align:right}
/* BETCODE_DIG_CSS */
.bcChipBar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.bcChips{display:flex;flex-wrap:wrap;gap:6px;max-height:118px;overflow-y:auto;padding:2px 0 8px;margin-bottom:6px;-webkit-overflow-scrolling:touch}
.bcChip{background:#080b12;color:#cfd6e6;border:1px solid #243049;border-radius:999px;padding:6px 11px;font-size:12px;white-space:nowrap}
.bcChip small{color:#8f9bb3;margin-left:2px}
.bcChip.on{background:rgba(183,255,60,.16);border-color:#b7ff3c;color:#b7ff3c}
.bcChip.on small{color:#b7ff3c}
#bcDigMore{margin-top:8px;width:100%}
/* BETCODE_XMARKETS_CSS */
#bcMk .bcG{border-top:1px solid #141c2c;margin-top:4px}
#bcMk .bcG>summary{display:flex;justify-content:flex-start;align-items:center;gap:8px;color:#b7ff3c;font-size:12px;letter-spacing:.5px;text-transform:uppercase;padding:9px 0}
#bcMk .bcG>summary small{display:inline;color:#8f9bb3;font-size:11px}
#bcMk .bcG>summary::after{content:'+';margin-left:auto;color:#8f9bb3;font-size:16px}
#bcMk .bcG[open]>summary::after{content:'-'}


/* BETCODE_EYE_SLASH */
.togglePassword.is-visible{color:#b7ff3c}
.togglePassword.is-visible::after{
  content:"" !important;
  position:absolute !important;
  left:50% !important; top:50% !important; right:auto !important; bottom:auto !important;
  width:24px !important; height:2px !important;
  background:currentColor !important;
  border:0 !important; border-radius:2px !important;
  transform:translate(-50%,-50%) rotate(-45deg) !important;
  box-shadow:0 0 0 1.5px var(--surface-2,#141b28) !important;
}

/* BETCODE_HISTORY_GRID */
#history{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}
#history .historyEmpty{grid-column:1/-1}
#history .historyItem{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.03)}
#history .historyItem:last-child{border:1px solid rgba(255,255,255,.08)}
#history .historyMain{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
#history .historyMain b{display:block;font-size:12px;line-height:1.3;color:#e8edf5}
#history .historyMain small{display:block;font-size:11px;color:#7d8aa0}
#history .historyMain span{display:block;text-align:center;font-size:16px;font-weight:800;letter-spacing:1.5px;color:#b7ff3c;background:#0a1018;border:1px solid #1b2433;border-radius:10px;padding:9px 6px}
#history .historyCopy{width:100%;min-height:38px;margin:0}
@media(min-width:700px){#history{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}}
