:root{color-scheme:light;--ink:#17202f;--muted:#647084;--blue:#3478ed;--blue-dark:#225fcb;--nav:#172231;--surface:#f4f7fb;--line:#e9edf3;--white:#fff;--radius:12px;--shadow:0 5px 20px #1a355b04;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;background:var(--surface);color:var(--ink);font-size:14px;line-height:1.5}
button,input,select{font:inherit}
button,a,input,select{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.4}
a{color:var(--blue-dark);text-underline-offset:4px}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #719ff2;outline-offset:3px}
::selection{background:#dbe9ff;color:#153b79}
input{caret-color:var(--blue)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:white;padding:12px}
.skip-link:focus{top:12px}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
button svg,a svg{pointer-events:none}
.sidebar{width:238px;position:fixed;inset:0 auto 0 0;z-index:30;background:var(--nav);color:#bac6d7;display:flex;flex-direction:column;padding:28px 13px 22px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:white;padding:0 6px;margin-bottom:35px;white-space:nowrap}
.brand strong{display:block;font-size:20px;letter-spacing:-.45px;font-weight:650}
.brand small{font-size:12px;color:#b4bfd0;display:block;margin-top:3px}
.sidebar nav{display:grid;gap:5px}
.nav-link{display:flex;align-items:center;gap:15px;text-decoration:none;color:#b8c3d3;padding:12px 14px;border-radius:7px;position:relative;font-size:14px;min-height:46px}
.nav-link .icon{width:20px;height:20px;color:#92a3ba}
.nav-link:hover{background:#ffffff08;color:white}
.nav-link.active{background:#23344c;color:#78a9ff;font-weight:550}
.nav-link.active .icon{color:#6d9efa}
.nav-link.active:before{content:"";position:absolute;inset:10px auto 10px 0;width:3px;background:#4385f5;border-radius:2px}
.nav-count{margin-left:auto;font-size:11px;letter-spacing:.3px;opacity:.7}
.sidebar-footer{margin-top:auto;border:1px solid #ffffff08;border-radius:10px;background:#ffffff03;margin-left:4px;margin-right:4px;padding:17px 15px;font-size:12px}
.sync-line{display:flex;gap:13px;align-items:center}
.sidebar-footer strong{display:block;color:#edf2fa;font-size:12px;margin-top:4px;font-weight:500}
.status-dot{display:inline-block;width:8px;height:8px;background:#37b58b;border-radius:50%;flex-shrink:0}
.sync-line .status-dot{width:10px;height:10px}
.provider-line{display:flex;align-items:end;justify-content:space-between;border-top:1px solid #ffffff08;margin-top:17px;padding-top:16px}
.source-badge{font-size:11px;font-weight:650;letter-spacing:.6px;color:#9cc2ff;background:#284269;padding:3px 5px;border-radius:3px}
main{margin-left:238px;padding:27px 30px 18px;max-width:1920px}
.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;z-index:1}
.page-header h1{font-size:29px;letter-spacing:-.95px;line-height:1.23;margin:0 0 7px;font-weight:700;color:#101725;text-wrap:balance}
.page-header p{margin:0;color:#5b6678;font-size:14px;max-width:75ch}
.refresh-button{background:white;border:1px solid #e0e6ee;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:9px;color:#4d596b;padding:9px 12px;font-size:11px;white-space:nowrap;margin-top:1px}
.refresh-button:hover{border-color:#b5c9ea;color:var(--blue-dark)}
.refresh-button .icon{width:15px;height:15px}
.refresh-button.loading svg{animation:rotate 1s linear infinite}
@keyframes rotate{to{transform:rotate(360deg)}
}
.overview{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;align-items:center;margin:23px 0 20px;min-height:202px}
.players-panel{background:white;border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 20px 0}
.filters{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}
.filters label{font-size:11px;font-weight:500;display:grid;gap:6px;min-width:125px;flex:1}
.filters select,.filters input,select{border:1px solid #dce2ea;border-radius:6px;padding:9px 11px;background:#fff;color:#2d384a;height:37px;min-width:0;font-size:12px;max-width:100%}
.filters select,select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23647084' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
.filters select{width:100%}
.filters .duration-filter{min-width:150px}
.filters .search-label{position:relative;margin-left:auto;min-width:230px;flex:1.6}
.search-label>span[data-icon]{position:absolute;left:11px;bottom:9px;color:#6b7688}
.search-label .icon{width:17px;height:17px}
.filters input{padding-left:36px;width:100%}
input::placeholder{color:#6b7688}
.coverage-notice{display:flex;align-items:center;gap:7px;font-size:11px;color:#647084;padding:15px 0 14px;min-height:46px}
.coverage-notice p{margin:0;flex:1}
.coverage-notice .icon{width:14px;height:14px;color:#7a8eaa}
.text-button{background:none;border:0;padding:3px;color:var(--blue-dark);white-space:nowrap;font-size:11px}
.text-button:hover{text-decoration:underline}
.table-scroll{overflow:auto;scrollbar-color:#cad5e5 #f7f9fc;scrollbar-width:thin}
table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}
thead{background:#f7f9fc;color:#526075}
th{font-size:11px;letter-spacing:.35px;text-transform:uppercase;font-weight:600;height:38px;padding:0 12px}
th:first-child{border-radius:5px 0 0 5px;width:20%}
th:nth-child(2){width:12%}
th:nth-child(3){width:17%}
th:nth-child(4){width:13%}
th:nth-child(5){width:10%}
th:nth-child(6){width:17%}
th:last-child{border-radius:0 5px 5px 0;width:38px}
th button{font-size:inherit;letter-spacing:inherit;text-transform:inherit;font-weight:inherit;color:inherit;background:none;border:0;padding:8px 0;display:flex;align-items:center;gap:5px}
th .icon{width:12px;height:12px;opacity:.6}
th[aria-sort] button{color:#233e65}
td{border-bottom:1px solid #edf0f5;height:57px;padding:7px 12px;color:#3d485a;font-variant-numeric:tabular-nums}
tbody tr:hover{background:#fafcff}
.player-button{display:flex;align-items:center;gap:11px;background:none;border:0;text-align:left;padding:0;color:var(--ink);max-width:100%}
.player-button strong{display:block;font-size:13px;font-weight:650;line-height:1.45}
.player-button small{display:block;color:#626f82;font-size:11px;margin-top:1px}
.avatar{display:flex;align-items:center;justify-content:center;position:relative;width:35px;height:38px;flex-shrink:0;border-radius:50%;overflow:hidden;background:#edf1f8;color:#6b7b92;font-size:11px;font-weight:650}
.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.club-cell,.league-cell{display:flex;gap:9px;align-items:center}
.club-cell img{width:25px;height:27px;object-fit:contain}
.club-cell .club-names{display:flex;flex-direction:column;font-size:11px}
.club-names small{font-size:11px;color:#6b7688}
.flag{display:inline-block;width:19px;height:12px;background:#dae3ed;border-radius:1px;flex-shrink:0}
.flag.nl{background:linear-gradient(#b42935 0 33.33%,white 33.33% 66.66%,#224b94 66.66%)}
.badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:20px;font-size:11px;line-height:1.5;background:#f0f3f7;color:#59677a;max-width:160px;overflow:hidden;text-overflow:ellipsis}
.badge.history{background:#edf4ff;color:#3569b7}
.badge.injury{background:#fff0f1;color:#b53e4f}
.badge.suspension{background:#fff5e7;color:#92601e}
.unknown{color:#6d788a}
.row-more{width:26px;height:30px;background:none;border:0;border-radius:4px;color:#657085}
.row-more:hover{background:#eaf1fc;color:var(--blue)}
.table-state{text-align:center;height:260px!important;padding:25px!important;color:#66758a;white-space:normal}
.table-state strong{display:block;color:#2e3b50;font-size:16px;margin-bottom:6px}
.table-state p{margin:0}
.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:63px;font-size:12px}
.table-footer p{margin:0;color:#5a6576}
.table-footer p strong{color:#29384f;font-weight:550}
#pagination{display:flex;align-items:center;gap:4px}
#pagination button{border:1px solid #e0e6ee;border-radius:5px;background:white;color:#4d5a6f;min-width:30px;height:30px;font-size:11px}
#pagination button:hover:not(:disabled){background:#edf4ff;border-color:#b9d1f9}
#pagination button[aria-current=page]{background:var(--blue-dark);color:white;border-color:var(--blue-dark)}
#pagination .icon{width:13px;height:13px}
#pagination span{padding:0 2px;color:#7b8798}
.page-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#626f82;margin:18px 1px 0}
.page-footer>span,.page-footer a{display:flex;align-items:center;gap:6px}
.page-footer a{color:#64748a;text-decoration:none}
.page-footer a:hover{color:var(--blue-dark)}
.page-footer .status-dot{width:5px;height:5px}
.page-footer .icon{width:12px;height:12px}
.secondary-panel{background:white;padding:25px;border-radius:var(--radius);margin-top:25px;min-height:450px}
.secondary-panel h2{font-size:19px;letter-spacing:-.4px;margin:0 0 8px}
.secondary-panel p{color:var(--muted);max-width:70ch}
.directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:0 24px;margin-top:24px}
.directory-item{display:flex;align-items:center;gap:13px;background:white;border:0;border-bottom:1px solid var(--line);text-align:left;padding:17px 0;color:var(--ink);min-height:83px}
.directory-item:hover{color:var(--blue-dark)}
.directory-item img{width:33px;height:37px;object-fit:contain}
.directory-item strong{display:block;font-size:13px}
.directory-item small{font-size:11px;color:var(--muted)}
.directory-item .icon{margin-left:auto;width:15px}
.data-list{max-width:750px;margin-top:24px}
.data-list>div{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:16px 0;border-bottom:1px solid var(--line)}
.data-list dt{color:var(--muted);font-size:12px}
.data-list dd{margin:0;text-align:right;font-size:13px;font-weight:550}
.data-list select{min-width:120px}
.error-message{padding:13px 16px;background:#fff0f1;color:#963747;border-radius:7px;margin-top:18px;font-size:13px}
.error-message button{margin-left:10px}
.mobile-bar{display:none}
.icon-button{display:flex;align-items:center;justify-content:center;background:none;border:0;border-radius:6px;width:36px;height:36px;color:inherit}
.icon-button:hover{background:#edf3fb}
dialog{margin:0 0 0 auto;inset:0;width:min(520px,100%);height:100dvh;max-height:100dvh;border:0;background:white;color:var(--ink);padding:0;box-shadow:-12px 0 50px #13243b15;max-width:100%;overflow-y:auto}
dialog::backdrop{background:#17223155}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);position:sticky;top:0;background:white;z-index:1}
#profile-content{padding:26px}
.profile-heading{display:flex;align-items:center;gap:17px;margin-bottom:22px}
.profile-heading .avatar{width:66px;height:72px;font-size:20px}
.profile-heading h2{font-size:23px;letter-spacing:-.5px;margin:0}
.profile-heading p{font-size:13px;color:var(--muted);margin:4px 0 0}
.profile-meta{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 0;border-block:1px solid var(--line);margin-bottom:24px}
.profile-meta span{font-size:11px;color:var(--muted);display:block}
.profile-meta strong{display:block;font-size:13px;margin-top:4px;font-weight:550;overflow-wrap:anywhere}
.profile-sources{font-size:12px;color:var(--muted)}
.profile-sources summary{cursor:pointer}
.profile-sources ul{padding-left:18px;line-height:1.8}
.value-button{border:0;background:none;color:var(--blue-dark);text-align:left;padding:4px 0;font:inherit;font-weight:600}
.value-button:hover{text-decoration:underline}
.value-button small{display:block;margin-top:3px;color:var(--muted);font-size:10px;font-weight:400}
.market-value-section .market-value-current{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.market-value-current strong{font-size:24px;font-weight:650;color:var(--ink)}
.value-history{margin:16px 0;overflow-x:auto}
.value-chart{display:block;width:100%;min-width:300px;height:auto;overflow:visible}
.value-grid{stroke:var(--line);stroke-width:1}
.value-axis{fill:#526075;font-size:11px;font-family:inherit}
.value-line{fill:none;stroke:var(--blue-dark);stroke-width:2;stroke-linejoin:round}
.value-point{fill:var(--blue-dark);stroke:transparent;stroke-width:12;cursor:pointer;pointer-events:all}
.value-point:hover,.value-point:focus{fill:var(--ink);stroke:var(--blue);stroke-width:2;outline:none;r:5}
.value-readout{font-size:12px;color:var(--ink);min-height:24px;padding:8px 0}
.value-history-details{font-size:12px;color:var(--muted)}
.value-history-details summary{cursor:pointer}
.valuation-table-scroll{max-height:260px;overflow:auto;margin-top:10px}
.valuation-table{font-size:12px}
.valuation-table th:first-child,.valuation-table th:nth-child(2){width:auto}
.valuation-table th{position:sticky;top:0;background:#f7f9fc;font-size:10px}
.valuation-table td{height:34px;padding:6px 12px}
.valuation-table th:last-child,.valuation-table td:last-child{text-align:right}
.profile-section{margin-top:25px}
.profile-section h3{font-size:14px;margin:0 0 10px}
.profile-section p{color:var(--muted);font-size:12px;line-height:1.7}
.history-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}
.history-row strong{display:block;font-size:12px;font-weight:550}
.history-row small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.history-row>span{font-size:11px;color:#6c7c91}
.club-history-list{list-style:none;margin:0;padding:0}
.profile-section a{font-size:12px;overflow-wrap:anywhere}
.source-note{background:#f6f8fc;padding:12px;border-radius:6px;font-size:11px;color:#66758a;margin-top:20px}
.settings-label{display:flex;align-items:center;gap:8px}
.hide-images .avatar img,.hide-images .club-cell img{display:none}
@media(min-width:1550px){main{padding:31px 38px}
.overview{min-height:230px;margin:27px 0}
td{height:62px}
}
@media(max-width:1250px){.sidebar{width:210px}
.brand{gap:9px}
.brand strong{font-size:18px}
.brand small{font-size:11px}
main{margin-left:210px;padding:24px}
.overview{grid-template-columns:1fr}
.filters{gap:10px}
.filters label{min-width:130px}
.filters .search-label{min-width:220px}
.page-header h1{font-size:26px}
td{padding-inline:9px}
th{padding-inline:9px}
}
@media(max-width:900px){.sidebar{width:180px;padding-inline:10px}
.brand img{width:30px;height:30px}
.brand strong{font-size:15px}
.brand small{font-size:11px}
.brand{gap:7px}
.nav-link{gap:10px;font-size:13px;padding-inline:11px}
.sidebar-footer{padding:13px 10px}
.source-badge{display:none}
main{margin-left:180px;padding:20px}
.page-header{flex-wrap:wrap;gap:12px}
.page-header h1{font-size:25px}
.refresh-button{margin-left:auto}
.players-panel{padding-inline:15px}
.filters label{flex-basis:calc(50% - 10px)}
.filters .search-label{flex-basis:100%}
.table-scroll table{min-width:1100px}
}
@media(max-width:650px){.mobile-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:var(--nav);color:white;position:sticky;top:0;z-index:25;height:58px}
.mobile-bar>.status-dot{margin-left:auto}
.mobile-bar .icon-button:hover{background:#ffffff10}
.sidebar{visibility:hidden;transform:translateX(-100%);transition:transform .2s ease;width:238px;top:58px;padding:24px 13px}
.sidebar.open{visibility:visible;transform:translateX(0);box-shadow:12px 0 40px #17223130}
.sidebar .brand{display:none}
.sidebar .nav-link{font-size:14px;gap:15px}
.sidebar-footer{padding:17px 15px}
.source-badge{display:inline}
main{margin-left:0;padding:23px 15px}
.page-header h1{font-size:25px;max-width:330px}
.page-header p{font-size:12px;line-height:1.7}
.refresh-button{font-size:11px;margin:0;padding:7px 10px}
.overview{margin:20px 0;gap:0;min-height:0}
.players-panel{padding:16px 12px 0}
.filters{gap:12px}
.filters label,.filters .duration-filter{min-width:0;flex-basis:calc(50% - 12px);font-size:11px}
.filters select,.filters input{font-size:11px;height:39px}
.filters input{padding-right:5px}
.filters .search-label{min-width:0}
.search-label>span[data-icon]{bottom:10px}
.coverage-notice{font-size:11px;align-items:flex-start;padding-block:13px}
.coverage-notice p{line-height:1.65}
.coverage-notice>span{margin-top:2px}
.text-button{font-size:11px}
.table-footer{flex-direction:column;align-items:flex-start;padding:15px 0;gap:12px;font-size:11px}
#pagination{align-self:flex-end}
.page-footer{font-size:11px;align-items:flex-start;gap:12px}
.page-footer>a{white-space:nowrap}
.secondary-panel{padding:20px 16px}
.directory-grid{grid-template-columns:1fr}
.data-list>div{gap:14px}
.data-list dd{font-size:12px}
.data-list dt{font-size:11px}
.profile-heading h2{font-size:21px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


.report-date{display:block;margin-top:5px;font-size:11px;color:var(--text-secondary,#586579)}

.flag.fr{background:linear-gradient(to right,#224b94 0 33.33%,white 33.33% 66.66%,#c32f40 66.66%)}
.flag.eng{background:linear-gradient(transparent 39%,#c53043 39% 61%,transparent 61%),linear-gradient(to right,white 42%,#c53043 42% 58%,white 58%)}


@media(max-width:650px){.filters .duration-filter{flex-basis:100%}}

.nationality-flags{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}.nationality-flag{width:24px;height:18px;object-fit:contain;display:block}

.flag.it{background:url("/flags/it.svg") center/cover no-repeat}

.flag.es{background:url("/flags/es.svg") center/cover no-repeat}

.flag.de{background:url("/flags/de.svg") center/cover no-repeat}

/* Full-width map with league choices revealed only when needed. */
.league-coverage{container-type:inline-size;min-width:0;padding:16px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow)}
.coverage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px}
.coverage-heading h2{font-size:14px;line-height:1.4;margin:0;font-weight:650}
.coverage-heading .text-button{font-size:11px;white-space:nowrap}
#coverage-description{font-size:11px;color:var(--muted);margin:2px 0 12px}
.coverage-body{display:block}
.coverage-geography{min-width:0;width:100%;margin-inline:auto}
.coverage-geography svg{display:block;width:100%;height:auto;overflow:hidden}
.coverage-geography path{fill:#edf0f4;stroke:#fff;stroke-width:.7;stroke-linejoin:round}
.coverage-geography path[data-imported="true"]{cursor:pointer;stroke:#667e9c;stroke-width:.6}
.coverage-geography path[data-band="zero"]{fill:#e2ebf8}
.coverage-geography path[data-band="low"]{fill:#a8c8f7}
.coverage-geography path[data-band="medium"]{fill:#6497e5}
.coverage-geography path[data-band="high"]{fill:#225fcb}
.coverage-geography path[data-selected="true"],.coverage-geography path[data-imported="true"]:hover{stroke:#17202f;stroke-width:1.6}
.coverage-geography path:focus{outline:none}
.coverage-geography path:focus-visible{stroke:#17202f;stroke-width:2.4}
.coverage-key{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;color:#536176;font-size:10px}
.coverage-key span{display:flex;align-items:center;gap:3px;white-space:nowrap}
.coverage-key span:before{content:"";width:8px;height:8px;border-radius:2px;background:#e2ebf8}
.coverage-key [data-band="low"]:before{background:#a8c8f7}
.coverage-key [data-band="medium"]:before{background:#6497e5}
.coverage-key [data-band="high"]:before{background:#225fcb}
.coverage-leagues{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.coverage-league{flex:1 1 170px;display:flex;align-items:center;gap:7px;min-width:0;min-height:44px;padding:8px 12px;border:0;border-radius:5px;background:transparent;color:var(--ink);font-size:11px;text-align:left}
.coverage-league img{flex-shrink:0;object-fit:contain}
.coverage-league span{flex:1;overflow-wrap:anywhere}
.coverage-league strong{font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.coverage-league:hover{background:#f0f4fa}
.coverage-league[aria-pressed="true"]{background:#e8f0ff;color:#174da5}
#coverage-note-map{font-size:10px;color:#5b6678;margin:10px 0 0}
@media(max-width:650px){.league-coverage{padding:14px}#coverage-note-map{font-size:11px}}

.coverage-league small{display:block;font-size:10px;color:var(--muted)}
.flag.be{background:url(/flags/be.svg) center/cover}.flag.tr{background:url(/flags/tr.svg) center/cover}.flag.pt{background:url(/flags/pt.svg) center/cover}.flag.at{background:url(/flags/at.svg) center/cover}.flag.sct{background:url(/flags/gb-sct.svg) center/cover}

.flag.dk{background:url(/flags/dk.svg) center/cover}.flag.se{background:url(/flags/se.svg) center/cover}.flag.no{background:url(/flags/no.svg) center/cover}.flag.ie{background:url(/flags/ie.svg) center/cover}.flag.gr{background:url(/flags/gr.svg) center/cover}.flag.ch{background:url(/flags/ch.svg) center/cover}

.table-scroll .club-directory-table{min-width:560px;margin-top:24px;white-space:normal}
.club-directory-table th:first-child{width:40%}
.club-directory-table th:nth-child(2){width:20%}
.club-directory-table th:nth-child(3){width:30%}
.club-directory-table th:last-child{width:10%;text-align:right}
.club-directory-table td:last-child{text-align:right}
.club-directory-link{border:0;background:none;padding:6px 0;color:var(--ink);font-weight:550;text-align:left}
.club-directory-link:hover{color:var(--blue-dark);text-decoration:underline;text-underline-offset:3px}

.settings-sources{margin-top:36px;padding-top:28px;border-top:1px solid var(--line)}
.settings-sources h3{font-size:14px;margin:20px 0 8px}

.profile-discovery-item small{display:block;font-size:11px;line-height:1.7}

.flag.cz{background:url(/flags/cz.svg) center/cover}.flag.hu{background:url(/flags/hu.svg) center/cover}.flag.pl{background:url(/flags/pl.svg) center/cover}.flag.si{background:url(/flags/si.svg) center/cover}.flag.rs{background:url(/flags/rs.svg) center/cover}.flag.hr{background:url(/flags/hr.svg) center/cover}

.flag.bg{background:url("/flags/bg.svg") center/cover no-repeat}
.flag.ro{background:url("/flags/ro.svg") center/cover no-repeat}
.flag.br{background:url("/flags/br.svg") center/cover no-repeat}
.flag.jp{background:url("/flags/jp.svg") center/cover no-repeat}

.comeback-panel{padding:20px;background:var(--white);border-radius:var(--radius)}
.comeback-intro p{margin:0 0 10px;max-width:75ch}
.comeback-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:14px;margin:22px 0 16px}
.comeback-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:600}
.comeback-filters select,.comeback-filters input{width:100%;min-width:0;height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink)}
.comeback-search{grid-column:1/-1}
.comeback-table{width:100%;min-width:880px;border-collapse:collapse}
.comeback-table th{text-align:left;font-size:11px;color:var(--muted);font-weight:600;padding:12px 10px;border-bottom:1px solid var(--line)}
.comeback-table td{padding:15px 10px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:top;font-variant-numeric:tabular-nums}
.comeback-table small{display:block;color:var(--muted);font-size:11px;margin-top:4px;max-width:230px}
.comeback-player{font-weight:650;text-align:left}
.comeback-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:16px}
.comeback-footer nav{display:flex;align-items:center;gap:12px;white-space:nowrap}
.comeback-footer button{border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:6px;min-height:40px;padding:7px 12px}
.comeback-footer button:hover:not(:disabled){background:var(--surface)}
.comeback-timeline{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid var(--line)}
.comeback-timeline h4{font-size:14px;margin:18px 0 8px}
.comeback-timeline ol{list-style:none;margin:18px 0;padding:0}
.comeback-timeline li{position:relative;padding:0 0 18px 24px;border-left:1px solid var(--line);margin-left:5px}
.comeback-timeline li:before{content:'';position:absolute;left:-5px;top:6px;width:9px;height:9px;border-radius:50%;background:var(--muted)}
.comeback-timeline li.observed:before{background:var(--blue)}
.comeback-timeline li:last-child{border-left-color:transparent;padding-bottom:0}
.comeback-timeline li strong,.comeback-timeline li span,.comeback-timeline li small{display:block}
.comeback-timeline li span,.comeback-timeline li small{color:var(--muted);margin-top:4px}
@media(max-width:900px){.comeback-filters{grid-template-columns:1fr 1fr}.comeback-footer{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.comeback-panel{padding:16px}.comeback-filters{grid-template-columns:1fr}.comeback-footer nav{width:100%;justify-content:space-between}.comeback-filters select,.comeback-filters input{min-height:44px}}
.comeback-scroll-hint{display:none}
.comeback-panel .table-scroll:focus-visible{outline:3px solid #719ff2;outline-offset:3px}
@media(max-width:650px){.comeback-scroll-hint{display:block;font-size:12px;color:var(--muted);margin:8px 0}}
