:root {
  --bg: #03070d;
  --panel: rgba(11, 17, 25, 0.78);
  --panel-strong: rgba(15, 22, 30, 0.92);
  --border: rgba(177, 196, 211, 0.17);
  --border-green: rgba(105, 223, 69, 0.34);
  --text: #f5f7fb;
  --muted: #c2c7d2;
  --faint: #828a98;
  --green: #69df45;
  --green-2: #3dcf36;
  --blue: #3b91ff;
  --purple: #9a63ff;
  --orange: #ff9519;
  --red: #ff463d;
  --shadow-green: 0 0 34px rgba(105, 223, 69, 0.17);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 16%, rgba(105, 223, 69, 0.12), transparent 24rem),
    radial-gradient(circle at 72% 6%, rgba(105, 223, 69, 0.055), transparent 27rem),
    linear-gradient(125deg, #020509 0%, #050912 48%, #03070c 100%);
  touch-action: pan-x pan-y;
  overscroll-behavior: none;
}

button,
a {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.is-hidden {
  display: none !important;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 30%, rgba(105, 223, 69, 0.13), transparent 28rem),
    linear-gradient(135deg, rgba(2, 5, 9, 0.7), rgba(3, 8, 13, 0.95));
}

.auth-panel {
  width: min(100%, 520px);
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.92), rgba(7, 12, 19, 0.94)),
    rgba(7, 12, 19, 0.9);
  border: 1px solid rgba(105, 223, 69, 0.25);
  border-radius: 18px;
  box-shadow: 0 0 70px rgba(105, 223, 69, 0.12), 0 34px 90px rgba(0, 0, 0, 0.38);
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.auth-copy {
  text-align: center;
  margin-bottom: 27px;
}

.auth-copy h1 {
  margin: 0 0 10px;
  font-size: 32px;
}

.auth-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.auth-tab,
.ghost-action,
.primary-action,
.logout-button,
.icon-button,
.link-button {
  border: 0;
}

.auth-tab {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  font-weight: 700;
}

.auth-tab.active {
  color: #061006;
  background: var(--green);
  box-shadow: 0 0 18px rgba(105, 223, 69, 0.26);
}

.auth-form,
.bet-form {
  display: grid;
  gap: 14px;
}

.auth-form label,
.bet-form label {
  display: grid;
  gap: 8px;
  color: #e7ebf2;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-form label.is-muted {
  opacity: 0.55;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  color: var(--text);
  background: rgba(3, 7, 13, 0.78);
  border: 1px solid rgba(185, 198, 213, 0.18);
  border-radius: 10px;
  outline: none;
  padding: 0 13px;
}

textarea {
  padding-top: 12px;
  line-height: 1.45;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 20px, calc(100% - 12px) 20px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--border-green);
  box-shadow: 0 0 0 3px rgba(105, 223, 69, 0.08);
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: var(--red);
  font-size: 14px;
}

.pwa-install-card {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 16px;
  background: linear-gradient(145deg, rgba(105, 223, 69, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(105, 223, 69, 0.2);
  border-radius: 14px;
}

.pwa-install-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.pwa-install-head > svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--green);
  background: rgba(105, 223, 69, 0.12);
  border: 1px solid rgba(105, 223, 69, 0.22);
  border-radius: 12px;
}

.pwa-install-head strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}

.pwa-install-head p,
.pwa-steps p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.pwa-benefits {
  display: grid;
  gap: 8px;
}

.pwa-benefits span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e8edf4;
  font-size: 13px;
  font-weight: 800;
}

.pwa-benefits svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.pwa-steps {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pwa-steps summary {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.pwa-steps div {
  margin-top: 11px;
}

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

.bet-message {
  grid-column: 1 / -1;
  min-height: 22px;
  padding: 0 2px;
  font-weight: 700;
  text-transform: none;
}

.bet-message[data-tone="success"] {
  color: var(--green);
}

.instant-bet-analysis {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: rgba(105, 223, 69, 0.075);
  border: 1px solid rgba(105, 223, 69, 0.2);
  border-radius: 12px;
}

.instant-bet-analysis[data-tone="warning"] {
  background: rgba(255, 149, 25, 0.08);
  border-color: rgba(255, 149, 25, 0.28);
}

.instant-bet-analysis[data-tone="bad"] {
  background: rgba(255, 70, 61, 0.08);
  border-color: rgba(255, 70, 61, 0.3);
}

.instant-bet-analysis strong {
  color: var(--green);
  font-size: 14px;
}

.instant-bet-analysis[data-tone="warning"] strong {
  color: var(--orange);
}

.instant-bet-analysis[data-tone="bad"] strong {
  color: var(--red);
}

.instant-bet-analysis p {
  margin: 0;
  color: #e4e9f0;
  font-size: 13px;
  line-height: 1.42;
}

.inline-upgrade-button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-left: 8px;
  padding: 0 10px;
  color: #061006;
  background: var(--green);
  border: 0;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.primary-action,
.ghost-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-weight: 800;
}

.primary-action {
  color: #061006;
  background: linear-gradient(135deg, var(--green), #45c938);
  box-shadow: 0 0 24px rgba(105, 223, 69, 0.22);
}

.primary-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.ghost-action {
  color: var(--green);
  background: rgba(105, 223, 69, 0.1);
  border: 1px solid rgba(105, 223, 69, 0.21);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  padding: 36px 38px 22px 28px;
}

.sidebar {
  position: sticky;
  top: 28px;
  height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 18px;
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.64), rgba(4, 8, 14, 0.18));
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 42px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  color: var(--green);
  filter: drop-shadow(0 0 14px rgba(105, 223, 69, 0.34));
}

.brand-mark svg {
  display: block;
  fill: currentColor;
}

