/* ORTI – modul account: Moj račun, Moje v klubu, O klubu, sistemska obvestila.
 * Samo žetoni iz app.css (svetlo/temno samodejno). Mobile-first: 390 px → 1440 px.
 */

/* ---------- ogrodje strani ---------- */
/* stranska navigacija: povezave brez razreda sicer dobijo podčrtaj iz a:not([class]) (glej zahteve za jedro) */
.sidenav a { text-decoration: none; }
.acc { max-width: 860px; margin: 0 auto; }
.acc--wide { max-width: 1080px; }
.acc > * + * { margin-top: 16px; }
.acc > .page-head + * { margin-top: 0; }
.acc-section { margin-top: 28px !important; margin-bottom: 12px; }
.acc-section .section-title { margin: 0; }
.acc-chips { margin: -4px -16px 16px; padding: 0 16px 2px; scroll-padding-inline: 16px; }
.acc-chips .chip { text-decoration: none; flex: none; }
.acc-chips .chip .ico { color: var(--muted); }
.acc-chips .chip[aria-current="page"] .ico { color: inherit; }
@media (min-width: 1024px) { .acc-chips { display: none; } }

.acc-card { overflow: visible; }
.acc-card .card__head { align-items: flex-start; }
.acc-card__title { display: grid; gap: 2px; min-width: 0; }
.acc-card__title h2 { font-size: 15px; }
.acc-card__title p { font-size: 13px; color: var(--muted); }
.acc-form { display: grid; gap: 16px; }
.acc-form .field + .field { margin-top: 0; }
.acc-form .grid-2 { gap: 16px; }
.acc-empty-sm { padding: 28px 20px; }
.acc-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px !important; }
.acc-note .ico { margin-top: 2px; }
.acc-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-size: 13px; font-weight: 550; }
.acc-pos { color: var(--ok); }
.acc-warn-text { color: var(--warn); }
.acc-danger-text { color: var(--danger); }
.acc-danger-text:hover { --btn-bg: var(--danger-soft); }
.acc-more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 550; color: var(--muted); }
.acc-more:hover { color: var(--brand); }

/* ---------- identiteta (profil) ---------- */
.acc-id { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 16px; padding: 20px; }
.acc-id__avatar { width: 56px; height: 56px; font-size: 19px; grid-row: span 2; }
.acc-id__main { min-width: 0; display: grid; gap: 2px; }
.acc-id__main h2 { font-size: 19px; }
.acc-id__main p { color: var(--muted); font-size: 14px; }
.acc-id__nick { font-weight: 500; color: var(--muted); }
.acc-id__meta { display: flex; flex-wrap: wrap; gap: 6px; grid-column: 2; }
@media (min-width: 768px) {
    .acc-id { grid-template-columns: auto 1fr auto; }
    .acc-id__avatar { grid-row: auto; }
    .acc-id__meta { grid-column: auto; justify-content: flex-end; }
}

/* ---------- nastavitve: vrstica z besedilom in kontrolnikom ---------- */
.acc-settings { display: grid; gap: 0; padding-top: 4px; padding-bottom: 4px; }
.acc-setting { border: 0; margin: 0; padding: 16px 0; min-width: 0; display: grid; gap: 10px; }
.acc-setting + .acc-setting { border-top: 1px solid var(--line); }
.acc-setting__text { display: grid; gap: 2px; padding: 0; float: left; width: 100%; }
.acc-setting__text b { font-weight: 600; font-size: 14px; }
.acc-setting__text span { font-size: 13px; color: var(--muted); }
.acc-setting .segmented { justify-self: start; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.acc-setting .segmented span .ico { margin-right: 2px; }
@media (min-width: 720px) {
    .acc-setting { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
    .acc-setting__text { float: none; }
    .acc-setting .switch { grid-column: 1 / -1; }
}

/* ---------- vrstica z ikono ---------- */
.acc-line { display: flex; align-items: center; gap: 14px; }
.acc-line__icon {
    flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: var(--surface-3); color: var(--text-2);
}
.acc-line__main { flex: 1; min-width: 0; display: grid; gap: 2px; }
.acc-line__main b { font-weight: 600; }
/* telefon: gumb vrstice pod besedilo (sicer je besedilo stisnjeno v ozek stolpec) */
@media (max-width: 520px) { .acc-line { flex-wrap: wrap; } .acc-line__main { flex-basis: calc(100% - 60px); } .acc-line > .btn { margin-left: 54px; } }
.acc-pending { align-items: center; }
.acc-pending__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.acc-pending__text b { overflow-wrap: anywhere; }

/* pogovorno okno z obrazcem (WebKit: brez višine 0) */
.acc-dlg-form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.acc-dlg-form .dlg__body { flex: 1 1 auto; }
.acc-dlg-form .field + .field { margin-top: 0; }

/* geslo: pokaži/skrij, merilnik moči */
.acc-pass { position: relative; }
.acc-pass .input { padding-right: 44px; }
.acc-pass__toggle { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.acc-pass__toggle[aria-pressed="true"] { color: var(--brand); }
.acc-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 4px; }
.acc-meter span { border-radius: 2px; background: var(--surface-3); transition: background var(--t) var(--ease); }
.acc-meter[data-level="1"] span:nth-child(-n+1) { background: var(--danger); }
.acc-meter[data-level="2"] span:nth-child(-n+2) { background: var(--warn); }
.acc-meter[data-level="3"] span:nth-child(-n+3) { background: var(--ok); }
.acc-meter[data-level="4"] span { background: var(--ok); }

/* ---------- moji klubi ---------- */
.acc-clubs { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .acc-clubs { grid-template-columns: 1fr 1fr; } }
.acc-club { display: grid; gap: 14px; padding: 16px; align-content: start; }
.acc-club.is-default { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); }
.acc-club__top { display: flex; align-items: center; gap: 12px; }
.acc-club__name { flex: 1; min-width: 0; display: grid; gap: 1px; }
.acc-club__name a { color: var(--text); text-decoration: none; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-club__name a:hover { color: var(--brand); }
.acc-club__name span { font-size: 13px; color: var(--muted); }
.acc-star { color: var(--faint); }
.acc-star:hover { color: var(--text-2); }
.acc-star[aria-pressed="true"] { color: var(--brand); }
.acc-star[aria-pressed="true"] svg { fill: currentColor; }
.acc-star svg { transition: transform var(--t-fast) var(--ease); }
.acc-star:active svg { transform: scale(.85); }
.acc-club__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.acc-club__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; margin: 0; }
.acc-club__stats div { padding: 10px 12px; border-radius: var(--r-ctl); background: var(--surface-2); border: 1px solid var(--line); min-width: 0; }
.acc-club__stats dt { font-size: 12px; color: var(--muted); font-weight: 500; }
.acc-club__stats dd { margin: 2px 0 0; font-weight: 650; font-size: 16px; letter-spacing: -.01em; }
.acc-club__stats .is-warn { background: var(--warn-soft); border-color: transparent; }
.acc-club__stats .is-warn dd, .acc-club__stats .is-warn dt { color: var(--warn); }
.acc-club__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.acc-club__more { margin-left: auto; }
.acc-danger-item { color: var(--danger) !important; }
.acc-danger-item:hover { background: var(--danger-soft) !important; }
.acc-req-end { display: flex; align-items: center; gap: 8px; }
.acc-find {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-card);
    border: 1px dashed var(--line-strong); color: var(--text-2); margin-top: 20px !important;
    transition: border-color var(--t-fast), background var(--t-fast);
}
.acc-find:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--text); }
.acc-find__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); flex: none; }
.acc-find__text { flex: 1; display: grid; gap: 1px; }
.acc-find__text b { font-weight: 600; }
.acc-find__text span { font-size: 13px; color: var(--muted); }
.acc-find__go { color: var(--faint); }

