/* The campus is the home screen. Systems live in readable sheets above the world.
   Only the 1100 × 660 room is scaled; no actor or furniture dimensions change. */
body:has(.academy-immersive){--academy-edge:clamp(12px,2vw,28px);--academy-cream:#fffbed;--academy-forest:#214a3c;--academy-gold:#ebc86d;--academy-shadow:0 8px 28px #193c3024;height:100vh;height:100dvh;min-height:0;margin:0;padding:0;overflow:hidden;background:#d8e3be}
body:has(.academy-immersive)>#academyMain{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;display:block;overflow:hidden}
body:has(.academy-immersive)>footer,body:has(.academy-immersive) #academyMain>.academy-heading{display:none}
body:has(.academy-immersive) #academyRoot{height:100%;min-height:0}
.academy-campus.academy-immersive{position:relative;width:100%;height:100%;max-height:none;margin:0;display:block;overflow:hidden;border:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 50% 38%,#f4f3dd 0,#e3e8cb 42%,#c3d3ac 100%)}
.academy-immersive:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 0 100%,#718f7622,transparent 48%),radial-gradient(ellipse at 100% 0,#fff8dc80,transparent 56%)}
.academy-immersive .academy-home,.academy-immersive .academy-home>.campus-main,.academy-immersive .academy-home .campus-scene-column{position:absolute;inset:0;display:block;height:100%;width:100%;min-height:0;min-width:0;margin:0;padding:0;border:0;background:transparent;overflow:hidden}
.academy-immersive .campus-viewport{position:absolute;inset:88px var(--academy-edge) 130px;width:auto;height:auto;max-width:none;max-height:none;min-height:0;aspect-ratio:auto;flex:none;margin:0;overflow:hidden;border:0;border-radius:20px;background:transparent;touch-action:auto;outline-offset:-4px}
.academy-immersive .campus-viewport .campus-scene.campus-simulation{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(var(--campus-room-scale,1));transform-origin:center;border-radius:16px;box-shadow:0 12px 40px #243f302b;overflow:hidden}
.academy-immersive .campus-spotlights{display:none}
/* Small edge-anchored islands keep the classroom, field and lounge visible. */
body:has(.academy-immersive)>.academy-header{position:fixed;z-index:70;top:max(12px,env(safe-area-inset-top));left:max(var(--academy-edge),env(safe-area-inset-left));right:max(var(--academy-edge),env(safe-area-inset-right));height:48px;min-height:48px;width:auto;max-width:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:12px;border:0;background:none;pointer-events:none}
body:has(.academy-immersive) .academy-header>.brand,body:has(.academy-immersive) .academy-mobile-menu{pointer-events:auto}
body:has(.academy-immersive) .academy-header>.brand{height:48px;padding:9px 14px;gap:8px;border:1px solid #f8fbe1b3;border-radius:16px;background:#fffbeded;box-shadow:var(--academy-shadow);font-size:18px;letter-spacing:.7px;color:#294d3b}
body:has(.academy-immersive) .academy-header>.brand>span{font-size:28px;color:#bf6543}
body:has(.academy-immersive) .academy-header>.brand small{font-size:9px;letter-spacing:2.1px;margin-top:4px}
body:has(.academy-immersive) .academy-header>nav,body:has(.academy-immersive) .academy-header>.save-label{display:none}
body:has(.academy-immersive) .academy-mobile-menu{display:block;position:relative;z-index:80;flex:none}
body:has(.academy-immersive) .academy-mobile-menu summary{display:flex;align-items:center;justify-content:center;min-height:48px;min-width:70px;padding:10px 16px;list-style:none;cursor:pointer;border:1px solid #f8fbe1b3;border-radius:16px;background:#fffbedf2;box-shadow:var(--academy-shadow);font-size:12px;font-weight:750;color:#294d3b}
body:has(.academy-immersive) .academy-mobile-menu summary::-webkit-details-marker{display:none}
body:has(.academy-immersive) .academy-mobile-menu[open] summary{background:#254c3c;color:#fffbed}
body:has(.academy-immersive) .academy-header .academy-mobile-menu nav{position:absolute;top:56px;right:0;display:grid;gap:2px;align-items:stretch;width:220px;max-height:calc(100dvh - 100px);overflow:auto;padding:8px;border:1px solid #c4d1b8;border-radius:16px;background:#fffbed;box-shadow:0 12px 36px #14362833}
body:has(.academy-immersive) .academy-mobile-menu nav a,body:has(.academy-immersive) .academy-mobile-menu nav button{display:flex;align-items:center;min-height:44px;padding:10px 13px;border:0;border-radius:9px;font-size:13px;text-align:left;text-decoration:none;background:transparent;color:#284d3e}
body:has(.academy-immersive) .academy-mobile-menu nav a:hover,body:has(.academy-immersive) .academy-mobile-menu nav button:hover{background:#eaf0d9}
.academy-immersive .hub-academy-top{position:absolute;z-index:30;top:max(12px,env(safe-area-inset-top));left:210px;right:112px;min-height:48px;height:auto;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:nowrap;padding:0;background:none;pointer-events:none}
.academy-immersive .hub-academy-top .campus-heading{position:static;flex:0 1 auto;width:auto;min-width:0;min-height:0;display:flex;flex-wrap:nowrap;gap:8px;padding:0;background:none;color:#294d3b;pointer-events:auto}
.academy-immersive .hub-academy-top .campus-heading h2{display:none}
.academy-immersive .hub-academy-top .campus-heading .eyebrow{max-width:155px;font-size:10px;letter-spacing:1px;line-height:1.4;color:#45634c;margin:0}
.academy-immersive .hub-academy-top .class-metrics{display:none}
.academy-immersive .campus-tools{gap:6px;flex-wrap:nowrap}
.academy-immersive .campus-tools button{min-height:44px;padding:8px 12px;font-size:11px;border-radius:13px}
.academy-immersive .academy-hud-resources{display:flex;align-items:stretch;gap:8px;min-width:0;pointer-events:auto}
.academy-immersive .academy-hud-resources button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;min-width:132px;padding:8px 14px;border:1px solid #fffdecbf;border-radius:15px;background:#fffbedf2;color:#294d3b;box-shadow:var(--academy-shadow);text-align:left;font-size:11px;line-height:1.25}
.academy-immersive .academy-hud-resources button b,.academy-immersive .academy-hud-resources button strong{display:block;font:700 23px/1 'Barlow Condensed','Arial Narrow',sans-serif;font-variant-numeric:tabular-nums;color:#234d3b}
.academy-immersive .academy-hud-resources button:last-child{background:#fff0c7f2;border-color:#f5dda5;color:#705226}
.academy-immersive .academy-hud-resources button:last-child :is(b,strong){color:#705226}
.academy-immersive .campus-schedule{position:absolute;z-index:20;left:var(--academy-edge);bottom:calc(22px + env(safe-area-inset-bottom));height:66px;min-height:44px;max-width:calc(50% - 290px);display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:7px 10px 7px 14px;border:1px solid #f8fbe1b3;border-radius:18px;background:#fffbedec;box-shadow:var(--academy-shadow);color:#345442}
.academy-immersive .campus-schedule>div{min-width:0;display:grid;gap:3px;flex:1}
.academy-immersive .campus-schedule strong{font-size:12px;line-height:1.25}
.academy-immersive .campus-schedule>div>span{display:none}
.academy-immersive .campus-schedule ol,.academy-immersive .campus-schedule>[data-campus-next]{display:none}
.academy-immersive .campus-scene-picker{display:block;flex:none;font-size:0}
.academy-immersive .campus-scene-picker select{display:block;max-width:130px;width:130px;min-height:44px;padding:8px;border:1px solid #c8d3b9;border-radius:11px;background:#f1f4e6;color:#35513f;font-size:12px}
.academy-immersive .campus-mobile-actions{position:absolute;z-index:20;right:var(--academy-edge);bottom:calc(22px + env(safe-area-inset-bottom));display:flex;gap:8px;padding:0}
.academy-immersive .campus-mobile-actions button{min-height:66px;max-width:118px;padding:8px 14px;border:1px solid #f8fbe1b3;border-radius:18px;background:#fffbeded;color:#345442;box-shadow:var(--academy-shadow);font-size:12px;line-height:1.35}
.academy-immersive .academy-system-dock{position:absolute;z-index:30;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:min(540px,calc(100% - 24px));padding:8px;border:1px solid #fffce3cc;border-radius:24px;background:#244c3eed;box-shadow:0 12px 36px #15382b36,inset 0 1px 0 #ffffff29}
.academy-immersive .academy-system-dock button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:68px;padding:8px 6px;border:1px solid transparent;border-radius:17px;background:transparent;color:#fffbed;font-size:12px;font-weight:700;line-height:1.15;transition:background .16s,transform .16s}
.academy-immersive .academy-system-dock svg{width:25px;height:25px;fill:none;stroke:#e4d6a6;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.academy-immersive .academy-system-dock button:first-child{background:#f4e2ac;color:#35503a;box-shadow:inset 0 1px 0 #fff7d5}
.academy-immersive .academy-system-dock button:first-child svg{stroke:#496747}
.academy-immersive .academy-system-dock button:hover{background:#ffffff18;transform:translateY(-2px)}
.academy-immersive .academy-system-dock button:first-child:hover{background:#fff0bf}
.academy-immersive button:focus-visible,.academy-immersive select:focus-visible{outline:3px solid #b6542c;outline-offset:3px}
/* A single scrolling sheet owns all longer decisions; the world never scrolls. */
.academy-immersive .academy-system-sheet,.academy-immersive .campus-mobile-sheet{box-sizing:border-box;width:min(1040px,calc(100vw - 40px));height:auto;max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #dce2ca;border-radius:24px;background:#f7f6e9;color:#244e3c;box-shadow:0 24px 90px #102a2455;overflow:auto;overscroll-behavior:contain}
.academy-immersive .academy-system-sheet:not([open]),.academy-immersive .campus-mobile-sheet:not([open]){display:none}
.academy-immersive .academy-system-sheet[open]{display:flex;flex-direction:column;overflow:hidden}
.academy-immersive .academy-system-sheet::backdrop,.academy-immersive .campus-mobile-sheet::backdrop{background:#183a2f85;backdrop-filter:blur(5px)}
.academy-immersive .academy-system-heading{position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #d7dfc7;background:#fffbed}
.academy-immersive .academy-system-heading h2{font-size:32px;margin:0}
.academy-immersive .academy-system-heading button,.academy-immersive .campus-sheet-close{min-height:44px;padding:10px 16px;border-radius:12px;font-size:12px}
.academy-immersive .academy-system-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:22px 24px;scrollbar-width:thin;scrollbar-color:#a1b18e transparent}
.academy-immersive .academy-system-content :is(.hub-deck,.hub-deck-body,.hub-view,.hub-school,.hub-tournament,.hub-training-desk,.hub-activity-panel,.hub-records){height:auto;max-height:none!important;overflow:visible}
.academy-immersive .academy-system-content .hub-tabs{display:flex;flex-wrap:wrap;background:#e8eedc;border:0;border-radius:12px;gap:4px;padding:6px;margin-bottom:14px}
.academy-immersive .academy-system-content .hub-tabs button{min-height:44px;padding:10px 14px;border-radius:8px;font-size:12px}
.academy-immersive .academy-system-content .hub-view{padding:0}
.academy-immersive .academy-system-content .panel{border-color:#d7dfc7;border-radius:16px;background:#fffdf4;box-shadow:0 3px 10px #25433205}
.academy-immersive .academy-system-content .academy-ceremony,.academy-immersive .academy-system-content .academy-utilities{margin:0 0 18px}
.academy-immersive .academy-system-content :is(button,select,input:not([type=checkbox])){min-height:44px}
.academy-immersive .academy-system-content :is(input,select){font-size:16px}
.academy-immersive .campus-mobile-sheet{width:min(510px,calc(100vw - 32px));padding:20px}
.academy-immersive .campus-mobile-sheet .campus-inspector{border:0;background:none}
.academy-immersive .campus-mobile-sheet :is(.hub-deck,.hub-deck-body,.hub-view){height:auto;max-height:none!important;overflow:visible}
.academy-immersive .campus-mobile-sheet .hub-view{padding:14px 0 0}
.academy-immersive .campus-mobile-sheet .campus-sheet-close{margin-left:auto}
.academy-immersive .campus-mobile-sheet .hub-tabs{border-radius:12px;background:#e8eedc}
.academy-immersive .campus-mobile-sheet :is(button,select){min-height:44px}
body:has(.academy-immersive) #academyMain>#notice:not([hidden]){position:fixed;z-index:150;top:auto;height:auto;bottom:calc(118px + env(safe-area-inset-bottom));left:50%;right:auto;transform:translateX(-50%);width:min(620px,calc(100% - 32px));max-height:28dvh;overflow:auto;margin:0;padding:14px 52px 14px 18px;border-radius:14px;box-shadow:var(--academy-shadow)}
body:has(.academy-immersive) #notice .notice-dismiss{position:absolute;top:3px;right:3px;min-height:44px;min-width:44px}
@media(max-width:1199px){
 .academy-immersive .hub-academy-top .campus-heading .eyebrow{display:none}
 .academy-immersive .campus-schedule{bottom:calc(116px + env(safe-area-inset-bottom));max-width:none;height:54px}
 .academy-immersive .campus-mobile-actions{bottom:calc(116px + env(safe-area-inset-bottom))}
 .academy-immersive .campus-mobile-actions button{min-height:54px;max-width:none}
 .academy-immersive .campus-viewport{bottom:184px}
}
@media(max-width:700px){
 body:has(.academy-immersive){--academy-edge:12px}
 body:has(.academy-immersive)>.academy-header{top:max(10px,env(safe-area-inset-top))}
 .academy-immersive .hub-academy-top{top:calc(68px + env(safe-area-inset-top));left:12px;right:12px;min-height:48px;gap:0;justify-content:stretch}
 .academy-immersive .hub-academy-top .campus-heading{position:absolute;top:calc(100dvh - 215px - env(safe-area-inset-top));left:0;right:0;justify-content:center}
 .academy-immersive .academy-hud-resources{width:100%;gap:8px}
 .academy-immersive .academy-hud-resources button{flex:1;min-width:0;padding:8px 12px;font-size:11px;border-radius:14px}
 .academy-immersive .academy-hud-resources button :is(b,strong){font-size:22px}
 .academy-immersive .campus-viewport{inset:calc(126px + env(safe-area-inset-top)) 6px calc(188px + env(safe-area-inset-bottom));border-radius:12px}
 .academy-immersive .campus-schedule{left:12px;right:12px;bottom:calc(151px + env(safe-area-inset-bottom));height:48px;padding:2px 4px 2px 12px;border-radius:14px;gap:8px}
 .academy-immersive .campus-schedule>div{flex:1}.academy-immersive .campus-schedule strong{font-size:12px}
 .academy-immersive .campus-scene-picker select{min-height:44px;width:150px;max-width:45vw;font-size:16px;border-radius:10px}
 .academy-immersive .campus-mobile-actions{left:12px;right:12px;bottom:calc(98px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .academy-immersive .campus-mobile-actions button{min-height:44px;padding:8px;border-radius:13px;font-size:12px}
 .academy-immersive .academy-system-dock{bottom:calc(10px + env(safe-area-inset-bottom));width:calc(100% - 24px);gap:2px;padding:5px;border-radius:20px}
 .academy-immersive .academy-system-dock button{min-height:68px;border-radius:15px;font-size:10px;gap:5px;padding:8px 3px}
 .academy-immersive .academy-system-dock svg{width:24px;height:24px}
 .academy-immersive .academy-system-sheet{width:calc(100vw - 16px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:20px}
 .academy-immersive .academy-system-heading{padding:12px 14px;gap:8px}
 .academy-immersive .academy-system-heading h2{font-size:27px}
 .academy-immersive .academy-system-heading button{font-size:11px;padding:8px 10px}
 .academy-immersive .academy-system-content{padding:14px}
 .academy-immersive .academy-system-content .panel{padding:16px}
 .academy-immersive .academy-system-content .hub-tabs button{font-size:11px;padding:9px 10px}
 .academy-immersive .campus-mobile-sheet{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);padding:16px}
 body:has(.academy-immersive) #academyMain>#notice:not([hidden]){bottom:calc(210px + env(safe-area-inset-bottom))}
}
/* Landscape phones reserve wide side gutters instead of stacking chrome over play. */
@media(max-height:540px) and (min-width:601px){
 body:has(.academy-immersive)>.academy-header{top:max(8px,env(safe-area-inset-top));left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right))}
 body:has(.academy-immersive) .academy-header>.brand{height:44px;padding:7px 10px}
 body:has(.academy-immersive) .academy-mobile-menu summary{min-height:44px}
 .academy-immersive .hub-academy-top{top:8px;left:180px;right:100px;justify-content:center}
 .academy-immersive .hub-academy-top .campus-heading{display:none}
 .academy-immersive .academy-hud-resources{width:auto}
 .academy-immersive .academy-hud-resources button{min-height:44px;min-width:115px;padding:6px 10px;font-size:10px}
 .academy-immersive .campus-viewport{inset:62px 136px 12px}
 .academy-immersive .academy-system-dock{left:auto;right:max(10px,env(safe-area-inset-right));bottom:12px;top:66px;transform:none;width:110px;grid-template-columns:1fr;gap:2px;padding:5px;border-radius:18px}
 .academy-immersive .academy-system-dock button{min-height:44px;flex-direction:row;gap:6px;padding:6px;font-size:10px;border-radius:11px}
 .academy-immersive .academy-system-dock svg{width:20px;height:20px;flex:none}
 .academy-immersive .campus-schedule{left:max(10px,env(safe-area-inset-left));right:auto;top:66px;bottom:auto;width:116px;height:auto;min-height:98px;flex-direction:column;align-items:stretch;gap:4px;padding:8px;border-radius:14px}
 .academy-immersive .campus-schedule strong{font-size:11px}.academy-immersive .campus-scene-picker select{width:100%;max-width:100%;font-size:12px;padding:5px}
 .academy-immersive .campus-mobile-actions{left:max(10px,env(safe-area-inset-left));right:auto;bottom:12px;width:116px;display:grid;gap:6px}
 .academy-immersive .campus-mobile-actions button{min-height:44px;max-width:none;font-size:10px;padding:6px}
 .academy-immersive .academy-system-sheet{max-height:calc(100dvh - 16px)}
}
@media(prefers-reduced-motion:reduce){.academy-immersive .academy-system-dock button{transition:none}.academy-immersive .academy-system-dock button:hover{transform:none}}
/* The single in-world menu replaces the website navigation on this screen. */
body:has(.academy-immersive)>.academy-header{display:none}
.academy-immersive .hub-academy-top{left:var(--academy-edge);right:calc(var(--academy-edge) + 92px);justify-content:space-between}
.academy-immersive .hub-academy-top .campus-heading .eyebrow{display:block;max-width:210px;font-size:10px;letter-spacing:1.2px}
.academy-immersive .academy-options-button{position:absolute;z-index:40;top:max(12px,env(safe-area-inset-top));right:max(var(--academy-edge),env(safe-area-inset-right));min-width:76px;min-height:48px;padding:10px 15px;border:1px solid #fffdecbf;border-radius:15px;background:#fffbedf2;color:#294d3b;box-shadow:var(--academy-shadow);font-size:12px;font-weight:750}
.academy-immersive .academy-options-sheet{box-sizing:border-box;width:min(440px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:22px;margin:auto;overflow:auto;overscroll-behavior:contain;border:1px solid #dce2ca;border-radius:24px;background:#fffbed;color:#244e3c;box-shadow:0 24px 90px #102a2455}
.academy-immersive .academy-options-sheet:not([open]){display:none}
.academy-immersive .academy-options-sheet::backdrop{background:#183a2f85;backdrop-filter:blur(5px)}
.academy-immersive .academy-options-sheet h2{font-size:30px;margin:0 0 16px}
.academy-immersive .academy-options-sheet :is(button,select,a){min-height:44px}
.academy-immersive .academy-options-sheet button{border:1px solid #bccbb0;background:#f2f5e6;color:#294d3b;border-radius:12px;padding:10px 14px;font-size:13px}
.academy-immersive .academy-options-sheet .campus-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}
.academy-immersive .academy-maintenance{display:grid;gap:10px;border-top:1px solid #d7dfc7;margin-top:18px;padding-top:14px}
.academy-immersive .academy-maintenance h3,.academy-immersive .academy-maintenance p{margin:0}
.academy-immersive .academy-options-sheet .campus-tools button{display:block;background:#f2f5e6;color:#294d3b;min-width:0;min-height:44px}
.academy-immersive .academy-options-sheet nav{display:grid;gap:5px;border-top:1px solid #d7dfc7;padding-top:14px;margin-top:18px}
.academy-immersive .academy-options-sheet nav a{display:flex;align-items:center;padding:10px 13px;border-radius:9px;text-decoration:none;font-size:13px;font-weight:650}
.academy-immersive .academy-options-sheet nav a:hover{background:#e8eedc}
.academy-immersive .academy-options-sheet .campus-scene-picker{display:grid;gap:7px;font-size:12px;font-weight:650;margin:16px 0}
.academy-immersive .academy-options-sheet .campus-scene-picker select{width:100%;max-width:none;min-height:44px;font-size:16px;padding:9px 12px}
.academy-immersive .campus-schedule{max-width:230px;padding:10px 16px}
.academy-immersive .campus-schedule>[data-campus-next]{display:block;font-size:10px;color:#6b7b62;line-height:1.3;max-width:105px}
.academy-immersive .campus-mobile-actions:has(.academy-ceremony-callout){max-width:calc(50% - 290px)}
.academy-immersive .campus-mobile-actions .academy-ceremony-callout{background:#f4e2ac;border-color:#f5dda5;color:#5d4b26;font-weight:750}
@media(max-width:1199px){
 .academy-immersive .campus-mobile-actions:has(.academy-ceremony-callout){max-width:calc(100% - 290px)}
}
@media(max-width:700px){
 .academy-immersive .hub-academy-top{top:calc(14px + env(safe-area-inset-top));left:12px;right:12px;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:14px;padding-right:0}
 .academy-immersive .hub-academy-top .campus-heading{position:static;top:auto;left:auto;right:auto;display:flex;justify-content:flex-start;min-height:42px;width:calc(100% - 90px)}
 .academy-immersive .hub-academy-top .campus-heading .eyebrow{display:block;max-width:240px;font-size:10px;line-height:1.45;color:#35543e;letter-spacing:1px}
 .academy-immersive .academy-options-button{top:calc(12px + env(safe-area-inset-top));right:12px;min-height:44px;border-radius:13px}
 .academy-immersive .academy-hud-resources{width:100%;flex-basis:100%;gap:8px}
 .academy-immersive .campus-viewport{bottom:calc(210px + env(safe-area-inset-bottom))}
 .academy-immersive .campus-schedule{max-width:none;justify-content:space-between;min-height:44px;padding:7px 12px;background:#fffbedbf;box-shadow:0 4px 18px #193c3014}
 .academy-immersive .campus-schedule>[data-campus-next]{max-width:none;font-size:10px;text-align:right}
 .academy-immersive .campus-mobile-actions:has(.academy-ceremony-callout){max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
 .academy-immersive .campus-mobile-actions button{font-size:11px}
 .academy-immersive .academy-options-sheet{padding:18px}
}
@media(max-height:540px) and (min-width:601px){
 .academy-immersive .hub-academy-top{top:8px;left:max(12px,env(safe-area-inset-left));right:100px;display:flex;flex-wrap:nowrap;gap:12px}
 .academy-immersive .hub-academy-top .campus-heading{display:flex;position:static;width:auto;min-height:44px}
 .academy-immersive .hub-academy-top .campus-heading .eyebrow{max-width:150px;font-size:9px}
 .academy-immersive .academy-hud-resources{width:auto;flex-basis:auto;gap:6px}
 .academy-immersive .academy-options-button{top:8px;right:max(10px,env(safe-area-inset-right));min-height:44px}
 .academy-immersive .campus-viewport{inset:62px 136px 12px}
 .academy-immersive .campus-schedule{width:116px;min-height:44px;height:auto;top:66px;bottom:auto;padding:8px;gap:4px}
 .academy-immersive .campus-schedule>[data-campus-next]{max-width:none;text-align:left;font-size:9px}
 .academy-immersive .campus-mobile-actions:has(.academy-ceremony-callout){max-width:none;display:grid;grid-template-columns:1fr;gap:5px}
 .academy-immersive .campus-mobile-actions button{font-size:10px;min-height:44px}
}
.academy-campus.academy-immersive:has(.campus-scene[data-scene=classroom]){background:radial-gradient(ellipse at 50% 43%,#faf5df 0,#e4e5cd 55%,#c8d5c0 100%)}
.academy-campus.academy-immersive:has(.campus-scene[data-scene=commonroom]){background:radial-gradient(ellipse at 50% 43%,#fff1d8 0,#e8dcc1 55%,#c8cdb1 100%)}
.academy-immersive .academy-options-sheet>button:first-child{display:block;margin:0 0 18px auto}
.academy-immersive .academy-system-heading h2{min-width:0}
.academy-immersive .academy-system-heading>button{flex:none}
.academy-immersive .academy-modal-notice:not([hidden]){padding:12px 15px;margin:12px 0;border:1px solid #c5d3b3;border-radius:12px;background:#eaf0da;font-size:13px;line-height:1.5}
.academy-immersive .academy-system-sheet>.academy-modal-notice:not([hidden]){margin:12px 20px 0;flex:none}
.academy-immersive .campus-mobile-actions button{min-width:0;overflow-wrap:anywhere}

/* Match and report surfaces remain reachable above the fixed home at every size. */
body:has(.academy-immersive) #matchArea:not(:empty){position:fixed;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));z-index:120;margin:0;overflow:auto;overscroll-behavior:contain;padding:12px;background:#f7f6e9;border:1px solid #c7d4b9;border-radius:16px;box-shadow:0 12px 50px #17382d55}
.academy-immersive .academy-modal-notice{position:relative;padding-right:50px;flex:none;max-height:25dvh;overflow:auto}
.academy-immersive .academy-modal-notice .notice-dismiss{position:absolute;right:2px;top:2px;min-width:44px;min-height:44px;margin:0}

/* Website navigation stays above the Academy; the campus owns the remaining viewport. */
body:has(.academy-immersive){--academy-site-nav-height:calc(56px + env(safe-area-inset-top))}
body:has(.academy-immersive)>.academy-header{position:fixed;inset:0 0 auto;z-index:160;box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:24px;width:100%;height:var(--academy-site-nav-height);min-height:var(--academy-site-nav-height);margin:0;padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left));background:#fffbed;border:0;border-bottom:1px solid #c9d5b9;pointer-events:auto}
body:has(.academy-immersive) .academy-header>.brand{flex:none;height:44px;padding:4px 0;border:0;border-radius:0;background:none;box-shadow:none;font-size:18px}
body:has(.academy-immersive) .academy-header>nav{display:flex;align-items:center;justify-content:flex-start;flex:1;flex-basis:auto;min-width:0;width:auto;gap:8px;margin:0}
body:has(.academy-immersive) .academy-header>nav a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:0;border-radius:9px;font-size:13px;font-weight:700;white-space:nowrap;color:#4d6754;text-decoration:none}
body:has(.academy-immersive) .academy-header>nav a[aria-current=page]{background:#e6edce;color:#244e3c}
body:has(.academy-immersive) .academy-header>nav a:hover{background:#edf1df}
body:has(.academy-immersive) .academy-header>.academy-mobile-menu{display:none}
body:has(.academy-immersive)>#academyMain{top:var(--academy-site-nav-height);bottom:0;height:calc(100% - var(--academy-site-nav-height))}
.academy-immersive .hub-academy-top,.academy-immersive .academy-options-button{top:12px}
body:has(.academy-immersive) #matchArea:not(:empty){top:calc(var(--academy-site-nav-height) + 8px)}
@media(max-width:600px){
 body:has(.academy-immersive)>.academy-header{gap:6px;padding-right:max(6px,env(safe-area-inset-right));padding-left:max(6px,env(safe-area-inset-left))}
 body:has(.academy-immersive) .academy-header>.brand{justify-content:center;min-width:36px;gap:0}
 body:has(.academy-immersive) .academy-header>.brand>b{display:none}
 body:has(.academy-immersive) .academy-header>.brand>span{font-size:27px}
 body:has(.academy-immersive) .academy-header>nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px}
 body:has(.academy-immersive) .academy-header>nav a{min-width:0;padding:7px 2px;font-size:11px}
}
/* Keep ceremony text readable inside the cream system sheets. */
.academy-immersive .academy-system-content .academy-ceremony{background:radial-gradient(ellipse at top,#34523b,#12261f 65%);border-color:#b49c62;box-shadow:0 6px 22px #183f3420}
/* Temporary menus float over the campus; only destructive confirmation is modal. */
.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){position:absolute;z-index:45;inset:84px auto 112px 50%;transform:translateX(-50%);margin:0;width:min(760px,calc(100% - 40px));max-width:none;max-height:none;height:auto;border-radius:20px;box-shadow:0 8px 28px #193c302b}
.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet)::backdrop{background:transparent;backdrop-filter:none}
.academy-immersive .academy-options-sheet{width:min(400px,calc(100% - 40px))}
.academy-immersive .campus-mobile-sheet{width:min(510px,calc(100% - 40px))}
.academy-immersive .academy-system-heading{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px 18px}
.academy-immersive .academy-system-heading h2{font-size:27px}
.academy-immersive .academy-panel-wallet{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:10px;font-variant-numeric:tabular-nums}
.academy-immersive .academy-panel-wallet>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 12px;border:1px solid #d7dfc7;border-radius:12px;background:#edf3dc}
.academy-immersive .academy-panel-wallet>div:last-child{background:#fff0c7}
.academy-immersive .academy-panel-wallet span{font-size:11px;font-weight:650}
.academy-immersive .academy-panel-wallet strong{font-size:22px;color:#244e3c}
.academy-immersive .academy-system-dock button[aria-expanded=true]{outline:2px solid #f4e2ac;outline-offset:-2px}
@media(max-width:700px){
 .academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){inset:68px 8px calc(94px + env(safe-area-inset-bottom));transform:none;width:auto;max-height:none;height:auto;border-radius:18px}
 .academy-immersive .academy-system-heading{padding:10px 12px;gap:8px}
 .academy-immersive .academy-system-heading h2{font-size:23px}
 .academy-immersive .academy-panel-wallet{gap:6px}
 .academy-immersive .academy-panel-wallet>div{padding:7px 9px;gap:5px}
 .academy-immersive .academy-panel-wallet strong{font-size:19px}
 .academy-immersive .academy-panel-wallet span{font-size:10px}
}
@media(max-height:540px) and (min-width:701px){
 .academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){inset:64px auto 12px 50%;transform:translateX(-50%);width:min(760px,calc(100% - 180px));max-height:none}
 .academy-immersive .academy-system-heading{padding:8px 12px;gap:6px}
 .academy-immersive .academy-panel-wallet>div{padding:4px 8px}
}

/* One stable stage underneath the HUD and every temporary menu. */
.academy-campus.academy-immersive .campus-viewport{inset:0;border-radius:0}
.academy-campus.academy-immersive .campus-viewport .campus-scene.campus-simulation{border-radius:0;box-shadow:none}
/* Extend only the scenery into the letterbox area. The playable room retains
   its fit-to-view scale, so students, fixtures and collision geometry agree. */
.academy-campus.academy-immersive .campus-viewport::before{content:'';position:absolute;inset:0;pointer-events:none;background:#aec482 url('academy-art/practice-surround.svg') center/calc(5500px * var(--campus-room-scale,1)) calc(5500px * var(--campus-room-scale,1)) no-repeat}
.academy-campus.academy-immersive .campus-viewport:has([data-scene=classroom])::before{background-color:#c9d4cc;background-image:url('academy-art/classroom-surround.svg')}
.academy-campus.academy-immersive .campus-viewport:has([data-scene=commonroom])::before{background-color:#cea574;background-image:url('academy-art/commonroom-surround.svg')}

/* Academy navigation stays on the right; flyouts cover, never resize, the stage. */
.academy-campus.academy-immersive .academy-system-dock{left:auto;right:var(--academy-edge);top:50%;bottom:auto;transform:translateY(-50%);width:96px;grid-template-columns:1fr;gap:5px;padding:6px;border-radius:20px;max-height:calc(100% - 160px);overflow:auto;scrollbar-width:thin}
.academy-campus.academy-immersive .academy-system-dock button{min-height:68px;flex-direction:column;padding:8px 4px;font-size:11px;gap:5px;border-radius:14px}
.academy-campus.academy-immersive .academy-system-dock button:first-child{background:transparent;color:#fffbed;box-shadow:none}
.academy-campus.academy-immersive .academy-system-dock button svg{stroke:#e4d6a6}
.academy-campus.academy-immersive .academy-system-dock button[aria-expanded=true]{background:#f4e2ac;color:#35503a;outline:none;box-shadow:inset 0 1px 0 #fff7d5}
.academy-campus.academy-immersive .academy-system-dock button[aria-expanded=true] svg{stroke:#496747}
.academy-campus.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){inset:84px calc(var(--academy-edge) + 112px) 24px auto;transform:none;width:min(700px,calc(100% - var(--academy-edge) * 2 - 112px));max-height:none;height:auto;margin:0}
.academy-campus.academy-immersive .academy-options-sheet{width:min(400px,calc(100% - var(--academy-edge) * 2 - 112px))}
.academy-campus.academy-immersive .campus-mobile-sheet{width:min(510px,calc(100% - var(--academy-edge) * 2 - 112px))}
.academy-campus.academy-immersive .campus-schedule{top:auto;bottom:calc(18px + env(safe-area-inset-bottom))}
.academy-campus.academy-immersive .campus-mobile-actions{bottom:calc(18px + env(safe-area-inset-bottom))}
@media(max-width:700px){
 .academy-campus.academy-immersive .academy-system-dock{left:auto;right:6px;width:56px;padding:3px;gap:3px;border-radius:15px}
 .academy-campus.academy-immersive .academy-system-dock button{min-height:64px;font-size:9px;padding:6px 1px;border-radius:11px;overflow-wrap:normal}
 .academy-campus.academy-immersive .academy-system-dock svg{width:21px;height:21px}
 .academy-campus.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){inset:68px 68px 10px 6px;width:auto;transform:none;height:auto;max-height:none;border-radius:16px}
 .academy-campus.academy-immersive .academy-system-heading{padding:8px;gap:6px}
 .academy-campus.academy-immersive .academy-system-heading h2{font-size:21px}
 .academy-campus.academy-immersive .academy-system-heading>button{padding:8px;font-size:11px}
 .academy-campus.academy-immersive .academy-system-content{padding:8px}
 .academy-campus.academy-immersive .academy-system-content:has(>.flip-panel){padding:4px}
 .academy-campus.academy-immersive .academy-system-content .flip-panel{padding:4px}
 .academy-campus.academy-immersive .academy-panel-wallet>div{padding:6px;flex-wrap:wrap;gap:2px}
 .academy-campus.academy-immersive .campus-schedule{bottom:calc(72px + env(safe-area-inset-bottom))}
 .academy-campus.academy-immersive .campus-mobile-actions{bottom:calc(12px + env(safe-area-inset-bottom))}
}
/* The year turns on its own stage, separate from the campus upgrade flyouts. */
.academy-immersive .academy-graduation-button{background:#f1d58d;border:2px solid #ad8844;max-width:220px;min-height:66px;color:#294d3b;display:grid;gap:4px}
.academy-graduation-button span{font-weight:800}.academy-graduation-button small{font-size:10px}.academy-graduation-button:disabled{filter:saturate(.3);opacity:.75}
.academy-immersive .academy-year-journey{position:absolute;inset:0;z-index:70;overflow:auto;overscroll-behavior:contain;margin:0;border:0;border-radius:0;padding:clamp(12px,2vw,28px);background:#d3e1d9 url('academy-art/classroom-surround.svg') center/cover;color:#244b3c;display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.academy-year-journey>header,.academy-year-journey>footer{padding:14px 22px;background:#fffbeded;border:1px solid #c2cdb0;border-radius:16px;box-shadow:0 4px 14px #244b3c18;flex:none}
.academy-year-journey>header h2{font-size:clamp(27px,3vw,42px);margin:4px 0}.academy-year-journey>header p{margin:5px 0;max-width:900px}.academy-year-journey>footer{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;z-index:3}.academy-year-journey>footer button{min-height:44px}
.academy-year-journey .year-stage{position:relative;width:100%;max-width:1200px;min-height:360px;aspect-ratio:5/3;max-height:65vh;flex:1;margin:auto;isolation:isolate;overflow:hidden;border-radius:18px;background:#aec482 url('academy-art/practice.svg') center/100% 100%;box-shadow:0 6px 25px #193c3022}
.year-stage.is-farewell{background-image:url('academy-art/classroom-floor.svg')}
.year-banner{position:absolute;top:7%;left:15%;right:15%;padding:10px;text-align:center;background:#285544;color:#fff1b9;border:3px solid #c5a65d;border-radius:6px;font-size:clamp(10px,1.5vw,18px);font-weight:800;letter-spacing:.12em;box-shadow:0 5px 0 #173e33}
.year-podium{position:absolute;top:29%;left:43%;width:14%;height:18%;display:grid;place-items:center;border:4px solid #96734d;background:#caab75;color:#fff4ca;font-size:20px;font-weight:800;box-shadow:0 8px 0 #7b6549}
.year-student{position:absolute;left:calc(7% + var(--spot)*18%);top:calc(47% + var(--row)*25%);width:15%;margin:0;text-align:center;animation:year-arrive 2.4s calc(var(--order)*.18s) both ease-out;z-index:2}
.year-sprite{position:relative;display:inline-block;width:clamp(38px,5vw,72px);height:clamp(38px,5vw,72px);animation:year-breathe 2.8s calc(var(--order)*-.3s) infinite ease-in-out}
.year-sprite img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(0 4px 1px #34554444)}
.year-sprite-crop{display:block;position:relative;width:100%;height:100%;overflow:hidden}.year-sprite-crop img{position:absolute;max-width:none;object-fit:fill;image-rendering:pixelated}
.year-picked{display:flex;gap:20px;justify-content:center}.year-picked figure{text-align:center;padding:12px;border-radius:16px;background:#fffbed}.year-picked .year-sprite-crop{width:72px;height:72px;margin:auto}.year-picked figcaption{margin-top:8px;font-weight:700}
.academy-year-journey h2{color:#244b3c}.academy-year-journey h2:focus{outline:none}
.academy-campus.academy-immersive .year-profile-sheet{position:fixed;z-index:100;inset:calc(var(--academy-site-nav-height,56px) + 12px) 12px 12px auto;width:min(510px,calc(100% - 24px));max-height:none;transform:none}
.year-student figcaption{display:grid;font-size:clamp(10px,1.2vw,15px);padding:4px;background:#fff8dce8;border-radius:7px;color:#264b3d}.year-student small{font-size:clamp(8px,.85vw,11px)}
.year-cap{position:absolute;z-index:2;top:2px;left:30%;width:45%;height:14%;background:#254f43;transform:skewY(-12deg);border:2px solid #e1c877}.year-cap:after{content:'';position:absolute;right:-2px;top:0;height:18px;border-right:2px solid #e1c877}
.year-diploma{position:absolute;right:8%;bottom:16%;width:27%;height:10%;background:#fff6da;border:1px solid #bc9567;transform:rotate(-25deg)}
.is-farewell .year-student{animation-name:year-stage-walk}.year-reserved{position:absolute;right:3%;top:29%;display:flex;gap:6px;color:#72572c}.year-reserved span{display:grid;place-items:center;border:2px dashed #af8a50;border-radius:8px;background:#fff4d0cb;padding:8px;font-size:24px}.year-reserved small{font-size:10px;text-align:center}
.year-class-photo{position:absolute;inset:26% 10% 18%;display:grid;grid-template-columns:repeat(9,1fr);align-items:center;justify-items:center}.year-class-photo img{width:80%;max-height:90px;object-fit:contain;image-rendering:pixelated;animation:year-breathe 3s calc(var(--order)*-.15s) infinite ease-in-out}.year-award{position:absolute;bottom:4%;left:8%;right:8%;text-align:center;background:#fff4d0ef;border-radius:10px;padding:12px;font-weight:800;font-size:clamp(16px,2vw,26px)}
.year-draft,.year-lineup,[data-year-tournament]{width:100%;max-width:1200px;margin:0 auto}.year-draft .recruitment-panel,.year-lineup{background:#fffbed;border-radius:16px;padding:18px;border:1px solid #c2cdb0}.year-draft .choice img{animation:year-breathe 3s infinite ease-in-out}.year-lineup summary{cursor:pointer;min-height:44px;font-weight:800}
.academy-campus.is-year-journey>.academy-home,.academy-campus.is-year-journey>.academy-system-dock,.academy-campus.is-year-journey>.hub-academy-top,.academy-campus.is-year-journey>.academy-options-button{visibility:hidden}
body:has(#matchArea:not(:empty)) .academy-year-journey{visibility:hidden}
@keyframes year-arrive{from{opacity:0;transform:translate(-240px,-40px)}35%{opacity:1}to{opacity:1;transform:translate(0,0)}}
@keyframes year-stage-walk{from{opacity:0;transform:translate(180px,-60px)}25%{opacity:1}60%{transform:translate(0,-12px)}to{opacity:1;transform:translate(0,0)}}
@keyframes year-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:700px){.academy-year-journey>header,.academy-year-journey>footer{padding:10px 12px}.academy-year-journey>header p{font-size:12px}.academy-year-journey .year-stage{min-height:300px;flex:none;aspect-ratio:1.1}.year-student{left:calc(2% + var(--spot)*19.5%);width:18%}.year-banner{left:4%;right:4%;font-size:9px}.year-reserved{top:26%;right:2%}.year-reserved span{padding:3px}.year-draft .choices{grid-template-columns:1fr}.academy-immersive .academy-graduation-button{max-width:160px;font-size:11px}.academy-graduation-button small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.year-student,.year-sprite,.year-class-photo img,.year-draft .choice img{animation:none!important}}
@media(max-width:379px){
 /* Narrow phones give an open game the full width; Back to campus restores the rail. */
 .academy-campus.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){right:6px}
}
@media(max-height:540px) and (min-width:701px){
 .academy-campus.academy-immersive .academy-system-dock{top:64px;bottom:12px;max-height:none;transform:none;width:84px;gap:2px;padding:4px}
 .academy-campus.academy-immersive .academy-system-dock button{min-height:44px;flex-direction:row;gap:4px;font-size:10px;padding:4px}
 .academy-campus.academy-immersive :is(.academy-system-sheet,.campus-mobile-sheet,.academy-options-sheet){top:64px;bottom:12px;left:auto;right:calc(var(--academy-edge) + 100px);width:min(700px,calc(100% - var(--academy-edge) * 2 - 100px))}
}
#rogueLineup.academy-lineup-editor{--paper:#fffbed;--line:#c5d2b3;--ink:#183f34;--muted:#52694e;--orange:#b67d27;--font:inherit;color:var(--ink);box-shadow:0 12px 60px #122b2450}
#rogueLineup.academy-lineup-editor::backdrop{background:transparent;backdrop-filter:none}
#rogueLineup.academy-lineup-editor .dialog-top,#rogueLineup.academy-lineup-editor .builder-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}
#rogueLineup.academy-lineup-editor .close-btn{width:44px;height:44px;flex-shrink:0}
#rogueLineup.academy-lineup-editor .actions{display:flex;gap:10px}
#rogueLineup.academy-lineup-editor button{font:inherit;cursor:pointer;border:1px solid #bac9a6;border-radius:6px;padding:10px;background:#eef1e2;color:#183f34}
#rogueLineup.academy-lineup-editor button.primary{background:#214a3c;color:#fffbed}

/* Graduation is one deliberate, gated entry from the campus dock. */
.academy-immersive .academy-graduation-entry{position:relative;min-width:0;display:flex;outline-offset:3px}
.academy-immersive .academy-system-dock .academy-graduation-button{width:100%;max-width:none;min-height:58px;gap:3px;padding:7px 9px}
.academy-system-dock .academy-graduation-button:disabled{pointer-events:none;background:#e3e3d9;border-color:#aeb6ab;color:#65716b;opacity:.8;cursor:not-allowed}
.academy-system-dock .academy-graduation-button small{font-size:9px;line-height:1.3}
.academy-graduation-tooltip{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);z-index:90;display:none;width:220px;max-width:calc(100vw - 130px);padding:12px;border-radius:12px;background:#fffbed;color:#244b3c;border:1px solid #bcc9b3;box-shadow:0 4px 18px #193c3030;font-size:12px;line-height:1.5;pointer-events:none}
.academy-graduation-entry:hover .academy-graduation-tooltip,.academy-graduation-entry:focus-within .academy-graduation-tooltip{display:block}
.academy-graduation-confirm{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:clamp(20px,4vw,32px);border:2px solid #b7c6a9;border-radius:22px;background:#fffbed;color:#244b3c;box-shadow:0 20px 80px #173d3450;overflow:auto}
.academy-graduation-confirm::backdrop{background:#173d344d;backdrop-filter:blur(2px)}
.academy-graduation-confirm h2{margin:8px 0 16px;font-size:clamp(25px,5vw,32px);color:#244b3c}
.academy-graduation-confirm p{line-height:1.6}
.academy-graduation-confirm footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;margin-top:22px}
.academy-graduation-confirm button{min-height:44px}

/* Keep academy resources readable on narrow screens as the class grows. */
@media(max-width:600px){
 .academy-immersive .academy-hud-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .academy-immersive .academy-hud-resources button{min-width:0}
}

.academy-immersive .academy-hud-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:620px}
.academy-immersive .academy-hud-resources button{display:grid;grid-template-columns:1fr auto;gap:4px 8px;min-width:0}
.academy-immersive .academy-hud-resources button small{grid-column:1/-1;font-size:10px;line-height:1.3;font-weight:500}
@media(max-width:700px){.academy-immersive .academy-hud-resources{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
