/* Shared phone / tablet presentation. Same URL, same session and data. */
@media(max-width:1024px){header{height:auto;min-height:74px;gap:10px;flex-wrap:wrap;padding:12px 18px}header .brand{min-width:0}header nav{order:3;flex:0 0 100%;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:22px;padding:10px 0 5px;scrollbar-width:thin}header nav .nav{flex:none;white-space:nowrap;min-height:40px;font-size:13px}header>.identity{margin-left:auto;font-size:13px;min-width:0;padding:10px 14px}.brand-wordmark{width:215px;height:57px}header .coming-tag{font-size:8px}.admin-workspace{grid-template-columns:190px minmax(0,1fr)}.admin-preview{position:static;grid-column:1/-1}.admin-mecha-stage img{max-height:550px}}
@media(max-width:600px){html{scroll-padding-top:15px}body{width:100%;min-width:0}*,*:before,*:after{box-sizing:border-box}header{padding:10px 12px 4px;gap:8px}.brand-wordmark{width:178px;height:48px;padding:0 3px}header>.identity{font-size:11px;padding:9px 10px;min-height:40px}header>.identity span{font-size:15px;margin-left:4px}header nav{gap:21px;padding:7px 0 4px}header nav .nav{font-size:12px;min-height:40px}header nav .active{color:#e9ca81}.notice{padding:11px 14px;font-size:10px;line-height:1.7}.notice>span{display:block;font-size:9px;line-height:1.6}.backend-status{font-size:9px;padding:8px 12px;overflow-wrap:anywhere}.hangar-home .hangar-season{gap:5px;flex-wrap:wrap;padding:10px 13px}.hangar-season>span{font-size:8px;letter-spacing:.17em}.hangar-season>b{font-size:10px}.hangar-season>small{display:none}.page,.other-page{min-width:0}#studio{padding:12px 10px 0}.hangar-home .workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}.workspace>*{min-width:0}.hangar-home .canvas{grid-row:1;grid-column:1}.hangar-home .parts{grid-row:2;grid-column:1;padding:17px 12px}.hangar-home .editor{grid-row:3;grid-column:1;padding:22px 18px}.hangar-title h1{font-size:20px;line-height:1.5;letter-spacing:-.04em;padding:0 8px}.hangar-title h1:before,.hangar-title h1:after{display:none}.hangar-title>span{font-size:7px;letter-spacing:.15em}.canvas-top{padding:8px;gap:6px;justify-content:flex-end}.canvas-top>span{margin-right:auto;font-size:8px}#view-progress{font-size:10px;min-height:38px;padding:6px 8px}#view-reset{min-height:38px;font-size:10px}.hangar-home #mecha{width:100%;height:auto;aspect-ratio:974/1500;max-height:none}.canvas-caption{gap:8px;flex-wrap:wrap;padding:12px;font-size:11px}.canvas-caption small{font-size:9px}.weapon-slot{right:2%;top:1%;padding:7px 9px}.weapon-slot span{font-size:6px}.weapon-slot b{font-size:10px}.weapon-slot small{font-size:7px}.part-list{max-height:260px!important;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:1fr 1fr;gap:5px 9px}.part-group-heading{grid-column:1/-1;margin-top:8px}.part-button{min-height:44px;font-size:11px;padding:7px;gap:6px}.part-button .num{font-size:10px}.part-button svg{width:30px;height:30px;flex:none}.filter button{min-height:38px;font-size:11px}.legend{margin-top:14px;font-size:10px}.part-heading h3{font-size:34px}.closeup-svg{max-width:100%}.editor input,.editor select,.editor textarea,.studio-card input,.studio-card select,.studio-card textarea,dialog input,dialog select,dialog textarea{font-size:16px!important;max-width:100%;min-width:0}input,select,textarea{box-sizing:border-box}select{width:100%}.editor label{font-size:12px}.editor .primary,.claim-gate>.primary{width:100%;min-height:48px;font-size:16px}.editor .fineprint{font-size:11px;line-height:1.8}.season-strip{grid-template-columns:1fr 1fr!important;gap:0;padding:0!important;margin-top:16px}.season-strip>div{padding:16px!important;min-width:0;border-bottom:1px solid #d4c9af}.season-strip strong{font-size:22px}.season-strip .small-strong{font-size:12px}.season-strip small{font-size:10px}.season-strip .champion-summary{grid-column:1/-1}.other-page h1{overflow-wrap:anywhere}#hall,#garage,#archive,#market,#rules{padding:26px 16px 40px}.hall-heading,.garage-heading,.market-heading,.monument-heading{gap:14px}.hall-heading h1,.garage-heading h1,.market-heading h1,.monument-heading h1{font-size:28px}.hall-season{font-size:12px}.hall-season small{font-size:9px}.hall-console{padding:24px 20px}.hall-console h2{font-size:28px}.hall-data dd{font-size:19px}.hall-data .wide dd{font-size:11px}.hall-console-top{gap:10px;flex-wrap:wrap}.hall-emblem{min-height:390px}.hall-emblem>img{height:330px}.hall-ring{width:290px;height:290px}.hall-history summary span{line-height:1.8}.garage-heading h1 span{font-size:12px}.garage-dashboard>div{padding:16px;min-width:0}.garage-dashboard strong.garage-word{font-size:14px}.garage-bay-circle{width:280px;height:280px}.garage-bay-title{gap:10px;left:16px;right:16px}.garage-records{padding:20px 16px}.garage-section-heading{gap:10px;flex-wrap:wrap}.garage-section-heading h2{font-size:20px}.garage-actions>*{flex:1 0 100%;min-height:44px}.garage-nft-note{gap:12px}.monument-edition{font-size:40px}.monument-edition small{font-size:7px}.monument-manifest{padding:26px 20px}#archive .monument-overview h2{font-size:21px}#archive #monument-mecha{height:310px}.monument-section-title span{font-size:8px}.archive-top{display:flex;flex-wrap:wrap}.archive-top button{min-height:44px;flex:1 0 100%}.archive-row{grid-template-columns:35px minmax(0,1fr)!important;gap:12px}.archive-row>p{grid-column:1/-1;overflow-wrap:anywhere}.market-heading{align-items:flex-start}.market-badge{font-size:7px;padding:10px;white-space:normal}.market-badge small{font-size:9px}.market-hero-copy{padding:28px 22px}.market-orbit{width:280px;height:280px}.market-statusbar>div{min-width:0;padding:15px 10px}.market-statusbar strong{font-size:12px}.market-statusbar small{font-size:9px}.rules-heading h1{font-size:30px}.rules-sigil{width:70px}.rules-sigil svg{width:70px}.rules-caption{font-size:7px;letter-spacing:.1em}.rules-ledger h2{font-size:18px}.rules-ledger p{font-size:12px}.rules-end .primary{width:100%;min-height:46px}dialog,#identity-dialog,#admin-wallet-dialog{width:calc(100vw - 24px)!important;max-width:510px;padding:26px 20px!important;max-height:calc(100dvh - 32px);margin:auto;overflow-y:auto}#identity-dialog h2,#admin-wallet-dialog h2{font-size:26px}.wallet-choice{min-height:76px;padding:15px!important}.wallet-choice-copy strong{font-size:16px}.wallet-choice-copy small{font-size:10px}.dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.dialog-actions button{min-height:44px;flex:1 0 100%}#wallet-connected>.primary{width:100%;min-height:48px}#wallet-connected>.secondary{min-height:42px}.admin-page{padding:24px 14px 45px}.admin-title{display:block}.admin-title h1{font-size:25px;line-height:1.5}.admin-controls{align-items:stretch;margin-top:18px}.admin-controls button{min-height:44px}.admin-workspace{display:flex;flex-direction:column;gap:16px}.admin-workspace>*{width:100%;min-width:0}.admin-tasks{padding:18px 12px}#task-list{max-height:230px;overflow-y:auto;display:grid;grid-template-columns:1fr 1fr;gap:5px}.task-button{min-height:44px;padding:8px;font-size:11px}.task-button>small{font-size:8px}.admin-middle{width:100%}.admin-page .studio-card{padding:20px 16px}.admin-preview{position:static}.admin-mecha-stage img{max-height:500px}.audit-row{grid-template-columns:minmax(0,1fr);gap:7px;font-size:11px}#final-result{overflow-wrap:anywhere;white-space:pre-wrap}.version-actions button{min-height:42px;font-size:11px}#publish-full,#upload-art{width:100%;min-height:48px}.admin-page input[type=file]{width:100%;font-size:12px!important}.admin-page .primary,.admin-page .secondary{min-height:44px;white-space:normal}.admin-page label{font-size:12px}.admin-page .section-top{gap:10px;flex-wrap:wrap}.admin-page h2{font-size:21px}.admin-page p{line-height:1.9;overflow-wrap:anywhere}#nft-providers{display:grid;gap:10px}#nft-confirm button{width:100%;min-height:46px;margin-top:10px}.admin-page .season-strip{grid-template-columns:1fr 1fr!important}footer{flex-wrap:wrap;gap:12px;padding-bottom:max(18px,env(safe-area-inset-bottom))}.studio-card,.monument-part,.version-card{min-width:0}button,a{touch-action:manipulation}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:1024px){header nav{scrollbar-width:none}header nav::-webkit-scrollbar{display:none}}
