@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f5f7f9;color:#18222d}.wrap{max-width:1100px;margin:auto;padding:18px}header{background:#123b61;color:#fff}header .wrap{display:flex;justify-content:space-between;align-items:center}header a{color:#fff;text-decoration:none;margin-right:14px}h1{font-size:28px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.card{background:#fff;border:1px solid #dbe1e7;border-radius:10px;padding:20px;text-decoration:none;color:#18222d;display:flex;flex-direction:column;gap:8px}.tablewrap{overflow:auto;background:#fff;border:1px solid #dbe1e7;border-radius:8px}table{width:100%;border-collapse:collapse;min-width:700px}th,td{padding:10px;border-bottom:1px solid #e6e9ed;text-align:left}th{background:#edf2f6}label{display:flex;flex-direction:column;gap:5px;margin:10px 0;max-width:520px}input,select,textarea,button{font:inherit;padding:10px;border:1px solid #c8d0d8;border-radius:6px}button,.btn{background:#1764a7;color:#fff;border:0;cursor:pointer;text-decoration:none;display:inline-block;padding:10px 14px}.notice,.ok,.err{padding:14px;border-radius:8px;margin:15px 0}.notice{background:#fff4cc}.ok{background:#dff3e5}.err{background:#fde5e3}.install{max-width:700px;margin:30px auto;padding:20px}@media(max-width:650px){header .wrap{display:block}nav{margin-top:12px}h1{font-size:24px}}
/* Nova Liga: globalni font */
html,body,button,input,select,textarea,option,table,th,td{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif !important;}

/* V2.9.0 – rezultati u jednom retku i uredan mobilni prikaz */
.match-line .teams strong,.round-box .result,.nl-score,.match-score,.result,.score,.ms2-head #teamScore,.nl-announced-score{white-space:nowrap!important;word-break:keep-all!important;flex-shrink:0;min-width:max-content}
.match-line .teams b,.round-box td.team{min-width:0;overflow-wrap:anywhere}

/* V2.9.0: dosljedna tipografija i boje poveznica */
html,body,body *{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif!important}
/* Tekstualne poveznice su uvijek iste boje; gumbi zadržavaju vlastite boje. */
a:not(.btn):not(.button):not(.home-btn):not(.nl-dashboard a):link,
a:not(.btn):not(.button):not(.home-btn):visited { color:inherit; }
a:not(.btn):not(.button):not(.home-btn):hover { text-decoration:underline; }
.home-hero .hero-actions a.home-btn.primary:link,
.home-hero .hero-actions a.home-btn.primary:visited,
.home-hero .hero-actions a.home-btn.primary:hover {color:#123b61!important;}
.home-hero .hero-actions a.home-btn:not(.primary):link,
.home-hero .hero-actions a.home-btn:not(.primary):visited,
.home-hero .hero-actions a.home-btn:not(.primary):hover {color:#fff!important;}
.site-head a:link,.site-head a:visited,.site-head a:hover{color:#fff!important}
.nl-dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:14px;margin:18px 0}
.nl-dashboard a{display:block;padding:18px;background:#fff;border:1px solid #dbe1e7;border-radius:12px;text-decoration:none!important}
.nl-dashboard .number{font-size:32px;font-weight:800;display:block;margin-top:8px}
.nl-dashboard .hint{color:#64748b;font-size:13px}
.nl-dashboard a:hover{border-color:#8ca9c9;background:#f8fbff}

/* Dodatna zaštita navigacije i kontrasta gumba */
.home-hero .hero-actions a.home-btn{ text-decoration:none!important; }
.home-hero .hero-actions a.home-btn.primary{color:#123b61!important;}
.home-hero .hero-actions a.home-btn:not(.primary){color:#fff!important;}

/* V2.9.0.4 – vidljiv tekst na tamnim akcijskim gumbima */
.view-switch a.active:link,
.view-switch a.active:visited,
.view-switch a.active:hover,
.view-switch a.active:active {color:#ffffff!important;background:#17233b!important;border-color:#17233b!important;}
.view-switch a:not(.active):link,
.view-switch a:not(.active):visited,
.view-switch a:not(.active):hover {color:#17233b!important;background:#ffffff!important;}
a.button-like:link,a.button-like:visited,a.button-like:hover,a.button-like:active {color:#ffffff!important;background:#172033!important;}
/* Zadrži kontrast i na ostalim tamnim navigacijskim gumbima */
a.btn:link,a.btn:visited,a.btn:hover,a.btn:active {color:#ffffff!important;}

/* Nova Liga: zaglavlje u jednom redu, bez prelamanja Odjave */
@media(min-width:651px){
 .site-head .head-in{display:flex!important;align-items:center!important;gap:16px!important;flex-wrap:nowrap!important}
 .site-head .brand{flex:0 0 auto!important;white-space:nowrap!important;margin-right:0!important}
 .site-head .head-in>nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:clamp(6px,1vw,13px)!important;min-width:0!important;margin:0!important}
 .site-head .head-in>nav>a{display:inline-block!important;white-space:nowrap!important;margin:0!important;font-size:clamp(11px,1.1vw,13px)!important}
}
@media(min-width:651px) and (max-width:950px){
 .site-head .head-in{overflow-x:auto!important;scrollbar-width:thin}
 .site-head .head-in>nav{flex:0 0 auto!important}
}
@media(max-width:650px){
 .site-head .head-in{display:block!important}
 .site-head .brand{display:inline-block;white-space:nowrap}
 .site-head .head-in>nav{display:flex!important;flex-wrap:wrap!important;gap:8px 12px!important;margin-top:12px!important}
 .site-head .head-in>nav>a{margin:0!important;white-space:nowrap!important}
}
