:root {
  --fa-bg: #eaf7ff;
  --fa-surface: #fff;
  --fa-surface-blue: #ddf1ff;
  --fa-ink: #08243d;
  --fa-muted: #34546d;
  --fa-accent: #2eb7ff;
  --fa-line: rgba(8, 36, 61, .12);
  --fa-live: #d93c4b;
  --fa-green: #0d956f;
  --fa-orange: #c56f00;
}

/* Match detail refresh: preserve the existing data and betting contract. */
@media (max-width: 1179px) {
  body.figma-app-v1 {
    --fa-detail-ink: #082b43;
    --fa-detail-muted: #628197;
    --fa-detail-line: #cfe3ee;
    --fa-detail-blue: #2eb7ff;
    --fa-detail-blue-strong: #0798df;
    --fa-detail-blue-soft: #e4f6ff;
    --fa-detail-live: #dc3548;
    --fa-detail-warning: #c87408;
    --fa-detail-success: #1f8558;
  }

  #figmaAppRoot .fa-detail {
    position: relative;
    padding: 48px 19px 112px;
    color: var(--fa-detail-ink);
    background:
      radial-gradient(circle at 88% 8%, rgba(46, 183, 255, .14), transparent 28%),
      linear-gradient(180deg, #f2faff 0, var(--fa-bg) 310px);
  }

  #figmaAppRoot .fa-detail-head {
    position: sticky;
    z-index: 18;
    top: 0;
    grid-template-columns: 44px minmax(0, 1fr) 76px;
    gap: 10px;
    height: 64px;
    margin: -4px -3px 0;
    padding: 8px 3px;
    background: rgba(242, 250, 255, .94);
    backdrop-filter: blur(12px);
  }

  #figmaAppRoot .fa-detail-head h1 {
    overflow: hidden;
    color: var(--fa-detail-ink);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #figmaAppRoot .fa-detail-head button:first-child,
  #figmaAppRoot .fa-detail-head button:last-child {
    display: grid;
    min-width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--fa-detail-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .96);
    color: var(--fa-detail-ink);
    box-shadow: 0 5px 14px rgba(8, 43, 67, .07);
  }

  #figmaAppRoot .fa-detail-head button:last-child {
    min-width: 76px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 750;
  }

  #figmaAppRoot .fa-score-card {
    position: relative;
    margin-top: 10px;
    padding: 22px 16px 0;
    overflow: hidden;
    border: 1px solid var(--fa-detail-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 28px rgba(8, 43, 67, .08);
    text-align: center;
  }

  #figmaAppRoot .fa-score-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--fa-detail-blue) 0 72%, var(--fa-detail-live) 72% 100%);
  }

  #figmaAppRoot .fa-score-card > small {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #d8eaf3;
    border-radius: 999px;
    background: #f5fbfe;
    color: var(--fa-detail-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .02em;
  }

  #figmaAppRoot .fa-score-teams {
    grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
    min-height: 124px;
    margin-top: 7px;
    gap: 6px;
  }

  #figmaAppRoot .fa-score-teams > div {
    min-width: 0;
    gap: 8px;
  }

  #figmaAppRoot .fa-score-teams img,
  #figmaAppRoot .fa-score-teams .fa-team-fallback {
    width: 46px;
    height: 46px;
  }

  #figmaAppRoot .fa-score-teams strong,
  #figmaAppRoot .fa-score-teams b:not(.fa-score-value) {
    color: var(--fa-detail-ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-align: center;
  }

  #figmaAppRoot .fa-score-teams .fa-score,
  #figmaAppRoot .fa-score-teams > div:nth-child(2) {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
  }

  #figmaAppRoot .fa-score-teams .fa-score b,
  #figmaAppRoot .fa-score-teams > div:nth-child(2) b {
    color: var(--fa-detail-ink);
    font-size: 32px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.04em;
    font-variant-numeric: tabular-nums;
  }

  #figmaAppRoot .fa-score-teams .fa-score span,
  #figmaAppRoot .fa-score-teams > div:nth-child(2) span {
    color: var(--fa-detail-live);
    font-size: 11px;
    font-weight: 750;
  }

  #figmaAppRoot .fa-score-tabs {
    margin: 0 -16px;
    padding: 4px;
    border-top: 1px solid #e0edf4;
    background: #f3faff;
  }

  #figmaAppRoot .fa-score-tabs button {
    min-height: 46px;
    border-radius: 11px;
    color: #456a81;
    font-size: 12px;
    font-weight: 800;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
  }

  #figmaAppRoot .fa-score-tabs button.is-active {
    color: #07324d;
    background: #fff;
    box-shadow: 0 5px 14px rgba(8, 43, 67, .09), inset 0 -3px 0 var(--fa-detail-blue);
  }

  #figmaAppRoot .fa-detail .fa-market-tabs {
    height: auto;
    margin: 18px 0 14px;
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--fa-detail-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .8);
  }

  #figmaAppRoot .fa-detail .fa-market-tabs button {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 9px;
    color: var(--fa-detail-muted);
    font-size: 12px;
    font-weight: 750;
  }

  #figmaAppRoot .fa-detail .fa-market-tabs button.is-active {
    color: #07324d;
    background: var(--fa-detail-blue-soft);
    box-shadow: inset 0 0 0 1px #9bdcff;
  }

  #figmaAppRoot .fa-detail .fa-market-tabs button.is-active::after {
    display: none;
  }

  #figmaAppRoot .fa-detail .fa-match-row,
  #figmaAppRoot .fa-detail .fa-market-card,
  #figmaAppRoot .fa-detail section:has(> .fa-odds) {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--fa-detail-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 7px 18px rgba(8, 43, 67, .055);
  }

  #figmaAppRoot .fa-detail .fa-odds {
    gap: 8px;
  }

  #figmaAppRoot .fa-detail .fa-odds button {
    position: relative;
    min-height: 58px;
    border-width: 1px;
    border-radius: 11px;
    box-shadow: none;
    transition: transform .14s ease, border-color .14s ease, background-color .14s ease, box-shadow .14s ease;
  }

  #figmaAppRoot .fa-detail .fa-odds button span {
    color: currentColor;
    opacity: .78;
  }

  #figmaAppRoot .fa-detail .fa-odds button b {
    color: currentColor;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
  }

  #figmaAppRoot .fa-detail .fa-odds button.is-selected,
  #figmaAppRoot .fa-detail .fa-odds button[data-state="selected"] {
    border-color: var(--fa-detail-blue-strong) !important;
    background: var(--fa-detail-blue) !important;
    color: #062b43 !important;
    box-shadow: 0 8px 18px rgba(7, 152, 223, .25), inset 0 0 0 1px rgba(255, 255, 255, .5) !important;
    transform: translateY(-1px);
  }

  #figmaAppRoot .fa-detail .fa-odds button.is-selected::after,
  #figmaAppRoot .fa-detail .fa-odds button[data-state="selected"]::after {
    content: "已选";
    top: 5px;
    right: 6px;
    padding: 2px 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: #07547d;
    font-size: 8px;
    font-weight: 900;
  }

  #figmaAppRoot .fa-detail .fa-odds button.suspended,
  #figmaAppRoot .fa-detail .fa-odds button[data-state="suspended"],
  #figmaAppRoot .fa-detail .fa-odds button:disabled {
    border-color: #d7e1e7 !important;
    background: #edf2f5 !important;
    color: #8ca0ad !important;
    box-shadow: none !important;
    transform: none;
    cursor: not-allowed;
  }

  #figmaAppRoot .fa-detail [data-confirmation-state="repriced"],
  #figmaAppRoot .fa-detail [data-state="repriced"] {
    border-color: #f2c277 !important;
    background: #fff4de !important;
    color: var(--fa-detail-warning) !important;
  }

  #figmaAppRoot .fa-detail-data {
    margin: 14px 0 18px;
    overflow: hidden;
    border: 1px solid var(--fa-detail-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 20px rgba(8, 43, 67, .055);
  }

  #figmaAppRoot .fa-detail-empty {
    min-height: 184px;
    padding: 32px 24px;
    color: var(--fa-detail-muted);
    background: linear-gradient(180deg, #fff, #f7fcff);
    font-size: 13px;
    line-height: 1.65;
  }

  #figmaAppRoot .fa-statistics,
  #figmaAppRoot .fa-lineups {
    gap: 1px;
    background: var(--fa-detail-line);
  }

  #figmaAppRoot .fa-statistics article > header,
  #figmaAppRoot .fa-lineups article > header {
    background: #f0f9fe;
  }

  #figmaAppRoot .fa-selected-bar {
    right: 19px;
    bottom: 92px;
    left: 19px;
    display: grid;
    width: auto;
    min-width: 0;
    height: 58px;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0 18px;
    border: 1px solid #68caff;
    border-radius: 16px;
    background: var(--fa-detail-blue);
    color: #062b43;
    box-shadow: 0 14px 30px rgba(4, 115, 174, .28);
    font-weight: 850;
  }

  #figmaAppRoot .fa-selected-bar:focus-visible,
  #figmaAppRoot .fa-detail button:focus-visible {
    outline: 3px solid rgba(7, 152, 223, .3);
    outline-offset: 2px;
  }

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

