/* ==========================================================================
   Design v3 — Launcher (/launcher)
   View:     app/Views/v3/launcher.php   ($pageCss = 'launcher', $pageClass = 'b3-page-launcher')
   Prototyp: design_handoff_l2beleth/design/Launcher v3.dc.html
   Prefix:   .lc3-
   ========================================================================== */

/* Per-page pozadí (tyrkysová záře za tlačítkem ke stažení) */
body.b3-page-launcher {
    --b-page-bg: radial-gradient(700px 600px at 50% 45%, rgba(60, 201, 180, .16), transparent 70%), #070d0e;
}

/* Obal stránky: .b-page (--b-max:1000px) + centrovaný flex column */
.lc3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
    /* Rotující prstence jsou čtvercové boxy → při otočení o 45° je jejich bounding box
       √2× širší a na úzkých displejích (≲ 420px) periodicky vytváří horizontální scroll
       (má ho i prototyp: 396px při 390px). Kruhy samotné se vejdou, ořízne se jen prázdný roh boxu. */
    overflow-x: clip;
}
.lc3 > .b-kicker { line-height: 1.55; }

/* ── Kulaté tlačítko ke stažení (3 vrstvy prstenců) ─────────────────────── */
.lc3-orb {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(78vw, 340px);
    aspect-ratio: 1;
    margin: 16px 0;
    border-radius: 50%;
    color: #f6ead0;
    text-decoration: none;
}
.lc3-orb:hover,
.lc3-orb:focus-visible { color: #fff; }

.lc3-orb__ring,
.lc3-orb__core {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.lc3-orb__ring--outer {
    inset: 0;
    border: 1px dashed rgba(217, 181, 98, .5);
    animation: b-spin 90s linear infinite;
}
.lc3-orb__ring--inner {
    inset: 7%;
    border: 1px solid rgba(60, 201, 180, .45);
    border-top-color: #3cc9b4;
    box-shadow: 0 0 50px rgba(60, 201, 180, .25);
    animation: b-spin-r 60s linear infinite;
}
.lc3-orb__core {
    inset: 16%;
    border: 1px solid #8a6a2a;
    background: radial-gradient(circle at 50% 30%, rgba(217, 181, 98, .35), rgba(11, 19, 21, .95) 70%);
    box-shadow: 0 0 60px rgba(217, 181, 98, .25) inset;
}
.lc3-orb__icon {
    position: relative;
    color: #e3c47f;
    font-size: clamp(40px, 8vw, 56px);
}
.lc3-orb__label {
    position: relative;
    max-width: 80%;
    font-family: var(--b-display);
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 700;
}

/* ── Perex + datum vydání ───────────────────────────────────────────────── */
.lc3-lead {
    max-width: 46ch;
    margin: 0;
    color: #cfdcda;
    font-size: 20px;
    font-style: italic;
    line-height: 1.55;
}
.lc3-date {
    color: #a4b6b4;
    font-size: 15px;
}

/* ── Historie verzí ─────────────────────────────────────────────────────── */
.lc3-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(100%, 520px);
    margin-top: 32px;
    text-align: left;
}
.lc3-history__title {
    margin: 0;
    color: #e3c47f;
    font-family: var(--b-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    font-variant: small-caps;
    letter-spacing: .28em;
    text-align: center;
}
.lc3-history__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.lc3-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid #1d2d31;
    font-size: 17px;
}
.lc3-row:last-child { border-bottom: 1px solid #1d2d31; }
.lc3-row .b-diamond { --ink: #3cc9b4; }
.lc3-row--old .b-diamond { --ink: #1d7a6e; box-shadow: 0 0 6px var(--ink); }

.lc3-row__main { min-width: 0; overflow-wrap: anywhere; }
.lc3-row__ver {
    font-family: var(--b-display);
    font-weight: 700;
}
.lc3-row__tag {
    margin-left: 10px;
    color: #a6ebdd;
    font-size: 14px;
    font-variant: small-caps;
    letter-spacing: .14em;
}
.lc3-row__title {
    margin-left: 10px;
    color: #a4b6b4;
    font-style: italic;
}
.lc3-row__date {
    color: #a4b6b4;
    white-space: nowrap;
}

/* Changelog verze (HTML z administrace) — pod řádkem, zarovnaný se sloupcem verze */
.lc3-row__body {
    grid-column: 2 / -1;
    min-width: 0;
    color: #bfcecd;
    font-size: 16px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.lc3-row__body > :first-child { margin-top: 0; }
.lc3-row__body > :last-child { margin-bottom: 0; }
.lc3-row__body p { margin: 0 0 .5em; }
.lc3-row__body ul,
.lc3-row__body ol { margin: .3em 0; padding-left: 1.3em; }
.lc3-row__body li { margin-bottom: .3em; }
.lc3-row__body li::marker { color: #8a6a2a; }
.lc3-row__body strong,
.lc3-row__body b { color: #e7eeec; font-weight: 600; }
.lc3-row__body a { color: #e3c47f; }
.lc3-row__body a:hover { color: #f6ead0; }
.lc3-row__body img { max-width: 100%; height: auto; }

/* Žádná verze (legacy: launcher.no_version) */
.lc3-empty { width: min(100%, 520px); }
