body.stories-page {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 0, rgba(118,77,37,.11), transparent 35rem),
    #090a0b;
}
.stories-shell { width:min(1540px,calc(100% - 28px)); margin:0 auto; padding:24px 0 70px; }
.stories-hero { position:relative; min-height:330px; display:grid; grid-template-columns:120px minmax(0,1fr) 210px; align-items:center; gap:28px; padding:clamp(28px,5vw,56px); overflow:hidden; background:linear-gradient(105deg,rgba(7,7,7,.97),rgba(12,10,8,.89) 62%,rgba(18,13,9,.73)),url('/assets/chronicles/volume7/headers/prologue_dark_year.webp') center 58% / cover no-repeat; }
.stories-hero::after { content:''; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 90px rgba(0,0,0,.82); }
.stories-hero__seal { position:relative; z-index:1; width:104px; aspect-ratio:1; display:grid; place-items:center; border:1px solid rgba(215,178,104,.5); border-radius:50%; background:radial-gradient(circle,#6a4929 0 25%,#2e2016 27% 56%,#0c0b0a 59%); box-shadow:0 14px 30px rgba(0,0,0,.48),inset 0 0 0 8px rgba(0,0,0,.24); }
.stories-hero__seal span { color:#e2c58b; font:700 2rem Georgia,serif; text-shadow:0 2px 3px #000; }
.stories-hero__copy { position:relative; z-index:1; }
.stories-hero h1 { margin:2px 0 8px; font-size:clamp(3rem,6vw,6rem); line-height:.92; letter-spacing:-.04em; }
.stories-hero__subtitle { max-width:760px; margin:0; color:#d0b98f; font:italic clamp(1.02rem,2vw,1.3rem) Georgia,serif; }
.stories-hero__author { margin:10px 0 0; color:var(--k-muted); }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.story-ledger { position:relative; z-index:1; display:grid; justify-items:center; gap:5px; padding:22px 14px; border:1px solid rgba(214,168,79,.32); background:rgba(8,7,6,.72); text-align:center; }
.story-ledger small,.story-ledger span { color:var(--k-muted); }
.story-ledger strong { color:#dfc184; font:700 2rem Georgia,serif; }
.status-line { margin-top:14px; padding:11px 15px; color:var(--k-muted); }
.status-line[data-tone="ok"] { color:#a9d58f; }
.status-line[data-tone="preview"] { color:#e6c987; border-color:rgba(214,168,79,.52); background:rgba(91,62,27,.16); }
.status-line[data-tone="error"] { color:#e38a7c; border-color:rgba(185,74,61,.42); }
.story-progress { display:grid; grid-template-columns:minmax(240px,390px) 1fr; align-items:center; gap:26px; margin-top:12px; padding:14px 18px; }
.story-progress__copy strong { display:block; color:#d9ba7e; font-size:1.05rem; }
.story-progress__copy small { color:var(--k-muted); }
.chronicle-layout { display:grid; grid-template-columns:300px minmax(0,1fr); align-items:start; gap:16px; margin-top:16px; }
.chapter-navigation { position:sticky; top:16px; padding:15px; max-height:calc(100vh - 32px); overflow:auto; background:linear-gradient(180deg,rgba(18,15,12,.98),rgba(9,10,10,.98)); }
.chapter-navigation__title { padding:5px 7px 13px; border-bottom:1px solid rgba(218,186,125,.16); }
.chapter-navigation__title strong { font:700 1.08rem Georgia,serif; color:#dbc18d; }
.chapter-tabs { display:grid; gap:7px; margin-top:10px; }
.chapter-tab { width:100%; display:grid; grid-template-columns:34px minmax(0,1fr) auto; align-items:center; gap:9px; padding:10px 8px; border:1px solid transparent; color:var(--k-text); background:transparent; text-align:left; cursor:pointer; transition:.16s ease; }
.chapter-tab:hover { background:rgba(214,168,79,.06); border-color:rgba(214,168,79,.14); }
.chapter-tab.is-active { background:linear-gradient(90deg,rgba(155,105,50,.22),rgba(23,18,13,.26)); border-color:rgba(214,168,79,.34); box-shadow:inset 3px 0 #b98a45; }
.chapter-tab.is-locked:not(.is-active) { opacity:.58; }
.chapter-tab__ordinal { display:grid; place-items:center; width:31px; height:31px; border:1px solid rgba(214,168,79,.25); border-radius:50%; color:#d9ba7e; font:700 .82rem Georgia,serif; }
.chapter-tab__copy small,.chapter-tab__copy strong,.chapter-tab__copy em { display:block; }
.chapter-tab__copy small { color:#8e826f; font-size:.62rem; text-transform:uppercase; letter-spacing:.09em; }
.chapter-tab__copy strong { margin-top:2px; font-size:.84rem; line-height:1.14; }
.chapter-tab__copy em { margin-top:3px; color:#817665; font-size:.68rem; font-style:normal; }
.chapter-tab__progress { color:#c7a769; font-size:.68rem; }
.chapter-content { min-width:0; }
.chapter-panel { padding:0; overflow:hidden; background:#d4c09a; border-color:#7e6240; color:#2b2118; box-shadow:0 22px 55px rgba(0,0,0,.42),inset 0 0 70px rgba(84,55,25,.13); }
.chapter-cover { position:relative; min-height:clamp(300px,35vw,510px); overflow:hidden; background:#16110d; color:#f0e2c8; }
.chapter-cover>img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; filter:sepia(.08) contrast(1.02); }
.chapter-cover__shade { position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.22) 42%,rgba(10,7,5,.91)); }
.chapter-cover__copy { position:absolute; z-index:2; left:clamp(24px,5vw,62px); right:clamp(24px,5vw,62px); bottom:clamp(26px,5vw,58px); max-width:900px; }
.chapter-cover__copy .eyebrow { color:#e3c788; }
.chapter-cover__copy h2 { margin:3px 0 8px; color:#f5e8cd; font-size:clamp(2.5rem,5vw,5rem); line-height:.94; text-shadow:0 3px 18px #000; }
.chapter-cover__copy p:not(.eyebrow) { margin:0; color:#d8c8ab; font:italic clamp(1rem,2vw,1.28rem) Georgia,serif; }
.chapter-cover__copy>span { display:inline-block; margin-top:10px; color:#a99a82; font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; }
.chapter-cover__status { position:absolute; z-index:2; top:18px; right:18px; padding:7px 10px; border:1px solid rgba(232,207,158,.35); background:rgba(7,6,5,.72); color:#e4c888; font-weight:700; }
.chapter-lead { display:grid; grid-template-columns:auto minmax(0,650px) auto; justify-content:center; align-items:center; gap:16px; padding:18px 24px; border-bottom:1px solid rgba(72,47,27,.24); color:#5c4834; text-align:center; font:italic .9rem Georgia,serif; }
.chapter-lead p { margin:0; }
.ornament { color:#8c673c; }
.chapter-seal-message { padding:44px 24px 22px; text-align:center; }
.large-seal,.story-lock { display:inline-block; background:url('/assets/ui/lock-seal.png') center/contain no-repeat; filter:sepia(.25) drop-shadow(0 5px 7px rgba(45,27,12,.28)); }
.large-seal { width:78px; height:78px; }
.chapter-seal-message h3 { margin:10px 0 4px; font:700 1.6rem Georgia,serif; }
.chapter-seal-message p { max-width:620px; margin:0 auto; color:#6c5741; }
.story-parts { max-width:1050px; margin:0 auto; padding:8px clamp(20px,5vw,64px) 54px; }
.story-part { position:relative; display:grid; grid-template-columns:52px minmax(0,1fr); gap:18px; padding:34px 0; border-top:1px solid rgba(78,50,28,.22); }
.story-part:first-child { border-top:0; }
.story-part__index { position:relative; display:flex; justify-content:center; }
.story-part__index::after { content:''; position:absolute; top:43px; bottom:-35px; width:1px; background:linear-gradient(#94714b,rgba(148,113,75,.05)); }
.story-part:last-child .story-part__index::after { display:none; }
.story-part__index span { position:relative; z-index:1; display:grid; place-items:center; width:40px; height:40px; border:1px solid #8c6c49; border-radius:50%; background:#c9b48d; color:#493721; font:700 .72rem Georgia,serif; box-shadow:0 2px 7px rgba(60,37,19,.14); }
.story-part__body { position:relative; min-width:0; }
.story-part__meta { min-height:24px; display:flex; align-items:center; flex-wrap:wrap; gap:9px; color:#846747; font-size:.67rem; text-transform:uppercase; letter-spacing:.1em; }
.story-part__body h3 { margin:5px 0 17px; color:#2f2116; font:700 clamp(1.7rem,3vw,2.55rem) Georgia,serif; line-height:1.05; }
.story-prose { position:relative; color:#34291e; font:400 1.035rem/1.78 Georgia,'Times New Roman',serif; }
.story-prose p { margin:0 0 1.1em; }
.story-prose p:first-child::first-letter { float:left; margin:.06em .11em 0 0; color:#6e4925; font-size:3.7em; line-height:.76; font-weight:700; }
.story-prose strong { color:#2a1b11; }
.story-prose em { color:#493623; }
.story-prose blockquote { margin:1.35em 0; padding:11px 17px; border-left:3px solid #8f6538; background:rgba(111,75,39,.07); color:#493522; font-style:italic; }
.story-divider { width:42%; margin:24px auto; border:0; border-top:1px solid rgba(90,60,31,.32); }
.story-insert { float:right; width:min(30%,220px); margin:0 0 18px 30px; shape-outside:inset(0); }
.story-insert img { display:block; width:100%; height:auto; filter:sepia(.15) contrast(1.05) drop-shadow(0 8px 10px rgba(67,42,20,.18)); }
.story-clue { position:absolute; right:2px; top:6px; width:46px; height:46px; object-fit:contain; opacity:.17; filter:sepia(.35); pointer-events:none; }
.story-part__footer { clear:both; display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:18px; padding-top:10px; border-top:1px solid rgba(77,51,29,.12); color:#80694e; font-size:.72rem; }
.story-part--locked { opacity:.78; }
.story-part--locked .story-part__body { min-height:118px; padding:17px 20px; border:1px dashed rgba(91,62,35,.32); background:rgba(83,57,31,.045); }
.story-part--locked .story-part__body h3 { margin-bottom:8px; color:#65503a; }
.locked-copy { margin:0; color:#7b674f; font:italic .92rem/1.55 Georgia,serif; }
.story-lock { width:29px; height:29px; margin-left:auto; }
.preview-badge { padding:3px 7px; border:1px solid rgba(121,77,24,.35); background:rgba(132,82,26,.07); color:#77511f; }
.story-part--preview { background:linear-gradient(90deg,transparent,rgba(145,95,37,.055),transparent); }
.preview-milestone { display:block; margin-top:10px; color:#856b4d; }
.story-empty { padding:36px; color:var(--k-muted); text-align:center; }
@media (max-width:1100px) { .chronicle-layout { grid-template-columns:250px minmax(0,1fr); } }
@media (max-width:920px) { .stories-hero { grid-template-columns:80px minmax(0,1fr); } .stories-hero__seal { width:74px; } .story-ledger { grid-column:1/-1; justify-self:start; grid-auto-flow:column; align-items:center; gap:14px; padding:10px 14px; } .chronicle-layout { grid-template-columns:1fr; } .chapter-navigation { position:relative; top:0; max-height:none; } .chapter-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); } .chapter-tab { grid-template-columns:30px minmax(0,1fr); } .chapter-tab__progress { display:none; } }
@media (max-width:700px) { .stories-shell { width:min(100% - 16px,1540px); padding-top:10px; } .stories-hero { grid-template-columns:1fr; } .stories-hero__seal { display:none; } .story-progress { grid-template-columns:1fr; } .chapter-tabs { grid-template-columns:1fr 1fr; } .chapter-cover { min-height:360px; } .story-parts { padding-inline:16px; } .story-part { grid-template-columns:38px minmax(0,1fr); gap:10px; } .story-part__index span { width:34px; height:34px; } .story-insert { width:150px; margin-left:16px; } }
@media (max-width:480px) { .chapter-tabs { grid-template-columns:1fr; } .story-insert { float:none; width:min(58%,180px); margin:0 auto 18px; } .story-prose { font-size:.98rem; line-height:1.72; } .chapter-cover__copy h2 { font-size:2.5rem; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
.story-subheading { margin:2.1em 0 .8em; padding-top:1.2em; border-top:1px solid rgba(78,50,28,.2); color:#3b2919; font:700 1.45rem Georgia,serif; }


/* 0.10.25a194p9 – skrytá linka Znamení tří zářezů */
.secret-mark-dock{margin-top:12px;padding:10px 14px;background:linear-gradient(90deg,rgba(15,12,9,.96),rgba(36,27,18,.88));border-color:rgba(179,139,76,.24)}.secret-mark-row{display:flex;align-items:flex-start;gap:14px}.secret-mark-button{flex:0 0 auto;width:58px;height:58px;padding:7px;border:0;background:transparent;cursor:pointer;opacity:.52;transition:.18s ease}.secret-mark-button:hover,.secret-mark-button:focus-visible{opacity:1;transform:translateY(-1px);outline:1px solid rgba(214,168,79,.3)}.secret-mark-button img{width:100%;height:100%;object-fit:contain;filter:sepia(.25)}.secret-note,.secret-quest-panel{flex:1;min-width:0;padding:8px 12px;border-left:1px solid rgba(214,168,79,.22)}.secret-note strong,.secret-quest-panel h3{color:#d8bd88}.secret-note p,.secret-quest-panel p{margin:5px 0;color:#a99d89}.secret-quest-panel h3{margin:1px 0 5px;font:700 1.25rem Georgia,serif}.secret-rubbing-list{display:flex;flex-wrap:wrap;gap:6px 12px;margin:9px 0}.secret-rubbing-list span{color:#837765;font-size:.82rem}.secret-rubbing-list .is-done{color:#a8c78a}.secret-fragments{display:grid;gap:7px;margin:12px 0}.secret-fragment{display:grid;grid-template-columns:26px minmax(0,1fr) 30px 30px;align-items:center;gap:7px;padding:8px;border:1px solid rgba(214,168,79,.18);background:rgba(255,255,255,.025)}.secret-fragment>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid rgba(214,168,79,.28);border-radius:50%;color:#caa766}.secret-fragment p{margin:0;color:#c4b69f}.secret-fragment button{height:28px;border:1px solid rgba(214,168,79,.22);color:#cdb484;background:rgba(0,0,0,.2);cursor:pointer}.secret-quest-panel--complete span{color:#d6b978;font-size:.82rem}@media(max-width:620px){.secret-mark-row{align-items:stretch}.secret-mark-button{width:46px;height:46px}.secret-fragment{grid-template-columns:24px minmax(0,1fr) 27px 27px}}

.story-read-sentinel{display:block;width:1px;height:1px;clear:both;pointer-events:none}
