/* KiedyKoncert.pl — konto: /moje, /moje/wejdz, /moje/rejestracja, /moje/google/zaloz.
   Sternik 26.09.2026, panel /moje przebudowany mobile-first 27.09. Ładowany tylko w tych widokach (link w widoku, jak artist-card.css). */
.acct, .auth {
  --a-bg: #0b1020;
  --a-card: #111725;
  --a-card2: #151c2d;
  --a-line: rgba(255,255,255,.12);
  --a-line2: rgba(255,255,255,.2);
  --a-ink: #f3f5fa;
  --a-ink2: #c9cfdc;
  --a-muted: #a3acbd;
  --a-accent: #9068f6;
  --a-accent-ink: #c4b2ff;
  --a-accent-strong: #6f47e6;
  --a-accent-soft: rgba(144,104,246,.16);
  --a-ok: #5fd4a8;
  --a-warn: #ffb86b;
  --a-danger: #ff8a8a;
  --a-radius: 16px;
  color: var(--a-ink);
}
.acct *, .auth * { box-sizing: border-box; }
.acct { max-width: 920px; margin: 28px auto 72px; }
.acct h2, .acct h3, .auth h1 { color: var(--a-ink); }
.acct-ico { flex: none; }

/* ---------- układ: mobile = jedna kolumna; desktop ≥1024 = panel boczny + treść ---------- */
.acct { display: grid; gap: 16px; align-items: start; }
.acct-side, .acct-main { min-width: 0; }
.acct-side { display: grid; gap: 14px; }
.acct-main { display: grid; gap: 16px; }
.acct [id] { scroll-margin-top: calc(var(--kk-mobile-header-height, 76px) + 16px); }

/* ---------- nagłówek / profil ---------- */
.acct-head { display: grid; gap: 14px; }
.acct-title { margin: 0; font: 600 30px/1.05 var(--font-display, 'Barlow Condensed KK', sans-serif); letter-spacing: -.005em; color: var(--a-ink); }
.acct-profile { display: flex; gap: 12px; align-items: center; min-width: 0; }
.acct-profile-text { min-width: 0; flex: 1; }
.acct-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font: 700 18px/1 var(--font-sans, inherit); color: #fff;
  background: linear-gradient(140deg, #a88bff, #6f47e6 65%);
}
.acct-email {
  margin: 0; font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--a-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.acct-method { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: var(--a-muted); }
.acct-method svg { flex: none; width: 14px; height: 14px; }

/* ---------- lista ustawień (wiersz = etykieta + stan + akcja) ---------- */
.acct-overview ul { list-style: none; margin: 0; padding: 0; border-radius: var(--a-radius); background: var(--a-card); border: 1px solid var(--a-line); overflow: hidden; }
.acct-overview li + li { border-top: 1px solid var(--a-line); }
.acct-row {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px;
  color: var(--a-ink); text-decoration: none; transition: background .15s;
}
.acct-row:hover { background: rgba(255,255,255,.04); color: var(--a-ink); }
.acct-row:focus-visible { outline-offset: -3px; }
.acct-row-ico { flex: none; display: grid; place-items: center; width: 20px; color: var(--a-accent-ink); }
.acct-row-ico .acct-ico { width: 20px; height: 20px; }
.acct-row-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.acct-row-k { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--a-ink); }
.acct-row-v { font-size: 13px; line-height: 1.35; color: var(--a-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-row-v.is-empty { color: var(--a-muted); }
.acct-state { display: inline-flex; align-items: center; gap: 6px; }
.acct-state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.acct-state.is-on { color: var(--a-ok); }
.acct-state.is-off { color: var(--a-warn); }
.acct-row-act { flex: none; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 600; color: var(--a-accent-ink); }
.acct-row-chev { width: 16px; height: 16px; opacity: .8; }
.acct-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 18px;
  border-radius: 12px; background: var(--a-accent-strong); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 22px rgba(111,71,230,.35);
}
.acct-cta:hover { background: #5d36d6; color: #fff; }
.acct-cta .acct-ico { width: 18px; height: 18px; }

/* ---------- sekcje ---------- */
.acct-form { display: grid; gap: 16px; }
.acct-card { padding: 20px; border-radius: var(--a-radius); background: var(--a-card); border: 1px solid var(--a-line); min-width: 0; }
.acct-card-head { margin-bottom: 16px; }
.acct-card-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 19px; line-height: 1.25; font-weight: 700; font-family: var(--font-sans, inherit); }
.acct-card-head h2 .acct-ico { width: 19px; height: 19px; color: var(--a-accent-ink); }
.acct-card-head p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--a-muted); }
.acct-sub { display: block; margin: 22px 0 10px; font-size: 14px; line-height: 1.4; font-weight: 700; color: var(--a-ink); font-family: var(--font-sans, inherit); }
.acct-sub-ico { display: flex; align-items: center; gap: 8px; }
.acct-sub-ico .acct-ico { width: 18px; height: 18px; color: var(--a-accent-ink); }
.acct-card-head + .acct-sub { margin-top: 0; }
.acct-count { color: var(--a-muted); font-weight: 600; }
.acct-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--a-muted); }
.acct-hint-top { margin: -4px 0 12px; }
.acct-empty { margin: 0; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); color: var(--a-ink2); font-size: 14px; line-height: 1.45; }

/* focus — wyraźny, spójny */
.acct :focus-visible, .auth :focus-visible { outline: 3px solid #d9ccff; outline-offset: 2px; }

/* ---------- przełącznik alertów (etykieta z lewej, przełącznik z prawej) ---------- */
.acct-switch { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 48px; padding: 8px 14px; border-radius: 12px; background: var(--a-card2); border: 1px solid var(--a-line); }
.acct-switch input {
  position: absolute; right: 14px; top: 50%; width: 52px; height: 30px; margin: -15px 0 0; opacity: 0; z-index: 2; cursor: pointer;
}
.acct-switch-track {
  flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px;
  background: #2a3244; border: 1px solid var(--a-line2); transition: background .2s, border-color .2s;
}
.acct-switch-thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: #dfe3ec; box-shadow: 0 2px 6px rgba(0,0,0,.4); transition: transform .2s, background .2s;
}
.acct-switch input:checked + .acct-switch-track { background: var(--a-accent-strong); border-color: var(--a-accent); }
.acct-switch input:checked + .acct-switch-track .acct-switch-thumb { transform: translateX(22px); background: #fff; }
.acct-switch input:focus-visible + .acct-switch-track { outline: 3px solid #d9ccff; outline-offset: 3px; }
.acct-switch-label { flex: 1; font-size: 15px; font-weight: 600; color: var(--a-ink); cursor: pointer; margin: 0; }
.acct-consent {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid rgba(255,184,107,.4); background: rgba(255,184,107,.07);
  font-size: 14px; line-height: 1.45; color: var(--a-ink); cursor: pointer;
}
.acct-consent input, .auth-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--a-accent); }