#figmaAppRoot { display: none; }

@media (max-width: 1179px) {
  body.figma-app-v1 { margin: 0 !important; min-width: 0 !important; background: #dff2fc !important; color: var(--fa-ink) !important; font-family: "Noto Sans SC", sans-serif !important; }
  body.figma-app-v1 > .app-shell { position: fixed !important; top: 0 !important; left: -10000px !important; width: 390px !important; height: 844px !important; overflow: hidden !important; visibility: hidden !important; pointer-events: none !important; }
  body.figma-app-v1 > .figma-floating-slip, body.figma-app-v1 > .figma-slip-shortcut { display: none !important; }
  body.figma-app-v1 > .mobile-slip-trigger,
  body.figma-app-v1 > .mobile-nav,
  body.figma-app-v1 > .drawer-backdrop,
  body.figma-app-v1 > .bet-confirm-backdrop,
  body.figma-app-v1 > .bet-confirm-modal,
  body.figma-app-v1 > .match-detail-backdrop,
  body.figma-app-v1 > .match-detail-modal,
  body.figma-app-v1 > .figma-slip-shortcut { visibility: hidden !important; pointer-events: none !important; }

  #figmaAppRoot { position: relative; z-index: 100; display: block; box-sizing: border-box; width: 390px; max-width: 100vw; min-height: max(844px, 100vh); margin: 0 auto; overflow: hidden; border: 1px solid var(--fa-line); border-radius: 28px; background: var(--fa-bg); box-shadow: 0 14px 28px rgba(5, 31, 56, .32); }
  #figmaAppRoot, #figmaAppRoot * { box-sizing: border-box; }
  #figmaAppRoot button, #figmaAppRoot input { font: inherit; }
  #figmaAppRoot button { cursor: pointer; }
  .fa-status { position: absolute; z-index: 5; top: 11px; right: 19px; left: 19px; display: flex; justify-content: space-between; color: var(--fa-muted); font: 600 12px/14px Roboto, sans-serif; }
  .fa-page { width: 100%; min-height: max(844px, 100vh); padding: 52px 20px 104px; background: var(--fa-bg); }
  .fa-page h1, .fa-page h2, .fa-page p { margin: 0; }
  .fa-empty { padding: 50px 16px; color: var(--fa-muted); text-align: center; }

  .fa-nav { position: fixed; z-index: 120; right: 0; bottom: 0; left: 50%; display: flex; justify-content: center; gap: 14px; width: 390px; max-width: 100vw; height: 82px; padding: 8px 16px; transform: translateX(-50%); border: 1px solid var(--fa-line); border-radius: 0 0 28px 28px; background: #fff; }
  .fa-nav button { position: relative; display: flex; width: 58px; height: 58px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; background: transparent; color: var(--fa-muted); font-size: 12px; }
  .fa-nav button::before { content: ""; position: absolute; top: -8px; width: 20px; height: 3px; border-radius: 999px; }
  .fa-nav button.is-active::before { background: var(--fa-accent); }
  .fa-nav button.is-active { color: var(--fa-accent); }
  .fa-nav img { width: 24px; height: 24px; }
  .fa-floating-slip { position: fixed; z-index: 140; right: max(12px, calc((100vw - 390px) / 2 + 12px)); bottom: 98px; display: flex; height: 46px; padding: 0 18px; align-items: center; gap: 10px; border: 0; border-radius: 999px; background: var(--fa-accent); color: var(--fa-ink); box-shadow: 0 12px 28px rgba(18, 142, 205, .28); }
  .fa-floating-slip span { font-weight: 750; }
  .fa-floating-slip b { display: grid; min-width: 24px; height: 24px; padding: 0 6px; place-items: center; border-radius: 999px; background: rgba(255,255,255,.78); font: 700 12px Roboto, sans-serif; }

  .fa-home { padding-top: 38px; }
  .fa-home-head { display: grid; grid-template-columns: 40px 1fr 94px 32px; align-items: center; gap: 10px; height: 54px; }
  .fa-brand { width: 40px; height: 40px; border-radius: 20px; object-fit: contain; mix-blend-mode: multiply; }
  .fa-home-head > div { display: grid; gap: 2px; }
  .fa-home-head > div strong { font-size: 15px; }
  .fa-home-head > div span { color: var(--fa-muted); font-size: 11px; }
  .fa-balance { display: grid; width: 94px; height: 40px; padding: 4px 9px; gap: 1px; border: 1px solid var(--fa-line); border-radius: 10px; background: #fff; color: var(--fa-ink); text-align: center; }
  .fa-balance span { color: var(--fa-muted); font-size: 10px; }
  .fa-balance b { overflow: hidden; font: 600 13px/16px Roboto, sans-serif; text-overflow: ellipsis; white-space: nowrap; }
  .fa-bell { display: grid; place-items: center; width: 32px; height: 40px; padding: 0; border: 0; background: transparent; }
  .fa-bell img { width: 24px; height: 24px; }
  .fa-home-tabs, .fa-league-tabs, .fa-market-tabs { display: flex; height: 44px; margin-top: 18px; gap: 24px; overflow-x: auto; scrollbar-width: none; }
  .fa-home-tabs::-webkit-scrollbar, .fa-league-tabs::-webkit-scrollbar, .fa-market-tabs::-webkit-scrollbar { display: none; }
  .fa-home-tabs button, .fa-league-tabs button, .fa-market-tabs button { position: relative; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: var(--fa-muted); font-size: 13px; }
  .fa-home-tabs button.is-active, .fa-league-tabs button.is-active, .fa-market-tabs button.is-active { color: var(--fa-accent); }
  .fa-home-tabs button.is-active::after, .fa-league-tabs button.is-active::after, .fa-market-tabs button.is-active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 99px; background: var(--fa-accent); }
  .fa-feature { position: relative; height: 184px; margin-top: 10px; padding: 50px 16px 15px; overflow: hidden; border-radius: 14px; background: linear-gradient(90deg, rgba(5,31,56,.9), rgba(5,31,56,.05)), url("./figma-assets/featured-match.png") center/cover no-repeat; color: #fff; }
  .fa-feature > span { position: absolute; top: 14px; left: 16px; display: grid; place-items: center; width: 76px; height: 24px; border-radius: 99px; background: #fff; color: var(--fa-ink); font-size: 10px; }
  .fa-feature small { display: block; font-size: 11px; }
  .fa-feature h1 { margin-top: 7px; font-size: 20px; line-height: 26px; }
  .fa-feature p { margin-top: 4px; font-size: 11px; }
  .fa-feature > button { width: 104px; height: 44px; margin-top: 8px; border: 1px solid #72ceff; border-radius: 99px; background: var(--fa-accent); color: var(--fa-ink); }
  .fa-section-title { display: flex; align-items: center; justify-content: space-between; height: 52px; }
  .fa-section-title h2 { font-size: 20px; }
  .fa-section-title button { border: 0; background: transparent; color: var(--fa-accent); font-size: 11px; }

  .fa-match-list { display: grid; }
  .fa-match-row { padding: 9px 0; border-bottom: 1px solid var(--fa-line); }
  .fa-match-meta { display: grid; grid-template-columns: auto 1fr 34px; align-items: center; gap: 9px; min-height: 24px; color: var(--fa-muted); font-size: 11px; }
  .fa-match-meta b { font-weight: 500; }
  .fa-match-meta button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--fa-muted); font-size: 24px; }
  .fa-match-teams { display: grid; grid-template-columns: 1fr 60px 1fr; align-items: center; min-height: 66px; }
  .fa-match-teams > div:not(.fa-score), .fa-live-teams > div { display: grid; justify-items: center; gap: 4px; font-size: 12px; text-align: center; }
  .fa-match-teams img, .fa-live-teams img, .fa-score-teams img, .fa-slip-item figure img { width: 34px; height: 34px; object-fit: contain; }
  .fa-team-fallback { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--fa-surface-blue); color: var(--fa-muted); font-weight: 700; }
  .fa-score { display: grid; justify-items: center; gap: 4px; }
  .fa-score span { font-size: 11px; }
  .fa-score b { font: 600 20px/24px Roboto, sans-serif; }
  .fa-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .fa-odds button { min-height: 46px; padding: 5px; border: 1px solid var(--fa-line); border-radius: 9px; background: #fff; color: var(--fa-ink); }
  .fa-odds button.is-selected { position: relative; border-color: #0b8fd8; background: #26a8f2; color: #fff; box-shadow: 0 7px 16px rgba(11, 143, 216, .22), inset 0 0 0 1px rgba(255,255,255,.22); }
  .fa-odds button.is-selected::after { content: "✓"; position: absolute; top: 5px; right: 8px; font-size: 12px; font-weight: 900; color: #fff; }
  .fa-odds button.is-selected span,.fa-odds button.is-selected b { color: #fff; }
  .fa-odds button:active { transform: scale(.98); }
  .fa-odds span, .fa-odds b { display: block; font-size: 11px; }
  .fa-odds b { margin-top: 2px; font: 600 14px Roboto, sans-serif; }
  .fa-detail .fa-odds button { transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
  .fa-detail .fa-odds button:nth-child(1) { border-color: #78cefb; background: #dff4ff; color: #087fbd; }
  .fa-detail .fa-odds button:nth-child(2) { border-color: #efc884; background: #fff3dc; color: #b96b08; }
  .fa-detail .fa-odds button:nth-child(3) { border-color: #99dabd; background: #e7f7ef; color: #218357; }
  .fa-detail .fa-odds button:active { transform: scale(.97); filter: saturate(1.16); box-shadow: inset 0 0 0 2px rgba(8, 127, 189, .16); }
  .fa-schedule-status-tabs { margin-top: 8px; }
  .fa-match-meta .fa-time { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; border-radius: 999px; font-weight: 800; font-variant-numeric: tabular-nums; }
  .fa-match-meta .fa-time.is-live { color: #d93042; background: #fff0f2; border: 1px solid #ffc3c9; }
  .fa-match-meta .fa-time.is-upcoming { color: #087fbd; background: #e4f6ff; border: 1px solid #b8e4fa; }
  .fa-match-meta .fa-time.is-finished { color: #58778e; background: #eef4f7; border: 1px solid #d2e0e8; }
  .fa-score-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
  .fa-score-tabs button { min-height: 44px; border: 0; border-radius: 0; background: transparent; color: #315b74; font-weight: 750; }
  .fa-score-tabs button.is-active { color: #087fbd; background: #dff4ff; box-shadow: inset 0 -3px 0 #26a8f2; }
  .fa-detail-data { margin: 16px 0; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; overflow: hidden; }
  .fa-detail-empty { min-height: 150px; display: grid; place-items: center; padding: 24px; color: #6b879b; text-align: center; }
  .fa-detail-empty.is-error { color: #c94551; background: #fff5f6; }
  .fa-events article { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; padding: 13px 16px; border-bottom: 1px solid #dbeaf2; }
  .fa-events article:last-child { border-bottom: 0; }
  .fa-events time { color: #d93042; font-size: 18px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
  .fa-events article div { display: grid; gap: 3px; }.fa-events article b { color: #0b2a42; }.fa-events article span { color: #6b879b; font-size: 13px; }
  .fa-statistics,.fa-lineups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #dbeaf2; }
  .fa-statistics article,.fa-lineups article { background: #fff; }
  .fa-statistics article>header,.fa-lineups article>header { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: #eef8fe; border-bottom: 1px solid #dbeaf2; }
  .fa-statistics header img,.fa-lineups header img { width: 36px; height: 36px; object-fit: contain; }.fa-statistics header b,.fa-lineups header b { color: #0b2a42; }
  .fa-statistics dl { margin: 0; padding: 8px 15px 14px; }.fa-statistics dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #edf3f6; }
  .fa-statistics dt { color: #607f96; }.fa-statistics dd { margin: 0; color: #0b2a42; font-weight: 850; font-variant-numeric: tabular-nums; }
  .fa-lineups header div { display: grid; gap: 3px; }.fa-lineups header span { color: #607f96; font-size: 12px; }
  .fa-lineups ol { list-style: none; margin: 0; padding: 8px 15px 14px; }.fa-lineups li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px; min-height: 40px; border-bottom: 1px solid #edf3f6; }
  .fa-lineups li i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #dff4ff; color: #087fbd; font-style: normal; font-weight: 850; }.fa-lineups li span { color: #0b2a42; font-weight: 700; }.fa-lineups li small { color: #7892a4; }
  @media(max-width:600px){.fa-statistics,.fa-lineups{grid-template-columns:1fr}.fa-detail-data{border-radius:11px}}
  .fa-slip-pill, .fa-selected-bar { position: fixed; z-index: 115; right: calc(50% - 175px); bottom: 82px; min-width: 124px; height: 44px; padding: 0 18px; border: 1px solid #72ceff; border-radius: 99px; background: var(--fa-accent); color: var(--fa-ink); }

  .fa-title-row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
  .fa-title-row h1 { font-size: 22px; }
  .fa-title-row > span { padding: 0 12px; color: var(--fa-live); font-size: 11px; }
  .fa-title-row > button { margin-left: auto; min-width: 64px; height: 42px; border: 1px solid var(--fa-line); border-radius: 99px; background: #fff; color: var(--fa-ink); }
  .fa-league-tabs { height: 46px; margin-top: 9px; }
  .fa-live-list { display: grid; gap: 14px; margin-top: 14px; padding-bottom: 32px; }
  .fa-live-card { padding: 15px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-live-meta { display: flex; justify-content: space-between; color: var(--fa-muted); font-size: 10px; }
  .fa-live-teams { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: center; margin-top: 12px; }
  .fa-live-score { display: grid; justify-items: center; margin: 5px 0; }
  .fa-live-score b { font: 700 24px Roboto, sans-serif; }
  .fa-live-score span { color: var(--fa-live); font-size: 11px; }
  .fa-pressure { height: 7px; overflow: hidden; border-radius: 99px; background: #dceff9; }
  .fa-pressure i { display: block; width: 62%; height: 100%; background: var(--fa-accent); }
  .fa-pressure-copy { display: block; margin-top: 5px; color: var(--fa-muted); font-size: 10px; }
  .fa-live-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 10px 0; padding: 4px; border-radius: 99px; background: var(--fa-surface-blue); color: var(--fa-muted); font-size: 10px; text-align: center; }
  .fa-live-tabs > * { padding: 7px 4px; }
  .fa-live-tabs b { border-radius: 99px; background: var(--fa-accent); color: var(--fa-ink); }
  .fa-selected-bar { right: 50%; bottom: 82px; display: flex; width: 350px; justify-content: space-between; padding: 0 18px; transform: translateX(50%); }
  .fa-selected-bar span { text-align: left; font-size: 11px; }

  .fa-calendar { height: 94px; margin-top: 7px; padding: 10px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-calendar > div:first-child { display: flex; justify-content: space-between; font-size: 12px; }
  .fa-calendar a { color: var(--fa-accent); }
  .fa-days { display: grid; grid-template-columns: repeat(5, 1fr); height: 62px; }
  .fa-days button { display: grid; place-items: center; padding: 6px; border: 0; border-radius: 10px; background: transparent; color: var(--fa-ink); }
  .fa-days button.is-active { background: var(--fa-accent); }
  .fa-days span { font-size: 10px; }
  .fa-schedule-list { display: grid; gap: 8px; margin-top: 8px; }
  .fa-schedule-group h3 { display: flex; justify-content: space-between; margin: 0; color: var(--fa-muted); font-size: 11px; font-weight: 500; }
  .fa-schedule-group .fa-match-row { padding: 9px 14px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-schedule-group .fa-odds { display: grid; margin-top: 8px; }

  .fa-filter-page { min-height: 844px; padding: 0 19px 28px; }
  .fa-filter-head { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 14px; min-height: 96px; }
  .fa-filter-head > button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--fa-line); border-radius: 999px; background: #fff; color: var(--fa-ink); font-size: 25px; line-height: 1; }
  .fa-filter-head > div { min-width: 0; }
  .fa-filter-head small { display: block; margin-bottom: 4px; color: var(--fa-accent-strong); font: 700 9px/1.2 Roboto,sans-serif; letter-spacing: .14em; }
  .fa-filter-head h1 { margin: 0; font-size: 22px; line-height: 1.2; }
  .fa-filter-head p { margin: 4px 0 0; color: var(--fa-muted); font-size: 10px; }
  .fa-filter-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
  .fa-filter-summary > div { display: grid; gap: 7px; min-height: 78px; padding: 14px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-filter-summary span { color: var(--fa-muted); font-size: 10px; }
  .fa-filter-summary b { font-size: 16px; }
  .fa-filter-section { margin-bottom: 14px; padding: 16px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-filter-section > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
  .fa-filter-section h2 { margin: 0; font-size: 15px; }
  .fa-filter-section header span { color: var(--fa-muted); font-size: 10px; }
  .fa-filter-section header button { padding: 0; border: 0; background: transparent; color: var(--fa-accent-strong); font-size: 10px; }
  .fa-filter-locked { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .fa-filter-locked span { display: grid; min-height: 44px; place-items: center; border: 1px solid #b8dff4; border-radius: 10px; background: var(--fa-surface-blue); color: var(--fa-accent-strong); font-size: 11px; font-weight: 700; }
  .fa-filter-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .fa-filter-options button { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1px solid var(--fa-line); border-radius: 10px; background: #fff; color: var(--fa-ink); text-align: left; }
  .fa-filter-options button span { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .fa-filter-options button b { display: grid; min-width: 24px; height: 24px; padding: 0 6px; place-items: center; border-radius: 999px; background: var(--fa-surface-blue); color: var(--fa-muted); font: 700 9px/1 Roboto,sans-serif; }
  .fa-filter-options button.is-active { border-color: #72ceff; background: var(--fa-accent); }
  .fa-filter-options button.is-active b { background: rgba(255,255,255,.76); color: var(--fa-ink); }
  .fa-filter-actions { display: grid; grid-template-columns: 96px 1fr; gap: 10px; margin-top: 20px; }
  .fa-filter-actions button { min-height: 54px; border: 1px solid var(--fa-line); border-radius: 999px; background: #fff; color: var(--fa-ink); font-weight: 700; }
  .fa-filter-actions button:last-child { border-color: #72ceff; background: var(--fa-accent); }

  .fa-detail { padding-bottom: 96px; }
  .fa-detail-head { display: grid; grid-template-columns: 28px 1fr 64px; align-items: center; height: 44px; }
  .fa-detail-head h1 { font-size: 22px; }
  .fa-detail-head button { padding: 0; border: 0; background: transparent; color: var(--fa-ink); }
  .fa-detail-head button:last-child { height: 42px; border: 1px solid var(--fa-line); border-radius: 99px; background: #fff; }
  .fa-score-card { margin-top: 7px; padding: 8px 14px 0; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; text-align: center; }
  .fa-score-card > small { font-size: 10px; }
  .fa-score-teams { display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-top: 5px; }
  .fa-score-teams > div { display: grid; justify-items: center; gap: 4px; font-size: 12px; }
  .fa-score-teams > strong { font: 700 30px Roboto, sans-serif; }
  .fa-score-card > p { color: var(--fa-live); font-size: 11px; }
  .fa-score-tabs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; border-radius: 10px 10px 0 0; background: var(--fa-surface-blue); font-size: 10px; }
  .fa-score-tabs > * { padding: 8px 4px; }
  .fa-score-tabs b { border-radius: 10px; background: var(--fa-accent); }
  .fa-market-tabs { margin-top: 20px; }
  .fa-market-list { display: grid; gap: 14px; margin-top: 14px; }
  .fa-market-card { padding: 14px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-market-card header { display: flex; justify-content: space-between; margin-bottom: 14px; }

  .fa-slip { padding-bottom: 118px; }
  .fa-slip-head { display: flex; align-items: center; gap: 12px; min-height: 44px; }
  .fa-slip-head h1 { margin-right: auto; font-size: 22px; white-space: nowrap; }
  .fa-slip-head h1 small { font-size: 10px; font-weight: 500; }
  .fa-slip-head button { flex: 0 0 auto; border: 0; background: transparent; color: var(--fa-muted); white-space: nowrap; }
  .fa-slip-head .fa-slip-close { min-width: 54px; padding: 6px 12px; border: 1px solid var(--fa-line); border-radius: 999px; background: #fff; color: var(--fa-ink); font-size: 11px; }
  .fa-odds-alert { margin: 7px 0 14px; padding: 14px; border: 1px solid var(--fa-orange); border-radius: 11px; color: var(--fa-orange); font-size: 11px; }
  .fa-slip-items { display: grid; gap: 12px; }
  .fa-slip-empty { padding: 70px 20px; border: 1px dashed #acd9ee; border-radius: 14px; background: #fff; color: #6d8ca0; text-align: center; line-height: 1.8; }
  .fa-slip-item { position: relative; padding: 13px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-slip-item > button { position: absolute; top: 8px; right: 9px; border: 0; background: transparent; color: var(--fa-muted); }
  .fa-slip-item > small { color: var(--fa-muted); font-size: 10px; }
  .fa-slip-item > small span { margin-left: 7px; }
  .fa-slip-item > div { display: grid; grid-template-columns: 1fr 20px 1fr 72px; align-items: center; margin-top: 8px; text-align: center; }
  .fa-slip-item figure { display: grid; justify-items: center; gap: 4px; margin: 0; font-size: 10px; }
  .fa-slip-item > div > strong { display: grid; place-items: center; height: 54px; border: 1px solid #72ceff; border-radius: 10px; background: var(--fa-surface-blue); font: 600 14px Roboto, sans-serif; }
  .fa-slip-item p { margin-top: 8px; color: var(--fa-muted); font-size: 10px; }
  .fa-label { display: block; margin: 18px 0 7px; color: var(--fa-muted); font-size: 11px; }
  .fa-segment { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--fa-line); border-radius: 10px; background: #fff; }
  .fa-segment button { height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--fa-ink); }
  .fa-segment button.is-active { background: var(--fa-accent); }
  .fa-stake-row { display: grid; grid-template-columns: 1fr 72px; gap: 12px; margin-top: 16px; }
  .fa-stake-row label { display: grid; gap: 7px; color: var(--fa-muted); font-size: 11px; }
  .fa-stake-row input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid #72ceff; border-radius: 10px; background: #fff; color: var(--fa-ink); font: 700 18px Roboto, sans-serif; }
  .fa-quick-stakes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
  .fa-quick-stakes button { height: 38px; border: 1px solid var(--fa-line); border-radius: 99px; background: #fff; color: var(--fa-ink); }
  .fa-quick-stakes button.is-active { background: var(--fa-accent); }
  .fa-available { display: block; margin-top: 6px; color: var(--fa-muted); font-size: 10px; }
  .fa-return { display: grid; gap: 7px; margin-top: 10px; padding: 14px; border: 1px solid var(--fa-line); border-radius: 14px; background: var(--fa-surface-blue); }
  .fa-return span { color: var(--fa-muted); font-size: 10px; }
  .fa-return b { font-size: 18px; }
  .fa-primary, .fa-secondary { width: 100%; min-height: 54px; margin-top: 10px; border: 1px solid #72ceff; border-radius: 99px; background: var(--fa-accent); color: var(--fa-ink); font-weight: 700; }
  .fa-primary:disabled { opacity: .45; }
  .fa-secondary { background: var(--fa-surface-blue); }

  .fa-bet-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); height: 54px; gap: 0; }
  .fa-bet-filters button { position: relative; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--fa-muted); font-size: 12px; text-align: center; }
  .fa-bet-filters button.is-active { color: var(--fa-accent); }
  .fa-bet-filters button.is-active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: var(--fa-accent); }
  .fa-bet-list { display: grid; gap: 14px; }
  .fa-bet-list .user-bet-card { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; padding: 14px !important; border: 1px solid var(--fa-line) !important; border-radius: 14px !important; background: #fff !important; color: var(--fa-ink) !important; }
  .fa-bet-list .user-bet-outcome { display: flex !important; align-items: center !important; justify-content: center !important; gap: 7px !important; width: 100% !important; min-height: 36px !important; padding: 7px 10px !important; border-radius: 8px !important; background: #fff8ec !important; color: var(--fa-orange) !important; text-align: center !important; }
  .fa-bet-list .user-bet-outcome-title { font-size: 12px !important; line-height: 1.2 !important; letter-spacing: 0 !important; }
  .fa-bet-list .user-bet-outcome-value { font-size: 13px !important; line-height: 1.2 !important; }
  .fa-bet-list .user-bet-outcome small { color: currentColor !important; font-size: 9px !important; letter-spacing: 0 !important; opacity: .72; }
  .fa-bet-list .user-bet-outcome.won { border-color: #bfe7d0 !important; background: #eefaf3 !important; color: #1f8a57 !important; }
  .fa-bet-list .user-bet-outcome.lost, .fa-bet-list .user-bet-outcome.void { border-color: #efcccc !important; background: #fff4f4 !important; color: #c44b50 !important; }
  .fa-bet-list .user-bet-selections { display: grid !important; gap: 8px !important; }
  .fa-bet-list .user-bet-selection { padding: 10px !important; border: 0 !important; border-radius: 10px !important; background: var(--fa-bg) !important; }
  .fa-bet-list .user-bet-money { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; border-top: 1px solid var(--fa-line) !important; padding-top: 10px !important; text-align: left !important; }

  .fa-account > h1 { margin-bottom: 14px; font-size: 22px; }
  .fa-identity { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 18px; min-height: 66px; }
  .fa-identity > span { display: grid; place-items: center; width: 20px; height: 52px; border: 1px solid var(--fa-line); border-radius: 10px; background: var(--fa-surface-blue); font-weight: 700; }
  .fa-identity div { display: grid; gap: 5px; }
  .fa-identity small { color: var(--fa-muted); font-size: 11px; }
  .fa-identity em { color: var(--fa-green); font-size: 11px; font-style: normal; }
  .fa-wallet { position: relative; height: 150px; margin-top: 6px; padding: 18px 16px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-wallet label, .fa-wallet small { display: block; color: var(--fa-muted); font-size: 11px; }
  .fa-wallet > button { position: absolute; top: 16px; right: 16px; border: 0; background: transparent; color: var(--fa-muted); font-size: 11px; }
  .fa-wallet > strong { display: block; margin: 12px 0 6px; font: 700 26px/32px Roboto, sans-serif; }
  .fa-wallet > div { position: absolute; right: 16px; bottom: 10px; display: flex; gap: 10px; }
  .fa-wallet > div button { width: 84px; height: 44px; border: 1px solid var(--fa-ink); border-radius: 99px; background: #fff; color: var(--fa-ink); }
  .fa-wallet > div button:last-child { border-color: #72ceff; background: var(--fa-accent); }
  .fa-settings { margin-top: 20px; padding: 0 16px; overflow: hidden; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-settings button { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; width: 100%; min-height: 46px; padding: 0; border: 0; border-bottom: 1px solid var(--fa-line); background: transparent; color: var(--fa-ink); text-align: left; }
  .fa-settings button:last-child { border-bottom: 0; }
  .fa-settings b { font-size: 13px; }
  .fa-settings span { color: var(--fa-muted); font-size: 11px; }
  .fa-settings em { color: #6d8ca0; font-size: 20px; font-style: normal; }
  .fa-settings button:nth-child(6) b { color: var(--fa-orange); }
  .fa-responsible { display: grid; justify-items: center; gap: 7px; margin-top: 26px; color: var(--fa-muted); font-size: 11px; }
  .fa-responsible b { color: var(--fa-orange); }
  .fa-account-subpage { padding: 0 19px 100px; }
  .fa-subpage-header { display: grid; grid-template-columns: 44px minmax(0,1fr); align-items: center; gap: 14px; min-height: 88px; margin-bottom: 14px; }
  .fa-subpage-header > button { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid var(--fa-line); border-radius: 999px; background: #fff; color: var(--fa-ink); font-size: 25px; line-height: 1; }
  .fa-subpage-header > div { min-width: 0; }
  .fa-subpage-header small { display: block; margin-bottom: 4px; color: var(--fa-accent-strong); font: 700 9px/1.2 Roboto,sans-serif; letter-spacing: .14em; }
  .fa-subpage-header h1 { margin: 0; color: var(--fa-ink); font-size: 22px; line-height: 1.2; }
  .fa-subpage-header p { margin: 4px 0 0; color: var(--fa-muted); font-size: 11px; line-height: 1.45; }
  .fa-account-live-panel,.fa-finance-card,.fa-responsible-decision { margin: 0 0 14px; padding: 16px; border: 1px solid var(--fa-line); border-radius: 14px; background: #fff; }
  .fa-card-heading,.fa-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .fa-card-heading span,.fa-section-heading span { color: var(--fa-muted); font-size: 10px; }
  .fa-card-heading em { padding: 5px 8px; border-radius: 999px; background: #edf9f3; color: var(--fa-green); font-size: 9px; font-style: normal; }
  .fa-section-heading { margin-bottom: 14px; }
  .fa-section-heading h2 { margin: 0; font-size: 15px; }
  .fa-section-heading button { padding: 0; border: 0; background: transparent; color: var(--fa-accent-strong); font-size: 10px; }
  .fa-finance-card h2,.fa-responsible-decision h2 { margin: 12px 0 7px; font: 700 23px/1.15 Roboto,'Noto Sans SC',sans-serif; }
  .fa-finance-card h2 small { color: var(--fa-muted); font-size: 11px; }
  .fa-finance-card p,.fa-responsible-decision p { margin: 0; color: var(--fa-muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
  .fa-finance-card code { display: block; margin-top: 6px; color: var(--fa-ink); font: 500 10px/1.5 Roboto,sans-serif; overflow-wrap: anywhere; }
  .fa-usdt-summary { border-color: #b8dff4; background: var(--fa-surface-blue); }
  .fa-finance-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
  .fa-finance-metrics span { display: grid; gap: 4px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.72); color: var(--fa-muted); font-size: 9px; }
  .fa-finance-metrics b { color: var(--fa-ink); font-size: 13px; }
  .fa-package-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .fa-package-grid button { display: grid; gap: 5px; min-height: 86px; padding: 12px; border: 1px solid var(--fa-line); border-radius: 12px; background: var(--fa-surface-blue); color: var(--fa-ink); text-align: left; }
  .fa-package-grid button:hover,.fa-package-grid button:focus-visible { border-color: var(--fa-accent); }
  .fa-package-grid small { color: var(--fa-muted); font-size: 9px; }
  .fa-package-grid b { font: 700 17px/1.2 Roboto,sans-serif; }
  .fa-package-grid b em { color: var(--fa-muted); font-size: 9px; font-style: normal; }
  .fa-package-grid span { color: var(--fa-accent-strong); font-size: 10px; }
  .fa-finance-form,.fa-account-subpage .account-form { display: grid; gap: 12px; margin-top: 14px; }
  .fa-finance-form label,.fa-account-subpage .account-form label { display: grid; gap: 7px; color: var(--fa-muted); font-size: 10px; }
  .fa-finance-form input,.fa-account-subpage .account-form input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--fa-line); border-radius: 10px; background: #fff; color: var(--fa-ink); font: 600 15px/1 Roboto,sans-serif; }
  .fa-finance-form input:focus,.fa-account-subpage .account-form input:focus { border-color: var(--fa-accent); outline: 2px solid rgba(46,183,255,.16); }
  .fa-finance-form output { padding: 13px 14px; border-radius: 10px; background: var(--fa-surface-blue); color: var(--fa-accent-strong); font-size: 12px; font-weight: 700; }
  .fa-finance-form .fa-primary,.fa-account-subpage .account-form .fa-primary { min-height: 48px; border: 1px solid #72ceff; border-radius: 999px; background: var(--fa-accent); color: var(--fa-ink); font-weight: 700; }
  .fa-finance-form .fa-primary:disabled { opacity: .48; }
  .fa-form-hint,.account-form-note { color: var(--fa-muted); font-size: 9px; line-height: 1.55; }
  .fa-order-list,.fa-ledger-list { display: grid; gap: 8px; }
  .fa-order-list article,.fa-ledger-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; align-items: center; min-height: 72px; padding: 12px 13px; border: 1px solid var(--fa-line); border-radius: 12px; background: var(--fa-surface-blue); color: var(--fa-ink); }
  .fa-order-list article div,.fa-ledger-list article div { display: grid; gap: 3px; min-width: 0; }
  .fa-order-list b,.fa-ledger-list b { font-size: 12px; }
  .fa-order-list small,.fa-ledger-list small,.fa-order-list time,.fa-ledger-list time { color: var(--fa-muted); font-size: 9px; }
  .fa-order-list span { justify-self: end; padding: 5px 8px; border-radius: 999px; background: #fff4df; color: #a65e00; font-size: 9px; }
  .fa-order-list strong,.fa-ledger-list > article > strong { grid-column: 2; justify-self: end; color: var(--fa-accent-strong); font: 700 14px/1 Roboto,sans-serif; }
  .fa-ledger-list > article > strong small { display: block; margin-top: 5px; text-align: right; }
  .fa-ledger-list .is-positive { color: var(--fa-green); }
  .fa-ledger-list .is-negative { color: #c84d4d; }
  .fa-responsible-decision.is-allowed { border-color: #bde8d0; background: #f1fbf5; }
  .fa-responsible-decision.is-blocked { border-color: #f1c7c7; background: #fff7f7; }
  .fa-policy-list { margin: 0; }
  .fa-policy-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--fa-line); }
  .fa-policy-list > div:last-child { border-bottom: 0; }
  .fa-policy-list dt { color: var(--fa-muted); font-size: 10px; }
  .fa-policy-list dd { margin: 0; font-size: 11px; font-weight: 700; }
  .fa-protection-note { margin: 20px 0; color: var(--fa-orange); font-size: 10px; text-align: center; }
  .fa-security-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .fa-security-actions button,.fa-danger-link { min-height: 42px; border: 1px solid var(--fa-line); border-radius: 999px; background: #fff; color: var(--fa-ink); font-size: 10px; }
  .fa-danger-link { color: #b64545; }

  .fa-login { padding-top: 62px; }
  .fa-login > header { display: grid; justify-items: center; gap: 8px; text-align: center; }
  .fa-login > header img { width: 58px; height: 58px; border-radius: 50%; }
  .fa-login > header h1 { font-size: 28px; }
  .fa-login > header p { color: var(--fa-muted); font-size: 12px; }
  .fa-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 28px 0 20px; padding: 4px; border-radius: 10px; background: var(--fa-surface-blue); }
  .fa-auth-tabs button { height: 40px; border: 0; border-radius: 8px; background: transparent; }
  .fa-auth-tabs button.is-active { background: #fff; }
  .fa-login form { display: grid; gap: 14px; }
  .fa-login label { display: grid; gap: 7px; color: var(--fa-muted); font-size: 11px; }
  .fa-login input { height: 48px; padding: 0 14px; border: 1px solid var(--fa-line); border-radius: 10px; background: #fff; color: var(--fa-ink); }
  .fa-auth-notice { min-height: 20px; color: var(--fa-live); font-size: 11px; text-align: center; }

  .fa-account-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
  .fa-account-actions button { display: grid; min-width: 0; padding: 12px 4px 10px; justify-items: center; gap: 4px; border: 1px solid var(--fa-line); border-radius: 13px; background: #fff; color: var(--fa-ink); }
  .fa-account-actions button > span { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 11px; background: var(--fa-surface-blue); color: #0688ce; font-size: 16px; }
  .fa-account-actions b { font-size: 11px; white-space: nowrap; }
  .fa-account-actions small { color: var(--fa-muted); font-size: 8px; white-space: nowrap; }
  .fa-account-section-title { margin: 20px 0 9px !important; font-size: 14px; }

  .fa-confirm-overlay { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,36,61,.45); }
  .fa-confirm { width: 350px; max-width: 100%; padding: 20px; border: 1px solid var(--fa-line); border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(5,31,56,.28); }
  .fa-confirm header { position: relative; }
  .fa-confirm header h2 { font-size: 22px; }
  .fa-confirm header button { position: absolute; top: -4px; right: 0; border: 0; background: transparent; color: var(--fa-muted); font-size: 20px; }
  .fa-confirm header p { margin-top: 4px; color: var(--fa-muted); font-size: 11px; }
  .fa-confirm-check { margin-top: 14px; padding: 10px 12px; border: 1px solid #b9dfc9; border-radius: 10px; background: #effbf4; color: #23744b; font-size: 10px; line-height: 1.5; }
  .fa-confirm-check.is-error { border-color: #efc2bc; background: #fff4f2; color: #b84338; }
  .fa-confirm-total { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; padding: 14px; border: 1px solid var(--fa-line); border-radius: 14px; background: var(--fa-surface-blue); }
  .fa-confirm-total span { color: var(--fa-muted); font-size: 10px; }
  .fa-confirm-total b { display: block; margin-top: 6px; color: var(--fa-ink); font-size: 18px; }
  .fa-confirm-total small { grid-column: 1/-1; color: var(--fa-muted); font-size: 10px; }
  .fa-confirm-items { display: grid; gap: 8px; margin-top: 12px; }
  .fa-confirm-items article { padding: 10px; border: 1px solid var(--fa-line); border-radius: 10px; background: var(--fa-bg); }
  .fa-confirm-items article > div { display: grid; grid-template-columns: 26px 20px 26px; align-items: center; gap: 7px; }
  .fa-confirm-items img { width: 26px; height: 26px; object-fit: contain; }
  .fa-confirm-items p { margin-top: 6px; color: var(--fa-muted); font-size: 10px; }
  .fa-confirm > label { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--fa-muted); font-size: 10px; }
  .fa-confirm > small { display: block; margin-top: 12px; color: var(--fa-muted); font-size: 9px; text-align: center; }
}

@media (max-width: 390px) {
  #figmaAppRoot { border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .fa-nav { border-right: 0; border-left: 0; border-radius: 0; }
}
.fa-schedule-status-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px!important;margin:0 19px 12px!important;padding:4px!important;overflow:visible!important;border:1px solid rgba(44,183,255,.18);border-radius:14px;background:rgba(255,255,255,.68)}
.fa-schedule-status-tabs button{min-width:0!important;padding:10px 4px!important;border:0!important;border-radius:10px!important;background:transparent!important;color:#44647a!important;font-size:13px!important;white-space:nowrap}
.fa-schedule-status-tabs button.is-active{background:#2eb7ff!important;color:#062a42!important;box-shadow:0 6px 16px rgba(46,183,255,.22)}
.fa-schedule-league-tabs{margin-top:0!important;padding-top:0!important}
