/* Styly stránek „Ostatní aplikace“ (aplikace.php, en-apps.php) a stránek
   jednotlivých aplikací (digital-scan.php, digital-business.php a jejich en- verze).
   Základ (tokeny, hlavička, obsah, patička) je z podpora.css, tlačítka a karty
   funkcí z index.css. Tmavý režim řeší css/theme.css přes stejné názvy
   proměnných; tady jsou jen vlastní plochy, které tmavé přebarvení potřebují.
   Žádné inline styly (CSP) — všechno, co se mění podle stavu, je třída. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #ffffff; --bg-2: #f5f9fd; --bg-card: #ffffff;
    --border: #e3eaf3; --border-2: #d0dcea;
    --accent: #00a2e8; --accent2: #0055ff; --glow: rgba(0,162,232,0.3);
    --text: #0d1b2a; --text-2: #5a6b85; --text-m: #9aa8bf;
    /* Barvy značky Digital Scan (z loga: #00C8DC → #1F8FF2). */
    --ds-a: #00c8dc; --ds-b: #1f8ff2;
}
/* Digital Business má vlastní barvy značky (z loga: #10B981 → #0EA5E9).
   Třída ap-theme-business na .ap-hero přebarví nadpis, záři i stín loga. */
.ap-theme-business { --ds-a: #10b981; --ds-b: #0ea5e9; }
.ap-theme-cards { --ds-a: #8b5cf6; --ds-b: #ec4899; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg); color: var(--text);
    line-height: 1.6; overflow-x: hidden;
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f4f9; }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 6px; }
svg { display: block; }

/* Navigace: css/nav.css (sdílená, lib/nav.php). */