/* ---------- chipy obserwowanych ---------- */
.acct-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.acct-chips:empty { display: none; }
.acct-chip label, .acct-chip-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%;
  padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer;
  background: var(--a-accent-soft); border: 1px solid rgba(144,104,246,.45); color: var(--a-ink);
  font: inherit; font-size: 14px; font-weight: 600; margin: 0;
}
.acct-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.acct-chip-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.acct-chip-x { font-size: 18px; line-height: 1; color: var(--a-accent-ink); }
.acct-chip-undo { display: none; font-size: 12px; color: var(--a-accent-ink); text-decoration: underline; }
.acct-chip label:hover, .acct-chip-btn:hover { border-color: var(--a-accent-ink); background: rgba(144,104,246,.26); }
.acct-chip label:has(input:focus-visible) { outline: 3px solid #d9ccff; outline-offset: 2px; }
.acct-chip label:has(input:not(:checked)) { background: transparent; border-style: dashed; border-color: var(--a-line2); color: var(--a-muted); }
.acct-chip label:has(input:not(:checked)) .acct-chip-name { text-decoration: line-through; }
.acct-chip label:has(input:not(:checked)) .acct-chip-x { display: none; }
.acct-chip label:has(input:not(:checked)) .acct-chip-undo { display: inline; }
.acct-chip.is-new label, .acct-chip.is-mirror .acct-chip-btn { animation: acct-pop .25s ease-out; }
@keyframes acct-pop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- awatary ---------- */
.acct-av {
  flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%;
  color: #fff; font-weight: 700; letter-spacing: .02em; background: #2a3244;
}
.acct-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acct-av-xs { width: 32px; height: 32px; font-size: 12px; }
.acct-av-md { width: 44px; height: 44px; font-size: 15px; }
.acct-av-lg { width: 64px; height: 64px; font-size: 20px; }
.acct-tone-1 { background: linear-gradient(140deg, #8b5cf6, #4c1d95); }
.acct-tone-2 { background: linear-gradient(140deg, #3b82f6, #1e3a8a); }
.acct-tone-3 { background: linear-gradient(140deg, #ec4899, #831843); }
.acct-tone-4 { background: linear-gradient(140deg, #14b8a6, #134e4a); }
.acct-tone-5 { background: linear-gradient(140deg, #f59e0b, #7c2d12); }
.acct-tone-6 { background: linear-gradient(140deg, #6366f1, #312e81); }

/* ---------- wyszukiwarka ---------- */
.acct-search { margin-top: 4px; }
.acct-search-box { position: relative; }
.acct-search-box .acct-ico { position: absolute; left: 14px; top: 50%; margin-top: -10px; color: var(--a-muted); pointer-events: none; }
.acct .acct-search-box input, .acct .acct-input {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
  background: var(--a-bg); color: var(--a-ink); border: 1px solid var(--a-line2);
  font: inherit; font-size: 16px; box-shadow: none;
}
.acct .acct-search-box input { padding-left: 44px; }
.acct .acct-search-box input::placeholder, .acct .acct-input::placeholder { color: #8891a3; }
.acct .acct-search-box input:focus, .acct .acct-input:focus { border-color: var(--a-accent); box-shadow: 0 0 0 3px rgba(144,104,246,.25); outline: none; }
.acct-results {
  list-style: none; margin: 10px 0 0; padding: 6px; border-radius: 14px;
  background: var(--a-card2); border: 1px solid var(--a-line2); box-shadow: 0 16px 40px rgba(0,0,0,.35);
  display: grid; gap: 2px; max-height: 440px; overflow-y: auto;
}
.acct-results[hidden], .acct-empty[hidden] { display: none; }
.acct-result { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; min-width: 0; }
.acct-result:hover { background: rgba(255,255,255,.04); }
.acct-result-body { flex: 1; min-width: 0; display: grid; }
.acct-result-name { color: var(--a-ink); font-weight: 700; font-size: 15px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.acct-result-name:hover { text-decoration: underline; }
.acct-result-meta { font-size: 13px; color: var(--a-muted); }
.acct-result-meta.has-upcoming { color: var(--a-ok); }
.acct-result-btn, .acct-follow {
  flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 38px; padding: 7px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  color: #fff; background: var(--a-accent-strong); border: 1px solid var(--a-accent-strong); white-space: nowrap;
}
.acct-result-btn:hover { background: #5d36d6; }
.acct-result.is-followed .acct-result-btn { color: var(--a-ok); background: rgba(95,212,168,.1); border-color: rgba(95,212,168,.5); }

/* ---------- popularni / blisko: desktop = kafle, mobile = lista wierszy ---------- */
.acct-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.acct-more {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 14px;
  border-radius: 10px; border: 0; background: transparent; color: var(--a-accent-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.acct-more:hover { background: rgba(255,255,255,.04); color: #fff; }
.acct-acard {
  position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 10px 12px; border-radius: 14px; cursor: pointer; margin: 0;
  background: var(--a-card2); border: 1px solid var(--a-line); transition: border-color .15s, background .15s;
}
.acct-acard:hover { border-color: var(--a-accent); }
.acct-acard input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.acct-acard:has(input:focus-visible) { outline: 3px solid #d9ccff; outline-offset: 2px; }
.acct-acard-name { margin-top: 4px; font-weight: 700; font-size: 14px; line-height: 1.25; color: var(--a-ink); overflow-wrap: anywhere; }
.acct-acard-meta { font-size: 12px; color: var(--a-muted); }
.acct-acard .acct-follow { margin-top: auto; min-height: 32px; padding: 5px 12px; font-size: 12px; background: transparent; color: var(--a-accent-ink); border-color: rgba(144,104,246,.6); }
.acct-follow-on { display: none; }
.acct-acard:has(input:checked) { border-color: var(--a-accent); background: linear-gradient(180deg, rgba(144,104,246,.2), var(--a-card2)); }
.acct-acard:has(input:checked) .acct-follow { color: #fff; background: var(--a-accent-strong); border-color: var(--a-accent-strong); }
.acct-acard:has(input:checked) .acct-follow-on { display: inline; }
.acct-acard:has(input:checked) .acct-follow-off { display: none; }
.acct-acard:has(input:checked) .acct-av-lg { box-shadow: 0 0 0 3px var(--a-accent); }

/* ---------- zakres alertów: jedna lista radio zamiast trzech kafli ---------- */
.acct fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.acct-opts { display: grid; border-radius: 12px; border: 1px solid var(--a-line); background: var(--a-card2); overflow: hidden; }
.acct-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; margin: 0; cursor: pointer; transition: background .15s; }
.acct-opt + .acct-opt { border-top: 1px solid var(--a-line); }
.acct-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.acct-opt-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--a-line2); transition: border-color .15s, box-shadow .15s; }
.acct-opt-body { display: grid; gap: 1px; min-width: 0; }
.acct-opt-body strong { font-size: 15px; font-weight: 600; color: var(--a-ink); }
.acct-opt-body span { font-size: 13px; line-height: 1.4; color: var(--a-muted); }
.acct-opt:hover { background: rgba(255,255,255,.03); }
.acct-opt:has(input:checked) { background: var(--a-accent-soft); }
.acct-opt:has(input:checked) .acct-opt-dot { border-color: var(--a-accent); box-shadow: inset 0 0 0 4px var(--a-card2), inset 0 0 0 10px var(--a-accent); }
.acct-opt:has(input:focus-visible) { outline: 3px solid #d9ccff; outline-offset: -3px; }

/* ---------- segmented control ---------- */
.acct-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--a-bg); border: 1px solid var(--a-line2); max-width: 100%; }
.acct-seg-item { position: relative; margin: 0; cursor: pointer; }
.acct-seg-item input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.acct-seg-item span { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--a-ink2); white-space: nowrap; transition: background .15s, color .15s; }
.acct-seg-item:hover span { color: #fff; background: rgba(255,255,255,.05); }
.acct-seg-item input:checked + span { color: #fff; background: var(--a-accent-strong); }
.acct-seg-item input:focus-visible + span { outline: 3px solid #d9ccff; outline-offset: 1px; }

/* ---------- pasek zapisu ---------- */
.acct-savebar {
  position: static; bottom: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 10px 10px 10px 18px; border-radius: 14px;
  background: rgba(17,23,37,.94); border: 1px solid var(--a-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.acct-savebar-msg { margin: 0; font-size: 13px; line-height: 1.4; color: var(--a-muted); }
.acct-savebar.is-dirty { position: sticky; border-color: var(--a-accent); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.acct-savebar.is-dirty .acct-savebar-msg { color: var(--a-ink); font-weight: 600; }
.acct .acct-save, .auth .btn-primary {
  min-height: 48px; padding: 12px 26px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--a-accent-strong); color: #fff; font: inherit; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 22px rgba(111,71,230,.4);
}
.acct .acct-save { flex: none; }
.acct .acct-save:hover, .auth .btn-primary:hover { background: #5d36d6; }

/* ---------- stopka konta: wylogowanie + usuwanie ---------- */
.acct-foot { display: grid; gap: 10px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--a-line); }
.acct-logout { margin: 0; }
.acct-logout-side { display: none; }
.acct-logout-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; width: 100%; padding: 10px 18px;
  border-radius: 12px; border: 1px solid var(--a-line); background: transparent; color: var(--a-ink2);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-align: left;
}
.acct-logout-btn:hover { background: rgba(255,255,255,.05); color: #fff; border-color: var(--a-line2); }
.acct-logout-btn .acct-ico { color: var(--a-muted); }
.acct .btn-ghost, .auth .btn-ghost {
  color: var(--a-ink); background: rgba(255,255,255,.04); border: 1px solid var(--a-line2);
  border-radius: 10px; min-height: 44px; padding: 10px 18px; font-weight: 600; cursor: pointer;
}
.acct .btn-ghost:hover, .auth .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--a-accent-ink); color: #fff; }
.acct-danger { border-radius: 12px; border: 1px solid var(--a-line); }
.acct-danger summary { display: flex; align-items: center; gap: 10px; padding: 12px 18px; cursor: pointer; color: var(--a-ink2); font-size: 15px; font-weight: 600; list-style: none; min-height: 48px; }
.acct-danger summary::-webkit-details-marker { display: none; }
.acct-danger summary::after { content: '▾'; margin-left: auto; color: var(--a-muted); }
.acct-danger[open] { border-color: rgba(255,138,138,.3); background: rgba(255,138,138,.04); }
.acct-danger[open] summary::after { content: '▴'; }
.acct-danger summary .acct-ico { color: var(--a-danger); width: 18px; height: 18px; }
.acct-danger form { padding: 0 18px 18px; }
.acct-danger p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--a-ink2); }
.acct-danger-btn { min-height: 44px; padding: 10px 18px; border-radius: 10px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; color: var(--a-danger); background: transparent; border: 1px solid rgba(255,138,138,.6); }
.acct-danger-btn:hover { background: rgba(255,138,138,.12); color: #ffc2c2; }

/* ---------- komunikat po akcji (flash z layoutu) na /moje: ciemny, dyskretny, sam znika ---------- */
.page-account .flash {
  max-width: 1072px; margin: 16px auto 0; padding: 10px 14px; border-radius: 12px;
  font-size: 14px; line-height: 1.4; color: #c9f2e2; background: rgba(95,212,168,.08); border: 1px solid rgba(95,212,168,.3);
  transition: opacity .3s ease, transform .3s ease;
}
.page-account .flash-err { color: #ffd0d0; background: rgba(255,138,138,.08); border-color: rgba(255,138,138,.45); }
.page-account .flash.is-leaving { opacity: 0; transform: translateY(-6px); }

/* ---------- logowanie / rejestracja / Google ---------- */
.auth { max-width: 460px; margin: 40px auto 72px; padding: 0 16px; }
.auth-card {
  position: relative; overflow: hidden; padding: 32px 28px; border-radius: 22px; text-align: left;
  background: radial-gradient(120% 90% at 0% 0%, rgba(144,104,246,.22), transparent 55%), var(--a-card);
  border: 1px solid var(--a-line); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.auth-badge { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 16px; color: #fff; background: linear-gradient(140deg, #a88bff, #6f47e6); box-shadow: 0 10px 24px rgba(111,71,230,.4); }
.auth-badge .acct-ico { width: 26px; height: 26px; }
.auth h1 { margin: 0; font: 600 clamp(30px, 7vw, 40px)/1.02 var(--font-display, 'Barlow Condensed KK', sans-serif); letter-spacing: -.01em; }
.auth-lead { margin: 10px 0 22px; font-size: 15px; line-height: 1.5; color: var(--a-ink2); }
.auth .btn-google { margin: 0 0 4px !important; min-height: 48px; }
.auth .btn-google:hover { background: #f4f5f7 !important; }
/* 8.10: „Zapamiętaj mnie” przy Google (domyślnie odznaczone). Bez JS: zaznaczenie podmienia link na ?zapamietaj=1. */
.auth-google { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.auth-google .btn-google { grid-column: 1 / -1; display: flex; }
.auth-google .g-rem-on, .auth-rem-cb:checked ~ .g-rem-off { display: none; }
.auth-rem-cb:checked ~ .g-rem-on { display: flex; }
.auth-rem-cb { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--a-accent); cursor: pointer; }
.auth-rem { margin: 0 0 16px; font-size: 15px; line-height: 1.4; color: var(--a-ink); cursor: pointer; }
.auth-rem small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--a-muted); }
.auth-rem-cb:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 13px; color: var(--a-muted); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--a-line2); }
.auth-field { margin: 0 0 16px; }
.auth-field label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 600; color: var(--a-ink); }
.auth .auth-field input {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  background: var(--a-bg); color: var(--a-ink); border: 1px solid var(--a-line2); font: inherit; font-size: 16px; box-shadow: none;
}
.auth .auth-field input::placeholder { color: #8891a3; }
.auth .auth-field input:focus { border-color: var(--a-accent); box-shadow: 0 0 0 3px rgba(144,104,246,.25); outline: none; }
.auth-check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; font-size: 14px; line-height: 1.45; color: var(--a-ink2); cursor: pointer; }
.auth a { color: var(--a-accent-ink); }
.auth a:hover { color: #fff; }
.auth .btn-primary { width: 100%; }
.auth-note { margin: 12px 0 0; font-size: 13px; color: var(--a-muted); }
.auth-foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--a-line); font-size: 14px; color: var(--a-ink2); text-align: center; }
.auth-error { margin: 0 0 16px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,138,138,.5); background: rgba(255,138,138,.08); color: #ffd0d0; font-size: 14px; }
.auth-perks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.auth-perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--a-ink2); }
.auth-perks .acct-ico { width: 18px; height: 18px; color: var(--a-ok); }
.auth-sent { text-align: center; }
.auth-sent .auth-badge { margin-left: auto; margin-right: auto; }
.auth-sent .btn-ghost { display: inline-flex; margin-top: 8px; text-decoration: none; }

/* ---------- responsywność ---------- */
@media (min-width: 1024px) {
  .acct { grid-template-columns: 320px minmax(0, 1fr); gap: 28px; max-width: 1120px; margin: 32px auto 80px; }
  .acct-side { position: sticky; top: 100px; }
  .acct-title { font-size: 38px; }
  .acct-card { padding: 24px 26px; }
  .acct-logout-side { display: block; }
  .acct-logout-side .acct-logout-btn { min-height: 44px; padding: 10px 14px; font-size: 14px; border-color: transparent; color: var(--a-muted); }
  .acct-logout-side .acct-logout-btn:hover { color: #fff; border-color: var(--a-line); }
  .acct-logout-bottom { display: none; }
}
@media (min-width: 761px) {
  .acct-more { display: none; }
}
@media (max-width: 760px) {
  .acct { margin: 14px auto 28px; gap: 14px; }
  .acct-main, .acct-form { gap: 14px; }
  .acct-title { font-size: 28px; }
  .acct-card { padding: 18px 16px; }
  .acct-seg { display: grid; width: 100%; }
  .acct-seg-item span { padding: 8px 6px; font-size: 13px; white-space: normal; text-align: center; }
  .acct-grid { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; background: var(--a-card2); }
  .acct-grid > li + li { border-top: 1px solid var(--a-line); }
  .acct-acard {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center;
    gap: 0 12px; padding: 10px 12px; min-height: 60px; text-align: left; border: 0; border-radius: 0; background: transparent;
  }
  .acct-acard:hover { border-color: transparent; background: rgba(255,255,255,.03); }
  .acct-acard:has(input:checked) { background: var(--a-accent-soft); }
  .acct-acard:has(input:focus-visible) { outline-offset: -3px; }
  .acct-acard .acct-av-lg { grid-row: 1 / 3; width: 40px; height: 40px; font-size: 14px; }
  .acct-acard:has(input:checked) .acct-av-lg { box-shadow: 0 0 0 2px var(--a-accent); }
  .acct-acard-name { margin: 0; grid-column: 2; align-self: end; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .acct-acard-meta { grid-column: 2; align-self: start; }
  .acct-acard .acct-follow { grid-column: 3; grid-row: 1 / 3; margin: 0; min-height: 36px; }
  .acct-chip-name { max-width: 180px; }
  .acct-result { gap: 10px; padding: 8px 6px; }
  .acct-result-name { white-space: normal; overflow-wrap: anywhere; }
  .acct-result-btn { padding: 6px 10px; font-size: 12px; min-height: 36px; }
  .acct-savebar { bottom: calc(var(--kk-mobile-nav-height, 60px) + 10px); padding: 8px 8px 8px 14px; }
  .acct .acct-save { padding: 12px 18px; }
  .page-account .flash { margin: 12px 0 0; }
  .acct-grid.is-collapsed > li:nth-child(n+7) { display: none; }
  .auth { margin-top: 20px; }
  .auth-card { padding: 26px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .acct *, .auth *, .page-account .flash { transition: none !important; animation: none !important; }
}

/* Koncertowy pulpit: lokalna warstwa, formularze logowania zachowują swoje style. */
.page-account { background: #07080d; }
.acct-dashboard { --a-radius: 24px; display: block; max-width: 1120px; margin: 32px auto 80px; font-family: var(--font-sans, sans-serif); }
.acct-dashboard ::selection { background: #9068f6; color: #fff; }
.acct-dashboard :is(input,button,a,summary):focus-visible { outline: 3px solid #c4b2ff; outline-offset: 4px; }
.acct-dashboard input { caret-color: #c4b2ff; }
.acct-dashboard :is(h1,h2,h3,p) { overflow-wrap: anywhere; }
.acct-dashboard h1 { font: 700 clamp(36px,5vw,56px)/1.04 var(--font-display,sans-serif); letter-spacing: -.025em; margin: 0; color: var(--a-ink); }
.acct-dashboard h2 { font: 600 26px/1.2 var(--font-display,sans-serif); margin: 0; }
.dash-welcome { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; margin-bottom: 28px; }
.dash-welcome p { margin: 8px 0 0; color: var(--a-ink2); }
.dash-welcome .dash-status { grid-column: 1/-1; margin: 0; font-size: 14px; line-height: 1.6; }
.dash-profile { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #29203e; color: #e0d3ff; font-size: 20px; font-weight: 700; text-decoration: none; }
.dash-hero { display: flex; align-items: center; gap: 32px; padding: 32px; border-radius: 24px; background: linear-gradient(120deg,rgba(144,104,246,.22),rgba(211,90,162,.08)),#111421; border: 1px solid rgba(196,178,255,.24); box-shadow: 0 18px 50px rgba(0,0,0,.24); animation: dash-arrive 220ms cubic-bezier(.16,1,.3,1); }
.dash-hero h2 { color: #c4b2ff; font-size: 20px; }
.dash-hero h3 { margin: 12px 0; font: 700 clamp(28px,4vw,44px)/1.08 var(--font-display,sans-serif); letter-spacing: -.015em; }
.dash-hero h3 a { color: #fff; text-decoration: none; }
.dash-hero-body { min-width: 0; flex: 1; }
.dash-hero-body p { display: flex; align-items: center; gap: 8px; color: #d5cee4; line-height: 1.55; }
.dash-hero-date { flex: none; text-align: center; }
.dash-date { display: flex; flex-direction: column; text-align: center; font-variant-numeric: tabular-nums; color: var(--a-ink); }
.dash-date strong { font: 700 42px/1 var(--font-display,sans-serif); }
.dash-date span { font-size: 11px; letter-spacing: .04em; margin-top: 6px; color: #c9cfdc; }
.dash-hero .dash-date strong { font-size: clamp(72px,9vw,108px); }
.dash-countdown { display: inline-block; margin-top: 12px; font-size: 14px; color: #d6c5ff; font-weight: 600; }
.dash-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dash-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; color: #f3f5fa; text-decoration: none; font-size: 14px; font-weight: 600; transition: background 180ms,transform 180ms; }
.dash-button.is-primary { background: #9068f6; color: #07080d; border-color: transparent; }
.dash-button:hover { background: #352949; }
.dash-button.is-primary:hover { background: #b39afa; }
.dash-button:active { transform: translateY(1px); }
.dash-mascot { width: 144px; height: 144px; object-fit: contain; flex: none; }
.dash-plans,.dash-near,.dash-map-section { margin: 32px 0; }
.dash-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dash-section-head h2 { display: flex; align-items: center; gap: 10px; }
.dash-section-head > span,.dash-section-head > a { font-size: 13px; color: #c9cfdc; }
.dash-section-head a,.dash-empty a,.dash-near > a { color: #c4b2ff; text-underline-offset: 4px; }
.dash-empty { display: flex; align-items: center; gap: 24px; padding: 20px 24px; background: #111421; border: 1px solid var(--a-line); border-radius: 20px; }
.dash-empty img { flex: none; object-fit: contain; }
.dash-empty h3 { margin: 0; font-size: 18px; }
.dash-empty p { max-width: 62ch; color: #c9cfdc; line-height: 1.6; margin: 8px 0 14px; }
.dash-event-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.dash-event { display: grid; grid-template-columns: 60px minmax(0,1fr); align-items: start; gap: 16px; padding: 24px; border-radius: 20px; border: 1px solid var(--a-line); background: #111421; }
.dash-event h3 { margin: 6px 0 8px; font-size: 19px; line-height: 1.3; }
.dash-event h3 a { color: #f3f5fa; text-decoration: none; }
.dash-event h3 a:hover,.dash-hero h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dash-event p { margin: 0; color: #c9cfdc; font-size: 13px; line-height: 1.5; }
.dash-mark-label { display: inline-block; color: #86e2bc; font-size: 12px; font-weight: 600; }
.dash-event.is-cancelled .dash-countdown { color: #ffb3bf; }
.dash-mark-form { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; }
.dash-mark-form button { min-height: 44px; border-radius: 10px; border: 1px solid var(--a-line2); background: transparent; padding: 8px 12px; color: #e0d3ff; cursor: pointer; font: inherit; font-size: 13px; }
.dash-mark-form button:hover { background: #29203e; }
.dash-mark-form .dash-remove { border-color: transparent; color: #c9cfdc; }
.acct-dashboard .acct-form { display: block; }
.acct-dashboard .acct-card { padding: 24px; border-radius: 24px; background: #111421; }
@supports (backdrop-filter: blur(8px)) { .acct-dashboard .acct-card { background: rgba(20,23,38,.86); backdrop-filter: blur(8px); } }
.acct-dashboard .acct-chips { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 12px; margin: 16px 0 28px; }
.acct-dashboard .acct-chip { background: transparent; border: 0; border-radius: 12px; min-width: 0; }
.acct-dashboard .acct-chip label { display: flex; flex-direction: column; position: relative; align-items: center; gap: 8px; padding: 16px 8px; min-height: 152px; text-align: center; border: 1px solid transparent; border-radius: 16px; }
.acct-dashboard .acct-chip label:hover { background: #1e2032; }
.acct-dashboard .acct-chip .acct-av-xs { width: 64px; height: 64px; font-size: 22px; }
.acct-dashboard .acct-chip-name { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 14px; }
.acct-dashboard .dash-artist-date { color: #c9cfdc; font-size: 12px; }
.acct-dashboard .acct-chip-x { position: absolute; top: 4px; right: 6px; font-size: 22px; }
.acct-dashboard .acct-chip-undo { color: #c4b2ff; }
.acct-dashboard .acct-chip:has(input:not(:checked)) .dash-artist-date { display: none; }
.acct-dashboard .acct-chip:has(input:focus-visible) label { outline: 3px solid #c4b2ff; outline-offset: 2px; }
.dash-near-list { list-style: none; margin: 0; padding: 0; }
.dash-near-list li + li { border-top: 1px solid var(--a-line); }
.dash-near-list a { display: flex; align-items: center; gap: 20px; padding: 18px 0; color: #f3f5fa; text-decoration: none; }
.dash-near-list a:hover { background: rgba(144,104,246,.07); }
.dash-near-list a > span { flex: 1; min-width: 0; }
.dash-near-list .dash-date { width: 56px; flex: none; }
.dash-near-list strong { display: block; font-size: 17px; line-height: 1.3; }
.dash-near-list .dash-date strong { font-size: 36px; }
.dash-near-list small { display: block; margin-top: 6px; color: #c9cfdc; font-size: 13px; }
.dash-map { height: 300px; background: #111421; border-radius: 20px; overflow: hidden; isolation: isolate; }
.dash-map[hidden] { display: none; }
.dash-map .leaflet-popup-content { color: #151625; line-height: 1.6; }
.dash-map .leaflet-popup-content a { color: #513091; text-decoration: underline; }
.dash-map-list { color: #c9cfdc; font-size: 14px; margin-top: 16px; }
.dash-map-list summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.dash-map-list li { margin: 10px 0; }
.dash-map-list a { color: #c4b2ff; }
.dash-notifications { border: 1px solid var(--a-line); border-radius: 24px; background: #111421; margin: 32px 0 16px; }
.dash-notifications > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 80px; padding: 24px; cursor: pointer; list-style: none; }
.dash-notifications > summary::-webkit-details-marker { display: none; }
.dash-notifications > summary > span:first-child { display: flex; align-items: center; gap: 10px; font: 600 26px/1.2 var(--font-display,sans-serif); }
.dash-note-state { font-size: 13px; color: #c4b2ff; }
.dash-note-state::after { content: '+'; margin-left: 16px; font-size: 22px; }
.dash-notifications[open] .dash-note-state::after { content: '−'; }
.dash-settings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 0 24px 24px; }
.acct-dashboard .dash-settings .acct-card { background: transparent; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
.acct-dashboard .acct-foot { display: block; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--a-line); }
.acct-dashboard .acct-account-email { margin: 12px 0 0; color: #c9cfdc; overflow-wrap: anywhere; }
.acct-dashboard .acct-logout-bottom { display: block; margin: 20px 0; }
.acct-dashboard .acct-savebar { margin-top: 16px; z-index: 800; }
@keyframes dash-arrive { from { transform: translateY(8px); opacity: .8; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 1024px) { .acct-dashboard { grid-template-columns: none; } }
@media (max-width: 760px) {
  .acct-dashboard { margin: 20px auto 40px; }
  .dash-welcome { margin-bottom: 20px; }
  .dash-hero { padding: 24px 20px; gap: 20px; align-items: start; flex-wrap: wrap; }
  .dash-hero-date { display: flex; align-items: center; gap: 20px; width: 100%; text-align: left; }
  .dash-hero .dash-date strong { font-size: 72px; }
  .dash-hero .dash-countdown { margin: 0; font-size: 20px; }
  .dash-hero-body { flex-basis: 100%; }
  .dash-hero h3 { font-size: 32px; }
  .dash-actions { gap: 8px; margin-top: 20px; }
  .dash-actions .is-primary { width: 100%; }
  .dash-actions .dash-button:not(.is-primary) { flex: 1; padding: 12px 8px; }
  .dash-mascot { width: 100px; height: 100px; }
  .dash-empty { padding: 20px; gap: 12px; align-items: start; }
  .dash-empty img { width: 64px; height: 64px; }
  .dash-event-grid { grid-template-columns: minmax(0,1fr); }
  .dash-event { padding: 20px; }
  .acct-dashboard .acct-card { padding: 20px 16px; }
  .acct-dashboard .acct-chips { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .dash-settings { grid-template-columns: minmax(0,1fr); padding: 0 16px 24px; }
  .dash-notifications > summary { padding: 20px 16px; }
  .dash-notifications > summary > span:first-child { font-size: 24px; }
  .dash-near-list a { gap: 12px; }
  .dash-map { height: 260px; }
  .acct-dashboard .acct-savebar { flex-wrap: wrap; position: static; }
  .acct-dashboard .acct-save { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .acct-dashboard * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }.dash-new { padding: 3px 7px; border-radius: 6px; background: #29203e; color: #d6c5ff; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.acct-dashboard .acct-chip-btn { display: flex; flex-direction: column; position: relative; align-items: center; gap: 8px; padding: 16px 8px; width: 100%; min-height: 152px; border: 0; border-radius: 16px; text-align: center; }

/* Panel v2: koncert w centrum, motyw biletu z identyfikacji KK. */
.acct-dashboard { display: block; }
.acct-dashboard section { scroll-margin-bottom: calc(var(--kk-mobile-nav-height,70px) + 24px); }
.acct-dashboard :focus-visible { outline: 3px solid #c4b2ff; outline-offset: 4px; }
.acct-dashboard ::selection { background: #c4b2ff; color: #171025; }
.acct-dashboard button, .acct-dashboard summary, .acct-dashboard input:not([type=checkbox]):not([type=radio]) { min-height: 44px; }
.acct-dashboard .acct-av { position: relative; overflow: hidden; }
.acct-dashboard .acct-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acct-dashboard .acct-av img[hidden] { display: none; }
.acct-dashboard .dash-hero { position: relative; overflow: hidden; isolation: isolate; border: 0; border-radius: 16px; min-height: 320px; background: linear-gradient(115deg,#251345,#583398); }
.dash-hero-art { position: absolute; z-index: -2; inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); object-fit: cover; object-position: center 35%; filter: blur(5px); }
.dash-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg,rgba(28,12,53,.97),rgba(47,22,80,.88) 55%,rgba(68,33,118,.62)); }
.dash-hero-initial { position: absolute; right: 24px; bottom: -32px; z-index: -2; font: 600 240px/1 var(--font-display); color: #a882ed; opacity: .5; user-select: none; }
.acct-dashboard .dash-hero .dash-date strong { font-size: 96px; color: #fff; }
.dash-hero .dash-date span { font-size: 14px; color: #e8ddff; }
.dash-hero .dash-countdown { color: #fff; font-size: 22px; animation: dash-count-beat 2.8s ease-in-out 2; }
.dash-hero h2 { color: #e8ddff; }
.dash-hero h3 { text-wrap: balance; overflow-wrap: anywhere; }
.dash-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dash-hero-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 99px; background: #382057; color: #f4edff; font-size: 13px; }
.dash-hero-chip.is-ticket { background: #153c32; color: #b1f5d8; }
.dash-weather-credit { margin: 8px 0 0; font-size: 11px; color: #e8ddff; }
.dash-weather-credit a { color: inherit; text-underline-offset: 3px; }
.acct-dashboard .dash-photo-credit { display: block; margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: #c9cfdc; overflow-wrap: anywhere; }
.dash-photo-credit a { color: inherit; text-underline-offset: 3px; }
.dash-near-list .dash-photo-credit { margin: -8px 0 12px; }
.dash-near-list .dash-photo-credit a { display: inline; padding: 0; font-size: inherit; color: inherit; }
.acct-dashboard .dash-hero .dash-photo-credit { color: #e8ddff; }
.acct-dashboard .dash-hero .dash-button:not(.is-primary) { background: #2e1a49; border-color: #796095; }
.acct-dashboard .dash-hero .dash-button:hover { background: #513071; }
.acct-dashboard .dash-hero .dash-button.is-primary { background: #c4b2ff; color: #201333; }
.acct-dashboard .dash-hero .dash-button.is-primary:hover { background: #ded2ff; }
.dash-event-grid { gap: 24px; align-items: stretch; }
.dash-event { --ticket-color: #c4b2ff; position: relative; border: 0; border-top: 2px solid var(--ticket-color); border-radius: 16px; grid-template-rows: 1fr auto;
  mask: radial-gradient(circle at left 70%,transparent 9px,#000 10px) left / 51% 100% no-repeat, radial-gradient(circle at right 70%,transparent 9px,#000 10px) right / 51% 100% no-repeat; }
.dash-event.is-ticket { --ticket-color: #86e2bc; }
.dash-event.is-cancelled { --ticket-color: #ffb3bf; }
.dash-event .dash-mark-label, .dash-event .dash-countdown { color: var(--ticket-color); }
.dash-event h3 { overflow-wrap: anywhere; }
.dash-mark-form { padding-top: 16px; border-top: 1px dashed #495063; margin-top: 8px; }
.dash-year { margin: 32px 0; padding: 20px 24px; border-radius: 16px; background: #111421; }
.dash-year h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 0 0 12px; }
.dash-year p { line-height: 1.8; color: #c9cfdc; margin: 0; }
.dash-year strong { color: #f3f5fa; }
.dash-year small { color: #a3acbd; }
.acct-dashboard .acct-card { border-radius: 16px; backdrop-filter: none; background: #111421; }
.acct-dashboard .acct-chips { gap: 16px; margin-bottom: 32px; }
.acct-dashboard .acct-chip .acct-av-xs { width: 88px; height: 88px; font-size: 28px; border: 4px solid #111421; outline: 2px solid #9068f6; outline-offset: 2px; }
.acct-dashboard .acct-chip.has-new .acct-av { animation: dash-new-ring 2.8s ease-in-out 3; }
.acct-dashboard .acct-chip label, .acct-dashboard .acct-chip-btn { min-height: 200px; }
.dash-add-artist a { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: flex-start; min-height: 200px; padding: 16px 8px; font-size: 14px; color: #c4b2ff; text-align: center; text-decoration: none; }
.dash-add-artist a > span { display: grid; place-items: center; width: 88px; height: 88px; border: 2px dashed #7655b1; border-radius: 50%; font-size: 36px; }
.dash-add-artist a:hover > span { background: #29203e; border-color: #c4b2ff; }
.dash-popular { margin: 32px 0; }
.dash-near-art { flex: 0 0 88px; width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
.dash-near-list a > .dash-near-initial { display: grid; place-items: center; flex: 0 0 88px; background: #30204d; color: #e0d3ff; font: 600 32px var(--font-display); }
.dash-near-list a > span:not(.dash-near-initial) { overflow-wrap: anywhere; }
.dash-series { margin: 0 0 12px 108px; }
.dash-series summary { color: #c4b2ff; cursor: pointer; display: flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; }
.dash-series ul { padding: 0; list-style: none; }
.dash-series li + li { border: 0; }
.dash-series a { padding: 8px 0; min-height: 44px; font-size: 13px; }
.dash-map .dash-map-cluster { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #513091; color: #fff; border: 3px solid #e2d7ff; font: 700 14px var(--font-sans); }
.dash-map .dash-map-cluster.has-plans { background: #76385e; border-color: #f2b2d7; }
.dash-map .dash-map-cluster.is-mixed { background: linear-gradient(90deg,#513091 50%,#76385e 50%); }
.dash-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
.dash-map-popup-list { max-height: 240px; overflow-y: auto; padding-left: 20px; }
.dash-map-popup-list a { display: inline-flex; align-items: center; min-height: 44px; }
.dash-map-popup-list p { margin: 0 0 8px; }
.dash-reveal.is-visible { animation: dash-section-in 420ms cubic-bezier(.16,1,.3,1) both; }
@keyframes dash-section-in { from { transform: translateY(10px); } to { transform: translateY(0); } }
@keyframes dash-count-beat { 50% { transform: translateY(-2px); } }
@keyframes dash-new-ring { 50% { outline-color: #e5d8ff; outline-offset: 5px; } }
@media (min-width: 761px) {
  .acct-dashboard .dash-popular-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 4px 16px; border: 0; background: transparent; scrollbar-color: #7655b1 #111421; scrollbar-width: thin; }
  .dash-popular-strip > li { flex: 0 0 144px; scroll-snap-align: start; }
  .dash-popular-strip .acct-acard { border: 0; background: transparent; padding: 12px 8px; }
}
@media (max-width: 760px) {
  .page-account { padding-bottom: max(var(--kk-mobile-nav-height,70px),calc(70px + env(safe-area-inset-bottom,0px))); }
  .acct-dashboard { margin-bottom: 32px; padding-bottom: 24px; }
  .acct-dashboard .dash-hero { padding: 24px; min-height: 0; gap: 24px; }
  .acct-dashboard .dash-hero .dash-date strong { font-size: 80px; }
  .dash-hero-date { gap: 24px; }
  .dash-hero h3 { font-size: 36px; }
  .dash-event-grid { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-color: #7655b1 #111421; }
  .dash-event { flex: 0 0 88%; min-width: 0; scroll-snap-align: start; }
  .acct-dashboard .acct-chips { gap: 16px 8px; }
  .dash-near-art, .dash-near-list a > .dash-near-initial { width: 52px; height: 64px; flex-basis: 52px; }
  .dash-near-list .dash-date { width: 38px; }
  .dash-near-list .dash-date strong { font-size: 30px; }
  .dash-near-list a { gap: 8px; }
  .dash-near-list strong { font-size: 16px; }
  .dash-near-list .acct-row-chev { display: none; }
  .dash-series { margin-left: 60px; }
  .dash-year { padding: 20px; }
  .acct-dashboard .acct-result-btn, .acct-dashboard .acct-follow { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .acct-dashboard *, .acct-dashboard *::before, .acct-dashboard *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .dash-event-grid, .dash-popular-strip { scroll-snap-type: none; }
}

/* Panel v3 (2.10.2026): zdjęcie czytelne, gradient tylko pod tekstem, miniatury zamiast liter,
   statystyki w powitaniu, bilety ze zdjęciem na odcinku. Skala odstępów 8/16/24/40, cele ≥44 px. */
.acct-dashboard { --d-bg: #07080d; --d-card: #111421; --d-card-hi: #181b2c; --d-line: rgba(255,255,255,.09); --d-ink: #f3f5fa; --d-ink2: #c9cfdc; --d-muted: #a3acbd; --d-lilac: #c4b2ff; }
.acct-dashboard :is(.dash-plans,.dash-near,.dash-map-section,.dash-popular,.dash-year,.dash-notifications,#acct-artists) { margin: 40px 0 0; }
.acct-dashboard .dash-section-head { margin-bottom: 8px; }
.acct-dashboard .dash-section-head > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--d-lilac); font-weight: 600; text-decoration: none; }
.acct-dashboard .dash-section-head > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.acct-dashboard .dash-section-head + .acct-hint { margin: 0 0 16px; }

/* Powitanie + chipy-statystyki */
.acct-dashboard .dash-welcome { grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 16px 24px; margin-bottom: 24px; }
.acct-dashboard .dash-welcome p { margin: 4px 0 0; color: var(--d-muted); font-size: 15px; }
.acct-dashboard .dash-profile { width: 48px; height: 48px; background: var(--d-card-hi); border: 1px solid var(--d-line); color: var(--d-lilac); }
.acct-dashboard .dash-profile:hover { border-color: var(--d-lilac); }
.dash-stats { grid-column: 1/-1; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.dash-stats a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px 8px 16px; border-radius: 999px; background: var(--d-card); border: 1px solid var(--d-line); color: var(--d-ink2); text-decoration: none; font-size: 14px; transition: border-color 160ms, background 160ms; }
.dash-stats a:hover { border-color: rgba(196,178,255,.55); background: var(--d-card-hi); }
.dash-stats strong { font: 700 22px/1 var(--font-display,sans-serif); color: #fff; font-variant-numeric: tabular-nums; }

/* Hero: ostre zdjęcie po prawej, gradient tylko z lewej pod tekstem */
.acct-dashboard .dash-hero { display: block; padding: 0; min-height: 360px; border-radius: 24px; background: #140d26; border: 1px solid var(--d-line); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.acct-dashboard .dash-hero-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 64%; height: 100%; object-fit: cover; object-position: center 30%; filter: none; }
.acct-dashboard .dash-hero::after { background: linear-gradient(90deg,#140d26 0%,#140d26 36%,rgba(20,13,38,.82) 48%,rgba(20,13,38,.3) 66%,rgba(20,13,38,0) 82%); }
.acct-dashboard .dash-hero:not(.has-art)::after { background: radial-gradient(90% 120% at 100% 0%,rgba(144,104,246,.35),transparent 60%); }
.dash-hero-fallback { position: absolute; z-index: -2; right: 0; top: 0; bottom: 0; width: 44%; display: grid; place-items: center; color: rgba(255,255,255,.5); }
.dash-hero-fallback svg { width: 120px; height: 120px; }
.dash-hero-content { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; min-height: 360px; max-width: 620px; padding: 40px; }
.acct-dashboard .dash-hero .dash-kicker { margin: 0; font: 700 13px/1.2 var(--font-sans,sans-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--d-lilac); }
.dash-hero-main { display: flex; align-items: center; gap: 28px; }
.acct-dashboard .dash-hero-date { display: flex; flex-direction: column; align-items: center; flex: none; }
.acct-dashboard .dash-hero .dash-date strong { font-size: 96px; letter-spacing: -.02em; }
.acct-dashboard .dash-hero .dash-date span { margin-top: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #e8ddff; }
.acct-dashboard .dash-hero .dash-countdown { margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; color: #1a1030; font-size: 14px; font-weight: 700; }
.acct-dashboard .dash-hero h3 { margin: 0 0 8px; font-size: clamp(30px,3.4vw,44px); line-height: 1.04; }
.acct-dashboard .dash-hero-place { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: #e4dcf2; font-size: 15px; }
.acct-dashboard .dash-hero-place .acct-ico { width: 18px; height: 18px; margin-top: 2px; }
.acct-dashboard .dash-hero-chips { margin-top: 12px; }
.acct-dashboard .dash-hero-chip { min-height: 32px; background: rgba(255,255,255,.12); color: #f4edff; font-weight: 600; }
.acct-dashboard .dash-hero-chip.is-ticket { background: rgba(134,226,188,.16); color: #b1f5d8; }
.acct-dashboard .dash-actions { display: flex; align-items: center; gap: 12px; margin: 8px 0 0; }
.acct-dashboard .dash-hero .dash-button.is-primary { min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--d-lilac); color: #1a1030; font-size: 15px; font-weight: 700; box-shadow: 0 10px 30px rgba(144,104,246,.35); }
.acct-dashboard .dash-hero .dash-button.is-primary:hover { background: #ded2ff; }
.dash-icon-btn { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24); color: #fff; transition: background 160ms, transform 160ms; }
.dash-icon-btn:hover { background: rgba(255,255,255,.2); }
.dash-icon-btn:active, .acct-dashboard .dash-button:active { transform: scale(.97); }
.dash-credit { position: absolute; z-index: 3; right: 16px; bottom: 16px; }
.dash-credit > summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; list-style: none; cursor: pointer; color: #fff; background: rgba(7,8,13,.55); border: 1px solid rgba(255,255,255,.2); }
@supports (backdrop-filter: blur(6px)) { .dash-credit > summary { backdrop-filter: blur(6px); } }
.dash-credit > summary::-webkit-details-marker { display: none; }
.dash-credit-pop { position: absolute; right: 0; bottom: 52px; width: min(340px,calc(100vw - 64px)); padding: 12px 14px; border-radius: 14px; background: #1b1530; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.acct-dashboard .dash-credit-pop p { display: block; margin: 0; font-size: 12px; line-height: 1.5; color: #e8ddff; }
.acct-dashboard .dash-credit-pop p + p { margin-top: 8px; }
.dash-hero-empty { display: flex; align-items: center; gap: 32px; padding: 40px; }

/* Miniatury: zdjęcie albo kafel w kolorze gatunku z nutą */
.dash-thumb { position: relative; display: grid; place-items: center; overflow: hidden; flex: none; color: rgba(255,255,255,.88); background: linear-gradient(140deg,#7c3aed,#2e1065); }
.dash-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dash-thumb img[hidden] { display: none; }
.dash-genre-rock { background: linear-gradient(140deg,#dc2626,#450a0a); }
.dash-genre-metal { background: linear-gradient(140deg,#64748b,#0f172a); }
.dash-genre-pop { background: linear-gradient(140deg,#ec4899,#5b21b6); }
.dash-genre-disco { background: linear-gradient(140deg,#f472b6,#9d174d); }
.dash-genre-rap { background: linear-gradient(140deg,#f59e0b,#7c2d12); }
.dash-genre-electro { background: linear-gradient(140deg,#06b6d4,#312e81); }
.dash-genre-jazz { background: linear-gradient(140deg,#d97706,#422006); }
.dash-genre-classic { background: linear-gradient(140deg,#a78bfa,#1e1b4b); }
.dash-genre-folk { background: linear-gradient(140deg,#65a30d,#14532d); }
.dash-genre-alt { background: linear-gradient(140deg,#14b8a6,#134e4a); }
.dash-genre-kids { background: linear-gradient(140deg,#facc15,#c2410c); }
.dash-genre-default, .dash-genre-default-0 { background: linear-gradient(140deg,#7c3aed,#2e1065); }
.dash-genre-default-1 { background: linear-gradient(140deg,#4f46e5,#1e1b4b); }
.dash-genre-default-2 { background: linear-gradient(140deg,#c026d3,#3b0764); }
.dash-genre-default-3 { background: linear-gradient(140deg,#0e7490,#172554); }
.acct-dashboard .acct-av svg { width: 42%; height: 42%; color: rgba(255,255,255,.9); }

/* Bilety Idę / Mam bilet: zdjęcie na odcinku, perforacja, kompaktowe akcje */
.acct-dashboard .dash-event-grid { grid-template-columns: repeat(auto-fill,minmax(340px,1fr)); gap: 16px; }
.acct-dashboard .dash-event { --stub: 116px; position: relative; display: grid; grid-template-columns: var(--stub) minmax(0,1fr); grid-template-rows: none; gap: 0; padding: 0; min-height: 176px; border: 0; border-radius: 20px; overflow: hidden; background: var(--d-card); mask: none; -webkit-mask: none; box-shadow: inset 0 0 0 1px var(--d-line); }
.acct-dashboard .dash-event::before, .acct-dashboard .dash-event::after { content: ''; position: absolute; z-index: 2; left: calc(var(--stub) - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--d-bg); }
.acct-dashboard .dash-event::before { top: -11px; }
.acct-dashboard .dash-event::after { bottom: -11px; }
.dash-ticket-stub { position: relative; min-height: 100%; }
.dash-stub-art { position: absolute; inset: 0; }
.dash-stub-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 45%,rgba(7,8,13,.75)); }
.acct-dashboard .dash-ticket-stub .dash-date { position: absolute; z-index: 1; left: 12px; bottom: 12px; align-items: flex-start; text-align: left; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.acct-dashboard .dash-ticket-stub .dash-date strong { font-size: 34px; }
.acct-dashboard .dash-ticket-stub .dash-date span { margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.acct-dashboard .dash-event-info { display: flex; flex-direction: column; min-width: 0; padding: 16px 20px 14px; border-left: 2px dashed rgba(255,255,255,.16); }
.dash-ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acct-dashboard .dash-event .dash-mark-label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ticket-color); background: rgba(196,178,255,.14); }
.acct-dashboard .dash-event.is-ticket .dash-mark-label { background: rgba(134,226,188,.14); }
.acct-dashboard .dash-event.is-cancelled .dash-mark-label { background: rgba(255,179,191,.14); }
.acct-dashboard .dash-event .dash-mark-label .acct-ico { width: 14px; height: 14px; }
.acct-dashboard .dash-event .dash-countdown { margin: 0; font-size: 13px; font-weight: 700; color: var(--ticket-color); }
.acct-dashboard .dash-event h3 { margin: 10px 0 4px; font: 700 20px/1.2 var(--font-sans,sans-serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.acct-dashboard .dash-event p { color: var(--d-ink2); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acct-dashboard .dash-mark-form { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 0; }
.acct-dashboard .dash-mark-form button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #ece5ff; font-size: 13px; font-weight: 600; }
.acct-dashboard .dash-mark-form button .acct-ico { width: 16px; height: 16px; }
.acct-dashboard .dash-mark-form button:hover { background: #241c38; border-color: rgba(196,178,255,.5); }
.acct-dashboard .dash-mark-form .dash-remove { flex: none; width: 44px; padding: 0; margin-left: auto; border-color: transparent; color: var(--d-muted); }
.acct-dashboard .dash-mark-form .dash-remove:hover { background: rgba(255,138,138,.12); color: #ffb3bf; border-color: transparent; }

/* W Twojej okolicy: miniatura + tekst, bez kolumny dat */
.acct-dashboard .dash-near-list li + li { border-top: 1px solid var(--d-line); }
.acct-dashboard .dash-near-list a { gap: 16px; padding: 12px; margin: 0 -12px; border-radius: 16px; min-height: 96px; }
.acct-dashboard .dash-near-list a:hover { background: var(--d-card); }
.acct-dashboard .dash-near-list a > .dash-near-art { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 14px; }
.dash-near-art svg { width: 26px; height: 26px; }
.acct-dashboard .dash-near-body { flex: 1; min-width: 0; }
.acct-dashboard .dash-near-body strong { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.acct-dashboard .dash-near-body small { margin-top: 4px; font-size: 13px; color: var(--d-ink2); }
.acct-dashboard .dash-near-body .dash-near-when { color: var(--d-lilac); font-weight: 600; }
.acct-dashboard .dash-near-list .acct-row-chev { flex: none; color: var(--d-muted); }
.acct-dashboard .dash-series { margin: -14px 0 8px 88px; }
.acct-dashboard .dash-series summary { min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: none; }
.acct-dashboard .dash-series summary:hover { text-decoration: underline; }
.acct-dashboard .dash-series a { min-height: 44px; padding: 0 12px; margin: 0; }

/* Autorzy zdjęć: jedna zwijana lista */
.dash-credits { margin: 24px 0 0; color: var(--d-muted); font-size: 13px; }
.dash-credits > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none; }
.dash-credits > summary::-webkit-details-marker { display: none; }
.dash-credits > summary:hover { color: var(--d-ink); }
.dash-credits ul { margin: 0; padding: 0 0 0 26px; line-height: 1.6; }
.dash-credits strong { color: var(--d-ink2); }
.dash-credits a { color: inherit; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .acct-dashboard :is(.dash-plans,.dash-near,.dash-map-section,.dash-popular,.dash-year,.dash-notifications,#acct-artists) { margin-top: 32px; }
  .acct-dashboard .dash-welcome { margin-bottom: 20px; }
  .acct-dashboard h1 { font-size: 40px; }
  .dash-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .dash-stats a { flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; padding: 12px; border-radius: 16px; font-size: 12px; line-height: 1.3; }
  .dash-stats li { min-width: 0; }
  .dash-stats a { width: 100%; }
  .dash-stats strong { font-size: 26px; }
  .acct-dashboard .dash-hero { min-height: 0; border-radius: 20px; }
  .acct-dashboard .dash-hero-art { inset: 0 0 auto 0; width: 100%; height: 260px; object-position: center 25%; }
  .acct-dashboard .dash-hero.has-art::after { background: linear-gradient(180deg,rgba(20,13,38,0) 0,rgba(20,13,38,.15) 110px,rgba(20,13,38,.85) 200px,#140d26 250px); }
  .dash-hero-fallback { left: 0; width: 100%; height: 200px; bottom: auto; }
  .dash-hero-fallback svg { width: 80px; height: 80px; }
  .dash-hero-content { min-height: 0; max-width: none; padding: 24px 20px 20px; gap: 12px; }
  .dash-hero.has-art .dash-hero-content { padding-top: 168px; }
  .dash-hero-main { gap: 16px; align-items: flex-start; }
  .acct-dashboard .dash-hero-date { width: auto; gap: 0; flex-direction: column; text-align: center; }
  .acct-dashboard .dash-hero-body { flex: 1 1 auto; min-width: 0; }
  .acct-dashboard .dash-hero .dash-date strong { font-size: 64px; }
  .acct-dashboard .dash-hero .dash-date span { font-size: 11px; }
  .acct-dashboard .dash-hero .dash-countdown { margin-top: 8px; padding: 3px 10px; font-size: 12px; }
  .acct-dashboard .dash-hero h3 { font-size: 28px; }
  .acct-dashboard .dash-hero-place { font-size: 14px; }
  .acct-dashboard .dash-actions { gap: 8px; }
  .acct-dashboard .dash-hero .dash-button.is-primary { flex: 1; width: auto; min-width: 0; padding: 0 16px; white-space: nowrap; }
  .dash-icon-btn { width: 48px; height: 48px; }
  .acct-dashboard .dash-actions .dash-button:not(.is-primary) { flex: none; }
  .dash-credit { top: 12px; right: 12px; bottom: auto; }
  .dash-credit-pop { top: 52px; bottom: auto; }
  .dash-hero-empty { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 20px; }
  .acct-dashboard .dash-event-grid { display: flex; overflow-x: auto; gap: 12px; margin: 0 -16px; padding: 0 16px 12px; scroll-padding: 0 16px; }
  .acct-dashboard .dash-event { --stub: 96px; flex: 0 0 86%; min-height: 168px; }
  .acct-dashboard .dash-event-info { padding: 14px 12px 12px 14px; }
  .acct-dashboard .dash-mark-form { flex-wrap: nowrap; gap: 4px; }
  .acct-dashboard .dash-mark-form button:not(.dash-remove) { min-width: 0; padding: 0 12px; white-space: nowrap; }
  .acct-dashboard .dash-event h3 { font-size: 18px; }
  .acct-dashboard .dash-ticket-stub .dash-date strong { font-size: 28px; }
  .acct-dashboard .dash-near-list a { gap: 12px; padding: 10px 8px; margin: 0 -8px; min-height: 84px; }
  .acct-dashboard .dash-near-list a > .dash-near-art { flex-basis: 64px; width: 64px; height: 64px; }
  .acct-dashboard .dash-series { margin-left: 76px; }
}
