:root {
    --orange: #f97316;
    --rose: #f43f5e;
    --rose-dark: #e11d48;
    --orange-600: #ea580c;
    --orange-50: #fff7ed;
    --grad: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);

    --ink: #111827;
    --gray-700: #374151;
    --muted: #6b7280;
    --gray-400: #9ca3af;
    --line: #e5e7eb;
    --bg: #f9fafb;
    --card: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 16px; width: 100%; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
/* Hlavní obsah potřebuje svislé mezery, ať se nelepí na nav a footer */
main.container { padding-top: 24px; padding-bottom: 56px; }
/* Banner „ověř si e-mail" */
.verify-banner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; }
.vb-text { flex: 1; min-width: 220px; font-size: .9rem; color: #9a3412; display: inline-flex; align-items: center; gap: 8px; }
.vb-text .ic { color: #ea580c; flex-shrink: 0; }
.vb-btn { background: #f97316; color: #fff; border: none; border-radius: 9px; padding: 8px 14px; font-weight: 700; font-size: .82rem; cursor: pointer; font-family: inherit; white-space: nowrap; }
.vb-btn:hover { background: #ea580c; }
/* Inline SVG ikony (Lucide) — škálují s textem, dědí barvu */
.ic { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.18em; flex-shrink: 0; }

/* Glass sticky nav (Palivko) */
.nav {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}
.nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 640px) { .nav-inner { padding: 0 24px; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 32px; } }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { opacity: .85; }
.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: rotate(3deg);
    transition: transform .3s;
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, .3);
}
.brand:hover .brand-logo { transform: rotate(0); }
.brand-logo svg { width: 24px; height: 24px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.2)); }

