.filters > .follow-search { position: relative; margin-right: 0; min-width: 0; display: grid; gap: 5px; }
.follow-search-field { position: relative; }
.filters .follow-search input { width: 100%; min-height: 44px; padding-right: 34px; }
.follow-search-field > span { position: absolute; right: 12px; top: 6px; font-size: 23px; color: #7890a4; pointer-events: none; }
.follow-search input::-webkit-search-cancel-button { display: none; }
.follow-search input:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #2365f41a; }
.follow-suggestions { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; width: max(100%, 365px); max-width: calc(100vw - 32px); overflow: auto; overscroll-behavior: contain; padding: 6px; border: 1px solid #dce7f1; border-radius: 16px; background: white; box-shadow: 0 14px 40px #12273d25; }
.follow-suggestions.above { top: auto; bottom: calc(100% + 8px); }
.follow-suggestion { display: flex; align-items: center; gap: 11px; min-height: 64px; padding: 10px; border-radius: 11px; cursor: pointer; }
.follow-suggestion:hover, .follow-suggestion[aria-selected="true"] { background: #edf5ff; }
.follow-mini-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 11px; color: #2161d8; background: #e8f0ff; font-size: 12px; font-weight: 750; }
.follow-mini-avatar.club { font-size: 27px; color: #087f86; background: #e4f4f0; }
.follow-suggestion-text { flex: 1; min-width: 0; }
.follow-suggestion-text strong { display: block; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.follow-suggestion-text small { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.follow-suggestion-kind { color: var(--muted); font-size: 9px; }
.follow-search-empty { padding: 13px; font-size: 11px; color: var(--muted); }
.follow-selection { display: flex; align-items: center; gap: 14px; margin: -8px 0 26px; padding: 14px 18px; border: 1px solid #c4e5e5; border-radius: 13px; background: #ebf7f5; }
.follow-indicator { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #089895; box-shadow: 0 0 0 5px #08989512; }
.follow-selection > div { min-width: 0; flex: 1; }
.follow-selection small { display: block; font-size: 8px; letter-spacing: 1.5px; color: var(--teal); font-weight: 700; }
.follow-selection strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
#follow-open { background: #087f86; color: white; border: 0; font-size: 12px; font-weight: 600; min-height: 40px; }
#follow-open:hover { background: #066b70; }
#follow-open span { margin-left: 14px; }
.follow-icon-button { width: 38px; min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0; background: transparent; border-color: transparent; color: #587188; font-size: 27px; line-height: 1; border-radius: 50%; }
.follow-icon-button:hover { background: #e7eef5; border-color: transparent; }
.follow-open { overflow: hidden; }
.follow-dialog { width: min(980px, calc(100vw - 64px)); max-width: none; height: min(900px, calc(100dvh - 64px)); max-height: none; padding: 0; border: 1px solid #ffffff70; border-radius: 25px; color: var(--ink); background: #f5f8fb; box-shadow: 0 40px 120px #06162866; overflow: hidden; }
.follow-dialog[open] { display: flex; flex-direction: column; }
.follow-dialog::backdrop { background: #071829a8; backdrop-filter: blur(7px); }
.follow-dialog-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e5edf3; flex-shrink: 0; }
.follow-dialog-bar > span { display: flex; align-items: center; gap: 12px; font-size: 10px; color: #497386; font-weight: 750; letter-spacing: 2px; }
.follow-dialog-scroll { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; scroll-behavior: auto; }
.follow-hero { position: relative; isolation: isolate; display: flex; align-items: center; gap: 24px; padding: 35px 32px 39px; background: #112e43; color: white; overflow: hidden; }
.follow-water { position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(-22deg, transparent 0 44px, #89e6e410 45px 46px, transparent 47px 70px), radial-gradient(ellipse at 100% 100%, #178c8e99, transparent 75%); }
.follow-avatar { display: grid; place-items: center; width: 76px; height: 76px; flex-shrink: 0; border-radius: 23px; border: 1px solid #99d8da60; box-shadow: inset 0 0 22px #c8ffff14; background: #a8ebec12; color: #aff6e8; font-size: 30px; letter-spacing: -1px; font-weight: 700; }
.follow-heading { min-width: 0; flex: 1; }
.follow-heading .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
.follow-heading h2 { font-size: clamp(24px, 3vw, 35px); line-height: 1.14; letter-spacing: -1px; margin: 9px 0; overflow-wrap: anywhere; }
.follow-heading p { font-size: 12px; color: #bad3df; }
.follow-live { position: absolute; top: 16px; right: 24px; display: flex; align-items: center; gap: 10px; font-size: 9px; color: #a4dbd5; }
.follow-body { padding: 0 32px 32px; }
#follow-description { color: var(--muted); font-size: 11px; padding: 17px 0; }
.follow-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; }
.follow-metric { display: flex; flex-direction: column; background: white; border: 1px solid #dfe8ef; border-radius: 14px; padding: 18px 20px; }
.follow-metric > span { color: var(--muted); font-size: 11px; }
.follow-metric strong { font-size: 38px; font-weight: 750; letter-spacing: -1.5px; line-height: 1.1; margin: 8px 0; }
.follow-metric small { color: #7890a4; font-size: 10px; }
.follow-metric:nth-child(2) strong { color: #987129; }
.follow-metric:nth-child(3) strong { color: #087f86; }
.follow-styles { padding: 18px 20px; border: 1px solid #dfe8ef; border-radius: 14px; background: white; margin-bottom: 27px; }
.follow-section-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.follow-section-label h3 { font-size: 12px; }
.follow-section-label > span { color: var(--muted); font-size: 10px; text-align: right; }
.follow-style-bar { display: flex; gap: 4px; height: 7px; border-radius: 5px; overflow: hidden; margin: 15px 0 12px; }
.follow-style-bar > span { background: var(--style-color, #7998b1); flex-basis: 0; }
.style-dowolny { --style-color: #3478ed; }.style-grzbietowy { --style-color: #09a498; }.style-klasyczny { --style-color: #e8a545; }.style-motylkowy { --style-color: #ed6d86; }.style-zmienny { --style-color: #9a71d9; }
.follow-style-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.follow-style-legend > span { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.follow-style-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--style-color, #7998b1); }
.follow-style-legend b { color: var(--ink); }
.follow-results-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 6px 0 11px; }
.follow-results-heading h3 { font-size: 21px; letter-spacing: -.6px; }
.follow-results-heading p { color: var(--muted); font-size: 10px; }
.follow-provisional { font-size: 10px; color: #8d6c36; padding-bottom: 16px; }
.follow-source-warning { padding: 12px 15px; margin-bottom: 20px; border-radius: 10px; background: #fff4df; color: #8d6c36; font-size: 11px; }
.follow-live.offline { color: #e8c989; }.follow-live.offline .live-dot { background: #e8c989; box-shadow: 0 0 0 5px #e8c9891a; }
.follow-results { position: relative; display: grid; gap: 16px; }
.follow-race { position: relative; border: 1px solid #dfe8ef; border-radius: 16px; overflow: hidden; background: white; box-shadow: 0 3px 12px #162e4504; }
.follow-race-header { display: flex; align-items: center; gap: 14px; padding: 17px 20px; background: #fafcfe; border-bottom: 1px solid #edf1f5; }
.follow-race-number { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; background: #edf2f7; font-size: 16px; color: #58758b; font-variant-numeric: tabular-nums; }
.follow-race-header > div { flex: 1; }
.follow-race-header small { display: block; font-size: 8px; letter-spacing: 1px; color: var(--muted); }
.follow-race-header h4 { font-size: 16px; margin: 3px 0; letter-spacing: -.3px; }
.follow-race-header p { font-size: 10px; color: var(--muted); }
.follow-result-state { font-size: 8px; color: #a07326; padding: 3px 7px; border: 1px solid #ecdfc6; background: #fff9ee; border-radius: 5px; white-space: nowrap; }
.follow-result-state.final { color: #257b61; background: #eaf8f1; border-color: #cee7dc; }
.follow-result { display: flex; align-items: center; gap: 16px; padding: 17px 20px; }
.follow-result + .follow-result { border-top: 1px solid #edf1f5; }
.follow-place { flex-shrink: 0; display: grid; place-items: center; width: 48px; min-height: 50px; padding: 5px; border-radius: 12px; color: #698194; background: #f2f6f9; }
.follow-place strong { font-size: 21px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.follow-place small { font-size: 8px; }
.follow-place.place-1 { color: #a6751e; background: #fff4da; }.follow-place.place-2 { color: #607789; background: #ebf0f6; }.follow-place.place-3 { color: #ac7157; background: #faeee6; }
.follow-result-name { min-width: 0; flex: 1; }
.follow-result-name strong { display: block; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.follow-result-name small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }
.follow-result-time { flex-shrink: 0; text-align: right; }
.follow-result-time strong { display: block; font-size: 23px; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.follow-result-time small { display: block; color: var(--teal); font-size: 10px; }
.follow-source { display: block; text-align: right; padding: 0 20px 12px; color: var(--muted); font-size: 9px; }
.follow-source:hover { color: var(--blue); }
.follow-pace { border-top: 1px solid #edf1f5; }
.follow-pace summary { color: var(--teal); font-size: 11px; padding: 13px 20px; }
.follow-pace summary::after { content: '+'; font-size: 17px; }.follow-pace[open] summary::after { content: '−'; }
.follow-pace-inner { padding: 14px 20px 20px; }
.follow-pace-inner p { font-size: 10px; color: var(--muted); }
.follow-pace-inner svg { display: block; width: 100%; max-height: 180px; margin: 14px 0; }
.follow-pace-values { display: flex; flex-wrap: wrap; gap: 8px; }
.follow-pace-values > span { display: grid; gap: 3px; background: #f2f8f9; border-radius: 6px; padding: 6px 9px; }
.follow-pace-values small { font-size: 8px; color: var(--muted); }.follow-pace-values strong { font-size: 10px; color: var(--teal); }
.follow-dialog-status { display: flex; justify-content: space-between; align-items: center; flex-shrink: 0; gap: 12px; padding: 13px 24px; background: white; border-top: 1px solid #dfe8ef; color: var(--muted); font-size: 10px; }
.follow-dialog-status > span:last-child { font-size: 8px; letter-spacing: 1.5px; white-space: nowrap; }
.follow-waiting { text-align: center; padding: 50px 15px; }.follow-waiting p { color: var(--muted); margin-top: 12px; font-size: 13px; }
@media (max-width: 900px) { .filters > .follow-search { flex: 2; } }
@media (max-width: 640px) {
  .filters > .follow-search { width: 100%; flex-basis: 100%; }
  .follow-suggestions { width: 100%; }
  .follow-selection { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .follow-selection strong { font-size: 12px; }.follow-selection > div { flex-basis: 70%; }
  #follow-open { margin-left: 17px; flex: 1; text-align: left; }.follow-selection .follow-icon-button { margin-left: auto; }
  .follow-dialog { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  .follow-dialog-bar { padding: 10px 18px; padding-top: max(10px, env(safe-area-inset-top)); }
  .follow-hero { padding: 38px 18px 25px; gap: 14px; }
  .follow-avatar { width: 54px; height: 54px; border-radius: 17px; font-size: 24px; }
  .follow-heading h2 { font-size: 25px; }.follow-heading p { font-size: 10px; }.follow-heading .eyebrow { font-size: 8px; }
  .follow-live { top: 12px; right: 18px; font-size: 8px; }
  .follow-body { padding: 0 16px 24px; }#follow-description { font-size: 10px; line-height: 1.5; padding: 14px 0; }
  .follow-metrics { gap: 7px; margin-bottom: 16px; }.follow-metric { padding: 12px 10px; border-radius: 11px; }
  .follow-metric > span { font-size: 9px; }.follow-metric strong { font-size: 29px; }.follow-metric small { font-size: 8px; }
  .follow-styles { padding: 14px; margin-bottom: 22px; }.follow-section-label > span { font-size: 8px; max-width: 110px; }
  .follow-section-label h3 { font-size: 11px; }.follow-style-legend { gap: 6px 12px; }.follow-style-legend > span { font-size: 9px; }
  .follow-results-heading { align-items: flex-start; }.follow-results-heading h3 { font-size: 20px; }.follow-results-heading p { font-size: 9px; text-align: right; max-width: 100px; }
  .follow-provisional { font-size: 9px; }
  .follow-race-header { padding: 14px; gap: 10px; }.follow-race-number { width: 32px; height: 36px; font-size: 13px; }
  .follow-race-header h4 { font-size: 14px; }.follow-race-header small { font-size: 7px; }.follow-race-header p { font-size: 9px; }.follow-result-state { font-size: 7px; padding: 3px 5px; }
  .follow-result { padding: 14px; gap: 10px; }.follow-place { width: 39px; min-height: 45px; }.follow-place strong { font-size: 19px; }.follow-place small { font-size: 7px; }
  .follow-result-name strong { font-size: 11px; }.follow-result-name small { font-size: 9px; }.follow-result-time strong { font-size: 20px; }.follow-result-time small { font-size: 9px; }
  .follow-dialog-status { padding: 12px 18px; padding-bottom: max(12px, env(safe-area-inset-bottom)); font-size: 9px; }.follow-dialog-status > span:last-child { display: none; }
}
@media (prefers-reduced-motion: no-preference) { .follow-dialog[open] { animation: follow-appear .2s ease-out; } @keyframes follow-appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } }
