/* public-underlined.css: the tab rows of the style "podcrtane" (linked by the layout after its <style>) */
  /* ── Tab rows, underlined ("Stil" of "Kartice" on "Izgled", owner 2026-11-11) ───────────────────────────────────────────────────────────
     Season row, round bar and course tabs are lines of text on one rule, the open one underlined in the league's Glavna
     and bold; the sub-tabs (Muški, Žene, categories) are small outlined buttons, the open one outlined in Glavna and
     bold. Nothing in this look is filled (owner, 2026-11-12). Every colour and size still comes from "Izgled"
     (--primary, --heading, the tabs' text, the Veličina of each bar); only their arrangement changed. On a phone each row is one line that scrolls
     sideways, and the "Sezona … Staza …" line over a table, which the tabs repeat, is left out. */
  nav.tab, nav.tab.seasonbar, .roundbar { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; gap: 0 0.25rem; overflow: visible; }
  nav.tab a, nav.tab.seasonbar a, .roundbar > a, .roundbar > span { background: none; border-radius: 0; border-bottom: 0.1875rem solid transparent; margin-bottom: -1px; padding-left: 0.75rem; padding-right: 0.75rem; }
  /* The tabs' text as it reads on the page's background (app.services.branding.readable): the leagues' own text colour,
     chosen for a filled bar, can be nearly invisible without one */
  nav.tab a, nav.tabs a { color: var(--tab-ink); }
  nav.tab.seasonbar a { color: var(--season-tab-ink); }
  .roundbar > a { color: var(--roundbar-ink); }
  .roundbar > span { color: var(--roundbar-inactive-ink); }
  nav.tab a:hover, nav.tab.seasonbar a:hover { background: none; border-bottom-color: var(--line); }
  nav.tab a[aria-selected="true"], nav.tab.seasonbar a[aria-selected="true"], .roundbar > a[aria-current="page"] { background: none; color: var(--heading); font-weight: bold; border-bottom-color: var(--primary); }
  .roundbar { margin-bottom: 0.75rem; }
  .roundbar > a:hover { background: none; border-bottom-color: var(--line); }
  nav.tabs { background: none; border: 0; gap: 0.375rem; margin: 0.25rem 0 0.625rem; overflow: visible; }
  nav.tabs a { background: none; border: 1px solid var(--line); border-radius: 0.375rem; padding: 0.3rem 0.75rem; font-size: 0.95rem; }
  nav.tabs a:hover { background: none; border-color: var(--primary); }
  nav.tabs a[aria-selected="true"] { background: none; color: var(--heading); border: 1px solid var(--primary); box-shadow: inset 0 0 0 1px var(--primary); font-weight: bold; }
  nav.tabs a.download, nav.tabs a.download:hover { border: 0; padding: 0.4rem 0.9rem; }
  .tabcontent { border: 0; padding: 0.375rem 0; }
  /* The course tabs and the open course's sub-tabs (Muški, Žene, categories, the workbook's button) on one line, "filter
     bar" (the script at the end moves them together); the "Sezona … Staza …" line over a table is left out, as the tabs
     show both */
  .filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.625rem 1.5rem;
               border-bottom: 1px solid var(--line); margin-bottom: 0.75rem; }
  .filterbar > nav.tab { border-bottom: 0; margin-bottom: 0; }
  .filterbar > .filter-slot { flex: 1 1 auto; min-width: 0; }
  /* the workbook's button is always at the right end of its row (owner, 2026-11-12) */
  .filterbar > .filter-slot nav.tabs { margin: 0 0 0.375rem; width: 100%; box-sizing: border-box; }
  .tabcontent > .panel-headings { display: none; }
  /* The workbook's button outlined in its own colour (Druga), not filled (prototype, owner 2026-11-12) */
  .download, nav.tabs a.download, nav.tabs a.download:hover { background: none; color: var(--secondary-ink);
                                                              border: 1px solid var(--secondary-ink); }
  .download:hover, nav.tabs a.download:hover { background: none; box-shadow: inset 0 0 0 1px var(--secondary-ink); }
  /* Informacije, Statistika, Merch close together */
  nav.seasonbar .season-links { gap: 0; }
  nav.seasonbar .season-links a { padding-left: 0.5rem; padding-right: 0.5rem; }
  @media (max-width: 37.5rem) {
    nav.tab, nav.tabs, .roundbar { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    nav.tab::-webkit-scrollbar, nav.tabs::-webkit-scrollbar, .roundbar::-webkit-scrollbar { display: none; }
    nav.tab a, nav.tabs a, .roundbar > a, .roundbar > span { flex: 0 0 auto; white-space: nowrap; }
    /* The seasons are a row that scrolls sideways, like the round bar, and the links row is its own line above it
       (the generic phone rule above would put both side by side and let them overlap) */
    nav.tab.seasonbar { flex-wrap: wrap; overflow: visible; }
    nav.seasonbar .season-list, nav.seasonbar .season-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    nav.seasonbar .season-links { justify-content: flex-start; }
    nav.tabs a.download { margin-left: 0.5rem; }
    .filterbar > nav.tab { width: 100%; }
    .filterbar > .filter-slot { width: 100%; }
  }
