/* Shared phone and tablet layout; loaded after page styles. */
img,svg{max-width:100%}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}input,select,textarea{box-sizing:border-box}main,section,article,figure,form{min-width:0}
@media(max-width:1024px){
 .certificate-preview-layout{grid-template-columns:minmax(0,1.3fr) minmax(230px,1fr);gap:24px}
 .enroll-layout{grid-template-columns:1fr}.enroll-aside{position:static}.enroll-steps{display:flex;gap:20px}.enroll-steps li{flex:1}.account-tip{margin-bottom:20px}
 .category-heading{flex-wrap:wrap}.rules-bottom-cta{flex-wrap:wrap}
}
@media(max-width:760px){
 body{font-size:14px}header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:0;padding:14px 16px 10px;gap:10px 8px;align-items:center}
 header .brand{display:block;min-width:0;padding:0}header .logo-lockup{width:180px;max-width:100%;height:auto}
 .header-account-actions{margin:0;gap:6px}.header-account-actions .nav-cta,.header-account-actions .nav-login{min-height:42px;padding:10px;font-size:12px;justify-content:center}
 header nav[aria-label="主导航"]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1/-1;grid-row:2;width:100%;gap:2px 6px;padding:8px 0 0;overflow:visible;border-top:1px solid #3d5672;order:initial}
 header nav[aria-label="主导航"]>a{display:flex;align-items:center;justify-content:center;min-height:42px;font-size:13px;padding:6px 2px;border-radius:5px}
 header nav[aria-label="主导航"]>a[aria-current="page"]{background:#b8e67612}
 .hero{min-height:0!important;padding:30px 20px 65px}.hero h1{font-size:clamp(42px,12vw,64px);line-height:1.2;letter-spacing:-2px}.hero h1 em{font-size:32px}.hero-description{font-size:14px;line-height:1.9}.eyebrow{font-size:10px;line-height:1.8;overflow-wrap:anywhere}.hero-note{flex-wrap:wrap;font-size:11px;gap:8px}
 .actions{flex-wrap:wrap;gap:12px}.primary,.secondary{min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;padding:12px 16px;gap:12px}.text-button{min-height:40px;line-height:1.7}
 .international-visual img{height:auto;aspect-ratio:4/3;object-fit:cover}.world-caption{position:relative;left:auto;bottom:auto;margin:-26px 10px 0;padding:13px;letter-spacing:.5px}.world-caption b{font-size:13px;line-height:1.6}.international-visual figcaption{font-size:10px;line-height:1.6}.hero-bottom{left:20px;right:20px;gap:12px;flex-wrap:wrap}
 .section,.project-rules-shell,.certificate-showcase,.award-objects,.certificate-products{padding:36px 20px}.section-top{margin-bottom:24px}.section-top h2,h2{font-size:26px;line-height:1.5;overflow-wrap:anywhere}.section-top>p{font-size:13px;line-height:1.8}
 .about-copy{font-size:14px}.principles{flex-wrap:wrap;gap:12px}.info-strip{padding:24px 20px;gap:8px}.info-strip strong span{font-size:11px;line-height:1.6}.world-strip{padding:18px 20px}
 .tabs{gap:6px}.tabs button{min-width:0;min-height:82px}.tabs button span{font-size:13px}.mission-copy{padding:24px 20px}.mission-copy h3{font-size:25px;line-height:1.5}.mission-copy>p{font-size:14px;line-height:1.9}.mission-art{overflow:hidden}.chips{flex-wrap:wrap}.chips span{font-size:12px}
 .rules-hero{padding:28px 20px 36px}.rules-hero h1{font-size:clamp(30px,8.5vw,42px);line-height:1.4;letter-spacing:-1px}.rules-lead{font-size:15px;line-height:1.9}.back-home{min-height:36px;margin-bottom:22px}.rules-meta{gap:12px}
 .rule-categories button{min-height:82px}.category-heading h2{font-size:25px}.category-contents{display:flex;flex-wrap:wrap}.category-contents a{min-height:42px;display:flex;align-items:center;font-size:12px}.rule-section p,.rule-section li,.rule-project p{font-size:14px;line-height:1.9}.rule-section h2{font-size:24px}.rule-project{gap:12px}.rule-project>div{min-width:0}.rule-table-wrap table{min-width:360px}.rule-table-wrap{max-width:100%;overscroll-behavior-x:contain}.scoring-list article{padding:20px}.rules-bottom-cta>.primary{width:100%}.category-heading>.primary{margin-top:10px}
 .guide-sections{display:flex;gap:8px;padding:14px 20px;flex-wrap:wrap}.guide-sections a{display:flex;align-items:center;min-height:44px;font-size:13px}.guide-checklist li{padding:22px 18px;grid-template-columns:30px 1fr}.guide-checklist li b{font-size:17px}.guide-checklist li span{font-size:14px}.timeline{grid-template-columns:1fr;gap:22px}.timeline p{font-size:14px;line-height:1.9}.faq summary{min-height:52px;font-size:14px;gap:15px}.faq details p{font-size:14px;line-height:1.9}
 .query-section,.honor-categories,.results-notice{padding:36px 20px;grid-template-columns:1fr;gap:24px}.query-card{padding:24px 18px}.query-card input,.query-card select,.enroll-card input:not([type=checkbox]):not([type=radio]),.enroll-card select,#platform-demo-form input,#platform-demo-form select,#platform-demo-form textarea{font-size:16px;min-height:46px;max-width:100%}.query-card>p,.field-help{font-size:12px}.query-card label{font-size:14px}.query-result{overflow-wrap:anywhere}.query-result h3{font-size:20px;line-height:1.6}
 .certificate-preview-layout,.certificate-acquire{grid-template-columns:1fr;gap:24px}.certificate-carousel{width:100%}.certificate-stage{width:100%;max-width:480px;aspect-ratio:.95}.certificate-carousel-controls{gap:8px}.certificate-carousel-controls button{min-width:42px;min-height:42px;font-size:12px;padding:8px 10px}.certificate-switches{order:3;flex-basis:100%;gap:6px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.certificate-description h3{font-size:25px}.certificate-description .primary{width:100%}.certificate-note{font-size:12px!important}.certificate-acquire{padding:0 20px 36px}.certificate-scan{padding:24px 18px}.certificate-acquire>div:first-child>.certificate-image{max-width:360px}.qr-pending{max-width:100%}.certificate-product{padding:22px 18px}.certificate-product button{width:100%}.award-object-grid{grid-template-columns:1fr}.award-object-art{padding:22px 15px 0}.award-object-art img{max-height:330px}
 .enroll-page{padding:28px 20px 45px}.enroll-heading h1{font-size:30px}.preview-note{padding:15px;font-size:12px;margin:20px 0}.enroll-steps{gap:10px}.enroll-card{padding:24px 16px}.form-grid,.form-grid.three{grid-template-columns:minmax(0,1fr)}.enroll-card label{font-size:14px}.form-actions>.primary,.form-actions>.secondary{width:100%}.event-options label{gap:10px;padding:14px 12px}.event-options small{font-size:12px}.event-options b{font-size:14px}.event-options label>span{min-width:0}.login-tabs button{font-size:14px;min-height:44px}.sms-code-row{flex-wrap:wrap}.sms-code-row label{flex:1;min-width:140px}.sms-code-row .secondary{min-height:46px}.teacher-add{min-height:44px}.teacher-remove{min-height:44px}.second-teacher{padding:18px 12px!important}.teacher-add-row small{font-size:12px}
 .personal-center{padding:0;border:0}.center-welcome{align-items:flex-start}.center-welcome>div:nth-child(2){flex:1;min-width:0}.center-welcome h2{font-size:24px}.center-welcome>.secondary{min-height:44px}.center-navigation{display:flex;gap:8px;flex-wrap:wrap}.center-navigation a{min-height:42px;display:flex;align-items:center;padding:5px 8px;font-size:13px}.center-overview{grid-template-columns:minmax(0,1fr)}.center-overview article:last-child{grid-column:auto}.center-overview strong{font-size:18px}.center-section{padding:20px 14px}.center-section-heading .text-button{min-height:42px;display:flex;align-items:center}.center-help{font-size:14px}.center-stage-tag{white-space:normal}.competition-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}.competition-stages li b,.participation-entry{font-size:13px}.competition-stages li small{font-size:11px}.participation-entry{min-height:44px}.center-next button{white-space:normal;width:100%}.center-next p{font-size:13px}.center-detail-grid .receipt{grid-template-columns:100px minmax(0,1fr);font-size:13px}.center-entry-number strong{font-size:18px;letter-spacing:1px}.center-footer-note{font-size:12px}
 #participation-gate{padding:25px 20px;max-height:85dvh;overflow-y:auto}.participation-gate-actions{display:grid;grid-template-columns:1fr}.participation-gate-actions>a,.participation-gate-actions>button{min-height:44px;font-size:14px}
 .notice-list{padding:0 20px 45px}.notice-detail{padding:30px 20px 45px}.notice-detail h1{font-size:27px;line-height:1.5}.notice-item{grid-template-columns:minmax(0,1fr) 24px}.notice-item h2{font-size:20px}.notice-category{grid-column:1/-1}.notice-detail article p{font-size:15px;line-height:2}.notice-actions{display:grid;grid-template-columns:1fr}.notice-actions>a{width:100%}.home-notice-card>a{padding:23px 20px}.home-notice-card p{font-size:14px}
 #platform-demo-form{padding:20px 15px}#platform-demo-form textarea{font-family:Consolas,monospace!important}#platform-demo-form button{width:100%}.notice-detail #platform-entry-id{display:block;margin-top:8px}
 .join{padding:36px 20px}.join h2{font-size:26px;line-height:1.6}.site-footer{padding:28px 20px calc(24px + env(safe-area-inset-bottom))}.site-footer .footer-main{grid-template-columns:minmax(0,1fr);gap:20px}.site-footer .footer-main>div{margin:0}.site-footer .logo-lockup{width:235px}.site-footer p{font-size:12px;line-height:1.9}.site-footer #contact{border-left:0;border-top:1px solid #435975;padding:18px 0 0}.site-footer #contact p{gap:10px;flex-wrap:wrap}.site-footer #contact a{font-size:14px;min-height:36px;display:inline-flex;align-items:center}.site-footer #contact p span{font-size:12px}.footer-organizations{overflow-wrap:anywhere}
}
@media(max-width:360px){header{padding-inline:12px;gap:10px 6px}header .logo-lockup{width:135px}.header-account-actions .nav-cta,.header-account-actions .nav-login{font-size:11px;padding:9px 7px}.hero,.section,.project-rules-shell,.query-section,.certificate-showcase,.award-objects,.enroll-page{padding-inline:16px}.hero h1{font-size:42px}.center-detail-grid .receipt{grid-template-columns:85px minmax(0,1fr)}.certificate-carousel-controls button{font-size:11px}.certificate-card-caption{font-size:10px}}

.managed-copy p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9;margin:18px 0}.managed-copy h1{overflow-wrap:anywhere}.managed-copy .primary{display:inline-flex;margin-top:24px}