/* ── Tlačítka (stejný vzhled jako index.css) ───────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .78rem 1.6rem; border-radius: 10px;
    font-size: .92rem; font-weight: 700; font-family: inherit;
    text-decoration: none; cursor: pointer; border: none; transition: all .18s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 24px rgba(0,162,232,.3); }
.btn-primary:hover { box-shadow: 0 10px 36px rgba(0,162,232,.45); transform: translateY(-2px); }
.btn-ghost { background: rgba(0,20,50,.04); color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: rgba(0,20,50,.07); }
.btn-locked { background: rgba(0,20,50,.03); color: var(--text-m); border: 1px solid var(--border); cursor: not-allowed; }
.page-content a.btn { text-decoration: none; }
.page-content a.btn-primary { color: #fff; }
.page-content a.btn-ghost { color: var(--text); }
html[data-theme="dark"] .page-content a.btn-primary { color: #04121c; }

/* ── Hlavička (přehled aplikací) ───────────────────────────────────────── */
.page-header {
    padding: 5rem 1.5rem 3.5rem; text-align: center;
    background: var(--bg); position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 600px; max-width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .3;
}
.page-header-label {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -.02em; margin-bottom: .7rem; }
.page-header p { color: var(--text-2); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── Hero stránky aplikace ─────────────────────────────────────────────── */
.ap-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: 5rem 1.5rem 3.4rem; background: var(--bg);
}
.ap-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(0,60,130,.07) 1px, transparent 1px);
    background-size: 36px 36px;
}
.ap-hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 30%, var(--bg) 100%);
}
.ap-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.ap-orb-1 { width: 440px; height: 440px; background: rgba(0,200,220,.16); top: -150px; left: -110px; }
.ap-orb-2 { width: 360px; height: 360px; background: rgba(31,143,242,.14); bottom: -130px; right: -90px; }
.ap-theme-business .ap-orb-1 { background: rgba(16,185,129,.16); }
.ap-theme-business .ap-orb-2 { background: rgba(14,165,233,.14); }
.ap-theme-business .ap-logo { filter: drop-shadow(0 12px 32px rgba(16,185,129,.35)); }
.ap-theme-cards .ap-orb-1 { background: rgba(139,92,246,.16); }
.ap-theme-cards .ap-orb-2 { background: rgba(236,72,153,.13); }
.ap-theme-cards .ap-logo { filter: drop-shadow(0 12px 32px rgba(139,92,246,.35)); }
.ap-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.ap-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    background: rgba(0,180,255,.07); border: 1px solid rgba(0,180,255,.2);
    color: var(--accent); font-size: .72rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    padding: .4rem 1.05rem; border-radius: 50px; margin-bottom: 1.6rem;
}
.ap-eyebrow-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .6; }
.ap-logo {
    width: 96px; height: 96px; margin: 0 auto 1.3rem; display: block;
    border-radius: 24px; filter: drop-shadow(0 12px 32px rgba(31,143,242,.35));
}
.ap-hero h1 {
    font-size: clamp(2.4rem, 6.2vw, 4rem); font-weight: 900;
    letter-spacing: -.035em; line-height: 1.04; margin-bottom: 1.1rem;
}
.ap-grad {
    background: linear-gradient(120deg, var(--ds-a) 0%, var(--ds-b) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ap-sub { font-size: clamp(.98rem, 2vw, 1.14rem); color: var(--text-2); max-width: 580px; margin: 0 auto 1.6rem; line-height: 1.7; }
.ap-sub strong { color: var(--text); font-weight: 600; }
.ap-badges { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; list-style: none; margin-bottom: 1.8rem; }
.ap-badges li {
    font-size: .78rem; font-weight: 700; color: var(--text-2);
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: 999px; padding: .3rem .85rem;
}
.ap-hero-btns { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.ap-hero-btns .btn { padding: .9rem 1.8rem; font-size: .95rem; }
.ap-hero-note { font-size: .8rem; color: var(--text-m); }

/* ── Obsah ─────────────────────────────────────────────────────────────── */
.page-content { max-width: 960px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.page-content.is-narrow { max-width: 780px; }
.page-content section { margin-top: 3.4rem; }
.page-content section:first-child { margin-top: 0; }
.page-content h2 {
    font-size: 1.5rem; font-weight: 800; color: var(--text); letter-spacing: -.02em;
    margin: 0 0 .6rem; line-height: 1.2;
}
.page-content h2[id], .page-content section[id] { scroll-margin-top: 80px; }
.ap-label {
    display: block; font-size: .68rem; font-weight: 700; letter-spacing: .2em;
    text-transform: uppercase; color: var(--accent); margin-bottom: .45rem;
}
.ap-lead { font-size: .98rem; color: var(--text-2); max-width: 640px; margin-bottom: 1.6rem; line-height: 1.75; }
.page-content p { font-size: .93rem; color: var(--text-2); margin-bottom: .9rem; line-height: 1.75; }
.page-content p strong { color: var(--text); }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { font-size: .93rem; color: var(--text-2); margin-bottom: .4rem; line-height: 1.65; }
.page-content li strong { color: var(--text); }
.page-content a { color: var(--accent); text-decoration: none; }
.page-content a:hover { text-decoration: underline; }
code, .ap-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .84em; background: rgba(0,40,90,.06); color: var(--text);
    border: 1px solid var(--border); border-radius: 6px; padding: .08rem .4rem;
    overflow-wrap: anywhere;
}
html[data-theme="dark"] code, html[data-theme="dark"] .ap-code { background: rgba(255,255,255,.06); }

/* ── Přehled: karty aplikací ───────────────────────────────────────────── */
.app-list { display: flex; flex-direction: column; gap: 1.1rem; list-style: none; padding: 0; margin: 0 0 2.5rem; }
.page-content ul.app-list { padding: 0; margin: 0 0 2.5rem; }
.app-card {
    display: flex; gap: 1.5rem; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: 18px; padding: 1.8rem;
    transition: border-color .15s, box-shadow .15s;
}
.app-card:hover { border-color: var(--accent); box-shadow: 0 10px 34px rgba(20,50,100,.08); }
.app-card-icon { width: 84px; height: 84px; border-radius: 21px; flex-shrink: 0; filter: drop-shadow(0 6px 16px rgba(31,143,242,.28)); }
.app-card-body { flex: 1; min-width: 0; }
.app-card-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin-bottom: .25rem; }
.app-card h2 { font-size: 1.35rem; margin: 0; }
.app-card-ver { font-size: .78rem; font-weight: 600; color: var(--text-m); }
.app-card-tag { font-size: .95rem; font-weight: 600; color: var(--text); margin-bottom: .5rem; }
.page-content .app-card p.app-card-text { font-size: .9rem; margin-bottom: 1rem; }
.app-pills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.page-content .app-pills { padding: 0; margin: 0 0 1.2rem; }
.app-pills li {
    font-size: .74rem; font-weight: 700; margin: 0;
    padding: .22rem .7rem; border-radius: 999px; line-height: 1.5;
    color: var(--text-2); background: var(--bg-2); border: 1px solid var(--border);
}
.app-pills li.is-platform { color: var(--accent); background: rgba(0,180,255,.07); border-color: rgba(0,180,255,.22); }
.app-card-btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.app-card-btns .btn { padding: .65rem 1.3rem; font-size: .88rem; }

/* Odkaz zpět na Circle pod seznamem. */
.ap-circle {
    display: flex; gap: 1rem; align-items: center;
    background: var(--bg-2); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.1rem 1.3rem;
}
.ap-circle img { width: 44px; height: 44px; flex-shrink: 0; }
.page-content .ap-circle p { margin: 0; font-size: .9rem; }

/* ── Karty funkcí ──────────────────────────────────────────────────────── */
.ap-features {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
    list-style: none; padding: 0;
}
.page-content ul.ap-features { padding: 0; margin: 0; }
.ap-feature { background: var(--bg-card); padding: 1.7rem; margin: 0; }
.ap-feature-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem;
    display: flex; align-items: center; justify-content: center;
}
.ap-feature-icon svg { width: 21px; height: 21px; }
.fi-blue   { background: rgba(0,180,255,.1);  color: #00a8f0; border: 1px solid rgba(0,180,255,.22); }
.fi-purple { background: rgba(120,70,255,.1); color: #8a4dff; border: 1px solid rgba(120,70,255,.2); }
.fi-teal   { background: rgba(0,210,180,.1);  color: #00b89c; border: 1px solid rgba(0,210,180,.22); }
.fi-gold   { background: rgba(255,175,0,.1);  color: #e09a00; border: 1px solid rgba(255,175,0,.24); }
.fi-pink   { background: rgba(255,55,110,.1); color: #f0336a; border: 1px solid rgba(255,55,110,.2); }
.fi-green  { background: rgba(0,200,90,.1);   color: #00b552; border: 1px solid rgba(0,200,90,.22); }
.ap-feature h3 { font-size: .97rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.page-content .ap-feature p { font-size: .86rem; line-height: 1.65; margin: 0; }

/* ── Profese (Digital Business) ────────────────────────────────────────── */
.prof-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
    list-style: none; padding: 0; margin: 0;
}
.page-content ul.prof-grid { padding: 0; margin: 0; }
.prof-item {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: 1rem 1.2rem; margin: 0;
}
.prof-item h3 { font-size: .96rem; font-weight: 700; color: var(--text); margin: 0 0 .25rem; }
.page-content .prof-item p { font-size: .86rem; margin: 0; line-height: 1.6; }

/* ── Kroky ─────────────────────────────────────────────────────────────── */
.steps-list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
    counter-reset: step;
}
.page-content ul.steps-list, .page-content ol.steps-list { padding: 0; margin: 0; }
.steps-list li {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.2rem 1.2rem 1.3rem; margin: 0;
}
.steps-list li::before {
    counter-increment: step; content: counter(step);
    width: 28px; height: 28px; margin-bottom: .8rem;
    background: rgba(0,180,255,.12); border: 1px solid rgba(0,180,255,.25);
    color: var(--accent); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .8rem; font-weight: 800;
}
.steps-list strong { display: block; color: var(--text); font-size: .96rem; margin-bottom: .25rem; }
.page-content .steps-list p { font-size: .86rem; margin: 0; }

/* ── Stažení ───────────────────────────────────────────────────────────── */
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.1rem; }
.dl-card {
    display: flex; flex-direction: column;
    background: var(--bg-card); border: 1px solid var(--border-2);
    border-radius: 18px; padding: 1.6rem;
}
.dl-card-head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.dl-card-ic {
    width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,180,255,.1); border: 1px solid rgba(0,180,255,.22); color: var(--accent);
}
.dl-card-ic svg { width: 22px; height: 22px; }
.dl-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.dl-card-sub { font-size: .8rem; color: var(--text-m); }
.dl-beta {
    display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 999px;
    font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    color: #B45309; background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35);
}
html[data-theme="dark"] .dl-beta { color: #FBBF24; }
.dl-meta { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.page-content .dl-meta { padding: 0; margin: 0 0 1.2rem; }
.dl-meta li { font-size: .86rem; margin-bottom: .3rem; padding-left: 1.3rem; position: relative; }
.dl-meta li::before {
    content: ''; position: absolute; left: .15rem; top: .62em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .7;
}
.dl-cta { margin-top: 0; }
.dl-cta .btn { width: 100%; padding: .85rem 1.2rem; }
.dl-hash { margin-top: 1rem; }
.dl-hash-l { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-m); margin-bottom: .3rem; }
.dl-hash code { display: block; font-size: .72rem; word-break: break-all; padding: .4rem .55rem; }
.dl-soon { font-size: .82rem; color: var(--text-m); margin-top: .6rem; text-align: center; }
.page-content .dl-soon { margin-bottom: 0; }
.dl-steps { margin: 1.1rem 0 0; padding: 0; list-style: none; counter-reset: ds; }
.page-content .dl-steps { padding: 0; margin: 1.1rem 0 0; }
.dl-steps li { font-size: .86rem; padding-left: 1.7rem; position: relative; margin-bottom: .45rem; }
.dl-steps li::before {
    counter-increment: ds; content: counter(ds) '.';
    position: absolute; left: 0; font-weight: 800; color: var(--accent);
}

/* ── Informační rámečky ────────────────────────────────────────────────── */
.info-box { border-radius: 12px; padding: 1rem 1.2rem; margin: 1.3rem 0 0; font-size: .9rem; }
.info-box p { margin: 0; font-size: .88rem; }
.info-box p + p { margin-top: .5rem; }
.info-box.info { background: rgba(0,180,255,.07); border: 1px solid rgba(0,180,255,.2); color: #1e6a94; }
.info-box.info p strong { color: var(--accent); }

/* ── Požadavky ─────────────────────────────────────────────────────────── */
.spec { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--bg-card); }
.spec-row { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; padding: .95rem 1.2rem; border-top: 1px solid var(--border); }
.spec-row:first-child { border-top: none; }
.spec dt { font-size: .86rem; font-weight: 700; color: var(--text); }
.spec dd { font-size: .88rem; color: var(--text-2); line-height: 1.65; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.2rem; }
.faq-item h3 { margin: 0 0 .35rem; font-size: .96rem; font-weight: 700; color: var(--text); }
.page-content .faq-item p { margin-bottom: 0; font-size: .9rem; }

/* ── Kontakt ───────────────────────────────────────────────────────────── */
.contact-card { background: var(--bg-card); border: 1px solid var(--border-2); border-radius: 14px; padding: 1.5rem; }
.contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.page-content .contact-card p { font-size: .9rem; margin-bottom: 1.1rem; }

/* ── Patička ───────────────────────────────────────────────────────────── */
footer {
    background: var(--bg); border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 1.2rem;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; list-style: none; }
.footer-links a { color: var(--text-m); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: var(--text-2); }
footer p { color: var(--text-m); font-size: .8rem; }

/* ── Tmavý režim: jen plochy, které nejdou přes proměnné ──────────────── */
html[data-theme="dark"] .ap-hero::before { background-image: radial-gradient(circle, rgba(140,190,255,.07) 1px, transparent 1px); }
html[data-theme="dark"] .ap-orb-1 { background: rgba(0,200,220,.14); }
html[data-theme="dark"] .ap-orb-2 { background: rgba(31,143,242,.16); }
html[data-theme="dark"] .ap-theme-business .ap-orb-1 { background: rgba(16,185,129,.14); }
html[data-theme="dark"] .ap-theme-business .ap-orb-2 { background: rgba(14,165,233,.16); }
html[data-theme="dark"] .ap-theme-cards .ap-orb-1 { background: rgba(139,92,246,.16); }
html[data-theme="dark"] .ap-theme-cards .ap-orb-2 { background: rgba(236,72,153,.14); }
html[data-theme="dark"] .btn-ghost { background: rgba(255,255,255,.05); }
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255,255,255,.09); }
html[data-theme="dark"] .btn-locked { background: rgba(255,255,255,.035); }
html[data-theme="dark"] .app-card:hover { box-shadow: 0 10px 34px rgba(0,0,0,.5); }
html[data-theme="dark"] .fi-blue   { color: #35b8f5; }
html[data-theme="dark"] .fi-purple { color: #a98aff; }
html[data-theme="dark"] .fi-teal   { color: #2ee0c4; }
html[data-theme="dark"] .fi-gold   { color: #ffc547; }
html[data-theme="dark"] .fi-pink   { color: #ff7599; }
html[data-theme="dark"] .fi-green  { color: #3ede85; }

/* ── Mobil ─────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .ap-features { grid-template-columns: 1fr 1fr; }
    .steps-list { grid-template-columns: 1fr; }
    .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .ap-hero { padding: 3.6rem 1.2rem 2.6rem; }
    .page-header { padding: 3.6rem 1.2rem 2.6rem; }
    .ap-features { grid-template-columns: 1fr; }
    .prof-grid { grid-template-columns: 1fr; }
    .app-card { flex-direction: column; gap: 1rem; padding: 1.4rem; }
    .spec-row { grid-template-columns: 1fr; gap: .15rem; }
    .ap-hero-btns .btn { width: 100%; }
    .ap-circle { align-items: flex-start; }
}

/* Drobný text (datum aktualizace). */
.page-content p.ap-fine-print { font-size: .78rem; color: var(--text-m); margin: 3rem 0 0; }
[id="obsah"]:focus { outline: none; }

/* ── Ukázky (snímky obrazovky) + zvětšení v js/gallery.js ─────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.shot { margin: 0; }
.shot-main { grid-column: 1 / -1; }
.shot-link {
    display: block; border-radius: 14px; overflow: hidden; cursor: zoom-in;
    border: 1px solid var(--border-2); background: var(--bg-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s;
}
.shot-link:hover, .shot-link:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
.shot-link img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: .82rem; color: var(--text-m); margin-top: .5rem; line-height: 1.45; }
.page-content .shots-note { font-size: .78rem; color: var(--text-m); margin-top: .8rem; }
.lb {
    position: fixed; inset: 0; z-index: 1000; background: rgba(5, 10, 18, .9);
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.2rem;
}
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 6rem); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-cap { color: #e6edf5; font-size: .9rem; margin-top: .8rem; text-align: center; }
.lb button {
    position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.4rem; line-height: 1;
}
.lb button:hover, .lb button:focus-visible { background: rgba(255, 255, 255, .24); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
    .shots { grid-template-columns: 1fr; }
    .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .shot-link { transition: none; } }
