/* finland.starlume.eu — styly stránky. Vychází z latesummer2026/assets/site.css;
   paleta (:root) a barvy dnů (#denN .day-number) jsou v index.html. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--krida);
    color: var(--noc);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--voda); }

/* ── Hero ─────────────────────────────── */
.hero {
    position: relative;
    color: white;
    text-align: center;
    padding: 7rem 2rem 5rem;
    overflow: hidden;
    background: var(--noc);
}
.hero-bg {
    position: absolute; inset: 0;
    /* background-image je v každé stránce zvlášť — relativní URL v custom
       property se řeší vůči tomuhle souboru, ne vůči HTML. */
    background-size: cover;
    background-position: center 45%;
    filter: saturate(0.9);
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11,35,52,0.72) 0%, rgba(11,35,52,0.45) 45%, rgba(11,35,52,0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero .flags {
    display: flex; justify-content: center; gap: 0.6rem;
    margin-bottom: 1.75rem; font-size: 1.6rem; letter-spacing: 0.1em;
}
.hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(2.4rem, 6.5vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero .subtitle {
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    font-weight: 300;
    opacity: 0.92;
    margin-bottom: 1.5rem;
}
.hero .route-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    padding: 0.55rem 1.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}

/* ── Statistiky ───────────────────────── */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;
    background: var(--linka);
    max-width: 940px;
    margin: -2.5rem auto 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 3;
}
.stat { padding: 1.5rem 1rem; text-align: center; background: white; }
.stat-value {
    font-family: 'Fraunces', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--more);
    line-height: 1.1;
}
.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--kamen);
    margin-top: 0.35rem;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 2rem; }

/* ── Přehled ──────────────────────────── */
section h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
}
.overview { padding: 4.5rem 0 2.5rem; }
.overview p { color: #4a5760; font-size: 1.05rem; max-width: 760px; }
.overview p + p { margin-top: 1rem; }

.route-visual {
    display: flex; align-items: center; flex-wrap: wrap; gap: 0.45rem;
    margin-top: 2rem;
    padding: 1.4rem 1.6rem;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-size: 0.82rem;
    font-weight: 500;
}
.route-visual .stop {
    background: var(--noc); color: white;
    padding: 0.3rem 0.8rem; border-radius: 50px; white-space: nowrap;
}
.route-visual .stop.hl { background: var(--voda); }
.route-visual .stop.star { background: var(--jantar); }
.route-visual .arrow { color: var(--pisek); font-weight: 300; }

/* ── Mapa ─────────────────────────────── */
.map-section { padding: 3.5rem 0; background: white; border-top: 1px solid var(--linka); border-bottom: 1px solid var(--linka); }
.map-section .intro { color: var(--kamen); margin-bottom: 1.5rem; max-width: 720px; }
#trip-map { height: 580px; width: 100%; border-radius: 16px; box-shadow: var(--shadow); z-index: 1; }
.map-legend { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; font-size: 0.78rem; color: var(--kamen); }
.legend-item {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--krida); padding: 0.35rem 0.8rem; border-radius: 50px;
}
.legend-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }
.leaflet-popup-content { font-family: 'Inter', sans-serif; font-size: 0.84rem; line-height: 1.55; }
.leaflet-popup-content b {
    font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--noc);
    display: block; margin-bottom: 0.15rem;
}
.leaflet-popup-content .day-pill {
    display: inline-block; font-size: 0.66rem; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 0.1rem 0.55rem; border-radius: 50px;
    color: white; font-weight: 600; margin-bottom: 0.35rem;
}

/* ── Navigace ─────────────────────────── */
.day-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(246,243,236,0.93);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--linka);
    padding: 0.7rem 0;
}
.day-nav-inner {
    max-width: 1000px; margin: 0 auto; padding: 0 2rem;
    display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none;
}
.day-nav-inner::-webkit-scrollbar { display: none; }
.day-nav a {
    text-decoration: none; padding: 0.35rem 0.9rem; border-radius: 50px;
    font-size: 0.78rem; font-weight: 500; color: var(--kamen);
    white-space: nowrap; transition: all 0.2s; border: 1px solid transparent;
}
.day-nav a:hover { background: white; color: var(--noc); border-color: var(--linka); }

