/* UltraKoora Entity UI — clubs, leagues, standings */
.uk-entity-shell{direction:rtl;text-align:right;display:grid;gap:16px;margin-bottom:24px}
.uk-entity-hero{position:relative;overflow:hidden;background:linear-gradient(145deg,#0f172a 0%,#172554 52%,#0f3f74 100%);border:1px solid rgba(148,163,184,.16);border-radius:20px;padding:22px;color:#fff;box-shadow:0 16px 38px rgba(15,23,42,.14)}
.uk-entity-hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(56,189,248,.09);top:-85px;left:-55px;pointer-events:none}
.uk-entity-hero-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:14px}
.uk-entity-identity{display:flex;align-items:center;gap:13px;min-width:0}
.uk-entity-mark{width:66px;height:66px;border-radius:18px;background:rgba(255,255,255,.98);border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(2,6,23,.18);flex:0 0 auto}
.uk-entity-mark img{max-width:52px;max-height:52px;object-fit:contain}
.uk-entity-eyebrow{font-size:11px;color:#7dd3fc;font-weight:800;margin-bottom:3px}
.uk-entity-title{font-size:21px;line-height:1.45;font-weight:900;margin:0;color:#fff}
.uk-entity-subtitle{font-size:12px;color:#cbd5e1;margin:4px 0 0;line-height:1.7}
.uk-entity-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.uk-entity-action{display:inline-flex;align-items:center;gap:5px;text-decoration:none!important;border-radius:11px;padding:7px 11px;font-size:11px;font-weight:800;transition:.18s ease}
.uk-entity-action-primary{background:#fff;color:#1d4ed8!important}
.uk-entity-action-ghost{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);color:#e2e8f0!important}
.uk-entity-action:hover{transform:translateY(-1px)}
.uk-stat-strip{position:relative;z-index:1;margin-top:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.uk-stat-chip{background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:9px 10px}
.uk-stat-chip span{display:block;color:#94a3b8;font-size:9.5px;margin-bottom:3px}
.uk-stat-chip strong{display:block;color:#fff;font-size:12.5px;font-weight:850;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uk-panel{background:#fff;border:1px solid #e6edf5;border-radius:18px;padding:17px;box-shadow:0 7px 24px rgba(15,23,42,.045)}
.uk-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.uk-panel-kicker{font-size:10px;font-weight:850;color:#3b82f6;margin-bottom:3px}
.uk-panel-title{margin:0;color:#0f172a;font-size:16px;font-weight:900;line-height:1.5}
.uk-panel-desc{margin:3px 0 0;color:#64748b;font-size:11px;line-height:1.7}
.uk-panel-link{white-space:nowrap;font-size:11px;font-weight:800;color:#2563eb!important;text-decoration:none!important;background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;padding:6px 9px}
.uk-match-list{display:grid;gap:8px}
.uk-match-row{display:grid;grid-template-columns:minmax(0,1fr) 98px minmax(0,1fr);align-items:center;gap:9px;border:1px solid #e8eef5;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfdff);padding:11px 12px;text-decoration:none!important;color:inherit!important;transition:.18s ease}
.uk-match-row:hover{border-color:#bfdbfe;box-shadow:0 7px 18px rgba(37,99,235,.07);transform:translateY(-1px)}
.uk-match-team{display:flex;align-items:center;gap:8px;min-width:0}
.uk-match-team-away{justify-content:flex-end}
.uk-match-team-name{font-size:11.5px;font-weight:800;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uk-mini-logo{width:38px;height:38px;border-radius:11px;border:1px solid #e5e7eb;background:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:0 2px 7px rgba(15,23,42,.055)}
.uk-mini-logo img{max-width:30px;max-height:30px;object-fit:contain}
.uk-match-center{text-align:center}
.uk-match-date{font-size:9.5px;color:#64748b;white-space:nowrap}
.uk-match-time{font-size:14px;font-weight:900;color:#0f172a;margin-top:2px}
.uk-match-score{display:inline-flex;align-items:center;justify-content:center;min-width:62px;border-radius:9px;background:#0f172a;color:#fff;font-size:14px;font-weight:900;padding:4px 7px;margin-top:2px}
.uk-match-live{background:#fee2e2!important;color:#b91c1c!important}
.uk-match-status{font-size:9px;color:#3b82f6;font-weight:800;margin-top:3px}
.uk-match-timezone{display:block;margin-top:4px;font-size:9px;line-height:1.35;color:#64748b;font-weight:750;text-align:center;white-space:nowrap}
.uk-match-comp{font-size:9px;color:#94a3b8;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uk-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.uk-feature-card{display:block;border:1px solid #e6edf5;border-radius:15px;padding:12px;background:#fff;text-decoration:none!important;color:inherit!important;transition:.18s ease}
.uk-feature-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:0 8px 20px rgba(37,99,235,.075)}
.uk-feature-meta{display:flex;justify-content:space-between;gap:8px;color:#64748b;font-size:9.5px;border-bottom:1px solid #f0f3f7;padding-bottom:8px}
.uk-feature-match{display:grid;grid-template-columns:minmax(0,1fr) 55px minmax(0,1fr);align-items:center;gap:5px;padding:11px 0 8px}
.uk-feature-team{text-align:center;min-width:0}
.uk-feature-team .uk-mini-logo{margin:0 auto 5px}
.uk-feature-team strong{display:block;font-size:10.5px;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uk-feature-center{text-align:center}
.uk-feature-center strong{display:block;font-size:15px;color:#0f172a}
.uk-feature-center span{font-size:8.5px;font-weight:850;color:#3b82f6;background:#eff6ff;border-radius:999px;padding:2px 6px}
.uk-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.uk-result-card{display:block;text-decoration:none!important;color:inherit!important;border:1px solid #e7edf4;border-radius:13px;padding:10px 11px;background:#fcfdff;transition:.18s ease}
.uk-result-card:hover{border-color:#bfdbfe;background:#fff;transform:translateY(-1px)}
.uk-result-top{display:flex;align-items:center;justify-content:space-between;color:#94a3b8;font-size:9px;margin-bottom:8px}
.uk-result-line{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;color:#334155}
.uk-result-line+.uk-result-line{margin-top:6px}
.uk-result-club{display:flex;align-items:center;gap:6px;min-width:0}
.uk-result-club span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uk-result-score{font-size:12px;font-weight:900;color:#0f172a;min-width:18px;text-align:center}
.uk-standings-preview{width:100%;border-collapse:collapse}
.uk-standings-preview th{font-size:9px;color:#94a3b8;font-weight:700;padding:7px;border-bottom:1px solid #edf1f5}
.uk-standings-preview td{padding:8px 7px;font-size:10.5px;border-bottom:1px solid #f1f4f8;color:#334155}
.uk-standings-preview tr:last-child td{border-bottom:0}
.uk-rank{display:inline-flex;width:25px;height:25px;border-radius:8px;align-items:center;justify-content:center;background:#eff6ff;color:#2563eb;font-weight:900}
.uk-rank-top{background:#2563eb;color:#fff}
.uk-standing-team{display:flex;align-items:center;gap:7px;min-width:0}
.uk-standing-team span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:750}
.uk-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.uk-context-card{display:block;text-decoration:none!important;border:1px solid #e7edf4;background:#fff;border-radius:14px;padding:12px;transition:.18s ease;color:inherit!important}
.uk-context-card:hover{border-color:#bfdbfe;background:#fbfdff;transform:translateY(-1px)}
.uk-context-card small{display:block;color:#3b82f6;font-size:9px;font-weight:850;margin-bottom:3px}
.uk-context-card strong{display:block;color:#172033;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uk-context-card span{display:block;color:#94a3b8;font-size:9.5px;margin-top:4px}
.uk-seo-copy{font-size:12.5px;color:#475569;line-height:2}
.uk-seo-copy h2,.uk-seo-copy h3{color:#172033;font-weight:900;line-height:1.55}
.uk-seo-copy h2{font-size:16px;margin:0 0 9px}
.uk-seo-copy h3{font-size:14px;margin:18px 0 6px}
.uk-empty{border:1px dashed #cbd5e1;background:#f8fafc;color:#64748b;border-radius:13px;padding:18px;text-align:center;font-size:11px}
.uk-full-table-wrap{overflow-x:auto;border:1px solid #e7edf4;border-radius:14px}
.uk-full-standings{width:100%;min-width:690px;border-collapse:collapse;background:#fff}
.uk-full-standings thead th{background:#f8fafc;color:#64748b;font-size:9.5px;font-weight:800;padding:10px 8px;border-bottom:1px solid #e8edf3;text-align:center;white-space:nowrap}
.uk-full-standings thead th:nth-child(2){text-align:right}
.uk-full-standings td{padding:9px 8px;border-bottom:1px solid #f0f3f7;font-size:10.5px;color:#334155;text-align:center;white-space:nowrap}
.uk-full-standings td:nth-child(2){text-align:right;min-width:180px}
.uk-full-standings tbody tr:hover{background:#fbfdff}
.uk-full-standings tbody tr:last-child td{border-bottom:0}
.uk-full-team{display:flex;align-items:center;gap:7px;font-weight:800;color:#1e293b}
.uk-full-team .uk-mini-logo{width:30px;height:30px;border-radius:9px}
.uk-full-team .uk-mini-logo img{max-width:23px;max-height:23px}
.uk-points{font-weight:900;color:#0f172a}
.uk-gd-positive{color:#15803d;font-weight:800}
.uk-gd-negative{color:#b91c1c;font-weight:800}
@media(max-width:767px){
 .uk-entity-hero{padding:17px;border-radius:17px}
 .uk-entity-hero-top{align-items:flex-start}
 .uk-entity-mark{width:56px;height:56px;border-radius:15px}.uk-entity-mark img{max-width:44px;max-height:44px}
 .uk-entity-title{font-size:18px}.uk-entity-subtitle{font-size:10.5px}
 .uk-entity-actions{display:none}
 .uk-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
 .uk-panel{padding:14px;border-radius:15px}
 .uk-panel-head{align-items:flex-start}
 .uk-panel-desc{display:none}
 .uk-feature-grid,.uk-result-grid,.uk-context-grid{grid-template-columns:1fr}
 .uk-match-row{grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr);padding:10px 9px}
 .uk-match-team-name{font-size:10.5px}.uk-mini-logo{width:34px;height:34px}.uk-mini-logo img{max-width:27px;max-height:27px}
}

/* League round selector */
.uk-round-panel{overflow:hidden}
.uk-round-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.uk-round-link{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px 6px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;color:#334155!important;text-decoration:none!important;text-align:center;font-size:11.5px;font-weight:800;line-height:1.25;transition:border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.uk-round-link:hover{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8!important;box-shadow:0 4px 12px rgba(37,99,235,.08);transform:translateY(-1px)}
.uk-round-link.is-active{background:#2563eb;border-color:#2563eb;color:#fff!important;box-shadow:0 6px 16px rgba(37,99,235,.2)}
.uk-round-link.is-active:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff!important}
.uk-round-label{display:block;white-space:nowrap}
@media(max-width:991px){.uk-round-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:767px){.uk-round-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.uk-round-link{min-height:39px;padding:7px 4px;font-size:10.5px;border-radius:10px}}
@media(max-width:390px){.uk-round-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Compact league round toolbar */
.uk-round-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px}
.uk-round-toolbar-copy{min-width:0}
.uk-round-form{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.uk-round-select-label{font-size:11px;font-weight:800;color:#64748b;white-space:nowrap}
.uk-round-select{min-width:145px;height:42px;border:1px solid #dbe5f0;border-radius:11px;background:#f8fbff;color:#0f172a;padding:0 13px;font-family:inherit;font-size:12px;font-weight:850;outline:none;cursor:pointer;box-shadow:0 3px 10px rgba(15,23,42,.035)}
.uk-round-select:hover{border-color:#bfdbfe;background:#fff}
.uk-round-select:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(59,130,246,.1)}
.uk-round-submit{height:42px;border:0;border-radius:10px;background:#2563eb;color:#fff;padding:0 14px;font-family:inherit;font-weight:800;cursor:pointer}
@media(max-width:767px){.uk-round-toolbar{align-items:stretch;flex-direction:column;gap:11px}.uk-round-form{width:100%;justify-content:space-between}.uk-round-select{flex:1;min-width:0;width:100%}.uk-round-select-label{display:none}}

/* Current round state + AJAX round swap */
.uk-round-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:5px}
.uk-round-meta .uk-panel-desc{margin:0}
.uk-round-current-badge{display:inline-flex;align-items:center;gap:4px;min-height:27px;padding:4px 9px;border-radius:999px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:10.5px;font-weight:800;white-space:nowrap}
.uk-round-current-badge strong{font-size:12px;font-weight:900}
#uk-league-round-content{position:relative;transition:opacity .16s ease}
#uk-league-round-content.is-loading{opacity:.48;pointer-events:none}
#uk-league-round-content.is-loading:after{content:'';position:absolute;top:14px;left:14px;width:18px;height:18px;border:2px solid #bfdbfe;border-top-color:#2563eb;border-radius:50%;animation:ukRoundSpin .7s linear infinite}
@keyframes ukRoundSpin{to{transform:rotate(360deg)}}
@media(max-width:767px){.uk-round-meta{align-items:flex-start}.uk-round-current-badge{font-size:10px}}

/* SSR previous/next round navigation */
.uk-round-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid #e8eef5}
.uk-round-pager-link{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;padding:7px 11px;border:1px solid #dbe5f0;border-radius:10px;background:#f8fbff;color:#1e3a5f!important;text-decoration:none!important;font-size:11px;font-weight:800;transition:.16s ease}
.uk-round-pager-link:hover{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8!important}
.uk-round-pager-link strong{font-size:12px}
.uk-round-pager-link.is-disabled{opacity:.45;cursor:default}
.uk-round-pager-current{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 10px;border-radius:999px;background:#2563eb;color:#fff;font-size:10.5px;font-weight:900;white-space:nowrap}
@media(max-width:575px){.uk-round-pager{grid-template-columns:1fr 1fr}.uk-round-pager-current{grid-column:1/-1;grid-row:1}.uk-round-pager-link{font-size:10px;padding:7px 5px}}

/* Unified league round block */
.uk-round-main-title{font-size:18px!important;line-height:1.6!important;margin:0}
.uk-round-panel #uk-league-round-content{margin-top:14px;padding-top:14px;border-top:1px solid #edf2f7}
.uk-round-panel .uk-round-meta{margin-top:6px}
@media(max-width:767px){.uk-round-main-title{font-size:16px!important}.uk-round-panel #uk-league-round-content{margin-top:12px;padding-top:12px}}

/* League clubs block */
.uk-league-club-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.uk-league-club-card{display:block;text-decoration:none!important;color:inherit!important;border:1px solid #e5ecf3;border-radius:14px;background:#fff;padding:12px;transition:.16s ease}
.uk-league-club-card:hover{border-color:#bfdbfe;box-shadow:0 7px 18px rgba(37,99,235,.07);transform:translateY(-1px)}
.uk-league-club-main{display:flex;align-items:center;gap:10px;min-width:0;padding-bottom:10px;border-bottom:1px solid #eef2f7}
.uk-league-club-main .uk-mini-logo{width:42px;height:42px;border-radius:11px;flex:0 0 42px}
.uk-league-club-main .uk-mini-logo img{max-width:34px;max-height:34px}
.uk-league-club-name{font-size:12.5px;font-weight:900;color:#172033;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.uk-league-club-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:9px}
.uk-league-club-meta span{display:flex;align-items:center;justify-content:space-between;gap:6px;background:#f8fafc;border-radius:9px;padding:7px 8px}
.uk-league-club-meta small{font-size:9px;color:#94a3b8;font-weight:700}
.uk-league-club-meta strong{font-size:11.5px;color:#1d4ed8;font-weight:900}
@media(max-width:767px){.uk-league-club-grid{grid-template-columns:1fr}.uk-league-club-card{padding:11px}.uk-league-club-main .uk-mini-logo{width:38px;height:38px;flex-basis:38px}.uk-league-club-main .uk-mini-logo img{max-width:30px;max-height:30px}.uk-league-club-name{font-size:12px}}

/* One title per related-match section; keep breathing room between link clusters. */
.uk-season-links-group+.uk-season-links-group{margin-top:10px}

/* All match previews link to one match URL. The CTA is visually a button
   inside that same anchor (no invalid nested <a> or <button>). */
a.uk-match-row, a.uk-feature-card, a.uk-result-card {cursor:pointer}
a.uk-match-row:focus-visible, a.uk-feature-card:focus-visible, a.uk-result-card:focus-visible {
  outline:2px solid #2563eb;outline-offset:3px
}
.uk-match-details-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  max-width:100%;min-width:76px;margin:7px auto 0;padding:6px 9px;
  font-size:10.5px;line-height:1.25;font-weight:850;color:#1d4ed8;
  border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;
  box-sizing:border-box;white-space:nowrap;pointer-events:none
}
.uk-match-details-cta b{font-size:11px;font-weight:900}
.uk-match-row:hover .uk-match-details-cta,
.uk-match-row:focus-visible .uk-match-details-cta{
  color:#fff;background:#2563eb;border-color:#2563eb
}
.uk-feature-details-cta{
  display:flex;align-items:center;justify-content:center;width:max-content;
  min-width:88px;margin:2px auto 0;padding:6px 15px;
  border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;
  color:#1d4ed8;font-size:10.5px;font-weight:850;line-height:1.25;pointer-events:none
}
.uk-feature-card:hover .uk-feature-details-cta,.uk-feature-card:focus-visible .uk-feature-details-cta{
  background:#2563eb;border-color:#2563eb;color:#fff
}
.uk-result-details-cta{
  display:flex;align-items:center;justify-content:center;width:max-content;
  min-width:84px;margin:11px auto 0;padding:5px 13px;
  color:#1d4ed8;background:#eff6ff;border:1px solid #bfdbfe;
  border-radius:999px;font-size:10px;font-weight:850;line-height:1.25;pointer-events:none
}
.uk-result-card:hover .uk-result-details-cta,.uk-result-card:focus-visible .uk-result-details-cta{
  color:#fff;background:#2563eb;border-color:#2563eb
}
@media(max-width:767px){
  .uk-match-details-cta{font-size:10px;margin-top:6px;min-width:73px;padding:5px 7px}
  .uk-feature-details-cta{margin-top:4px}
  .uk-result-details-cta{margin-top:9px}
}
@media(prefers-reduced-motion:reduce){
  .uk-match-details-cta,.uk-feature-details-cta,.uk-result-details-cta{transition:none}
}

/* Time-zone indicator of user-local kickoff time (progressively enhanced). */
.uk-match-zone,.uk-feature-zone{display:block;margin-top:3px;color:#64748b;
  font-size:9px;font-weight:750;line-height:1.3;text-align:center;white-space:nowrap}
.uk-match-zone:empty,.uk-feature-zone:empty{display:none}
.uk-result-top time{font:inherit;color:inherit}
@media(max-width:767px){.uk-match-zone,.uk-feature-zone{font-size:8px}}
