/* Rectangular surfaces preserve the raised shadow outside each card. */
.screen-home{padding:0!important;gap:0!important}.screen-home .hero{width:100%;height:100%;flex:1}
.screen .section:not(.organizations):not(.entry-section),.quick-facts,.topic-grid article,.technical,.aigc,.award-levels>div,.download-card,.qr-trigger{
 --surface:#f1e6d8;position:relative;isolation:isolate;clip-path:none;background:transparent!important;border:0;box-shadow:none!important;filter:drop-shadow(0 5px 0 #57213128) drop-shadow(0 12px 12px #35091850)
}
.screen .section:not(.organizations):not(.entry-section)::before,.quick-facts::before,.topic-grid article::before,.technical::before,.aigc::before,.award-levels>div::before,.download-card::before,.qr-trigger::before{
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--surface);clip-path:none;box-shadow:inset 0 2px 0 #fff9,inset 0 -5px 0 #67453225
}
.topic-grid article,.technical,.aigc,.award-levels>div,.qr-trigger{--surface:#faf3e9}
.download-card{--surface:#28314e}.download-card:hover{--surface:#354365}
.topic-grid{clip-path:none;align-items:stretch;gap:18px}
.topic-grid article{padding:0!important;overflow:visible;display:flex;flex-direction:column}
.topic-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;clip-path:none}
.topic-copy{padding:12px 16px 18px}.topic-no{display:none}.topic-grid h4{margin:0 0 8px;font-size:18px}.topic-grid p{font-size:14px;line-height:1.65}
.screen-requirements{height:calc(min(100svh,56.25vw) - var(--header));min-height:calc(min(100svh,56.25vw) - var(--header));overflow-y:auto}
.screen-awards{height:auto;min-height:calc(min(100svh,56.25vw) - var(--header));overflow:visible}
#page-scroll::after{content:"";display:block;height:var(--tail-space,0px);pointer-events:none}
/* Match both columns at their top and bottom edges. Nested wrap must not narrow the timeline. */
.information-layout{align-items:stretch;margin-block:0;flex-shrink:0}
.screen-introduction .introduction-card{margin:0;height:100%;min-width:0}
.information-right{display:grid;grid-template-rows:1fr auto;align-items:stretch}
.information-right .section{max-width:none;margin:0}.information-right #schedule{width:100%;margin:0}
.information-right #schedule>.section{width:100%;max-width:none;height:100%}
.screen .entry-section{background:transparent;box-shadow:none;filter:none;clip-path:none;flex-shrink:0;padding:12px 6px!important}
.entry-heading h2,.entry-heading p{color:#f1e6d8}
.service-qr{--surface:#fff;padding:8px 10px 0;color:#087e43;gap:6px}
.service-qr>span{display:block;background:#07a854;color:white;align-self:stretch;margin:0 -10px;padding:5px 10px;font-weight:600}
.service-qr>span::before{content:"";display:inline-block;width:10px;height:8px;background:white;border-radius:50%;margin-right:6px;box-shadow:4px 3px 0 #baf3ce}
.service-qr img{background:white}
.authorization-button{display:inline-flex;gap:24px;align-items:center;margin-top:12px;padding:8px 14px;background:#aa2b3a;color:#fff;border:0;font:500 14px/1.5 var(--ui-font);cursor:pointer;box-shadow:0 4px 0 #752230,0 6px 10px #52152530;clip-path:none}
.authorization-dialog{width:min(720px,90vw);max-height:80vh;overflow:auto;padding:28px 32px;background:#f1e6d8;color:#28314e;border:0;border-radius:0;box-shadow:0 24px 80px #16081777}
.authorization-dialog::backdrop{background:#160817b8;backdrop-filter:blur(4px)}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.dialog-heading h2{font:600 23px/1.4 var(--ui-font);color:#28314e;letter-spacing:0}
.dialog-close{border:0;width:34px;height:34px;background:#aa2b3a;color:white;font-size:26px;cursor:pointer;flex-shrink:0}.authorization-content p{font-size:16px;line-height:1.9;margin-bottom:14px}
/* The supplied single texture continues across all three content pages. */
#page-scroll::before{top:var(--texture-top,900px);height:var(--texture-height,2700px);background-image:url('assets/page-texture-v2.png');background-size:100% 100%;opacity:.32;mix-blend-mode:screen;z-index:0}
.screen{z-index:1}.screen-home{background:#aa2b3a}
@media(max-height:850px){.topic-copy{padding:10px 13px 13px}.topic-grid h4{font-size:17px}.topic-grid p{font-size:14px}.authorization-button{margin-top:10px;padding:6px 12px}}
/* Clear hierarchy: section headings and subheadings exceed body text by at least 4px. */
.screen .section-heading h2,.information-right .section-heading h2{font-size:24px;font-weight:700}
.screen h3.subheading,.requirements-grid h3,.information-right .eligibility h3{font-size:20px;font-weight:700}
.topic-grid h4,.closing-top .download-card h3{font-size:18px;font-weight:700}
.information-right .timeline h3{font-size:20px;font-weight:700}
#requirements>.section-heading{margin-bottom:8px}#requirements>.section-description{margin-top:0;margin-bottom:14px}
.requirements-grid{align-items:start;gap:20px;margin-top:16px}
.requirements-grid .technical,.requirements-grid .aigc{padding:14px 18px}
.requirements-grid h3{margin:0 0 10px}.screen-requirements .spec-row{padding:5px 0;grid-template-columns:110px 1fr;gap:12px;align-items:start}
.spec-row>span{display:block;background:#aa2b3a;color:#fff;font-size:16px;font-weight:700;line-height:1.45;text-align:center;padding:5px 6px}
.requirements-grid .spec-row p,.requirements-grid .aigc p{font-size:14px;line-height:1.5;margin:0}
.requirements-grid .spec-row strong{font-size:16px;line-height:1.5}
.requirements-grid .aigc ol{list-style:none;padding:0;counter-reset:rule}
.requirements-grid .aigc li{counter-increment:rule;padding:0;margin:0 0 7px;display:grid;grid-template-columns:180px 1fr;gap:12px;align-items:start}
.requirements-grid .aigc li:last-child{margin-bottom:0}
.requirements-grid .aigc strong{display:block;background:#aa2b3a;color:white;font-size:16px;line-height:1.45;font-weight:700;padding:5px 8px}
.requirements-grid .aigc strong::before{content:counter(rule) '. ';font-weight:700}
.downloads-layout{display:grid;grid-template-columns:minmax(0,1fr) 136px;gap:16px;align-items:center}
.download-links{min-width:0;display:grid;gap:12px}.closing-top .pledge-download{margin:0}
.closing-top .download-card{padding:12px 16px;gap:14px;min-height:72px}.file-icon{width:30px;height:38px;flex-shrink:0;color:#f1e6d8}
.downloads-layout .authorization-button{width:136px;height:136px;margin:0;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:10px;text-align:center;font-size:17px;font-weight:700;line-height:1.6}
.entry-codes{justify-content:center;gap:clamp(35px,6vw,100px)}
.notice-open{align-self:flex-end;margin-top:16px;background:#aa2b3a;color:white;cursor:pointer;font-weight:700}
.notice-dialog{width:min(980px,90vw);max-height:86vh;overflow:auto;padding:26px 36px;background:#f1e6d8;color:#28314e;border:0;border-radius:0;box-shadow:0 24px 80px #16081777}
.notice-dialog::backdrop{background:#160817b8;backdrop-filter:blur(4px)}
.notice-dialog>.dialog-heading{position:sticky;top:-26px;background:#f1e6d8;padding:16px 0;z-index:1}
.full-notice{font-size:16px;line-height:1.85}.full-notice h1{font:700 24px/1.6 var(--ui-font);color:#28314e;text-shadow:none;letter-spacing:0;text-align:center;margin:12px 0 24px}.full-notice h2{font:700 21px/1.5 var(--ui-font);color:#aa2b3a;letter-spacing:0;margin:24px 0 12px}.full-notice p{margin:0 0 12px}.full-notice table{width:100%;border-collapse:collapse}.full-notice td{border:1px solid #c8b6a4;padding:8px;white-space:pre-line}
/* Hover, keyboard focus and pressed state apply to every interactive control. */
a,button{transition:transform .16s ease,filter .16s ease,background-color .16s ease,box-shadow .16s ease;color:inherit}
a:hover,button:hover{filter:brightness(1.1);transform:translateY(-2px)}
a:active,button:active,a.is-pressed,button.is-pressed{transform:translateY(2px) scale(.98);filter:brightness(.88)}
a:focus-visible,button:focus-visible{outline:3px solid #cfa45c;outline-offset:4px}
.notice-open:hover,.authorization-button:hover,.dialog-close:hover,.qr-dialog-close:hover{background:#c13b48;color:white}
@media(max-height:850px){.requirements-grid .technical,.requirements-grid .aigc{padding:12px 15px}.requirements-grid .aigc li{grid-template-columns:166px 1fr;gap:9px}.requirements-grid{gap:16px}.spec-row>span,.requirements-grid .aigc strong{font-size:16px}.downloads-layout{grid-template-columns:minmax(0,1fr) 120px;gap:12px}.downloads-layout .authorization-button{width:120px;height:120px;font-size:16px}.closing-top .download-card{padding:9px 12px;min-height:65px}.screen .section-heading h2{font-size:24px}}
/* Latest typography and award simplification. */
.requirements-grid h3{font:700 16px/1.5 "SimHei","Microsoft YaHei",sans-serif}
.spec-row>span,.requirements-grid .aigc strong{font:700 15px/1.5 "SimHei","Microsoft YaHei",sans-serif}
.award-description{font-size:17px;line-height:1.8;color:#28314e;margin:18px 0}
.downloads-layout{align-items:stretch;grid-template-columns:minmax(0,1fr) 148px}
.downloads-layout .authorization-button{height:auto;min-height:100%;width:148px;align-self:stretch;gap:2px;font-weight:700}
.authorization-button .ampersand{font:500 22px/1.3 Georgia,serif}
.information-right{grid-template-rows:auto 1fr}
.information-right #overview{padding:20px 24px}
.information-right #overview .overview-grid{gap:10px}
.information-right #overview .section-heading{margin-bottom:12px}
.information-right #overview .eligibility li{padding-bottom:5px;line-height:1.55}
.schedule-art{display:block;width:100%;height:auto;object-fit:contain}
.information-right #schedule>.section{display:flex;flex-direction:column;justify-content:center;padding:18px 20px}
.magnetic{translate:var(--magnet-x,0px) var(--magnet-y,0px);transition:translate .22s cubic-bezier(.2,.8,.2,1),transform .16s,filter .16s,background-color .16s;will-change:translate}
@media(prefers-reduced-motion:reduce){.magnetic{translate:none!important;transition:none}}
@media(max-height:850px){.information-right #overview{padding:16px 20px}.information-right #overview .eligibility li{font-size:15px;line-height:1.5;padding-bottom:4px}.downloads-layout{grid-template-columns:minmax(0,1fr) 136px}.downloads-layout .authorization-button{width:136px;height:auto}.information-right #schedule>.section{padding:12px 16px}}
.magnetic{transition:translate .35s cubic-bezier(.2,1.5,.4,1),transform .16s,filter .16s,background-color .16s}
/* QR cards enlarge without changing the row layout; clicking retains the large dialog. */
.entry-codes .qr-trigger{transform-origin:center;transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .22s;cursor:zoom-in}
.entry-codes .qr-trigger:hover,.entry-codes .qr-trigger:focus-visible{transform:translateY(-5px) scale(1.16);z-index:3;filter:drop-shadow(0 7px 0 #57213128) drop-shadow(0 16px 18px #35091865)}
.entry-codes .qr-trigger:active,.entry-codes .qr-trigger.is-pressed{transform:translateY(-2px) scale(1.10)}
@media(prefers-reduced-motion:reduce){.entry-codes .qr-trigger{transition:none}}
/* Banner typography: a staggered composition within the left half. */
#page-scroll::before{opacity:.70}
.hero .hero-inner{width:55%;max-width:960px;margin:0 0 0 6.5%;padding:24px 0;display:flex;flex-direction:column;align-items:center;transform:translateY(-2%)}
.hero .hero-year{align-self:flex-start;margin-left:15%;font:500 16px/1.5 Georgia,serif;letter-spacing:6px;color:#cba56b;gap:16px}
.hero .hero-year span{background:#cba56b;width:34px}
.hero .hero-kicker{align-self:flex-start;margin:20px 0 18px 8%;font:500 clamp(22px,1.9vw,34px)/1.5 "SimSun","Songti SC",serif;letter-spacing:.22em;color:#f0d7ad}
.hero h1{width:100%;text-align:center;letter-spacing:0;text-shadow:none}
.hero h1 .brush-title{position:relative;isolation:isolate;width:max-content;margin:0 auto;font-family:'ContestBrush','KaiTi',serif;font-size:clamp(112px,9.7vw,184px);font-weight:400;line-height:1.25;letter-spacing:.04em;color:#f3cf83;background:linear-gradient(165deg,#fff0c6 8%,#e9bb62 36%,#fff0bb 47%,#c99137 73%,#f6d78c 94%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-webkit-text-stroke:0;filter:drop-shadow(0 7px 8px #3a071a66);transform:rotate(-3deg)}
.hero h1 .brush-title::before{content:attr(data-text);position:absolute;inset:0;z-index:-1;color:#986026;-webkit-text-fill-color:#986026;transform:translate(1px,3px);text-shadow:0 1px #8c4c22,0 2px #8c4c22,0 3px #6d321d}
.hero h1 .formal-title{width:max-content;max-width:100%;margin:24px 0 0 auto;padding-right:3%;font:700 clamp(26px,2.35vw,44px)/1.5 var(--ui-font);letter-spacing:.09em;color:#f8e8ce;text-shadow:0 2px 0 #833623,0 5px 16px #39091d80;white-space:nowrap}
@media(max-height:850px){.hero .hero-year{font-size:14px}.hero .hero-kicker{margin-top:16px;margin-bottom:10px}.hero h1 .formal-title{margin-top:18px}}
/* Solid gold face avoids the extrusion showing through transparent glyphs. */
.hero h1 .brush-title{background:none;color:#efc873;-webkit-text-fill-color:#efc873;text-shadow:-1px -1px 0 #fff0c1,1px 1px 0 #bd8538,1px 2px 0 #a86a28,2px 3px 0 #945022,2px 4px 0 #793a20,3px 5px 0 #64291c}
.hero h1 .brush-title::before{content:none}
/* Every main section is listed in the upper-right navigation. */
.header #main-nav{display:grid;grid-template-columns:repeat(4,max-content);justify-content:end;column-gap:24px;row-gap:2px;font-size:14px}
.header #main-nav a{padding:3px 0;text-align:right;line-height:1.65}
.header #main-nav a.active::after{bottom:0}
@media(max-width:1400px){.header #main-nav{column-gap:18px;font-size:13px}}
/* Outpainted timeline fills the card; its editable heading overlays the quiet upper area. */
/* Shared edges and consistent sizing across the six requirement cards. */
.screen-home .hero{background:#68151b url('assets/banner-complete-v5.png') center/cover no-repeat}
.screen-home .hero::before{display:none}
.screen-home .hero .hero-inner{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Keep the requirements page within one PC viewport. */
#requirements>.section-heading>.section-note{display:none}
#requirements .topic-image{aspect-ratio:16/9}
#requirements .topic-copy{padding:9px 13px 11px}
#requirements .topic-grid h4{font-size:16px;margin-bottom:5px}
#requirements .topic-grid p{font-size:13px;line-height:1.48}
#requirements .requirements-grid{margin-top:12px;gap:16px}
#requirements .requirements-grid .technical,#requirements .requirements-grid .aigc{padding:11px 14px}
#requirements .requirements-grid h3{margin-bottom:6px}
#requirements .requirements-grid .spec-row{padding:3px 0}
/* Align the closing cards and QR row with the school-logo field below. */
.screen-awards .closing-top,.screen-awards #entries{width:calc(100% - clamp(150px,12.28vw,192px));margin-left:clamp(96px,8.82vw,138px);margin-right:0}
.screen-awards #entries{padding-inline:0!important}
@media(max-width:1400px){.screen-awards .closing-top,.screen-awards #entries{width:calc(100% - 160px);margin-left:100px}}
#requirements .topic-grid{gap:20px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}
#requirements .requirements-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch}
#requirements .requirements-grid>*,#requirements .topic-grid>*{min-width:0;margin:0;height:auto}
#requirements .topic-copy{flex:1}
.header #main-nav{display:flex;flex-wrap:nowrap;gap:clamp(12px,1.5vw,26px);white-space:nowrap;font-size:14px}
.header #main-nav a{flex-shrink:0;text-align:center}
.header .nav-wrap{gap:24px}.header .brand{flex-shrink:0}
#organizations{--org-gap:12px;--org-label:72px;--logo-height:47px}
#organizations .org-logo-row{gap:var(--org-gap);width:100%}
#organizations .org-logo-row h3{flex-basis:var(--org-label)}
#organizations .org-primary{width:100%}
#organizations .org-primary img{width:calc((100% - var(--org-label) - 7 * var(--org-gap))/7);height:var(--logo-height);object-fit:contain;padding:6px 9px;flex-shrink:0}
#organizations .school-logos{gap:9px var(--org-gap)}
#organizations .school-logos img{height:var(--logo-height);object-fit:contain;padding:6px 9px}
.closing-top #awards .section-heading h2{font-size:26px}
.closing-top #awards .special-awards{font-size:17px;line-height:1.65;gap:8px 18px;margin:18px 0}
.closing-top #awards .special-awards>span{font-size:16px;font-weight:500;color:#786350}
.closing-top #awards .award-note{font-size:16px;line-height:1.8;margin-top:18px}
.entry-codes{align-items:stretch;gap:clamp(20px,3.5vw,60px);justify-content:center}
.submission-platform{width:220px;align-self:stretch;display:flex;flex-direction:column;text-align:center;background:#fff1ee;color:#28314e;text-decoration:none;box-shadow:0 5px 0 #57213128,0 12px 12px #35091850}
.submission-brand{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:8px 12px}
.submission-brand img{width:185px;max-width:100%;height:auto;object-fit:contain}
.submission-brand strong{font-size:18px;line-height:1.3;letter-spacing:2px}
.submission-platform>span{display:block;padding:5px 8px;background:#28314e;color:#fff;font:500 14px/1.5 var(--ui-font)}
@media(max-height:850px){#organizations{--org-label:66px;--logo-height:38px}.submission-platform{width:200px}.submission-brand img{width:160px}.submission-brand strong{font-size:16px}.submission-platform>span{font-size:13px}}
.information-right #schedule>.section{padding:0;display:block;min-height:0;overflow:hidden}
.information-right #schedule .schedule-art{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0}
.information-right #schedule .section-heading{position:absolute;z-index:1;top:24px;left:24px;right:24px;margin:0;gap:12px}
.information-right #schedule .section-note{color:#574637;text-shadow:0 1px 2px #fff9}
@media(max-height:850px){.information-right #schedule .section-heading{top:18px;left:20px;right:20px}}

/* Large hit targets for pagination. */
.page-dots{right:10px;z-index:1000;gap:0}.page-dots a{display:grid;place-items:center;width:32px;height:32px;background:transparent;box-shadow:none;border-radius:0;transform:none!important}.page-dots a::before{content:"";width:8px;height:8px;border-radius:50%;background:#f1e6d870;pointer-events:none}.page-dots a.active{background:transparent}.page-dots a.active::before{background:#f1e6d8;transform:scale(1.4)}
#page-scroll{touch-action:none}

