/*
 * Javni sajt sa rezultatima — USR Veseli Meredov.
 *
 * Jedna porodica (Barlow) u dve širine: Condensed za imena i brojeve kao na semaforu,
 * obična za tekst. Bordo je boja kluba; narandžasta "plovak" postoji samo za ono što je uživo.
 */

:root {
    --maroon: #670E10;
    --maroon-deep: #4A0A0C;
    --maroon-tint: #F3E6E6;
    --ink: #10302E;
    --ink-soft: #4B615F;
    --ink-faint: #7C8C8A;
    --mist: #EEF1EC;
    --surface: #FFFFFF;
    --line: #DCE3DD;
    --line-strong: #C5D0C8;
    --float: #F25C05;
    --float-tint: #FFEBDD;
    --gold: #C99A2E;
    --silver: #8E99A4;
    --bronze: #A9683A;

    --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-cond: "Barlow Condensed", "Barlow", system-ui, sans-serif;

    --radius-s: 6px;
    --radius: 10px;
    --radius-l: 16px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--mist);
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--maroon);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--maroon-deep);
}

:focus-visible {
    outline: 3px solid var(--float);
    outline-offset: 2px;
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.sr-only:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    clip: auto;
    z-index: 100;
    padding: 10px 14px;
    background: #fff;
    color: var(--maroon);
    border-radius: var(--radius-s);
}

.sr-only:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Zaglavlje i podnožje                                                */
/* ------------------------------------------------------------------ */

.topbar {
    background: var(--maroon);
    color: #fff;
}

.topbar .wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.brand:hover {
    color: #fff;
}

.brand img {
    width: 44px;
    height: auto;
}

.brand-name {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    line-height: 1;
    letter-spacing: .01em;
}

.brand-name small {
    display: block;
    font-family: var(--font);
    font-weight: 500;
    font-size: 13px;
    opacity: .75;
    letter-spacing: 0;
    margin-top: 3px;
}

.topbar-cta {
    margin-left: auto;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: 1.5px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    padding: 7px 14px;
    white-space: nowrap;
}

.topbar-cta:hover {
    color: var(--maroon);
    background: #fff;
    border-color: #fff;
}

.site-footer {
    margin-top: 72px;
    background: var(--ink);
    color: #D6E0DC;
    font-size: 15px;
}

.site-footer .wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 48px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.site-footer a {
    color: #fff;
}

.footer-club {
    font-family: var(--font-cond);
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
    text-align: right;
}

.footer-legal {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 13px;
    color: #9FB1AC;
}

.footer-legal a {
    color: #D6E0DC;
}

/* ------------------------------------------------------------------ */
/* Zajedničko: uživo, dugmad, oznake                                  */
/* ------------------------------------------------------------------ */

.live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--float);
}

.live::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--float);
    box-shadow: 0 0 0 0 rgba(242, 92, 5, .5);
    animation: float-bob 1.6s ease-out infinite;
}

.live--on-dark {
    color: #FFB380;
}

.live--on-dark::before {
    background: #FF8A3D;
}

@keyframes float-bob {
    0% { box-shadow: 0 0 0 0 rgba(242, 92, 5, .55); }
    80%, 100% { box-shadow: 0 0 0 10px rgba(242, 92, 5, 0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 15px/1 var(--font);
    padding: 11px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--maroon);
    background: var(--maroon);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--maroon-deep);
    border-color: var(--maroon-deep);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    color: var(--maroon);
}

.btn--ghost:hover {
    background: var(--maroon-tint);
    color: var(--maroon-deep);
}

.btn--light {
    background: #fff;
    border-color: #fff;
    color: var(--maroon);
}

.btn--light:hover {
    background: var(--maroon-tint);
    border-color: var(--maroon-tint);
    color: var(--maroon-deep);
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn--small {
    font-size: 14px;
    padding: 7px 14px;
}

.btn--small svg {
    width: 16px;
    height: 16px;
}

.round-meta .round-pdf {
    margin-left: auto;
    align-self: center;
}

.tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink-soft);
    white-space: nowrap;
}

.tag--dark {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

/* Oznaka stajnog mesta, kao tablica na kočiću pored vode. */
.peg {
    display: inline-grid;
    place-items: center;
    min-width: 44px;
    height: 30px;
    padding: 0 8px;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius-s);
}

.peg--empty {
    color: var(--ink-faint);
    border-color: var(--line-strong);
    border-style: dashed;
}

/* Mesto u plasmanu: krupna uska cifra sa trakom boje medalje. */
.place {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
}