/* ---------- rezervacije ---------- */
.acc-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.acc-filter__form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.acc-filter__form .select { width: auto; min-width: 160px; max-width: 100%; }
.acc-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; }
.acc-chip-check { position: relative; }
.acc-chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.acc-chip-check:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--surface); }
.acc-chip-check:has(input:focus-visible) { box-shadow: var(--focus); }

.acc-res-list { list-style: none; margin: 0; padding: 0; }
.acc-res {
    display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
.acc-res:last-child { border-bottom: 0; }
.acc-res__when {
    grid-row: span 2; align-self: start; display: grid; justify-items: center; gap: 0; padding: 6px 0 7px;
    border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); line-height: 1.1;
}
.acc-res__dow { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.acc-res__day { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.acc-res__mon { font-size: 11px; color: var(--muted); }
.acc-res.is-today .acc-res__when { background: var(--brand-soft); border-color: transparent; }
.acc-res.is-today .acc-res__dow { color: var(--brand); }
.acc-res.is-past .acc-res__when { opacity: .7; }
.acc-res__main { min-width: 0; display: grid; gap: 3px; }
.acc-res__time { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.acc-res__time b { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.acc-res__where { font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.acc-res__where a { color: inherit; font-weight: 550; text-decoration: none; }
.acc-res__where a:hover { color: var(--brand); }
.acc-res__players, .acc-res__note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.acc-res__players span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-res__end { grid-column: 1 / -1; display: grid; justify-items: start; gap: 8px; margin-top: 8px; }
/* akcije: na telefonu trak čez vso širino (enaka polja, ikona nad napisom), stalni vrstni red Odpri · Dodaj v koledar · Odpovej */
.acc-res__actions {
    justify-self: stretch; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line);
}
.acc-res__actions .acc-act {
    --btn-bg: var(--surface); --btn-bd: transparent; height: auto; min-height: 50px; padding: 7px 4px; flex-direction: column; gap: 3px;
    border: 0; border-radius: 0; font-size: 12px; font-weight: 600; line-height: 1.15; white-space: normal; text-align: center;
}
.acc-res__actions .acc-act .ico { width: 18px; height: 18px; }
@media (hover: hover) { .acc-res__actions .acc-act:hover { --btn-bg: var(--surface-2); } .acc-res__actions .acc-act--danger:hover { --btn-bg: var(--danger-soft); } }
.acc-res__actions .acc-act:active { transform: none; --btn-bg: var(--surface-3); }
.acc-res__actions .acc-act.btn--primary { --btn-bg: var(--brand); --btn-fg: var(--brand-ink); box-shadow: none; }
.acc-act--danger { --btn-fg: var(--danger); }
.acc-act--brand .ico { color: var(--brand); }
.acc-cal-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 550; color: var(--text-2); text-decoration: none; }
.acc-cal-link:hover { color: var(--brand); }
/* čakam na termin (»Obvesti me, ko se sprosti«) */
.acc-watch-list { list-style: none; margin: 0; padding: 4px 0; }
.acc-watch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; }
.acc-watch + .acc-watch { border-top: 1px solid var(--line); }
.acc-watch__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.acc-watch__txt { display: grid; gap: 1px; min-width: 0; }
.acc-watch__txt b { font-size: 14.5px; }
.acc-watch__txt span { font-size: 12.5px; color: var(--muted); }
.acc-watch-hint { margin: 8px 2px 0; }
.acc-res__actions form { display: contents; }
@media (min-width: 720px) {
    .acc-res { grid-template-columns: 56px 1fr auto; align-items: center; padding: 14px 20px; }
    .acc-res__when { grid-row: auto; }
    .acc-res__end { grid-column: auto; justify-items: end; align-content: center; margin-top: 0; }
    .acc-res__actions { justify-self: end; display: flex; gap: 6px; border: 0; border-radius: 0; overflow: visible; background: none; }
    .acc-res__actions .acc-act { min-height: 0; height: 32px; padding: 0 12px; flex-direction: row; gap: 6px; border: 1px solid var(--btn-bd); border-radius: 8px; font-size: 13px; white-space: nowrap; }
    .acc-res__actions .acc-act:not(.btn--ghost):not(.btn--primary) { --btn-bd: var(--line-strong); }
    .acc-res__actions .acc-act .ico { width: 16px; height: 16px; }
}
.acc-res-list--compact .acc-res { padding-top: 10px; padding-bottom: 10px; }
/* računalnik: akcije v stalnih stolpcih (Odpri | Dodaj v koledar | Odpovej / Ne morem priti; pretekle: Vpiši rezultat | Ponovi),
   da so v vseh vrsticah poravnane, tudi ko kakšne akcije ni ali je napis različno dolg */
@media (min-width: 1024px) {
    .acc-res__actions { display: grid; grid-template-columns: 7.75rem 10rem 9.25rem; column-gap: 6px; justify-items: start; }
    .acc-res__actions .acc-act--open { grid-column: 1; }
    .acc-res__actions .acc-act--ics, .acc-res__actions .acc-act--result { grid-column: 2; }
    .acc-res__actions .acc-act--danger, .acc-res__actions .acc-act--repeat { grid-column: 3; }
}
.acc-res-list--compact .acc-res__end:empty, .acc-res__actions:empty { display: none; }
.acc-type { background: var(--t-bg, var(--surface-3)); color: var(--t-fg, var(--text-2)); }
.acc-type--single { --t-bg: var(--svc-1); --t-fg: var(--svc-1-ink); }
.acc-type--doubles { --t-bg: var(--svc-2); --t-fg: var(--svc-2-ink); }
.acc-type--club_league { --t-bg: var(--svc-3); --t-fg: var(--svc-3-ink); }
.acc-type--training { --t-bg: var(--svc-4); --t-fg: var(--svc-4-ink); }
.acc-type--tournament { --t-bg: var(--svc-5); --t-fg: var(--svc-5-ink); }
.acc-type--league { --t-bg: var(--svc-6); --t-fg: var(--svc-6-ink); }
.acc-type--maintenance { --t-bg: var(--svc-7); --t-fg: var(--svc-7-ink); }
.acc-type--other { --t-bg: var(--svc-8); --t-fg: var(--svc-8-ink); }
.acc-res.is-leaving { opacity: 0; transform: translateX(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.acc-pager { display: flex; align-items: center; justify-content: center; gap: 12px; }
.acc .acc-pager { margin-top: 16px; }
.card__foot.acc-pager { justify-content: space-between; }
.acc-scope { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-scope legend { margin-bottom: 8px; padding: 0; }

/* ---------- dobroimetje ---------- */
.acc-wallets { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .acc-wallets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .acc-wallets { grid-template-columns: repeat(3, 1fr); } }
.acc-wallet {
    display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r-card); background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--shadow-1); min-width: 0;
    transition: border-color var(--t-fast), box-shadow var(--t) var(--ease), transform var(--t-fast) var(--ease);
}
.acc-wallet:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.acc-wallet:active { transform: scale(.99); }
.acc-wallet.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset, var(--shadow-1); }
.acc-wallet__club { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; margin-bottom: 10px; min-width: 0; }
.acc-wallet__club .club-mark { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.acc-wallet__label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.acc-wallet__value { font-size: 28px; font-weight: 650; letter-spacing: -.035em; line-height: 1.15; }
.acc-wallet__meta { font-size: 12.5px; color: var(--muted); }
.acc-wallet__debt { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--warn); }
.acc-columns { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .acc-columns { grid-template-columns: 3fr 2fr; } }
.acc-columns > section > .acc-section:first-child { margin-top: 28px !important; }
.acc-tx { list-style: none; margin: 0; padding: 0; }
.acc-tx__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.acc-tx__row:last-child { border-bottom: 0; }
@media (min-width: 720px) { .acc-tx__row { padding: 12px 20px; } }
.acc-tx__icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); }
.acc-tx__icon.is-in { background: var(--ok-soft); color: var(--ok); }
.acc-tx__icon.is-out { background: var(--surface-3); color: var(--text-2); }
.acc-tx__main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.acc-tx__main b { font-weight: 550; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-tx__main span { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-tx__end { flex: none; display: grid; justify-items: end; gap: 1px; text-align: right; }
.acc-tx__end b { font-weight: 650; font-size: 14.5px; }
.acc-tx__end span { font-size: 12px; color: var(--muted); }
.acc-invoice { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 550; color: var(--brand); }
.acc-invoice:hover { text-decoration: underline; }

/* ---------- obveščanje ---------- */
.acc-unsub { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; padding: 20px; }
.acc-unsub__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.acc-unsub.is-done .acc-unsub__icon { background: var(--ok-soft); color: var(--ok); }
.acc-unsub__text { display: grid; gap: 4px; }
.acc-unsub__text h2 { font-size: 17px; }
.acc-unsub__text p { color: var(--muted); font-size: 14px; }
.acc-unsub form { grid-column: 1 / -1; }
.acc-unsub form .btn { width: 100%; }
@media (min-width: 720px) {
    .acc-unsub { grid-template-columns: auto 1fr auto; }
    .acc-unsub form { grid-column: auto; }
    .acc-unsub form .btn { width: auto; }
}

.acc-viber__body { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; }
/* koledar v telefonu (naročnina .ics) */
.acc-cal, .acc-push, .acc-viber, #kaj-kam { scroll-margin-top: calc(var(--topbar-h, 64px) + 16px); }
.acc-cal__body { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; align-items: center; }
.acc-cal__logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
/* urejeno (telefon vklopljen, Viber povezan, koledar se osvežuje): strnjena kartica – ikona, naslov s kljukico, Odklopi */
.acc-done .card__body.acc-cal__body, .acc-done .card__body.acc-viber__body { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.acc-done .acc-cal__logo, .acc-done .acc-viber__logo { width: 36px; height: 36px; border-radius: 10px; }
.acc-done .acc-cal__logo .ico, .acc-done .acc-viber__logo .ico { width: 20px; height: 20px; }
.acc-done .acc-viber__text { gap: 1px; }
.acc-done .acc-viber__text > p:not(.acc-ok), .acc-done .acc-push__guide { display: none; }
.acc-done .acc-viber__action, .acc-done .acc-push__state, .acc-done .acc-done__act { grid-column: auto; min-height: 0; }
.acc-done .acc-ok .ico { flex: none; }
.acc-cal__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.acc-push__logo { background: color-mix(in srgb, var(--info) 14%, var(--surface)); color: var(--info); }
.acc-push__state { grid-column: 1 / -1; display: grid; gap: 8px; min-height: 36px; align-content: center; }
.acc-push__state > .btn--primary { width: 100%; }
@media (min-width: 720px) { .acc-push__state > .btn--primary { width: auto; justify-self: start; } }
.acc-push__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-push__note { margin: 0; }
.acc-push__guide { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--brand); text-decoration: none; }
.acc-push__guide .ico { flex: none; }
@media (hover: hover) { .acc-push__guide:hover span { text-decoration: underline; text-underline-offset: 2px; } }
.acc-cal__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 10px; border-top: 1px solid var(--line); }
.acc-cal__foot p { margin: 0; max-width: 60ch; }
@media (max-width: 520px) { .acc-cal__actions .btn { flex: 1 1 100%; } }
.acc-viber__logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, #7360f2 14%, var(--surface)); color: #7360f2; }
.acc-viber.is-on .acc-viber__logo { background: #7360f2; color: #fff; }
.acc-viber__text { display: grid; gap: 3px; min-width: 0; }
.acc-viber__text h2 { font-size: 15px; }
.acc-viber__action { grid-column: 1 / -1; }
.acc-viber__action .btn--primary { width: 100%; }
@media (min-width: 720px) {
    .acc-viber__body { grid-template-columns: auto 1fr auto; }
    .acc-viber__action { grid-column: auto; }
    .acc-viber__action .btn--primary { width: auto; }
}
.acc-viber__steps { border-top: 1px solid var(--line); padding: 16px 20px 18px; background: var(--surface-2); border-radius: 0 0 var(--r-card) var(--r-card); animation: acc-in var(--t) var(--ease); }
.acc-viber__steps ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 14px; }
.acc-viber__steps li { display: grid; gap: 6px; justify-items: start; }
.acc-viber__steps li::marker { font-weight: 700; color: var(--muted); }
.acc-viber__steps b { font-weight: 550; font-size: 14px; }
.acc-code { font: 700 22px/1 var(--mono); letter-spacing: .18em; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--surface); border: 1px dashed var(--line-strong); user-select: all; }
.acc-viber__wait { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.acc-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-4px); } }