/* ── Rytmus cesty ─────────────────────── */
.rhythm { padding: 3.5rem 0 1rem; }
.rhythm-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem; margin-top: 1.75rem;
}
.rhythm-card {
    background: white; border-radius: 12px; padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow); border-top: 4px solid var(--kamen);
}
.rhythm-card .rday {
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--kamen); font-weight: 600;
}
.rhythm-card .rtitle {
    font-family: 'Fraunces', serif; font-size: 1.05rem; font-weight: 600;
    margin: 0.2rem 0 0.35rem;
}
.rhythm-card p { font-size: 0.82rem; color: var(--kamen); line-height: 1.55; }

/* ── Denní karty ──────────────────────── */
.days { padding: 2.5rem 0 3rem; }
.day-card {
    background: white; border-radius: 20px; box-shadow: var(--shadow);
    margin-bottom: 3rem; overflow: hidden; transition: box-shadow 0.3s ease;
}
.day-card:hover { box-shadow: var(--shadow-lg); }

.day-header { display: flex; align-items: stretch; }
.day-number {
    color: white; padding: 1.5rem 1.75rem;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-width: 108px;
}
.day-number .num { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 700; line-height: 1; }
.day-number .label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.16em; opacity: 0.85; margin-top: 0.3rem; }

.day-title-block { padding: 1.35rem 1.75rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.day-title { font-family: 'Fraunces', serif; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.015em; }
.day-route { font-size: 0.85rem; color: var(--kamen); margin-top: 0.2rem; }
.day-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-top: 0.6rem; font-size: 0.78rem; }
.day-meta span { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--kamen); }

/* fotky v denní kartě */
.day-photos { display: grid; gap: 2px; background: var(--linka); }
.day-photos.two { grid-template-columns: 1fr 1fr; }
.day-photos.three { grid-template-columns: repeat(3, 1fr); }
.day-photos figure { position: relative; margin: 0; background: var(--pisek); }
.day-photos img { width: 100%; height: 320px; object-fit: cover; }
.day-photos.two img { height: 260px; }
.day-photos.three img { height: 215px; }
.day-photos.three figcaption { font-size: 0.72rem; padding: 1.6rem 0.8rem 0.55rem; }
.day-photos figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1rem 0.6rem;
    background: linear-gradient(180deg, transparent, rgba(16,32,43,0.75));
    color: rgba(255,255,255,0.95); font-size: 0.76rem; letter-spacing: 0.01em;
}

.day-body { padding: 1.75rem; }
.day-intro {
    font-size: 0.97rem; color: #46535c;
    padding-bottom: 1.4rem; margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--linka);
}

/* ── Časová osa ───────────────────────── */
.sec-label {
    font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--kamen); font-weight: 600; margin-bottom: 0.9rem;
}
.timeline { list-style: none; position: relative; margin-bottom: 1.75rem; padding-left: 0; }
.timeline::before {
    content: ''; position: absolute; left: 4.55rem; top: 0.5rem; bottom: 0.5rem;
    width: 2px; background: var(--linka);
}
.timeline-item { position: relative; padding: 0 0 0.9rem 6rem; min-height: 2rem; }
.timeline-item .time {
    position: absolute; left: 0; top: 0; width: 3.6rem; text-align: right;
    font-variant-numeric: tabular-nums; font-size: 0.8rem; font-weight: 600; color: var(--more);
}
.timeline-item::before {
    content: ''; position: absolute; left: 4.05rem; top: 0.5rem;
    width: 9px; height: 9px; border-radius: 50%;
    background: white; border: 2px solid var(--voda);
}
.timeline-item.drive::before { border-color: var(--kamen); background: var(--kamen); }
.timeline-item.star::before { border-color: var(--jantar); background: var(--jantar); }
.timeline-item .event-title { font-weight: 600; font-size: 0.92rem; display: block; }
.timeline-item p { font-size: 0.83rem; color: var(--kamen); line-height: 1.55; margin-top: 0.1rem; }