.place::before {
    content: "";
    width: 5px;
    height: 30px;
    border-radius: 3px;
    background: var(--line-strong);
}

.place--1::before { background: var(--gold); }
.place--2::before { background: var(--silver); }
.place--3::before { background: var(--bronze); }

.place--small {
    font-size: 20px;
    gap: 8px;
}

.place--small::before {
    height: 22px;
    width: 4px;
}

.num {
    font-family: var(--font-cond);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.num--big {
    font-size: 24px;
    line-height: 1;
}

.num--points {
    color: var(--maroon);
}

.muted {
    color: var(--ink-faint);
}

/* ------------------------------------------------------------------ */
/* Početna                                                             */
/* ------------------------------------------------------------------ */

.hero {
    background: var(--maroon);
    color: #fff;
    padding: 40px 0 56px;
}

.hero h1 {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: clamp(40px, 7vw, 76px);
    line-height: .95;
    letter-spacing: -.01em;
    margin: 0;
    max-width: 20ch;
}

.hero p {
    margin: 16px 0 0;
    max-width: 52ch;
    font-size: 18px;
    color: #F1DCDC;
}

.hero-app {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
    font-size: 15px;
    color: #F1DCDC;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Razmak oko bedža bar četvrtina njegove visine (Apple). */
.store-badge {
    display: inline-block;
    line-height: 0;
    padding: 2px 0;
}

.store-badge img {
    display: block;
    height: 44px;
    width: auto;
}

.site-footer .store-badges {
    margin-top: 16px;
}

.site-footer .store-badge img {
    height: 40px;
}

.live-strip {
    margin-top: 32px;
    display: grid;
    gap: 12px;
}

.live-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 20px;
    border-radius: var(--radius-l);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    text-decoration: none;
}

.live-item:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.live-item-name {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.05;
}

.live-item-round {
    color: #F1DCDC;
}

.live-item .btn {
    margin-left: auto;
}

.seasons {
    position: relative;
    margin-top: -24px;
    background: var(--mist);
    border-radius: var(--radius-l) var(--radius-l) 0 0;
    padding-top: 8px;
}

.season {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.season:last-child {
    border-bottom: 0;
}

.season-year {
    margin: 0;
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: 56px;
    line-height: .9;
    color: var(--maroon);
    position: sticky;
    top: 16px;
    align-self: start;
}

.comp-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.comp-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 18px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--line);
    color: var(--ink);
    text-decoration: none;
}

.comp-row:hover {
    border-color: var(--maroon);
    color: var(--ink);
}

.comp-logo {
    position: relative;
    overflow: hidden;
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--maroon-tint);
    display: grid;
    place-items: center;
    color: var(--maroon);
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: 22px;
}

.comp-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #fff;
}

.comp-name {
    display: block;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.1;
    margin: 0 0 6px;
}

.comp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.comp-progress {
    text-align: right;
    font-size: 14px;
    color: var(--ink-soft);
    white-space: nowrap;
}

.comp-progress .live {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

/* ------------------------------------------------------------------ */
/* Stranica takmičenja                                                 */
/* ------------------------------------------------------------------ */

.comp-header {
    background: var(--maroon);
    color: #fff;
    padding: 32px 0 0;
}

.comp-header .wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px 24px;
    align-items: center;
}

.comp-header-logo {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-l);
    background: #fff;
    object-fit: contain;
    padding: 6px;
}

.comp-header h1 {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: clamp(34px, 5.5vw, 60px);
    line-height: .98;
    margin: 0 0 12px;
}

.comp-header .comp-facts .tag {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.comp-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.intro {
    max-width: 72ch;
    margin: 24px 0 0;
    color: var(--ink-soft);
}

.intro p {
    margin: 0 0 8px;
}

/* Tabovi: segmenti na dnu bordo zaglavlja, lepe se uz vrh pri skrolovanju. */
.tabs-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--maroon);
    margin-top: 24px;
}

.tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #F1DCDC;
    font: 700 18px/1 var(--font-cond);
    letter-spacing: .01em;
    padding: 14px 18px 16px;
    border-radius: var(--radius) var(--radius) 0 0;
    cursor: pointer;
    white-space: nowrap;
}

.tab:hover {
    color: #fff;
}

.tab[aria-selected="true"] {
    background: var(--mist);
    color: var(--maroon);
}

.panel {
    padding-top: 24px;
}

.panel[hidden] {
    display: none;
}

.panel-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 16px;
}

.panel-head h2 {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 28px;
    margin: 0;
}

.panel-head .note {
    color: var(--ink-soft);
    font-size: 15px;
}

.panel-head .spacer {
    margin-left: auto;
}

.switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    user-select: none;
}

.switch input {
    width: 18px;
    height: 18px;
    accent-color: var(--maroon);
}

/* Tabela plasmana: zaglavlje i prve kolone ostaju na mestu dok se skroluje. */
.board {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: auto;
    max-height: 78vh;
}

.board table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
}

.board th,
.board td {
    padding: 12px 14px;
    text-align: right;
    white-space: nowrap;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.board thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    font-weight: 600;
    font-size: 13px;
    color: var(--ink-soft);
    background: #F7F9F6;
    vertical-align: bottom;
}

.board thead tr.group th {
    height: 40px;
    padding-top: 10px;
    padding-bottom: 6px;
    line-height: 1.2;
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    text-align: center;
    border-bottom: 0;
}

.board thead tr.group th.c-place,
.board thead tr.group th.c-name {
    text-align: left;
    vertical-align: bottom;
    font-family: var(--font);
    font-weight: 600;
    font-size: 13px;
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}

.board thead tr.group + tr th {
    top: 40px;
}

.board .c-place,
.board .c-name {
    text-align: left;
    position: sticky;
    z-index: 2;
}

.board .c-place {
    left: 0;
    width: 72px;
}

.board .c-name {
    left: 72px;
    white-space: normal;
    min-width: 180px;
    max-width: 280px;
    box-shadow: 1px 0 0 var(--line);
}

.board thead .c-place,
.board thead .c-name {
    z-index: 4;
}

.board tbody tr:last-child td {
    border-bottom: 0;
}

.board tbody tr:hover td {
    background: #FAFBF9;
}

.board .c-total {
    background: #FBF5F5;
}

.board thead .c-total {
    background: #F4E8E8;
    color: var(--maroon);
}

.board .round-start {
    border-left: 1px solid var(--line);
}

.name {
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
}

.club {
    display: block;
    font-size: 13px;
    color: var(--ink-faint);
    margin-top: 2px;
}

.members {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 4px;
    line-height: 1.45;
}

.sector-points {
    display: block;
    font-size: 12.5px;
    color: var(--ink-faint);
    margin-top: 4px;
}

.hide-rounds .col-round {
    display: none;
}

.board tr.is-updated td {
    animation: row-flash 2.4s ease-out;
}

@keyframes row-flash {
    0%, 30% { background: var(--float-tint); }
    100% { background: var(--surface); }
}

.board-refreshed {
    animation: board-flash 1.6s ease-out;
}

@keyframes board-flash {
    0% { box-shadow: 0 0 0 3px var(--float); }
    100% { box-shadow: 0 0 0 3px rgba(242, 92, 5, 0); }
}

/* Kola: izbor kola, pa sektori sa stajnim mestima. */
.round-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.round-chip {
    appearance: none;
    font: 600 15px/1 var(--font);
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.round-chip[aria-pressed="true"] {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.round-block[hidden] {
    display: none;
}

.round-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    align-items: baseline;
    margin-bottom: 16px;
    color: var(--ink-soft);
}

.round-meta .note {
    max-width: 72ch;
}

/* Kolo: sektori kao kartice sa tabelom, poređano po plasmanu u sektoru. */
.sector-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
    gap: 16px;
    align-items: start;
}

.sector {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
}

.sector-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
}

.sector-letter {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: 36px;
    line-height: .8;
    color: var(--maroon);
}

.sector-head .label {
    font-weight: 600;
}

.sector-head .total {
    margin-left: auto;
    text-align: right;
    font-size: 13px;
    color: var(--ink-faint);
}

.sector-head .total .num {
    display: block;
    font-size: 20px;
    color: var(--ink);
}

.round-subhead {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 21px;
    margin: 24px 0 10px;
}

.round-subhead:first-child {
    margin-top: 0;
}

.round-subhead small {
    font-family: var(--font);
    font-weight: 400;
    font-size: 14px;
    color: var(--ink-faint);
    margin-left: 8px;
}

/* Uže tabele u kolu: manja kolona mesta, bez sopstvenog vertikalnog skrola. */
.board--compact table {
    font-size: 15px;
}

.board--compact th,
.board--compact td {
    padding: 9px 12px;
}

.board--compact .c-place {
    width: 58px;
}

.board--compact .c-name {
    left: 58px;
    min-width: 170px;
}

.board--compact .name {
    font-size: 15px;
}

.board--flat {
    border: 0;
    border-radius: 0;
    max-height: none;
}

.peg--small {
    min-width: 38px;
    height: 26px;
    padding: 0 6px;
    font-size: 15px;
    border-width: 1.5px;
}

.member-cell .num {
    display: block;
    font-size: 18px;
}