.acc-matrix { display: grid; }
.acc-matrix__row { display: grid; grid-template-columns: 1fr repeat(3, 60px); align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
/* brez stolpca Viber (ni povezan) ostaneta e-pošta in V ORTI */
.acc-matrix:not(:has(.acc-matrix__row--head > :nth-child(4))) .acc-matrix__row { grid-template-columns: 1fr repeat(2, 60px); }
@media (max-width: 420px) { .acc-matrix__row { grid-template-columns: 1fr repeat(3, 50px); gap: 4px; padding-inline: 12px; } .acc-matrix:not(:has(.acc-matrix__row--head > :nth-child(4))) .acc-matrix__row { grid-template-columns: 1fr repeat(2, 54px); } }
/* štirje kanali (z napravo: Telefon) */
.acc-matrix:has(.acc-matrix__row--head > :nth-child(5)) .acc-matrix__row { grid-template-columns: 1fr repeat(4, 56px); }
@media (max-width: 420px) { .acc-matrix:has(.acc-matrix__row--head > :nth-child(5)) .acc-matrix__row { grid-template-columns: 1fr repeat(4, 46px); gap: 3px; padding-inline: 10px; } .acc-matrix:has(.acc-matrix__row--head > :nth-child(5)) .acc-matrix__row--head .acc-matrix__ch { font-size: 10.5px; } }
.acc-matrix__row--head { padding-top: 10px; padding-bottom: 10px; background: var(--surface-2); font-size: 12.5px; font-weight: 600; color: var(--muted); }
.acc-matrix__group { padding: 16px 16px 6px; font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.acc-matrix__label { display: grid; gap: 2px; min-width: 0; }
.acc-matrix__label b { font-weight: 550; font-size: 14px; }
.acc-matrix__label span { font-size: 12.5px; color: var(--muted); }
.acc-matrix__label .acc-matrix__must { display: flex; align-items: flex-start; gap: 5px; }
.acc-matrix__must .ico { width: 13px; height: 13px; flex: none; margin-top: 2px; }
.switch.is-locked { opacity: .55; cursor: not-allowed; }
.acc-matrix__ch { display: flex; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.acc-matrix__row--head .acc-matrix__ch { flex-direction: column; gap: 2px; font-size: 11.5px; }
.acc-matrix__ch .switch { gap: 0; }
.acc-matrix__na { color: var(--faint); }
@media (min-width: 720px) {
    .acc-matrix__row { grid-template-columns: 1fr repeat(3, 96px); padding-left: 20px; padding-right: 20px; }
    /* brez stolpca Viber: e-pošta in V ORTI */
    .acc-matrix:not(:has(.acc-matrix__row--head > :nth-child(4))) .acc-matrix__row { grid-template-columns: 1fr repeat(2, 96px); }
    .acc-matrix__row--head .acc-matrix__ch { flex-direction: row; font-size: 12.5px; }
    .acc-matrix__group { padding-left: 20px; }
    .acc-matrix:has(.acc-matrix__row--head > :nth-child(5)) .acc-matrix__row { grid-template-columns: 1fr repeat(4, 88px); }
}
.acc-matrix__after { display: grid; gap: 16px; border-top: 0; }
.acc-matrix__after .hint { display: flex; gap: 6px; align-items: flex-start; }
.acc-required { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); padding: 10px 12px; border-radius: var(--r-ctl); background: var(--surface-2); }
.acc-required .ico { margin-top: 2px; flex: none; }
.acc-foot-split { justify-content: space-between; flex-wrap: wrap; }
/* samodejno shranjevanje nastavitev obvestil (Nenad, 19. 11. 2026) */
.acc-autosave { /* plavajoča oznaka na dnu zaslona (pri dolgem seznamu je glava kartice izven pogleda), nad spodnjim menijem */
    position: fixed; z-index: 40; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 40px); transform: translate(-50%, 6px);
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap;
    color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2);
    opacity: 0; pointer-events: none; transition: opacity var(--t-fast, .15s) ease, transform var(--t-fast, .15s) ease;
}
.acc-autosave.is-saving, .acc-autosave.is-saved { opacity: 1; transform: translate(-50%, 0); }
.acc-autosave.is-saved { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.acc-autosave.is-saved::before { content: "✓"; font-weight: 800; }
@media (min-width: 1024px) { .acc-autosave { bottom: 28px; } }
form.is-autosave [data-autosave-btn] { display: none; }
@media (prefers-reduced-motion: reduce) { .acc-autosave { transition: none; transform: translate(-50%, 0); } }
.acc-foot-split > :only-child { margin-left: auto; }
.acc-foot-split > .btn--primary { margin-left: auto; } /* Shrani vedno desno, tudi ko se vrstica prelomi */
.acc-foot-split .btn--ghost { padding-inline: 0; } /* sekundarna povezava poravnana z vsebino kartice */

/* ---------- izbris ---------- */
.acc-danger { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
.acc-danger .card__head h2 { color: var(--danger); }
.acc-consequences { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-consequences li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.acc-consequences .ico { margin-top: 2px; color: var(--muted); }
.acc-consequences .is-warn, .acc-consequences .is-warn .ico { color: var(--warn); font-weight: 550; }
.acc-delete-form { max-width: 420px; padding-top: 8px; border-top: 1px solid var(--line); }
.acc-delete-form .field + .field { margin-top: 0; }

/* ---------- Moje v klubu ---------- */
/* telefon in tablica: rezervira se z gumbom + v spodnji vrstici */
@media (max-width: 1023px) { .acc-mine__book { display: none; } }
.acc-join { align-items: center; flex-wrap: wrap; }
.acc-join__text { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.acc-join__text b { color: inherit; }

/* sistemsko obvestilo (.notice-bar) je v app.css – uporablja ga tudi pasica »Dodaj ORTI na začetni zaslon« */
.notice-bar.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }

/* ---------- O klubu ---------- */
.club-mark--xl { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }
.ci-grid { display: grid; gap: 16px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) { .ci-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; } .ci-aside { position: sticky; top: calc(var(--topbar-h) + 20px); } }
.ci-main > * + * { margin-top: 0; }
.ci-desc { color: var(--text-2); line-height: 1.65; max-width: 70ch; }
.ci-free { display: flex; align-items: center; gap: 10px; color: var(--ok); font-weight: 550; }

.ci-table-wrap { display: none; }
.ci-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.ci-table td { font-weight: 600; font-size: 15px; }
.ci-table td.muted { font-weight: 500; font-size: 14px; }
.ci-table tr.is-mine th, .ci-table tr.is-mine td { background: color-mix(in srgb, var(--brand-soft) 60%, transparent); }
.ci-table tbody tr:last-child td, .ci-table tbody tr:last-child th { border-bottom: 1px solid var(--line); }
.ci-table tbody th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; background: none; color: var(--text); font-size: 14px; }
.ci-cards { display: grid; gap: 8px; padding: 12px 16px 4px; }
.ci-pcard { padding: 12px 14px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface-2); }
.ci-pcard.is-mine { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); background: var(--brand-soft); }
.ci-pcard b { font-weight: 650; display: flex; align-items: center; gap: 6px; }
.ci-pcard dl { margin: 8px 0 0; display: grid; gap: 4px; }
.ci-pcard dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ci-pcard dt { color: var(--muted); }
.ci-pcard dd { margin: 0; font-weight: 650; }
.ci-pcard dd.muted { font-weight: 500; }
@media (min-width: 640px) {
    .ci-table-wrap { display: block; overflow-x: auto; }
    .ci-cards { display: none; }
}
.ci-notes { display: grid; gap: 14px; }
.ci-notes h3 { font-size: 13.5px; color: var(--text-2); }
.ci-exc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ci-exc li { display: grid; gap: 6px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.ci-exc li:last-child { border-bottom: 0; padding-bottom: 0; }
.ci-exc__when { font-size: 14px; }
.ci-exc__prices { display: flex; flex-wrap: wrap; gap: 6px; }
.ci-chip { height: 28px; padding: 0 10px; font-size: 12.5px; cursor: default; gap: 6px; }
.ci-chip b { color: var(--text); }
.ci-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ci-rules li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.ci-rules .ico { margin-top: 2px; color: var(--muted); flex: none; }

.ci-badges { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ci-badges { grid-template-columns: repeat(2, 1fr); } }
.ci-badge { padding: 16px; display: grid; gap: 12px; align-content: start; }
.ci-badge.is-mine { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
.ci-badge__head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.ci-badge__head h3 { font-size: 15.5px; }
.ci-badge__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ci-badge__price { font-size: 20px; letter-spacing: -.02em; }
.ci-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ci-perks li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-2); }
.ci-perks .ico { color: var(--ok); margin-top: 2px; flex: none; }
.ci-badge__foot { display: flex; align-items: center; justify-content: flex-end; }
.ci-packages .list__end { grid-auto-flow: column; align-items: center; gap: 10px; }
.ci-packages .list__end b { font-size: 15px; }
.ci-foot-note { justify-content: flex-start; }
.ci-group h3 { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.ci-courts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .ci-courts { grid-template-columns: repeat(2, 1fr); } }
.ci-courts li { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface-2); }
.ci-courts b { font-weight: 600; }
.ci-courts__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ci-courts__tags .badge { background: var(--surface); border: 1px solid var(--line); height: 20px; font-size: 11.5px; }
.ci-courts__tags .badge--brand { background: var(--brand-soft); border-color: transparent; }

