/* Min Padellab shares one product identity with Turneringer, Lunar Liga and Kalender.
   Strictly reference canonical shared tokens; never invent blue or lime shades. */
:root{
 --bg:var(--pl-color-bg)!important;
 --deep:var(--pl-color-deep)!important;
 --panel:var(--pl-color-panel)!important;
 --panel2:var(--pl-color-raised)!important;
 --text:var(--pl-color-text)!important;
 --muted:var(--pl-color-muted)!important;
 --line:var(--pl-color-line)!important;
 --lime:var(--pl-color-accent)!important;
 font-family:var(--pl-font-ui)!important;
}
html,body{background:var(--pl-color-bg)!important;color:var(--pl-color-text)!important;font-family:var(--pl-font-ui)!important}
body .topbar{background:var(--pl-color-bg)!important;border-color:var(--pl-color-line)!important}
body .topbar .brand b,body .topbar .home-link.active{color:var(--pl-color-accent)!important}
body .profile-hero{background:var(--pl-color-panel)!important;border-color:var(--pl-color-line)!important;box-shadow:none!important;min-height:0!important}
body .profile-hero:after{display:none!important}
body .profile-hero .avatar{background:var(--pl-color-raised)!important;border-color:var(--pl-color-line)!important;color:var(--pl-color-accent)!important}
body .profile-hero .completion-ring{background:var(--pl-color-raised)!important;border:1px solid var(--pl-color-line)!important}
body .profile-hero .hero-copy h1{color:var(--pl-color-text)!important}
body .mig-tabs a.active{background:var(--pl-color-accent)!important;color:var(--pl-color-ink-on-accent)!important;border-color:var(--pl-color-accent)!important;box-shadow:none!important}
body .mig-tabs a:not(.active){background:var(--pl-color-panel)!important;border-color:var(--pl-color-line)!important;color:var(--pl-color-muted)!important}
body .overview-card,body #myIntelligence,body .my-intelligence,
body #tournamentRecommendations,body #nextForYou,
body #migSettings .settings-card,body #migSettings .account-section,
body #migFollowers .followers-section,body #migFollowers .followed-player,
body #migFollowers .followers-toolbar{
 background:var(--pl-color-panel)!important;border-color:var(--pl-color-line)!important;box-shadow:none!important
}
body .overview-card>span,body .overview-card>small,
body #migFollowers .followed-meta,body #migFollowers .followed-tags i,
body #migFollowers .followers-head p:last-child{color:var(--pl-color-muted)!important}
body .overview-card>strong,body .followed-name,
body #migFollowers .followers-head h2,
body #migSettings .section-head h2{color:var(--pl-color-text)!important}
body #migFollowers .followers-head>a,
body #migFollowers .followed-open b,
body #migFollowers .followed-avatar,
body #migOverview .kicker,
body #migSettings .kicker{color:var(--pl-color-accent)!important}
body #migFollowers .followed-avatar{
 background:var(--pl-color-raised)!important;border-color:var(--pl-color-line)!important
}
body #migFollowers .followers-search{
 background:var(--pl-color-raised)!important;border-color:var(--pl-color-line)!important
}
body #migFollowers .followers-search input{color:var(--pl-color-text)!important}
body #migFollowers .followed-player:hover{
 border-color:var(--pl-color-accent)!important;background:var(--pl-color-raised)!important
}
body #nextForYou .next-action,body #migSettings .location-toggle{
 background:var(--pl-color-raised)!important;border-color:var(--pl-color-line)!important
}
body #nextForYou .next-action-icon,
body #nextForYou .next-action-side strong{color:var(--pl-color-accent)!important}
@media(max-width:620px){
 body .profile-hero{padding:14px!important;gap:12px!important}
 body .profile-hero .avatar{width:52px!important;height:52px!important;border-radius:15px!important;font-size:19px!important}
 body .profile-hero .hero-copy h1{font-size:clamp(21px,6vw,29px)!important}
 body .profile-hero .completion-ring{width:54px!important;height:54px!important}
 body .profile-hero .completion-ring strong{font-size:15px!important}
 body #migFollowers .followers-section{padding:14px!important;border-radius:17px!important}
}

/* Real, transparent follower-load speed check. Uses only canonical Padellab tokens. */
body .followers-test-login-help{margin-top:13px;padding:11px 13px;border:1px solid var(--pl-color-line);border-radius:12px;background:var(--pl-color-panel);color:var(--pl-color-muted);font-size:12px;line-height:1.5}
body .followers-test-login-help[hidden]{display:none!important}
body #migFollowers .followers-speed-test{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0 0 14px;padding:8px 10px;border:1px solid var(--pl-color-line);border-radius:12px;background:var(--pl-color-panel)}
body #migFollowers .followers-speed-test button{min-height:39px;min-width:123px;padding:7px 11px;border:1px solid var(--pl-color-line);border-radius:9px;background:var(--pl-color-raised);color:var(--pl-color-text);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
body #migFollowers .followers-speed-test button:disabled{opacity:.5;cursor:not-allowed}
body #migFollowers .followers-speed-test button:focus-visible{outline:2px solid var(--pl-color-accent);outline-offset:2px}
body #migFollowers .followers-speed-test span{flex:1;min-width:155px;font-size:11px;line-height:1.4;color:var(--pl-color-muted)}
@media(max-width:620px){body #migFollowers .followers-speed-test{align-items:flex-start;flex-direction:column}
body #migFollowers .followers-speed-test button{min-width:135px}}

/* Single Padellab notification preferences card. */
body .notification-settings-card fieldset{border:0;padding:0;margin:12px 0 7px;min-width:0}
body .notification-settings-card fieldset>label{display:flex;align-items:center;gap:11px;min-height:57px;border-bottom:1px solid var(--pl-color-line);cursor:pointer;padding:9px 0}
body .notification-settings-card fieldset>label:last-child{border-bottom:0}
body .notification-settings-card fieldset input{appearance:auto;accent-color:var(--pl-color-accent);width:19px;height:19px;margin:0;flex:none}
body .notification-settings-card fieldset strong{display:block;color:var(--pl-color-text);font-size:12px;line-height:1.4}
body .notification-settings-card fieldset small{display:block;color:var(--pl-color-muted);font-size:10px;line-height:1.5;margin-top:2px}
body .notification-settings-card .notification-follow-link{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:43px;padding:9px 11px;margin:8px 0;border-radius:10px;border:1px solid var(--pl-color-line);color:var(--pl-color-accent);text-decoration:none;font-size:12px;font-weight:800}
body .notification-settings-card .notification-pref-status{font-size:10px;line-height:1.5;color:var(--pl-color-muted);margin:8px 0}
