/* Rozměry jsou v rem změřené ze screenshotů originálu: 1rem = 10 px při šířce 406 px.
   html font-size se odvozuje od šířky okna, takže proporce sedí 1:1 na každém telefonu. */
:root {
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --w: min(100vw, 460px);
  /* Barevné téma — výchozí Cobalt, další témata níže přes [data-theme] (server dosadí THEME z .env). */
  --bg: #060b2c;
  --bg-top: #0a1548; --bg-mid: #08113c; --bg-bottom: #0a1650;
  --glow-1: 34, 74, 255; --glow-2: 26, 60, 245; --glow-3: 18, 40, 170; --shade: 8, 14, 50;
  --banner-glow: 52, 104, 255;
  --accent: #3d6ef5; --accent-hi: #5786fb; --accent-lo: #3363ec; --accent-rgb: 50, 100, 240;
  --on-accent: #ffffff;
  --accent-text: #4d7dff; --accent-soft: #7ea6ff; --accent-pale: #8fb0ff;
  --tint-hi: 30, 56, 190; --tint: 16, 30, 110; --tint-lo: 12, 22, 80;
  --box: 14, 28, 92; --box-lo: 9, 19, 72;
  --nav-rgb: 12, 24, 86;
  --bg-nav: rgba(var(--nav-rgb), 0.86);
  --bg-nav-solid: #0d1a5e;
  --disabled: #1d2e6c;
  --icon-cut: #0d1748;
  --chart-out: #5a5a5a;
  --blue-text: var(--accent-text);
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.78);
  --text-3: rgba(255, 255, 255, 0.45);
  --text-4: rgba(255, 255, 255, 0.32);
  --line: rgba(255, 255, 255, 0.08);
  --sheet-2: #1e1e1e;
  --sheet-3: #2b2b2b;
  --pad: 2.6rem;
  --nav-h: 6.1rem;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- téma: Black gold ---------- */
:root[data-theme="gold"] {
  --bg: #0c0a07;
  --bg-top: #120e08; --bg-mid: #0b0906; --bg-bottom: #100c07;
  --glow-1: 168, 122, 38; --glow-2: 130, 94, 30; --glow-3: 92, 68, 22; --shade: 6, 5, 3;
  --banner-glow: 214, 160, 56;
  --accent: #e2b24a; --accent-hi: #f2cb6e; --accent-lo: #c8952f; --accent-rgb: 226, 178, 74;
  --on-accent: #2a1e05;
  --accent-text: #e9c46a; --accent-soft: #f0d08a; --accent-pale: #f3dba0;
  --tint-hi: 120, 90, 32; --tint: 52, 40, 18; --tint-lo: 28, 22, 11;
  --box: 40, 31, 14; --box-lo: 24, 19, 9;
  --nav-rgb: 22, 18, 11;
  --bg-nav-solid: #17130c;
  --disabled: #3a2f17;
  --icon-cut: #1c160b;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: calc(var(--w) / 40.6); background: var(--bg); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font); font-size: 1.3rem; color: var(--text);
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none; overscroll-behavior-y: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; -webkit-user-select: text; user-select: text; }
svg { display: block; }

/* ---------- pozadí: navy, modrá záře vpravo nahoře / vpravo, zrno ---------- */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(62% 38% at 96% 2%, rgba(var(--glow-1), 0.95) 0%, rgba(var(--glow-1), 0.55) 38%, rgba(var(--glow-1), 0) 78%),
    radial-gradient(48% 42% at 104% 52%, rgba(var(--glow-2), 0.7) 0%, rgba(var(--glow-2), 0.25) 50%, rgba(var(--glow-2), 0) 80%),
    radial-gradient(70% 30% at 40% 100%, rgba(var(--glow-3), 0.6) 0%, rgba(var(--glow-3), 0) 75%),
    radial-gradient(50% 35% at 0% 20%, rgba(var(--shade), 0.9) 0%, rgba(var(--shade), 0) 80%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%);
}
.bg::after {
  content: ''; position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -0.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

#app { width: 40.6rem; max-width: 100%; margin: 0 auto; }
#view { padding: 2.35rem var(--pad) calc(var(--nav-h) + var(--safe-b) + 3rem); min-height: 100vh; }
.view-enter { animation: fadeIn 0.22s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(0.4rem); } to { opacity: 1; transform: none; } }

