/* DEFI light experience. Loaded after legacy page styles; only DEFI opts in. */
html.defi-light {
  color-scheme: light;
  --defi-bg: #f5f7f3;
  --defi-surface: #ffffff;
  --defi-surface-2: #f0f5ee;
  --defi-text: #172b22;
  --defi-muted: #53655c;
  --defi-line: #d6e1d6;
  --defi-accent: #bceb69;
  --defi-focus: #256a38;
  --defi-warn: #84520b;
  --defi-danger: #b42339;
  --defi-radius: 18px;
  --bg: var(--defi-bg); --navy: var(--defi-bg);
  --surface: var(--defi-surface); --panel: var(--defi-surface);
  --text: var(--defi-text); --ink: var(--defi-text); --muted: var(--defi-muted);
  --line: var(--defi-line); --border: var(--defi-line);
  --accent: #17613b; --accent-hover: #124c2e; --mint: #17613b;
  --gold: #84520b; --danger: #b42339;
}
html.defi-light body {
  margin: 0; background: var(--defi-bg); color: var(--defi-text);
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  overflow-wrap: anywhere;
}
html.defi-light *, html.defi-light *::before, html.defi-light *::after { box-sizing: border-box; }
html.defi-light :is(.wrap, .w, main) { min-width: 0; }
html.defi-light :is(.wrap, main.w) { width: min(1240px, 100%); margin-inline: auto; }
html.defi-light :is(h1,h2,h3) { color: var(--defi-text); text-wrap: balance; letter-spacing: -.025em; }
html.defi-light h1 { font-size: clamp(28px,4vw,48px); line-height: 1.12; }
html.defi-light h2 { font-size: clamp(20px,2.6vw,28px); line-height: 1.25; }
html.defi-light a { color: #17613b; text-underline-offset: 3px; }
html.defi-light :is(.card,.c,.panel,.defi-section,.kpi,.metric,.module,.sec-card,.task-card,.experience-card,.opponent-card,.availability-card,.quota-box,.reg-category,.media-card) {
  background: var(--defi-surface); color: var(--defi-text);
  border: 1px solid var(--defi-line); border-radius: var(--defi-radius);
  box-shadow: 0 3px 16px rgb(27 59 35 / 4%);
}
html.defi-light :is(.muted,.small,.page-hero-sub,.kpi-label,.task-desc,.sec-desc,.defi-lead,.match-meta span,label,thead th,small) { color: var(--defi-muted); }
html.defi-light :is(.section-title,.management-search label,.reg-category label,.defi-timeline li.current) { color: var(--defi-text); }
html.defi-light :is(.defi-category-card,.result,.neighbor,.defi-mobile-ranking,.defi-flow li,.defi-view-control,.slot-sticky,.timeline-compact span) {
  background: var(--defi-surface-2); color: var(--defi-text); border-color: var(--defi-line);
}
html.defi-light :is(.btn,button:where(:not(.btsk-hamburger):not(.slot-remove)),.defi-primary,.pub-nav-login-btn) {
  min-height: 44px; background: #17613b; color: #fff; border: 1px solid #17613b;
  border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; justify-content: center;
}
html.defi-light :is(.btn.alt,.defi-secondary,.pub-nav-user-chip,.pub-nav-admin-btn) {
  background: #fff; color: #245235; border: 1px solid #b9cdbd; min-height: 44px;
}
html.defi-light :is(.btn,.defi-primary,.defi-secondary):hover { filter: brightness(.96); }
html.defi-light :is(button,input,select,textarea):disabled { opacity: .6; cursor: not-allowed; }
html.defi-light :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
  background: #fff; color: var(--defi-text); border: 1px solid #9bafa1;
  border-radius: 10px; min-height: 44px; max-width: 100%; font: inherit;
}
html.defi-light input::placeholder,html.defi-light textarea::placeholder { color: #64756a; opacity: 1; }
html.defi-light input:is([type=checkbox],[type=radio]) { accent-color: #17613b; }
html.defi-light :is(input,select,textarea)[aria-invalid=true] { border-color: var(--defi-danger); }
html.defi-light :is(.flash.err,.alert-danger) { background: #fff0f2; color: #961b30; border-color: #e6b1bb; }
html.defi-light :is(.flash.ok,.priority-ok) { background: #edf8ee; color: #245235; border-color: #b4d8bd; }
html.defi-light .priority-high { background: #fff7e7; border-color: #e3c686; }
html.defi-light :is(.status-badge,.pill,.season-pill,.badge,.defi-capacity) { background: #eef4eb; color: #34583d; border-color: #c8d9c8; }
html.defi-light :is(.status-badge.success,.defi-capacity) { background: #e5f5e7; color: #205831; }
html.defi-light :is(.status-badge.warning,.defi-capacity.limited,.badge) { background: #fff4d9; color: #80500b; }
html.defi-light :is(.status-badge.danger,.defi-capacity.waitlist) { background: #ffeef1; color: #a01d35; }
html.defi-light .status-badge.neutral { background: #edf0ed; color: #475b4d; }
html.defi-light :is(.league-black,.league-blue,.league-red,.league-yellow,.league-green) { color: inherit; }
html.defi-light .league-blue { border-left: 4px solid #3174b8; }
html.defi-light .league-red { border-left: 4px solid #b42339; }
html.defi-light .league-yellow { border-left: 4px solid #b68a05; }
html.defi-light .league-green { border-left: 4px solid #39824a; }
html.defi-light .defi-landing-hero {
  min-height: 360px; padding: clamp(24px,5vw,64px);
  background: linear-gradient(100deg,#eef5e8 0%,rgb(238 245 232 / 95%) 48%,rgb(238 245 232 / 55%) 100%),url('../../img/kort.png') center/cover;
  border-bottom: 1px solid var(--defi-line);
}
html.defi-light .defi-landing-hero h1 { font-size: clamp(38px,6vw,72px); max-width: 780px; }
html.defi-light .defi-kicker { color: #38613a; }
html.defi-light .experience-hero { background: linear-gradient(120deg,#e9f3e2,#f8fbf4); }
html.defi-light .defi-product-nav a { color: #34583d; background: #fff; border-color: var(--defi-line); }
html.defi-light .defi-product-nav a[aria-current=page] { color: #233a20; background: #d9efb5; border-color: #bad789; }
html.defi-light .defi-avatar { background: #edf4e7; color: #31532e; border-color: #c1d6b9; box-shadow: none; }
html.defi-light .defi-timeline li::before { background: #d0dfca; }
html.defi-light .defi-timeline li span { border-color: #9cad9c; }
html.defi-light .timeline-compact .current { background: #d9efb5; color: #233a20; }
html.defi-light :is(.profile-hero,.player-action,.defi-status-card) { border-color: #b8cfac; border-top-color: #8fbe4b; }
html.defi-light :is(.empty-action,.reg-category small) { color: var(--defi-muted); }
html.defi-light tbody tr { background: #fff; color: var(--defi-text); }
html.defi-light :is(td,th) { border-color: var(--defi-line); }
html.defi-light .pub-nav { background: rgb(255 255 255 / 97%); border-bottom: 1px solid var(--defi-line); backdrop-filter: blur(12px); }
html.defi-light .pub-nav-inner { max-width: 1240px; min-height: 72px; height: auto; padding-block: 10px; flex-wrap: wrap; }
html.defi-light .pub-nav-brand { color: #183d29; gap: 10px; }
html.defi-light .pub-nav-logo { display: block; width: 44px; height: 44px; object-fit: contain; }
html.defi-light .pub-nav-brand-text { font-size: 15px; }
html.defi-light .pub-nav-link { color: #425e4c; min-height: 44px; display: inline-flex; align-items: center; }
html.defi-light .pub-nav-link.active { color: #183d29; background: #eef5e8; }
html.defi-light .pub-nav-actions { margin-left: auto; }
html.defi-light .top-bar { position: static; background: #fff; border-color: var(--defi-line); }
html.defi-light .btsk-global-logo { display: none; }
html.defi-light :is(.btsk-bottom-nav,.btsk-slide-nav) { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light :is(.btsk-bottom-nav,.btsk-slide-nav) a { color: #425e4c; }
html.defi-light .btsk-bottom-nav a.active { color: #17613b; background: #eff6e9; }
html.defi-light :focus-visible { outline: 3px solid #256a38; outline-offset: 3px; }
html.defi-light :is(.skip-link,.skip):focus { background: #fff; color: #172b22; z-index: 1001; }
@media(max-width:768px) {
  html.defi-light body { padding-bottom: calc(92px + env(safe-area-inset-bottom,0px)); }
  html.defi-light .pub-nav { position: static; }
  html.defi-light .pub-nav-inner { padding: 10px 14px; gap: 8px; }
  html.defi-light .pub-nav-links { order: 3; flex: 1 1 100%; justify-content: center; }
  html.defi-light .pub-nav-actions { gap: 6px; }
  html.defi-light .pub-nav-brand-text { display: none; }
  html.defi-light .pub-nav-user-chip { max-width: 110px; }
  html.defi-light .btsk-hamburger { display: none; }
  html.defi-light .defi-landing-hero { min-height: 290px; padding: 28px 18px; }
  html.defi-light :is(.wrap,main.w) { padding-top: 16px; }
  html.defi-light .task-card > .btn { margin-left: 0; max-width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  html.defi-light *,html.defi-light *::before,html.defi-light *::after { scroll-behavior: auto; animation: none; transition: none; }
}

html.defi-light :is(.application,.category,.form-step,.review-summary,.notice) { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light .notice.error { background: #fff0f2; color: #961b30; border-color: #e6b1bb; }
html.defi-light :is(.defi-nav a,button.secondary) { background: #fff; color: #245235; border-color: #b9cdbd; }
html.defi-light .defi-nav a[aria-current=page] { background: #d9efb5; color: #233a20; }
html.defi-light :is(.tag,.eyebrow,.registration-timeline .current) { color: #34583d; }
html.defi-light .tag { background: #edf3e8; }

html.defi-light :is(.hero,.answer,.story-card,.season,.entry) { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light .hero p { color: var(--defi-muted); }
html.defi-light .pub-nav-brand:not(:has(img)) .pub-nav-brand-text { display: inline; }
html.defi-light .form .w { color: #fff; background: #17613b; }
html.defi-light .form .l { color: #fff; background: #a5293c; }

html.defi-light :is(.module p,main > header p) { color: var(--defi-muted); }
html.defi-light .archive-strip .btn.alt { background: #fff; color: #245235; }
html.defi-light .archive-strip .btn.alt .small { color: #53655c; }

/* Active athletes land on their status, not a second promotional screen. */
html.defi-light body.defi-focused .defi-landing-hero { min-height: 0; padding-block: 24px; background: #edf4e7; }
html.defi-light body.defi-focused .defi-landing-hero h1 { font-size: clamp(28px,4vw,42px); }
html.defi-light body.defi-focused .defi-landing-hero .defi-lead { display: none; }
html.defi-light .defi-submit-status { color: #34583d; font-weight: 600; }
html.defi-light [aria-busy=true] [aria-disabled=true] { cursor: wait; opacity: .75; }

html.defi-light :is(.stage,.hero-panel,.fixture,.pulse > div,.admin-back-btn) { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light :is(.metric > span,.time) { color: #34583d; }
html.defi-light .admin-back-btn { display: inline-flex; align-items: center; min-height: 44px; }

html.defi-light :is(.quick-nav a,.category-tab,.submit-zone) { background: #fff; color: #245235; border-color: #b9cdbd; }
html.defi-light .category-tab.active { background: #d9efb5; color: #233a20; border-color: #bad789; box-shadow: none; }
html.defi-light :is(.section-sub,.registration-timeline li) { color: var(--defi-muted); }
html.defi-light .metric strong { color: var(--defi-text); }
html.defi-light .capacity { color: #205831; }
html.defi-light .capacity.limited { color: #80500b; }
html.defi-light .capacity.waitlist { color: #a01d35; }

html.defi-light body::before,html.defi-light body::after { display: none; }
html.defi-light :is(.clock,.match-row,.brand) { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light :is(.rank,.name) { color: var(--defi-text); }
html.defi-light .empty { color: var(--defi-muted); }

html.defi-light body.defi-focused .defi-landing-hero .defi-actions > .defi-secondary { display: none; }
html.defi-light .availability-widget,html.defi-light .availability-card,html.defi-light .slot-fields > * { min-width: 0; }
@media(max-width:1000px) {
  html.defi-light .slot-fields { grid-template-columns: 1fr 1fr; }
}
@media(max-width:900px) {
  /* Bridge the legacy shared mobile stylesheet's important two-column grid. */
  html.defi-light .grid:not(form) { grid-template-columns: minmax(0,1fr) !important; }
  html.defi-light .slot-sticky,html.defi-light .submit-zone { position: static; }
}

/* Secondary administration and season-history surfaces use the same tokens. */
html.defi-light :is(.award,.item,.gate,.category-card,.group-card,.compare-card,.control-stage,.player-card,dialog,.match,.actions,.tile,.rank-chip,.match-type,.champ,.cohort,.safety-grid div,.fact,.empty,.step,.group,.flash,.insight,.good,.intervention,.action,.status,.dimension,.court-box,.timeline li,.milestone,.impact-grid article,.advanced,.detail-groups section,.draft-item,.leader-item,.leader-no,.leader-rank,.rank-card,.modal-box,.check-card,.compact-row,details.compact-panel,.ops-kpi,.ops-box,.ops-item,.ops-nav .menu) {
  background: var(--defi-surface); color: var(--defi-text); border-color: var(--defi-line);
}
html.defi-light :is(.elo-val,.card-stat-lbl,.legend-item,.standings-table th,.score-label,.stat-label,.match-date,.empty-state,.group-info,.label,.table-wrap td::before) { color: var(--defi-muted); }
html.defi-light :is(.card-rank,.stat-highlight,.vs-badge,.action strong) { color: #205831; }
html.defi-light .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; background: #fff; color: #245235; border-color: #b9cdbd; }
html.defi-light .button.primary { background: #17613b; color: #fff; border-color: #17613b; }
html.defi-light.defi-content .drawer { background: #fff; color: var(--defi-text); border-color: var(--defi-line); }
html.defi-light .flash.err { background: #fff0f2; color: #961b30; border-color: #e6b1bb; }
html.defi-light .flash.ok { background: #edf8ee; color: #245235; border-color: #b4d8bd; }

html.defi-light .table-wrap td::before { color: var(--defi-muted); }
html.defi-light :is(.btn.danger,.btn.red,button.danger,.button.danger) { background: #b42339; color: #fff; border-color: #b42339; }
html.defi-light .bad { color: #b42339; }

html.defi-light .ai-label { color: #38613a; }
html.defi-light .slot-remove { color: #b42339; min-width: 44px; min-height: 44px; background: transparent; }

/* Disclosure actions also need the light-surface link contrast, not the old mint. */
html.defi-light .card-action { color: #17613b; }

/* Authenticated reference dashboard; legacy forms and guest landing stay native. */
html.defi-light .defi-reference{--ref-navy:#101b31;--ref-green:#075626;--ref-lime:#d0fa24;color:var(--ref-navy)}
.ref-layout{display:none}
.defi-reference .ref-layout{display:block}
.defi-reference>.pub-nav{display:none}
.defi-reference>.defi-landing-hero,.defi-reference>header.hero{display:none}
.defi-reference .ref-sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:#fff;z-index:80;border-right:1px solid #e5e9ef;display:flex;flex-direction:column;padding:30px 18px 0;overflow:auto}
.defi-reference .ref-brand{display:flex;gap:10px;align-items:center;padding:5px 2px 35px}
.defi-reference .pub-nav-brand{display:block;color:#101b31!important;text-decoration:none;font-size:27px!important;font-weight:900!important;line-height:1.05!important;font-style:italic}
.defi-reference .pub-nav-brand-text{display:block!important;font-size:27px!important;letter-spacing:-1px}
.defi-reference .pub-nav-brand::after{content:'DEFI LİGİ';display:block;font-size:17px;border-bottom:4px solid #b9ea19;padding-bottom:5px;white-space:nowrap}
.defi-reference .pub-nav-logo{display:none}
.ref-tennis-ball{display:block;flex:0 0 48px;width:48px;height:48px;position:relative;border-radius:50%;background:linear-gradient(140deg,#d4ff38,#a4d700 65%,#6a9f00);overflow:hidden;box-shadow:0 5px 9px #233a151a;transform:rotate(32deg)}
.ref-tennis-ball::before,.ref-tennis-ball::after{content:'';position:absolute;inset:-15px 20px -15px -32px;border:3px solid #fff;border-radius:50%}
.ref-tennis-ball::after{inset:-15px -32px -15px 20px}
.defi-reference .ref-sidebar nav{display:grid;gap:8px}
.defi-reference .ref-sidebar nav a{display:flex;align-items:center;gap:17px;min-height:50px;padding:12px 14px;color:#162139;border-radius:11px;text-decoration:none;font-size:16px;font-weight:650}
.defi-reference .ref-sidebar nav a[aria-current]{background:#12562e;color:#fff;box-shadow:0 5px 12px #12562e12}
.defi-reference .ref-sidebar nav a:hover{background:#edf5e9;color:#12562e}
.defi-reference .ref-sidebar nav a[aria-current]:hover{background:#0b4322;color:#fff}
.ref-icon{width:24px;height:24px;flex:0 0 24px;vertical-align:middle}
.defi-reference .ref-admin{display:grid;gap:10px;margin-top:28px}.defi-reference .ref-admin .pub-nav-actions{flex-wrap:wrap}
.defi-reference .ref-admin .pub-nav-user-chip{display:none}.defi-reference .ref-career{font-size:12px;margin:18px 8px;color:#466158}
.ref-sidebar-court{min-height:235px;margin:24px -18px 0;flex:1;background:linear-gradient(165deg,#fff 0%,#fff 22%,#c9f622 22%,#c9f622 28%,transparent 28%),url('../../img/kort.png') center bottom/cover;position:relative}
.ref-sidebar-court .ref-tennis-ball{position:absolute;bottom:32px;left:36px;width:80px;height:80px}
.defi-reference .ref-topbar{height:70px;position:relative;margin-left:218px;background:#fff;border-bottom:1px solid #e6eaf0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 30px}
.ref-breadcrumb,.ref-top-actions{display:flex;align-items:center;gap:20px}.ref-breadcrumb{font-size:13px}.ref-breadcrumb .ref-icon{color:#12562e;width:20px}
.defi-reference .ref-profile{display:flex;align-items:center;gap:12px;color:#172139;text-decoration:none;font-size:14px}.defi-reference .ref-profile .defi-avatar{background:#0d5b30;color:#fff;width:36px;height:36px;flex-basis:36px;border:0}
.defi-reference .ref-profile .defi-athlete{display:inline-flex;align-items:center;gap:10px}.defi-reference .ref-profile .defi-avatar{display:inline-flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:50%;font-weight:750}.defi-reference .ref-profile .defi-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.defi-reference .ref-notifications{color:#142136;position:relative;display:grid;place-items:center;min-width:44px;min-height:44px;border-right:1px solid #e5e9ee;padding-right:18px}
.ref-notifications>span{position:absolute;top:1px;right:9px;background:#c51f32;color:#fff;border-radius:50%;font-size:10px;padding:1px 5px}
.defi-reference .ref-home{margin-left:218px;padding:28px 30px 34px;background:linear-gradient(135deg,#fff,#f6f8fc 70%);min-height:calc(100vh - 70px)}
.ref-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.defi-reference .ref-welcome h1{margin:0;font-size:36px;line-height:1.18;color:#111b30;font-weight:850;letter-spacing:-1px}.ref-welcome p{margin:7px 0 0;color:#566172;font-size:16px}
.ref-scope{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;max-width:50%}.ref-scope label{margin:0;display:flex;align-items:center;gap:10px;border:1px solid #d5dce5;border-radius:10px;background:#fff;box-shadow:0 3px 6px #13274306;padding:0 10px;min-width:0}
.ref-scope label .ref-icon{color:#185b32;width:20px;flex-basis:20px}.defi-reference .ref-scope select{border:0;box-shadow:none;background:transparent;color:#132039;font-size:14px;font-weight:700;min-height:44px;padding:7px 20px 7px 0;width:auto;min-width:0;max-width:230px}
.ref-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ref-sr-only:focus{position:static;width:auto;height:auto;clip:auto;margin:0;padding:8px}
.defi-reference .ref-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #e0eadf;background:linear-gradient(90deg,#f4f9f0,#f6faf6);border-radius:14px;margin-bottom:24px;padding:17px 0;box-shadow:0 3px 10px #17331c05}
.ref-metrics>div{display:flex;align-items:center;justify-content:center;gap:20px;line-height:1.25;padding:0 14px}.ref-metrics>div+div{border-left:1px solid #cdd9d3}.ref-metrics .ref-icon{width:34px;height:34px;flex-basis:34px;color:#12602a}.ref-metrics span{font-size:16px}.ref-metrics strong{display:block;font-size:28px;line-height:1.15;color:#101b31}
.ref-card-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:22px;align-items:stretch}.ref-card{min-width:0;background:#fff;border-radius:15px;box-shadow:0 4px 10px #192f4b0d;border:1px solid #e0e6ed;overflow:hidden}
.defi-reference .ref-card>h2{color:#111c33;display:flex;align-items:center;gap:11px;font-size:22px;font-weight:800;line-height:1.25;padding:20px 22px 8px;margin:0;letter-spacing:-.5px}.ref-card>h2>.ref-icon{color:#12602a;width:28px;height:28px;flex-basis:28px}.ref-card>h2>a{margin-left:auto;color:#172c30;text-decoration:none;min-width:30px;text-align:right}
.defi-reference .ref-next>h2{background:linear-gradient(105deg,#07541d 70%,#75b400);color:#fff;padding:15px 22px;min-height:58px;position:relative}.ref-next>h2>.ref-icon{color:#fff}.ref-next>h2::after{content:'';width:90px;height:100%;position:absolute;right:0;top:0;background:repeating-linear-gradient(0deg,transparent 0 10px,#ffffff24 10px 11px),repeating-linear-gradient(90deg,transparent 0 12px,#ffffff24 12px 13px);transform:skewY(-20deg)}
.ref-card-body{padding:18px 22px 22px}.defi-reference .ref-card-body h3{font-size:19px;margin:9px 0;color:#172139}.ref-empty{font-size:14px;line-height:1.6;color:#5a6474;margin:12px 0 18px}.ref-empty-mark>.ref-icon{width:36px;height:36px;color:#2b732b;background:#f1f7e7;padding:5px;border-radius:50%;box-sizing:content-box}
.ref-primary,.ref-card-actions>a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;background:linear-gradient(105deg,#006b23,#075b21);color:#fff!important;text-decoration:none;border-radius:10px;font-size:14px;font-weight:750;border:1px solid #095c23}
.ref-card-actions{display:flex;gap:12px;margin-top:16px}.ref-card-actions>a{flex:1}.ref-card-actions>a.ref-outline{background:#fff;color:#185b2c!important;border:1px solid #37734b}
.ref-versus{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:7px 0 18px}.ref-versus .defi-athlete{flex-direction:row;justify-content:center;align-items:center;text-align:center;gap:8px;font-size:16px;font-weight:750;flex:1}.ref-versus .defi-avatar{width:48px;height:48px;flex-basis:48px;background:#145b35;color:#fff;border:0;font-size:20px}.ref-vs{border-radius:50%;background:#eef1f5;padding:8px;color:#4c5669;font-size:13px}
.ref-match-meta{display:flex;justify-content:center;gap:18px;border-block:1px solid #eff1f5;padding:13px 0;font-size:13px}.ref-match-meta>span{display:flex;align-items:center;gap:8px}.ref-match-meta .ref-icon{width:18px;height:18px;flex-basis:18px;color:#236139}
.ref-ranking table{width:100%;border-collapse:separate;border-spacing:0 5px;font-size:14px}.defi-reference .ref-ranking th{background:#f3f5f8;color:#5c6576;padding:7px 8px;font-size:12px}.defi-reference .ref-ranking td{padding:9px 8px;border:0;color:#172139}.ref-ranking th:last-child,.ref-ranking td:last-child{text-align:right}.ref-ranking .defi-athlete{gap:8px}.ref-ranking .defi-avatar{width:28px;height:28px;flex-basis:28px;font-size:11px}.ref-ranking .ref-me{background:#e6fca4;font-weight:800}.ref-ranking .ref-me td:first-child{border-radius:9px 0 0 9px}.ref-ranking .ref-me td:last-child{border-radius:0 9px 9px 0}
.ref-result-stack{display:grid;grid-template-rows:auto minmax(145px,1fr);gap:18px;min-width:0}.ref-result-line{display:flex;gap:15px;align-items:center;justify-content:space-between}.ref-result-line>strong{font-size:30px;color:#101a30}.ref-badge{display:inline-block;padding:4px 10px;border-radius:9px;background:#e0f5ab;color:#253b13;font-size:12px;font-weight:700}.ref-result .ref-card-body{padding-top:6px}.ref-result p{margin-bottom:0}
.ref-court{position:relative;overflow:hidden;min-height:155px;display:block;background:#31542e;border-radius:14px}.ref-court img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.ref-court>span{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:7px;padding:12px 16px;color:#fff;background:linear-gradient(transparent,#183d25e6);font-size:14px;font-weight:650}
.defi-reference .ref-next #defi-durumum{margin:0 0 16px;padding:16px;border-radius:10px;background:#f6f9f3;border:1px solid #e0e9d9;box-shadow:none;max-width:none}
.defi-reference .ref-next #defi-durumum h2{font-size:16px;margin:0 0 5px}.defi-reference .ref-next #defi-durumum :is(.defi-kicker,p){font-size:12px;line-height:1.45;margin:5px 0}.defi-reference .ref-next #defi-durumum .defi-primary{font-size:12px;padding:6px 10px;min-height:34px;margin-top:5px}.defi-reference .ref-next #defi-durumum .defi-timeline{margin:12px 0 0;font-size:9px;gap:5px;min-width:0}.defi-reference .ref-next #defi-durumum .defi-timeline li{font-size:9px;min-width:48px}.defi-reference .ref-next #defi-durumum .defi-timeline li span{width:10px;height:10px}
html.defi-light body.defi-reference>main.wrap{margin-left:218px;width:calc(100% - 218px);max-width:none;padding:28px 30px;border-top:1px solid #dbe3de}.defi-reference>main.wrap .ref-legacy-hero{margin:0 0 25px;padding:20px;background:#fff;border:1px solid #e4e8ee;border-radius:12px;min-height:0}.defi-reference>main.wrap .ref-legacy-hero h1{font-size:22px}
.ref-mobile-challenge,.ref-mobile-brand,.ref-mobile-menu{display:none}
@media(min-width:1500px){.defi-reference .ref-home{padding-inline:42px}.ref-card-grid{gap:26px}.ref-card-body{padding:22px 26px}.ref-welcome{margin-bottom:30px}}
@media(max-width:1100px) and (min-width:769px){.defi-reference .ref-sidebar{width:182px;padding-inline:12px}.defi-reference .ref-home,.defi-reference .ref-topbar{margin-left:182px;padding-inline:22px}html.defi-light body.defi-reference>main.wrap{margin-left:182px;width:calc(100% - 182px)}.ref-welcome{flex-wrap:wrap}.ref-scope{max-width:none;justify-content:flex-start}.ref-sidebar-court{margin-inline:-12px}.defi-reference .ref-welcome h1{font-size:31px}.ref-card-grid{gap:16px}.defi-reference .ref-card>h2{font-size:19px;padding-inline:17px}.ref-card-body{padding:16px}.ref-versus .defi-athlete{font-size:14px}.ref-card-actions{flex-wrap:wrap}}
@media(max-width:768px){
 .defi-reference .ref-sidebar{display:none}.defi-reference .ref-topbar{height:78px;margin:0;padding:10px 16px;gap:6px}.ref-breadcrumb{display:none}.ref-mobile-brand{display:flex;gap:8px;align-items:center}.ref-mobile-brand .ref-tennis-ball{width:36px;height:36px;flex-basis:36px}.defi-reference .ref-mobile-brand .pub-nav-brand-text{font-size:20px!important}.defi-reference .ref-mobile-brand .pub-nav-brand::after{font-size:12px;border-width:3px;padding-bottom:3px}.ref-mobile-menu{display:block;width:44px}.defi-reference .ref-mobile-menu #btskMoreBtn{display:grid;place-items:center;width:40px;height:44px;text-decoration:none;font-size:0;color:#152238}.ref-mobile-menu #btskMoreBtn .bnav-icon{font-size:24px}.ref-top-actions{gap:0}.defi-reference .ref-profile{display:none}.defi-reference .ref-notifications{border:0;padding:0;min-width:40px}.defi-reference .ref-home{margin:0;padding:12px 14px 30px;min-height:0;display:flex;flex-direction:column;gap:16px}.ref-welcome{order:0;margin:0;display:block}.ref-welcome>div{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ref-scope{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:8px}.ref-scope label{padding:0 7px;gap:4px}.ref-scope label .ref-icon{width:16px;flex-basis:16px}.defi-reference .ref-scope select{min-height:36px;font-size:11px;width:100%;max-width:100%;padding-right:10px}.ref-card-grid{display:contents}.ref-next{order:1}.ref-mobile-challenge{order:2;display:flex;align-items:center;justify-content:center;gap:12px;background:#d0f927;color:#152313!important;text-decoration:none;min-height:46px;border-radius:11px;font-size:16px;font-weight:800}.ref-metrics{order:3}.ref-challenge{order:4}.ref-ranking{order:5}.ref-result-stack{order:6}.ref-challenge:has(.ref-empty-mark){display:none}.defi-reference .ref-card>h2{font-size:19px;padding:16px 18px}.defi-reference .ref-next>h2{padding:12px 18px;min-height:50px}.ref-card-body{padding:16px}.ref-versus .defi-athlete{font-size:14px;flex-direction:column}.ref-versus .defi-avatar{width:44px;height:44px;flex-basis:44px}.ref-card-actions .ref-outline{display:none}.ref-match-meta{gap:12px;font-size:12px}.ref-match-meta .ref-icon{width:16px;flex-basis:16px}.defi-reference .ref-metrics{margin:0;padding:12px 0;border-radius:12px}.ref-metrics>div{gap:0;padding:0 8px;flex-direction:column;text-align:center}.ref-metrics .ref-icon{display:none}.ref-metrics span{font-size:12px}.ref-metrics strong{font-size:23px}.ref-result-stack{display:grid}html.defi-light body.defi-reference>main.wrap{margin:0;width:100%;padding:20px 14px 85px}.defi-reference .btsk-bottom-nav-inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.defi-reference .btsk-bottom-nav a{font-size:10px!important}.defi-reference .bnav-icon>.ref-icon{width:22px;height:22px}.ref-ranking .defi-athlete-name{font-size:12px}.ref-card-body .ref-empty{font-size:13px}.defi-reference .ref-next #defi-durumum{padding:16px}.defi-reference .ref-next #defi-durumum .defi-timeline{overflow-x:auto}
}

/* Reference brand and native form reset; preserve the actual club wordmark. */
html.defi-light body.defi-reference .pub-nav-brand img{display:none!important}
html.defi-light body.defi-reference .ref-scope select{border:0!important;box-shadow:none!important;background:transparent;flex:1;width:0;min-width:0;text-overflow:ellipsis}
html.defi-light body.defi-reference>main:not(.wrap){margin-left:218px;width:calc(100% - 218px);max-width:none;padding:28px 30px}
html.defi-light body.defi-reference>.top-bar{margin-left:218px}
@media(max-width:1100px) and (min-width:769px){html.defi-light body.defi-reference>main:not(.wrap){margin-left:182px;width:calc(100% - 182px)}html.defi-light body.defi-reference>.top-bar{margin-left:182px}}
@media(max-width:768px){html.defi-light body.defi-reference>main:not(.wrap){margin:0;width:100%;padding:20px 14px 85px}html.defi-light body.defi-reference>.top-bar{margin:0}}

.defi-reference .ref-topbar{border-radius:0;margin-bottom:0;border-top:0;border-inline:0}
.ref-mobile-scope{display:none}
.ref-welcome>.ref-scope{flex:0 1 550px;width:50%}.ref-scope label{flex:1 1 0}
@media(max-width:768px){.ref-mobile-scope{display:block;order:0;border:1px solid #dce4e9;border-radius:9px;background:#fff;padding:0 10px}.ref-mobile-scope>summary{font-size:12px;color:#345743;min-height:32px;padding:6px 0}.ref-mobile-scope .ref-scope{grid-template-columns:1fr;padding:4px 0 10px}.ref-mobile-scope .ref-scope label{min-height:40px}.ref-mobile-scope .ref-scope select{font-size:13px}.ref-welcome{margin:0;height:0}.ref-home .ref-card-grid{gap:0}}

/* Reference visual acceptance refinement: presentation only, no role or data changes. */
html.defi-light body.defi-reference{
 --ref-navy:#101b31;--ref-green:#12562e;--ref-lime:#d0fa24;
 --ref-canvas:#f7f9fc;--ref-surface:#fff;--ref-line:#e0e6ed;
 --ref-radius:14px;--ref-gap:20px;
 font-weight:400;font-variant-numeric:tabular-nums;
}
html.defi-light body.defi-reference .ref-sidebar{width:244px;padding-top:26px}
html.defi-light body.defi-reference .ref-topbar{margin-left:244px;height:64px;background:#fbfcff}
html.defi-light body.defi-reference .ref-home{margin-left:244px;padding:28px;background:var(--ref-canvas);min-height:calc(100vh - 64px)}
html.defi-light body.defi-reference>main.wrap,
html.defi-light body.defi-reference>main:not(.wrap){margin-left:244px;width:calc(100% - 244px);padding:24px 28px 32px;background:var(--ref-canvas);color:var(--ref-navy)}
html.defi-light body.defi-reference>.top-bar{margin-left:244px}
html.defi-light body.defi-reference .top-bar-title{font-weight:600;letter-spacing:0}
html.defi-light body.defi-reference .ref-sidebar nav a{font-weight:600;gap:16px}
html.defi-light body.defi-reference .ref-welcome{margin-bottom:20px}
html.defi-light body.defi-reference .ref-welcome h1{font-size:40px;line-height:1.15;font-weight:700;letter-spacing:-1px}
html.defi-light body.defi-reference .ref-welcome p{font-size:16px;line-height:1.5;color:#566172}
html.defi-light body.defi-reference .ref-scope select{font-weight:600}
html.defi-light body.defi-reference .ref-profile{font-weight:600}
html.defi-light body.defi-reference .ref-metrics{margin-bottom:20px;padding:16px 0;border-radius:var(--ref-radius)}
html.defi-light body.defi-reference .ref-metrics strong{font-weight:700}
html.defi-light body.defi-reference .ref-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ref-gap);align-items:start}
html.defi-light body.defi-reference .ref-column{display:flex;flex-direction:column;gap:var(--ref-gap);min-width:0}
html.defi-light body.defi-reference .ref-card{border:1px solid var(--ref-line);border-radius:var(--ref-radius);background:var(--ref-surface);box-shadow:0 3px 10px #192f4b09}
html.defi-light body.defi-reference .ref-card>h2{font-size:22px;font-weight:700;letter-spacing:-.4px;padding:18px 20px 8px}
html.defi-light body.defi-reference .ref-next>h2{min-height:52px;padding:12px 20px}
html.defi-light body.defi-reference .ref-card-body{padding:16px 20px 18px}
html.defi-light body.defi-reference .ref-card-body h3{font-size:18px;font-weight:600;line-height:1.4;margin:8px 0}
html.defi-light body.defi-reference .ref-empty{margin:8px 0 12px;line-height:1.5}
html.defi-light body.defi-reference .ref-challenge .ref-empty-mark{display:none}
html.defi-light body.defi-reference .ref-challenge .ref-card-body{padding-top:12px}
html.defi-light body.defi-reference :is(.ref-primary,.ref-card-actions>a){font-weight:600;border-radius:10px}
html.defi-light body.defi-reference .ref-next #defi-durumum{padding:16px;margin-bottom:8px}
html.defi-light body.defi-reference .ref-next #defi-durumum h2{font-weight:600;line-height:1.3;margin-bottom:4px}
html.defi-light body.defi-reference .ref-next #defi-durumum :is(.defi-kicker,p){margin:2px 0;line-height:1.4}
html.defi-light body.defi-reference .ref-next #defi-durumum .defi-timeline{margin-top:8px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;overflow:visible}
html.defi-light body.defi-reference .ref-next #defi-durumum .defi-timeline li{min-width:0;font-weight:500}
html.defi-light body.defi-reference .ref-versus .defi-athlete{font-weight:600}
html.defi-light body.defi-reference .ref-ranking .ref-me{font-weight:700}
html.defi-light body.defi-reference .ref-result-stack{gap:16px}
html.defi-light body.defi-reference .ref-result-line>strong{font-weight:700}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(h1,.page-hero-title){font-size:36px;line-height:1.2;font-weight:700;letter-spacing:-.7px}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(h2,.section-title){font-size:22px;line-height:1.3;font-weight:600;color:var(--ref-navy)}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(h3,.sec-title,.task-title){font-weight:600;color:var(--ref-navy)}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(section,article,.panel,.metric,.module,.kpi,.sec-card,.task-card){background:var(--ref-surface);border:1px solid var(--ref-line);border-radius:var(--ref-radius);box-shadow:0 2px 8px #192f4b06}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.page-hero,header){border-radius:var(--ref-radius);border-color:var(--ref-line);padding:20px 24px;margin:0 0 20px}
html.defi-light body.defi-reference:has(.ref-workspace)>main .page-hero{background:#f0f5ee}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.kpi-val,.metric strong){font-size:28px;font-weight:700}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.sections-grid,.modules,.metrics){gap:16px}
html.defi-light body.defi-reference:has(.ref-workspace)>main .module{min-height:0;padding:18px 20px}
html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.btn,button,.defi-primary){font-weight:600;border-radius:10px}
html.defi-light body.defi-reference:has(.ref-workspace)>main #finals-stage{padding:20px 24px}
html.defi-light body.defi-reference:has(.ref-workspace)>main #finals-stage h2{margin:4px 0 10px}
html.defi-light body.defi-reference:has(.ref-workspace)>main #finals-stage p{margin:8px 0 14px}
@media(max-width:1100px) and (min-width:769px){
 html.defi-light body.defi-reference .ref-sidebar{width:182px}
 html.defi-light body.defi-reference .ref-home,html.defi-light body.defi-reference .ref-topbar{margin-left:182px;padding-inline:22px}
 html.defi-light body.defi-reference>main.wrap,html.defi-light body.defi-reference>main:not(.wrap){margin-left:182px;width:calc(100% - 182px)}
 html.defi-light body.defi-reference>.top-bar{margin-left:182px}
 html.defi-light body.defi-reference .ref-welcome h1{font-size:32px}
}
@media(max-width:768px){
 html.defi-light body.defi-reference .ref-topbar{margin:0;height:78px;background:#fff}
 html.defi-light body.defi-reference .ref-home{margin:0;padding:12px 14px 28px;gap:14px}
 html.defi-light body.defi-reference .ref-column{display:contents}
 html.defi-light body.defi-reference .ref-welcome{margin:0}
 html.defi-light body.defi-reference>main.wrap,html.defi-light body.defi-reference>main:not(.wrap){margin:0;width:100%;padding:20px 14px 88px}
 html.defi-light body.defi-reference>.top-bar{margin:0}
 html.defi-light body.defi-reference .ref-card>h2{font-size:20px;padding:14px 16px 8px}
 html.defi-light body.defi-reference .ref-next>h2{padding:12px 16px;min-height:50px}
 html.defi-light body.defi-reference .ref-card-body{padding:14px 16px 16px}
 html.defi-light body.defi-reference .ref-metrics{margin:0;padding:12px 0}
 html.defi-light body.defi-reference .ref-next #defi-durumum .defi-kicker{display:none}
 html.defi-light body.defi-reference .ref-next #defi-durumum .defi-timeline{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px}
 html.defi-light body.defi-reference .ref-ranking table{display:table;width:100%;table-layout:auto}
 html.defi-light body.defi-reference .ref-ranking thead{display:table-header-group!important}
 html.defi-light body.defi-reference .ref-ranking tbody{display:table-row-group!important}
 html.defi-light body.defi-reference .ref-ranking tr{display:table-row!important;border:0!important;box-shadow:none;padding:0!important;background:transparent!important}
 html.defi-light body.defi-reference .ref-ranking tr.ref-me{background:#e6fca4!important}
 html.defi-light body.defi-reference .ref-ranking :is(th,td){display:table-cell!important;width:auto!important;padding:8px 6px;font-size:12px}
 html.defi-light body.defi-reference .ref-ranking td::before{display:none!important}
 html.defi-light body.defi-reference .ref-ranking .defi-athlete{display:flex;flex-direction:row;align-items:center;gap:6px;text-align:left}
 html.defi-light body.defi-reference .ref-ranking .defi-avatar{width:24px;height:24px;flex-basis:24px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main :is(h1,.page-hero-title){font-size:28px!important}
 html.defi-light body.defi-reference:has(.ref-workspace)>main :is(h2,.section-title){font-size:20px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.page-hero,header){padding:16px;margin-bottom:16px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main :is(.panel,#finals-stage){padding:16px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main .metric{padding:12px 8px;font-size:12px;line-height:1.4}
 html.defi-light body.defi-reference:has(.ref-workspace)>main .metric strong{font-size:24px}
 html.defi-light body.defi-reference:has(.ref-workspace)>main .module{padding:16px}
 html.defi-light body.defi-reference>.top-bar{padding:10px 14px}
 html.defi-light body.defi-reference>.top-bar .top-bar-title{display:none}
 html.defi-light body.defi-reference>.top-bar .top-bar-links{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px;width:100%}
 html.defi-light body.defi-reference>.top-bar .btn{font-size:12px;padding:8px;justify-content:center}
}

.ref-home > .tennis-public-switch{order:7}
.ref-home > .tennis-public-sections{order:8}