.brand-name { font-weight: 800; font-size: 1.25rem; }
.brand-name .grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.brand-name .tld { color: var(--gray-400); font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all .15s;
}
.nav-links a:hover { color: var(--ink); background: #f3f4f6; }

/* Dropdown "Více" */
.more-menu { position: relative; }
.more-menu summary { list-style: none; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; }
.more-menu summary::-webkit-details-marker { display: none; }
.more-menu summary:hover { color: var(--ink); background: #f3f4f6; }
.more-caret { font-size: .7rem; transition: transform .2s; }
.more-menu[open] .more-caret { transform: rotate(180deg); }
.more-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px -8px rgba(0,0,0,.2); padding: 8px; z-index: 1200; display: flex; flex-direction: column; }
.more-panel a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 9px; color: var(--gray-700); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.more-panel a:hover { background: var(--orange-50); color: var(--orange-600); }
.more-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* ===== Mobilní navigace: spodní tab bar + drawer (skryté na desktopu) ===== */
.bottom-nav, .md-overlay, .md-drawer { display: none; }
.md-drawer {
    flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0;
    width: 84%; max-width: 340px; background: #fff; z-index: 1700;
    transform: translateX(100%); transition: transform .26s cubic-bezier(.4,0,.2,1);
    box-shadow: -10px 0 40px rgba(0,0,0,.22); overflow-y: auto;
    padding-bottom: env(safe-area-inset-bottom);
}
.md-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.md-title { font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.md-close { cursor: pointer; color: var(--gray-500); display: inline-flex; padding: 6px; margin: -6px; }
.md-close .ic { width: 22px; height: 22px; }
.md-links { display: flex; flex-direction: column; padding: 10px; gap: 1px; }
.md-links a, .md-logout { display: flex; align-items: center; gap: 11px; padding: 12px 12px; border-radius: 11px; color: var(--gray-700); font-weight: 600; font-size: .98rem; text-decoration: none; background: none; border: 0; width: 100%; cursor: pointer; }
.md-links a:active, .md-links a:hover { background: var(--orange-50); color: var(--orange-600); }
.md-links .ic { width: 20px; height: 20px; flex-shrink: 0; color: var(--gray-400); }
.md-links a:hover .ic, .md-links a:active .ic { color: var(--orange-600); }
.md-cta { background: linear-gradient(135deg, var(--orange-600), #f43f5e) !important; color: #fff !important; justify-content: center; }
.md-cta .ic { color: #fff !important; }
.md-logout-form { width: 100%; }
.md-logout { color: #be123c; }
.md-sep { height: 1px; background: var(--line); margin: 8px 6px; }
.md-lang { display: flex; gap: 6px; padding: 4px 8px 8px; }
.md-lang a { flex: 1; justify-content: center; padding: 9px 4px; border: 1px solid var(--line); border-radius: 10px; font-size: .82rem; font-weight: 700; color: var(--gray-600); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.md-lang a.on { border-color: var(--orange-600); color: var(--orange-600); background: var(--orange-50); }

@media (max-width: 760px) {
    /* Skryj desktop horizontální odkazy, nech jen brand + login/registrace/avatar */
    .nav-links .nav-main, .more-menu, .nav-links .lang-switch { display: none; }
    .nav-links { gap: 6px; }

    /* Spodní tab bar */
    .bottom-nav {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
        background: #fff; border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 20px -8px rgba(0,0,0,.14);
    }
    .bottom-nav a, .bottom-nav .bn-more {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 3px; padding: 7px 2px 5px; text-decoration: none; color: var(--gray-500);
        font-size: .65rem; font-weight: 700; cursor: pointer; background: none; border: 0;
        min-height: 52px; -webkit-tap-highlight-color: transparent;
    }
    .bottom-nav .ic { width: 22px; height: 22px; }
    .bottom-nav a.is-active { color: var(--orange-600); }
    .bottom-nav a.is-active .ic { stroke-width: 2.5; }

    /* obsah nad spodní lištu (aby ji nezakrýval footer/obsah) */
    body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
    .site-footer { margin-bottom: 8px; }

    /* Drawer aktivace */
    .md-drawer { display: flex; }
    .md-toggle:checked ~ .md-drawer { transform: translateX(0); }
    .md-overlay { display: block; position: fixed; inset: 0; background: rgba(17,24,39,.45); z-index: 1600; opacity: 0; pointer-events: none; transition: opacity .26s; }
    .md-toggle:checked ~ .md-overlay { opacity: 1; pointer-events: auto; }
    body:has(.md-toggle:checked) { overflow: hidden; }
}

/* ===== Globální mobilní polish ===== */
@media (max-width: 760px) {
    html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
    body { overflow-x: hidden; }
    /* iOS nezoomuje při focusu, když má input >=16px */
    input, select, textarea { font-size: 16px; }
    /* lepší tap targety pro tlačítka/odkazy v akcích */
    .btn, .nav-cta, button[type="submit"] { min-height: 44px; }
}

/* ===== Tabulka stanic → karty na mobilu ===== */
@media (max-width: 760px) {
    .stations { box-shadow: none; border: 0; background: transparent; }
    .stations thead { position: absolute; left: -9999px; }
    .stations, .stations tbody, .stations tr, .stations td { display: block; width: 100%; }
    .stations tbody tr {
        background: #fff !important; border: 1px solid var(--line); border-radius: 16px;
        margin: 0 0 12px; padding: 14px 15px; box-shadow: 0 4px 14px -8px rgba(17,24,39,.18);
    }
    .stations td { border: 0 !important; padding: 0; }
    .stations td.name { margin: 0 0 4px; }
    .stations td.st-city { color: var(--gray-500); font-size: .82rem; margin: 0 0 11px; padding-left: 46px; }
    .stations td.st-city::before { content: ""; }
    /* ceny jako mřížka chipů */
    .stations td.price {
        display: inline-flex; flex-direction: column; gap: 2px; align-items: flex-start;
        width: calc(33.333% - 7px); margin: 0 10px 9px 0; padding: 8px 10px;
        background: #f9fafb; border-radius: 11px; vertical-align: top; box-sizing: border-box;
    }
    .stations td.price:nth-of-type(3n+1) { margin-right: 10px; }
    .stations td.price.price-empty { display: none; }
    .stations td.price::before {
        content: attr(data-fuel); font-size: .62rem; font-weight: 700; color: var(--gray-400);
        text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; white-space: nowrap;
        overflow: hidden; text-overflow: ellipsis; max-width: 100%;
    }
    .stations td.price .price-tag { font-size: 1.05rem; font-weight: 800; padding: 0; background: none !important; }
    /* st-name-cell zarovnani v karte */
    .st-name-cell { align-items: center; }
}

/* Hero */
.hero { text-align: center; padding: 56px 0 36px; }
.hero h1 { font-size: 2.4rem; margin: 0 0 10px; font-weight: 800; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: 1.1rem; margin: 0 0 22px; }

.btn {
    display: inline-block;
    background: var(--grad);
    color: #fff;
    padding: 11px 20px;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px -2px rgba(244, 63, 94, .35);
    transition: box-shadow .2s, transform .1s;
}
.btn:hover { box-shadow: 0 8px 20px -4px rgba(244, 63, 94, .45); }
.btn:active { transform: translateY(1px); }

/* ===== Welcome landing (guest homepage) ===== */
.grad-text { background: linear-gradient(90deg, #f97316, #f43f5e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.welcome-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; padding: 44px 0 40px; }
.wh-title { font-size: 3.1rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.wh-sub { font-size: 1.1rem; color: var(--muted); max-width: 28rem; margin: 16px 0 0; line-height: 1.6; }
.wh-checks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wh-checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--gray-700); }
.wh-check { width: 24px; height: 24px; border-radius: 50%; background: #ffedd5; color: var(--orange-600); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; flex-shrink: 0; }

.wh-account { margin-top: 24px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 24px; }
.wh-account h2 { margin: 0; font-size: 1.3rem; font-weight: 800; }
.wh-account-sub { color: var(--orange-600); font-weight: 700; margin: 2px 0 0; }
.wh-cta { display: flex; gap: 12px; margin-top: 20px; }
.wh-cta .btn-block { flex: 1; }
.btn-secondary { flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: 13px 20px; border-radius: 14px; font-weight: 700; background: #f3f4f6; color: var(--gray-700); text-decoration: none; transition: background .15s; }
.btn-secondary:hover { background: #e5e7eb; }
.wh-account-note { color: var(--gray-400); font-size: .85rem; margin: 12px 0 0; }
.wh-prices-link { display: inline-block; margin-top: 18px; color: var(--muted); font-weight: 600; font-size: .9rem; text-decoration: none; }
.wh-prices-link:hover { color: var(--orange-600); }

.wh-right { display: flex; flex-direction: column; gap: 20px; }
.savings-card { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.12); padding: 28px; position: relative; overflow: hidden; }
.sc-eyebrow { font-size: .72rem; font-weight: 800; color: var(--orange-500); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 8px; }
.sc-amount { font-size: 3.8rem; font-weight: 900; line-height: 1; background: linear-gradient(135deg,#10b981,#14b8a6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-variant-numeric: tabular-nums; }
.sc-cur { font-size: 1.3rem; -webkit-text-fill-color: var(--gray-400); color: var(--gray-400); font-weight: 700; }
.sc-sub { color: var(--muted); margin: 6px 0 20px; }
.sc-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.sc-range { width: 100%; accent-color: var(--orange); cursor: pointer; }
.sc-scale { display: flex; justify-content: space-between; font-size: .68rem; color: var(--gray-400); margin: 6px 0 16px; }
.sc-year { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.sc-year strong { color: #059669; }

.social-card { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.05); padding: 24px; }
.social-title { font-weight: 800; margin: 0; }
.avatars { display: flex; margin: 16px 0; }
.av { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 0 0 4px #fff; }
.av + .av { margin-left: -12px; }
.av-plus { background: #fff7ed; color: var(--orange-600); }
.social-sub { color: var(--muted); margin: 0; display: flex; align-items: center; gap: 8px; }

.how-sec { padding: 44px 0; border-top: 1px solid var(--line); }
.how-title { text-align: center; font-size: 2.2rem; font-weight: 900; letter-spacing: -.02em; margin: 0 0 36px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 64rem; margin: 0 auto; }
.step { text-align: center; }
.step-ico { width: 76px; height: 76px; margin: 0 auto; border-radius: 20px; background: #fff; border: 1px solid #ffedd5; box-shadow: 0 4px 12px -4px rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.step-h { margin-top: 16px; font-weight: 800; }
.step-n { color: var(--orange-400); font-size: 1.4rem; font-weight: 900; margin-right: 4px; }
.step-d { color: var(--muted); margin: 6px auto 0; max-width: 16rem; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 56rem; margin: 0 auto; padding: 32px 0 48px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-ico { width: 44px; height: 44px; border-radius: 50%; background: #ecfdf5; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.trust-t { font-weight: 800; margin: 0; line-height: 1.2; }
.trust-d { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.2; }

/* ===== /ceny (rich list) ===== */
.live-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #fed7aa; border-radius: 999px; padding: 5px 12px; font-size: .72rem; font-weight: 800; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 14px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 1.6s infinite; }
.dot-sep { color: var(--gray-400); margin: 0 4px; }
.city-search { position: relative; max-width: 32rem; margin: 18px 0 14px; }
.cs-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .5; }
.city-search input { width: 100%; padding: 13px 16px 13px 42px; border: 2px solid var(--line); border-radius: 16px; font-family: inherit; font-size: 1rem; font-weight: 500; }
.city-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
.cs-results { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px -8px rgba(0,0,0,.2); overflow: hidden; }
.cs-results a { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #f1f5f9; }
.cs-results a:last-child { border-bottom: 0; }
.cs-results a:hover { background: var(--orange-50); }
.cr-name { font-weight: 700; }
.cr-count { font-size: .78rem; color: var(--gray-400); font-weight: 700; }
.hero-bullets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; color: var(--muted); }
.hero-bullets span:not(.dot-sep) { font-weight: 600; }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 8px; text-align: center; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0,0,0,.12); }
.tile-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 12px; font-size: 1.2rem; }
.tile-label { font-size: .78rem; font-weight: 700; color: var(--gray-700); }

.cities-sec { margin-bottom: 28px; }
.cities-head { font-size: .72rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: all .15s; }
.city-chip:hover { border-color: var(--orange); background: var(--orange-50); }
.cc-count { font-size: .72rem; font-weight: 800; color: var(--gray-400); }

.fuel-overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.fo-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.fo-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.fo-label { font-size: .76rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.fo-avg { font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.fo-unit { font-size: .8rem; color: var(--gray-400); font-weight: 600; }
.fo-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.fo-min { color: #059669; }
.fo-max { color: #ef4444; }
.fo-count { margin-left: auto; color: var(--gray-400); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 18px; }
.fb-search { position: relative; flex: 1; min-width: 220px; }
.fb-search input { width: 100%; padding: 11px 14px 11px 40px; background: #f9fafb; border: 0; border-radius: 12px; font-family: inherit; font-size: .9rem; }
.fb-search input:focus { outline: 2px solid var(--orange); }
.filter-bar select { background: #f9fafb; border: 0; border-radius: 12px; padding: 11px 14px; font-family: inherit; font-size: .9rem; cursor: pointer; max-width: 100%; }
.sort-toggle { display: flex; background: #f1f5f9; border-radius: 12px; padding: 4px; }
.sort-toggle a { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-family: inherit; font-weight: 700; font-size: .85rem; color: var(--muted); cursor: pointer; text-decoration: none; }
.sort-toggle a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }

/* Aktivní karta paliva (vybrané palivo) */
.fo-card { display: block; text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s, transform .1s; }
.fo-card:hover { box-shadow: 0 8px 18px -8px rgba(0,0,0,.15); }
.fo-card.active { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(249,115,22,.35); }

.cheapest-banner { display: flex; align-items: center; gap: 18px; background: linear-gradient(135deg,#10b981,#14b8a6); color: #fff; border-radius: 24px; padding: 22px 26px; margin-bottom: 18px; text-decoration: none; box-shadow: 0 20px 40px -12px rgba(16,185,129,.35); }
.cb-rank { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 900; flex-shrink: 0; }
.cb-info { flex: 1; min-width: 0; }
.cb-eyebrow { font-size: .82rem; color: rgba(255,255,255,.85); font-weight: 600; }
.cb-name { font-size: 1.4rem; font-weight: 800; }
.cb-addr { font-size: .88rem; color: rgba(255,255,255,.85); }
.cb-price { font-size: 2.6rem; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cb-unit { font-size: .9rem; font-weight: 700; opacity: .85; }
.result-count { margin: 0 0 10px; }

/* End-of-list patka (jako Palivko) */
.list-end { border-top: 4px solid var(--orange); background: linear-gradient(135deg, #fff7ed, #fff1f2 55%, #fff); border-radius: 0 0 18px 18px; padding: 22px 16px; text-align: center; margin-top: -1px; }
.le-pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #fed7aa; border-radius: 999px; padding: 6px 14px; font-size: .72rem; font-weight: 800; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 1px 3px rgba(0,0,0,.05); margin-bottom: 12px; }
.le-count { font-size: .9rem; font-weight: 700; color: var(--gray-700); margin-bottom: 14px; }
.le-count strong { color: var(--ink); }
.le-page { display: block; color: var(--muted); font-weight: 600; font-size: .85rem; margin-top: 2px; }
.le-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 24rem; margin: 0 auto; }
.le-nav a, .le-nav span { display: inline-flex; align-items: center; justify-content: center; padding: 12px 8px; border-radius: 12px; font-weight: 800; font-size: .9rem; text-decoration: none; }
.le-prev { background: #fff; border: 2px solid var(--line); color: var(--gray-700); }
.le-prev:hover { border-color: var(--orange); color: var(--orange-600); }
.le-next { background: var(--grad); color: #fff; box-shadow: 0 4px 12px -2px rgba(244,63,94,.35); }
.le-next:hover { opacity: .92; }
.le-nav .disabled { opacity: .35; cursor: not-allowed; }
.le-nav span.le-next.disabled { background: #d1d5db; box-shadow: none; }

/* ===== Značky (brand comparison) ===== */
.brands-hero { padding: 40px 0 20px; }
.brands-hero .wh-title { font-size: 2.6rem; }
.fuel-chips-row { display: flex; flex-wrap: wrap; gap: 6px; background: #f1f5f9; border-radius: 12px; padding: 5px; margin-bottom: 22px; width: fit-content; }
.fuel-chips-row .fchip { text-decoration: none; }
.brand-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.bstat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.bstat-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff7ed; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.bstat-num { font-size: 1.3rem; font-weight: 900; line-height: 1.1; }
.bstat-label { font-size: .82rem; color: var(--muted); font-weight: 600; }
.brand-bars { display: flex; flex-direction: column; gap: 10px; }
.brand-bar-row { display: grid; grid-template-columns: 150px 1fr 84px; align-items: center; gap: 12px; }
.bb-name { font-weight: 700; font-size: .9rem; }
.bb-count { font-size: .72rem; color: var(--gray-400); font-weight: 700; }
.bb-track { height: 22px; background: #f1f5f9; border-radius: 8px; overflow: hidden; }
.bb-fill { height: 100%; border-radius: 8px; transition: width .4s; }
.bb-price { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: .9rem; }

/* ===== Predikce ===== */
.pred-hero { padding: 38px 0 16px; }
.pred-hero .wh-title { font-size: 2.6rem; }
.pred-kicker { font-size: .8rem; font-weight: 800; color: var(--orange-500); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.pred-card { display: flex; align-items: center; gap: 24px; border: 2px solid var(--line); border-radius: 24px; padding: 26px; margin-bottom: 18px; background: #fff; }
.pred-card.trend-rising { background: #fef2f2; border-color: #fecaca; }
.pred-card.trend-falling { background: #f0fdf4; border-color: #bbf7d0; }
.pred-card.trend-stable { background: #f8fafc; border-color: var(--line); }
.pred-arrow { width: 72px; height: 72px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff; flex-shrink: 0; }
.trend-rising .pred-arrow { background: linear-gradient(135deg,#f87171,#ef4444); }
.trend-falling .pred-arrow { background: linear-gradient(135deg,#34d399,#10b981); }
.trend-stable .pred-arrow { background: linear-gradient(135deg,#cbd5e1,#94a3b8); }
.pred-body { flex: 1; min-width: 0; }
.pred-badge-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pred-badge { font-size: .82rem; font-weight: 800; padding: 4px 12px; border-radius: 8px; background: rgba(255,255,255,.7); }
.trend-rising .pred-badge { color: #b91c1c; } .trend-falling .pred-badge { color: #15803d; } .trend-stable .pred-badge { color: var(--gray-700); }
.pred-pct { font-weight: 800; font-variant-numeric: tabular-nums; }
.trend-rising .pred-pct { color: #ef4444; } .trend-falling .pred-pct { color: #10b981; } .trend-stable .pred-pct { color: var(--muted); }
.pred-reco { font-size: 1.1rem; font-weight: 700; margin: 0; line-height: 1.5; }
.trend-rising .pred-reco { color: #991b1b; } .trend-falling .pred-reco { color: #166534; } .trend-stable .pred-reco { color: var(--gray-700); }
.pred-current { text-align: right; flex-shrink: 0; }
.pred-current-label { font-size: .78rem; color: var(--muted); font-weight: 600; }
.pred-current-num { font-size: 2.6rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.pred-current-unit { font-size: .78rem; color: var(--gray-400); font-weight: 600; }
.pred-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.pred-chart-head .section-label { margin: 0; }
.pred-legend { display: flex; gap: 14px; font-size: .78rem; color: var(--muted); }
.pred-legend span { display: inline-flex; align-items: center; gap: 6px; }
.leg-line { width: 16px; height: 2px; border-radius: 2px; display: inline-block; }
.leg-hist { background: #f97316; } .leg-fore { background: #a855f7; }
.pred-svg { width: 100%; height: 180px; }

/* ===== Kvalita ===== */
.quality-hero { text-align: center; padding: 40px 0 16px; }
.quality-hero h1 { font-weight: 900; letter-spacing: -.02em; margin: 0 0 6px; }
.quality-banner { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: 14px; padding: 14px 18px; font-size: .9rem; margin-bottom: 20px; }
.quality-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 22px; }
.qstat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.qstat-num { font-size: 2.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.qstat-num.red { color: #ef4444; }
.qstat-label { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 2px; }
.q-tabs { display: flex; gap: 4px; background: #f1f5f9; border-radius: 12px; padding: 4px; width: fit-content; margin-bottom: 18px; }
.q-tab { padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .85rem; color: var(--muted); text-decoration: none; }
.q-tab.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.quality-list { display: flex; flex-direction: column; gap: 8px; }
.q-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.q-row.q-fail { border-left: 4px solid #ef4444; }
.q-row.q-ok { border-left: 4px solid #10b981; }
.q-icon { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; flex-shrink: 0; }
.q-fail .q-icon { background: #ef4444; }
.q-ok .q-icon { background: #10b981; }
.q-fuel { background: #f1f5f9; color: var(--gray-700); font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 6px; white-space: nowrap; flex-shrink: 0; }
.q-main { flex: 1; min-width: 0; }
.q-name { font-weight: 700; }
.q-addr { font-size: .82rem; color: var(--muted); }
.q-date { font-size: .8rem; color: var(--gray-400); white-space: nowrap; flex-shrink: 0; }
.q-badge { font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.q-fail .q-badge { background: #fef2f2; color: #b91c1c; }
.q-ok .q-badge { background: #f0fdf4; color: #15803d; }

/* ===== Trasa ===== */
.route-hero { padding: 36px 0 18px; }
.route-hero .wh-title { font-size: 2.6rem; }
.route-form { margin-bottom: 18px; }
.route-inputs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.route-field { display: flex; align-items: center; gap: 10px; background: #f9fafb; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; position: relative; }
.route-field input { flex: 1; border: 0; background: none; padding: 13px 0; font-family: inherit; font-size: 1rem; outline: none; }
/* Našeptávač adres */
.ac-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 32px -14px rgba(0,0,0,.35); max-height: 280px; overflow-y: auto; }
.ac-item { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #f4f4f6; padding: 10px 14px; font-size: .85rem; line-height: 1.3; color: var(--ink); cursor: pointer; }
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: #fff7ed; color: #9a3412; }
.route-row { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 18px; }
.route-col .block-label { margin-top: 0; margin-bottom: 8px; }
.route-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0; }
.rstat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.rstat-label { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.rstat-num { font-size: 1.7rem; font-weight: 900; margin-top: 4px; font-variant-numeric: tabular-nums; }
.rstat-save { background: linear-gradient(135deg,#10b981,#14b8a6); border-color: transparent; }
.rstat-save .rstat-label, .rstat-save .rstat-num { color: #fff; }
.how-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.help-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.help-ico { font-size: 1.8rem; }
.help-t { font-weight: 800; margin-top: 8px; }
.help-d { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }

/* ===== Okolí ===== */
.nearby-hero { padding: 36px 0 18px; }
.nearby-hero .live-badge { gap: 4px; }
.nearby-hero .wh-title { font-size: 2.6rem; }
.nearby-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.nearby-list-cards { display: flex; flex-direction: column; gap: 10px; }
.nl-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: border-color .15s, box-shadow .15s; }
.nl-card:hover { border-color: var(--orange); box-shadow: 0 8px 18px -8px rgba(0,0,0,.12); }
.nl-dist { flex-shrink: 0; width: 70px; text-align: center; font-weight: 900; color: var(--orange-600); font-variant-numeric: tabular-nums; }
.nl-main { flex: 1; min-width: 0; }
.nl-brand { display: inline-block; color: #fff; font-size: .68rem; font-weight: 800; padding: 1px 7px; border-radius: 5px; margin-bottom: 3px; }
.nl-name { font-weight: 700; }
.nl-addr { font-size: .82rem; color: var(--muted); }
.nl-price { flex-shrink: 0; font-size: 1.4rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.nl-unit { font-size: .78rem; color: var(--gray-400); font-weight: 700; }
.nl-none { color: var(--gray-300); }
.nl-error { color: #b91c1c; font-weight: 600; }

/* ===== Mapa ===== */
.map-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
.map-fuels { display: flex; gap: 4px; background: #f1f5f9; border-radius: 12px; padding: 4px; }
.fchip { border: 0; background: none; padding: 8px 14px; border-radius: 9px; font-family: inherit; font-weight: 700; font-size: .85rem; color: var(--muted); cursor: pointer; }
.fchip.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.map-bar select, .map-bar input { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-family: inherit; font-size: .9rem; }
.map-bar input { flex: 1; min-width: 200px; }
#map { height: 72vh; min-height: 420px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(0,0,0,.05); z-index: 0; }

/* Cards grid */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.card h2 { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; }

/* Tables */
table { width: 100%; border-collapse: collapse; }
.rank td { padding: 9px 4px; border-bottom: 1px solid var(--line); }
.rank tr:last-child td { border-bottom: 0; }

.stations {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.stations th { text-align: left; background: #f9fafb; padding: 11px 14px; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.th-unit { display: block; margin-top: 2px; font-size: .66rem; font-weight: 700; color: var(--gray-400); text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.stations td { padding: 11px 14px; border-top: 1px solid var(--line); }
.stations tbody tr:nth-child(odd) { background: rgba(249, 250, 252, .5); }

.name { font-weight: 600; }
.name .sub { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.price { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; text-align: right; color: var(--ink); }

.muted { color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* Page head + filter */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 8px; flex-wrap: wrap; }
.page-head h1 { font-weight: 800; letter-spacing: -.02em; }
.filter { display: flex; gap: 8px; }
.filter input { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; min-width: 220px; font-family: inherit; font-size: .95rem; }
.filter input:focus { outline: 2px solid var(--orange); outline-offset: -1px; border-color: transparent; }

/* Footer */
.site-footer { margin-top: auto; padding: 40px 0 28px; background: var(--card); border-top: 1px solid var(--line); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { max-width: 24rem; }
.footer-brand-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.footer-fuel { width: 24px; height: 24px; color: var(--orange); }
.footer-brand-name { font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.footer-operator { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.footer-head { font-weight: 600; color: var(--gray-700); margin-bottom: 4px; }
.footer-mail { color: var(--orange-600); text-decoration: underline; margin-top: 4px; display: inline-block; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; color: var(--gray-400); font-size: .8rem; }

/* Nav: uživatel / auth */
.nav-cta { background: var(--grad); color: #fff !important; }
.nav-cta:hover { background: var(--grad); opacity: .9; }
.nav-user { padding: 4px !important; }
.avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--grad); color: #fff; font-weight: 700; font-size: .72rem;
    box-shadow: 0 2px 6px -1px rgba(244,63,94,.35);
}
.lang-switch { display: inline-flex; gap: 2px; margin-left: 6px; padding-left: 8px; border-left: 1px solid var(--line); }
.lang-switch a { padding: 6px 6px !important; font-size: .72rem !important; color: var(--gray-400); font-weight: 700; text-decoration: none; border-radius: 6px; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.on { color: var(--orange-600); }
.lang-switch a { display: inline-flex; align-items: center; gap: 5px; }
.lang-switch a.on { background: #fff7ed; }
.lang-switch .fi { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
/* Přepínač jazyka v admin/partner topbaru — zarovnán doprava, před odkaz Web / jméno uživatele. */
.lang-switch-admin { margin-left: auto; border-left: 0; padding-left: 0; }
.lang-switch-admin + .admin-topbar-back { margin-left: 12px; }
.lang-switch-admin + .partner-topbar-user { margin-left: 12px; }
.pl-statcard-foot .fi { width: 18px; height: 13px; border-radius: 2px; vertical-align: -1px; }

.logout-form { display: inline; margin: 0; }
.nav-logout {
    background: none; border: 0; cursor: pointer; color: var(--muted);
    font-weight: 600; font-size: .9rem; padding: 8px 12px; border-radius: 8px;
    font-family: inherit; transition: all .15s;
}
.nav-logout:hover { color: #dc2626; background: #fef2f2; }

/* Auth karty + formuláře */
.auth-card {
    max-width: 420px; margin: 48px auto; background: var(--card);
    border: 1px solid var(--line); border-radius: 16px; padding: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}
.auth-card h1 { margin: 0 0 20px; font-size: 1.6rem; font-weight: 800; }
.auth-alt { margin-top: 18px; text-align: center; color: var(--muted); font-size: .9rem; }
.auth-alt a { color: var(--orange-600); font-weight: 600; }

.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.form input, .form textarea {
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
    font-family: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); background: #fff;
}
.form textarea { line-height: 1.5; resize: vertical; min-height: 88px; }
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15);
}
.btn-block { width: 100%; text-align: center; margin-top: 6px; }

.form-error { background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin: 16px 0; }
.form-ok { background: #f0fdf4; color: #15803d; padding: 10px 14px; border-radius: 10px; font-size: .9rem; margin: 16px 0; }
.small { font-size: .82rem; }

.station-link { color: var(--ink); text-decoration: none; }
.station-link:hover { color: var(--orange-600); }

/* ===== Detail stanice (autentický Palivko vzhled) ===== */
.card { margin: 0 0 18px; }
.section-label { font-size: .72rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 16px; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); margin: 20px 0 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-600); }
.breadcrumb strong { color: var(--gray-700); font-weight: 700; }

/* Hero */
.detail-hero {
    position: relative; border-radius: 24px; overflow: hidden;
    min-height: 240px; display: flex; align-items: flex-end;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.25); margin-bottom: 16px;
}
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.05) 60%, transparent); }
.hero-content { position: relative; z-index: 1; padding: 28px; color: #fff; width: 100%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.brand-pill { font-size: .8rem; font-weight: 800; padding: 4px 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.hours-pill { font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); color: #fff; }
.open-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(16,185,129,.9); color: #fff; }
.closed-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: 8px; background: rgba(220,38,38,.95); color: #fff; text-transform: uppercase; letter-spacing: .03em; }
.open-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.detail-hero.has-photo { background-size: cover; background-position: center; }
.detail-hero.has-photo::after { display: none; }

/* Vybavení (amenity) */
.amenity-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amenity-chip { display: inline-flex; align-items: center; gap: 6px; background: #ecfdf5; color: #065f46; font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 10px; }
.amenity-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.amenity-q { font-weight: 700; margin: 0 0 12px; }
.amenity-pts { color: var(--orange-600); font-weight: 800; font-size: .85rem; }
.amenity-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.amenity-opt { cursor: pointer; }
.amenity-opt input { position: absolute; opacity: 0; pointer-events: none; }
.amenity-opt span { display: inline-block; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #f9fafb; color: var(--gray-700); font-weight: 600; font-size: .85rem; transition: all .15s; }
.amenity-opt input:checked + span { background: var(--orange-50); border-color: var(--orange); color: var(--orange-600); }

/* Galerie fotek */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.photo-thumb { display: block; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.photo-thumb:hover img { transform: scale(1.05); }
.hero-title { font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 6px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-addr { margin: 0; color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.3); }

/* Rychlé akce */
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.qa-btn {
    display: inline-flex; align-items: center; gap: 6px; background: var(--card);
    border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
    font-weight: 700; font-size: .88rem; color: var(--gray-700); text-decoration: none;
    box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: all .15s;
}
.qa-btn:hover { border-color: var(--orange); color: var(--orange-600); }

/* Cenové karty */
.fuel-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin-bottom: 28px; }
.fuel-card {
    position: relative; overflow: hidden; background: var(--card);
    border: 1px solid var(--line); border-radius: 20px; padding: 22px 16px 16px;
    text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: box-shadow .25s;
}
.fuel-card:hover { box-shadow: 0 12px 24px -8px rgba(0,0,0,.12); }
.fc-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.fc-label { font-size: .76rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.fc-value { font-size: 2.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fc-unit { font-size: .8rem; color: var(--gray-400); font-weight: 600; margin-top: 4px; }
.fc-approx { font-size: .72rem; color: var(--gray-400); margin-top: 2px; font-style: italic; opacity: .85; }
.fc-source { font-size: .72rem; color: var(--gray-400); margin-top: 10px; }
.fc-src-tag { color: var(--orange-600); font-weight: 700; }

/* Historie */
.hist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hist-head .section-label { margin: 0; }
.hist-pills { display: flex; gap: 4px; background: #f1f5f9; border-radius: 10px; padding: 3px; flex-wrap: wrap; }
.hist-pill { padding: 5px 12px; border-radius: 8px; font-size: .78rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.hist-pill.active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
/* Čárový graf vývoje ceny */
.chart-wrap { display: flex; gap: 10px; }
.chart-y { display: flex; flex-direction: column; justify-content: space-between; font-size: .72rem; color: var(--gray-400); font-weight: 600; font-variant-numeric: tabular-nums; padding: 4px 0; min-width: 44px; text-align: right; }
.chart-svg { flex: 1; height: 150px; }
.chart-x { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); margin: 8px 0 0 54px; }
.detail-map { height: 220px; border-radius: 14px; margin-top: 16px; border: 1px solid var(--line); z-index: 0; }

.history { display: flex; flex-direction: column; gap: 8px; }
.hist-row { display: grid; grid-template-columns: 92px 1fr 84px; align-items: center; gap: 10px; }
.hist-date { font-size: .78rem; color: var(--muted); }
.hist-bar { height: 12px; background: #f1f5f9; border-radius: 6px; overflow: hidden; }
.hist-fill { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.hist-price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9rem; }

/* Rychlé akce — 4 dlaždice jako originál */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.qa-grid .qa-btn { justify-content: center; }
.qa-fav { margin: 0; }
.qa-fav .qa-btn { width: 100%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-family: inherit; }
.qa-off { opacity: .45; cursor: default; }
label.qa-btn { cursor: pointer; }

/* OCR cenovky */
.ocr-panel { margin-bottom: 18px; border: 1px solid var(--orange); }
.ocr-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ocr-ico { font-size: 1.4rem; }
.ocr-body { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; }
.ocr-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #f1f5f9; }
.ocr-side { display: flex; flex-direction: column; gap: 10px; }
.ocr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ocr-chip {
    font-family: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--card);
    border-radius: 10px; padding: 8px 14px; font-weight: 800; font-size: 1.05rem;
    color: var(--ink); font-variant-numeric: tabular-nums; transition: all .15s;
}
.ocr-chip span { font-size: .7rem; font-weight: 600; color: var(--gray-400); }
.ocr-chip:hover { border-color: var(--orange); color: var(--orange-600); }
.ocr-chip.on { background: var(--grad); color: #fff; border-color: transparent; }
.ocr-chip.on span { color: rgba(255,255,255,.85); }
@media (max-width: 560px) { .ocr-body { grid-template-columns: 1fr; } .ocr-preview { max-height: 220px; } }

/* Informace + mapa mřížka */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; align-items: stretch; }
.map-card { padding: 0; overflow: hidden; position: relative; }
.map-card .detail-map { height: 100%; min-height: 280px; margin: 0; border: 0; border-radius: 16px; }
.map-cta { position: absolute; right: 12px; bottom: 12px; z-index: 500; background: var(--grad); color: #fff; font-weight: 700; font-size: .82rem; padding: 8px 14px; border-radius: 10px; text-decoration: none; box-shadow: 0 4px 12px -2px rgba(244,63,94,.4); }

/* Nahlásit uzavření */
.closure-card { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }

/* Operátorský banner */
.operator-banner { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #fff7ed, #fff1f2); border-color: #fed7aa; }
.ob-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.ob-title { font-weight: 800; }

/* Hlášení ceny (collapsible) */
.report-card { padding: 0; overflow: hidden; }
.report-summary { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; list-style: none; }
.report-summary::-webkit-details-marker { display: none; }
.rs-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.rs-title { font-weight: 800; }
.block { display: block; }
.rs-chevron { margin-left: auto; color: var(--gray-400); transition: transform .2s; }
details[open] .rs-chevron { transform: rotate(180deg); }
.report-body { padding: 0 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.block-label { font-size: .85rem; font-weight: 700; color: var(--gray-700); margin-top: 16px; }
.fuel-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.fuel-opt { cursor: pointer; }
.fuel-opt input { position: absolute; opacity: 0; pointer-events: none; }
.fuel-chip {
    display: block; text-align: center; padding: 11px 8px; border-radius: 12px;
    border: 1px solid var(--line); background: #f9fafb; color: var(--muted);
    font-weight: 700; font-size: .85rem; transition: all .15s;
}
.fuel-opt input:checked + .fuel-chip { background: var(--chip-bg); color: var(--chip-text); border-color: transparent; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.price-input { position: relative; max-width: 220px; }
.price-input input { width: 100%; padding: 12px 50px 12px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 1.1rem; font-weight: 700; font-family: inherit; }
.price-input input:focus { outline: 2px solid var(--orange); outline-offset: -1px; border-color: transparent; }
.pi-unit { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--gray-400); font-weight: 600; }
.report-body .btn { align-self: flex-start; margin-top: 16px; }
.anon-note { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.anon-note a { color: var(--orange-600); font-weight: 700; }

/* Neověřené ceny */
.pending-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.pending-head .section-label { margin: 0; }
.pending-list { display: flex; flex-direction: column; gap: 10px; }
.pending-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f9fafb; border-radius: 14px; padding: 12px 16px; }
.pr-fuel { font-size: .72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; margin-right: 8px; }
.pr-price { font-size: 1.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }

/* Info rows */
.info-rows { display: flex; flex-direction: column; gap: 16px; }
.info-row { display: flex; align-items: flex-start; gap: 14px; }
.info-ico { width: 40px; height: 40px; border-radius: 12px; background: #f9fafb; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.info-k { font-size: .76rem; color: var(--gray-400); font-weight: 600; }
.info-v { font-weight: 700; }
.info-link { color: var(--orange-600); font-weight: 700; text-decoration: none; word-break: break-all; }

/* Okolí */
.nearby-grid { display: grid; gap: 10px; }
.nearby-card { display: block; background: #f9fafb; border-radius: 14px; padding: 14px; text-decoration: none; transition: background .15s; }
.nearby-card:hover { background: var(--orange-50); }
.nc-name { font-weight: 800; color: var(--ink); }

.about-text { color: var(--gray-700); white-space: pre-line; margin: 0; }

/* Recenze */
.reviews-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.reviews-head .section-label { margin: 0; }
.rating-summary { font-weight: 800; color: #f59e0b; }
.review-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 16px; padding: 18px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 4px; }
.review-box textarea { padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .95rem; resize: vertical; }
.review-box textarea:focus { outline: 2px solid #f59e0b; outline-offset: -1px; border-color: transparent; }
.btn-review { background: linear-gradient(135deg, #f59e0b, #f97316); align-self: flex-start; margin-top: 14px; }
.star-rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; font-size: 1.9rem; line-height: 1; }
.star-rating input { display: none; }
.star-rating label { color: #e5e7eb; cursor: pointer; padding: 0 2px; transition: color .1s; }
.star-rating input:checked ~ label { color: #f59e0b; }
.star-rating label:hover, .star-rating label:hover ~ label { color: #fbbf24; }
.review-list { list-style: none; margin: 0; padding: 0; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review-stars { color: #f59e0b; letter-spacing: 1px; }
.review-comment { margin: 6px 0 0; color: var(--gray-700); }
.review-reply { margin: 10px 0 0 16px; padding: 10px 14px; background: var(--orange-50); border-left: 3px solid #fdba74; border-radius: 0 10px 10px 0; font-size: .9rem; }
.no-reviews { text-align: center; padding: 16px 0; }

/* ===== Gamifikace ===== */
.btn-sm { padding: 7px 14px; font-size: .82rem; border-radius: 8px; }
.points-badge { background: var(--grad); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .9rem; box-shadow: 0 2px 8px -1px rgba(244,63,94,.35); }

/* Žebříček */
.lb-card { padding: 0; overflow: hidden; }
.leaderboard { width: 100%; border-collapse: collapse; }
.leaderboard th { text-align: left; background: #f9fafb; padding: 12px 16px; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.leaderboard td { padding: 12px 16px; border-top: 1px solid var(--line); }
.leaderboard .price { color: var(--orange-600); }
.lb-rank { font-weight: 800; font-size: 1.05rem; width: 56px; }
.lb-top { background: linear-gradient(90deg, #fffbeb, transparent); }
.lb-top .lb-rank { font-size: 1.3rem; }

/* Odměny */
.reward-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 20px; }
.reward-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.rw-icon { font-size: 2.6rem; line-height: 1; }
.rw-kind { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-400); font-weight: 700; margin-top: 10px; }
.rw-name { margin: 4px 0 6px; font-size: 1.05rem; font-weight: 800; }
.rw-desc { flex: 1; margin: 0 0 14px; }
.rw-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rw-cost { font-weight: 900; color: var(--orange-600); font-variant-numeric: tabular-nums; }
.rw-out { color: #dc2626; font-weight: 700; font-size: .85rem; }
.rw-locked { color: var(--gray-400); font-weight: 700; font-size: .82rem; }

/* Profil — odměny */
.owned-rewards { list-style: none; margin: 0; padding: 0; }
.owned-rewards li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.owned-rewards li:last-child { border-bottom: 0; }
.or-icon { font-size: 1.2rem; }
.or-code { background: #f1f5f9; padding: 2px 8px; border-radius: 6px; font-family: monospace; font-weight: 700; }

/* Oblíbené srdíčko v hero */
.fav-form { position: absolute; top: 14px; right: 14px; z-index: 2; margin: 0; }
.fav-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: 1.3rem;
    text-decoration: none; transition: transform .15s, background .15s;
}
.fav-btn:hover { transform: scale(1.1); background: rgba(255,255,255,.35); }
.fav-btn.on { background: rgba(239,68,68,.9); }
.fav-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Alerty */
.alert-list { list-style: none; margin: 0; padding: 0; }
.alert-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.alert-item:last-child { border-bottom: 0; }

/* Partner portál */
.op-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.op-row:last-child { border-bottom: 0; }
.op-api { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check-label { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check-label input { width: auto; }

/* Admin */
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; background: #f1f5f9; padding: 4px; border-radius: 12px; margin-bottom: 20px; }
.admin-nav a { padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: .85rem; color: var(--muted); text-decoration: none; }
.admin-nav a:hover { background: #fff; color: var(--ink); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.stat-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-align: center; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.stat-num { font-size: 2.2rem; font-weight: 900; }
.stat-label { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: 4px; }
.stat-warn { background: #fffbeb; border-color: #fde68a; }
.stat-warn .stat-num { color: #d97706; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions form { margin: 0; display: inline; }
.btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 8px; padding: 7px 12px; font-weight: 700; font-size: .8rem; cursor: pointer; font-family: inherit; }
.btn-danger:hover { background: #fee2e2; }
.btn-mini { background: #f3f4f6; color: var(--gray-700); border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; font-weight: 700; font-size: .78rem; cursor: pointer; font-family: inherit; }
.btn-mini:hover { background: #e5e7eb; }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
    .hero { padding: 36px 0 24px; }
    .hero h1 { font-size: 1.8rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .report-row { flex-direction: column; align-items: stretch; gap: 12px; }
    .nav-links { gap: 2px; }
    .nav-links a, .nav-logout { padding: 8px 8px; font-size: .85rem; }
    .brand-name { font-size: 1.1rem; }
    .page-head { gap: 10px; }
    .filter { width: 100%; }
    .filter input { flex: 1; min-width: 0; }
    /* Široká tabulka stanic → horizontální scroll bez rozbití layoutu */
    /* Tabulka stanic → karty (viz blok níže pro detailní styly) */
    .hist-row { grid-template-columns: 76px 1fr 72px; gap: 8px; }
    .auth-card { margin: 24px auto; padding: 22px; }
    /* Detail */
    .detail-hero { min-height: 200px; border-radius: 18px; }
    .hero-content { padding: 20px; }
    .hero-title { font-size: 1.9rem; }
    .fuel-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fc-value { font-size: 2.1rem; }
    .quick-actions { gap: 8px; }
    .qa-btn { padding: 9px 12px; font-size: .82rem; }
    .report-summary { padding: 16px; gap: 10px; }
    .report-body { padding: 0 16px 18px; }
    .fuel-pick { grid-template-columns: repeat(2, 1fr); }
    .breadcrumb { font-size: .72rem; }
    /* Welcome landing */
    .welcome-hero { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 24px; }
    .wh-title { font-size: 2.3rem; }
    .wh-cta { flex-direction: column; }
    .sc-amount { font-size: 3rem; }
    .how-title { font-size: 1.7rem; }
    .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .trust-strip { grid-template-columns: 1fr; gap: 16px; }
    /* /ceny */
    .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .fuel-overview { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .fb-search { min-width: 0; flex-basis: 100%; }
    .filter-bar select { flex: 1; }
    .cheapest-banner { flex-wrap: wrap; gap: 12px; }
    .cb-price { font-size: 2rem; }
    /* Značky */
    .brands-hero .wh-title { font-size: 1.9rem; }
    .brand-stats { grid-template-columns: 1fr; gap: 12px; }
    .brand-bar-row { grid-template-columns: 100px 1fr 70px; gap: 8px; }
    /* Okolí */
    .nearby-hero .wh-title { font-size: 1.9rem; }
    .nl-dist { width: 56px; font-size: .85rem; }
    .nl-price { font-size: 1.15rem; }
    /* Trasa */
    .route-hero .wh-title { font-size: 1.9rem; }
    .route-stats { grid-template-columns: repeat(2, 1fr); }
    .how-help { grid-template-columns: 1fr; }
    /* Kvalita */
    .quality-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .qstat { padding: 14px; }
    .qstat-num { font-size: 1.6rem; }
    .q-row { flex-wrap: wrap; }
    .q-date { display: none; }
}

/* ════════ Partnerský program (landing) ════════ */
.pl { margin: -8px 0 -24px; }
.pl-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.pl-wrap { max-width: 72rem; margin: 0 auto; padding: 0 24px; }
.pl-section { padding: 64px 0; }
.pl-h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; text-align: center; letter-spacing: -.02em; margin: 0 0 6px; }
.pl-h2.left { text-align: left; }
.pl-h2.light { color: #fff; }
.pl-sub { text-align: center; color: var(--muted); max-width: 42rem; margin: 10px auto 0; }
.pl-head-center { text-align: center; margin-bottom: 44px; }
.pl-pill { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.pl-pill-orange { color: var(--orange-600); background: #fff7ed; }
.pl-pill-green { color: #059669; background: #ecfdf5; }
.pl-pill-blue { color: #2563eb; background: #eff6ff; }
.pl-pill-cyan { color: #67e8f9; background: rgba(6,182,212,.12); }
.pl-pill-purple { color: #9333ea; background: #faf5ff; }
.pl-pill-amber { color: #d97706; background: #fffbeb; }
.pl-pill-rose { color: #e11d48; background: #fff1f2; }
.pl-pill-gray { color: var(--gray-700); background: #f3f4f6; }
.pl-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-grad-green { background: linear-gradient(135deg,#10b981,#14b8a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-grad-blue { background: linear-gradient(135deg,#3b82f6,#6366f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-grad-purple { background: linear-gradient(135deg,#a855f7,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.pl-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; padding: 13px 26px; border-radius: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pl-btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.pl-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -10px rgba(249,115,22,.5); }
.pl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -10px rgba(249,115,22,.55); }
.pl-btn-ghost { background: var(--card); border: 1px solid var(--line); color: var(--gray-700); }
.pl-btn-ghost:hover { border-color: var(--orange); background: #fff7ed; }
.pl-btn-cyan { background: #06b6d4; color: #fff; box-shadow: 0 14px 30px -10px rgba(6,182,212,.5); }
.pl-btn-cyan:hover { transform: translateY(-2px); background: #22d3ee; }
.pl-btn-white { background: #fff; color: var(--orange-600); box-shadow: 0 14px 30px -10px rgba(0,0,0,.3); }
.pl-btn-white:hover { transform: translateY(-2px); }
.pl-btn-glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); color: #fff; backdrop-filter: blur(6px); }
.pl-btn-glass:hover { background: rgba(255,255,255,.24); }
.pl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.pl-cta-row.center { justify-content: center; }

/* Hero */
.pl-hero { position: relative; overflow: hidden; width: 100vw; margin-left: calc(50% - 50vw); padding: 56px 24px 72px; background: linear-gradient(135deg,#fff7ed 0%,#ffffff 50%,#fff1f2 100%); }
.pl-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; }
.pl-blob-1 { top: -40px; right: -40px; width: 360px; height: 360px; background: linear-gradient(135deg,rgba(251,146,60,.4),rgba(244,63,94,.35)); }
.pl-blob-2 { top: 120px; left: -60px; width: 280px; height: 280px; background: linear-gradient(135deg,rgba(251,191,36,.35),rgba(244,63,94,.25)); }
.pl-hero-grid { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pl-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.85); border: 1px solid #fed7aa; border-radius: 999px; padding: 6px 14px; font-size: .72rem; font-weight: 800; color: var(--orange-600); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.pl-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pl-pulse 1.6s infinite; }
@keyframes pl-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.pl-h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 18px; }
.pl-lead { font-size: 1.15rem; color: var(--gray-700); max-width: 34rem; margin: 0; }
.pl-hero-bullets { display: flex; flex-wrap: wrap; gap: 16px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.pl-statcard-wrap { display: flex; justify-content: center; }
.pl-statcard { background: var(--card); border: 1px solid #f3f4f6; border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px -20px rgba(249,115,22,.18); width: 100%; max-width: 26rem; }
.pl-statcard-title { font-size: .72rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.pl-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pl-stat-num { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.pl-stat-lbl { font-size: .78rem; color: var(--muted); margin-top: 5px; }
.pl-statcard-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid #f3f4f6; font-size: .78rem; color: var(--muted); }
.pl-statcard-live { margin-left: auto; color: var(--gray-400); }

/* Brand wall */
.pl-brands { width: 100vw; margin-left: calc(50% - 50vw); padding: 32px 24px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-brands-title { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-400); margin-bottom: 14px; }
.pl-brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.pl-brand { font-size: 1.15rem; font-weight: 800; color: var(--gray-400); }

/* Problem cards */
.pl-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pl-prob { background: #fef2f2; border: 1px solid #fee2e2; border-radius: 18px; padding: 24px; }
.pl-prob-ico { font-size: 1.9rem; margin-bottom: 10px; }
.pl-prob-title { font-weight: 800; color: #7f1d1d; margin-bottom: 8px; }
.pl-prob p { font-size: .9rem; color: #b91c1c; opacity: .85; margin: 0; line-height: 1.6; }

/* Benefits */
.pl-section-alt { width: 100vw; margin-left: calc(50% - 50vw); padding: 64px 0; background: linear-gradient(180deg,#f9fafb,#ffffff); }
.pl-benefit { background: var(--card); border: 1px solid #f3f4f6; border-radius: 18px; padding: 26px; transition: transform .18s, box-shadow .18s; }
.pl-benefit:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.12); }
.pl-benefit-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; margin-bottom: 16px; box-shadow: 0 6px 14px -4px rgba(0,0,0,.25); }
.pl-benefit-title { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
.pl-benefit p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }
.g-orange { background: linear-gradient(135deg,#f97316,#f43f5e); }
.g-blue { background: linear-gradient(135deg,#3b82f6,#6366f1); }
.g-emerald { background: linear-gradient(135deg,#10b981,#14b8a6); }
.g-purple { background: linear-gradient(135deg,#a855f7,#ec4899); }
.g-amber { background: linear-gradient(135deg,#f59e0b,#f97316); }
.g-rose { background: linear-gradient(135deg,#f43f5e,#ef4444); }

/* Split (portal + api) */
.pl-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.pl-split-copy .pl-h2 { margin-top: 4px; }
.pl-body { color: var(--muted); line-height: 1.7; margin: 14px 0 18px; }
.pl-body.light { color: #cbd5e1; }
.pl-body.center { text-align: center; max-width: 38rem; margin: 14px auto 22px; }
.pl-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pl-checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--gray-700); }
.pl-checks.light li { color: #e2e8f0; }
.pl-chk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: #d1fae5; color: #047857; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800; }
.pl-chk.cyan { background: rgba(6,182,212,.2); color: #67e8f9; }

/* Mock portal */
.pl-mock { background: var(--card); border: 1px solid #e5e7eb; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.3); }
.pl-mock-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f9fafb; border-bottom: 1px solid var(--line); }
.pl-mock-chrome.dark { background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.1); }
.pl-mock-chrome span.md-r, .md-y, .md-g { width: 10px; height: 10px; border-radius: 50%; }
.md-r { background: #f87171; } .md-y { background: #fbbf24; } .md-g { background: #4ade80; }
.pl-mock-url { flex: 1; margin-left: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; font-size: .72rem; color: var(--gray-400); }
.pl-mock-url.mono { font-family: ui-monospace, monospace; background: transparent; border: none; color: #94a3b8; }
.pl-mock-body { padding: 18px; }
.pl-mock-greet { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.pl-mock-avatar { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.pl-mock-name { font-weight: 800; }
.pl-mock-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.pl-ms { background: #f9fafb; border-radius: 10px; padding: 8px; }
.pl-ms.red { background: #fef2f2; } .pl-ms.orange { background: #fff7ed; } .pl-ms.green { background: #ecfdf5; }
.pl-ms-k { font-size: .7rem; }
.pl-ms-v { font-weight: 900; font-size: 1.2rem; }
.pl-ms.red .pl-ms-v { color: #b91c1c; } .pl-ms.orange .pl-ms-v { color: #c2410c; } .pl-ms.green .pl-ms-v { color: #047857; }
.pl-mock-alert { display: flex; align-items: center; gap: 8px; background: #fef2f2; border: 1px solid #fee2e2; border-radius: 10px; padding: 10px; font-size: .8rem; color: #991b1b; font-weight: 600; margin-bottom: 8px; }
.pl-mock-alert > span:nth-child(2) { flex: 1; }
.pl-mock-badge { background: #ef4444; color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.pl-mock-row { display: flex; align-items: center; justify-content: space-between; background: #f9fafb; border-radius: 8px; padding: 8px 10px; font-size: .8rem; color: var(--gray-700); margin-top: 6px; }
.pl-mock-row .ok { color: #047857; font-weight: 700; font-size: .72rem; }

/* API (dark) */
.pl-api { width: 100vw; margin-left: calc(50% - 50vw); padding: 64px 0; background: #111827; }
.pl-code { background: #030712; border: 1px solid #1f2937; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.pl-code-body { padding: 20px; font-family: ui-monospace, "SF Mono", monospace; font-size: .82rem; color: #cbd5e1; line-height: 2; }
.m-get { color: #34d399; font-weight: 800; } .m-patch { color: #fbbf24; font-weight: 800; } .m-post { color: #22d3ee; font-weight: 800; }
.pl-code-note { padding-top: 12px; color: #64748b; } .pl-code-auth { color: #94a3b8; }

/* Comparison table */
.pl-table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(0,0,0,.15); }
.pl-table { width: 100%; border-collapse: collapse; }
.pl-table th { padding: 16px; font-size: .85rem; font-weight: 800; color: var(--gray-400); text-align: center; border-bottom: 1px solid var(--line); }
.pl-table th:first-child { width: 50%; text-align: left; }
.pl-table th.hl { color: var(--orange-600); background: #fff7ed; }
.pl-table td { padding: 14px 16px; font-size: .9rem; border-bottom: 1px solid #f3f4f6; text-align: center; }
.pl-table td:first-child { text-align: left; color: var(--gray-700); }
.pl-table td.neg { color: var(--gray-400); }
.pl-table td.pos { background: #fff7ed80; color: var(--ink); font-weight: 700; }
.pl-table tr:last-child td { border-bottom: none; }

/* How it works */
.pl-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.pl-step { background: var(--card); border: 1px solid #f3f4f6; border-radius: 18px; padding: 26px 20px; text-align: center; transition: box-shadow .18s; }
.pl-step:hover { box-shadow: 0 14px 30px -16px rgba(0,0,0,.15); }
.pl-step-num { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; font-size: 1.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 10px 22px -8px rgba(249,115,22,.5); }
.pl-step-ico { font-size: 1.8rem; margin-bottom: 8px; }
.pl-step-title { font-weight: 800; margin-bottom: 8px; }
.pl-step p { font-size: .85rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* Pricing */
.pl-pricing-wrap { width: 100vw; margin-left: calc(50% - 50vw); padding: 64px 0; background: linear-gradient(135deg,#fff7ed,#fff1f2,#fdf2f8); }
.pl-pricing { position: relative; overflow: hidden; background: var(--card); border: 2px solid #fed7aa; border-radius: 26px; padding: 48px 32px; text-align: center; box-shadow: 0 30px 60px -24px rgba(249,115,22,.2); }
.pl-pricing-badge { position: absolute; top: 0; right: 0; background: linear-gradient(135deg,#34d399,#22c55e); color: #fff; font-size: .72rem; font-weight: 800; padding: 6px 16px; border-bottom-left-radius: 14px; }
.pl-price { font-size: clamp(3.4rem,9vw,5rem); font-weight: 900; line-height: 1; margin-bottom: 4px; }
.pl-pricing-title { font-size: 1.6rem; font-weight: 900; margin: 18px 0 0; }
.pl-price-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; max-width: 32rem; margin: 0 auto 28px; text-align: left; }
.pl-price-feats span { font-size: .9rem; color: var(--gray-700); }

/* FAQ */
.pl-faq { max-width: 46rem; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.pl-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pl-faq-item summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pl-faq-item summary::-webkit-details-marker { display: none; }
.pl-faq-plus { color: var(--orange); font-size: 1.4rem; transition: transform .2s; }
.pl-faq-item[open] .pl-faq-plus { transform: rotate(45deg); }
.pl-faq-item p { margin: 0; padding: 0 20px 18px; font-size: .9rem; color: var(--muted); line-height: 1.7; border-top: 1px solid #f3f4f6; padding-top: 14px; }

/* Trust + final */
.pl-trust-wrap { padding-top: 8px; }
.pl-trust { max-width: 46rem; margin: 0 auto; display: flex; align-items: flex-start; gap: 18px; background: var(--card); border: 1px solid #f3f4f6; border-radius: 18px; padding: 28px; }
.pl-trust-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; background: #dbeafe; color: #1d4ed8; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.pl-trust-title { font-weight: 800; margin-bottom: 6px; }
.pl-trust p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.pl-final { position: relative; overflow: hidden; background: linear-gradient(135deg,#f97316,#f43f5e 55%,#dc2626); border-radius: 28px; padding: 56px 32px; text-align: center; color: #fff; box-shadow: 0 30px 60px -20px rgba(249,115,22,.5); }
.pl-final-emoji { position: absolute; right: -10px; bottom: -40px; font-size: 14rem; opacity: .12; line-height: 1; pointer-events: none; }
.pl-final-title { font-size: clamp(2rem,5vw,3rem); font-weight: 900; margin: 0 0 12px; }
.pl-final-body { font-size: 1.1rem; color: rgba(255,255,255,.92); max-width: 38rem; margin: 0 auto 8px; }
.pl-final-time { margin-top: 20px; font-size: .85rem; color: rgba(255,255,255,.85); }

/* ════════ Partnerský portál (Fáze 4) ════════ */
.partner-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.partner-subnav a { font-size: .85rem; font-weight: 700; color: var(--gray-700); text-decoration: none; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); transition: all .15s; }
.partner-subnav a:hover { border-color: var(--orange); color: var(--orange-600); background: #fff7ed; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Fotky — správa */
.photo-manage { position: relative; }
.photo-del { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(220,38,38,.92); color: #fff; font-weight: 800; cursor: pointer; line-height: 1; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.photo-del:hover { background: #b91c1c; }
.photo-add-form { margin-top: 14px; }

/* Hromadné ceny */
.bulk-card { overflow: hidden; }
.bulk-scroll { overflow-x: auto; margin-bottom: 16px; }
.bulk-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.bulk-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.bulk-table td { padding: 8px 10px; border-bottom: 1px solid #f3f4f6; }
.bulk-table .bulk-name { min-width: 180px; }
.bulk-table input { width: 84px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-variant-numeric: tabular-nums; font-family: inherit; }
.bulk-table input:focus { outline: none; border-color: var(--orange); }

/* Analytika */
.analytics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.astat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.astat-num { font-size: 2.2rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.astat-lbl { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); padding: 10px; border-bottom: 1px solid var(--line); }
.cmp-table td { padding: 10px; border-bottom: 1px solid #f3f4f6; }
.tabnum { font-variant-numeric: tabular-nums; }
.cmp-diff { font-weight: 800; padding: 3px 10px; border-radius: 999px; font-size: .85rem; }
.cmp-good { background: #ecfdf5; color: #047857; }
.cmp-bad { background: #fef2f2; color: #b91c1c; }
@media (max-width: 640px) {
    .analytics-grid { grid-template-columns: repeat(2, 1fr); }
    .astat-num { font-size: 1.8rem; }
}

/* Firma / nastavení / API */
.logo-preview { background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; margin-bottom: 12px; }
.logo-preview img { max-height: 80px; max-width: 100%; }
.danger-zone { border-color: #fecaca; }
.danger-zone h2 { color: #b91c1c; }
.btn-danger { background: #ef4444; color: #fff; border: none; }
.btn-danger:hover { background: #dc2626; }
.token-box { background: #0f172a; border-radius: 10px; padding: 14px 16px; margin: 10px 0 14px; overflow-x: auto; }
.token-box .or-code { color: #67e8f9; font-size: .9rem; }
.api-endpoints { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.api-endpoints code { background: #f1f5f9; padding: 2px 6px; border-radius: 5px; }

/* Tým */
.team-table { width: 100%; border-collapse: collapse; }
.team-table th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); padding: 10px; border-bottom: 1px solid var(--line); }
.team-table td { padding: 10px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.team-table select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
.inline-form { display: inline; margin: 0; }
.badge-pending { font-size: .68rem; font-weight: 700; background: #fffbeb; color: #b45309; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }

/* Recenze (partner) */
.review-card { margin-bottom: 12px; }
.reply-form { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.reply-form textarea { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; resize: vertical; }
.reply-form .btn { align-self: flex-start; }
.review-reply { margin-top: 10px; padding: 10px 14px; background: #f0fdf4; border-left: 3px solid #22c55e; border-radius: 8px; font-size: .9rem; }

/* Podpora */
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li { border-bottom: 1px solid #f3f4f6; }
.ticket-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px; text-decoration: none; color: var(--ink); }
.ticket-row:hover { background: #fafafa; }
.ticket-subj { font-weight: 700; display: flex; align-items: center; gap: 8px; }
.ticket-meta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ticket-cat { font-size: .72rem; background: #f3f4f6; color: var(--gray-700); padding: 2px 8px; border-radius: 999px; }
.ticket-status { font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; text-transform: capitalize; }
.status-open { background: #ecfdf5; color: #047857; }
.status-closed { background: #f3f4f6; color: var(--gray-400); }
.status-pending, .status-waiting, .status-queued { background: #fffbeb; color: #b45309; }
.status-sent { background: #ecfdf5; color: #047857; }
.status-failed, .status-revoked { background: #fef2f2; color: #b91c1c; }
.dot-unread { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; }
.ticket-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.ticket-msg { padding: 12px 14px; border-radius: 12px; max-width: 80%; }
.msg-user { background: #fff7ed; align-self: flex-start; }
.msg-admin { background: #eff6ff; align-self: flex-end; }
.msg-head { font-size: .8rem; margin-bottom: 4px; }
.msg-body { white-space: pre-wrap; }
.narrow-card { max-width: 32rem; margin: 40px auto; text-align: center; }

/* ════════ Komunita (Fáze 1) ════════ */
/* Návrhy stanic */
.proposal-list { display: flex; flex-direction: column; }
.proposal-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f3f4f6; }
.proposal-row:last-child { border-bottom: none; }
.proposal-name { font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.prop-status { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-transform: capitalize; }
.prop-status.status-pending { background: #fffbeb; color: #b45309; }
.prop-status.status-approved { background: #ecfdf5; color: #047857; }
.prop-status.status-rejected { background: #fef2f2; color: #b91c1c; }
.proposal-vote { display: flex; gap: 6px; flex-shrink: 0; }
.vote-btn { font-family: inherit; cursor: pointer; border: 1px solid var(--line); background: var(--card); border-radius: 9px; padding: 6px 12px; font-weight: 700; font-size: .85rem; transition: all .15s; }
.vote-up:hover { border-color: #22c55e; color: #047857; background: #ecfdf5; }
.vote-down:hover { border-color: #ef4444; color: #b91c1c; background: #fef2f2; }
.vote-count { padding: 6px 10px; font-weight: 700; font-size: .85rem; color: var(--muted); }

/* Nahlášení uzavření */
.closure-body { flex: 1; }
.closure-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.closure-form input { flex: 1; min-width: 200px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; }

/* Právní stránky */
.legal-text { line-height: 1.7; }
.legal-text h2 { font-size: 1.1rem; margin: 22px 0 8px; }
.legal-text ul { padding-left: 20px; }
.legal-text li { margin: 6px 0; }

/* Changelog */
.changelog { display: flex; flex-direction: column; gap: 20px; }
.cl-entry { display: flex; gap: 16px; }
.cl-ver { flex-shrink: 0; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--orange-600); background: #fff7ed; padding: 4px 12px; border-radius: 999px; height: fit-content; font-size: .85rem; }
.cl-body ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); }
.cl-body li { margin: 4px 0; }

/* Mobilní aplikace */
.app-hero { width: 100vw; margin-left: calc(50% - 50vw); padding: 56px 24px; background: linear-gradient(135deg,#fff7ed,#fff1f2); text-align: center; }
.app-hero-inner { max-width: 42rem; margin: 0 auto; }
.app-badge { display: inline-block; background: var(--card); border: 1px solid #fed7aa; color: var(--orange-600); font-weight: 800; font-size: .78rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; }
.app-hero h1 { font-size: clamp(1.9rem,5vw,2.8rem); font-weight: 900; margin: 0 0 12px; }
.app-steps { display: flex; flex-direction: column; gap: 10px; max-width: 30rem; margin: 24px auto; text-align: left; }
.app-step { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.app-step-n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.btn-lg { padding: 14px 30px; font-size: 1.05rem; }
.app-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 28px; }
.app-feat { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.app-feat-ico { font-size: 1.6rem; }
@media (max-width: 640px) { .app-features { grid-template-columns: 1fr; } }

/* Admin moderace fotek */
.mod-photo-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
.mod-photo { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mod-photo img { width: 100%; height: 140px; object-fit: cover; display: block; }
.mod-photo-meta { padding: 8px 10px; font-size: .85rem; }
.mod-photo-actions { display: flex; gap: 6px; padding: 0 10px 10px; flex-wrap: wrap; }
/* Moderace fotek — filtry + badge + info (à la palivko.cz) */
.photo-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pf-tab { padding: 8px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--gray-600); font-size: .85rem; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.pf-tab span { font-size: .72rem; opacity: .7; }
.pf-tab:hover { border-color: var(--orange-300, #fdba74); }
.pf-tab.on { background: var(--orange-600); color: #fff; border-color: var(--orange-600); }
.pf-tab.on span { opacity: .85; }
.mod-photo { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.mod-photo-img { position: relative; }
.mod-photo-badge { position: absolute; top: 8px; right: 8px; padding: 3px 9px; border-radius: 8px; font-size: .7rem; font-weight: 800; }
.mpb-pending { background: #fef9c3; color: #a16207; }
.mpb-approved { background: #dcfce7; color: #15803d; }
.mpb-rejected { background: #fee2e2; color: #b91c1c; }
/* Statický status pill do tabulky (mod-photo-badge je position:absolute pro overlay na fotce) */
.status-pill { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px; font-size: .72rem; font-weight: 800; white-space: nowrap; }

/* ===== Zpětná vazba (veřejný formulář + admin) ===== */
.fb-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
@media (max-width: 820px) { .fb-wrap { grid-template-columns: 1fr; } }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.fb-cat input { position: absolute; opacity: 0; }
.fb-cat span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--gray-600); font-weight: 700; font-size: .85rem; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.fb-cat input:checked + span { border-color: var(--orange-600); background: #fff7ed; color: var(--orange-600); }
.fb-cat .ic { width: 16px; height: 16px; }
.fb-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 4px 0 16px; font-size: 1.6rem; line-height: 1; }
.fb-stars input { position: absolute; opacity: 0; }
.fb-stars label { color: var(--gray-300); cursor: pointer; transition: color .12s; }
.fb-stars label:hover, .fb-stars label:hover ~ label, .fb-stars input:checked ~ label { color: #f59e0b; }
.fb-aside { background: linear-gradient(165deg, #fff, #fff7ed); }
.fb-aside h2 { font-size: 1rem; margin: 0 0 12px; }
.fb-list { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fb-list li { display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; color: var(--gray-600); }
.fb-list .ic { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; color: var(--orange-600); }

.fb-admin-list { display: flex; flex-direction: column; gap: 12px; }
.fb-item { border-left: 4px solid var(--line); }
.fb-item-new { border-left-color: #ef4444; }
.fb-item-read { border-left-color: #f59e0b; }
.fb-item-resolved { border-left-color: #10b981; }
.fb-item-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.fb-cat-pill { padding: 3px 10px; border-radius: 8px; font-size: .72rem; font-weight: 800; background: var(--gray-100); color: var(--gray-600); }
.fb-cat-suggestion { background: #eff6ff; color: #2563eb; }
.fb-cat-bug { background: #fef2f2; color: #dc2626; }
.fb-cat-praise { background: #fff1f2; color: #e11d48; }
.fb-item-rating { color: #f59e0b; font-size: .95rem; letter-spacing: 1px; }
.fb-item-rating .fb-star-off { color: var(--gray-300); }
.fb-item-date { margin-left: auto; }
.fb-item-msg { margin: 0 0 10px; white-space: pre-wrap; color: var(--ink); }
.fb-item-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fb-badge-user { background: #ecfdf5; color: #059669; padding: 1px 7px; border-radius: 6px; font-weight: 700; font-size: .7rem; }
.fb-item-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
/* Cena v tabulce moderace hlášení — zarovnaná vlevo pod hlavičku (ne text-align:right) */
.rep-price { font-weight: 700; color: var(--orange-600); white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Banner oficiálních týdenních průměrů (ČSÚ / Slovstat) na /ceny */
/* Banner oficiálních týdenních průměrů (ČSÚ CZ + Slovstat SK) — 2 země vedle sebe */
.off-avg-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 0 0 26px; }
@media (max-width: 760px) { .off-avg-wrap { grid-template-columns: 1fr; } }
.off-avg { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 20px 20px; box-shadow: 0 10px 30px -18px rgba(17,24,39,.28); overflow: hidden; }
.off-avg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--oa-accent), var(--oa-accent2)); }
.off-avg-cz { --oa-accent: #2563eb; --oa-accent2: #60a5fa; }
.off-avg-sk { --oa-accent: #4f46e5; --oa-accent2: #818cf8; }
.off-avg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 6px 0 12px; }
.off-avg-titlewrap { display: flex; align-items: center; gap: 12px; }
.off-avg-flag { width: 30px; height: 22px; border-radius: 5px; box-shadow: 0 2px 6px rgba(0,0,0,.18); flex-shrink: 0; }
.off-avg-eyebrow { font-size: 1.02rem; font-weight: 900; color: var(--ink); line-height: 1.2; }
.off-avg-sub { margin-top: 2px; }
.off-avg-source { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: .76rem; font-weight: 700; color: var(--gray-600); background: var(--gray-100); padding: 5px 10px; border-radius: 999px; text-decoration: none; transition: background .15s, color .15s; }
.off-avg-source:hover { background: #fff7ed; color: var(--orange-600); }
.off-avg-source .ic { width: 13px; height: 13px; }
.off-avg-week { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700; color: var(--gray-500); margin-bottom: 14px; }
.off-avg-week .ic { width: 14px; height: 14px; }
.off-avg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.off-avg-card { position: relative; display: block; background: #f9fafb; border: 1px solid #f1f3f5; border-radius: 14px; padding: 15px 12px 12px; text-decoration: none; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; }
.off-avg-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(17,24,39,.25); border-color: #e5e7eb; }
.off-avg-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.off-avg-fuel { font-weight: 700; color: var(--gray-600); font-size: .82rem; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.off-avg-priceline { display: flex; align-items: baseline; gap: 4px; }
.off-avg-price { font-size: 1.5rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.off-avg-unit { font-size: .72rem; font-weight: 700; color: var(--gray-400); }
.off-avg-delta { display: inline-flex; align-items: center; gap: 3px; margin-top: 8px; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.oad-down { background: #dcfce7; color: #15803d; }
.oad-up { background: #ffe4e6; color: #be123c; }
.oad-flat { background: var(--gray-100); color: var(--gray-500); }
.mod-photo-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.mod-photo-station { font-weight: 800; color: var(--ink); text-decoration: none; font-size: .9rem; }
.mod-photo-station:hover { color: var(--orange-600); }
.mod-photo-body .mod-photo-actions { padding: 8px 0 0; }
.btn-ok { background: #16a34a; color: #fff; border: 0; }
.btn-ok:hover { background: #15803d; }
.mod-empty { padding: 28px; text-align: center; }
/* Inline úprava trust/bodů v admin uživatelích */
.adj-val { font-weight: 700; margin-right: 6px; }
.adj { display: inline-flex; gap: 3px; align-items: center; vertical-align: middle; }
.adj-in { width: 56px; padding: 3px 5px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: .8rem; }
.adj-btn { padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-weight: 800; line-height: 1; color: var(--gray-600); }
.adj-btn:hover { border-color: var(--orange-600); color: var(--orange-600); }

/* Cookie lišta */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000; background: #111827; color: #e5e7eb; box-shadow: 0 -8px 24px rgba(0,0,0,.25); }
.cookie-bar-inner { max-width: 72rem; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 240px; font-size: .88rem; line-height: 1.5; }
.cookie-text a { color: #fbbf24; }
.cookie-opts { display: flex; gap: 14px; font-size: .85rem; }
.cookie-opts label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-accept { background: var(--grad); color: #fff; border: none; }

/* Footer odkazy (Fáze 1) */
.footer-links { display: flex; flex-direction: column; gap: 6px; }
.footer-links a, .footer-linkbtn { color: var(--muted); text-decoration: none; font-size: .88rem; background: none; border: none; padding: 0; cursor: pointer; font-family: inherit; text-align: left; }
.footer-links a:hover, .footer-linkbtn:hover { color: var(--orange-600); }
.footer-ver { color: var(--gray-400); text-decoration: none; }
.footer-ver:hover { color: var(--orange-600); }

/* ════════ Admin shell (sidebar layout jako palivko.cz) ════════ */
.admin-body { display: block; background: #f3f4f6; }
.admin-sidebar { width: 250px; background: var(--card); border-right: 1px solid var(--line); height: 100vh; position: fixed; left: 0; top: 0; overflow-y: auto; z-index: 40; }
.admin-brand { display: flex; align-items: center; gap: 8px; padding: 18px 20px; font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--card); z-index: 1; }
.admin-brand .brand-logo { width: 30px; height: 30px; display: inline-flex; color: var(--orange); }
.admin-brand .brand-logo svg { width: 100%; height: 100%; }
.admin-side-nav { padding: 8px 0 30px; }
.asn-section { padding: 16px 20px 5px; font-size: .66rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; }
.admin-side-nav a, .asn-logout { display: flex; align-items: center; gap: 10px; padding: 9px 20px; font-size: .88rem; font-weight: 600; color: var(--gray-700); text-decoration: none; transition: background .12s; border: none; background: none; width: 100%; cursor: pointer; font-family: inherit; }
.admin-side-nav a:hover, .asn-logout:hover { background: #f9fafb; }
.admin-side-nav a span:first-child { width: 20px; text-align: center; }
.admin-side-nav a.is-active { background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(244,63,94,.08)); color: var(--orange-600); border-left: 3px solid var(--orange); padding-left: 17px; }
.asn-badge { margin-left: auto; display: none; }
.asn-badge.on { display: inline-block; background: #ef4444; color: #fff; font-size: .68rem; font-weight: 800; font-style: normal; padding: 1px 7px; border-radius: 999px; }
.asn-badge.amber.on { background: #fde68a; color: #92400e; }
.partner-topbar-user { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--gray-700); }
.partner-topbar-user .avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; }
.asn-logout { color: var(--muted); }

.admin-main { margin-left: 250px; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.admin-sidebar { transition: transform .2s; }
.admin-topbar { display: flex; align-items: center; gap: 12px; background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 24px; position: sticky; top: 0; z-index: 5; }
.admin-burger { display: none; font-size: 1.4rem; cursor: pointer; }
.admin-topbar-title { font-weight: 700; color: var(--gray-700); }
.admin-topbar-back { margin-left: auto; font-size: .85rem; color: var(--muted); text-decoration: none; }
.admin-topbar-back:hover { color: var(--orange-600); }
.admin-content { padding: 28px 36px; width: 100%; max-width: none; }

/* Admin nastavení — sekce do karet */
.cfg-intro { max-width: 760px; margin: -4px 0 20px; }
/* Masonry mřížka karet — dlaždice se skládají do sloupců podle výšky. */
.cfg-form { column-count: 2; column-gap: 20px; max-width: 1120px; }
.cfg-group { padding: 0; overflow: hidden; display: inline-block; width: 100%; margin: 0 0 20px; break-inside: avoid; border-radius: 18px; box-shadow: 0 6px 20px rgba(17,24,39,.06); transition: box-shadow .15s, transform .15s; }
.cfg-group:hover { box-shadow: 0 12px 28px rgba(17,24,39,.10); }
.cfg-group-head { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fafafa, #fff); }
.cfg-group-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: #fff7ed; color: var(--orange-600); box-shadow: inset 0 0 0 1px #ffedd5; }
.cfg-group-icon .ic { width: 21px; height: 21px; }
.cfg-group-title { margin: 0; font-size: 1.06rem; font-weight: 800; color: var(--ink); }
.cfg-group-desc { margin: 3px 0 0; line-height: 1.4; }
.cfg-grid { display: flex; flex-direction: column; gap: 15px; padding: 18px 20px; }
.cfg-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cfg-label { font-size: .85rem; font-weight: 700; color: var(--gray-700); }
.cfg-field input, .cfg-field textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font: inherit; background: #fff; }
.cfg-field input:focus, .cfg-field textarea:focus { outline: none; border-color: var(--orange-600); box-shadow: 0 0 0 3px #fff1e6; }
.cfg-field textarea { resize: vertical; min-height: 64px; }
.cfg-key { font-family: ui-monospace, monospace; font-size: .68rem; color: var(--gray-400); }
.cfg-actions { column-span: all; padding: 6px 0 4px; }
.cfg-actions .btn { padding: 11px 26px; font-size: .95rem; }
.cfg-toggle { display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--gray-700); }
.cfg-toggle input { width: 18px; height: 18px; accent-color: var(--orange-600); cursor: pointer; }
.cfg-hint { line-height: 1.4; }
@media (max-width: 900px) { .cfg-form { column-count: 1; } }

/* Banner odpočtu plánované údržby */
.maint-banner { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 16px; font-size: .9rem; color: #fff; background: linear-gradient(90deg, #b45309, #f97316); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.maint-banner strong { font-weight: 800; }
.maint-banner .mb-dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: mbpulse 1.4s infinite; }
@keyframes mbpulse { 0%{ box-shadow: 0 0 0 0 rgba(255,255,255,.6);} 70%{ box-shadow: 0 0 0 7px rgba(255,255,255,0);} 100%{ box-shadow: 0 0 0 0 rgba(255,255,255,0);} }

/* Údržbová stránka */
.maint-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff7ed, #fef2f2); margin: 0; }
.maint-wrap { padding: 24px; width: 100%; max-width: 540px; }
.maint-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 32px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.maint-logo { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.maint-logo .ic { width: 32px; height: 32px; }
.maint-card h1 { font-size: 1.5rem; font-weight: 900; margin: 0 0 12px; color: var(--ink); }
.maint-msg { color: var(--gray-700); line-height: 1.55; margin: 0 0 20px; }
.maint-brand { font-weight: 800; color: var(--orange-600); margin: 0 0 18px; }
.maint-lang { justify-content: center; border-left: 0; padding-left: 0; }
.maint-admin { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); width: 100%; justify-content: center; font-size: .82rem; color: var(--muted); text-decoration: none; }
.maint-admin:hover { color: var(--orange-600); }
.maint-admin .ic { width: 15px; height: 15px; }

/* Admin dashboard */
.admin-hero h1 { font-size: 1.8rem; font-weight: 900; margin: 0 0 4px; }
.admin-sec-label { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; font-size: .72rem; font-weight: 800; color: var(--gray-400); text-transform: uppercase; letter-spacing: .06em; }
.admin-sec-label .hr { flex: 1; height: 1px; background: var(--line); }
.all-clear { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg,#ecfdf5,#f0fdfa); border: 1px solid #a7f3d0; border-radius: 18px; padding: 20px; }
.all-clear-ico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg,#10b981,#14b8a6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.attention-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 14px; }
.attention-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.attention-card:hover { box-shadow: 0 12px 24px -12px rgba(0,0,0,.15); transform: translateY(-2px); }
.att-ico { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; }
.att-count { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.att-label { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.quick-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.quick-card:hover { border-color: var(--orange); }
.qc-ico { font-size: 1.5rem; }

/* Admin dashboard — vylepšený */
.admin-hero-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg,#1f2937,#111827); color: #fff; border-radius: 20px; padding: 24px 28px; margin-bottom: 6px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); }
.ahc-text h1 { font-size: 1.6rem; font-weight: 900; margin: 0 0 4px; }
.ahc-text p { margin: 0; color: #cbd5e1; font-size: .95rem; }
.ahc-text strong { color: #fdba74; }
.ahc-mini { text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 22px; }
.ahc-mini-num { font-size: 1.9rem; font-weight: 900; line-height: 1; }
.ahc-mini-lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; font-weight: 700; margin-top: 4px; }
.att-done { opacity: .55; }
.att-done .att-ico { filter: grayscale(1); }
.g-blue { background: linear-gradient(135deg,#3b82f6,#6366f1); }
.today-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.today-card { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.td-ico { width: 42px; height: 42px; border-radius: 12px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.td-num { font-size: 1.5rem; font-weight: 900; line-height: 1; }
.td-lbl { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 12px; }
.kpi-box { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.kpi-ico { font-size: 1.3rem; opacity: .9; }
.kpi-num { font-size: 1.8rem; font-weight: 900; line-height: 1.1; margin-top: 6px; }
.kpi-lbl { font-size: .8rem; color: var(--muted); margin-top: 2px; font-weight: 600; }

/* Admin — kontakty/scrapery/affiliate */
.inline-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.inline-row input, .inline-row select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; }
.inline-row input[type=text], .inline-row input[type=email] { flex: 1; min-width: 180px; }
.contact-input { width: 220px; max-width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; }
.copy-link { width: 100%; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: .8rem; color: var(--muted); font-family: ui-monospace, monospace; background: #f9fafb; }
.scraper-cards { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; margin-bottom: 14px; }
.scraper-card { display: flex; align-items: center; gap: 12px; background: #f9fafb; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sc-ico { font-size: 1.5rem; }

/* Admin stub */
.admin-stub { text-align: center; padding: 48px 24px; }
.admin-stub-ico { font-size: 3rem; }
.admin-stub h2 { margin: 12px 0 6px; }
.stub-phase { margin-top: 16px; font-size: .85rem; color: var(--gray-400); }

/* Admin responsivně */
@media (max-width: 860px) {
    .admin-sidebar { transform: translateX(-100%); box-shadow: 0 0 40px rgba(0,0,0,.2); }
    .admin-menu-toggle:checked ~ .admin-sidebar { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-burger { display: block; }
    .admin-content { padding: 18px 14px; }
}

/* Personalizovaný dashboard */
.dash-greet { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 22px; }
.dash-greet h1 { margin: 0; font-size: 1.7rem; }
.dash-points { margin-left: auto; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 18px; }
.dash-points-num { display: block; font-size: 1.6rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.dash-cheap { list-style: none; margin: 0; padding: 0; }
.dash-cheap li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f3f4f6; text-decoration: none; color: var(--ink); }
.dc-label { min-width: 90px; color: var(--muted); font-size: .9rem; }
.dash-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* Toasty */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 3000; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.toast { padding: 12px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600; color: #fff; box-shadow: 0 10px 30px -8px rgba(0,0,0,.35); animation: toast-in .25s ease; }
.toast-ok { background: linear-gradient(135deg,#10b981,#14b8a6); }
.toast-err { background: linear-gradient(135deg,#ef4444,#dc2626); }
.toast.hide { opacity: 0; transform: translateX(20px); transition: all .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Banner nové verze */
.update-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2500; display: flex; align-items: center; gap: 12px; background: #111827; color: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); font-size: .9rem; }
.update-banner[hidden] { display: none !important; }
.update-banner button { background: var(--grad); color: #fff; border: none; padding: 7px 14px; border-radius: 999px; font-weight: 800; cursor: pointer; font-family: inherit; }
.update-banner .ub-close { background: none; padding: 4px 8px; color: #9ca3af; }

/* Logo značky v seznamu */
.st-name-cell { display: flex; align-items: center; gap: 10px; }
.brand-logo-badge { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.brand-logo-img { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; object-fit: contain; background: #fff; padding: 3px; box-shadow: 0 1px 3px rgba(0,0,0,.12); border: 1px solid var(--border, #e5e7eb); box-sizing: border-box; }

/* Barevné odlišení cen ve výpisu (nejlevnější zeleně → nejdražší červeně) */
.price-tag { display: inline-block; font-weight: 700; padding: 2px 8px; border-radius: 7px; }
.price-cheapest { color: #15803d; background: #f0fdf4; }
.price-cheap { color: #16a34a; }
.price-pricey { color: #ea580c; }
.price-expensive { color: #dc2626; background: #fef2f2; }

/* „Oficiální" označení partnerských stanic ve výpisu */
.official-tag { display: inline-flex; align-items: center; gap: 3px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #047857; background: #d1fae5; padding: 2px 7px; border-radius: 6px; vertical-align: middle; white-space: nowrap; }
.official-tag .ic { width: .85em; height: .85em; }

/* ============ Žebříček (leaderboard) ============ */
.lb-page { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.grad-orange { background: linear-gradient(90deg,#f97316,#f43f5e,#ec4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-amber { background: linear-gradient(90deg,#f59e0b,#f97316,#f43f5e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ta-r { text-align: right; }
.lb-hero { padding-top: 8px; }
.lb-kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #fed7aa; color: #ea580c; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 5px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.lb-h1 { font-size: clamp(2rem,5vw,3.4rem); font-weight: 900; letter-spacing: -.02em; margin: 14px 0 8px; line-height: 1.05; }
.lb-lead { font-size: 1.1rem; color: var(--muted); max-width: 600px; }
.lb-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.lb-kpi { background: #fff; border: 1px solid #f1f1f3; border-radius: 18px; padding: 18px; text-align: center; }
.lb-kpi-accent { background: linear-gradient(135deg,#fff7ed,#fff1f2); border-color: #fed7aa; }
.lb-kpi-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.lb-kpi-value { font-size: 2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.lb-podium { background: linear-gradient(135deg,#f97316,#f43f5e,#dc2626); border-radius: 26px; padding: 26px; color: #fff; box-shadow: 0 24px 50px -24px rgba(249,115,22,.5); }
.lb-podium-title { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; opacity: .85; margin-bottom: 18px; }
.lb-podium-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; align-items: end; }
.lb-pod { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 16px; text-align: center; }
.lb-pod-1 { order: 2; background: rgba(255,255,255,.16); border: 2px solid rgba(253,224,71,.6); transform: translateY(-12px); box-shadow: 0 0 0 4px rgba(253,224,71,.2); }
.lb-pod-2 { order: 1; }
.lb-pod-3 { order: 3; }
.lb-pod-medal { font-size: 2rem; line-height: 1; margin-bottom: 6px; }
.lb-pod-avatar { width: 52px; height: 52px; margin: 0 auto 8px; border-radius: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.3rem; }
.lb-pod-1 .lb-pod-avatar { background: linear-gradient(135deg,#fde047,#fbbf24); color: #7c2d12; width: 60px; height: 60px; }
.lb-pod-name { font-weight: 900; font-size: 1rem; }
.lb-pod-sub { font-size: .78rem; opacity: .8; }
.lb-pod-points { font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; margin-top: 6px; }
.lb-pod-first { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #fef08a; margin-top: 4px; }
.lb-me { background: #fff; border: 1px solid #f1f1f3; border-radius: 22px; overflow: hidden; padding: 20px; }
.lb-me-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lb-me-avatar { width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(135deg,#fb923c,#f43f5e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.4rem; }
.lb-me-nick { font-size: 1.2rem; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.lb-me-edit { color: #cbd5e1; text-decoration: none; font-size: .9rem; }
.lb-me-edit:hover { color: #f97316; }
.lb-me-role { font-size: .8rem; color: var(--muted); }
.lb-me-stats { display: flex; gap: 22px; margin-left: auto; }
.lb-me-num { font-size: 1.5rem; font-weight: 900; font-variant-numeric: tabular-nums; text-align: center; }
.lb-me-lbl { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; }
.lb-me-next { margin-top: 16px; padding: 14px 16px; background: linear-gradient(90deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 16px; font-size: .92rem; }
.lb-me-next a { color: #ea580c; font-weight: 700; text-decoration: none; }
.lb-me-nonick { text-align: center; padding: 10px; }
.lb-me-nonick-emoji { font-size: 2.4rem; }
.lb-me-nonick-title { font-weight: 800; font-size: 1.05rem; margin: 4px 0; }
.lb-anon { background: linear-gradient(135deg,#f97316,#f43f5e); border-radius: 22px; padding: 28px; text-align: center; color: #fff; }
.lb-anon-emoji { font-size: 2.6rem; }
.lb-anon h3 { font-size: 1.5rem; font-weight: 900; margin: 6px 0; }
.btn-white { background: #fff; color: #ea580c; font-weight: 800; }
.lb-rest { padding: 0; overflow: hidden; }
.lb-rest-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #f1f1f3; }
.lb-rest-head h3 { font-size: 1.05rem; font-weight: 800; }
.lb-rank-chip { display: inline-flex; width: 34px; height: 34px; border-radius: 11px; background: #f3f4f6; color: #6b7280; align-items: center; justify-content: center; font-weight: 900; font-size: .82rem; font-variant-numeric: tabular-nums; }
.lb-rest-avatar { display: inline-flex; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg,#e5e7eb,#d1d5db); color: #4b5563; align-items: center; justify-content: center; font-weight: 900; font-size: .8rem; margin-right: 8px; vertical-align: middle; }
.lb-rest-nick { font-weight: 700; }
.lb-title-chip { font-size: .65rem; font-weight: 800; color: #7c3aed; background: #f5f3ff; padding: 2px 7px; border-radius: 6px; margin-left: 4px; }
.lb-you { font-size: .62rem; font-weight: 800; color: #ea580c; background: #ffedd5; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.lb-row-me { background: #fff7ed; }
.lb-how { padding: 22px; }
.lb-how h3 { font-size: 1.15rem; font-weight: 800; }
.lb-act-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 12px; margin-top: 16px; }
.lb-act { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #f1f1f3; border-radius: 16px; padding: 14px; }
.lb-act-emoji { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.lb-act-label { font-weight: 800; font-size: .92rem; }
.lb-act-desc { font-size: .8rem; color: var(--muted); margin: 2px 0 4px; }
.lb-act-pts { font-size: .78rem; font-weight: 900; color: #ea580c; }
.lb-act.act-emerald .lb-act-emoji { background: #d1fae5; }
.lb-act.act-sky .lb-act-emoji { background: #e0f2fe; }
.lb-act.act-purple .lb-act-emoji { background: #f3e8ff; }
.lb-act.act-amber .lb-act-emoji { background: #fef3c7; }
.lb-act.act-rose .lb-act-emoji { background: #ffe4e6; }
.lb-act.act-green .lb-act-emoji { background: #dcfce7; }
.lb-cta-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 12px; }
.lb-cta { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid #f1f1f3; border-radius: 16px; padding: 16px; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.lb-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0,0,0,.2); }
.lb-cta-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.lb-cta-t { font-weight: 800; }
.lb-cta-d { font-size: .8rem; color: var(--muted); }

/* ============ Obchod (rewards) ============ */
.rw-page { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.rw-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
.rw-kicker { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #fde68a; color: #b45309; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 5px 12px; }
.rw-h1 { font-size: clamp(1.9rem,4.5vw,3rem); font-weight: 900; letter-spacing: -.02em; margin: 12px 0 6px; }
.rw-lead { font-size: 1.05rem; color: var(--muted); }
.rw-balance { display: inline-flex; align-items: center; gap: 12px; background: linear-gradient(135deg,#fffbeb,#fff7ed); border: 1px solid #fde68a; border-radius: 18px; padding: 14px 18px; }
.rw-balance-ico { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg,#fbbf24,#f97316); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; }
.rw-balance-num { font-size: 1.9rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.rw-balance-lbl { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rw-login { margin: 8px 0; }
.rw-login a { color: #ea580c; font-weight: 700; }
.rw-active { text-align: center; margin: 16px 0; }
.rw-active-lbl { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.rw-active-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 14px; border: 1px solid #fed7aa; background: #fff7ed; color: #c2410c; font-weight: 800; }
.rw-active-title { margin-top: 6px; font-size: .9rem; color: var(--muted); font-style: italic; }
.rw-section { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 22px 0 14px; }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 16px; }
.rw-grid-3 { grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); }
.rw-card { background: #fff; border: 1px solid #ececef; border-radius: 22px; padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: box-shadow .25s; }
.rw-card:hover { box-shadow: 0 14px 30px -18px rgba(0,0,0,.25); }
.rw-card-sm { padding: 16px; }
.rw-card-top { display: flex; gap: 14px; align-items: flex-start; }
.rw-emoji { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0; box-shadow: 0 8px 18px -10px rgba(0,0,0,.4); }
.rw-emoji-badge { background: linear-gradient(135deg,#fb923c,#f43f5e); }
.rw-emoji-title { background: linear-gradient(135deg,#38bdf8,#3b82f6); }
.rw-emoji-voucher { background: linear-gradient(135deg,#fb923c,#f43f5e); }
.rw-emoji-feature { background: linear-gradient(135deg,#60a5fa,#6366f1); }
.rw-card-info { min-width: 0; flex: 1; }
.rw-card-info h3 { font-size: 1.1rem; font-weight: 800; }
.rw-card-info p { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.rw-feat-cost { font-weight: 800; color: #2563eb; font-size: .9rem; white-space: nowrap; }
.rw-prog-row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-weight: 700; }
.rw-ready { color: #10b981; font-weight: 700; }
.rw-cost-orange { color: #f97316; font-weight: 800; }
.rw-bar { height: 8px; background: #f1f3f5; border-radius: 999px; overflow: hidden; margin-top: 8px; }
.rw-bar-fill { height: 100%; border-radius: 999px; transition: width .5s; }
.rw-bar-done { background: #34d399; }
.rw-bar-amber { background: linear-gradient(90deg,#fbbf24,#f97316); }
.rw-bar-sky { background: linear-gradient(90deg,#38bdf8,#3b82f6); }
.rw-bar-orange { background: linear-gradient(90deg,#fb923c,#f43f5e); }
.rw-bar-grey { background: #d1d5db; }
.rw-actions { margin-top: 16px; display: flex; align-items: center; gap: 8px; }
.rw-actions-block { display: block; }
.rw-equipped { padding: 8px 16px; background: #ecfdf5; color: #059669; font-weight: 700; border-radius: 12px; font-size: .85rem; }
.rw-locked { color: #9ca3af; font-weight: 600; font-size: .85rem; }
.rw-out { padding: 8px 16px; background: #fef2f2; color: #dc2626; font-weight: 700; border-radius: 12px; font-size: .85rem; }
.btn-amber { background: linear-gradient(90deg,#fbbf24,#f97316); color: #fff; border: none; }
.btn-sky { background: linear-gradient(90deg,#38bdf8,#3b82f6); color: #fff; border: none; }
.btn-ghost { background: #f3f4f6; color: #374151; border: none; }
.btn-block { display: block; width: 100%; text-align: center; }
.rw-title-form { display: flex; gap: 8px; width: 100%; }
.rw-title-form input { flex: 1; padding: 8px 12px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: .9rem; }
.rw-how { padding: 26px; margin-top: 22px; }
.rw-how-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 18px; text-align: center; }
.rw-how-ico { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; }
.rw-how-t { font-weight: 800; font-size: .92rem; }
.rw-teaser { margin-top: 18px; background: linear-gradient(90deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 22px; padding: 18px; text-align: center; font-size: .92rem; color: var(--muted); }
.rw-teaser a { color: #ea580c; font-weight: 700; text-decoration: none; }

/* ============ Partnerský claim (multi-select stanic) ============ */
.claim-form { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.info-box { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.info-box a { color: #1d4ed8; font-weight: 700; }
.claim-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.claim-search { width: 100%; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 12px; font-size: .95rem; margin-top: 10px; }
.claim-search:focus { outline: none; border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
.claim-status { margin-top: 8px; }
.claim-results { margin-top: 8px; border: 1px solid #f1f1f3; border-radius: 14px; max-height: 320px; overflow-y: auto; }
.claim-result { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "main add" "sub add"; align-items: center; gap: 0 12px; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #f5f5f7; padding: 10px 14px; cursor: pointer; }
.claim-result:last-child { border-bottom: none; }
.claim-result:hover { background: #fff7ed; }
.cr-main { grid-area: main; font-weight: 700; color: var(--ink); }
.cr-sub { grid-area: sub; font-size: .8rem; color: var(--muted); }
.cr-add { grid-area: add; color: #ea580c; font-weight: 800; font-size: .85rem; white-space: nowrap; }
.claim-noresult { padding: 12px 14px; color: var(--muted); font-size: .9rem; }
.claim-selected-wrap { margin-top: 16px; }
.claim-selected-head { font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.claim-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.claim-chip { display: inline-flex; align-items: center; gap: 8px; background: #ffedd5; color: #9a3412; border-radius: 10px; padding: 6px 6px 6px 12px; font-size: .88rem; font-weight: 600; }
.claim-chip button { background: none; border: none; color: #c2410c; cursor: pointer; font-size: .9rem; padding: 2px 6px; border-radius: 6px; }
.claim-chip button:hover { background: #fed7aa; }
.claim-empty { font-style: italic; }
.claim-note-label { display: block; margin-top: 14px; }

/* ============ Partnerský návod ============ */
.guide-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(135deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--ink); margin: 14px 0; transition: box-shadow .15s; }
.guide-cta:hover { box-shadow: 0 12px 26px -16px rgba(249,115,22,.5); }
.guide-cta-ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg,#f97316,#f43f5e); color: #fff; display: flex; align-items: center; justify-content: center; }
.guide-cta-text { flex: 1; min-width: 200px; font-size: .95rem; }
.guide-cta-arrow { color: #ea580c; font-weight: 800; font-size: .85rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.guide-steps { display: grid; gap: 12px; }
.guide-step { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.gs-num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: linear-gradient(135deg,#f97316,#f43f5e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; }
.gs-body h3 { font-size: 1.05rem; font-weight: 800; margin: 2px 0 6px; display: flex; align-items: center; gap: 8px; }
.gs-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.gs-body a { color: var(--orange-600); font-weight: 600; }
.guide-features { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 12px; }
.guide-feat { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.guide-feat:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.22); }
.gf-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; color: #fff; display: flex; align-items: center; justify-content: center; }
.guide-feat strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.guide-feat p { color: var(--muted); font-size: .85rem; margin: 0; line-height: 1.4; }
.guide-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.guide-tips li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.45; }
.guide-tips li .ic { color: #10b981; flex-shrink: 0; margin-top: 2px; }
.guide-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ============ Admin kontakty ============ */
.ta-c { text-align: center; }
.cov-good { color: #16a34a; }
.cov-mid { color: #ea580c; }
.cov-low { color: #dc2626; }
.contacts-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contacts-search { flex: 1; min-width: 200px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .9rem; }
.contacts-pills { display: inline-flex; gap: 4px; background: #f3f4f6; border-radius: 10px; padding: 4px; }
.cpill { border: none; background: none; padding: 6px 12px; border-radius: 8px; font-size: .78rem; font-weight: 800; color: var(--muted); cursor: pointer; font-family: inherit; }
.cpill.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.contacts-sort { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .9rem; }
.contacts-table td { vertical-align: top; }
.contacts-existing { margin-top: 5px; display: flex; flex-direction: column; gap: 2px; }
.cmail { background: none; border: none; padding: 0; text-align: left; color: #16a34a; font-size: .72rem; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 4px; }
.cmail:hover { text-decoration: underline; }
.cmail .ic { width: .9em; height: .9em; }

/* ============ Admin kampaně ============ */
.camp-create { margin-bottom: 18px; }
.camp-create summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; align-items: center; gap: 8px; }
.camp-create summary::-webkit-details-marker { display: none; }
.camp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.camp-form label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.camp-form input, .camp-form textarea { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .9rem; }
.camp-form .mono { font-family: ui-monospace, monospace; }
.camp-full { grid-column: 1 / -1; }
.camp-check { flex-direction: row !important; align-items: center; gap: 8px; }
.camp-card { margin-bottom: 14px; }
.camp-off { opacity: .6; }
.camp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.camp-head h3 { font-size: 1.15rem; font-weight: 900; }
.camp-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.camp-edit-btn { background: none; border: none; color: var(--gray-700); font-weight: 700; font-size: .82rem; cursor: pointer; }
.camp-edit-btn:hover { color: var(--orange-600); }
.camp-del { background: none; border: none; color: #ef4444; font-weight: 700; font-size: .82rem; cursor: pointer; }
.camp-pill { border: none; cursor: pointer; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.camp-pill-on { background: #d1fae5; color: #047857; }
.camp-pill-off { background: #f3f4f6; color: #6b7280; }
.camp-desc { margin: 6px 0 0; font-size: .9rem; }
.camp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.camp-meta span { display: inline-flex; align-items: center; gap: 5px; }
.camp-meta .mono { font-family: ui-monospace, monospace; }
/* Obrázky kampaně v adminu — galerie */
.camp-image { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.camp-gallery { display: flex; flex-wrap: wrap; gap: 8px; }
.camp-thumb-wrap { position: relative; }
.camp-thumb { width: 120px; height: 78px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.camp-thumb-empty { display: flex; align-items: center; justify-content: center; background: #fafafa; color: var(--gray-400); }
.camp-thumb-empty .ic { width: 26px; height: 26px; }
.camp-thumb-del { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border: 0; border-radius: 8px; background: rgba(17,24,39,.62); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); transition: background .15s; }
.camp-thumb-del:hover { background: #dc2626; }
.camp-thumb-del .ic { width: 15px; height: 15px; }
.camp-img-tools { display: flex; flex-direction: column; gap: 8px; min-width: 240px; flex: 1; }
.camp-imgform { display: flex; gap: 8px; align-items: center; }
.camp-imgform .camp-urlinput { flex: 1; min-width: 0; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.camp-file { font-size: .82rem; max-width: 190px; }
.btn-sm { padding: 7px 12px; font-size: .82rem; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.btn-sm .ic { width: 15px; height: 15px; }
.camp-img-count { align-self: flex-start; }
.camp-eval-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.camp-eval-bar > span { flex: 1; min-width: 200px; display: inline-flex; align-items: center; gap: 6px; }
.camp-eval-bar .ic { width: 15px; height: 15px; color: #f59e0b; }

/* Editor úvodní stránky */
.ahome-form { display: flex; flex-direction: column; gap: 18px; max-width: 1000px; }
.ahome-sec-title { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.ahome-toggles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.ahome-toggle { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.ahome-toggle:hover { border-color: var(--orange-600); background: #fff7ed; }
.ahome-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--orange-600); flex: 0 0 auto; cursor: pointer; }
.ahome-toggle-txt { display: flex; flex-direction: column; gap: 1px; }
.ahome-field { padding: 14px 0; border-top: 1px solid var(--line); }
.ahome-field:first-of-type { border-top: 0; }
.ahome-label { font-weight: 700; color: var(--gray-700); margin-bottom: 8px; font-size: .9rem; }
.ahome-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ahome-lang { display: flex; flex-direction: column; gap: 4px; }
.ahome-lang-code { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--gray-400); text-transform: uppercase; }
.ahome-lang input, .ahome-lang textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.ahome-lang input:focus, .ahome-lang textarea:focus { outline: none; border-color: var(--orange-600); box-shadow: 0 0 0 3px #fff1e6; }
.ahome-lang textarea { resize: vertical; min-height: 46px; }
.ahome-actions { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(180deg, transparent, var(--bg) 40%); }
@media (max-width: 760px) { .ahome-toggles, .ahome-langs { grid-template-columns: 1fr; } }

/* Čerstvost cen na detailu stanice */
.prices-fresh { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); margin: 0 0 12px; }
.prices-fresh .ic { width: 14px; height: 14px; }

/* Oznamovací blok na úvodní stránce */
.home-announce { background: linear-gradient(135deg,#fff7ed,#ffe4e6); border: 1px solid #fed7aa; color: #9a3412; border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-weight: 600; text-align: center; }
.camp-winner { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 10px; padding: 5px 10px; }
.camp-editform { margin-top: 4px; }
@media (max-width: 560px) { .camp-form { grid-template-columns: 1fr; } }

/* ============ Admin nároky (claims) ============ */
.claim-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.claim-fbtn { padding: 8px 16px; border-radius: 12px; font-size: .85rem; font-weight: 700; text-decoration: none; background: var(--card); color: var(--gray-700); border: 1px solid var(--line); }
.claim-fbtn span { opacity: .65; font-size: .78rem; }
.claim-fbtn.on { background: var(--orange); color: #fff; border-color: var(--orange); }
.claim-fbtn.on span { opacity: .85; }
.claim-card { margin-bottom: 12px; }
.claim-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.claim-op { font-weight: 900; font-size: 1.1rem; }
.claim-ico-tag { font-size: .72rem; background: #f3f4f6; color: #6b7280; padding: 2px 8px; border-radius: 6px; }
.claim-badge { font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.cb-pending { background: #fef9c3; color: #a16207; }
.cb-ok { background: #d1fae5; color: #047857; }
.cb-rej { background: #fee2e2; color: #b91c1c; }
.claim-sub { margin-top: 8px; }
.claim-station { margin-top: 10px; background: #f9fafb; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.claim-proof { margin-top: 10px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: #1e3a8a; }
.claim-reject { margin-top: 8px; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: #991b1b; }
.claim-dates { margin-top: 10px; }
.claim-act { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.claim-reject-form { display: inline-flex; gap: 6px; align-items: center; }
.claim-reason { padding: 7px 11px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: .82rem; min-width: 200px; }
.claim-approve { background: #16a34a; color: #fff; border: none; }
.claim-revoke { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

/* Sklik filtr období */
.sklik-range { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sklik-range input[type=date] { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: .85rem; }

/* Editor otevírací doby */
.hours-form { display: flex; flex-direction: column; gap: 18px; }
.hours-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fafafa; }
.hours-sec-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.hours-sec-title { font-weight: 800; font-size: 1rem; }
.hours-nonstop { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.hours-copy { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .76rem; font-weight: 700; color: var(--gray-700); cursor: pointer; font-family: inherit; }
.hours-copy:hover { border-color: var(--orange); color: var(--orange-600); }
.hours-grid { display: flex; flex-direction: column; gap: 6px; }
.hours-row { display: flex; align-items: center; gap: 8px; }
.hours-day { width: 32px; font-weight: 700; font-size: .88rem; }
.hours-row input[type=time] { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .85rem; }
.hours-row input[type=time]:disabled { background: #f1f1f3; color: #c0c0c5; }
.hours-dash { color: var(--muted); }
.hours-closed { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted); margin-left: 4px; }
.hours-row.row-off .hours-day { color: #c0c0c5; }

/* Editor vlastních paliv */
.custom-fuels-form { gap: 8px; }
.cf-head, .cf-row { display: grid; grid-template-columns: 1fr 150px 110px; gap: 10px; align-items: center; }
.cf-head { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 0 2px 2px; }
.cf-row input, .cf-row select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: .88rem; }
.custom-fuels-form .btn { margin-top: 8px; align-self: flex-start; }
@media (max-width: 560px) { .cf-head { display: none; } .cf-row { grid-template-columns: 1fr; gap: 5px; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); } }
.cf-cards { margin-top: 12px; }
.fc-bar-custom { background: linear-gradient(90deg,#8b5cf6,#ec4899) !important; }
.fuel-card-custom .fc-value { color: #7c3aed; }

/* Palivový semafor „Tankovat, nebo počkat?" */
.semafor-sec { max-width: 1000px; margin: 8px auto 0; padding: 0 16px; }
.semafor-title { font-size: clamp(1.4rem,3.5vw,2rem); font-weight: 900; display: flex; align-items: center; gap: 10px; }
.semafor-title .ic { color: var(--orange); }
.semafor-sub { color: var(--muted); margin: 4px 0 18px; max-width: 640px; }
.semafor-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 16px; }
.semafor-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; position: relative; overflow: hidden; }
.semafor-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(0,0,0,.3); }
.semafor-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; }
.sem-rising::before { background: linear-gradient(90deg,#10b981,#22c55e); }
.sem-falling::before { background: linear-gradient(90deg,#ef4444,#f97316); }
.sem-stable::before { background: linear-gradient(90deg,#f59e0b,#eab308); }
.sem-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.sem-fuel { font-weight: 800; font-size: 1.05rem; }
.sem-change { font-size: .82rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.sem-rising .sem-change { color: #dc2626; }
.sem-falling .sem-change { color: #16a34a; }
.sem-stable .sem-change { color: var(--muted); }
.sem-light { display: inline-flex; flex-direction: column; gap: 6px; background: #1f2937; padding: 8px; border-radius: 999px; margin: 4px 0; }
.sem-dot { width: 18px; height: 18px; border-radius: 50%; background: #374151; transition: box-shadow .2s; }
.sem-rising .sem-dot-g { background: #22c55e; box-shadow: 0 0 12px 2px rgba(34,197,94,.8); }
.sem-falling .sem-dot-r { background: #ef4444; box-shadow: 0 0 12px 2px rgba(239,68,68,.8); }
.sem-stable .sem-dot-y { background: #eab308; box-shadow: 0 0 12px 2px rgba(234,179,8,.8); }
.sem-verdict { font-size: 1.3rem; font-weight: 900; }
.sem-rising .sem-verdict { color: #16a34a; }
.sem-falling .sem-verdict { color: #dc2626; }
.sem-stable .sem-verdict { color: #ca8a04; }
.sem-avg { font-size: .88rem; color: var(--muted); }
.sem-avg strong { color: var(--ink); }
.sem-tip { font-size: .82rem; color: var(--muted); min-height: 2.4em; }
.sem-link { font-size: .8rem; font-weight: 700; color: var(--orange-600); }
.sem-year { font-size: .78rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sem-year .ic { width: .9em; height: .9em; }

/* Nejlevnější v ČR */
.cheap-sec { max-width: 1000px; margin: 28px auto 0; padding: 0 16px; }
.cheap-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; }
.cheap-col { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.cheap-col-head { font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.cheap-col-head .ic { color: var(--orange); }
.cheap-row { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 10px; text-decoration: none; color: var(--ink); border-bottom: 1px solid #f3f4f6; }
.cheap-row:last-child { border-bottom: none; }
.cheap-row:hover { background: #fff7ed; }
.cheap-rank { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #f3f4f6; color: #6b7280; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .82rem; }
.cheap-rank-1 { background: linear-gradient(135deg,#fde047,#f59e0b); color: #7c2d12; }
.cheap-rank-2 { background: #e5e7eb; color: #374151; }
.cheap-rank-3 { background: #fed7aa; color: #9a3412; }
.cheap-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cheap-name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cheap-price { font-weight: 900; color: #16a34a; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sdílení úspory */
.sc-share { margin-top: 12px; width: 100%; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 700; padding: 9px 14px; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: inherit; font-size: .9rem; }
.sc-share:hover { background: rgba(255,255,255,.28); }

/* Série hlášení */
.streak-badge { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 16px; padding: 12px 16px; margin-bottom: 14px; }
.streak-flame { font-size: 1.9rem; }
.streak-num { font-weight: 900; font-size: 1.05rem; color: #c2410c; }

/* Kalkulačka zajížďky */
.detour-card { max-width: 720px; }
.detour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detour-grid label { display: flex; flex-direction: column; gap: 5px; font-size: .85rem; font-weight: 600; color: var(--gray-700); }
.detour-grid input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: 1rem; }
.detour-result { margin-top: 18px; }
.dr-rows { display: flex; flex-direction: column; gap: 6px; }
.dr-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; padding: 4px 2px; }
.dr-pos { color: #16a34a; font-variant-numeric: tabular-nums; }
.dr-neg { color: #dc2626; font-variant-numeric: tabular-nums; }
.dr-verdict { margin-top: 14px; border-radius: 16px; padding: 18px; text-align: center; }
.dr-worth { background: linear-gradient(135deg,#ecfdf5,#d1fae5); border: 1px solid #a7f3d0; }
.dr-noworth { background: linear-gradient(135deg,#fef2f2,#fee2e2); border: 1px solid #fecaca; }
.dr-big { font-size: 2.2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.dr-worth .dr-big { color: #047857; }
.dr-noworth .dr-big { color: #b91c1c; }
.dr-label { font-size: .9rem; color: var(--gray-700); margin-top: 2px; }
@media (max-width: 560px) { .detour-grid { grid-template-columns: 1fr; } }

/* Vlídná registrace */
.register-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.register-welcome { background: linear-gradient(150deg,#fff7ed 0%,#fff1f2 55%,#faf5ff 100%); border: 1px solid #fed7aa; border-radius: 24px; padding: 32px; display: flex; flex-direction: column; }
.rw-kicker { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: #fff; border: 1px solid #fed7aa; color: #ea580c; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: 999px; padding: 5px 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.rw-title { font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; margin: 16px 0 8px; }
.rw-lead { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.rw-benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rw-benefits li { display: flex; align-items: center; gap: 12px; }
.rwb-ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px -8px rgba(0,0,0,.4); }
.rw-benefits strong { display: block; font-size: .95rem; }
.rw-benefits span { font-size: .82rem; color: var(--muted); }
.rw-trust { margin-top: auto; padding-top: 22px; font-size: .82rem; color: #047857; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rw-trust .ic { color: #10b981; }
.register-form-card { align-self: center; width: 100%; }
.rf-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 2px; }
.rf-sub { font-size: .9rem; margin-bottom: 16px; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 42px; box-sizing: border-box; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--gray-400); padding: 4px; display: inline-flex; }
.pw-toggle:hover, .pw-toggle.on { color: var(--orange-600); }
.pw-toggle .ic { width: 1.15em; height: 1.15em; }
@media (max-width: 760px) {
    .register-split { grid-template-columns: 1fr; gap: 18px; }
    .register-welcome { order: 2; padding: 24px; }
    .register-form-card { order: 1; }
    .rw-trust { padding-top: 16px; }
}

/* Nahrání / focení fotky */
.photo-upload { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; cursor: pointer; }
.photo-upload input[type=file] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; opacity: 0; }
.photo-upload-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff7ed; border: 1px dashed #fdba74; color: #c2410c; font-weight: 700; padding: 11px 18px; border-radius: 12px; font-size: .92rem; transition: background .15s; }
.photo-upload:hover .photo-upload-btn { background: #ffedd5; }
.photo-upload-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Jednotný vzhled dropdownů (native select vypadá v každém prohlížeči jinak) */
select {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 38px 9px 12px;
    font-family: inherit;
    font-size: .9rem;
    color: var(--ink);
    cursor: pointer;
    line-height: 1.3;
}
select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
select:disabled { background-color: #f1f1f3; color: #9ca3af; cursor: not-allowed; }

/* Jednotný vzhled textarey (i mimo .form — recenze, podpora, komentáře) */
textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
}
textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.15); }
textarea::placeholder { color: #9ca3af; }

/* API dokumentace */
.api-code { background: #1f2937; color: #e5e7eb; border-radius: 12px; padding: 16px 18px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .82rem; line-height: 1.55; overflow-x: auto; white-space: pre; margin: 10px 0; }
.fuel-codes { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 8px; margin-top: 10px; }
.fuel-codes div { font-size: .85rem; color: var(--gray-700); }
.fuel-codes code { background: #f1f5f9; color: #0f172a; padding: 2px 7px; border-radius: 6px; font-size: .8rem; margin-right: 6px; }
.api-errors { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.api-errors div { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--gray-700); }
.http-code { font-family: ui-monospace, monospace; font-weight: 800; font-size: .8rem; padding: 2px 9px; border-radius: 7px; flex-shrink: 0; }
.hc-ok { background: #d1fae5; color: #047857; }
.hc-err { background: #fee2e2; color: #b91c1c; }
/* Přepiš vlastní padding u selectů, které ho měly natvrdo, ať se nepřekrývá se šipkou */
.inline-row select, .contacts-sort, .sklik-range select { padding-right: 38px; }
@media (max-width: 560px) { .claim-form .form-grid { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
    .lb-me-stats { width: 100%; margin-left: 0; justify-content: space-around; }
    .lb-podium-grid { gap: 8px; }
    .lb-pod { padding: 10px; }
    .lb-pod-1 { transform: none; }
}

/* Bonus za registraci */
.signup-bonus { display: flex; align-items: center; gap: 14px; background: linear-gradient(135deg,#fff7ed,#fff1f2); border: 1px solid #fed7aa; border-radius: 16px; padding: 14px 16px; margin-bottom: 18px; }
.sb-badge { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg,#f97316,#f43f5e); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.05rem; box-shadow: 0 6px 14px -4px rgba(249,115,22,.5); }
.sb-eyebrow { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-600); }
.sb-title { font-weight: 800; color: var(--ink); line-height: 1.2; }
.sb-sub { font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* Campaign banner */
/* Kampaňová karta (hero) na hlavní stránce */
.camp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 14px 36px -16px rgba(244,63,94,.30); }
.camp-hero-media { position: relative; min-height: 230px; background: linear-gradient(135deg,#fff7ed,#ffe4e6); }
.chm-track { position: absolute; inset: 0; }
.chm-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.chm-slide.on { opacity: 1; }
.camp-hero-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #f97316; }
.camp-hero-noimg .ic { width: 64px; height: 64px; }
.chm-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; z-index: 2; }
.chm-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 1px 3px rgba(0,0,0,.35); cursor: pointer; transition: transform .15s, background .15s; }
.chm-dot.on { background: #fff; transform: scale(1.35); }
.camp-hero-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 30px; }
.camp-hero-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: linear-gradient(135deg,#f97316,#f43f5e); padding: 6px 12px; border-radius: 999px; }
.camp-hero-badge .ic { width: 15px; height: 15px; }
.camp-hero-title { margin: 0; font-size: 1.6rem; font-weight: 900; line-height: 1.15; color: var(--ink); }
.camp-hero-prize { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 1rem; color: var(--gray-700); }
.camp-hero-prize .ic { width: 18px; height: 18px; color: #f59e0b; }
.camp-hero-prize strong { color: var(--ink); }
.camp-hero-desc { margin: 0; color: var(--muted); line-height: 1.5; }
.camp-hero-cta { margin-top: 6px; background: linear-gradient(135deg,#f97316,#f43f5e); color: #fff; border: 0; padding: 11px 22px; border-radius: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 22px -10px rgba(244,63,94,.6); transition: transform .15s; }
.camp-hero-cta:hover { transform: translateY(-2px); }
@media (max-width: 720px) {
    .camp-hero { grid-template-columns: 1fr; }
    .camp-hero-media { min-height: 180px; }
    .camp-hero-body { padding: 22px; }
    .camp-hero-title { font-size: 1.35rem; }
}

/* Chart.js box */
.chart-box { position: relative; height: 240px; width: 100%; }
.chart-box canvas { max-height: 240px; }

/* 2FA */
.totp-qr { display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.totp-secret { display: inline-block; letter-spacing: 2px; font-size: .95rem; padding: 8px 12px; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 24rem; margin: 16px 0 20px; }
.recovery-codes code { background: #0f172a; color: #67e8f9; padding: 8px 12px; border-radius: 8px; text-align: center; font-size: 1rem; letter-spacing: 1px; }

/* Footer partner button */
.footer-partner-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--grad); color: #fff; font-size: .78rem; font-weight: 800; padding: 8px 14px; border-radius: 10px; text-decoration: none; margin-top: 12px; transition: box-shadow .15s, transform .15s; }
.footer-partner-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -6px rgba(249,115,22,.5); }

@media (max-width: 860px) {
    .pl-hero-grid, .pl-split { grid-template-columns: 1fr; gap: 28px; }
    .pl-grid-3, .pl-steps { grid-template-columns: 1fr; }
    .pl-h2.left { text-align: center; }
    .pl-checks li { justify-content: flex-start; }
}
@media (max-width: 560px) {
    .pl-section, .pl-section-alt, .pl-api, .pl-pricing-wrap { padding: 44px 0; }
    .pl-price-feats { grid-template-columns: 1fr; }
    .pl-mock-stats { grid-template-columns: repeat(2,1fr); }
    .pl-table th, .pl-table td { padding: 10px 8px; font-size: .8rem; }
}