.member-cell .club {
    white-space: normal;
    max-width: 150px;
    margin-left: auto;
}

.medal {
    font-style: normal;
}

/* Smuđijada */
.species {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.species .tag {
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 14px;
}

.species .tag b {
    font-family: var(--font-cond);
    font-size: 16px;
    margin-left: 4px;
}

.last-catch {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
    border-radius: var(--radius-l);
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 5px solid var(--float);
    margin-bottom: 20px;
}

.last-catch.is-new {
    animation: board-flash 1.6s ease-out;
}

.catch-time {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink-soft);
}

.catch-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
}

.catch-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line);
}

.catch-row:last-child {
    border-bottom: 0;
}

.catch-what {
    font-size: 14px;
    color: var(--ink-soft);
}

.empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-l);
}

.explain {
    margin-top: 16px;
    font-size: 14px;
    color: var(--ink-faint);
    max-width: 72ch;
}

/* Tekst stranice (privatnost i sl.) */
.page-head {
    background: var(--maroon);
    color: #fff;
    padding: 40px 0;
}

.page-head h1 {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1;
    margin: 0;
}

.prose {
    max-width: 70ch;
    padding-top: 32px;
}

.prose h2 {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 26px;
    margin: 32px 0 8px;
}

.prose li {
    margin-bottom: 8px;
}

.not-found {
    padding: 72px 0 24px;
}

.not-found .code {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: clamp(96px, 20vw, 180px);
    line-height: .85;
    color: var(--maroon);
}

.not-found h1 {
    font-family: var(--font-cond);
    font-size: 34px;
    margin: 16px 0 8px;
}

/* ------------------------------------------------------------------ */
/* Telefoni                                                            */
/* ------------------------------------------------------------------ */

@media (max-width: 760px) {
    .topbar .wrap {
        min-height: 56px;
    }

    .brand-name {
        font-size: 19px;
        white-space: nowrap;
    }

    .brand-name small {
        display: none;
    }

    .topbar-cta {
        font-size: 13px;
        padding: 6px 12px;
    }

    .hero {
        padding: 28px 0 44px;
    }

    .season {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 0;
    }

    .season-year {
        position: static;
        font-size: 44px;
    }

    .comp-row {
        grid-template-columns: 44px 1fr;
        padding: 12px 14px;
    }

    .comp-logo {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .comp-progress {
        grid-column: 2;
        text-align: left;
    }

    .comp-progress .live {
        justify-content: flex-start;
    }

    .comp-header .wrap {
        grid-template-columns: 1fr;
    }

    .comp-header-logo {
        width: 64px;
        height: 64px;
    }

    .comp-actions {
        justify-content: flex-start;
    }

    .board {
        max-height: none;
        border-radius: var(--radius);
    }

    .board th,
    .board td {
        padding: 10px 10px;
    }

    .board .c-place {
        width: 56px;
    }

    .board .c-name {
        left: 56px;
        min-width: 140px;
        max-width: 180px;
    }

    .place {
        font-size: 24px;
    }

    .sector-tables {
        grid-template-columns: 1fr;
    }

    .board--compact .c-place {
        width: 48px;
    }

    .board--compact .c-name {
        left: 48px;
        min-width: 130px;
    }

    .board--flat {
        border-radius: 0;
    }

    .live-item .btn {
        margin-left: 0;
    }

    .site-footer .wrap {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ------------------------------------------------------------------ */
/* Prijava                                                             */
/* ------------------------------------------------------------------ */

.auth {
    display: grid;
    place-items: start center;
    padding-top: 48px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 32px;
}

.auth-card h1 {
    font-family: var(--font-cond);
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    margin: 0 0 8px;
}

.auth-card form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.field {
    display: grid;
    gap: 6px;
    font-weight: 600;
    font-size: 15px;
}

.field input {
    font: 500 16px/1.2 var(--font);
    color: var(--ink);
    padding: 13px 14px;
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
}

.field input:focus {
    outline: none;
    border-color: var(--maroon);
    box-shadow: 0 0 0 3px var(--maroon-tint);
}

.field input[aria-invalid="true"] {
    border-color: #B3261E;
}

.form-error {
    font-weight: 500;
    font-size: 14px;
    color: #B3261E;
}

.form-note {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--float-tint);
    color: var(--ink);
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--ink-soft);
}

.check input {
    width: 18px;
    height: 18px;
    accent-color: var(--maroon);
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 4px;
}

@media (max-width: 760px) {
    .auth {
        padding-top: 24px;
    }

    .auth-card {
        padding: 24px 20px;
    }
}
