/* Shared light selection and readable football analytics. */
body .fi-entity-nav .tabs a.on,body .lu-nav .mode-chip.on{background:var(--ui-soft,#e1f5ee)!important;color:var(--ui-ink,#152e42)!important;border:1px solid var(--ui-accent,#087c70)!important;font-weight:650!important}
body .fi-entity-nav .tabs{border-bottom:0!important;align-items:center;gap:8px!important}
body .fi-entity-nav .tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-size:14px!important;line-height:1.4!important;padding:8px 12px!important;text-decoration:none}
body .fi-nav-label{font-size:14px!important;margin-bottom:9px}
body .fi-leader h3,.lu-app .v5-team h3,.lu-side h2{display:flex;align-items:center;gap:10px;line-height:1.4!important}
body .fi-leader .inline-line{display:inline-flex;align-items:center;gap:10px}
body .fi-leader .logo,.lu-app .v5-team h3 .logo,.lu-side h2 .logo{width:30px!important;height:30px!important;flex:0 0 30px;object-fit:contain;vertical-align:middle;margin:0!important}
body .fi-leader .placeholder,.lu-app .v5-team h3 .placeholder,.lu-side h2 .placeholder{display:inline-flex;align-items:center;justify-content:center;font-size:12px;line-height:1}
body .lu-app .v5-stats{gap:12px;margin:16px 0}
body .lu-app .v5-stat{border:1px solid var(--ui-line)!important;border-left:3px solid var(--ui-accent)!important;padding:14px!important;background:var(--ui-panel)!important;box-shadow:0 2px 5px #00000005}
body .lu-app .v5-stat span{font-size:14px!important;color:var(--ui-muted)!important;line-height:1.45}
body .lu-app .v5-stat strong{font-size:24px!important;line-height:1.3;margin-top:7px;font-weight:750}
body .lu-metrics{gap:12px;align-items:stretch;margin:16px 0}
body .lu-metrics>span{min-width:130px;flex:1 1 130px;border:1px solid var(--ui-line);border-radius:9px;padding:13px 15px;background:var(--ui-panel-2);font-size:14px!important;line-height:1.55}
body .lu-metrics b{display:inline-block;font-size:21px;margin-top:5px;line-height:1.3}
body .lu-app .v5-player b{font-size:14px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.3}
body .lu-app .v5-player small{font-size:13px!important;line-height:1.35}
body .lu-app .v5-player{display:flex;flex-direction:column;justify-content:center;min-height:60px;padding:7px 4px;gap:4px;background:#104c38}
body .lu-app .v5-player a{color:#fff!important;text-decoration:none;display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:46px;width:100%;border-radius:6px}
body .lu-app .v5-player a:hover,body .lu-app .v5-player a:focus-visible{background:#ffffff25;outline:2px solid #fff;outline-offset:2px}
body .lu-app .v5-players{min-height:480px;gap:16px;padding:20px 8px}
body .lu-app .v5-line{gap:7px}
body .lu-app .v5-columns{align-items:start;gap:20px}
body .lu-app .v5-team{padding:20px}
body .lu-app .lu-toolbar{justify-content:flex-start;font-size:14px;gap:14px;margin:14px 0}
body .fi-auto-note{font-size:14px;color:var(--ui-muted);line-height:1.6;margin:12px 0}
body .fi-team-players label{font-size:14px!important}
body .fi-team-players table th,body .fi-comparison table th{font-size:14px!important;line-height:1.4;white-space:normal;padding:12px}
body .fi-team-players table td,body .fi-comparison table td{font-size:15px!important;line-height:1.5;padding:12px}
body .fi-team-players table td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
body .fi-team-players table td:last-child{text-align:left}
body .fi-comparison table th:first-child,body .fi-comparison table td:first-child{width:44%;font-weight:600}
body .fi-comparison table th:not(:first-child),body .fi-comparison table td:not(:first-child){text-align:center;width:28%;font-variant-numeric:tabular-nums}
body .fi-comparison h3{margin-top:26px}
body .fi-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
@media(max-width:1000px){body .lu-app .v5-columns,body .fi-history-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:550px){body .lu-app .v5-team{padding:12px}body .lu-app .v5-player b{font-size:12px!important}body .lu-app .v5-players{padding:16px 4px;min-height:460px}body .lu-app .v5-line{gap:4px}body .lu-app .v5-player{padding:5px 2px}body .fi-comparison table td,body .fi-comparison table th{padding:9px;font-size:14px!important}}
body .card h1:has(>.logo),body .card h2:has(>.logo),body .card h3:has(>.logo){display:flex;align-items:center;gap:10px;line-height:1.4}
body .card h1>.logo,body .card h2>.logo,body .card h3>.logo{width:30px!important;height:30px!important;flex:0 0 30px;margin:0!important;object-fit:contain;vertical-align:middle}

.lu-app #metrics[hidden]{display:none!important}.lu-app .fi-period-label{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0;font-size:14px}.lu-app .fi-period-label select{padding:8px;border:1px solid var(--ui-line,#cbd7d0);border-radius:7px;background:var(--ui-panel,#fff);color:var(--ui-ink,#213b35)}

.lu-app .fi-period-label[hidden]{display:none!important}