.ci-contact { list-style: none; margin: 0; padding: 8px 20px 16px; display: grid; }
.ci-contact li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; font-size: 14px; }
.ci-contact li:last-child { border-bottom: 0; }
.ci-contact li > .ico { color: var(--muted); margin-top: 1px; }
.ci-contact li > div { display: grid; gap: 1px; min-width: 0; }
.ci-contact a:not([class]), .ci-contact a.truncate, .ci-contact a.tnum { color: var(--text); text-decoration: none; font-weight: 550; }
.ci-contact a:hover { color: var(--brand); }
.ci-contact__links { display: flex; gap: 12px; margin-top: 4px; }
.ci-contact__links a { font-size: 13px; color: var(--brand) !important; text-decoration: none; }
.ci-hours { list-style: none; margin: 0; padding: 8px 12px 12px; display: grid; gap: 2px; }
.ci-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 8px; border-radius: 8px; font-size: 14px; }
.ci-hours li span { color: var(--text-2); }
.ci-hours li b { font-weight: 600; }
.ci-hours li.is-today { background: var(--brand-soft); }
.ci-hours li.is-today span, .ci-hours li.is-today b { color: var(--brand); }
.ci-closures { padding: 12px 20px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ci-closures h3 { font-size: 13px; color: var(--muted); }
.ci-closures ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ci-closures li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
    .notice-bar, .acc-viber__steps { animation: none; }
}