.brand-text {
  font-size: 35px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text span {
  color: var(--green);
}

.nav-list {
  width: 100%;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.mobile-sidebar-actions {
  display: none;
}

.nav-item {
  width: 128px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: #d7dce6;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: 180ms ease;
}

.nav-item svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.8;
}

.nav-item span {
  font-size: 16px;
  line-height: 1.1;
}

.nav-item:hover,
.nav-item.active {
  color: var(--green);
  background: rgba(105, 223, 69, 0.11);
  border-color: rgba(105, 223, 69, 0.38);
  box-shadow: inset 0 0 28px rgba(105, 223, 69, 0.055), 0 0 26px rgba(105, 223, 69, 0.09);
}

.nav-item.active svg {
  fill: var(--green);
  stroke-width: 2.1;
}

.pro-card {
  width: 156px;
  margin-top: auto;
  padding: 24px 18px 21px;
  text-align: center;
  background: linear-gradient(180deg, rgba(14, 21, 30, 0.86), rgba(8, 12, 18, 0.72));
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 0 34px rgba(105, 223, 69, 0.06);
}

.pro-card > svg {
  width: 42px;
  height: 42px;
  color: var(--green);
  fill: var(--green);
  filter: drop-shadow(0 0 17px rgba(105, 223, 69, 0.46));
}

.pro-card strong {
  display: block;
  margin-top: 17px;
  font-size: 20px;
  line-height: 1.35;
}

.pro-card strong span {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.pro-card small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.pro-card p {
  margin: 18px 0 22px;
  color: #f1f3f7;
  font-size: 14px;
  line-height: 1.35;
}

.pro-card button {
  width: 42px;
  height: 32px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.dashboard {
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
  padding-top: 110px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.topbar h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
}

.topbar p {
  margin: 0;
  color: var(--muted);
  font-size: 21px;
}

.period-select {
  min-width: 310px;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  background: rgba(8, 12, 19, 0.8);
  border: 1px solid rgba(185, 198, 213, 0.25);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  padding: 0 14px;
}

.period-select svg {
  width: 24px;
  height: 24px;
}

.period-select select {
  min-height: 44px;
  padding: 0 30px 0 0;
  color: var(--text);
  background-color: transparent;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.period-select span,
.period-select select {
  font-size: 18px;
}

.period-select select:focus {
  box-shadow: none;
}

.beginner-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -22px 0 22px;
}

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

.onboarding-strip article {
  min-height: 150px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.78), rgba(7, 12, 19, 0.78)),
    rgba(7, 12, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.onboarding-strip article.pro-step {
  border-color: rgba(105, 223, 69, 0.36);
  box-shadow: var(--shadow-green);
}

.onboarding-strip span {
  width: fit-content;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: #061006;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.onboarding-strip strong {
  display: block;
  margin: 12px 0 8px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.onboarding-strip p {
  margin: 0;
  color: #dfe4ec;
  font-size: 13px;
  line-height: 1.42;
}

.beginner-panel article {
  min-height: 126px;
  padding: 18px 20px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.76), rgba(7, 12, 19, 0.76)),
    rgba(7, 12, 19, 0.88);
  border: 1px solid rgba(105, 223, 69, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 0 28px rgba(105, 223, 69, 0.045);
}

.beginner-panel article:first-child {
  grid-column: span 2;
}

.beginner-panel span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.beginner-panel strong {
  display: block;
  margin: 10px 0 7px;
  color: var(--green);
  font-size: 21px;
  line-height: 1.1;
}

.beginner-panel article[data-risk="medium"] {
  border-color: rgba(255, 149, 25, 0.28);
}

.beginner-panel article[data-risk="medium"] strong {
  color: var(--orange);
}

.beginner-panel article[data-risk="high"] {
  border-color: rgba(255, 70, 61, 0.3);
}

.beginner-panel article[data-risk="high"] strong {
  color: var(--red);
}

.beginner-panel p {
  margin: 0;
  color: #dce2eb;
  font-size: 13px;
  line-height: 1.42;
}

.coach-line {
  display: block;
  margin-top: 7px;
  color: #dce2eb;
}

.coach-line.good {
  color: #c8ffb6;
}

.coach-line.bad {
  color: #ffb2ad;
}

.coach-line.action {
  color: #f0f4fa;
}

.coach-lock {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 10px;
  padding: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 149, 25, 0.22);
  border-radius: 12px;
}

.coach-lock > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: none;
}

.coach-lock svg {
  width: 16px;
  height: 16px;
}

.coach-lock em {
  color: rgba(255, 255, 255, 0.72);
  filter: blur(3px);
  font-size: 12px;
  font-style: normal;
  user-select: none;
}

.pro-coach-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  color: #061006;
  background: var(--green);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.rank-badge {
  min-width: 118px;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 8px 13px;
  background: rgba(105, 223, 69, 0.1);
  border: 1px solid rgba(105, 223, 69, 0.25);
  border-radius: 13px;
  box-shadow: var(--shadow-green);
}

.rank-badge span,
.rank-badge small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.rank-badge strong {
  color: var(--green);
  font-size: 18px;
  line-height: 1;
}

.logout-button,
.icon-button,
.plan-button {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--text);
  background: rgba(8, 12, 19, 0.82);
  border: 1px solid rgba(185, 198, 213, 0.19);
  border-radius: 11px;
}

.plan-button.mini {
  min-height: 42px;
  font-size: 13px;
}

.role-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr);
  gap: 14px;
  margin: -22px 0 20px;
}

.priority-zone {
  display: grid;
  gap: 14px;
  margin: -22px 0 18px;
}

.priority-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: end;
  padding: 16px 18px;
  background:
    linear-gradient(135deg, rgba(105, 223, 69, 0.12), rgba(9, 15, 23, 0.84)),
    rgba(7, 12, 19, 0.92);
  border: 1px solid rgba(105, 223, 69, 0.22);
  border-radius: 16px;
  box-shadow: var(--shadow-green);
}

.priority-heading span {
  grid-column: 1 / -1;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.priority-heading strong {
  color: #fff;
  font-size: 25px;
  line-height: 1.06;
}

.priority-heading small {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  color: #061006;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: var(--shadow-green);
}

.daily-verdict-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.96fr 0.96fr;
  gap: 14px;
  margin: 0;
}

.verdict-card,
.projection-card,
.mission-card,
.discipline-game-card {
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.88), rgba(7, 12, 19, 0.88)),
    rgba(7, 12, 19, 0.92);
  border: 1px solid rgba(105, 223, 69, 0.18);
  border-radius: 16px;
}

.verdict-card {
  box-shadow: var(--shadow-green);
}

.verdict-card[data-tone="warning"],
.projection-card[data-tone="danger"] {
  border-color: rgba(255, 149, 25, 0.34);
  box-shadow: 0 0 28px rgba(255, 149, 25, 0.1);
}

.verdict-card[data-tone="stop"] {
  border-color: rgba(255, 70, 61, 0.36);
  box-shadow: 0 0 28px rgba(255, 70, 61, 0.12);
}

.mission-card[data-done="true"] {
  border-color: rgba(105, 223, 69, 0.36);
}

.verdict-card[data-tone="neutral"] {
  border-color: rgba(185, 198, 213, 0.18);
  box-shadow: none;
}