/* ---------- hlavička ---------- */
.top { display: flex; align-items: center; justify-content: space-between; height: 3.3rem; padding-right: 0.3rem; }
.me { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.avatar {
  width: 3.3rem; height: 3.3rem; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-lo)); color: var(--on-accent); font-weight: 700; font-size: 1.4rem;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.me-name { font-weight: 700; font-size: 1.42rem; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.menu-btn {
  width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle at 50% 28%, var(--accent-hi) 0%, var(--accent) 55%, var(--accent-lo) 100%);
  box-shadow: 0 0.4rem 1.4rem rgba(var(--accent-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.menu-btn span { display: block; }
.menu-btn i { display: block; width: 1.5rem; height: 0.2rem; border-radius: 0.2rem; background: var(--on-accent); }
.menu-btn i + i { margin-top: 0.4rem; }

/* ---------- Home ---------- */
.balance { text-align: center; margin-top: 3.25rem; }
.balance-label { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.2rem; color: var(--text-2); line-height: 1.2; }
.balance-label button { color: var(--text-3); width: 1.3rem; height: 1.3rem; }
.balance-label button svg { width: 100%; height: 100%; }
.balance-amount { font-size: 3.55rem; font-weight: 700; letter-spacing: -0.05em; margin-top: 0.45rem; line-height: 1.1; font-variant-numeric: tabular-nums; }

.actions { display: flex; justify-content: center; gap: 2.4rem; margin-top: 4.15rem; }
.action { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; font-size: 1.12rem; color: var(--text); line-height: 1.2; }
.action-box {
  width: 7rem; height: 4.9rem; border-radius: 0.6rem; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(var(--box), 0.96), rgba(var(--box-lo), 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0.3rem 1rem rgba(0, 0, 0, 0.25);
  transition: transform 0.12s;
}
.action-box svg { color: rgba(255, 255, 255, 0.82); }
.action:nth-child(1) .action-box svg { width: 3.2rem; height: 3.2rem; stroke-width: 1.6; color: var(--on-accent); }
.action:nth-child(2) .action-box svg { width: 3.8rem; height: 3.8rem; stroke-width: 1.25; }
.action:nth-child(3) .action-box svg { width: 2.6rem; height: 2.6rem; stroke-width: 1.55; }
.action.primary .action-box {
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent-lo) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0.5rem 1.6rem rgba(var(--accent-rgb), 0.3);
}
.action:active .action-box { transform: scale(0.95); }

/* banner */
.banner { margin-top: 2.6rem; }
.banner-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: 0.6rem; border: 1px solid rgba(255, 255, 255, 0.16);
}
.banner-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 2.71; position: relative; overflow: hidden; background: #000; }
.slide .glow { position: absolute; inset: 0; background: radial-gradient(60% 130% at 100% 45%, rgba(var(--banner-glow), 1) 0%, rgba(var(--banner-glow), 0.5) 35%, rgba(var(--banner-glow), 0) 72%); }
.slide .s-logo { position: absolute; left: 13.5%; top: 11%; font-size: 1.15rem; }
.slide .s-text { position: absolute; left: 13.5%; bottom: 9%; }
.slide .s-badges { display: flex; gap: 0.9rem; font-size: 0.72rem; font-weight: 500; margin-bottom: 0.55rem; color: rgba(255, 255, 255, 0.92); }
.slide .s-badges span { display: inline-flex; align-items: center; gap: 0.35rem; }
.slide .s-badges i { width: 1rem; height: 1rem; border-radius: 0.2rem; display: grid; place-items: center; }
.slide .s-badges .b-a { background: #2a2a2a; }
.slide .s-badges .b-a svg { width: 0.65rem; height: 0.65rem; }
.slide .s-badges .b-g { background: #fff; color: #111; }
.slide .s-badges .b-g svg { width: 0.8rem; height: 0.8rem; }
.slide h3 { margin: 0; font-size: 2.05rem; line-height: 0.97; letter-spacing: -0.055em; font-weight: 700; }
.slide h3 em { font-style: normal; color: var(--accent-text); display: block; }
.s-pill { display: inline-block; margin-bottom: 0.6rem; font-size: 0.8rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 9rem; background: rgba(var(--accent-rgb), 0.2); color: var(--accent-pale); border: 1px solid rgba(var(--accent-rgb), 0.35); }
.slide .art { position: absolute; right: -2%; top: 8%; bottom: -14%; width: 38%; }
.phone {
  position: absolute; right: 10%; top: 7%; width: 50%; height: 125%; border-radius: 1.5rem; background: #0b0b0d;
  border: 0.3rem solid #2a2b31; box-shadow: -1rem 1rem 3rem rgba(0, 0, 0, 0.6); transform: rotate(14deg);
}
.phone::before { content: ''; position: absolute; z-index: 1; top: 0.4rem; left: 50%; width: 32%; height: 0.55rem; border-radius: 0.4rem; background: #000; transform: translateX(-50%); }
.phone .p-screen { position: absolute; inset: 0; border-radius: 1.2rem; background: linear-gradient(180deg, #f3f4f8, #e2e5ee); overflow: hidden; }
.phone .p-card { position: absolute; left: 9%; right: 9%; top: 16%; aspect-ratio: 1.586; border-radius: 0.55rem; background: linear-gradient(135deg, #2c2c30, #0d0d10); padding: 0.4rem 0.5rem; }
.phone .p-card .logo { font-size: 0.55rem; }
.phone .p-done { position: absolute; left: 62%; top: 62%; width: 1.5rem; height: 1.5rem; color: var(--accent); }
.phone .p-done svg { width: 100%; height: 100%; }
.mini-card { position: absolute; aspect-ratio: 1.586; border-radius: 0.7rem; padding: 0.55rem 0.7rem; box-shadow: -0.8rem 1rem 2.4rem rgba(0, 0, 0, 0.55); }
.mini-card .logo { font-size: 0.7rem; }
.mini-card.silver { background: linear-gradient(135deg, #f4f4f6, #c9cad0); color: #66666c; }
.mini-card.black { background: linear-gradient(135deg, #2c2c30, #0d0d10); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); }
.mini-card .mc { position: absolute; right: 0.6rem; bottom: 0.5rem; width: 1.5rem; }
.mini-card .visa { position: absolute; right: 0.6rem; bottom: 0.3rem; width: 2rem; height: 1.2rem; color: #4a4a50; }

.dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.9rem; }
.dots i { width: 0.4rem; height: 0.4rem; border-radius: 0.2rem; background: rgba(255, 255, 255, 0.28); transition: width 0.25s, background 0.25s; }
.dots i.on { width: 1.6rem; background: rgba(255, 255, 255, 0.88); }

.section-title { font-size: 1.45rem; font-weight: 700; margin: 2.5rem 0 1.7rem; letter-spacing: -0.005em; line-height: 1.2; }
.chips { display: flex; gap: 0.85rem; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  flex: none; height: 2.4rem; padding: 0 1.2rem; border-radius: 9rem; font-size: 1.12rem; color: var(--text-3);
  background: rgba(255, 255, 255, 0.075); border: 1px solid rgba(255, 255, 255, 0.04); transition: background 0.15s, color 0.15s;
}
.chip-btn.on { background: #fff; color: #000; }

.tx-list { margin-top: 1.4rem; }
.tx { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tx:last-child { border-bottom: 0; }
.tx-ic { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.07); flex: none; }
.tx-ic svg { width: 1.6rem; height: 1.6rem; }
.tx-ic.in { color: var(--accent-soft); }
.tx-ic.out { color: rgba(255, 255, 255, 0.75); }
.tx-main { flex: 1; min-width: 0; }
.tx-title { font-size: 1.3rem; font-weight: 500; }
.tx-sub { font-size: 1.05rem; color: var(--text-3); margin-top: 0.2rem; }
.tx-amt { text-align: right; font-size: 1.3rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-amt.in { color: var(--accent-soft); }
.tx-st { font-size: 1rem; color: var(--text-3); font-weight: 400; margin-top: 0.2rem; }
.tx-st.failed, .tx-st.expired { color: #ff7a7a; }
.empty-note { color: var(--text-3); font-size: 1.25rem; margin-top: 1.2rem; }

/* ---------- spodní navigace ---------- */
.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  height: calc(var(--nav-h) + var(--safe-b)); padding-bottom: var(--safe-b);
  background: var(--bg-nav); border-top: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(1.4rem) saturate(1.2); backdrop-filter: blur(1.4rem) saturate(1.2);
}
.nav-inner { display: flex; justify-content: center; margin: 0 auto; width: 40.6rem; max-width: 100%; padding-top: 1.4rem; }
.nav button { display: flex; flex-direction: column; align-items: center; width: 6.45rem; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; line-height: 1.1; }
.nav button svg { width: 2.2rem; height: 2.2rem; margin-bottom: 0.25rem; }
.nav button:nth-child(3) svg { width: 2.45rem; height: 2.2rem; }
.nav button:nth-child(4) svg { width: 2.4rem; height: 2.2rem; }
.nav button.on { color: var(--blue-text); }

/* ---------- Cards ---------- */
.seg { display: flex; gap: 1.75rem; margin-top: 2.2rem; }
.seg button { font-size: 2rem; font-weight: 700; letter-spacing: -0.025em; color: rgba(255, 255, 255, 0.32); line-height: 1.2; }
.seg button.on { color: #fff; }
.page-sub { font-size: 1.05rem; color: var(--text-3); margin: 1.2rem 0 0; line-height: 1.45; }
.card-carousel {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 3rem;
  margin: 5.3rem calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 1.5rem; scroll-padding: 0 var(--pad);
}
.card-carousel::-webkit-scrollbar { display: none; }
.card-carousel .bank-card { flex: 0 0 100%; scroll-snap-align: center; }

.bank-card { position: relative; aspect-ratio: 1.59; border-radius: 1.8rem; overflow: hidden; container-type: inline-size; box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.3); }
.bank-card.silver { background: linear-gradient(118deg, #fbfbfc 0%, #ececef 40%, #d3d4d9 100%); color: #6b6b71; }
.bank-card.black { background: linear-gradient(118deg, #3b3b3f 0%, #1e1e21 45%, #111113 100%); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
.bank-card .facet { position: absolute; inset: 0; pointer-events: none; }
.bank-card.silver .facet { background:
  linear-gradient(112deg, transparent 0 26%, rgba(255, 255, 255, 0.5) 26% 50%, transparent 50%),
  linear-gradient(112deg, transparent 0 75%, rgba(0, 0, 0, 0.03) 75%),
  linear-gradient(180deg, transparent 0 60%, rgba(0, 0, 0, 0.025) 60%); }
.bank-card.black .facet { background:
  linear-gradient(112deg, transparent 0 26%, rgba(255, 255, 255, 0.045) 26% 50%, transparent 50%),
  linear-gradient(112deg, transparent 0 75%, rgba(0, 0, 0, 0.2) 75%),
  linear-gradient(180deg, transparent 0 60%, rgba(0, 0, 0, 0.08) 60%); }
.bank-card .logo { position: absolute; left: 5.8%; top: 10.5%; font-size: 9.6cqw; }
.bank-card .chip { position: absolute; right: 8.5%; top: 42%; width: 13.4cqw; }
.bank-card .mc { position: absolute; right: 5.6%; bottom: 10%; width: 16.4cqw; }
.bank-card .visa { position: absolute; right: 6%; bottom: 7%; width: 21cqw; height: 13cqw; color: #4b4b51; }
.bank-card .card-meta { position: absolute; left: 6%; bottom: 9%; font-size: 4.4cqw; font-weight: 500; letter-spacing: 0.04em; opacity: 0.9; }
.bank-card .card-meta b { display: block; font-size: 6.3cqw; letter-spacing: -0.02em; margin-top: 1cqw; }

.logo { display: inline-flex; align-items: center; gap: 0.25em; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.logo-mark { width: 1.05em; height: 1.05em; }

.card-info { text-align: center; margin-top: 3.6rem; }
.card-info h2 { margin: 0; font-size: 2.4rem; font-weight: 700; letter-spacing: -0.055em; line-height: 1.15; }
.card-info .desc { font-size: 1.2rem; color: var(--text-3); margin: 1rem auto 0; max-width: 33rem; line-height: 1.6; }
.card-info .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.05em; margin-top: 1.5rem; line-height: 1.15; }
.card-info .price-sub { font-size: 1.2rem; color: var(--text-2); margin-top: 0.6rem; word-spacing: 0.05em; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem; width: 100%; height: 4.6rem; border-radius: 2.3rem;
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.005em; color: var(--on-accent);
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent-lo) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0.6rem 1.8rem rgba(var(--accent-rgb), 0.28);
  transition: transform 0.1s, opacity 0.15s, background 0.15s;
}
.btn svg { width: 1.6rem; height: 1.6rem; }
.btn:active:not(:disabled) { transform: scale(0.985); }
.btn:disabled { background: var(--disabled); color: rgba(255, 255, 255, 0.3); box-shadow: none; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.13); color: rgba(255, 255, 255, 0.5); box-shadow: none; font-weight: 500; font-size: 1.2rem; height: 4.4rem; }
.card-info .btn { margin-top: 2.1rem; height: 4.8rem; border-radius: 2.4rem; }

.label { font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); font-weight: 500; }
.features { margin-top: 2.6rem; }
.features ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.features li { display: flex; align-items: center; gap: 0.9rem; font-size: 1.2rem; height: 2.4rem; }
.features li svg { width: 1.55rem; height: 1.55rem; flex: none; stroke-width: 2; }
.features li.no { color: var(--text-3); }

.accepted { margin-top: 2.5rem; }
.marquee { overflow: hidden; margin: 2.2rem calc(-1 * var(--pad)) 0; }
.marquee-track { display: flex; align-items: center; gap: 3.4rem; width: max-content; animation: marquee 24s linear infinite; padding-left: 1.7rem; }
.marquee-track svg { height: 3.1rem; width: 3.1rem; color: rgba(255, 255, 255, 0.88); flex: none; }
.marquee-track .m-cvs { width: 5.8rem; }
.marquee-track .m-wide { width: 5.4rem; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.7rem)); } }

.glass {
  background: linear-gradient(200deg, rgba(var(--tint-hi), 0.42) 0%, rgba(var(--tint), 0.5) 45%, rgba(var(--tint-lo), 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11); border-radius: 2rem;
  -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0.6rem 2rem rgba(0, 0, 0, 0.2);
}
.table { margin-top: 2.7rem; overflow: hidden; }
.table + .table { margin-top: 1.4rem; }
.table-head { padding: 1.55rem 1.8rem 1.4rem; border-bottom: 1px solid var(--line); }
.table-head .page-sub { margin-top: 0.75rem; font-size: 1.05rem; }
.row { display: flex; align-items: center; gap: 1.1rem; height: 5.3rem; padding: 0 1.8rem 0 1.6rem; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-ic { width: 2.8rem; height: 2.8rem; border-radius: 0.7rem; background: rgba(255, 255, 255, 0.075); display: grid; place-items: center; flex: none; color: rgba(255, 255, 255, 0.82); }
.row-ic svg { width: 1.5rem; height: 1.5rem; }
.row-label { flex: 1; display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; color: var(--text-2); }
.row-label button { width: 1.25rem; height: 1.25rem; color: var(--text-3); }
.row-label button svg { width: 100%; height: 100%; }
.row-val { font-size: 1.3rem; font-weight: 600; }

/* moje karty */
.my-cards { margin-top: 3rem; display: grid; gap: 2.2rem; }
.my-card-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; gap: 1.2rem; }
.my-card-bar .btn { width: auto; height: 3.4rem; padding: 0 1.6rem; font-size: 1.2rem; }
.status-pill { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.1rem; padding: 0.4rem 1rem; border-radius: 9rem; background: rgba(255, 255, 255, 0.08); color: var(--text-2); }
.status-pill.active { background: rgba(var(--accent-rgb), 0.2); color: var(--accent-pale); }
.empty-box { text-align: center; padding: 4.4rem 1.6rem; margin-top: 3rem; }
.empty-box .e-ic { width: 5rem; height: 5rem; margin: 0 auto 1.4rem; border-radius: 1.4rem; background: rgba(255, 255, 255, 0.07); display: grid; place-items: center; color: var(--text-2); }
.empty-box .e-ic svg { width: 2.4rem; height: 2.4rem; }
.empty-box p { color: var(--text-3); font-size: 1.3rem; margin: 0 0 2rem; }
.empty-box .btn { max-width: 22rem; margin: 0 auto; }

/* ---------- Loyalty / Help ---------- */
.page-title { font-size: 3.1rem; font-weight: 700; letter-spacing: -0.055em; margin: 0; line-height: 1.05; }
.page-title + .page-sub { font-size: 1.25rem; margin-top: 1rem; }
.page-title.help + .page-sub { font-size: 1.12rem; margin-top: 2.8rem; }
.tier-card { margin-top: 3.9rem; padding: 1.6rem 1.6rem 1.7rem; border-radius: 0.9rem; }
.tier-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tier-top .k { font-size: 1.15rem; color: var(--text-3); }
.tier-top .v { font-size: 2.45rem; font-weight: 700; letter-spacing: -0.045em; margin-top: 0.3rem; line-height: 1.15; }
.tier-top .r { text-align: right; }
.tier-top .r .v { font-size: 1.35rem; color: var(--blue-text); font-weight: 600; letter-spacing: 0; margin-top: 0.2rem; }
.progress { height: 0.3rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.1); margin-top: 2.2rem; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); border-radius: 0.3rem; }
.progress-meta { display: flex; justify-content: space-between; font-size: 1.05rem; color: var(--text-3); margin-top: 1.1rem; }
.tier-list { margin-top: 0; overflow: hidden; border-radius: 0.9rem; }
.tier-row { display: flex; align-items: center; gap: 1.3rem; height: 6.5rem; padding: 0 1.5rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.tier-row:last-child { border-bottom: 0; }
.tier-num { width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(var(--shade), 0.6); color: var(--text-3); font-size: 1.15rem; font-weight: 500; }
.tier-row.cur .tier-num { background: radial-gradient(circle at 50% 30%, var(--accent-hi), var(--accent-lo) 70%); color: var(--on-accent); box-shadow: 0 0.4rem 1.4rem rgba(var(--accent-rgb), 0.35); }
.tier-row.cur .tier-num svg { width: 1.7rem; height: 1.7rem; stroke-width: 1.8; }
.tier-row .n { flex: 1; font-size: 1.35rem; line-height: 1.3; }
.tier-row .n small, .tier-row .f small { display: block; font-size: 1.05rem; color: var(--text-3); margin-top: 0.15rem; }
.tier-row .f { text-align: right; font-size: 1.35rem; line-height: 1.3; }
.tier-row.dim .n, .tier-row.dim .f { opacity: 0.55; }
.xp-rules { overflow: hidden; border-radius: 0.9rem; }
.xp-rules .rule { display: flex; justify-content: space-between; align-items: center; height: 4.7rem; padding: 0 1.3rem; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
.xp-rules .rule:last-child { border-bottom: 0; }
.xp-rules .plus { color: var(--blue-text); }
.small-note { font-size: 1.05rem; color: var(--text-3); margin: 1.4rem 0.5rem 0; line-height: 1.45; }
.xp-item { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1.3rem; }
.xp-item small { display: block; color: var(--text-3); font-size: 1.05rem; margin-top: 0.2rem; }
.xp-item .plus { color: var(--blue-text); font-weight: 600; }
.xp-item.expired { opacity: 0.45; }
#xp-list .empty-note { margin-top: 0; font-size: 1.2rem; }

.faq { margin-top: 2rem; overflow: hidden; border-radius: 0.9rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; width: 100%; text-align: left; padding: 0 1.4rem 0 1.15rem; height: 4.65rem; font-size: 1.42rem; color: var(--text-2); }
.faq-q svg { width: 1.5rem; height: 1.5rem; color: var(--text-4); flex: none; transition: transform 0.2s; }
.faq-item.open .faq-q { color: #fff; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s ease; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 1.15rem 1.5rem; font-size: 1.22rem; line-height: 1.5; color: var(--text-3); }
.link-card { display: flex; align-items: center; gap: 1.2rem; width: 100%; text-align: left; height: 4.75rem; padding: 0 1.4rem 0 1.25rem; margin-top: 1.15rem; border-radius: 0.9rem; }
.link-card > svg:first-child { width: 1.5rem; height: 1.5rem; color: var(--text-2); flex: none; }
.link-card .t { flex: 1; font-size: 1.42rem; color: var(--text-2); line-height: 1.2; }
.link-card .t small { display: block; font-size: 1.02rem; color: var(--text-4); margin-top: 0.2rem; }
.link-card .chev { width: 1.5rem; height: 1.5rem; color: var(--text-3); }
.link-card .chev svg { width: 100%; height: 100%; }

/* ---------- bottom sheety ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.55); animation: ovIn 0.25s ease both; }
.overlay.out { animation: ovOut 0.22s ease both; }
@keyframes ovIn { from { opacity: 0; } }
@keyframes ovOut { to { opacity: 0; } }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; margin: 0 auto; width: 40.6rem; max-width: 100%;
  max-height: calc(100vh - 4rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: rgba(22, 22, 22, 0.97); border: 1px solid rgba(255, 255, 255, 0.11); border-bottom: 0;
  border-radius: 2.2rem 2.2rem 0 0; padding: 0 2.4rem calc(2.2rem + var(--safe-b));
  box-shadow: 0 -1rem 4rem rgba(0, 0, 0, 0.5);
  animation: shIn 0.32s cubic-bezier(0.2, 0.9, 0.25, 1) both;
}
.sheet::-webkit-scrollbar { display: none; }
.sheet.out { animation: shOut 0.24s ease-in both; }
@keyframes shIn { from { transform: translateY(100%); } }
@keyframes shOut { to { transform: translateY(100%); } }
.grab { padding: 2rem 0 2.2rem; touch-action: none; }
.grab i { display: block; width: 3.6rem; height: 0.4rem; border-radius: 0.3rem; background: #4a4a4a; margin: 0 auto; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; touch-action: none; min-height: 2.6rem; }
.sheet-head h3 { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 0.6rem; line-height: 1.3; padding-top: 0.1rem; }
.sheet-head h3 .back { width: 2rem; height: 2rem; margin-left: -0.5rem; color: var(--text-2); }
.sheet-head h3 .back svg { width: 100%; height: 100%; }
.sheet-head p { margin: 0.7rem 0 0; font-size: 1.05rem; color: var(--text-3); line-height: 1.4; }
.sheet-head .tools { display: flex; gap: 0.8rem; align-items: center; flex: none; }
.x-btn { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sheet-3); display: grid; place-items: center; color: rgba(255, 255, 255, 0.75); flex: none; }
.x-btn svg { width: 1.6rem; height: 1.6rem; stroke-width: 1.9; }
.sheet-body { margin-top: 2.9rem; }

.group { background: var(--sheet-2); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 0.8rem; overflow: hidden; }
.group + .group { margin-top: 1.2rem; }
.lang-box { padding: 1.55rem 1.2rem 1.2rem; }
.lang-box .lt { display: flex; align-items: center; gap: 0.9rem; font-size: 1.32rem; color: var(--text-2); }
.lang-box .lt svg { width: 1.4rem; height: 1.4rem; color: var(--text-3); margin-left: 0.1rem; }
.lang-pills { display: flex; gap: 0.8rem; margin-top: 1.5rem; }
.lang-pills button { height: 2.4rem; width: 4.2rem; border-radius: 9rem; font-size: 1.1rem; background: var(--sheet-3); color: var(--text-3); }
.lang-pills button.on { background: #fff; color: #000; font-weight: 500; }
.link-row { display: flex; align-items: center; gap: 1.2rem; width: 100%; text-align: left; min-height: 6.4rem; padding: 0 1.6rem 0 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.link-row:last-child { border-bottom: 0; }
.link-row > svg:first-child { width: 1.5rem; height: 1.5rem; color: var(--text-3); flex: none; }
.link-row .t { flex: 1; font-size: 1.32rem; color: var(--text-2); min-width: 0; line-height: 1.25; }
.link-row .t small { display: block; font-size: 1.05rem; color: var(--text-4); margin-top: 0.35rem; }
.link-row .chev { width: 1.4rem; height: 1.4rem; color: var(--text-3); flex: none; display: grid; place-items: center; }
.link-row .chev svg { width: 100%; height: 100%; }
.group.list .link-row { min-height: 5.4rem; }
.sheet-foot { margin-top: 2rem; }

/* klávesnice a částka */
.amount-wrap { text-align: center; margin: 3.6rem 0 2.4rem; }
.amount { font-size: 4.3rem; font-weight: 700; letter-spacing: -0.035em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; transition: color 0.15s; }
.amount.zero { color: #4a4a4a; }
.amount-hint { font-size: 1.05rem; color: var(--text-3); margin-top: 0.5rem; min-height: 1.4rem; }
.amount-hint.err { color: #ff7a7a; }
.keypad { display: grid; grid-template-columns: repeat(3, 1fr); }
.keypad button { height: 5.2rem; font-size: 2.2rem; font-weight: 400; color: rgba(255, 255, 255, 0.88); border-radius: 1.2rem; display: grid; place-items: center; transition: background 0.1s; }
.keypad button:active { background: rgba(255, 255, 255, 0.06); }
.keypad button svg { width: 2.2rem; height: 2.2rem; stroke-width: 1.6; }
.keypad + .sheet-foot { margin-top: 1.9rem; }
.btn.cta { height: 4.2rem; border-radius: 2.1rem; font-size: 1.25rem; font-weight: 700; }
.btn.cta:disabled { background: var(--disabled); color: rgba(255, 255, 255, 0.3); }

.avail { display: flex; justify-content: space-between; font-size: 1.1rem; color: var(--text-3); padding: 0 0.4rem; }
.avail b { font-weight: 400; color: var(--text-2); }
.asset-row { display: flex; align-items: center; gap: 1rem; width: 100%; height: 4.3rem; padding: 0 1.4rem 0 1.2rem; margin-top: 1.8rem; border-radius: 0.5rem; background: var(--sheet-2); border: 1px solid rgba(255, 255, 255, 0.1); font-weight: 600; font-size: 1.2rem; text-align: left; }
.asset-row .grow { flex: 1; }
.asset-row .grow small { font-weight: 400; color: var(--text-3); font-size: 1.05rem; margin-left: 0.5rem; }
.asset-row .chev { width: 1.4rem; height: 1.4rem; color: var(--text-3); }
.asset-row .chev svg { width: 100%; height: 100%; }
.coin { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.coin svg { width: 1.05rem; height: 1.05rem; }
.link-row .coin { width: 2.8rem; height: 2.8rem; }
.link-row .coin svg { width: 1.6rem; height: 1.6rem; }

/* analytika */
.af-chips { display: flex; gap: 0.8rem; margin-top: 1.95rem; }
.af-chip { display: inline-flex; align-items: center; gap: 0.7rem; height: 2.5rem; padding: 0 1rem 0 1.1rem; border-radius: 9rem; border: 1px solid rgba(255, 255, 255, 0.16); background: var(--sheet-2); font-size: 1.15rem; color: var(--text-2); }
.af-chip svg { width: 1.2rem; height: 1.2rem; color: var(--text-3); }
.filter-btn { display: inline-flex; align-items: center; gap: 0.6rem; height: 2.7rem; padding: 0 1.1rem 0 1.15rem; border-radius: 9rem; background: var(--sheet-3); font-size: 1.2rem; color: var(--text-2); position: relative; }
.filter-btn svg { width: 1.2rem; height: 1.2rem; }
.filter-btn .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.8); margin-left: 0.15rem; }
.popover { position: absolute; z-index: 5; top: 3.4rem; right: 0; min-width: 15rem; padding: 0.5rem; border-radius: 1.2rem; background: #242424; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.5); animation: fadeIn 0.15s ease both; }
.popover button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0.9rem 1rem; border-radius: 0.8rem; font-size: 1.25rem; color: var(--text-2); text-align: left; }
.popover button.on { color: #fff; background: rgba(255, 255, 255, 0.06); }
.popover button svg { width: 1.4rem; height: 1.4rem; color: var(--blue-text); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 1.7rem; }
.stat { height: 6rem; padding: 1.25rem 1.6rem 0; border-radius: 1.5rem; background: var(--sheet-2); border: 1px solid rgba(255, 255, 255, 0.11); box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.3); }
.stat .k { font-size: 1.05rem; color: var(--text-3); }
.stat .v { font-size: 1.45rem; font-weight: 700; margin-top: 0.75rem; letter-spacing: -0.01em; }
.chart { position: relative; margin-top: 2.2rem; height: 21.4rem; border-radius: 1.5rem; background: var(--sheet-2); border: 1px solid rgba(255, 255, 255, 0.11); box-shadow: 0 0.5rem 1.2rem rgba(0, 0, 0, 0.3); }
.legend { position: absolute; top: 1.7rem; left: 1.6rem; display: flex; gap: 2rem; font-size: 1.15rem; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 0.9rem; }
.legend i { width: 0.8rem; height: 0.8rem; border-radius: 0.2rem; }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.chart text { font-family: var(--font); font-size: 10.5px; fill: rgba(255, 255, 255, 0.38); }
.chart + .sheet-foot { margin-top: 4.5rem; }

/* vklad / výběr detaily */
.pay-box { text-align: center; }
.qr { width: 17rem; height: 17rem; margin: 0 auto; border-radius: 1.4rem; background: #fff; padding: 1.1rem; }
.qr svg { width: 100%; height: 100%; }
.kv { margin-top: 1.8rem; }
.kv .kv-row { padding: 1.2rem 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); text-align: left; }
.kv .kv-row:last-child { border-bottom: 0; }
.kv .k { font-size: 1.05rem; color: var(--text-3); }
.kv .v { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 0.4rem; font-size: 1.3rem; font-weight: 600; word-break: break-all; -webkit-user-select: text; user-select: text; }
.kv .v.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; font-weight: 500; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 0.5rem; height: 2.6rem; padding: 0 1rem; border-radius: 9rem; background: var(--sheet-3); font-size: 1.1rem; font-weight: 500; color: var(--text-2); }
.copy-btn svg { width: 1.2rem; height: 1.2rem; }
.exact { text-align: center; margin-bottom: 1.8rem; }
.exact .k { font-size: 1.1rem; color: var(--text-3); }
.exact-amt { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 0.4rem; font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; -webkit-user-select: text; user-select: text; word-break: break-all; }
.exact-amt span { color: var(--text-2); font-size: 1.8rem; }
.exact p { margin: 0.8rem auto 0; max-width: 32rem; font-size: 1.1rem; line-height: 1.45; color: var(--accent-soft); }
.pay-box-alert { margin-top: 1.6rem; padding: 1.3rem 1.4rem; border-radius: 1.2rem; text-align: left; font-size: 1.2rem; line-height: 1.5; color: #ffb4b4; background: rgba(255, 90, 90, 0.1); border: 1px solid rgba(255, 90, 90, 0.28); }
.pay-box-alert b { display: block; color: #ff8a8a; font-size: 1.3rem; margin-bottom: 0.4rem; }
.kv .v .coin { width: 2rem; height: 2rem; }
.coin.cut { background: #fff; }
.coin.cut svg { width: 100%; height: 100%; }
.link-row .coin.cut svg, .kv .v .coin.cut svg { width: 100%; height: 100%; }
.coin-t { font-size: 1.1em; font-weight: 800; line-height: 1; }
.link-row .coin-t { font-size: 1.4rem; }
.tx[data-act] { cursor: pointer; }
.pay-status { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 1.6rem; font-size: 1.25rem; color: var(--text-2); }
.pay-status.ok { color: var(--accent-soft); }
.pay-status.bad { color: #ff7a7a; }
.pay-status svg { width: 1.8rem; height: 1.8rem; }
.spinner { display: inline-block; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 0.2rem solid rgba(255, 255, 255, 0.15); border-top-color: var(--blue-text); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { font-size: 1.05rem; color: var(--text-3); line-height: 1.45; margin-top: 1.3rem; text-align: center; }
.field { position: relative; }
.field textarea {
  width: 100%; min-height: 8rem; resize: none; padding: 1.3rem 8rem 1.3rem 1.4rem; border-radius: 1.2rem; outline: none;
  background: var(--sheet-2); border: 1px solid rgba(255, 255, 255, 0.1); font-size: 1.25rem; line-height: 1.4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.field textarea:focus { border-color: rgba(var(--accent-rgb), 0.6); }
.field .copy-btn { position: absolute; right: 1rem; top: 1rem; }
.addr-check { min-height: 2rem; margin-top: 0.8rem; font-size: 1.15rem; line-height: 1.4; }
.addr-check span { display: flex; align-items: flex-start; gap: 0.6rem; }
.addr-check svg { width: 1.5rem; height: 1.5rem; flex: none; margin-top: 0.05rem; }
.addr-check .ok { color: var(--accent-soft); }
.addr-check .bad { color: #ff8a8a; }
.wd-notice { display: flex; align-items: flex-start; gap: 0.8rem; margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-radius: 1rem; font-size: 1.12rem; line-height: 1.45; color: var(--accent-pale); background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.22); }
.wd-notice svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--accent-text); }
.wd-notice.wd-first { margin: 1.4rem 0 -0.4rem; align-items: center; }
.summary { margin-top: 1.5rem; }
.summary .line { display: flex; justify-content: space-between; padding: 1.15rem 1.4rem; font-size: 1.2rem; color: var(--text-2); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.summary .line:last-child { border-bottom: 0; }
.summary .line b { color: #fff; font-weight: 600; }
.done-box { text-align: center; }
.done-box .big-ic { width: 6rem; height: 6rem; margin: 0 auto 1.6rem; color: var(--accent); }
.done-box .big-ic svg { width: 100%; height: 100%; }
.done-box h4 { margin: 0; font-size: 1.8rem; letter-spacing: -0.02em; }
.done-box p { margin: 0.8rem auto 0; font-size: 1.25rem; color: var(--text-3); line-height: 1.5; max-width: 30rem; }
.info-text { font-size: 1.3rem; color: var(--text-2); line-height: 1.55; margin: 0; }

/* ---------- vydání karty: účet, slide to confirm ---------- */
.bill { margin-top: 2.6rem; }
.bill .bl { display: flex; justify-content: space-between; align-items: center; height: 3.3rem; padding: 0 0.4rem; font-size: 1.1rem; color: var(--text-3); border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-variant-numeric: tabular-nums; }
.bill .bl span:last-child { color: var(--text-2); }
.bill .bl.total { height: 3.9rem; border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 0; margin-top: -1px; font-size: 1.2rem; font-weight: 700; color: var(--text-2); }
.bill .bl.total span:last-child { color: #fff; }
.amount-wrap.tight { margin: 3rem 0 1.8rem; }
.hint-link { color: var(--accent-text); text-decoration: underline; font-size: inherit; }
.slide-confirm {
  position: relative; height: 6.6rem; border-radius: 3.3rem; overflow: hidden; touch-action: none;
  background: #1b1b1b; border: 1px solid rgba(255, 255, 255, 0.13); display: grid; place-items: center;
}
.slide-confirm .sc-label { font-size: 1.3rem; font-weight: 700; color: rgba(255, 255, 255, 0.7); padding-left: 4rem; pointer-events: none; }
.slide-confirm .sc-knob {
  position: absolute; left: 0.8rem; top: 0.7rem; width: 5.2rem; height: 5.2rem; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent-lo)); color: var(--on-accent); cursor: grab;
  box-shadow: 0 0.4rem 1.4rem rgba(var(--accent-rgb), 0.35);
}
.slide-confirm .sc-knob svg { width: 2rem; height: 2rem; stroke-width: 2; }
.slide-confirm:not(.off) .sc-label { background: linear-gradient(90deg, rgba(255,255,255,.45) 0%, #fff 50%, rgba(255,255,255,.45) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: scShine 2.4s linear infinite; }
@keyframes scShine { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.slide-confirm.off .sc-label { color: rgba(255, 255, 255, 0.22); }
.slide-confirm.off .sc-knob { background: #3a3a3a; color: rgba(255, 255, 255, 0.45); box-shadow: none; cursor: default; }
.slide-confirm.done .sc-label { opacity: 0; }

/* šipky karuselu karet */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 1.8rem; margin-top: 1.4rem; }
.carousel-nav .dots { margin-top: 0; }
.cn-btn { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); transition: opacity 0.2s, background 0.15s; }
.cn-btn svg { width: 1.6rem; height: 1.6rem; stroke-width: 2; }
.cn-btn:active:not(:disabled) { background: rgba(255, 255, 255, 0.16); }
.cn-btn:disabled { opacity: 0.3; cursor: default; }

/* prázdné transakce */
.tx-empty { text-align: center; padding: 3.2rem 0 1rem; }
.tx-empty .te-ic { width: 6.4rem; height: 6.4rem; margin: 0 auto 1.8rem; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, 0.55); background: rgba(var(--tint-hi), 0.35); border: 1px solid rgba(255, 255, 255, 0.1); }
.tx-empty .te-ic svg { width: 2.6rem; height: 2.6rem; }
.tx-empty .te-t { font-size: 1.45rem; font-weight: 600; color: var(--text-3); }
.tx-empty .te-s { font-size: 1.2rem; color: var(--text-4); margin-top: 1rem; }

/* úvodní načítání */
#splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); transition: opacity 0.4s ease, visibility 0.4s; }
#splash.hide { opacity: 0; visibility: hidden; }
#splash::before { content: ''; position: absolute; inset: 0; background: radial-gradient(45% 30% at 50% 45%, rgba(var(--glow-1), 0.35), rgba(var(--glow-1), 0) 70%); animation: spGlow 1.6s ease-in-out infinite alternate; }
.sp-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2.4rem; }
.sp-logo { display: flex; align-items: center; gap: 0.9rem; font-size: 3.4rem; font-weight: 700; letter-spacing: -0.05em; color: #fff; }
.sp-mark { width: 4rem; height: 4rem; color: var(--accent); animation: spMark 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3) both; }
.sp-mark rect:first-child { stroke-dasharray: 90; stroke-dashoffset: 90; animation: spDraw 0.8s 0.1s ease-out forwards; }
.sp-word { overflow: hidden; display: inline-block; animation: spWord 0.6s 0.25s ease-out both; }
.sp-bar { width: 12rem; height: 0.3rem; border-radius: 0.3rem; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.sp-bar i { display: block; width: 40%; height: 100%; border-radius: 0.3rem; background: linear-gradient(90deg, var(--accent-lo), var(--accent-hi)); animation: spBar 1s ease-in-out infinite; }
@keyframes spMark { from { transform: scale(0.4) rotate(-12deg); opacity: 0; } }
@keyframes spDraw { to { stroke-dashoffset: 0; } }
@keyframes spWord { from { opacity: 0; transform: translateX(-1rem); clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes spBar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
@keyframes spGlow { from { opacity: 0.6; } to { opacity: 1; } }

/* ---------- toast + mimo Telegram ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 1.6rem); z-index: 80; transform: translate(-50%, 2rem);
  padding: 1rem 1.6rem; border-radius: 1.2rem; background: #262626; border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.25rem; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: calc(100% - 3.2rem); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.gate { min-height: 80vh; display: grid; place-items: center; text-align: center; color: var(--text-2); font-size: 1.4rem; }
.gate .logo { font-size: 2.8rem; color: #fff; margin-bottom: 1.4rem; }
.skeleton { background: rgba(255, 255, 255, 0.08); border-radius: 0.6rem; color: transparent !important; }
