@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #09090b;
  --bg-soft: #121217;
  --panel: rgba(255, 255, 255, 0.032);
  --panel-2: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #fafafa;
  --muted: #a1a1aa;
  --accent: #ededed;
  --accent-2: #ffffff;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(720px 360px at 50% -10%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(860px 480px at 10% -20%, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(1240px, calc(100% - 24px));
  margin: 12px auto 24px;
}

.top {
  position: sticky;
  top: 10px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(24, 24, 27, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  min-width: 180px;
}

.brand-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--text);
  display: grid;
  place-items: center;
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
}

.brand-mark::before {
  content: "FH";
}

.brand-title {
  display: block;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav,
.nav-user {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-user {
  justify-content: flex-end;
}

.user-email {
  color: var(--muted);
  font-size: 12px;
}

.main {
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.018);
  backdrop-filter: blur(18px);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 19px;
}

h3 {
  font-size: 16px;
}

p {
  margin: 0;
}

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

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

.row,
.meta-row,
.quick-links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.page-head,
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 12px;
}

.page-head {
  margin-bottom: 12px;
}

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

.chip,
.badge {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #d4d4d8;
  font-size: 11px;
  padding: 5px 10px;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #2a3550;
  border-radius: 999px;
  background: #111a29;
  color: #c9dbf4;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
}

.sports-filter {
  display: grid;
  gap: 10px;
}

.sports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sport-check {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.sport-check input {
  width: auto;
}

.tab-row {
  margin: 10px 0 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn,
.tab-pill,
.nav a {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 13px;
  cursor: pointer;
  transition: 140ms ease;
}

.btn:hover,
.tab-pill:hover,
.nav a:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.tab-pill.active,
.nav a.active,
.btn.primary {
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--text);
  color: var(--bg);
}

.btn.ok {
  border-color: #1f7f56;
  background: #103021;
  color: #79ffb8;
}

.btn.danger {
  border-color: #6f2730;
  background: #2c1418;
  color: #ff8e99;
}

.btn.cta-xl {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
}

.betting-cta-main {
  min-width: 270px;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.btn.warn {
  border-color: #705623;
  background: #2f2513;
  color: #ffd37a;
}

.flash {
  margin-bottom: 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--line);
}

.flash.info {
  background: #132132;
  color: #bdd9ff;
}

.flash.success {
  background: #102219;
  color: #83f1b7;
}

.flash.error {
  background: #2a1519;
  color: #ffacb4;
}

.grid {
  display: grid;
  gap: 12px;
}

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

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

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

.helper {
  border: 1px solid #1f7f56;
  border-left: 4px solid var(--accent);
  background: #0d1d17;
  border-radius: 10px;
  padding: 10px;
}

.kpi-card {
  background: #101722;
}

.kpi {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 9px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-size: 13px;
  white-space: nowrap;
}

th {
  color: #b7c6de;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #111826;
  position: sticky;
  top: 0;
  z-index: 2;
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.01);
}

form.inline {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #bdcae0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d131f;
  color: var(--text);
  padding: 9px 10px;
  font-family: inherit;
  font-size: 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #26684a;
}

textarea {
  min-height: 78px;
  resize: vertical;
}

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

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

.insight-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0f151f;
  padding: 10px;
}

.insight-label {
  margin: 0;
  color: #8ca0be;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.insight-value {
  margin: 5px 0;
  font-size: 26px;
  font-weight: 800;
}

.metric-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #1a2333;
  overflow: hidden;
}

.metric-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #00c86c, #00e07a);
}

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

.workflow-step {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #101722;
  padding: 9px;
  display: flex;
  gap: 8px;
}

.workflow-step p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.workflow-step.active {
  border-color: #1f7f56;
  background: #10241b;
}

.workflow-step.complete {
  border-color: #2b3b54;
}

.step-index {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  background: #1a2738;
  color: #d8e7ff;
  flex: 0 0 24px;
}

.premium-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
  background: #0e141d;
}

.hero-side-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d121a;
  padding: 12px;
}

.insight-stack {
  display: grid;
  gap: 7px;
}

.insight-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  border-bottom: 1px dashed #223048;
  padding-bottom: 6px;
  font-size: 13px;
}

.insight-row:last-child {
  border-bottom: 0;
}

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

