/* ProSlavyan Memorial 0.5.1 — interactive chronology, deliberately isolated selectors */
.pschron {--pschr-gold:#aa793d;--pschr-ink:#442313;--pschr-dark:#101c2c;--pschr-line:rgba(112,65,26,.3);position:relative;width:100%;margin-inline:auto}
.pschron-title {text-align:center;color:var(--pschr-ink);font:500 clamp(1.1rem,2vw,1.7rem)/1.35 Georgia,serif;margin:0 0 20px}
.pschron-title span {display:inline-block;color:#814a1d;white-space:nowrap}
.pschron-years {display:flex;align-items:stretch;justify-content:center;gap:3px;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:6px 2px 18px;scrollbar-width:thin;scrollbar-color:#b78f4c transparent}
.pschron-year {appearance:none;position:relative;flex:1 0 0;min-width:58px;max-width:115px;padding:12px 4px 16px;background:rgba(237,202,135,.08);border:1px solid rgba(109,60,22,.23);color:#5a321b;font:700 clamp(.78rem,1vw,1rem)/1.1 Georgia,serif;letter-spacing:0;cursor:pointer;transition:background .22s ease,color .22s ease,transform .22s ease}
.pschron-year:hover,.pschron-year:focus-visible{background:rgba(138,79,27,.18);outline-color:#965b2f}
.pschron-year.is-active{background:#72401f;color:#f9e9c6;border-color:#4e2919;box-shadow:inset 0 0 0 1px rgba(255,227,159,.22),0 2px 5px rgba(29,13,6,.23)}
.pschron-year-mark {position:absolute;width:5px;height:5px;border-radius:50%;background:#98612c;bottom:5px;left:50%;transform:translateX(-50%)}
.pschron-year.is-active .pschron-year-mark{background:#f4c97f}
.pschron-content{max-width:960px;margin:2px auto 0}
.pschron-panel{padding:clamp(14px,2vw,25px);background:rgba(255,229,185,.42);border-top:1px solid var(--pschr-line);box-shadow:0 12px 30px rgba(70,31,13,.04)}
.pschron-panel-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--pschr-line);padding-bottom:10px;margin-bottom:16px}
.pschron-panel-heading span{font:700 clamp(1.25rem,2.1vw,1.75rem)/1 Georgia,serif;color:#623318}
.pschron-panel-heading small{font:.72rem/1.4 system-ui,sans-serif;color:#79543a}
.pschron-event{padding:16px 0 13px;border-bottom:1px solid rgba(99,59,25,.23);color:#422717}
.pschron-event:last-child{border-bottom:0}
.pschron-event-top{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:7px}
.pschron-type{font:700 .7rem/1.4 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#77451f}
.pschron-evidence{font:700 .65rem/1.4 system-ui,sans-serif;border:1px solid rgba(104,70,32,.3);padding:3px 8px;background:rgba(250,233,185,.5);color:#5e3e21}
.pschron-evidence-confirmed{color:#315b43;border-color:rgba(49,91,67,.35)}
.pschron-evidence-partial{color:#834c20}
.pschron-event h3{margin:0 0 8px;font:500 clamp(1.18rem,1.8vw,1.6rem)/1.2 Georgia,serif;color:#3a2215}
.pschron-event-lead{margin:0 0 11px;color:#553b27;font:.9rem/1.65 system-ui,sans-serif;overflow-wrap:anywhere}
.pschron-readmore,.pschron-related,.pschron-more-years{display:inline-block;margin-top:6px;color:#623816;font:700 .82rem/1.4 system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
.pschron-more-years{margin-bottom:8px}
.pschron-details{margin:14px 0 6px;border-top:1px solid rgba(88,52,23,.16)}
.pschron-details summary{cursor:pointer;list-style-position:outside;font:700 .82rem/1.5 system-ui,sans-serif;color:#66401c;padding:13px 0}
.pschron-details summary:focus-visible{outline:2px solid #a67239;outline-offset:4px}
.pschron-detail-copy{font:.91rem/1.8 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;padding-bottom:10px}
.pschron-media{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px;margin:14px 0}
.pschron-media-item{min-width:0;margin:0}
.pschron-zoom{display:block;overflow:hidden;border:1px solid rgba(100,70,33,.4);background:#d8bb88;position:relative}
.pschron-zoom::after{content:'↗';position:absolute;right:8px;bottom:7px;background:rgba(28,22,18,.7);padding:2px 7px;color:white;font:700 1rem system-ui,sans-serif}
.pschron-zoom img{width:100%;height:170px;object-fit:cover;display:block;transition:transform .25s ease}
.pschron-zoom:hover img{transform:scale(1.035)}
.pschron-media-item figcaption{font:.76rem/1.5 system-ui,sans-serif;color:#67503b;margin-top:6px}
.pschron-document{display:flex;align-items:center;min-height:85px;padding:14px;border:1px solid rgba(100,70,33,.35);background:rgba(255,248,224,.48);color:#66361b;font:700 .84rem/1.5 system-ui,sans-serif;overflow-wrap:anywhere}
.pschron-empty,.pschron-draft-note{color:#5e4430;font:.9rem/1.65 system-ui,sans-serif;margin:6px 0 12px}
.pschron-draft-note{font-size:.76rem;max-width:650px;text-align:center;margin:14px auto 0}
html.js-enabled .pschron-panel{display:none}
html.js-enabled .pschron-panel.is-active{display:block}
/* Home: keep the sculpted scroll visible without overtaking the layout. */
.museum-parchment:has(.pschron-home){padding-top:clamp(115px,10vw,185px);padding-bottom:clamp(60px,7vw,115px);padding-left:9.5%;padding-right:9.5%;overflow:visible}
.pschron-home{max-width:990px;margin:0 auto}
.pschron-home .pschron-title{font-size:clamp(1.05rem,1.8vw,1.55rem);margin-bottom:12px}
.pschron-home .pschron-panel{padding:13px 20px;background:rgba(255,224,169,.35);min-height:120px}
.pschron-home .pschron-event{padding:9px 0}
.pschron-home .pschron-event h3{font-size:1.2rem}
.pschron-home .pschron-event-lead{font-size:.79rem;line-height:1.5}
.pschron-home .pschron-media{max-width:190px;margin:10px 0}
.pschron-home .pschron-zoom img{height:105px}
.pschron-home .pschron-year{padding-top:10px;padding-bottom:14px;min-width:52px}
.pschron-home .pschron-years{padding-bottom:12px}
.pschron-home .pschron-panel-heading{margin-bottom:9px;padding-bottom:6px}
.pschron-home .pschron-draft-note{margin-top:8px;font-size:.72rem}
/* History: blue-black museum backdrop, gold separators, warm parchment detail */
.pschron-history-wrap{background:radial-gradient(ellipse at 50% 0%,#1d3043 0%,#0a121d 80%)}
.pschron-history-wrap .container{max-width:1120px}
.pschron-history-wrap>.container>.historical-note{margin-bottom:35px}
.pschron-history{padding:34px clamp(16px,4vw,58px) 42px;border:1px solid rgba(195,152,80,.3);background:linear-gradient(135deg,rgba(21,35,51,.97),rgba(11,21,34,.96));box-shadow:0 25px 65px rgba(0,0,0,.25);position:relative}
.pschron-history::before{content:'✥  ◈  ✥';display:block;text-align:center;color:#c5a36a;letter-spacing:2em;margin:0 auto 24px;font-size:14px}
.pschron-history .pschron-title{color:#ebdfc6;font-size:clamp(1.35rem,2.5vw,2rem)}
.pschron-history .pschron-title span{color:#c5a36a}
.pschron-history .pschron-year{color:#debf88;border-color:rgba(197,163,106,.26);background:#132236}
.pschron-history .pschron-year:hover,.pschron-history .pschron-year:focus-visible{background:#2e3844;color:#fff0d1}
.pschron-history .pschron-year.is-active{color:#122234;background:#d1ae72;border-color:#f1d4a0}
.pschron-history .pschron-panel{background:linear-gradient(135deg,rgba(230,203,154,.96),rgba(210,166,102,.96));border:1px solid rgba(172,117,58,.5);box-shadow:0 20px 34px rgba(0,0,0,.22)}
.pschron-history .pschron-panel-heading span{font-size:2rem}
.pschron-history .pschron-zoom img{height:clamp(150px,20vw,250px)}
.pschron-history .pschron-draft-note{color:#e4cba1}
.pschron-lightbox{border:1px solid #d5ae73;border-radius:2px;padding:0;background:#101b28;color:#f4e6d4;width:min(95vw,1150px);max-height:95vh;box-shadow:0 20px 85px #05070c}
.pschron-lightbox::backdrop{background:rgba(2,6,12,.9);backdrop-filter:blur(5px)}
.pschron-lightbox-inner{position:relative;padding:50px 17px 12px;display:flex;flex-direction:column;align-items:center;gap:10px}
.pschron-lightbox img{display:block;max-width:100%;max-height:calc(90vh - 115px);width:auto;height:auto;object-fit:contain}
.pschron-lightbox p{margin:0;text-align:center;color:#d6bc91;font-size:.87rem}
.pschron-lightbox-close{position:absolute;right:10px;top:6px;background:transparent;border:0;color:#fff1d0;font-size:2rem;line-height:1;padding:6px 14px;cursor:pointer}
@media(max-width:1100px){.museum-parchment:has(.pschron-home){padding-top:clamp(100px,14vw,160px)}.pschron-home .pschron-panel{max-height:260px;overflow:auto}}
@media(max-width:700px){
  .museum-parchment:has(.pschron-home){padding:105px 26px 80px;min-height:590px}
  .museum-parchment-wrap.container:has(.pschron-home){min-height:590px}
  .pschron-home .pschron-title{font-size:1.05rem}
  .pschron-years{justify-content:flex-start;gap:5px;padding-bottom:14px}
  .pschron-year{flex:0 0 68px;max-width:68px;font-size:.84rem}
  .pschron-panel{padding:15px}
  .pschron-home .pschron-panel{max-height:235px;overflow:auto;padding:12px}
  .pschron-history{padding:26px 15px 34px}
  .pschron-history::before{letter-spacing:1em}
  .pschron-history .pschron-panel-heading span{font-size:1.6rem}
  .pschron-media{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}
}
@media(prefers-reduced-motion:reduce){.pschron-year,.pschron-zoom img{transition:none!important}}