.verdict-card span,
.projection-card span,
.mission-card span,
.discipline-game-card span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.verdict-card strong,
.projection-card strong,
.mission-card strong,
.discipline-game-card strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--green);
  font-size: 24px;
  line-height: 1.05;
}

.verdict-card[data-tone="warning"] strong,
.projection-card[data-tone="danger"] strong {
  color: var(--orange);
}

.verdict-card[data-tone="stop"] strong {
  color: var(--red);
}

.verdict-card[data-tone="neutral"] strong {
  color: #fff;
}

.verdict-card p,
.projection-card p,
.projection-card small,
.mission-card p,
.mission-card em,
.discipline-game-card p {
  margin: 0;
  color: #e4e9f0;
  font-size: 13px;
  line-height: 1.42;
}

.verdict-card .ghost-action {
  width: 100%;
  margin-top: 14px;
}

.mission-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 6px 8px;
  color: #061006;
  background: var(--green);
  border-radius: 999px;
  font-weight: 900;
  font-style: normal;
}

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

.mission-progress div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), #b7ff93);
  border-radius: inherit;
  box-shadow: var(--shadow-green);
  transition: width 360ms ease;
}

.mission-card[data-done="true"] .mission-progress div {
  animation: missionPulse 1.4s ease-in-out infinite;
}

@keyframes missionPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.discipline-game-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
}

.xp-track {
  height: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.xp-track div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), #b7ff93);
  border-radius: inherit;
  box-shadow: var(--shadow-green);
}

.badge-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-row span {
  padding: 7px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 11px;
}

.badge-row span.active {
  color: #cfffbd;
  border-color: rgba(105, 223, 69, 0.24);
  background: rgba(105, 223, 69, 0.08);
}

.behavior-correction-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 149, 25, 0.12), transparent 18rem),
    rgba(7, 12, 19, 0.92);
  border: 1px solid rgba(255, 149, 25, 0.28);
  border-radius: 14px;
}

.behavior-correction-card span,
.behavior-correction-list strong {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.behavior-correction-card > div > strong {
  display: block;
  margin: 8px 0;
  color: var(--orange);
  font-size: 24px;
}

.behavior-correction-card p {
  margin: 0;
  color: #e8edf4;
  line-height: 1.45;
}

.behavior-correction-list {
  display: grid;
  gap: 10px;
}

.behavior-correction-list article {
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 149, 25, 0.18);
  border-radius: 11px;
}

.behavior-correction-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
}

.role-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.86), rgba(7, 12, 19, 0.86)),
    rgba(7, 12, 19, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.role-card.official-role {
  border-color: rgba(105, 223, 69, 0.32);
  box-shadow: var(--shadow-green);
}

.role-card.personal-role {
  border-color: rgba(59, 145, 255, 0.24);
}

.role-card-head span,
.authority-strip span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.role-card-head strong {
  display: block;
  margin: 7px 0;
  color: var(--green);
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.personal-role .role-card-head strong {
  color: var(--blue);
}

.role-card-head p {
  margin: 0;
  color: #e4e9f0;
  font-size: 14px;
  line-height: 1.45;
}

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

.personal-role .role-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.authority-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.authority-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  color: #cfffbd;
  background: rgba(105, 223, 69, 0.08);
  border: 1px solid rgba(105, 223, 69, 0.16);
  border-radius: 999px;
}

.authority-strip svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}

.daily-plan-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin: 0 0 16px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.86), rgba(7, 12, 19, 0.86)),
    rgba(7, 12, 19, 0.9);
  border: 1px solid rgba(105, 223, 69, 0.2);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), var(--shadow-green);
}

.daily-plan-card[data-tone="high"] {
  border-color: rgba(255, 70, 61, 0.28);
  box-shadow: 0 0 28px rgba(255, 70, 61, 0.08);
}

.daily-plan-card[data-tone="medium"] {
  border-color: rgba(255, 149, 25, 0.3);
}

.daily-plan-card span,
.goal-card span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-plan-card > div > strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 27px;
}

.daily-plan-card[data-tone="high"] > div > strong {
  color: var(--red);
}

.daily-plan-card[data-tone="medium"] > div > strong {
  color: var(--orange);
}

.daily-plan-card p {
  margin: 0;
  color: #e3e8ef;
  line-height: 1.42;
}

.daily-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.daily-plan-grid article,
.goal-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.daily-plan-grid strong,
.goal-card strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
}

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

.goal-track {
  height: 8px;
  margin: 12px 0 9px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
}

.goal-track div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green), #b7ff70);
  border-radius: inherit;
  box-shadow: var(--shadow-green);
}

.goal-card small {
  color: var(--muted);
  line-height: 1.35;
}

.goal-profile-card {
  display: grid;
  gap: 10px;
  border-color: rgba(255, 149, 25, 0.2);
}

.goal-profile-card[data-tone="low"] {
  border-color: rgba(105, 223, 69, 0.28);
}

.goal-profile-card[data-tone="high"] {
  border-color: rgba(255, 70, 61, 0.34);
  box-shadow: 0 0 24px rgba(255, 70, 61, 0.07);
}

.goal-profile-card[data-tone="low"] strong {
  color: var(--green);
}

.goal-profile-card[data-tone="medium"] strong {
  color: var(--orange);
}

.goal-profile-card[data-tone="high"] strong {
  color: var(--red);
}

.goal-profile-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.goal-profile-options button {
  min-height: 34px;
  padding: 0 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.goal-profile-options button.active {
  color: #061006;
  background: var(--green);
  border-color: rgba(105, 223, 69, 0.5);
  box-shadow: var(--shadow-green);
}

.goal-profile-options button[data-goal-profile="risky"].active {
  color: #fff;
  background: var(--red);
  border-color: rgba(255, 70, 61, 0.6);
  box-shadow: 0 0 22px rgba(255, 70, 61, 0.12);
}

.goal-profile-options button[data-goal-profile="realistic"].active {
  color: #1b0f02;
  background: var(--orange);
  border-color: rgba(255, 149, 25, 0.55);
  box-shadow: 0 0 22px rgba(255, 149, 25, 0.12);
}

.quick-action {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  color: #eef3f8;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  font-weight: 850;
}

.quick-action.primary {
  color: #061006;
  background: var(--green);
  border-color: rgba(105, 223, 69, 0.48);
  box-shadow: var(--shadow-green);
}

.quick-action.primary-blue {
  color: #06111f;
  background: var(--blue);
  border-color: rgba(59, 145, 255, 0.48);
  box-shadow: 0 0 24px rgba(59, 145, 255, 0.16);
}

.quick-action svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.collapsible-section {
  margin-bottom: 20px;
}

.collapsible-section > summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.8), rgba(7, 12, 19, 0.86)),
    rgba(7, 12, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
}