.activity-card,
.activity-list {
  display: grid;
  gap: 8px;
}

.activity-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d121b;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.activity-item strong {
  font-size: 13px;
}

.activity-item span {
  font-size: 12px;
  color: var(--muted);
}

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

.module-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0f151f;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.module-kicker {
  margin: 0;
  color: #7b8fad;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.next-step {
  border: 1px dashed #2a3a56;
  border-radius: 10px;
  background: #0d121a;
  color: #c2d3ec;
  padding: 8px 10px;
  font-size: 13px;
}

.module-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

.hub-jump-btn {
  display: grid;
  place-items: center;
  min-height: 62px;
  border: 1px solid #1f7f56;
  border-radius: 12px;
  background: #0e231b;
  color: #86ffbe;
  text-decoration: none;
  font-weight: 700;
}

.hub-jump-btn:hover {
  border-color: #2a9b69;
}

.hub-ai-picks {
  display: grid;
  gap: 10px;
}

.hub-ai-picks-actions {
  justify-content: flex-end;
}

.hub-sort-row {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-sport-filter-row {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hub-sort-row .btn[data-hub-sort] {
  min-height: 34px;
  border-color: #2a3a56;
  background: #121c2a;
  color: #d5e5fb;
  font-weight: 700;
}

.hub-sport-filter-row .btn[data-hub-sport] {
  min-height: 34px;
  border-color: #2a3a56;
  background: #121c2a;
  color: #d5e5fb;
  font-weight: 700;
}

.hub-sort-row .btn[data-hub-sort]:hover {
  border-color: #3f5778;
}

.hub-sport-filter-row .btn[data-hub-sport]:hover {
  border-color: #3f5778;
}

.hub-sort-row .btn[data-hub-sort].is-active {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.hub-sport-filter-row .btn[data-hub-sport].is-active {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.hub-lock-state {
  margin-left: auto;
}

.hub-sport-filter-state {
  margin-left: 0;
}

.hub-status-chip.tone-ok {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.hub-status-chip.tone-loading {
  border-color: #2e4f73;
  background: #132338;
  color: #b4dcff;
}

.hub-status-chip.tone-error {
  border-color: #6f2730;
  background: #2b151a;
  color: #ffb0b8;
}

.hub-new-badge {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
  font-weight: 800;
}

.hub-ai-picks-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-ai-pick-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0d141f;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.hub-ai-pick-card.is-new {
  border-color: #1f7f56;
  background: #0f1d17;
}

.hub-ai-pick-card.is-pulse {
  animation: hubPickPulse 1.35s ease-in-out 6;
}

.hub-ai-pick-card.is-pulse-r1 {
  animation-duration: 1.05s;
  animation-iteration-count: 8;
}

.hub-ai-pick-card.is-pulse-r2 {
  animation-duration: 1.2s;
  animation-iteration-count: 7;
}

.hub-ai-pick-card.is-pulse-r3 {
  animation-duration: 1.35s;
  animation-iteration-count: 6;
}

.hub-new-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid #1f7f56;
  background: #103022;
  color: #8effc4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@keyframes hubPickPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 127, 86, 0.55);
    transform: translateY(0);
  }

  35% {
    box-shadow: 0 0 0 7px rgba(31, 127, 86, 0);
    transform: translateY(-1px);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(31, 127, 86, 0);
    transform: translateY(0);
  }
}

.hub-ai-pick-top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.hub-lock-btn {
  min-width: 30px;
  height: 30px;
  border: 1px solid #3a4960;
  border-radius: 999px;
  background: #111b28;
  color: #9eb6d8;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

.hub-lock-btn:hover {
  border-color: #4f6585;
}

.hub-lock-btn.is-active {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.hub-ai-pick-event {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #eef5ff;
}

.hub-ai-pick-metrics {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hub-ai-pick-bottom {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.hub-ai-pick-age {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  color: #8fa7ca;
}

.hub-ai-pick-age.tone-fresh {
  color: #8effc4;
}

.hub-ai-pick-age.tone-recent {
  color: #b7d9ff;
}

.hub-ai-pick-age.tone-stale {
  color: #ffd6a3;
}

.hub-toast-stack {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 90;
  display: grid;
  gap: 8px;
  width: min(340px, calc(100vw - 26px));
}

.hub-toast {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101927;
  color: #dbe9ff;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
}

.hub-toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
}

.hub-toast.tone-ok {
  border-color: #1f7f56;
  background: #102c20;
  color: #8effc4;
}

.hub-toast.tone-info {
  border-color: #2e4f73;
  background: #132338;
  color: #b4dcff;
}

.hub-toast.tone-warn {
  border-color: #705623;
  background: #2f2513;
  color: #ffe3a0;
}

.hub-toast.tone-error {
  border-color: #6f2730;
  background: #2b151a;
  color: #ffb0b8;
}

.hub-toast-text {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.hub-toast-close {
  border: 1px solid #31445f;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  background: #152337;
  color: #d6e8ff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.hub-toast-close:hover {
  border-color: #4e6889;
}

.module-todo .form-grid {
  grid-template-columns: 1fr 1fr auto;
}

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

.todo-column {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #0d131c;
  display: grid;
  gap: 8px;
  align-content: start;
}

.todo-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px;
  background: #111826;
  display: grid;
  gap: 6px;
}

.todo-item strong {
  font-size: 13px;
}

.todo-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-card {
  width: min(520px, 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0f151f;
  padding: 18px;
}

.auth-head {
  margin-bottom: 12px;
}

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

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #101723;
  padding: 16px;
}

.hero-side {
  background: #0e151f;
}

.hero-kicker {
  margin: 0 0 6px;
  color: #7f93b2;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Betting AI cards */
.ai-board {
  display: grid;
  gap: 10px;
}

.ai-batch-toolbar {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #0f1724;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ai-batch-stats {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1;
  min-width: 260px;
}

.ai-batch-stat {
  border: 1px solid #26374e;
  background: #101927;
  font-weight: 700;
}

.ai-coupon-box {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #0f1724;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.ai-priority-strip {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #0e151f;
  padding: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ai-priority-card {
  border: 1px solid #26374e;
  border-radius: 10px;
  background: #101927;
  padding: 9px;
  display: grid;
  gap: 7px;
}

.ai-priority-card-action {
  border-style: dashed;
  background: #101a26;
}

.ai-priority-title {
  margin: 0;
  color: #e3efff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.ai-priority-meta {
  margin: 0;
  color: #9fb2cf;
  font-size: 12px;
  line-height: 1.4;
}

.ai-sport-icon.mini {
  width: 18px;
  height: 18px;
  font-size: 12px;
  margin-right: 4px;
}

.ai-coupon-pill {
  border: 1px solid #2e4f73;
  background: #122236;
  color: #b6dcff;
  font-weight: 800;
}

.ai-coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.ai-coupon-item {
  border: 1px solid #26374e;
  border-radius: 10px;
  background: #101927;
  padding: 8px;
}

.ai-coupon-item p {
  margin: 0;
  color: #e4f0ff;
  font-size: 18px;
  font-weight: 800;
}

.ai-coupon-list {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.ai-coupon-health {
  border: 1px solid #26374e;
  border-radius: 10px;
  background: #101927;
  padding: 8px 9px;
  display: grid;
  gap: 6px;
}

.ai-coupon-health-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ai-coupon-health-head b {
  color: #e4f0ff;
  font-size: 13px;
}

.ai-quality-bar {
  height: 10px;
}

.ai-quality-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.ai-quality-fill.tone-high {
  background: linear-gradient(90deg, #1f7f56, #38f09a);
}

.ai-quality-fill.tone-medium {
  background: linear-gradient(90deg, #2e4f73, #7db2ff);
}

.ai-quality-fill.tone-low {
  background: linear-gradient(90deg, #6f2730, #ff8ea2);
}

.ai-coupon-health-text {
  margin: 0;
  font-size: 12px;
}

.ai-coupon-warning {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #ffcf93;
}

.ai-coupon-reco {
  margin: 0;
  border: 1px solid #2a3b54;
  border-radius: 10px;
  background: #111a28;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #cfe0f7;
}

.ai-coupon-reco.tone-high {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.ai-coupon-reco.tone-medium {
  border-color: #2e4f73;
  background: #132338;
  color: #b4dcff;
}

.ai-coupon-reco.tone-danger {
  border-color: #6f2730;
  background: #2b151a;
  color: #ffb0b8;
}

.btn.is-active {
  border-color: #1f7f56;
  background: #103022;
  color: #8effc4;
}

.ai-match-card.is-hidden-by-filter {
  display: none;
}

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

.ai-match-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #0e131b;
  padding: 12px;
  display: grid;
  gap: 9px;
}

.ai-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ai-league {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  border: 1px solid #2a3550;
  background: #121a28;
  color: #b3c4df;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.ai-sport-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #335577;
  background: #15263a;
  font-size: 14px;
  line-height: 1;
}

.ai-rank {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #2c4a63;
  background: #112033;
  color: #b8dcff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.ai-hot {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #7b3f21;
  background: #311a0f;
  color: #ffbe93;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}

.ai-trust-badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #2c4a63;
  background: #112033;
  color: #b8dcff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
}

.ai-trust-badge.tone-high {
  color: #79ffb8;
  background: #133023;
  border-color: #1f7f56;
}

.ai-trust-badge.tone-medium {
  color: #b4dcff;
  background: #142638;
  border-color: #2e4f73;
}

.ai-trust-badge.tone-low {
  color: #ffe3a0;
  background: #2f2513;
  border-color: #705623;
}

.ai-trust-badge.tone-danger {
  color: #ffb0b8;
  background: #2b151a;
  border-color: #6f2730;
}

.ai-countdown {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #2e5643;
  background: #10211a;
  color: #7ff0bf;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.ai-date {
  color: #98a9c4;
  font-size: 12px;
}

.ai-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.ai-teams strong {
  font-size: 22px;
  line-height: 1.1;
}

.ai-teams strong:last-child {
  text-align: right;
}

.ai-score {
  color: #8fa2bf;
  font-weight: 700;
  font-size: 15px;
}

.ai-pick-strip {
  border: 1px solid #21463a;
  border-radius: 12px;
  background: #0f211a;
  padding: 9px 10px;
  display: grid;
  gap: 4px;
}

.ai-pick-main {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #91ffd0;
}

.ai-inline-prob {
  border: 1px solid #26374e;
  border-radius: 10px;
  background: #111a28;
  padding: 8px;
  display: grid;
  gap: 6px;
}

.ai-inline-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 6px;
}

.ai-inline-label {
  color: #9db1cf;
  font-size: 11px;
  font-weight: 700;
}

.ai-inline-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #1f2c40;
  overflow: hidden;
}

.ai-inline-fill {
  display: block;
  height: 100%;
}

.ai-inline-fill.ai {
  background: linear-gradient(90deg, #16b56c, #38f09a);
}

.ai-inline-fill.market {
  background: linear-gradient(90deg, #3b5d86, #7db2ff);
}

.ai-inline-value {
  color: #d9e8fc;
  font-size: 11px;
}

.ai-team-pick-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
}

.ai-team-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2b3750;
  border-radius: 10px;
  background: #121926;
  color: #c6d6ef;
  min-height: 34px;
  padding: 5px 8px;
  font-size: 13px;
  font-weight: 700;
}

.ai-team-chip.active {
  border-color: #1f7f56;
  background: #103020;
  color: #8affc2;
}

.ai-market-row {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #101722;
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1.1fr 1.1fr;
}

.ai-market-col {
  padding: 10px;
  border-right: 1px solid var(--line-soft);
}

.ai-market-col:last-child {
  border-right: 0;
}

.ai-mini {
  display: inline-block;
  margin-bottom: 5px;
  color: #8194b1;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.ai-market-col p {
  margin: 0;
  color: #dbe9ff;
  font-weight: 700;
}

.ai-reco-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #ecf5ff;
}

.ai-reco-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-reco-title.tone-high {
  color: #79ffb8;
}

.ai-reco-title.tone-medium {
  color: #a7d9ff;
}

.ai-reco-title.tone-low {
  color: #ffe4a0;
}

.ai-reco-title.tone-danger {
  color: #ffb0b8;
}

.ai-reco-text {
  margin: 0;
  color: #a7b7d0;
  font-size: 12px;
  line-height: 1.35;
}

.ai-stat-summary {
  margin: 6px 0 0;
  color: #b8c9e2;
  font-size: 12px;
  line-height: 1.45;
}

.ai-info-tip {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #37506f;
  background: #142234;
  color: #b9d9ff;
  font-size: 11px;
  font-weight: 800;
  cursor: help;
}

.ai-info-tip.tone-high {
  border-color: #1f7f56;
  background: #133023;
  color: #8effc4;
}

.ai-info-tip.tone-medium {
  border-color: #2e4f73;
  background: #142638;
  color: #b4dcff;
}

.ai-info-tip.tone-low {
  border-color: #705623;
  background: #2f2513;
  color: #ffe3a0;
}

.ai-info-tip.tone-danger {
  border-color: #6f2730;
  background: #2b151a;
  color: #ffb0b8;
}

.ai-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  width: 250px;
  border: 1px solid #2f4b68;
  border-radius: 10px;
  background: #0f1a29;
  color: #d9e7fa;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  display: grid;
  gap: 6px;
}

.ai-tip-title {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #d7ebff;
}

.ai-tip-title.tone-high {
  color: #8effc4;
}

.ai-tip-title.tone-medium {
  color: #b4dcff;
}

.ai-tip-title.tone-low {
  color: #ffe3a0;
}

.ai-tip-title.tone-danger {
  color: #ffb0b8;
}

.ai-tip-text {
  display: block;
  color: #c3d4ed;
  font-size: 12px;
  line-height: 1.4;
}

.ai-tip-diff {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
}

.ai-tip-diff.up {
  color: #8effc4;
}

.ai-tip-diff.down {
  color: #ffb0b8;
}

.ai-tip-bar-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 6px;
  align-items: center;
}

.ai-tip-label {
  color: #9fb3cf;
  font-size: 11px;
  font-weight: 700;
}

.ai-tip-track {
  position: relative;
  height: 7px;
  border-radius: 999px;
  background: #1c2a3d;
  overflow: hidden;
}

.ai-tip-fill {
  display: block;
  height: 100%;
}

.ai-tip-fill.ai {
  background: linear-gradient(90deg, #16b56c, #38f09a);
}

.ai-tip-fill.market {
  background: linear-gradient(90deg, #3b5d86, #7db2ff);
}

.ai-tip-value {
  color: #d9e8fc;
  font-size: 11px;
  font-weight: 700;
}

.ai-info-tip:hover .ai-tooltip,
.ai-info-tip:focus .ai-tooltip,
.ai-info-tip:focus-visible .ai-tooltip {
  opacity: 1;
  visibility: visible;
}

.ai-odds {
  display: grid;
  gap: 6px;
  align-content: start;
}

.ai-odds span,
.ai-odds-label {
  background: #1f2735;
  border: 1px solid #2a3347;
  border-radius: 8px;
  padding: 6px 8px;
  font-weight: 700;
  font-size: 12px;
}

.ai-odds-label b {
  color: #ffffff;
  font-size: 13px;
  margin-left: 5px;
}

.ai-risk-pill {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.ai-risk-pill.low {
  color: #79ffb8;
  background: #133023;
  border-color: #1f7f56;
}

.ai-risk-pill.medium {
  color: #ffe4a0;
  background: #2f2513;
  border-color: #705623;
}

.ai-risk-pill.high {
  color: #ffb0b8;
  background: #2b151a;
  border-color: #6f2730;
}

.ai-badge {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.ai-badge.high {
  color: #79ffb8;
  background: #133023;
  border-color: #1f7f56;
}

.ai-badge.medium {
  color: #ffe4a0;
  background: #2f2513;
  border-color: #705623;
}

.ai-badge.low {
  color: #ffb0b8;
  background: #2b151a;
  border-color: #6f2730;
}

.ai-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 8px;
}

.ai-action-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.ai-select {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dbe9ff;
  font-weight: 700;
}

.ai-select input {
  width: auto;
}

.ai-select-btn {
  border: 1px solid #1f7f56;
  border-radius: 10px;
  background: #10291f;
  color: #8effc3;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ai-select-btn.is-disabled {
  border-color: #344259;
  background: #1a2434;
  color: #9bb0ce;
  cursor: not-allowed;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bet-now-btn {
  min-height: 40px;
  border-color: #2e5643;
  background: #133024;
  color: #9dffd0;
  font-weight: 800;
  padding: 9px 14px;
}

.ai-modal-btn {
  min-height: 40px;
  border-color: #2e4f73;
  background: #142638;
  color: #b4dcff;
  font-weight: 700;
}

.ai-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 70;
}

.ai-modal.open {
  display: block;
}

.ai-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 10, 0.75);
}

.ai-modal-card {
  position: relative;
  width: min(760px, calc(100% - 22px));
  margin: 6vh auto 0;
  border: 1px solid #2a3b54;
  border-radius: 14px;
  background: #0f1623;
  padding: 12px;
  z-index: 71;
}

.ai-modal-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.ai-modal-item {
  border: 1px solid #26374e;
  border-radius: 10px;
  background: #111a28;
  padding: 9px;
}

.ai-modal-item p {
  margin: 0 0 5px;
}

.ai-modal-item p:last-child {
  margin-bottom: 0;
}

.ai-modal-wide {
  grid-column: 1 / -1;
}

.ai-recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.ai-strength-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.ai-strength-bars {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 4px;
  align-items: end;
  height: 46px;
  border: 1px solid #26374e;
  border-radius: 8px;
  background: #101927;
  padding: 6px;
}

.ai-strength-bar {
  display: block;
  border-radius: 4px;
  background: #2a3a52;
  height: 6px;
}

.ai-strength-bar.p0 {
  height: 8px;
  background: #7f2f39;
}

.ai-strength-bar.p1 {
  height: 20px;
  background: #8c6b2f;
}

.ai-strength-bar.p3 {
  height: 34px;
  background: #1f7f56;
}

.ai-recent-title {
  margin: 0 0 6px;
}

.ai-recent-row {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  gap: 6px;
  align-items: center;
  border: 1px solid #26374e;
  border-radius: 8px;
  background: #101927;
  padding: 6px 8px;
  margin-bottom: 6px;
}

.ai-upcoming-row {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  gap: 6px;
  align-items: center;
  border: 1px solid #26374e;
  border-radius: 8px;
  background: #101927;
  padding: 6px 8px;
  margin-bottom: 6px;
}

.ai-recent-date {
  color: #9cb0cc;
  font-size: 11px;
}

.ai-recent-opponent {
  color: #dbe9ff;
  font-size: 12px;
  font-weight: 600;
}

.ai-recent-score {
  color: #c5d7f2;
  font-size: 12px;
  font-weight: 700;
}

.ai-recent-result {
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 800;
  border: 1px solid transparent;
}

.ai-recent-result.win {
  color: #79ffb8;
  background: #133023;
  border-color: #1f7f56;
}

.ai-recent-result.draw {
  color: #ffe3a0;
  background: #2f2513;
  border-color: #705623;
}

.ai-recent-result.loss {
  color: #ffb0b8;
  background: #2b151a;
  border-color: #6f2730;
}

.ai-quick-meta {
  color: #a7b7d0;
  font-size: 13px;
}

.bet-simple-head .muted {
  max-width: 820px;
}

.bet-simple-filter {
  border: 1px solid #253449;
}

.bet-simple-sports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bet-simple-sport-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #2a3a56;
  border-radius: 999px;
  background: #111a28;
  color: #d2e1f7;
  font-weight: 700;
}

.bet-simple-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bet-simple-top-card {
  border: 1px solid #23354c;
  border-radius: 12px;
  background: #0f1723;
  padding: 10px;
}

.bet-simple-top-card h3 {
  margin: 6px 0;
  font-size: 18px;
}

.bet-simple-board {
  display: grid;
  gap: 12px;
}

.bet-simple-card {
  border: 1px solid #24344a;
}

.bet-simple-card.is-hot {
  border-color: #1f7f56;
  background: #0f1d17;
}

.bet-simple-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.bet-simple-card-head h2 {
  margin: 4px 0;
  font-size: 22px;
}

.bet-simple-league {
  margin: 0;
  color: #95a9c7;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.bet-simple-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bet-simple-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bet-simple-label {
  margin: 0 0 4px 0;
  font-size: 12px;
  color: #95a9c7;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.bet-simple-why,
.bet-simple-books,
.bet-simple-history {
  margin-top: 10px;
  border-top: 1px solid #1c2a3b;
  padding-top: 10px;
}

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

.bet-simple-history-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
  font-size: 13px;
  color: #d2e1f7;
}

.bet-simple-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bet-simple-bet-btn {
  min-height: 42px;
  font-size: 15px;
  font-weight: 800;
}

.landing-shell {
  display: grid;
  gap: 18px;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(164, 180, 214, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(560px 280px at 0% 0%, rgba(140, 198, 255, 0.18), transparent 60%),
    radial-gradient(420px 240px at 100% 0%, rgba(120, 255, 196, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(13, 18, 28, 0.96), rgba(9, 13, 21, 0.96));
  overflow: hidden;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 36%, transparent 64%, rgba(255, 255, 255, 0.04));
  pointer-events: none;
}

.landing-hero-copy,
.landing-hero-panel,
.landing-section {
  position: relative;
  z-index: 1;
}

.landing-kicker,
.landing-section-kicker,
.landing-panel-kicker {
  margin: 0 0 8px;
  color: #b6c7e3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 12ch;
  font-size: clamp(34px, 5.8vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.landing-lead {
  max-width: 66ch;
  margin-top: 14px;
  color: #c7d6eb;
  font-size: 16px;
  line-height: 1.7;
}

.landing-action-row,
.landing-chip-row,
.landing-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.landing-action-row {
  margin-top: 18px;
}

.landing-btn-xl {
  min-height: 48px;
  padding-inline: 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
}

.landing-chip-row {
  margin-top: 16px;
}

.landing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid rgba(164, 180, 214, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d4e2f6;
  font-size: 12px;
  font-weight: 700;
}

.landing-hero-panel {
  display: grid;
  gap: 12px;
}

.landing-panel-card,
.landing-app-card,
.landing-module-card,
.landing-future-card {
  border: 1px solid rgba(164, 180, 214, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19, 25, 37, 0.96), rgba(13, 18, 28, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.landing-panel-card {
  padding: 18px;
}

.landing-panel-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

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

.landing-metric {
  padding: 14px;
  border: 1px solid rgba(164, 180, 214, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.landing-metric span {
  display: block;
  margin-bottom: 8px;
  color: #9db0cf;
  font-size: 12px;
}

.landing-metric strong {
  font-size: 28px;
  line-height: 1;
}

.landing-section {
  padding: 4px 0;
}

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

.landing-section-head h2 {
  font-size: 28px;
  line-height: 1.08;
}

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

.landing-card-grid-apps .landing-app-card:first-child {
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(153, 213, 255, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(20, 29, 43, 0.98), rgba(12, 18, 28, 0.98));
}

.landing-app-card,
.landing-module-card,
.landing-future-card {
  display: grid;
  gap: 16px;
  min-height: 248px;
  padding: 18px;
}

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

.landing-card-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(142, 209, 255, 0.22), rgba(120, 255, 196, 0.16));
  color: #eff7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-card-mark-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.landing-card-mark-future {
  background: linear-gradient(135deg, rgba(255, 206, 133, 0.22), rgba(255, 255, 255, 0.06));
}

.landing-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(164, 180, 214, 0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-state-live,
.landing-state-ready {
  background: rgba(26, 115, 81, 0.24);
  color: #98ffd0;
  border-color: rgba(87, 255, 181, 0.22);
}

.landing-state-locked {
  background: rgba(255, 255, 255, 0.05);
  color: #b4c3da;
}

.landing-state-future {
  background: rgba(255, 191, 92, 0.14);
  color: #ffd99a;
  border-color: rgba(255, 215, 156, 0.24);
}

.landing-card-body {
  display: grid;
  gap: 10px;
}

.landing-card-body h3 {
  font-size: 24px;
  line-height: 1.05;
}

.landing-card-body p {
  color: #c4d2e6;
  line-height: 1.65;
}

.landing-card-meta {
  color: #8ea2c0;
  font-size: 12px;
}

.landing-shell-hub {
  gap: 22px;
}

.landing-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(20px);
}

.landing-ribbon-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-ribbon-brand strong {
  font-size: 16px;
  font-weight: 700;
}

.landing-ribbon-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-ribbon-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-hero-premium {
  min-height: 520px;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow);
}

.landing-hero-premium::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%, transparent 68%, rgba(255, 255, 255, 0.03));
}

.landing-hero-premium .landing-kicker,
.landing-hero-premium .landing-section-kicker,
.landing-hero-premium .landing-panel-kicker,
.landing-ribbon .landing-kicker {
  color: var(--muted);
}

.landing-hero-premium .landing-lead,
.landing-section-premium .muted,
.landing-panel-card .muted {
  color: #c9c9cf;
}

.landing-hero-premium .landing-card-actions .btn,
.landing-hero-premium .landing-action-row .btn {
  min-height: 48px;
}

.landing-command-card {
  margin-top: 24px;
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.landing-command-card p {
  margin: 0;
  color: #d4d4d8;
  line-height: 1.65;
}

.landing-command-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-panel-card-main,
.landing-panel-card-note,
.landing-app-card,
.landing-module-card,
.landing-future-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  box-shadow: none;
}

.landing-panel-card-main strong {
  font-size: 24px;
}

.landing-panel-card-note {
  padding: 16px 18px;
}

.landing-metric {
  background: rgba(255, 255, 255, 0.03);
}

.landing-metric span {
  color: var(--muted);
}

.landing-section-premium {
  padding: 2px 0 6px;
}

.landing-section-premium .landing-section-head {
  margin-bottom: 16px;
}

.landing-section-premium .landing-section-head h2 {
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: -0.03em;
}

.landing-card-grid-apps .landing-app-card:first-child {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.035);
}

.landing-app-card,
.landing-module-card,
.landing-future-card {
  min-height: 272px;
  padding: 22px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.landing-app-card:hover,
.landing-module-card:hover,
.landing-future-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}

.landing-card-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.landing-card-mark-soft {
  background: rgba(255, 255, 255, 0.05);
}

.landing-card-mark-future {
  background: rgba(255, 255, 255, 0.04);
}

.landing-state {
  border-color: rgba(255, 255, 255, 0.08);
}

.landing-state-live,
.landing-state-ready {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.landing-state-locked,
.landing-state-future {
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  border-color: rgba(255, 255, 255, 0.08);
}

.landing-card-body h3 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.landing-card-body p {
  color: #d4d4d8;
}

.landing-card-meta {
  color: var(--muted);
}

.landing-card-actions {
  margin-top: auto;
}

.landing-card-actions .btn {
  width: 100%;
  justify-content: center;
}

.landing-section-premium code {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 12px;
}

@media (max-width: 1160px) {
  .landing-hero,
  .landing-card-grid,
  .landing-panel-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-hero-copy {
    grid-column: 1 / -1;
  }

  .landing-ribbon {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-ribbon-chips {
    justify-content: flex-start;
  }

  .insight-strip,
  .workflow-track,
  .premium-hero,
  .hub-ai-picks-grid,
  .hub-jump-grid,
  .bet-simple-top-grid,
  .bet-simple-grid,
  .bet-simple-history-grid,
  .grid.cols-4,
  .todo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .top {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-user {
    justify-content: flex-start;
  }

  .wrap {
    width: min(1240px, calc(100% - 14px));
  }

  .landing-hero,
  .landing-card-grid,
  .landing-panel-metrics {
    grid-template-columns: 1fr;
  }

  .landing-hero-premium {
    min-height: 0;
    padding: 22px;
    border-radius: 28px;
  }

  .landing-section-head {
    align-items: start;
    flex-direction: column;
  }

  .landing-hero {
    padding: 18px;
  }

  .landing-app-card,
  .landing-module-card,
  .landing-future-card {
    min-height: 0;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .insight-strip,
  .workflow-track,
  .premium-hero,
  .hub-ai-picks-grid,
  .activity-grid,
  .module-grid,
  .hub-jump-grid,
  .todo-grid,
  .form-grid,
  .hero {
    grid-template-columns: 1fr;
  }

  .module-todo .form-grid {
    grid-template-columns: 1fr;
  }

  .ai-teams strong {
    font-size: 18px;
  }

  .ai-batch-toolbar {
    align-items: stretch;
  }

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

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

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

  .ai-market-row {
    grid-template-columns: 1fr;
  }

  .ai-market-col {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .ai-market-col:last-child {
    border-bottom: 0;
  }

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

  .bet-simple-top-grid,
  .bet-simple-grid,
  .bet-simple-history-grid {
    grid-template-columns: 1fr;
  }

  .ai-recent-grid {
    grid-template-columns: 1fr;
  }

  .ai-strength-grid {
    grid-template-columns: 1fr;
  }

  .ai-recent-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ai-upcoming-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hub-toast-stack {
    right: 8px;
    left: 8px;
    width: auto;
    bottom: 8px;
  }
}
