@import url("./role-details/heading.css");
:root{color-scheme:dark;--gold:#e7c48b;--cream:#f5e2be;--muted:#d1b492;--head:ArchiveSubheading,"Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--cream);background:#211511;font:16px/1.6 ArchiveBody,"Microsoft YaHei",sans-serif}
body.directory{background:repeating-radial-gradient(ellipse at 50% 0,transparent 0 34px,#9e6b301b 38px,transparent 42px 67px),radial-gradient(ellipse at 48% 35%,#513220,#2c1b15 47%,#150e0c 90%) fixed}
.directory::before{content:"";position:fixed;right:-55px;bottom:-96px;width:clamp(200px,35vw,500px);aspect-ratio:1;background:#69282a;mask:url("./role-details/muse.png") center/contain no-repeat;transform:rotate(-13deg);opacity:.62;pointer-events:none}
a{color:inherit;text-decoration:none}
:focus-visible{outline:2px solid #f7d48b;outline-offset:5px}
.width{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.site-header{position:relative;background:#190e0cee;border-bottom:1px solid #c59a6450}
.site-header .width{min-height:73px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:12px;color:var(--gold);font:clamp(19px,3vw,27px) var(--head)}
.brand img{width:60px;height:37px;object-fit:contain}
.back,.crumbs{color:var(--muted);font-size:14px}
main{position:relative;padding:22px 0 52px}
.crumbs a:hover,.back:hover{text-decoration:underline;text-underline-offset:4px}
h1,h2,p{margin:0}
h1{margin:20px 0 22px;font:clamp(32px,5vw,52px)/1.15 var(--head);color:var(--gold)}
.event-menu{width:min(900px,100%);margin:auto;display:grid;gap:15px}
.event-menu a{position:relative;min-height:116px;display:flex;align-items:center;gap:clamp(12px,3vw,25px);padding:16px 25px;border:1px solid #b287587d;background:linear-gradient(100deg,#583623,#332016 66%,#291712);box-shadow:inset 0 0 0 5px #21151159,0 7px 18px #130a0870;transition:border-color .2s,background .2s,box-shadow .2s}
.event-menu a:hover,.event-menu a:focus-visible{border-color:#f2ca82;background:linear-gradient(100deg,#6d472d,#3c2418 70%,#321a13);box-shadow:inset 0 0 0 5px #21151159,0 0 18px #d3934142}
.event-menu h2{font:clamp(23px,4vw,34px)/1.15 var(--head);color:var(--gold)}
.event-menu p{font-size:14px;color:var(--muted);margin-top:6px}
.index-mark{flex:none;width:clamp(14px,3vw,27px);aspect-ratio:1;border:3px double #daa766;transform:rotate(45deg)}
.hall{--corridor-wall:repeating-linear-gradient(90deg,transparent 0 45px,#efd2a010 46px,#1809094d 48px,transparent 50px 92px),repeating-conic-gradient(from 45deg,#501c2033 0 25%,#d792713b 0 27%,#501c2029 0 50%) 0 0/92px 130px,linear-gradient(#2e1115,#5a262a 20%,#4b2023 80%,#2c1315);background:repeating-linear-gradient(93deg,#24140d 0 4px,#2d190f 6px 93px,#181008 96px 98px) fixed}
.hall main{padding-bottom:0}
.hall main > .width{background:#38191b;box-shadow:0 0 0 100vmax #38191b;clip-path:inset(0 -100vmax)}
.hall-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px}
.hall-heading p{color:var(--muted);font-size:13px;margin-bottom:14px}
.wall{position:relative;border-block:8px double #97683f;background:#2e1115}
.corridor{overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none}
.corridor::-webkit-scrollbar{display:none}
.frames{--frame-height:calc(100svh / 3);--frame-width:min(calc(var(--frame-height) * 1.32),68vw);display:flex;align-items:center;width:max-content;min-width:100%;gap:clamp(38px,7vw,108px);list-style:none;margin:0;padding:clamp(36px,8vh,92px) max(16vw,calc((100vw - var(--frame-width)) / 2));background:var(--corridor-wall);
 box-shadow:inset 0 18px 50px #1b0b0bd9,inset 0 -18px 45px #16090acd}
.frames li{position:relative;flex:0 0 var(--frame-width);width:var(--frame-width);scroll-snap-align:center}
.frames li:nth-child(3n+1){transform:translateY(-1.9svh)}
.frames li:nth-child(3n+2){transform:translateY(2.5svh)}
.corridor-light{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#120708ec,transparent 38%,transparent 62%,#120708ec),radial-gradient(ellipse at 50% 44%,#ffd3a12e,transparent 58%);z-index:2}
.corridor-step{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:clamp(30px,4vw,46px);aspect-ratio:1;border:1px solid #cda362;background:#311c15e0;color:var(--gold);font-size:25px;line-height:1;cursor:pointer}
.corridor-step:disabled{opacity:.35;cursor:default}
.corridor-prev{left:clamp(8px,2vw,30px)}
.corridor-next{right:clamp(8px,2vw,30px)}
.year{position:relative;width:100%;padding:0;border:0;background:none;display:grid;justify-items:center;gap:14px;color:var(--gold);cursor:pointer;transition:transform .23s}
.year:hover,.year:focus-visible{transform:scale(1.055);z-index:1}
.frame-image{display:grid;place-items:center;width:100%;height:var(--frame-height);border:clamp(6px,1vw,12px) ridge #bd914f;background:radial-gradient(#514036,#27190f);box-shadow:0 0 0 2px #452a13,0 0 0 3px #c38c42,0 9px 14px #1d0c0bcc,inset 0 0 0 2px #eed19b;overflow:hidden}
.frame-image img{width:100%;height:100%;min-height:0;object-fit:contain;background:#231712}
.frame-image .missing{color:#d8ba8a;font-size:13px}
.year-label{padding:0 13px;background:#42241a;border:1px solid #ad814d;box-shadow:0 2px 5px #210b07;font:700 clamp(17px,2.2vw,27px)/1.4 Georgia,serif;letter-spacing:.08em}
.wainscot{height:115px;background:repeating-linear-gradient(90deg,#2b160e 0 3px,#472719 5px 105px,#301a11 108px 113px);border-top:5px double #815330}
dialog{width:min(550px,calc(100% - 32px));max-height:88vh;overflow:auto;background:#2b1814;border:4px double #bc9357;color:var(--cream);padding:18px}
dialog::backdrop{background:#1a0a09b9}
dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
dialog h2{font:25px var(--head);color:var(--gold)}
dialog button{color:var(--cream);background:#503025;border:1px solid #bd9158;padding:4px 12px;cursor:pointer}
dialog ul{padding-left:20px}
dialog li{margin:8px 0}
dialog a{color:var(--gold);text-decoration:underline;text-underline-offset:4px}
dialog img{width:100%;max-height:48vh;object-fit:contain;margin-top:12px}
@media(max-width:550px){.width{width:calc(100% - 30px)}.site-header .width{min-height:60px}.brand img{width:42px}.event-menu a{padding:14px 17px;min-height:100px}.corridor-light{background:linear-gradient(90deg,#120708e0,transparent 23%,transparent 77%,#120708e0)}}
@media(prefers-reduced-motion:reduce){.year,.event-menu a{transition:none}}
