body[data-anomaly="2"] .soft-anomaly{letter-spacing:.006em}
body[data-anomaly="3"] .soft-anomaly{word-spacing:.035em}
body[data-anomaly="4"] .soft-anomaly{letter-spacing:.01em;word-spacing:.05em}
body[data-anomaly="3"] .masthead-status .status-pill{border-color:#c9c2aa}
body[data-anomaly="4"] .masthead-status .status-dot{background:#7f735d}
body[data-anomaly="4"] .nav a.active{box-shadow:inset 0 -3px 0 #c7c0aa}
html.reduced-motion *,html.reduced-motion *::before,html.reduced-motion *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
.reduced-motion-note{font-size:.78rem;color:#6c7780}

/* restrained archival/rendering faults: no red horror template, no full-screen distortion */
.deleted-reply{position:relative;background:#fafbfb;border-left:3px solid #c8d0d5;color:#6b7780}.deleted-reply .reply-meta{opacity:.78}.glitch-fragment{position:relative;display:inline-block;font-family:SimSun,"Courier New",monospace;letter-spacing:.07em;color:#45545f;transform:skewX(-2deg);filter:contrast(1.08)}.glitch-fragment::after{content:attr(data-text);position:absolute;left:1px;top:0;opacity:.23;clip-path:inset(48% 0 0 0);transform:translateX(-1px);pointer-events:none}.suggestion-glitch{font-family:SimSun,"Courier New",monospace!important;letter-spacing:.035em}.glitch-button{font-family:SimSun,"Courier New",monospace!important;letter-spacing:.08em!important;box-shadow:inset 0 0 0 1px #aab4bb!important}.reduced-motion .glitch-fragment,.reduced-motion .glitch-button{transform:none;filter:none}.reduced-motion .glitch-fragment::after{display:none}

/* v2.8 atmosphere pass: the portal stays credible, while the environment slowly loses stability. */
body[data-atmosphere="2"]{--page-tint:#edf1f3}
body[data-atmosphere="3"]{--page-tint:#ebeff1}
body[data-atmosphere="4"]{--page-tint:#e8edef}
body[data-atmosphere="5"]{--page-tint:#e6ebed}
body[data-atmosphere="6"],body[data-atmosphere="7"],body[data-atmosphere="8"]{--page-tint:#e3e8ea}
body[data-atmosphere="2"],body[data-atmosphere="3"],body[data-atmosphere="4"],body[data-atmosphere="5"],body[data-atmosphere="6"],body[data-atmosphere="7"],body[data-atmosphere="8"]{background:linear-gradient(#e8edef 0,var(--page-tint,#edf1f4) 170px,var(--page-tint,#edf1f4) 100%)}
body[data-atmosphere="4"] .hero img,body[data-atmosphere="5"] .hero img{filter:saturate(.62) contrast(.96) brightness(.92)}
body[data-atmosphere="6"] .hero img,body[data-atmosphere="7"] .hero img,body[data-atmosphere="8"] .hero img{filter:saturate(.48) contrast(.98) brightness(.78)}
body[data-atmosphere="5"] .school-mark,body[data-atmosphere="6"] .school-mark,body[data-atmosphere="7"] .school-mark,body[data-atmosphere="8"] .school-mark{filter:saturate(.6)}
body[data-atmosphere="6"] .govbar,body[data-atmosphere="7"] .govbar,body[data-atmosphere="8"] .govbar{background:#eef1f2;color:#606a70}
body[data-atmosphere="7"] .footer,body[data-atmosphere="8"] .footer{background:#e4e8ea}
.nav-slip{font-family:SimSun,"Songti SC",serif!important;letter-spacing:.08em}

/* intentionally rare historical renderer failures */
.legacy-render-site{min-height:100vh;background:#ecefed;color:#2f393e;font-family:Arial,"Microsoft YaHei",sans-serif}
.legacy-render-root{width:min(980px,calc(100% - 30px));margin:0 auto;padding:9vh 0 12vh}
.legacy-loading-card{min-height:520px;background:#f8f8f5;border:1px solid #bfc6c7;box-shadow:0 1px 8px rgba(30,40,45,.08);padding:22px 26px;overflow:hidden;position:relative}
.legacy-system-line{font-size:.74rem;color:#758087;border-bottom:1px solid #d6dbda;padding-bottom:8px;margin-bottom:18px}
.legacy-loading-card h1{font-family:SimSun,"Songti SC",serif;font-size:1.12rem;font-weight:400;color:#39454a;margin:0 0 28px}
.legacy-reading,.legacy-blank,.legacy-fallback{min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.legacy-reading span{font-size:.9rem;color:#667277}.legacy-reading small{margin-top:8px;color:#929a9d;font-family:"Courier New",monospace}
.legacy-blank strong{font-weight:400;color:#535e63;letter-spacing:.04em}.legacy-fallback p{max-width:580px;color:#748087;font-size:.82rem}
.legacy-distortion{min-height:330px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 18px;align-content:center;padding:24px 7%;font-family:SimSun,"Songti SC",serif;overflow:hidden}
.legacy-distortion span{font-size:clamp(1.15rem,2.4vw,2rem);line-height:1.05;color:#30383b;opacity:.68;letter-spacing:.04em;transform:skewX(-1deg) scaleX(.96);filter:blur(.08px);white-space:nowrap}
.legacy-distortion span:nth-child(3n+1){opacity:.46;letter-spacing:.12em;transform:translate(-8px,3px) skewX(-2deg) scaleX(.88);filter:blur(.24px)}.legacy-distortion span:nth-child(3n+2){opacity:.82;transform:translate(6px,-2px) skewX(1.2deg) scaleX(1.04)}.legacy-distortion span:nth-child(4n+2){font-weight:700}.legacy-distortion span:nth-child(5n){font-style:italic;transform:translate(-3px,5px) scaleX(1.1)}.legacy-distortion span:nth-child(7n){font-family:"Courier New",SimSun,monospace;letter-spacing:.18em;opacity:.58}.legacy-distortion span:nth-child(9n){transform:translateX(-18px) skewX(2deg) scaleX(1.18)}
.reduced-motion .legacy-distortion span{transform:none!important;filter:none!important;letter-spacing:.03em!important}
@media(max-width:640px){.legacy-render-root{width:calc(100% - 18px);padding:4vh 0}.legacy-loading-card{min-height:500px;padding:18px 16px}.legacy-distortion{grid-template-columns:repeat(3,1fr);padding:20px 3%;gap:8px}.legacy-distortion span{font-size:1.15rem}}
.legacy-distortion[hidden],.legacy-blank[hidden],.legacy-fallback[hidden],.legacy-reading[hidden]{display:none!important}


/* v2.9 rare renderer fault: repetitive administrative language, not horror-template styling */
.legacy-distortion{position:relative;background:linear-gradient(rgba(248,248,245,.9),rgba(248,248,245,.94)),repeating-linear-gradient(0deg,transparent 0 27px,rgba(73,86,91,.06) 27px 28px)}
.legacy-distortion::before{content:"";position:absolute;inset:10% 5%;border-left:1px solid rgba(61,73,78,.12);border-right:1px solid rgba(61,73,78,.06);pointer-events:none;transform:skewX(-.4deg)}
.legacy-distortion span{position:relative;animation:legacySettle .72s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i) * 18ms)}
.legacy-distortion span::after{content:attr(data-word);position:absolute;left:.045em;top:.06em;opacity:.14;pointer-events:none;transform:translateX(calc((var(--i) % 3 - 1) * 2px));clip-path:inset(52% 0 0 0)}
.legacy-distortion span:nth-child(6n){font-size:clamp(.88rem,1.65vw,1.2rem);opacity:.4}.legacy-distortion span:nth-child(8n+3){font-size:clamp(1.35rem,3vw,2.45rem);opacity:.78}.legacy-distortion span:nth-child(11n){writing-mode:vertical-rl;justify-self:center;letter-spacing:.18em}.legacy-distortion span:nth-child(13n){text-decoration:line-through;text-decoration-thickness:1px;text-decoration-color:rgba(48,58,62,.28)}
@keyframes legacySettle{0%{opacity:0;transform:translate(calc((var(--i) % 4 - 2)*7px),calc((var(--i) % 3 - 1)*5px)) scaleX(.84)}65%{opacity:.76}100%{}}
.reduced-motion .legacy-distortion span{animation:none!important}.reduced-motion .legacy-distortion span::after{display:none}
body[data-atmosphere="6"] .campus-photo img,body[data-atmosphere="7"] .campus-photo img,body[data-atmosphere="8"] .campus-photo img{filter:saturate(.5) contrast(.98) brightness(.82)}
body[data-atmosphere="7"] .forum-shell,body[data-atmosphere="8"] .forum-shell{box-shadow:0 1px 8px rgba(31,45,52,.09)}

/* v3.0 strong-perception anomalies: rare, readable for 1–2s, then fully restore. */
.san-event-layer{position:fixed;inset:0;z-index:9998;display:grid;place-items:center;padding:26px;background:rgba(231,235,235,.76);backdrop-filter:blur(1.2px);opacity:0;pointer-events:none;transition:opacity .16s ease;font-family:SimSun,"Songti SC",serif}
.san-event-layer.visible{opacity:1}.san-event-shell{width:min(1080px,94vw);max-height:88vh;overflow:hidden;background:#f7f7f3;border:1px solid #9da6a8;box-shadow:0 12px 48px rgba(30,40,45,.26);padding:18px;position:relative}
.san-event-title{font:400 .78rem/1.4 Arial,"Microsoft YaHei",sans-serif;color:#727d82;border-bottom:1px solid #cfd4d4;padding:0 0 9px;margin-bottom:10px;letter-spacing:.02em}
.san-word-field{min-height:48vh;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-content:center;gap:3px 16px;padding:18px 3%;overflow:hidden;background:repeating-linear-gradient(0deg,#f8f8f5 0 31px,#eef0ee 31px 32px)}
.san-word-field span{position:relative;white-space:nowrap;font-size:clamp(1rem,2.15vw,2rem);line-height:1.02;color:#273237;opacity:.74;letter-spacing:.04em;transform:translate(calc((var(--i)%5 - 2)*5px),calc((var(--i)%3 - 1)*4px)) skewX(calc((var(--i)%3 - 1)*1deg)) scaleX(calc(.88 + (var(--i)%4)*.06));animation:sanSettle .55s ease-out both;animation-delay:calc(var(--i)*16ms)}
.san-word-field span:nth-child(4n){font-weight:700}.san-word-field span:nth-child(6n+1){font-style:italic;opacity:.48}.san-word-field span:nth-child(9n){font-size:clamp(1.45rem,3vw,2.7rem);letter-spacing:.12em}.san-word-field span:nth-child(11n){writing-mode:vertical-rl;justify-self:center}.san-word-field span:nth-child(13n){text-decoration:line-through;text-decoration-thickness:1px}.san-word-field span::after{content:attr(data-word);position:absolute;left:2px;top:1px;opacity:.12;clip-path:inset(50% 0 0);transform:translateX(-3px)}
.san-event-image{margin:0 0 12px;display:grid;grid-template-columns:minmax(0,1fr);position:relative;background:#dfe3e3;border:1px solid #abb3b5}.san-event-image img{display:block;width:100%;height:min(42vh,330px);object-fit:cover;filter:saturate(.42) contrast(1.05) brightness(.73)}.san-event-image figcaption{position:absolute;left:12px;bottom:10px;background:rgba(245,247,246,.86);border:1px solid rgba(137,147,151,.6);padding:5px 8px;color:#505b60;font:400 .76rem/1.3 Arial,"Microsoft YaHei",sans-serif}
.san-forum-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#f3f4f3;padding:10px}.san-forum-card{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;align-items:center;background:#fff;border:1px solid #c5cbcd;padding:8px}.san-forum-card img{width:70px;height:58px;object-fit:cover;filter:saturate(.62) contrast(1.05)}.san-forum-card span{font:400 .8rem/1.35 SimSun,"Songti SC",serif;color:#3d494e}
@keyframes sanSettle{0%{opacity:.08;transform:translate(calc((var(--i)%5 - 2)*11px),calc((var(--i)%3 - 1)*8px)) scaleX(.75)}100%{}}
.reduced-motion .san-event-layer{transition:none}.reduced-motion .san-word-field span{animation:none!important;transform:none!important}.reduced-motion .san-word-field span::after{display:none}
@media(max-width:720px){.san-event-layer{padding:10px}.san-event-shell{width:96vw;padding:11px}.san-word-field{grid-template-columns:repeat(3,1fr);min-height:52vh;padding:12px 1%;gap:5px 8px}.san-word-field span{font-size:1.08rem}.san-forum-grid{grid-template-columns:1fr 1fr}.san-forum-card{grid-template-columns:54px minmax(0,1fr)}.san-forum-card img{width:54px;height:48px}}

/* Day-two business state is clear, not a real-time countdown. */
body[data-atmosphere="9"] .deadline,body[data-atmosphere="10"] .deadline,body[data-atmosphere="11"] .deadline,body[data-atmosphere="12"] .deadline,body[data-atmosphere="13"] .deadline{font-weight:700;color:#7a5c1f}
body[data-atmosphere="9"] .masthead-status .status-pill,body[data-atmosphere="10"] .masthead-status .status-pill,body[data-atmosphere="11"] .masthead-status .status-pill,body[data-atmosphere="12"] .masthead-status .status-pill,body[data-atmosphere="13"] .masthead-status .status-pill{border-color:#d5c9a6;background:#fffdf5}
body[data-atmosphere="14"]{background:#edf2f4}body[data-atmosphere="14"] .hero img,body[data-atmosphere="14"] .campus-photo img{filter:none!important}
.san-event-image+.san-word-field{min-height:30vh}.san-event-image+.san-word-field span{font-size:clamp(.95rem,1.75vw,1.55rem)}

/* v3.1 perceptible SAN beats: large enough that ordinary players cannot miss them. */
.san-event-layer{background:rgba(224,229,230,.9);backdrop-filter:blur(2.2px)}
.san-event-shell{width:min(1180px,96vw);border-color:#7f8a8e;box-shadow:0 18px 70px rgba(20,28,32,.34)}
.san-event-title{font-size:.83rem;color:#5a666c;background:#eef0ee;margin:-18px -18px 12px;padding:10px 14px;border-bottom:1px solid #b8c0c2}
.san-snapshot .san-event-shell{padding:0;background:#11181b;border-color:#7b8588}
.san-snapshot .san-event-title{margin:0;background:#e8ebea;color:#4f5b60;padding:10px 14px}
.san-snapshot .san-event-image{margin:0;border:0;background:#151d20}
.san-snapshot .san-event-image img{height:min(72vh,620px);filter:saturate(.34) contrast(1.16) brightness(.54)}
.san-snapshot .san-event-image::before{content:"";position:absolute;z-index:2;left:62%;bottom:14%;width:14px;height:58px;border-radius:45% 45% 18% 18%;background:rgba(16,20,22,.78);box-shadow:0 -17px 0 -4px rgba(16,20,22,.78);filter:blur(.35px);opacity:.86}
.san-snapshot .san-event-image::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,transparent 0 58%,rgba(236,240,238,.035) 58% 60%,transparent 60%),repeating-linear-gradient(0deg,transparent 0 5px,rgba(0,0,0,.025) 5px 6px)}
.san-snapshot .san-event-image figcaption{left:16px;bottom:14px;background:rgba(239,241,239,.9);font-size:.82rem}
.san-forum .san-event-shell{background:#f6f7f4}
.san-forum-grid{gap:10px!important}
.san-forum-card{min-height:128px!important;background:#fff!important;border-color:#aeb7b9!important}
.san-forum-card>span:last-child{font-size:.84rem!important;color:#3b4549!important}
.san-form .san-word-field{min-height:54vh;grid-template-columns:repeat(4,minmax(0,1fr));background:#f4f5f2}
.san-form .san-event-image img{height:min(32vh,260px);filter:saturate(.3) contrast(1.12) brightness(.62)}
@media(max-width:640px){.san-event-layer{padding:10px}.san-event-shell{width:100%;max-height:94vh}.san-snapshot .san-event-image img{height:68vh}.san-snapshot .san-event-image::before{left:68%;bottom:17%}.san-word-field{grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 2%;gap:6px}.san-form .san-word-field{grid-template-columns:repeat(3,minmax(0,1fr));min-height:46vh}}

/* The cat file itself never changes. Fragmentation is a display fault layered over the exact supplied image. */
.cat-corrupt-wrap{position:relative;display:block;overflow:hidden;background:#dfe3e2}
.cat-corrupt-wrap>img{display:block;width:100%;height:100%;object-fit:cover}
.cat-corrupt-wrap::before,.cat-corrupt-wrap::after{content:"";position:absolute;inset:0;background-image:url('../assets/img/cat-1.jpg');background-size:cover;background-position:center;pointer-events:none;opacity:0}
.cat-corrupt-1 .cat-corrupt-wrap::before{opacity:.46;clip-path:polygon(55% 0,100% 0,100% 44%,77% 39%,84% 57%,61% 48%);transform:translateX(10px) scale(1.03);filter:contrast(1.22) saturate(.48)}
.cat-corrupt-2 .cat-corrupt-wrap::before{opacity:.58;clip-path:polygon(47% 0,100% 0,100% 62%,80% 58%,86% 82%,64% 68%,58% 45%);transform:translateX(12px) scale(1.04);filter:contrast(1.28) saturate(.38)}
.cat-corrupt-2 .cat-corrupt-wrap::after{opacity:.38;clip-path:polygon(54% 39%,100% 27%,100% 100%,70% 100%,79% 79%,60% 72%);transform:translate(-8px,4px) scale(1.05);filter:grayscale(.35) contrast(1.35)}
.cat-corrupt-3 .cat-corrupt-wrap>img{filter:saturate(.48) contrast(1.08) brightness(.82)}
.cat-corrupt-3 .cat-corrupt-wrap::before{opacity:.72;clip-path:polygon(39% 0,100% 0,100% 71%,78% 60%,89% 88%,57% 79%,63% 51%,42% 42%);transform:translateX(18px) scale(1.07);filter:contrast(1.5) saturate(.25)}
.cat-corrupt-3 .cat-corrupt-wrap::after{opacity:.58;clip-path:polygon(35% 38%,100% 20%,100% 100%,50% 100%,68% 76%,43% 67%);transform:translate(-12px,7px) scale(1.09);filter:grayscale(.55) contrast(1.5)}
.reduced-motion .cat-corrupt-wrap::before,.reduced-motion .cat-corrupt-wrap::after{transform:none!important}
.portal-featured-topic>.cat-corrupt-wrap{width:92px;height:72px;border:1px solid #b9c0c3}
.forum-archive-rec>.cat-corrupt-wrap{width:92px;height:68px;border:1px solid #b9c0c2}
.san-forum-card>.cat-corrupt-wrap{width:70px;height:58px;border:1px solid #b9c0c2}
.archive-year-em{display:inline!important;color:#6d4e46!important;font-size:inherit!important;margin:0!important;white-space:normal!important;overflow:visible!important}
@media(max-width:640px){.portal-featured-topic>.cat-corrupt-wrap{width:78px;height:62px}.forum-archive-rec>.cat-corrupt-wrap{width:76px;height:58px}.san-forum-card>.cat-corrupt-wrap{width:54px;height:48px}}
.forum-thumb>.cat-corrupt-wrap{width:58px;height:44px}
@media(max-width:640px){.forum-thumb>.cat-corrupt-wrap{width:50px;height:40px}}