.collapsible-section[open] > summary {
  margin-bottom: 14px;
  border-color: rgba(105, 223, 69, 0.2);
  box-shadow: 0 0 24px rgba(105, 223, 69, 0.06);
}

.collapsible-section > summary span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 900;
}

.collapsible-section > summary svg {
  width: 21px;
  height: 21px;
  color: var(--green);
}

.collapsible-section > summary small {
  color: var(--muted);
  font-size: 13px;
}

.plan-button {
  width: auto;
  min-width: 96px;
  grid-auto-flow: column;
  gap: 8px;
  padding: 0 14px;
  color: #061006;
  background: var(--green);
  border-color: rgba(105, 223, 69, 0.44);
  font-weight: 900;
  box-shadow: 0 0 22px rgba(105, 223, 69, 0.16);
}

.logout-button:hover,
.icon-button:hover {
  color: var(--green);
  border-color: rgba(105, 223, 69, 0.32);
}

.icon-button svg,
.logout-button svg {
  width: 20px;
  height: 20px;
}

.icon-button.danger {
  width: 36px;
  height: 36px;
  color: #ff746e;
}

.danger-action {
  margin-top: 10px;
  color: var(--red);
  border: 1px solid rgba(255, 70, 61, 0.22);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.metric-card,
.chart-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.86), rgba(7, 12, 19, 0.86)),
    rgba(7, 12, 19, 0.88);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 24px 60px rgba(0, 0, 0, 0.2);
}

.metric-card::before,
.chart-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 17% 0%, rgba(105, 223, 69, 0.06), transparent 18rem);
}

.metric-card {
  min-height: 244px;
  padding: 34px 25px 24px;
}

.collapsible-section .metric-grid {
  margin-bottom: 14px;
}

.collapsible-section .metric-card {
  min-height: 168px;
  padding: 22px 20px 18px;
}

.collapsible-section .metric-label {
  margin-bottom: 18px;
  font-size: 13px;
}

.collapsible-section .metric-label svg {
  width: 24px;
  height: 24px;
}

.collapsible-section .metric-card strong {
  margin-bottom: 12px;
  font-size: 31px;
}

.collapsible-section .metric-card small {
  margin-bottom: 7px;
  font-size: 13px;
}

.collapsible-section .metric-card em {
  font-size: 17px;
}

.metric-label {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 32px;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 800;
}

.metric-label svg {
  width: 30px;
  height: 30px;
}

.metric-card strong {
  display: block;
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
}

.metric-card strong span:last-child {
  color: #9aa1ad;
}

.metric-card small {
  display: block;
  margin-bottom: 10px;
  color: #e8ebf1;
  font-size: 15px;
}

.metric-card em {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
}

.metric-green {
  border-color: rgba(105, 223, 69, 0.21);
}

.metric-green strong,
.metric-green em,
.metric-green svg {
  color: var(--green);
}

.metric-blue strong,
.metric-blue em,
.metric-blue svg {
  color: var(--blue);
}

.metric-purple strong,
.metric-purple em,
.metric-purple svg {
  color: var(--purple);
}

.metric-orange strong,
.metric-orange em,
.metric-orange svg {
  color: var(--orange);
}

.bankroll-card {
  min-height: 496px;
  padding: 26px 27px 24px;
  margin-bottom: 20px;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-heading svg {
  width: 34px;
  height: 34px;
}

.section-heading h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading.compact h2 {
  font-size: 19px;
}

.bankroll-pill {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  color: #f3f5f8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(105, 223, 69, 0.18);
  border-radius: 10px;
  font-size: 17px;
}

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

.bankroll-form {
  display: flex;
  align-items: end;
  gap: 8px;
}

.bankroll-form label {
  display: grid;
  gap: 6px;
}

.bankroll-form label span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.bankroll-form input {
  width: 150px;
  min-height: 42px;
  border-color: rgba(105, 223, 69, 0.2);
}

.month-select {
  display: grid;
  gap: 6px;
}

.month-select span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.month-select select {
  width: 150px;
  min-height: 42px;
  border-color: rgba(105, 223, 69, 0.2);
}

.bankroll-pill strong {
  color: var(--green);
  font-size: 26px;
}

.bankroll-plot {
  position: relative;
  height: 372px;
}

.profit-badge {
  position: absolute;
  top: 63px;
  right: 5px;
  z-index: 3;
  padding: 10px 14px;
  color: #061006;
  background: var(--green);
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(105, 223, 69, 0.38);
  font-weight: 800;
}

.insight-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.management-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 20px;
  margin-bottom: 20px;
}

.bet-form-card,
.assistant-detail-card {
  padding: 27px;
}

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

.bet-form label {
  min-width: 0;
}

.bet-form .compact-field input {
  min-width: 0;
}

.combo-builder {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(105, 223, 69, 0.16);
  border-radius: 12px;
}

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

.combo-heading strong {
  color: var(--green);
}

.combo-legs {
  display: grid;
  gap: 10px;
}

