/* Reference card: 680 × 490, positioned at x=675 in the 1536px reference. */
#school-focus-dismiss{position:fixed;inset:0;z-index:36;appearance:none;border:0;background:transparent;padding:0;cursor:default}
#school-focus-dismiss[hidden],#school-card[hidden],#school-stamp-access[hidden],#school-stamp-hint[hidden]{display:none!important}
#school-card{position:fixed;z-index:38;left:44%;top:49.8%;width:39vw;aspect-ratio:680/490;container-type:inline-size;box-sizing:border-box;color:#44382c;isolation:isolate;transform:translate3d(12px,-48%,0);opacity:0;transition:transform 500ms cubic-bezier(.22,1,.36,1),opacity 420ms ease;pointer-events:none;font-family:'Songti SC','STSong','Noto Serif SC',SimSun,serif;filter:drop-shadow(0 13px 16px #24130865);font-variant-numeric:lining-nums}
#school-card *{box-sizing:border-box}
#school-card.visible{opacity:1;transform:translate3d(0,-50%,0);pointer-events:auto}
.school-paper{position:absolute;inset:0;z-index:-2;background:#ffe5d2 url('stamp-assets/card-paper.png') center/100% 100%;background-blend-mode:multiply;box-shadow:inset 0 0 1px 2px #e8b77f,inset 0 0 20px #a75a1833;clip-path:polygon(4.4% .5%,95.6% .5%,96.5% 2.2%,97.8% 4%,99.6% 5.2%,99.6% 94.7%,97.6% 96.3%,96.5% 97.7%,95.6% 99.5%,4.4% 99.5%,3.5% 97.7%,2.1% 96.2%,.4% 94.7%,.4% 5.2%,2.2% 4%,3.5% 2.2%)}
.school-paper:after{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 12%,#fff2d12b,transparent 60%),linear-gradient(105deg,transparent 65%,#c57b2520);pointer-events:none}
.school-card-border{position:absolute;inset:0;width:100%;height:100%;z-index:-1;fill:none;stroke:#9b682f;stroke-width:1.15;opacity:.42;pointer-events:none}
.school-paperclip{position:absolute;top:-8.9%;left:27%;width:3.2%;height:16%;border:1.5px solid #935623;border-radius:999px;transform:rotate(29deg);box-shadow:inset 1px 0 1px #ffe1a0,1px 0 1px #ffe1a0,3px 4px 4px #59341050;background:linear-gradient(90deg,#c5843e26,transparent 50%);pointer-events:none}
.school-paperclip:after{content:'';position:absolute;left:17%;top:8%;width:60%;height:72%;border:1px solid #c58f4a;border-bottom:0;border-radius:999px;box-shadow:-1px 0 #ffe1a077}
.school-return{position:absolute;right:0;bottom:-8%;display:flex;align-items:center;gap:5px;background:none;border:0;padding:4px 0;color:#f4e1be;font:12px system-ui;cursor:pointer;text-shadow:0 1px 3px #180d07}
.school-return:hover{background:none;color:#fff6e3}.school-return svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}
.school-return:focus-visible{outline:1px solid #ead4a5;outline-offset:5px}
#school-card h2{position:absolute;left:12.2%;top:12.2%;margin:0;font-size:4.6cqw;line-height:1.25;letter-spacing:.025em;font-weight:600}
#school-card .school-english{position:absolute;left:12.2%;top:22.1%;margin:0;font:italic 3.5cqw/1.2 'Times New Roman',serif;letter-spacing:0}
#school-card .school-program{position:absolute;left:13.4%;top:34.1%;margin:0;font-size:4.3cqw;line-height:1.3;letter-spacing:.045em;font-weight:600;white-space:nowrap}
#school-card .school-dates{position:absolute;left:13.4%;top:45.1%;margin:0;font:3.8cqw/1.3 'Times New Roman',serif;white-space:nowrap}
.school-crest{position:absolute;right:9.3%;top:11%;width:10.4%;aspect-ratio:373/571;overflow:hidden;mix-blend-mode:multiply}
.school-crest img{position:absolute;width:268.63%;max-width:none;height:auto;left:-84.18%;top:-37.65%}
#school-card[data-school=changsha] .school-crest{right:9.1%;top:10.5%;width:15.4%;aspect-ratio:1;border-radius:50%}
#school-card[data-school=changsha] .school-crest img{width:115.03%;left:-8.18%;top:-1.02%}
#school-card .school-awards{position:absolute;left:14%;right:9%;top:56.3%;margin:0;padding:0;border-top:1px solid #93632c66;display:block}
.school-row{box-sizing:border-box;display:flex;align-items:baseline;gap:5%;height:8.5cqw;border-bottom:1px solid #93632c33;white-space:nowrap;padding-top:2.2cqw}
.school-row:last-child{border-bottom:0}
#school-card dt{margin:0;font-size:3.3cqw;line-height:1.25;font-weight:600;letter-spacing:.035em}
#school-card dd{margin:0;font:italic 3.1cqw/1.3 'Times New Roman',serif}
#school-card .school-row-scholarship{gap:8%}
#school-card .school-row-degree{gap:7%}
#school-card .school-row-thesis{gap:7%}
#school-card .school-row-thesis dd{font-style:normal;font-size:2.8cqw}
#school-card[data-school=changsha] .school-program{top:37.5%;left:13.4%}
#school-card[data-school=changsha] .school-dates{top:48.7%;left:13.4%}
#school-card[data-school=changsha] .school-awards{top:60.4%;left:13.4%}
#school-card[data-school=changsha] .school-row{height:9cqw;border:0;padding-top:3.2cqw;gap:2%}
#school-card[data-school=changsha] .school-row-gpa dt,#school-card[data-school=changsha] .school-row-gpa dd{font:3.8cqw/1.3 'Times New Roman',serif;letter-spacing:0}
#school-card[data-school=changsha] .school-row-awards dt,#school-card[data-school=changsha] .school-row-awards dd{font:400 2.8cqw/1.3 'Songti SC','STSong',SimSun,serif;letter-spacing:.025em}
/* Secondary credentials use restrained warm-gray ink, below the main degree. */
#school-card .school-english,#school-card .school-dates,#school-card .school-awards{color:#776650}
#school-card .school-row-degree dt,#school-card .school-row-thesis dt{font-size:2.8cqw;font-weight:400}
#school-card .school-row-degree dd,#school-card .school-row-thesis dd{font-size:2.8cqw;font-weight:400}
#school-card .school-row-scholarship dt{font-weight:400}
.school-stamp-focused #player-finish{visibility:hidden}
#school-stamp-hint{position:fixed;left:0;top:0;z-index:35;padding:5px 8px;color:#f0e7d7;background:#2b211bd9;border:1px solid #e0cfa12b;border-radius:3px;font:11px system-ui;pointer-events:none}
#school-stamp-access{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:20px;z-index:32}
#school-stamp-access button{border:0;border-bottom:1px solid #eee0c64a;padding:7px 4px;background:transparent;color:#f1e5cf;font:12px 'Songti SC',serif;cursor:pointer;text-shadow:0 1px 4px #0009}
.school-stamp-focused #school-stamp-access,.school-stamp-focused #room-shortcuts,.school-stamp-focused #interaction-exit{visibility:hidden}
@media(max-width:650px){#school-card{left:8%;top:auto;bottom:7%;width:84%;transform:translate3d(0,12px,0)}#school-card.visible{transform:translate3d(0,0,0)}.school-return{bottom:-9%}}
@media(prefers-reduced-motion:reduce){#school-card{transition:opacity 100ms linear}}

@media(max-width:650px){#school-card h2{font-size:18px}#school-card .school-english{font-size:13px}#school-card .school-program{font-size:15px}#school-card .school-dates,#school-card[data-school=changsha] .school-row-gpa dt,#school-card[data-school=changsha] .school-row-gpa dd{font-size:13px}#school-card dt,#school-card dd{font-size:11px}#school-card .school-row-degree dt,#school-card .school-row-thesis dt,#school-card .school-row-degree dd,#school-card .school-row-thesis dd,#school-card[data-school=changsha] .school-row-awards dt,#school-card[data-school=changsha] .school-row-awards dd{font-size:11px}}