/* rezultat pretekle tekme (posamezno, dvojice) */
.acc-res__result { margin-top: 6px; }
.acc-res__score { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 10px; border-radius: var(--r-full); background: var(--surface-2); color: var(--text); font-size: 13px; text-decoration: none; }
.acc-res__score b { font-size: 14px; }
.acc-res__score--won span:first-of-type { color: var(--ok); font-weight: 650; }
.acc-res__score--lost span:first-of-type { color: var(--danger); font-weight: 650; }
.acc-res__pending { color: var(--muted); }
.acc-res__enter .ico { color: var(--brand); }

/* Moje: ikona vstopa (ocena kartice, statistika, dvoboji, lestvica) */
.acc-mycard__rating { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: #241005; background: linear-gradient(155deg, #ffc896, #c27a3f); }
.acc-mycard__rating--gold { color: #241800; background: linear-gradient(155deg, #ffe08a, #c9971c); }
.acc-mycard__rating--silver { color: #121a26; background: linear-gradient(155deg, #f4f7fb, #a9b5c7); }
.acc-mycard__rating--none { color: var(--brand); background: var(--brand-soft); }
.acc-mycard__rating--stats { color: var(--info); background: var(--info-soft); }
.acc-mycard__rating--duels { color: var(--brand); background: var(--brand-soft); }
.acc-mycard__rating--board { color: #241800; background: linear-gradient(155deg, #ffe08a, #c9971c); font-size: 18px; }
/* O klubu: obvestila kluba (zadnja 3) */
.ci-notices .list__item { color: inherit; text-decoration: none; }
.ci-notices__ic { width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
/* Moje › Moja igrišča */
.acc-mycourts { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px; }
.acc-mycourts__head { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; }
.acc-mycourts__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.acc-mycourts__head h2 { margin: 0; font-size: 16px; }
.acc-mycourts__head p { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.acc-mycourts__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-mycourts__all { justify-self: start; } /* »Igram na vseh igriščih«, dokler igralec ni izbiral */
/* izbrana igrišča: kljukica (barva izbranega čipa je splošna v app.css) */
.acc-mycourts__chips .chip[aria-pressed="true"]::before {
    content: ""; width: 14px; height: 14px; margin-left: -3px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Profil › Vaša ikona: slika (pomanjšana na 160 px) */
.acc-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.acc-photo label.btn { cursor: pointer; }
.acc-photo label.btn:focus-within { box-shadow: var(--focus); }
.acc-photo__rm { color: var(--danger); }
.acc-photo .hint { flex-basis: 100%; margin: 0; }

/* Moje (Nenad, 11. 11. 2026): značka in dobroimetje na vrhu, mreža vstopov, zavihka rezervacij */
.acc-mw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
@media (min-width: 900px) { .acc-mw { gap: 12px; } }
@media (max-width: 340px) { .acc-mw { grid-template-columns: minmax(0, 1fr); } }
.acc-mw__cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 14px; }
.acc-mw__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; min-width: 0; }
.acc-mw__ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.acc-mw__ic .ico { width: 18px; height: 18px; }
.acc-mw__ic--credit { background: var(--ok-soft); color: var(--ok); }
.acc-mw__label { font-size: 13px; font-weight: 550; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-mw__value { font-size: 19px; letter-spacing: -.015em; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-mw__meta { font-size: 12.5px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.acc-mw__meta:empty { display: none; }
.acc-mw__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: auto; padding-top: 12px; }
.acc-mw__act:empty { display: none; }
.acc-mw__act .btn { white-space: nowrap; }
.acc-mw__link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; color: var(--brand); text-decoration: none; white-space: nowrap; }
.acc-mw__link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* zgodovina dobroimetja: ura v kotu kartice (gumba v obeh karticah ostaneta poravnana) */
.acc-mw__corner { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin: -4px -8px -4px auto; border-radius: 50%; color: var(--muted); }
.acc-mw__corner .ico { width: 17px; height: 17px; }
.acc-mw__corner:hover { background: var(--surface-2); color: var(--brand); }
@media (max-width: 420px) { /* telefon: ozke polovice – napis »Dobroimetje« in ura morata biti v eni vrsti */
    .acc-mw__cell { padding: 14px 12px; }
    .acc-mw__head { gap: 6px; }
    .acc-mw__ic { width: 28px; height: 28px; border-radius: 9px; }
    .acc-mw__ic .ico { width: 16px; height: 16px; }
    .acc-mw__label { font-size: 12.5px; }
    .acc-mw__corner { width: 26px; margin-right: -8px; }
}

/* Moje › »Tvoja igra«: zabavni del v svoji plošči (Nenad, 11. 11. 2026) – svetli način nežno obarvan, temni način temen s sijem
   (kot glava prijave); barve prek spremenljivk, temne vrednosti spodaj */
.acc-fun {
    --fun-glow-a: rgb(240 80 29 / .14); --fun-glow-b: rgb(99 102 241 / .12); --fun-base: linear-gradient(160deg, #fbf8ff, #fff5ef);
    --fun-fg: var(--text); --fun-muted: var(--muted); --fun-bd: color-mix(in srgb, var(--brand) 14%, var(--line)); --fun-shadow: var(--shadow-1);
    --fun-tile: rgb(255 255 255 / .82); --fun-tile-bd: rgb(255 255 255 / .95); --fun-tile-h: #fff; --fun-tile-bd-h: color-mix(in srgb, var(--brand) 45%, transparent);
    --fun-line: rgb(17 24 39 / .06); --fun-ic-bg: #fff; --fun-ic-fg: var(--brand); --fun-tile-shadow: 0 1px 2px rgb(17 24 39 / .05), 0 4px 14px -6px rgb(17 24 39 / .12);
    position: relative; isolation: isolate; overflow: hidden; margin-top: 16px; padding: 14px 14px 16px; border-radius: 22px; color: var(--fun-fg);
    border: 1px solid var(--fun-bd); box-shadow: var(--fun-shadow);
    background:
        radial-gradient(420px 260px at 100% 0%, var(--fun-glow-a), transparent 70%),
        radial-gradient(380px 260px at 0% 100%, var(--fun-glow-b), transparent 70%),
        var(--fun-base);
}
.acc-fun::after { /* črte igrišča */
    content: ""; position: absolute; z-index: -1; right: -60px; bottom: -70px; width: 320px; height: 190px; pointer-events: none;
    border: 1.5px solid var(--fun-line); border-radius: 6px; transform: rotate(-8deg);
    background: linear-gradient(var(--fun-line), var(--fun-line)) center / 1.5px 100% no-repeat;
}
.acc-fun__head { display: flex; align-items: center; gap: 8px; margin: 2px 2px 12px; }
.acc-fun__head h2 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; color: var(--fun-fg); }
.acc-fun__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--fun-ic-bg); color: var(--fun-ic-fg); box-shadow: var(--fun-tile-shadow); }
.acc-fun .acc-tiles { margin-top: 0; }
.acc-fun .acc-tile {
    background: var(--fun-tile); border: 1px solid var(--fun-tile-bd); box-shadow: var(--fun-tile-shadow); color: var(--fun-fg);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
@media (hover: hover) { .acc-fun .acc-tile:hover { background: var(--fun-tile-h); border-color: var(--fun-tile-bd-h); } }
.acc-fun .acc-tile:active { transform: scale(.98); }
.acc-fun .acc-tile > b { color: var(--fun-fg); }
.acc-fun .acc-tile > span:last-child { color: var(--fun-muted); }
/* temni način: temna plošča s sijem in steklene kartice */
:root[data-theme="dark"] .acc-fun {
    --fun-glow-a: rgb(240 80 29 / .42); --fun-glow-b: rgb(99 102 241 / .32); --fun-base: linear-gradient(160deg, #141a3a, #0b1024);
    --fun-fg: #fff; --fun-muted: rgb(255 255 255 / .66); --fun-bd: rgb(255 255 255 / .08); --fun-shadow: none;
    --fun-tile: rgb(255 255 255 / .07); --fun-tile-bd: rgb(255 255 255 / .12); --fun-tile-h: rgb(255 255 255 / .11); --fun-tile-bd-h: rgb(255 255 255 / .28);
    --fun-line: rgb(255 255 255 / .07); --fun-ic-bg: rgb(255 255 255 / .12); --fun-ic-fg: #ffb48f; --fun-tile-shadow: none;
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .acc-fun {
        --fun-glow-a: rgb(240 80 29 / .42); --fun-glow-b: rgb(99 102 241 / .32); --fun-base: linear-gradient(160deg, #141a3a, #0b1024);
        --fun-fg: #fff; --fun-muted: rgb(255 255 255 / .66); --fun-bd: rgb(255 255 255 / .08); --fun-shadow: none;
        --fun-tile: rgb(255 255 255 / .07); --fun-tile-bd: rgb(255 255 255 / .12); --fun-tile-h: rgb(255 255 255 / .11); --fun-tile-bd-h: rgb(255 255 255 / .28);
        --fun-line: rgb(255 255 255 / .07); --fun-ic-bg: rgb(255 255 255 / .12); --fun-ic-fg: #ffb48f; --fun-tile-shadow: none;
    }
    :root:not([data-theme="light"]) .acc-fun .acc-mycard__rating--stats { background: rgb(96 165 250 / .2); color: #93c5fd; }
    :root:not([data-theme="light"]) .acc-fun .acc-mycard__rating--duels, :root:not([data-theme="light"]) .acc-fun .acc-mycard__rating--none { background: rgb(240 80 29 / .2); color: #ff9a76; }
}
:root[data-theme="dark"] .acc-fun .acc-mycard__rating--stats { background: rgb(96 165 250 / .2); color: #93c5fd; }
:root[data-theme="dark"] .acc-fun .acc-mycard__rating--duels, :root[data-theme="dark"] .acc-fun .acc-mycard__rating--none { background: rgb(240 80 29 / .2); color: #ff9a76; }
@media (prefers-reduced-motion: reduce) { .acc-fun .acc-tile { transition: none; } }

.acc-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .acc-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.acc-tile { display: grid; align-content: start; gap: 4px; padding: 14px; color: var(--text); text-decoration: none; }
@media (hover: hover) { .acc-tile:hover { border-color: var(--brand); } }
.acc-tile .acc-mycard__rating { width: 42px; height: 42px; border-radius: 12px; font-size: 18px; margin-bottom: 6px; }
.acc-tile > b { font-size: 14.5px; line-height: 1.25; }
.acc-tile > span:last-child { font-size: 12.5px; line-height: 1.4; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.acc-restabs { margin-top: 26px; scroll-margin-top: calc(var(--topbar-h) + 12px); }
.acc-restabs__head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.acc-restabs__head .section-title { margin: 0; }
.acc-restabs__tabs a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: inherit; }
.acc-restabs__tabs [aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-1); }
.acc-restabs__n { min-width: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 18px; text-align: center; }
@media (max-width: 560px) {
    .acc-restabs__tabs { display: flex; width: 100%; }
    .acc-restabs__tabs a { flex: 1; justify-content: center; }
}
.acc-subtitle { margin: 22px 0 10px; font-size: 15px; }

/* ---------- Moje › Prvi koraki (Nenad, 11. 11. 2026): napredek in štirje koraki; urejeni s kljukico, neurejeni vodijo naprej ---------- */
.acc-setup { position: relative; margin: 0 0 14px; padding: 16px; overflow: hidden; }
.acc-setup::before { /* nežen sij v kotu – kartica je začasna in naj bo opazna, a ne kričeča */
    content: ""; position: absolute; inset: 0 0 auto auto; width: 260px; height: 160px; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 10%, transparent), transparent); transform: translate(30%, -40%);
}
.acc-setup__head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: start; }
.acc-setup__title { display: contents; } /* naslov v vrsti s števcem in ×, uvod pod njimi čez vso širino */
.acc-setup__title h2 { grid-column: 1; grid-row: 1; align-self: center; margin: 0; font-size: 17px; letter-spacing: -.01em; }
.acc-setup__title p { grid-column: 1 / -1; grid-row: 2; margin: 0; max-width: 72ch; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.acc-setup__count { margin-top: 2px; padding: 3px 9px; border-radius: var(--r-full); background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.acc-setup__hide { margin: -4px -6px 0 0; color: var(--muted); }
.acc-setup__bar { position: relative; height: 6px; margin: 14px 0 12px; border-radius: 6px; background: var(--surface-3, var(--line)); overflow: hidden; }
.acc-setup__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--brand); transition: width .5s cubic-bezier(.16, 1, .3, 1); }
.acc-setup__list { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.acc-setup__row {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; height: 100%; padding: 10px 10px 10px 10px;
    border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none;
    transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
a.acc-setup__row:active { transform: scale(.985); }
@media (hover: hover) { a.acc-setup__row:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 3%, var(--surface)); } }
a.acc-setup__row:focus-visible { outline: none; box-shadow: var(--focus); }
.acc-setup__ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.acc-setup__ic .ico { width: 19px; height: 19px; }
.acc-setup__txt { display: grid; gap: 2px; min-width: 0; }
.acc-setup__txt b { font-size: 14px; font-weight: 650; line-height: 1.25; }
.acc-setup__txt span { font-size: 12.5px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
@media (min-width: 561px) { .acc-setup__row { align-items: start; } .acc-setup__go, .acc-setup__state { align-self: center; } } /* naslovi korakov v isti višini */
.acc-setup__go { color: var(--faint, var(--muted)); }
.acc-setup__go .ico { width: 18px; height: 18px; }
.acc-setup__state { font-size: 12px; font-weight: 650; color: var(--ok); white-space: nowrap; }
.acc-setup__step.is-done .acc-setup__row { background: transparent; border-style: dashed; }
.acc-setup__step.is-done .acc-setup__ic { background: var(--ok-soft); color: var(--ok); }
.acc-setup__step.is-done .acc-setup__txt b { color: var(--muted); }
.acc-setup__step.is-done .acc-setup__txt span { display: none; } /* urejeno: samo naslov, manj branja */
.acc-setup.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; }
@media (max-width: 560px) { /* telefon: zbito – koraki samo z naslovom (razlaga je na ciljni strani) */
    .acc-setup { padding: 14px; }
    .acc-setup__title h2 { font-size: 16px; }
    .acc-setup__title p { font-size: 13px; }
    .acc-setup__bar { margin: 12px 0 10px; }
    .acc-setup__list { gap: 6px; }
    .acc-setup__row { grid-template-columns: 32px minmax(0, 1fr) auto; padding: 8px 10px 8px 8px; }
    .acc-setup__ic { width: 32px; height: 32px; border-radius: 10px; }
    .acc-setup__ic .ico { width: 17px; height: 17px; }
    .acc-setup__txt span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .acc-setup__bar i, .acc-setup__row, .acc-setup.is-leaving { transition: none; } a.acc-setup__row:active { transform: none; } }

/* ---------- O klubu: fotografije kluba (do 3) in povečava ---------- */
.ci-photos { display: grid; gap: 8px; margin: 14px 0 0; }
.ci-photo { display: block; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 4 / 3; }
.ci-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ci-photo:hover img { transform: scale(1.025); }
.ci-photo:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ci-photos--n1 .ci-photo { aspect-ratio: 16 / 9; }
.ci-photos--n2 { grid-template-columns: 1fr 1fr; }
.ci-photos--n3 { grid-template-columns: 1fr 1fr; }
.ci-photos--n3 .ci-photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 760px) {
    .ci-photos--n1 .ci-photo { aspect-ratio: 21 / 8; }
    .ci-photos--n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: clamp(280px, 34vw, 420px); }
    .ci-photos--n3 .ci-photo { aspect-ratio: auto; }
    .ci-photos--n3 .ci-photo:first-child { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; }
    .ci-photos--n2 { height: clamp(220px, 28vw, 340px); }
    .ci-photos--n2 .ci-photo { aspect-ratio: auto; }
}
.ci-lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 10 18 / .94); color: #fff; }
.ci-lb::backdrop { background: rgb(8 10 18 / .6); }
.ci-lb[open] { display: grid; place-items: center; }
.ci-lb__img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 8px; user-select: none; }
.ci-lb__btn { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; }
.ci-lb__btn:hover { background: rgb(255 255 255 / .26); }
.ci-lb__close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }
.ci-lb__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.ci-lb__next { right: 12px; top: 50%; transform: translateY(-50%); }
.ci-lb__count { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); left: 50%; transform: translateX(-50%); font-size: 14px; opacity: .8; }
@media (max-width: 640px) { .ci-lb__prev, .ci-lb__next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); transform: none; } }
@media (prefers-reduced-motion: reduce) { .ci-photo img { transition: none; } .ci-photo:hover img { transform: none; } }