.soft-badge {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: var(--green);
  background: rgba(105, 223, 69, 0.09);
  border: 1px solid rgba(105, 223, 69, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.today-hub {
  margin-bottom: 16px;
}

.today-grid,
.today-actions-grid {
  display: grid;
  gap: 12px;
}

.today-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

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

.today-actions-grid:first-of-type {
  grid-template-columns: 1.35fr 1fr;
}

.today-grid article,
.retention-panel {
  padding: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.today-grid span,
.retention-panel h3 {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.today-grid strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 24px;
}

.today-score-card[data-tone="positive"] strong {
  color: var(--green);
}

.today-score-card[data-tone="warning"] strong {
  color: var(--orange);
}

.today-score-card[data-tone="danger"] strong {
  color: var(--red);
}

.today-grid p,
.retention-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.checklist-item {
  min-height: 38px;
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

.checklist-item input {
  flex: 0 0 18px;
  width: 18px !important;
  min-height: 18px !important;
  margin: 0;
  accent-color: var(--green);
}

.checklist-item span {
  line-height: 1.35;
}

.retention-alert-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.retention-alert {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.retention-alert.positive {
  border-color: rgba(105, 223, 69, 0.22);
}

.retention-alert.warning {
  border-color: rgba(255, 149, 25, 0.28);
}

.retention-alert.danger {
  border-color: rgba(255, 70, 61, 0.32);
}

.retention-alert.conversion {
  border-color: rgba(105, 223, 69, 0.32);
  background:
    linear-gradient(135deg, rgba(105, 223, 69, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow-green);
}

.retention-alert strong {
  color: #fff;
}

.retention-alert.positive strong {
  color: var(--green);
}

.retention-alert.warning strong {
  color: var(--orange);
}

.retention-alert.danger strong {
  color: var(--red);
}

.locked-report {
  display: grid;
  gap: 9px;
}

.locked-report svg {
  color: var(--orange);
}

.pro-report ul,
.notification-hints {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.pro-report li,
.notification-hints li {
  color: var(--muted);
}

.notification-hints li {
  display: grid;
  gap: 2px;
}

.notification-hints strong {
  color: var(--text);
}

.notification-action {
  margin-top: 12px;
}

.form-wide {
  grid-column: 1 / -1;
}

.prebet-checklist {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(105, 223, 69, 0.055);
  border: 1px solid rgba(105, 223, 69, 0.18);
  border-radius: 12px;
}

.prebet-checklist legend {
  padding: 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.prebet-checklist p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.combo-leg {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: end;
}

.combo-leg .icon-button {
  width: 42px;
  height: 42px;
}

.bet-form .primary-action {
  grid-column: 1 / -1;
  color: #fff;
}

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

.help-card {
  padding: 27px;
  margin-bottom: 20px;
}

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

.help-grid article {
  min-height: 144px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.help-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 16px;
  line-height: 1.2;
}

.help-grid p {
  margin: 0;
  color: #dfe4ec;
  font-size: 13px;
  line-height: 1.42;
}

.daily-ai-card {
  padding: 27px;
  margin-bottom: 20px;
}

.ai-access-note {
  margin-top: -10px;
  padding: 12px 14px;
  background: rgba(105, 223, 69, 0.075);
  border: 1px solid rgba(105, 223, 69, 0.16);
  border-radius: 12px;
}

.featured-ai {
  border-color: rgba(105, 223, 69, 0.28);
  box-shadow: var(--shadow-green), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.daily-ai-layout {
  display: grid;
  gap: 14px;
}

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

.official-ai-intro {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 14px;
  background: rgba(105, 223, 69, 0.075);
  border: 1px solid rgba(105, 223, 69, 0.18);
  border-radius: 12px;
}

.official-ai-intro strong {
  width: 100%;
  color: var(--green);
  font-size: 17px;
  text-transform: uppercase;
}

.official-ai-intro p {
  width: 100%;
  margin: 0 0 4px;
  color: #e6ebf2;
  font-size: 13px;
  line-height: 1.45;
}

.official-ai-intro span {
  padding: 6px 8px;
  color: #cfffbd;
  background: rgba(105, 223, 69, 0.08);
  border: 1px solid rgba(105, 223, 69, 0.14);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-pick-card {
  min-height: 238px;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 223, 69, 0.12), transparent 13rem),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(105, 223, 69, 0.18);
  border-radius: 14px;
}

.ai-pick-card.locked {
  border-color: rgba(255, 149, 25, 0.24);
}

.ai-pick-topline,
.ai-pick-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ai-pick-topline span,
.ai-pick-meta span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-pick-topline strong {
  color: var(--green);
  font-size: 21px;
}

.ai-pick-card h3 {
  margin: 14px 0 5px;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.ai-pick-card h4 {
  margin: 0 0 11px;
  color: var(--green);
  font-size: 17px;
}

.ai-pick-card.locked h3,
.ai-pick-card.locked h4 span {
  filter: blur(3px);
  user-select: none;
}

.ai-pick-card p {
  min-height: 56px;
  margin: 0 0 14px;
  color: #e8edf4;
  font-size: 13px;
  line-height: 1.42;
}

.ai-pick-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 12px;
}

.ai-pick-meta div {
  padding: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.ai-pick-meta strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 17px;
}

.ai-lock-callout {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 13px;
  background: linear-gradient(135deg, rgba(255, 149, 25, 0.14), rgba(105, 223, 69, 0.06));
  border: 1px solid rgba(255, 149, 25, 0.26);
  border-radius: 12px;
}

.ai-lock-callout strong {
  color: var(--orange);
  font-size: 14px;
}

.ai-lock-callout p {
  min-height: 0;
  margin: 0;
  color: #f1e1cb;
}

.ai-lock-callout div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ai-pick-card small {
  color: var(--orange);
  line-height: 1.4;
}

.daily-pick-main {
  min-height: 230px;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 223, 69, 0.16), transparent 15rem),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(105, 223, 69, 0.22);
  border-radius: 14px;
}

.daily-pick-main > span,
.daily-pick-side span,
.daily-candidates span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-pick-main h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}

.daily-pick-main strong {
  display: block;
  color: var(--green);
  font-size: 24px;
}

.daily-pick-main strong em {
  color: #fff;
  font-style: normal;
}

.daily-pick-main p {
  margin: 16px 0 12px;
  color: #e8edf4;
  line-height: 1.5;
}

.daily-pick-main small {
  color: var(--orange);
  line-height: 1.45;
}

.daily-pick-side {
  display: grid;
  gap: 12px;
}

.daily-pick-side div,
.daily-candidates div,
.daily-premium-grid div {
  padding: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.daily-pick-side strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 26px;
}

.daily-pick-side p {
  margin: 8px 0 0;
  color: #dfe4ec;
  font-size: 13px;
  line-height: 1.42;
}

.daily-candidates,
.daily-premium-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.daily-candidates strong,
.daily-premium-grid strong {
  display: block;
  margin: 8px 0 5px;
  color: #fff;
  font-size: 15px;
}

.daily-candidates small,
.daily-premium-grid small {
  color: var(--muted);
}

.premium-pick {
  min-height: 154px;
}

.premium-pick em {
  color: var(--green);
  font-style: normal;
}

.premium-pick p {
  margin: 8px 0 0;
  color: #dfe4ec;
  font-size: 13px;
  line-height: 1.4;
}

.premium-pick.locked {
  border-color: rgba(255, 149, 25, 0.22);
}

.premium-pick.locked strong span,
.ai-history-list article.locked strong {
  filter: blur(3px);
  user-select: none;
}

.ai-history-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
}

.ai-history-details {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ai-history-details summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 15px;
  cursor: pointer;
}

.ai-history-details summary span {
  color: #fff;
  font-weight: 900;
}

.ai-history-details summary small {
  color: var(--muted);
}

.ai-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

.ai-stat-row div,
.ai-history-list article {
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.ai-stat-row span,
.ai-history-list span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-stat-row strong,
.ai-history-list strong {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 20px;
}

.ai-history-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 12px 12px;
}

.ai-history-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 20px;
}

.settings-card,
.admin-card {
  padding: 27px;
}

.settings-intro {
  margin: -8px 0 20px;
  color: var(--muted);
  line-height: 1.45;
}

.settings-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.settings-form label {
  display: grid;
  gap: 8px;
  color: #e7ebf2;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.month-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.month-row,
.account-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.month-row span,
.account-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.month-row strong,
.account-summary strong {
  color: var(--green);
}

.account-summary {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.admin-card {
  margin-bottom: 20px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  min-width: 980px;
}

.admin-table td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.admin-actions {
  display: grid;
  grid-template-columns: 120px 92px 120px 150px 70px;
  gap: 8px;
  align-items: center;
}

.admin-actions .primary-action,
.admin-actions .ghost-action {
  min-height: 40px;
  padding: 0 10px;
}

.ai-admin-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.ai-admin-form .primary-action,
.ai-admin-form .form-message {
  grid-column: 1 / -1;
}

.ai-admin-table input,
.ai-admin-table select {
  min-height: 38px;
}

.affiliate-card {
  padding: 27px;
}

.affiliate-link-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: rgba(105, 223, 69, 0.08);
  border: 1px solid rgba(105, 223, 69, 0.22);
  border-radius: 12px;
}

.affiliate-link-box span,
.affiliate-stats span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.affiliate-link-box a {
  color: var(--green);
  word-break: break-all;
  font-weight: 900;
}

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

.affiliate-stats article,
.payout-row {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.affiliate-stats strong {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 24px;
}

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

.affiliate-form {
  grid-template-columns: 0.65fr 1fr auto;
}

.affiliate-form textarea {
  width: 100%;
  resize: vertical;
}

.payout-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.payout-row strong {
  color: #fff;
}

.payout-row p {
  margin: 6px 0 0;
  color: var(--muted);
}

.affiliate-history {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.affiliate-history > strong {
  color: #fff;
}

.payout-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.payout-history-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.payout-status,
.result-badge {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.payout-status.pending,
.result-badge.pending {
  color: var(--orange);
  background: rgba(255, 149, 25, 0.12);
}

.payout-status.approved,
.result-badge.win {
  color: var(--green);
  background: rgba(105, 223, 69, 0.12);
}

.payout-status.rejected,
.result-badge.loss {
  color: var(--red);
  background: rgba(255, 70, 61, 0.12);
}

.result-badge.push {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 22px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.app-footer a,
.app-footer button {
  color: var(--muted);
  text-decoration: none;
}

.app-footer a:hover,
.app-footer button:hover {
  color: var(--green);
}

.mobile-bottom-nav {
  display: none;
}

.sticky-primary-cta {
  position: fixed;
  z-index: 24;
  right: 28px;
  bottom: 26px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  color: #061006;
  background: linear-gradient(135deg, var(--green), #b7ff93);
  border: 1px solid rgba(105, 223, 69, 0.65);
  border-radius: 999px;
  box-shadow: 0 0 34px rgba(105, 223, 69, 0.34), 0 16px 42px rgba(0, 0, 0, 0.36);
  font-size: 15px;
  font-weight: 950;
}

.sticky-primary-cta svg {
  width: 20px;
  height: 20px;
}

.sticky-primary-cta:active {
  transform: translateY(1px) scale(0.99);
}

.legal-page {
  display: none;
  margin-bottom: 20px;
}

.legal-page:target {
  display: block;
}

.legal-card {
  padding: 27px;
}

.legal-card p {
  color: #dfe4ec;
  line-height: 1.6;
}

.insight-tile {
  min-height: 132px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.insight-tile span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.insight-tile strong {
  display: block;
  margin: 8px 0;
  color: var(--green);
  font-size: 21px;
  line-height: 1.05;
}

.insight-tile p {
  margin: 0;
  color: #e3e7ee;
  font-size: 13px;
  line-height: 1.35;
}

.insight-tile.warning strong {
  color: var(--orange);
}

.insight-tile.negative strong {
  color: var(--red);
}

.insight-tile.is-locked {
  border-color: rgba(255, 149, 25, 0.18);
}

.insight-tile.is-locked strong {
  color: var(--orange);
}

.split-card {
  min-height: 344px;
  padding: 28px 27px;
}

.donut-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
}

.donut-wrap {
  position: relative;
  width: 204px;
  height: 204px;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}

.donut-center strong {
  font-size: 32px;
  line-height: 1;
}

.donut-center span {
  color: var(--muted);
  font-size: 16px;
}

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

.legend-list li {
  color: #e8ebf0;
  font-size: 17px;
  line-height: 1.45;
}

.legend-list strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.legend-list span:last-child {
  display: block;
  margin-left: 24px;
  color: var(--muted);
}

.profit-bars {
  display: grid;
  gap: 18px;
}

.profit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: end;
}

.profit-row span {
  font-size: 16px;
  font-weight: 500;
}

.profit-row strong {
  font-size: 17px;
  color: var(--green);
}

.profit-row.negative strong {
  color: var(--red);
}

.profit-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 99px;
}

.profit-fill {
  height: 100%;
  width: var(--width);
  background: linear-gradient(90deg, var(--bar-color), color-mix(in srgb, var(--bar-color) 75%, #fff));
  border-radius: inherit;
  box-shadow: 0 0 16px color-mix(in srgb, var(--bar-color) 45%, transparent);
}

.bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 20px;
  align-items: stretch;
}

.table-card {
  padding: 27px 25px 28px;
}

.bet-card-list {
  display: none;
  gap: 12px;
}

.bet-mobile-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.bet-mobile-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.bet-mobile-card strong {
  display: block;
  margin: 5px 0;
  color: var(--text);
  font-size: 16px;
}

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

.bet-mobile-meta,
.bet-card-actions,
.bet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bet-card-actions select,
.bet-actions select,
.bet-card-actions input,
.bet-actions input {
  width: auto;
  min-width: 116px;
  min-height: 38px;
  font-size: 13px;
}

.table-heading a,
.link-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  background: transparent;
  text-decoration: none;
  font-weight: 600;
}

.table-heading svg {
  width: 19px;
  height: 19px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1060px;
}

th {
  padding: 0 0 16px;
  color: #c6ccd6;
  text-align: left;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

td {
  padding: 16px 0;
  color: #f2f4f8;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.match-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.match-cell small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 12px;
}

.prediction-cell {
  min-width: 190px;
  max-width: 240px;
  color: #dce2eb;
  line-height: 1.35;
}

.combo-leg-list {
  margin: 7px 0 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12px;
}

.sport-icon {
  width: 24px;
  font-size: 23px;
  line-height: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
}

.tag-simple {
  color: #b2ff8a;
  background: rgba(105, 223, 69, 0.14);
  border: 1px solid rgba(105, 223, 69, 0.13);
}

.tag-combine {
  color: #6ab5ff;
  background: rgba(45, 136, 255, 0.18);
  border: 1px solid rgba(45, 136, 255, 0.14);
}

.tag-live {
  color: #b083ff;
  background: rgba(137, 89, 255, 0.18);
  border: 1px solid rgba(137, 89, 255, 0.14);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.status svg {
  width: 16px;
  height: 16px;
}

.status.win,
.profit-positive {
  color: var(--green);
}

.status.loss,
.profit-negative {
  color: var(--red);
}

.status.push,
.status.pending,
.profit-neutral {
  color: #c7cbd4;
}

.tag-other {
  color: #d7dce6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.empty-row {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.profit-cell {
  font-weight: 800;
  white-space: nowrap;
}

.assistant-card {
  min-height: 100%;
  padding: 27px 25px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.assistant-title {
  width: 100%;
  margin-bottom: 20px;
}

.assistant-title svg {
  width: 27px;
  height: 27px;
}

.discipline-ring {
  --angle: calc(var(--score) * 3.6deg);
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b1118 0 51%, transparent 52%),
    conic-gradient(var(--green) 0 var(--angle), rgba(255, 255, 255, 0.15) var(--angle) 360deg);
  box-shadow: var(--shadow-green);
}

.discipline-ring > div {
  width: 76px;
  height: 76px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #0b1018;
}

.discipline-ring strong {
  font-size: 33px;
  line-height: 0.95;
}

.discipline-ring span {
  color: var(--muted);
  font-size: 13px;
}

.score-label {
  margin: 18px 0 7px;
  font-size: 16px;
}

.score-status {
  color: var(--green);
  font-size: 17px;
}

.tip-box {
  width: 100%;
  margin-top: 21px;
  padding-top: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.tip-box h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 11px;
  font-size: 16px;
  font-weight: 500;
}

.tip-box h3 svg {
  width: 20px;
  height: 20px;
  color: var(--green);
}

.tip-box p {
  margin: 0;
  padding-left: 30px;
  color: #e2e6ed;
  font-size: 14px;
  line-height: 1.4;
}

.analysis-button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-2), #43c837);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 0 23px rgba(105, 223, 69, 0.2);
  font-weight: 700;
  cursor: pointer;
}

.analysis-button svg {
  width: 19px;
  height: 19px;
}

.plans-modal {
  width: min(920px, calc(100vw - 32px));
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(19, 27, 36, 0.97), rgba(7, 12, 19, 0.98)),
    #071019;
  border: 1px solid rgba(105, 223, 69, 0.25);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 0 80px rgba(105, 223, 69, 0.12), 0 40px 100px rgba(0, 0, 0, 0.5);
}

.pwa-modal {
  width: min(520px, calc(100vw - 32px));
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(105, 223, 69, 0.16), transparent 18rem),
    linear-gradient(145deg, rgba(19, 27, 36, 0.97), rgba(7, 12, 19, 0.98)),
    #071019;
  border: 1px solid rgba(105, 223, 69, 0.25);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 0 80px rgba(105, 223, 69, 0.12), 0 40px 100px rgba(0, 0, 0, 0.5);
}

.plans-modal::backdrop,
.pwa-modal::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
}

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

.modal-heading h2 {
  margin: 0 0 6px;
  font-size: 27px;
}

.modal-heading p {
  margin: 0;
  color: var(--muted);
}

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

.pwa-modal-body {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.pwa-modal-body article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.pwa-modal-body svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--green);
  background: rgba(105, 223, 69, 0.1);
  border: 1px solid rgba(105, 223, 69, 0.2);
  border-radius: 11px;
}

.pwa-modal-body strong {
  color: #fff;
}

.pwa-modal-body p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.pwa-modal-actions {
  display: grid;
  grid-template-columns: 1fr 0.58fr;
  gap: 10px;
}

.plan-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.plan-card.featured {
  border-color: rgba(105, 223, 69, 0.35);
  box-shadow: var(--shadow-green);
}

.plan-card:has([data-plan-id="elite"]) {
  opacity: 0.72;
}

.plan-card > span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 12px 0 6px;
  font-size: 22px;
}

.plan-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 25px;
}

.plan-card em {
  display: block;
  margin-bottom: 17px;
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card ul {
  min-height: 136px;
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e6eaf0;
  font-size: 14px;
}

.plan-card li svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
  }

  .brand {
    flex-direction: column;
    margin-bottom: 34px;
  }

  .brand-text {
    font-size: 18px;
  }

  .nav-item {
    width: 82px;
    min-height: 78px;
  }

  .nav-item span {
    font-size: 12px;
  }

  .pro-card {
    width: 92px;
    padding: 18px 10px;
  }

  .pro-card strong {
    font-size: 15px;
  }

  .pro-card strong span {
    font-size: 18px;
  }

  .pro-card p {
    display: none;
  }

  .dashboard {
    padding-top: 54px;
  }

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

@media (max-width: 900px) {
  .app-shell {
    display: block;
    padding: calc(88px + env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom));
  }

  .sidebar {
    position: fixed;
    z-index: 20;
    inset: 0 0 auto;
    min-height: 72px;
    height: auto;
    padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(3, 7, 13, 0.86);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
  }

  .brand {
    width: auto;
    margin: 0;
    flex-direction: row;
  }

  .brand-mark {
    width: 34px;
  }

  .brand-text {
    font-size: 24px;
  }

  .mobile-sidebar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-pack-button,
  .mobile-menu-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(105, 223, 69, 0.24);
    border-radius: 11px;
    font-weight: 900;
  }

  .mobile-pack-button {
    color: #061006;
    background: var(--green);
    box-shadow: 0 0 20px rgba(105, 223, 69, 0.18);
  }

  .mobile-menu-button {
    color: var(--text);
    background: rgba(8, 12, 19, 0.9);
  }

  .mobile-pack-button svg,
  .mobile-menu-button svg {
    width: 19px;
    height: 19px;
  }

  .nav-list {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0 4px;
  }

  .sidebar.mobile-menu-open .nav-list {
    display: grid;
  }

  .nav-item {
    width: 100%;
    min-height: 50px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }

  .nav-item svg {
    width: 22px;
    height: 22px;
  }

  .nav-item span {
    display: inline;
    font-size: 15px;
    font-weight: 700;
  }

  .pro-card {
    display: none;
  }

  .dashboard {
    padding-top: 0;
    max-width: none;
  }

  .topbar,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar {
    margin-bottom: 24px;
  }

  .topbar h1 {
    font-size: 28px;
  }

  .topbar p {
    font-size: 17px;
  }

  .period-select {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .topbar-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(104px, 1fr) minmax(118px, auto) 50px;
    align-items: stretch;
  }

  .topbar-actions .period-select {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .topbar-actions .logout-button {
    width: 50px;
    height: 54px;
  }

  .rank-badge {
    min-width: 104px;
  }

  .beginner-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  .beginner-panel article:first-child {
    grid-column: auto;
  }

  .insight-grid,
  .bottom-grid,
  .management-grid,
  .settings-grid,
  .daily-verdict-grid,
  .priority-heading,
  .daily-plan-card,
  .role-hub,
  .role-actions,
  .personal-role .role-actions,
  .affiliate-stats {
    grid-template-columns: 1fr;
  }

  .daily-plan-grid,
  .goal-grid,
  .today-grid,
  .today-actions-grid,
  .today-actions-grid:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discipline-game-card {
    grid-template-columns: 1fr;
  }

  .behavior-correction-card {
    grid-template-columns: 1fr;
  }

  .priority-heading small {
    justify-self: start;
  }

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

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

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

  .bankroll-card {
    min-height: 430px;
  }

  .bankroll-plot {
    height: 300px;
  }

  .bankroll-pill {
    width: 100%;
    justify-content: space-between;
  }

  .bankroll-actions,
  .bankroll-form {
    width: 100%;
  }

  .bankroll-form label {
    flex: 1;
  }

  .bankroll-form input {
    width: 100%;
  }

  .month-select,
  .month-select select {
    width: 100%;
  }

  .assistant-card {
    min-height: 390px;
  }

  .daily-active-grid,
  .ai-stat-row,
  .ai-history-list,
  .ai-admin-form,
  .affiliate-form {
    grid-template-columns: 1fr;
  }

  .collapsible-section > summary {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
  }

  .payout-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .app-shell {
    padding-inline: calc(12px + env(safe-area-inset-left)) calc(12px + env(safe-area-inset-right));
    padding-bottom: calc(162px + env(safe-area-inset-bottom));
  }

  .priority-zone {
    gap: 10px;
    margin-top: -12px;
  }

  .priority-heading {
    padding: 14px;
    border-radius: 14px;
  }

  .priority-heading strong {
    font-size: 20px;
  }

  .priority-heading small {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .verdict-card,
  .projection-card,
  .mission-card,
  .discipline-game-card {
    padding: 15px;
    border-radius: 14px;
  }

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

  .verdict-card {
    grid-column: 1 / -1;
  }

  .verdict-card .ghost-action {
    display: none;
  }

  .verdict-card strong,
  .projection-card strong,
  .mission-card strong,
  .discipline-game-card strong {
    font-size: 20px;
  }

  .verdict-card p,
  .projection-card p,
  .mission-card p,
  .mission-card em {
    font-size: 12px;
  }

  .projection-card small {
    display: none;
  }

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

  .metric-card {
    min-height: auto;
    padding: 22px;
  }

  .metric-label {
    margin-bottom: 20px;
  }

  .metric-card strong {
    font-size: 34px;
  }

  .chart-card {
    border-radius: 14px;
  }

  .bankroll-card,
  .split-card,
  .table-card,
  .assistant-card {
    padding: 20px 16px;
  }

  .section-heading h2,
  .section-heading.compact h2 {
    font-size: 17px;
  }

  .bankroll-pill {
    min-height: 48px;
    gap: 14px;
    font-size: 14px;
  }

  .bankroll-pill strong {
    font-size: 18px;
  }

  .profit-badge {
    top: 54px;
    right: 0;
    font-size: 13px;
  }

  .donut-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .legend-list {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .legend-list li {
    font-size: 14px;
  }

  .legend-list span:last-child {
    margin-left: 0;
  }

  .auth-panel {
    padding: 24px 18px;
  }

  .auth-copy h1 {
    font-size: 27px;
  }

  .bet-form,
  .analysis-grid,
  .combo-leg,
  .help-grid,
  .onboarding-strip,
  .settings-form,
  .plans-grid,
  .daily-plan-grid,
  .goal-grid,
  .today-grid,
  .today-actions-grid,
  .today-actions-grid:first-of-type,
  .ai-stat-row,
  .ai-history-list,
  .daily-active-grid {
    grid-template-columns: 1fr;
  }

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

  .bet-form > label:not(.compact-field):not(.half-field),
  .bet-form .form-wide,
  .bet-form .prebet-checklist,
  .bet-form .instant-bet-analysis,
  .bet-form .primary-action,
  .bet-form .bet-message,
  .combo-builder {
    grid-column: 1 / -1;
  }

  .ai-lock-callout div {
    grid-template-columns: 1fr;
  }

  .plans-modal,
  .pwa-modal {
    padding: 18px;
  }

  .pwa-modal-actions {
    grid-template-columns: 1fr;
  }

  .quick-action {
    min-height: 52px;
  }

  .app-footer {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .table-card .table-scroll {
    display: none;
  }

  .bet-card-list {
    display: grid;
  }

  .role-hub {
    margin-top: 0;
  }

  .sticky-primary-cta {
    right: 12px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 60px;
    font-size: 16px;
    border-radius: 16px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 25;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 7px;
    background: rgba(3, 7, 13, 0.9);
    border: 1px solid rgba(105, 223, 69, 0.18);
    border-radius: 16px;
    box-shadow: 0 -10px 32px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    display: grid;
    place-items: center;
    gap: 3px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 900;
  }

  .mobile-bottom-nav svg {
    width: 20px;
    height: 20px;
    color: var(--green);
  }
}
