/* The accepted archivefan fan, transplanted into school history. */

.archivefan{background:#fbfcf9;padding-bottom:72px;overflow:hidden}
.archivefan .section-meta{margin-bottom:40px}
.archivefan .section-heading{align-items:end;margin-bottom:36px}
.archivefan .display{font-size:clamp(38px,4.7vw,70px);line-height:1.25}
.archivefan .section-intro{font-size:15px;line-height:1.95}
.archivefan-collection-tabs{display:flex;gap:10px;flex-wrap:wrap}
.archivefan-collection-tabs button{display:flex;align-items:center;gap:17px;padding:13px 22px;border:1px solid #dce2d5;border-radius:99px;color:#63705b;font-size:14px;transition:background .25s,color .25s,box-shadow .25s}
.archivefan-collection-tabs button span{font:11px Arial;opacity:.6}
.archivefan-collection-tabs button[aria-selected=true]{background:#283825;color:#fff;border-color:#283825;box-shadow:0 5px 15px #293f2310}
.archivefan-collection-tabs button:hover{border-color:#7f906f}
.archivefan-album-top{display:flex;justify-content:space-between;gap:24px;align-items:center;min-height:70px;padding-top:8px}
.archivefan-topics{display:flex;gap:7px;flex-wrap:wrap}
.archivefan-topics button{font-size:12px;padding:7px 12px;border:1px solid transparent;border-radius:99px;color:#85917b;transition:color .2s,background .2s}
.archivefan-topics button[aria-pressed=true]{background:#eaf0e4;color:#35472c;border-color:#dce5d4}
.archivefan-album-note{font-size:12px;color:#7e8975;text-align:right}
.archivefan-fan{height:440px;position:relative;isolation:isolate;perspective:1300px;perspective-origin:50% 50%;touch-action:pan-y;user-select:none;cursor:grab}
.archivefan-fan:before{content:'';position:absolute;inset:17% 20% 5%;border-radius:50%;background:radial-gradient(ellipse,#d8e5c666,transparent 68%);pointer-events:none}
.archivefan-fan.is-dragging{cursor:grabbing}
.archivefan-photo{position:absolute;left:50%;top:50%;width:clamp(285px,32vw,440px);text-align:left;transform:translate3d(calc(-50% + var(--x)),-50%,var(--depth)) rotateY(var(--yaw)) rotateX(var(--lean));transform-origin:center center;filter:brightness(var(--brightness)) saturate(var(--saturation));opacity:var(--opacity);backface-visibility:hidden;will-change:transform,filter}
.archivefan-photo.is-away{visibility:hidden;pointer-events:none}
.archivefan-print{display:block;padding:11px 11px 0;background:#fff;border:1px solid #e3e6df;border-radius:9px;box-shadow:0 14px 35px #273a2320;transition:box-shadow .3s,border-color .3s;overflow:hidden}
.archivefan-photo:hover .archivefan-print{border-color:#a9b992;box-shadow:0 20px 42px #263b242b}
.archivefan-photo:focus-visible{outline:0}
.archivefan-photo:focus-visible .archivefan-print{outline:3px solid #7b955b;outline-offset:4px}
.archivefan-photo-media{display:block;aspect-ratio:1.4;overflow:hidden;border-radius:4px;background:#e9eee4;position:relative}
.archivefan-photo-media img{width:100%;height:100%;object-fit:cover;pointer-events:none;display:block}
.archivefan-photo-media:after{content:'↗';position:absolute;right:13px;bottom:13px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#ffffffeb;color:#253723;opacity:0;transform:translateY(6px);transition:opacity .3s,transform .3s}
.archivefan-photo.is-current:hover .archivefan-photo-media:after,.archivefan-photo.is-current:focus-visible .archivefan-photo-media:after{opacity:1;transform:none}
.archivefan-photo-label{display:flex;align-items:center;justify-content:space-between;padding:15px 5px 17px;gap:12px;font-size:13px;line-height:1.4}
.archivefan-photo-label small{font:10px Arial;color:#94a189;flex-shrink:0}
.archivefan-photo:not(.is-current) .archivefan-photo-label{color:#788471}
.archivefan-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;position:relative;z-index:2}
.archivefan-current-kind{font-size:11px;color:#859279;letter-spacing:.08em}
.archivefan-current-title{font-size:24px;font-weight:400;line-height:1.6;margin-top:5px}
.archivefan-navigation{display:flex;align-items:center;gap:17px;flex-shrink:0}
.archivefan-navigation button{border:1px solid #cbd5c2;border-radius:50%;height:45px;width:45px;font-size:23px;transition:background .25s,transform .25s}
.archivefan-navigation button:hover{background:#e7efd9;transform:translateY(-2px)}
.archivefan-navigation button:disabled{opacity:.35;cursor:default}
.archivefan-counter{font:13px Arial;min-width:63px;text-align:center;letter-spacing:.08em;color:#7b8771}
.archivefan-counter b{color:#253c1e;font-weight:500}
.archivefan-progress{height:2px;background:#e3e9de;margin-top:23px;overflow:hidden}
.archivefan-progress span{display:block;height:100%;background:#8da471;transform-origin:left;transition:width .45s}
.archivefan-instructions{font-size:11px;color:#8d9685;margin-top:18px;display:flex;justify-content:space-between;gap:20px}
.archivefan-collection-tabs button:focus-visible,.archivefan-topics button:focus-visible,.archivefan-navigation button:focus-visible{outline:2px solid #7b955b;outline-offset:4px}
@media(min-width:1700px){
.archivefan-fan{height:500px}
}
@media(max-width:900px){
.archivefan-album-top{align-items:flex-start;flex-direction:column;gap:8px;padding-top:16px}
.archivefan-album-note{text-align:left}
.archivefan-fan{height:390px}
.archivefan-photo{width:350px}
}
@media(max-width:600px){
.archivefan{padding-bottom:48px}
.archivefan .section-meta{margin-bottom:30px}
.archivefan .section-heading{margin-bottom:28px}
.archivefan .display{font-size:36px}
.archivefan .section-intro{font-size:13px;margin-top:18px}
.archivefan-collection-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.archivefan-collection-tabs button{padding:11px 15px;font-size:13px;justify-content:space-between}
.archivefan-topics{gap:2px}
.archivefan-topics button{font-size:11px;padding:7px 9px}
.archivefan-album-note{font-size:11px}
.archivefan-fan{height:320px;margin:0 -24px}
.archivefan-photo{width:min(70vw,310px)}
.archivefan-print{padding:8px 8px 0;border-radius:7px}
.archivefan-photo-label{font-size:11px;padding:12px 2px 14px;gap:7px}
.archivefan-photo-label small{font-size:9px}
.archivefan-bottom{flex-direction:column;gap:18px;text-align:center}
.archivefan-current-title{font-size:20px;margin-top:5px}
.archivefan-current-kind{font-size:10px}
.archivefan-navigation{gap:22px}
.archivefan-navigation button{width:40px;height:40px;font-size:21px}
.archivefan-instructions{display:block;text-align:center;font-size:10px;line-height:1.9}
.archivefan-instructions span{display:block}
.archivefan-progress{margin-top:22px}
}
@media(prefers-reduced-motion:reduce){
.archivefan-photo,.archivefan-print,.archivefan-photo-media:after,.archivefan-progress span{transition:none!important}
}
.archivefan-photo-media.is-portrait img,.archivefan-photo-media.is-panorama img{object-fit:contain}
.archivefan-album-top .archivefan-navigation{gap:12px}
.archivefan-album-top .archivefan-navigation button{height:38px;width:38px;font-size:20px}
@media(max-width:900px){
.archivefan-album-top{display:grid;grid-template-columns:1fr auto;gap:10px}
.archivefan-topics{grid-column:1/-1}
.archivefan-album-note{max-width:300px}
.archivefan-album-top .archivefan-navigation{gap:9px}
.archivefan-album-top .archivefan-counter{min-width:54px}
}
@media(max-width:600px){
.archivefan-album-note{max-width:145px;line-height:1.7}
.archivefan-album-top .archivefan-navigation button{height:34px;width:34px}
.archivefan-album-top .archivefan-navigation{gap:6px}
.archivefan-album-top .archivefan-counter{font-size:11px;min-width:48px}
}
.motion-off .archivefan-print,.motion-off .archivefan-photo-media:after,.motion-off .archivefan-progress span{transition:none!important}
.archivefan-fan.is-dragging,.archivefan-fan.is-dragging .archivefan-photo,.archivefan-fan.is-dragging .archivefan-photo *{cursor:grabbing!important}
.archivefan-instructions .archivefan-help-touch{display:none}
@media(hover:none){
.archivefan-instructions .archivefan-help-pointer{display:none}
.archivefan-instructions .archivefan-help-touch{display:block}
}
#history{padding:32px var(--gutter) 64px;color:var(--chapter-text);background:var(--chapter-paper)}
#history .section-meta{font-size:12px;font-weight:400;letter-spacing:.05em;border-color:#33352d26;padding-top:14px;margin-bottom:0;line-height:1.6}
#history{display:flex;flex-direction:column;background:#f5f1e5;overflow:hidden}
.archivefan-scene{position:absolute;z-index:-1;right:0;top:0;bottom:190px;width:41%;background:#b39359;overflow:hidden;pointer-events:none}
.archivefan-scene img{width:100%;height:100%;object-fit:cover;opacity:.38;filter:saturate(.7)}
.archivefan-scene:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#f4e4be15,#91785018 60%,#c8aa6f99)}
#history .section-meta{flex-shrink:0;margin-bottom:32px}
#history .section-meta span:last-child{color:#303d30;background:#f5f1e5;padding:3px 8px;margin:-3px -8px}
#history .section-heading{display:block;flex-shrink:0;margin-bottom:24px;width:59%}
#history .display{font-size:clamp(36px,3.65vw,60px);line-height:1.24;letter-spacing:-.055em}
#history .section-intro{color:#626450;font-size:14px;line-height:1.8;margin-top:20px;max-width:520px}
#history .section-intro br{display:none}
#history .archivefan-collection-tabs{flex-shrink:0;gap:0;border-top:1px solid #4d543c30;border-bottom:1px solid #4d543c30;align-self:flex-start;background:#f5f1e5}
#history .archivefan-collection-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;padding:12px 22px;color:#555d48;font-size:14px;gap:18px;box-shadow:none}
#history .archivefan-collection-tabs button:first-child{padding-left:0}
#history .archivefan-collection-tabs button[aria-selected=true]{background:none;color:#283d30;border-color:#997d40}
#history .archivefan-collection-tabs button:hover{background:#e7dec84d}
#history #archivefan-album-panel{display:flex;flex-direction:column;flex:1;min-height:0}
#history .archivefan-album-top{flex-shrink:0;min-height:66px;gap:16px;padding-top:8px;align-items:center}
#history .archivefan-topics button{font-size:12px;color:#5a624f;min-height:36px;padding:7px 10px}
#history .archivefan-topics button:first-child{margin-left:-10px}
#history .archivefan-topics button[aria-pressed=true]{background:#e5dfca;color:#2d412e;border-color:transparent}
#history .archivefan-album-note{color:#606852;font-size:12px;padding:0;max-width:340px;text-align:right}
#history .archivefan-navigation{background:#f5f1e5;padding:5px 0 5px 12px}
#history .archivefan-navigation button{width:42px;height:42px;border-color:#aeb6a2}
#history .archivefan-counter{color:#42503c;font-size:12px}
#history .archivefan-fan{flex:1;min-height:280px;height:auto;margin:0 calc(var(--gutter)*-1)}
#history .archivefan-fan:before{display:none}
#history .archivefan-photo{width:min(32vw,440px,var(--archivefan-fit-width,440px))}
#history .archivefan-print{padding:8px;background:#fffdf5;border-color:#dfded3;border-radius:1px;box-shadow:0 4px 10px #3037250d,0 18px 35px #30372526}
#history .archivefan-photo-media{aspect-ratio:1.68}
#history .archivefan-photo-label{color:#424c3b;font-size:13px;padding:12px 7px 4px}
#history .archivefan-bottom{flex-shrink:0;justify-content:space-between;align-items:center;min-height:47px;margin-top:8px;width:100%;padding:5px 0}
#history .archivefan-current-kind{color:#6a705f;font-size:12px}
#history .archivefan-current-title{font-family:var(--chapter-sans);font-size:20px;font-weight:500;color:#303b2d;margin-top:3px}
#history .archivefan-progress{height:2px;margin-top:14px;background:#485d3820}
#history .archivefan-progress span{background:#657050}
#history .archivefan-instructions{flex-shrink:0;margin-top:14px;font-size:11px;color:#4e5945;gap:20px}
#history .archivefan-instructions span{padding:2px 0}
@media(min-width:1001px) and (min-height:650px){
#history{height:100svh;min-height:650px}
}
@media(max-height:800px) and (min-width:1001px){
#history{padding-top:24px;padding-bottom:54px}
#history .section-meta{margin-bottom:20px}
#history .display{font-size:40px}
#history .section-heading{margin-bottom:16px}
#history .section-intro{margin-top:14px}
#history .archivefan-album-top{min-height:58px}
#history .archivefan-photo{width:min(30vw,365px,var(--archivefan-fit-width,365px))}
#history .archivefan-fan{min-height:220px}
#history .archivefan-bottom{min-height:40px}
#history .archivefan-current-title{font-size:18px}
#history .archivefan-instructions{margin-top:10px}
}
@media(max-width:1100px) and (min-width:1001px){
#history .archivefan-album-note{display:none}
}
@media(max-width:1000px){
#history{padding-bottom:72px}
.archivefan-scene{width:32%}
#history .section-heading{width:75%}
#history .display{font-size:44px}
#history .archivefan-fan{height:370px;flex:none;min-height:0}
#history .archivefan-photo{width:430px}
#history .archivefan-album-note{display:none}
}
@media(max-width:700px){
#history{padding:24px 24px 72px}
.archivefan-scene{top:330px;bottom:200px;width:33%;opacity:.85}
#history .section-meta{margin-bottom:26px}
#history .section-meta span:last-child{background:none;font-size:10px;padding:0;margin:0}
#history .section-heading{width:100%;margin-bottom:24px}
#history .display{font-size:clamp(29px,8vw,38px);line-height:1.3}
#history .section-intro{font-size:13px;margin-top:18px}
#history .archivefan-collection-tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}
#history .archivefan-collection-tabs button{padding:12px 0;font-size:12px;gap:0;flex-direction:column;line-height:1.7}
#history .archivefan-collection-tabs button span{font-size:10px}
#history .archivefan-album-top{flex-wrap:wrap;gap:6px;padding-top:12px}
#history .archivefan-topics{gap:1px;background:#f5f1e5}
#history .archivefan-topics button{font-size:11px;padding:7px}
#history .archivefan-topics button:first-child{margin-left:-7px}
#history .archivefan-navigation{margin-left:auto;gap:10px}
#history .archivefan-fan{height:270px;margin:0 -24px}
#history .archivefan-photo{width:min(83vw,380px)}
#history .archivefan-photo-label{font-size:12px;padding-top:10px}
#history .archivefan-bottom{margin-top:0;align-items:flex-start;text-align:left;gap:8px}
#history .archivefan-album-note{text-align:left;display:block;font-size:11px}
#history .archivefan-current-title{font-size:18px}
#history .archivefan-instructions{font-size:11px;line-height:1.6;flex-wrap:wrap;gap:5px;text-align:left}
#history .archivefan-instructions span{padding:0}
}
#history{--room-accent:#d74712;--room-text:#443c37;--fan-enter:1;overflow:hidden;isolation:isolate;background:#ececec;color:var(--room-text);padding:clamp(48px,9svh,92px) var(--gutter) 30px;min-height:100svh;height:100svh;display:flex;flex-direction:column;gap:0;scroll-margin-top:0}
#history .section-meta,.archivefan-scene{display:none}
#history .section-heading{display:block;flex:none;text-align:center;width:100%;margin:0 0 32px;padding:0;min-height:0;color:var(--room-accent)}
#history .section-intro{display:none}
#history .display{font-family:LingxiScene,var(--chapter-sans);font-size:clamp(38px,3.8vw,56px);font-weight:600;line-height:1.2;letter-spacing:-.025em;color:var(--room-accent);margin:0}
#history-title .title-line{width:auto;transform:none;line-height:1.2;opacity:1;clip-path:none}
#history-title .char{color:inherit;opacity:1!important;filter:none!important;clip-path:none!important;transform:none!important}
#history .archivefan-collection-tabs{display:flex;flex-direction:row;justify-content:center;align-self:center;flex-wrap:nowrap;gap:7px;max-width:100%;border:0;padding:2px 0 8px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#baaa9e transparent;flex-shrink:0;background:transparent}
#history .archivefan-collection-tabs button{width:auto;min-height:36px;flex:0 0 auto;white-space:nowrap;padding:8px 14px;gap:7px;border:0;border-radius:999px;background:#ffffff4d;color:#685d55;font-size:12px;line-height:1.5;box-shadow:none;transition:background .25s,color .25s}
#history .archivefan-collection-tabs button span{color:inherit;font-size:10px;opacity:.7}
#history .archivefan-collection-tabs button[aria-selected=true]{background:#ffffffd6;color:#ae390d;padding:8px 14px;box-shadow:0 4px 12px #45332909;border:0}
#history .archivefan-collection-tabs button:hover{background:#ffffffb8;color:#ae390d}
#history button:focus-visible{outline:2px solid #b73c12;outline-offset:3px}
#history .section-heading{margin-bottom:26px}
#history #archivefan-album-panel{display:flex;flex-direction:column;flex:1;min-height:0}
#history .archivefan-album-top{display:flex;justify-content:center;align-items:center;flex:none;min-height:35px;padding:0;gap:0}
#history .archivefan-topics{display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:100%;background:transparent;padding:0}
#history .archivefan-topics button{font-size:11px;padding:6px 11px;min-height:31px;border:0;color:#776c63;background:transparent}
#history .archivefan-topics button[aria-pressed=true]{background:#ffffff7a;color:#ae390d;border:0}
#history .archivefan-fan{height:auto;min-height:250px;flex:1;margin:0 calc(var(--gutter)*-1);perspective:1600px}
#history .archivefan-fan:before{display:none}
#history .archivefan-photo{top:50%;width:min(28vw,390px,var(--archivefan-fit-width,390px));transform-origin:50% 110%;transform:translate(-50%,-50%) translate3d(calc(var(--x)*var(--fan-enter)),calc(var(--arc-y) + (1 - var(--fan-enter))*45px),var(--depth)) rotateZ(calc(var(--lean)*var(--fan-enter))) scale(var(--arc-scale));filter:blur(var(--arc-blur)) saturate(var(--saturation));will-change:auto}
#history .archivefan-fan.is-moving .archivefan-photo,#history .archivefan-fan.is-dragging .archivefan-photo{will-change:transform,filter}
#history .archivefan-print{position:relative;padding:14px 14px 0;border:0;border-radius:20px;background:white;overflow:hidden;box-shadow:0 18px 35px #42322226}
#history .archivefan-print:after{content:'';position:absolute;inset:0;pointer-events:none;background:#ed703d;opacity:var(--arc-tint);border-radius:inherit}
#history .archivefan-photo-media{aspect-ratio:1.22;background:#f4f2ed;border-radius:12px}
#history .archivefan-photo-media img{object-fit:contain}
#history .archivefan-photo-label{font-size:13px;padding:20px 6px 23px;line-height:1.5;color:#54483e;gap:12px}
#history .archivefan-photo-label small{color:#887767;font-size:10px}
#history .archivefan-bottom{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:40px;text-align:left;margin:12px 0 0;min-height:44px;flex:none}
#history .archivefan-current-kind{font-size:10px;color:#807267;letter-spacing:0}
#history .archivefan-current-title{font-size:17px;line-height:1.6;color:#443c37;font-weight:500;margin-top:2px}
#history .archivefan-album-note{display:none}
#history .archivefan-navigation{display:flex;align-items:center;gap:12px;background:transparent;padding:0;margin:0;align-self:center}
#history .archivefan-navigation button{width:36px;height:36px;border:1px solid #96887d66;color:#76523e;background:transparent}
#history .archivefan-navigation button:hover{background:#fff;transform:none}
#history .archivefan-counter,#history .archivefan-counter b{color:#776455;font-size:12px;font-variant-numeric:tabular-nums}
#history .archivefan-progress{display:none}
#history .archivefan-instructions{justify-content:center;text-align:center;color:#796e65;font-size:10px;line-height:1.7;margin-top:18px}
#history .archivefan-instructions>span:last-child{display:none}
#history ::selection{background:#e95723;color:#fff}
@media(max-width:700px){
#history{height:100svh;min-height:730px;padding:56px 22px 34px}
#history .section-heading{margin-bottom:24px}
#history .display{font-size:38px;line-height:1.25}
#history .archivefan-collection-tabs{width:100%;gap:6px;justify-content:flex-start}
#history .archivefan-collection-tabs button{font-size:11px;padding:8px 12px;min-height:35px}
#history .archivefan-collection-tabs button{gap:5px;flex:1;justify-content:center;padding:8px}
#history .archivefan-collection-tabs button[aria-selected=true]{padding:8px}
#history .archivefan-fan{margin-left:-22px;margin-right:-22px;min-height:270px}
#history .archivefan-current-title{font-size:16px}
#history .archivefan-photo{width:min(72vw,360px,var(--archivefan-fit-width,360px));top:47%}
#history .archivefan-print{padding:10px 10px 0;border-radius:16px}
#history .archivefan-photo-media{border-radius:9px}
#history .archivefan-photo-label{font-size:11px;padding:17px 5px 19px}
#history .archivefan-album-top{padding-top:2px;min-height:42px}
#history .archivefan-topics{gap:1px}
#history .archivefan-topics button{font-size:10px;padding:6px 8px}
#history .archivefan-bottom{flex-direction:column;gap:12px;text-align:center;margin-top:8px}
#history .archivefan-instructions{margin-top:16px;font-size:10px}
}
@media(max-height:680px) and (min-width:701px){
#history{height:auto;min-height:680px;padding-top:38px}
#history .archivefan-fan{height:340px;flex:none}
}
@media(prefers-reduced-motion:reduce){
#history .archivefan-photo{transition:none!important}
}
#history .section-heading{margin-bottom:12px}
#history .archivefan-photo{width:min(34vw,480px,var(--archivefan-fit-width,480px));top:50%}
#history .archivefan-bottom{margin-top:8px}
@media(max-width:700px){
#history .section-heading{margin-bottom:14px}
#history .archivefan-photo{width:min(82vw,390px,var(--archivefan-fit-width,390px));top:47%}
}
#history .archivefan-photo-media svg{display:block;width:100%;height:100%;pointer-events:none}
#history .archivefan-collection-tabs{justify-content:safe center}
#history .archivefan-collection-tabs button{flex:0 0 auto}
#history .archivefan-topics:empty{display:none}
#history .history-source-note{font-size:10px;line-height:1.6;margin:0;padding:0;text-align:center;flex:0 1 auto;max-width:100%;color:#786d64}
@media(max-width:700px){#history .archivefan-collection-tabs{justify-content:flex-start}#history .history-source-note{font-size:9px;padding:0 12px}}