/* glava O klubu (Nenad, 15. 11. 2026 – »malo drugače«): pas v barvi kluba (--h iz icon_style) s črtami igrišča,
   znak čez rob pasu, članstvo desno zgoraj, ime, vrstice kraj · stanje · igrišča, Rezerviraj + okrogli gumbi */
.ci-hero { padding: 0; overflow: hidden; }
.ci-hero__band { position: relative; height: 96px; background: linear-gradient(118deg, hsl(var(--h) 62% 46% / .28), hsl(calc(var(--h) + 34) 58% 52% / .10) 72%); }
.ci-hero__band::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 120' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Crect x='10' y='10' width='240' height='100'/%3E%3Cpath d='M10 22.5h240M10 97.5h240M65.4 22.5v75M194.6 22.5v75M65.4 60h129.2'/%3E%3Cpath d='M130 4v112' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat; background-size: auto 76%; background-position: right 18px center; opacity: .6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ci-hero__band::after { opacity: .16; } }
:root[data-theme="dark"] .ci-hero__band::after { opacity: .16; }
.ci-hero__body { display: grid; gap: 6px; min-width: 0; padding: 0 20px 20px; }
.ci-hero__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; min-width: 0; margin: -38px 0 8px; }
.ci-hero__top > .club-mark { position: relative; flex: none; box-shadow: 0 0 0 4px var(--surface), var(--shadow-2); }
.ci-hero__top > .club-mark--logo { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 4px var(--surface), var(--shadow-2); }
.ci-hero__me { display: grid; justify-items: end; gap: 4px; min-width: 0; text-align: right; }
.ci-hero__me-l { font-size: 12px; font-weight: 500; color: var(--muted); }
.ci-hero h1 { font-size: clamp(24px, 3.2vw, 30px); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.ci-hero__line { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.ci-hero__line > .ico { flex: none; width: 16px; height: 16px; color: var(--faint); }
.ci-hero__line > span { min-width: 0; }
.ci-now > i { flex: none; width: 8px; height: 8px; margin: 0 4px; border-radius: 50%; background: var(--faint); }
.ci-now.is-open { color: var(--ok); font-weight: 600; }
.ci-now.is-open > i { background: var(--ok); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 50%, transparent); animation: ci-live 2.4s ease-out infinite; }
@keyframes ci-live { 70%, 100% { box-shadow: 0 0 0 6px transparent; } }
.ci-hero__chips { margin-top: 4px; }
.ci-acts { display: flex; gap: 8px; margin-top: 12px; }
.ci-act { position: relative; display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: 8px; min-width: 0; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none; transition: background-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
.ci-act .ico { flex: none; width: 19px; height: 19px; color: var(--brand); }
.ci-act span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-act--primary { background: var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), var(--shadow-1); color: var(--brand-ink); }
.ci-act--primary .ico { color: inherit; }
/* brez Rezerviraj (gost, nečlan): ikona nad napisom, da se napisi ne odrežejo */
.ci-acts:not(.has-primary) .ci-act { flex: 1 1 0; flex-direction: column; gap: 3px; height: auto; padding: 9px 6px 8px; border-radius: 16px; font-size: 13px; }
.ci-acts:not(.has-primary) .ci-act span { max-width: 100%; }
/* ob Rezerviraj so ostali gumbi okrogli (napis ostane za bralnike zaslona in v title) */
.ci-acts.has-primary .ci-act:not(.ci-act--primary) { flex: none; width: 44px; padding: 0; }
.ci-acts.has-primary .ci-act:not(.ci-act--primary) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ci-act:active { transform: scale(.97); }
@media (hover: hover) {
    .ci-act:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent); }
    .ci-act--primary:hover { background: var(--brand-strong); box-shadow: var(--shadow-1); }
}
.ci-member { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 20px; padding: 14px 0 18px; border-top: 1px solid var(--line); }
.ci-member form { display: inline-flex; }
@media (min-width: 900px) {
    .ci-hero__band { height: 112px; }
    .ci-hero__body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 32px; padding: 0 28px 24px; }
    .ci-hero__body > * { grid-column: 1; }
    .ci-hero__body > .ci-hero__top { grid-column: 1 / -1; }
    .ci-hero__body > .ci-acts { grid-column: 2; grid-row: 2 / span 5; align-self: end; margin: 0; min-width: 300px; }
    .ci-member { margin: 0 28px; }
}
@media (prefers-reduced-motion: reduce) { .ci-now.is-open > i { animation: none; } .ci-act { transition: none; } }

/* O klubu › Kdo lahko rezervira (Nenad, 15. 11. 2026) */
.ci-who { display: grid; gap: 12px; }
.ci-who__intro { display: flex; align-items: flex-start; gap: 10px; margin: 0; color: var(--text-2); }
.ci-who__intro .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.ci-who__list { display: grid; margin: 0; padding: 0; list-style: none; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.ci-who__list li { display: grid; gap: 2px; padding: 11px 14px; }
.ci-who__list li + li { border-top: 1px solid var(--line); }
.ci-who__list li.is-mine { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.ci-who__list b { font-size: 14.5px; font-weight: 650; }
.ci-who__list span:not(.badge) { font-size: 13.5px; color: var(--muted); }
