/* 14: shared layout rules for the campus, directory and product room. */
:root{--green:#183e2c;--lime:#d7eb9a;--paper:#f6f8f2;--line:#dce3d9;--shadow:0 16px 50px #183e2c20}
body{overflow:hidden}button{min-height:44px;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{border-color:#8ba879}button:active{filter:brightness(.96)}input,select{min-width:0}#world:focus{outline:none}
header{height:88px;padding:14px 28px;background:linear-gradient(180deg,#f8faf7f5,#f8faf7cc 75%,#f8faf700);gap:20px}.brand img{width:52px;height:52px}.brand{font-size:21px}.brand small{font-size:8px}nav button{font-size:12px;padding:10px 16px;border-radius:24px;background:#ffffffed}nav span{margin-left:5px}
#welcome{left:clamp(24px,4vw,72px);width:365px;top:50%;max-height:calc(100dvh - 190px);padding:30px;border-radius:20px;background:#fffffff0;box-shadow:var(--shadow);backdrop-filter:blur(12px)}#welcome h1{font-size:51px;letter-spacing:-2px;margin:22px 0}#welcome p{font-size:14px;line-height:1.7}#startButton{font-size:16px;border-radius:12px;min-height:56px}.welcomeFoot{font-size:9px;padding-top:17px}#quickButton{width:100%;text-align:center;color:#49604f;padding:16px 0}#welcome .eyebrow{font-size:9px;letter-spacing:1.6px}
#utilityDock{position:fixed;z-index:12;bottom:max(20px,env(safe-area-inset-bottom));right:24px;display:flex;gap:8px;align-items:center}#utilityDock .guideToggle,#utilityDock .musicToggle,body.catalogOpen #utilityDock .guideToggle,body.catalogOpen #utilityDock .musicToggle{position:static;inset:auto;min-height:44px;padding:6px 13px;border-radius:24px;box-shadow:0 3px 16px #173d2c18;white-space:nowrap;font-size:11px}#utilityDock .guideAvatar{width:30px;height:30px}#utilityDock .guideToggle{gap:7px}#utilityDock .guideToggle span:last-child{font-size:11px}.guidePanel,body.catalogOpen .guidePanel{top:auto;bottom:80px;right:24px;max-height:calc(100dvh - 175px);padding:28px 24px 24px;box-shadow:var(--shadow)}.guidePanel p{font-size:13px}.guidePanel .eyebrow{font-size:8px;padding-right:14px}
#walkHud{left:24px;right:auto;bottom:max(20px,env(safe-area-inset-bottom));gap:8px;max-width:calc(100vw - 305px)}#walkHud button{border-radius:24px;padding:10px 15px;font-size:11px;background:#fffffff2}#walkHud span{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);padding:10px 14px;font-size:10px;background:#173d2ce6;max-width:38vw;border-radius:24px;pointer-events:none}
#modeBadge{position:fixed;left:28px;top:99px;font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#31533d;background:#ffffffed;border:1px solid #ffffff;border-radius:20px;padding:8px 12px;pointer-events:none}
#mouseControls{left:24px;right:24px;bottom:103px;align-items:end}#mouseControls button{border:1px solid #b8c9b0;border-radius:13px;min-width:64px;min-height:63px;font-size:28px;background:#fffffff0;box-shadow:0 4px 18px #173d2c22}#mouseControls small{font-size:10px;font-weight:600}#mouseControls .turnPad button{min-width:102px}.movePad>div,.turnPad{gap:7px}.movePad>button{margin-bottom:7px}#mouseControls p{bottom:-26px;font-size:10px;padding:4px 8px;border-radius:10px;color:#31533d}#touchControls{bottom:108px;left:24px;right:24px}#joystick{background:#ffffffa6;border:2px solid #fff;box-shadow:0 4px 20px #173d2c18}#arrows button{min-width:48px;min-height:48px;user-select:none}#crosshair{font-size:20px;opacity:.7}
#enterButton{top:55%;border-radius:14px;font-size:16px;padding:16px 24px;box-shadow:0 7px 24px #0c301e40;max-width:min(440px,85vw)}#target{top:calc(55% + 66px);bottom:auto;background:#ffffffef;color:#21452e;box-shadow:0 4px 15px #173d2c18;font-size:12px;padding:9px 15px;border-radius:10px;max-width:460px;width:max-content}body.overlayOpen #enterButton,body.overlayOpen #target,body.overlayOpen #crosshair{display:none!important}
.panel{top:95px;bottom:82px;right:24px;width:min(600px,calc(100vw - 48px));padding:28px;background:#fafbf8;border-radius:20px;box-shadow:var(--shadow)}.panel h2{font-size:29px}.panelHead>button{border-radius:50%;min-width:44px}.panel>p{font-size:13px}.hallRow{grid-template-columns:32px 1fr auto;gap:12px;padding:17px 0}.hallRow strong{font-size:14px;line-height:1.4}.hallRow small{font-size:10px;line-height:1.5;display:block;margin-top:4px}.hallActions button{font-size:11px;min-height:38px;border-radius:8px}.hallActions button:last-child{background:#173d2c;color:white;border-color:#173d2c}.num{background:#eaf0e1;padding:8px 4px;border-radius:7px;text-align:center}
.campusMap{position:relative;aspect-ratio:200/160;max-height:310px;margin:20px auto 0;width:min(100%,390px);background:#e2ead9;border:1px solid #cad5c3;border-radius:14px;overflow:hidden}.mapRoad{position:absolute;background:#c1ccc0}.roadA,.roadB,.roadC{left:5%;width:90%;height:9%}.roadA{top:79.7%}.roadB{top:51.6%}.roadC{top:23.4%}.roadD{width:4%;height:91%;left:48%;top:6%}#mapHalls button{position:absolute;transform:translate(-50%,-50%);width:12%;height:11.25%;min-height:0;padding:0;border:1px solid #a6b6a1;border-bottom:4px solid #769660;border-radius:4px;font-size:12px;background:#fafcf7;line-height:1;color:#23482f}#mapHalls button:hover,#mapHalls button.selectedHall{background:#173d2c;color:white;border-color:#173d2c}#mapPosition{position:absolute;transform:translate(-50%,-50%);z-index:2;color:#c17d22;font-size:17px;text-shadow:0 0 3px white;pointer-events:none}.mapEntry{position:absolute;bottom:3px;left:6%;font-size:8px;letter-spacing:1px;color:#5e7558}.mapLegend{font-size:11px!important;margin:9px 0 20px!important}.mapLegend span{color:#bd7e22}#hallSearch{margin-bottom:8px;font-size:14px}
dialog{box-shadow:0 28px 90px #0e2f2940;border-radius:20px}dialog::backdrop{background:#10251b91;backdrop-filter:blur(7px)}.controlChoices button{border-radius:12px;min-height:100px}.controlChoices small{color:#65765e}.controlChoices [aria-pressed="true"]{background:#edf4e3;border-color:#76964f}.displaySettings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 8px}.displaySettings select{font-size:13px;margin-top:5px;min-height:44px}.displaySettings label{font-size:11px}#help h2{line-height:1.15}#modeDescription{font-size:12px}#applyControls{border-radius:12px}
#catalog{padding:0 30px 92px!important;background:#fff}.catalogHead{min-height:74px;padding:14px 0}.catalogHead button{font-size:12px;border-radius:24px}.showroomLayout{gap:32px}.modelSide{top:75px;padding-top:28px}.productSide{padding-top:28px;padding-left:28px}.productSide .catalogHero h1{font-size:30px;line-height:1.18}.modelViewport{border-radius:20px;background:radial-gradient(ellipse at 50% 75%,#f0f4ed,#fff 68%);height:clamp(300px,43vh,560px)}.selectedInfo{padding:22px 0}.selectedInfo h2{font-size:23px}.sampleNote{padding:12px 14px;background:#f6f8f2;border-radius:9px;line-height:1.6}.viewerControls button{border-radius:22px;min-height:40px}.productSide .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.productSide .stage{height:160px}.productSide .stage img{max-height:136px}.productSide .card{border:1px solid #e0e7da;border-radius:14px}.productSide .card h3{font-size:13px;line-height:1.5}.productSide .cardBody{padding:15px}.productSide .price{font-size:13px}.listDetail{min-height:42px;font-size:12px}.productSelect[aria-pressed="true"]{box-shadow:inset 0 0 0 2px #759653}.priceNote{font-size:10px;line-height:1.6}.detailGrid{gap:30px}.detailImages img{border:1px solid #edf0e7}.detailLink{border-radius:10px}.description{font-size:14px}
#loading{background:#f6f8f4f5;backdrop-filter:blur(9px)}#loadingText{font-size:23px}#cancelLoading{margin-top:18px;font-size:13px;border-radius:24px}.loadProgress{width:min(440px,84vw)}#notice{bottom:80px;font-size:12px;box-shadow:var(--shadow)}
@media(min-width:1650px){.productSide .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1250px){#walkHud span{display:none}.showroomLayout{gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.productSide{padding-left:24px}}
@media(max-width:760px){
 header{height:82px;padding:10px 14px;gap:10px;align-items:flex-start}.brand{font-size:16px;gap:7px;flex-shrink:0}.brand img{width:39px;height:39px}.brand small{font-size:6px;letter-spacing:1px}nav{justify-content:flex-end;gap:5px;flex-wrap:wrap;max-width:210px}nav button{padding:8px 11px;font-size:10px;min-height:35px}#vrButton{display:none}
 #welcome{left:18px;right:18px;width:auto;max-width:350px;top:47%;max-height:calc(100dvh - 180px);padding:24px}#welcome h1{font-size:39px;margin:17px 0}#welcome p{font-size:13px;margin:14px 0}#welcome .eyebrow{font-size:8px}#startButton{font-size:14px;min-height:52px;padding:15px 12px}.welcomeFoot{padding-top:12px}
 #utilityDock{bottom:max(14px,env(safe-area-inset-bottom));right:12px;gap:6px}#utilityDock .guideToggle,#utilityDock .musicToggle{min-height:42px;padding:6px 10px;font-size:10px}#utilityDock .guideToggle span:last-child{display:none}#utilityDock .guideAvatar{width:27px;height:27px}.guidePanel,body.catalogOpen .guidePanel{right:12px;bottom:72px;top:auto;max-height:calc(100dvh - 165px);width:calc(100vw - 24px)}
 #walkHud{left:12px;bottom:max(14px,env(safe-area-inset-bottom));max-width:calc(100vw - 173px);gap:5px}#walkHud button{font-size:10px;padding:8px 10px;min-height:42px}#mapButton{font-size:0!important}#mapButton:after{content:'Térkép';font-size:10px}#modeBadge{left:14px;top:89px;font-size:9px;padding:7px 10px}
 #mouseControls{left:12px;right:12px;bottom:98px}#mouseControls button{min-width:48px;min-height:55px;padding:5px 8px;font-size:25px;border-radius:12px}#mouseControls small{font-size:9px}.movePad>div,.turnPad{gap:5px}.turnPad{flex-direction:column}#mouseControls .turnPad button{min-width:82px}#mouseControls p{font-size:9px;bottom:-24px}#touchControls{left:18px;right:18px;bottom:95px}#joystick{width:110px;height:110px}#arrows button{padding:10px 12px}
 #enterButton{top:55%;font-size:13px;padding:14px 17px}#target{top:calc(55% + 60px);max-width:88vw;font-size:11px}#crosshair{top:50%}
 .panel{left:12px;right:12px;top:87px;bottom:73px;width:auto;padding:20px;border-radius:16px}.panel h2{font-size:25px}.hallRow{grid-template-columns:30px 1fr;gap:10px}.hallActions{grid-column:2;flex-wrap:wrap}.hallRow strong{font-size:13px}.campusMap{max-height:270px}.mapLegend{line-height:1.6}.panel .eyebrow{font-size:9px}
 dialog{padding:27px 20px;max-width:94vw;max-height:90dvh}.controlChoices{gap:8px}.controlChoices button{padding:13px 11px;font-size:13px;min-height:112px}.controlChoices small{font-size:11px}.displaySettings{gap:10px}#help h2{font-size:25px}#tutorial p{font-size:14px;line-height:1.7}
 #catalog{padding:0 16px 85px!important}.catalogHead{min-height:65px;gap:8px}.catalogHead button{font-size:11px;min-height:42px;padding:10px 12px}.showroomLayout{display:flex;flex-direction:column;gap:0}.modelSide{position:relative;top:auto;order:1;padding-top:15px}.productSide{display:contents}.productSide .catalogHero{order:0;padding:20px 0 0}.productSide .catalogHero h1{font-size:26px}.productSide .cards{order:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.productSide .pagination{order:3}.productSide .priceNote{order:4}.modelViewport{height:270px}.productSide .stage{height:125px}.productSide .stage img{max-height:105px}.productSide .cardBody{padding:12px}.productSide .card h3{font-size:12px}.productSide .price{font-size:12px}.selectedInfo h2{font-size:20px}.selectedInfo a{display:inline-block;margin:12px 0 0 12px}.viewerControls{gap:6px}.viewerControls button{font-size:10px;padding:9px 11px}.sampleNote{font-size:10px}.viewerHint{margin:10px 0;font-size:10px}.modelHeading{margin:0 0 4px}.selectedInfo{padding:15px 0}.detailGrid{grid-template-columns:1fr;gap:20px}.detailGrid h2{font-size:24px}.detailImages img{max-height:280px}#notice{bottom:72px;width:max-content;max-width:90vw;font-size:11px;padding:13px 16px}
}
@media(max-height:560px) and (orientation:landscape){header{height:65px}.brand img{width:35px;height:35px}#welcome{top:80px;transform:none;max-height:calc(100dvh - 150px);width:350px;padding:18px}#welcome h1{font-size:29px;margin:8px 0}#welcome p{font-size:11px;margin:8px 0}.welcomeFoot{display:none}#modeBadge{top:70px}#mouseControls{bottom:85px}#mouseControls button{min-height:45px;font-size:21px}.turnPad{flex-direction:row}.panel{top:70px}#enterButton{top:39%}#target{top:calc(39% + 58px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}button{transition:none}#startButton,#enterButton,.guideAvatar.speaking{animation:none}}