/* ── Místa ────────────────────────────── */
.places-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.place {
    border: 1px solid var(--linka); border-radius: 12px; padding: 1.1rem 1.15rem;
    transition: border-color 0.2s, transform 0.2s;
}
.place:hover { border-color: var(--jantar); transform: translateY(-2px); }
.place-name {
    font-weight: 600; font-size: 0.97rem; margin-bottom: 0.35rem;
    display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
}
.place-name .icon { font-size: 1.1rem; }
.place-map-link {
    margin-left: auto; font-size: 0.9rem; text-decoration: none;
    opacity: 0.4; transition: opacity 0.2s, transform 0.2s; line-height: 1; flex-shrink: 0;
}
.place-map-link:hover { opacity: 1; transform: translateY(-1px); }
.place p { font-size: 0.83rem; color: var(--kamen); line-height: 1.6; margin-top: 0.4rem; }
.place p + p { margin-top: 0.5rem; }
.place .fact {
    display: block; margin-top: 0.6rem; padding-top: 0.5rem;
    border-top: 1px dashed var(--linka);
    font-size: 0.76rem; color: #55636c;
}

.place-tag {
    display: inline-block; font-size: 0.62rem; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 0.15rem 0.5rem; border-radius: 50px; font-weight: 700;
}
.tag-top     { background: #fdeee0; color: #b3651a; }
.tag-priroda { background: #e4f2e9; color: #2e6b4a; }
.tag-historie{ background: #e8ecf5; color: #3a5185; }
.tag-more    { background: #e0f0f4; color: #17697d; }
.tag-deti    { background: #fdecf1; color: #ab3a63; }
.tag-jidlo   { background: #fbf0d8; color: #96690e; }
.tag-mesto   { background: #ece9f3; color: #5d4682; }
.tag-divne   { background: #eeeae2; color: #6d5c3c; }

/* ── Infoboxy (parkování / spaní) ─────── */
.info-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.info-box { background: var(--krida); border-radius: 12px; padding: 1.05rem 1.2rem; border: 1px solid var(--linka); }
.info-box h5 {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.11em;
    color: var(--more); margin-bottom: 0.55rem; font-weight: 700;
}
.info-box ul { list-style: none; font-size: 0.82rem; color: #4d5b64; }
.info-box li { padding-left: 1rem; position: relative; margin-bottom: 0.4rem; line-height: 1.5; }
.info-box li::before { content: '·'; position: absolute; left: 0.25rem; color: var(--jantar); font-weight: 700; }
.info-box li:last-child { margin-bottom: 0; }
.info-box strong { color: var(--noc); }

.day-tip {
    margin-top: 1.5rem; padding: 0.95rem 1.2rem;
    background: #fdf8ee; border-left: 3px solid var(--jantar);
    border-radius: 0 8px 8px 0; font-size: 0.85rem; color: #55524a;
}
.day-tip strong { color: var(--noc); }
.day-warn { background: #fdf0ee; border-left-color: #b3413a; }

.alt-box {
    margin-top: 1.5rem; padding: 1rem 1.2rem;
    border: 1px dashed var(--pisek); border-radius: 10px;
    font-size: 0.85rem; color: #4d5b64; background: #fcfaf5;
}
.alt-box h5 {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.11em;
    color: var(--borovice); margin-bottom: 0.45rem; font-weight: 700;
}

/* ── Obecné sekce ─────────────────────── */
.band { padding: 4rem 0; }
.band.white { background: white; border-top: 1px solid var(--linka); border-bottom: 1px solid var(--linka); }
.band .intro { color: var(--kamen); margin-bottom: 2rem; max-width: 760px; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.1rem; }
.card {
    background: white; border-radius: 14px; padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow); border: 1px solid var(--linka);
}
.band.white .card { background: var(--krida); }
.card h4 { font-size: 0.98rem; margin-bottom: 0.75rem; display: flex; align-items: center; gap: 0.45rem; }
.card ul { list-style: none; font-size: 0.85rem; color: #4d5b64; }
.card li { padding-left: 1.05rem; position: relative; margin-bottom: 0.5rem; line-height: 1.55; }
.card li::before { content: '▸'; position: absolute; left: 0; color: var(--jantar); font-size: 0.7rem; top: 0.28rem; }
.card li:last-child { margin-bottom: 0; }
.card strong { color: var(--noc); }

/* ── Tabulky ──────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); font-size: 0.87rem; min-width: 560px; }
th, td { padding: 0.8rem 1rem; text-align: left; border-bottom: 1px solid var(--linka); }
th { background: var(--more); color: white; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fbfaf7; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.total td { background: var(--krida); font-weight: 700; }

/* ── Priority ─────────────────────────── */
.prio-list { display: grid; gap: 0.55rem; }
.prio {
    display: flex; align-items: baseline; gap: 0.9rem;
    background: white; border: 1px solid var(--linka); border-radius: 10px;
    padding: 0.7rem 1rem; font-size: 0.9rem;
}
.prio .stars { color: var(--jantar); font-size: 0.85rem; letter-spacing: 0.05em; white-space: nowrap; min-width: 5.5rem; }
.prio .pname { font-weight: 600; }
.prio .pnote { color: var(--kamen); font-size: 0.82rem; margin-left: auto; text-align: right; }

/* ── Kredity ──────────────────────────── */
.credits { font-size: 0.74rem; color: var(--kamen); line-height: 1.8; }
.credits a { color: var(--kamen); }

/* ── Patička ──────────────────────────── */
footer { background: var(--noc); color: rgba(255,255,255,0.62); text-align: center; padding: 3rem 2rem; font-size: 0.84rem; }
footer .title { font-family: 'Fraunces', serif; font-size: 1.35rem; color: white; margin-bottom: 0.5rem; }
footer a { color: rgba(255,255,255,0.75); }

/* ── Responsive ───────────────────────── */
@media (max-width: 720px) {
    .hero { padding: 4.5rem 1.25rem 3.5rem; }
    .container { padding: 0 1.15rem; }
    .day-header { flex-direction: column; }
    .day-number { flex-direction: row; gap: 0.6rem; min-width: auto; padding: 0.85rem 1.25rem; justify-content: flex-start; }
    .day-number .num { font-size: 1.5rem; }
    .day-title-block { padding: 1.1rem 1.25rem; }
    .day-body { padding: 1.25rem; }
    .places-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); border-radius: 14px; }
    #trip-map { height: 420px; }
    .day-photos.two, .day-photos.three { grid-template-columns: 1fr; }
    .day-photos img, .day-photos.two img, .day-photos.three img { height: 220px; }
    .day-photos.three figcaption { font-size: 0.76rem; padding: 1.4rem 1rem 0.6rem; }
    .timeline::before { left: 3.55rem; }
    .timeline-item { padding-left: 4.9rem; }
    .timeline-item .time { width: 2.8rem; font-size: 0.75rem; }
    .timeline-item::before { left: 3.1rem; }
    .prio { flex-wrap: wrap; }
    .prio .pnote { margin-left: 0; text-align: left; width: 100%; }
}

/* ── přepínač variant cesty ─────────────────────────────────────── */
.variants {
    background: var(--krida);
    border-bottom: 1px solid var(--linka);
    padding: 1.15rem 1.25rem;
    display: flex; flex-wrap: wrap; gap: 0.7rem;
    align-items: center; justify-content: center;
}
.variants-label {
    font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--kamen); width: 100%; text-align: center; margin-bottom: 0.15rem;
}
.variant {
    display: flex; flex-direction: column; gap: 0.12rem;
    padding: 0.6rem 1.15rem; border-radius: 11px;
    border: 1px solid var(--linka); background: white;
    text-decoration: none; min-width: 230px;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.variant:hover { border-color: var(--voda); transform: translateY(-1px); box-shadow: var(--shadow); }
.variant .vname { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: var(--more); }
.variant .vmeta { font-size: 0.75rem; color: var(--kamen); }
.variant.active {
    border-color: var(--jantar); border-width: 2px;
    padding: calc(0.6rem - 1px) calc(1.15rem - 1px);
    background: white; cursor: default;
}
.variant.active .vname::after {
    content: 'tady jste'; margin-left: 0.5rem; font-family: 'Inter', sans-serif;
    font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--jantar); font-weight: 600; vertical-align: 0.15em;
}
@media (max-width: 720px) {
    .variant { min-width: 0; width: 100%; }
}


/* ══════════════════════════════════════════════════════════════
   Doplňky pro finskou cestu (elektromobil, 14 dní)
   ══════════════════════════════════════════════════════════════ */

/* jedna fotka na celou šířku karty */
.day-photos.one { grid-template-columns: 1fr; }
.day-photos.one img { height: 340px; }
@media (max-width: 720px) { .day-photos.one img { height: 220px; } }

/* přejezdové dny — tlumená hlavička */
.day-card.transit .day-title-block { background: #fbfaf7; }

/* bod na časové ose: nabíjení */
.timeline-item.charge::before { border-color: var(--borovice); background: var(--borovice); }
.timeline-item.ferry::before  { border-color: var(--more); background: var(--more); }
.timeline-item .soc {
    display: inline-block; margin-left: 0.4rem; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.06em; padding: 0.05rem 0.5rem; border-radius: 50px;
    background: #e4f2e9; color: var(--borovice); vertical-align: 0.1em; white-space: nowrap;
}

/* infobox nabíjení */
.info-box.charge { background: #eef5f0; border-color: #d5e6da; }
.info-box.charge h5 { color: var(--borovice); }
.info-box.charge li::before { color: var(--borovice); }

/* tmavý pás — sekce o autě */
.band.dark { background: var(--noc); color: rgba(255,255,255,0.86); }
.band.dark h2 { color: white; }
.band.dark .intro { color: rgba(255,255,255,0.7); }
.band.dark a { color: #9fd3e6; }

.kpi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem; margin: 1.5rem 0 2rem;
}
.kpi {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 1rem 1.1rem;
}
.kpi .kv { font-family: 'Fraunces', serif; font-size: 1.7rem; font-weight: 700; color: var(--jantar); line-height: 1.1; }
.kpi .kl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.11em; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }
.kpi .kn { font-size: 0.76rem; color: rgba(255,255,255,0.7); margin-top: 0.4rem; line-height: 1.45; }

.band.dark .cards-grid .card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); box-shadow: none; }
.band.dark .card h4 { color: white; }
.band.dark .card ul { color: rgba(255,255,255,0.78); }
.band.dark .card strong { color: white; }
.band.dark .card li::before { color: var(--jantar); }

.band.dark table { background: rgba(255,255,255,0.04); box-shadow: none; color: rgba(255,255,255,0.86); }
.band.dark th { background: rgba(255,255,255,0.1); }
.band.dark td, .band.dark th { border-bottom-color: rgba(255,255,255,0.1); }
.band.dark tbody tr:nth-child(even) { background: rgba(255,255,255,0.025); }
.band.dark tr.total td { background: rgba(255,255,255,0.08); }
.band.dark .day-tip { background: rgba(209,154,42,0.12); color: rgba(255,255,255,0.82); }
.band.dark .day-tip strong { color: white; }
.band.dark .sec-label { color: rgba(255,255,255,0.55); }

/* fotka v tmavém pásu */
.dark-figure { margin: 0 0 1.75rem; border-radius: 14px; overflow: hidden; }
.dark-figure img { width: 100%; height: 360px; object-fit: cover; }
.dark-figure figcaption { font-size: 0.76rem; color: rgba(255,255,255,0.6); padding: 0.55rem 0.2rem 0; }
@media (max-width: 720px) { .dark-figure img { height: 220px; } }

/* křivka nabíjení jako pruhy */
.curve { display: grid; gap: 0.35rem; margin: 0.6rem 0 1.2rem; }
.curve-row { display: grid; grid-template-columns: 5.5rem 1fr 6.5rem; align-items: center; gap: 0.7rem; font-size: 0.8rem; }
.curve-row .rng { color: rgba(255,255,255,0.75); font-variant-numeric: tabular-nums; }
.curve-row .bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.curve-row .bar i { display: block; height: 100%; background: var(--jantar); border-radius: 6px; }
.curve-row .bar i.slow { background: #b3413a; }
.curve-row .lab { color: rgba(255,255,255,0.75); text-align: right; white-space: nowrap; }

/* tabulka etap */
table.legs { min-width: 640px; }
table.legs td.soc { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* fáze cesty */
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.9rem; margin-top: 1.75rem; }

/* karta varianty */
.variant-card { border-left: 4px solid var(--jantar); }
.variant-card .vkicker {
    font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--jantar); font-weight: 700; margin-bottom: 0.3rem;
}
.variant-card p { font-size: 0.85rem; color: #4d5b64; line-height: 1.6; }
.variant-card p + p { margin-top: 0.5rem; }
.variant-card .verdict {
    margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px dashed var(--linka);
    font-size: 0.8rem; color: var(--noc); font-weight: 600;
}

/* tabulka slunce */
.sun-table td:first-child { font-weight: 600; }

/* odkaz na průvodce */
.guide-link {
    display: inline-flex; align-items: center; gap: 0.45rem;
    margin-top: 0.9rem; padding: 0.5rem 1rem; border-radius: 50px;
    background: var(--jantar); color: var(--noc); text-decoration: none;
    font-size: 0.8rem; font-weight: 600;
}
.guide-link:hover { filter: brightness(1.08); }
