/* V55: one-screen entry, compact world chrome, complete avatar podium. */
:root{--pustaka-header:64px;--pustaka-sidebar:176px;--pustaka-gap:8px}
html,body{margin:0;min-height:0}body{overflow:hidden}
body #main{height:var(--app-height,100dvh);min-height:0;overflow:hidden}

/* Welcome is real HTML over a scenery-only background. */
body:not(.exploring) #main{padding:0;background:#164e36;overflow:hidden}
body:not(.exploring) #landingHero{position:absolute;inset:0;width:100%;height:100%;margin:0;border:0;border-radius:0;z-index:1;pointer-events:none}
body:not(.exploring) #landingHero img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
body:not(.exploring) #welcomeBackdrop{display:none!important}
body:not(.exploring) .site-header{position:absolute;inset:12px 18px auto;height:66px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none;justify-content:center}
body:not(.exploring) .site-header .brand{position:absolute;left:50%;transform:translateX(-50%);width:auto;flex:none;padding:5px 24px;border:1px solid #c99c34;border-radius:50px;background:#fffae8ed;box-shadow:0 3px 12px #113e2928;pointer-events:auto}
body:not(.exploring) .site-header .brand-logo-full{display:block;width:270px;height:54px;object-fit:contain}
body:not(.exploring) .site-header .brand-logo,body:not(.exploring) .site-header .brand>span{display:none!important}
body:not(.exploring) .site-header #musicDock{position:absolute!important;right:0!important;left:auto!important;top:7px!important;bottom:auto!important;height:45px;background:#fff9e8f5;border-color:#caa34e;border-radius:25px;pointer-events:auto}
body:not(.exploring) #welcomeContent{position:absolute;z-index:4;inset:21% auto 9% 50%;transform:translateX(-50%);width:min(760px,61vw);display:flex;flex-direction:column;justify-content:flex-end;gap:14px;min-height:0}
body:not(.exploring) #intro{position:static;inset:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;width:100%;max-width:none;min-height:0;max-height:none;margin:0;padding:22px 28px 24px;box-sizing:border-box;overflow:visible;text-align:center;border:2px solid #edc366;border-radius:48px;background:linear-gradient(135deg,#fffae8e8,#fff6dbe8);box-shadow:0 8px 32px #20513730,inset 0 0 30px #ffffff70;backdrop-filter:blur(6px)}
body:not(.exploring) #intro .eyebrow{font-size:clamp(14px,1.2vw,18px);letter-spacing:4px;color:#ffe6a2;background:linear-gradient(#117643,#034b2f);border:1px solid #dfb448;border-radius:30px;padding:9px 24px;margin:0 0 10px;line-height:1.2;box-shadow:0 3px 7px #52642a25}
body:not(.exploring) #intro h1{font:850 clamp(30px,min(4.7vw,7.3dvh),68px)/1.03 'Segoe UI',Arial,sans-serif;margin:0 0 12px;color:#003e2d;letter-spacing:-1px}
body:not(.exploring) #intro h1 span{color:#008a55}
body:not(.exploring) #intro .intro-copy{font-size:clamp(16px,1.35vw,22px);line-height:1.4;max-width:600px;margin:0 0 20px;color:#184f3b}
body:not(.exploring) #intro .intro-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
body:not(.exploring) #intro .intro-actions .button{width:100%;min-height:52px!important;min-width:0;padding:12px!important;border:1px solid #c99c34;border-radius:30px!important;font-size:clamp(16px,1.5vw,23px)!important;font-weight:750;box-sizing:border-box;white-space:nowrap;line-height:1.2}
body:not(.exploring) #startButton{background:linear-gradient(#078652,#005337);color:#fff8dc;box-shadow:0 3px 7px #38673c33}
body:not(.exploring) #exploreButton{background:#fff9e9;color:#073f2e}
#welcomeStations{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex:none}
#welcomeStations button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:88px;padding:10px 8px;background:#fff8e6ef;color:#064b34;border:1px solid #d4a948;border-radius:23px;font-size:clamp(14px,1.15vw,18px);font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 4px 8px #0c40352b}
#welcomeStations button:hover{background:#fffde9;transform:translateY(-2px)}
#welcomeStations svg{height:31px;width:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:not(.exploring) #welcomeFooter{position:absolute;inset:auto 20px 10px;display:flex;align-items:center;justify-content:center;gap:20px;height:40px;margin:0;color:#fffce5;text-shadow:0 1px 4px #073c26;font-size:16px;z-index:4;pointer-events:none}
body:not(.exploring) #welcomeFooter img{position:absolute;right:0;bottom:0;height:53px;width:112px;padding:6px 10px;object-fit:contain;background:#fff9e8ef;border:1px solid #deb554;border-radius:18px;box-sizing:border-box}
body.exploring #welcomeContent{display:none}

/* More viewport, less chrome. */
body.exploring .site-header{height:var(--pustaka-header);padding:7px 16px;gap:10px;background:linear-gradient(110deg,#f9f6df,#e7efdc);border-bottom:1px solid #b8cdb3}
body.exploring .site-header .brand{gap:8px}
body.exploring .site-header .brand-logo{width:42px!important;height:42px!important}
body.exploring .site-header .brand>span{font-size:22px}
body.exploring .site-header #menuToggle,body.exploring .site-header #logoutButton,body.exploring #musicDock{height:39px;min-height:0;padding:7px 12px;font-size:15px;border-radius:12px;background:#fffcf1}
body.exploring #musicDock{padding:0 5px}
body.exploring #musicToggle{font-size:15px!important}
body.exploring #pustakaWorkspace{padding:8px 8px 8px 0;row-gap:7px;background:radial-gradient(ellipse at 0 100%,#d4e3be,transparent 50%),linear-gradient(110deg,#edf2dd,#f9f7e9)}
body.exploring #pustakaSidebar{padding:0 8px;background:linear-gradient(145deg,#e2eedb80,#f9f4df55)}
.sidebar-collapse{width:30px;height:30px;border-radius:9px;margin-bottom:9px;font-size:21px}
#pustakaSidebar nav{gap:5px}
#pustakaSidebar nav>button{min-height:44px;padding:11px 9px;gap:10px;font-size:14px;border-radius:12px;line-height:1.4}
#pustakaSidebar svg{width:23px;height:23px}
.sidebar-label{margin:7px 2px 0;padding:13px 8px 3px;font-size:12px}
body.exploring #pustakaStatus{min-height:41px;padding:4px 10px;gap:8px;border-radius:12px;background:linear-gradient(100deg,#fbf9ec,#eef3e5);border-color:#cbd9bc;box-shadow:0 2px 5px #1e4c3510}
#pustakaStatus #journeyBar{gap:7px;min-width:0}
#pustakaStatus #journeyBar strong{font-size:14px;white-space:nowrap}
#pustakaStatus #journeyStatus{font-size:13px}
#pustakaStatus #emojiTray,#pustakaStatus #actionTray{border:0;background:none;padding:0;box-shadow:none}
#pustakaStatus #emojiToggle,#pustakaStatus #actionToggle{font-size:14px!important;line-height:1.2;height:31px!important;min-height:31px;padding:5px 11px;white-space:nowrap;border-radius:10px;margin:0}
body.exploring #pustakaWorkspace.sidebar-collapsed{grid-template-columns:56px minmax(0,1fr)}
body.exploring #sceneViewport{border-radius:15px}

/* Use geometric strokes, not a font glyph, for every close button. */
button[data-close-icon]{position:relative;display:inline-grid!important;place-items:center;box-sizing:border-box;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex:0 0 42px;padding:0!important;font-size:0!important;line-height:0!important;border-radius:50%!important;overflow:hidden;vertical-align:middle;cursor:pointer;transform:none!important}
button[data-close-icon]:before,button[data-close-icon]:after{content:'';position:absolute;left:50%;top:50%;width:18px;height:2.5px;background:currentColor;border-radius:3px;margin:0;transform:translate(-50%,-50%) rotate(45deg)}
button[data-close-icon]:after{transform:translate(-50%,-50%) rotate(-45deg)}
.dialog-top{box-sizing:border-box;gap:14px}
.dialog-top>button[data-close-icon]{margin-left:auto!important;align-self:center}
#accessDialog>#closeAccess{position:absolute;right:18px;top:18px;z-index:5}

/* Entry dialogs fit the current visual viewport. The teacher settings remain scrollable. */
#accessDialog{width:min(1100px,96vw);max-width:96vw;height:min(720px,94dvh);max-height:94dvh;box-sizing:border-box;padding:22px 30px;overflow:hidden;border-radius:30px}
#accessDialog>section:not([hidden]){display:flex;flex-direction:column;height:100%;min-height:0;box-sizing:border-box}
#accessDialog .access-brand{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:12px;margin:0 50px 8px;min-height:46px;flex:none}
#accessDialog .access-brand img{width:48px;height:48px;flex:none}
#accessDialog .access-brand span{font-size:16px;letter-spacing:1px;font-weight:750}
#accessDialog h2{font:800 clamp(27px,min(4vw,5.7dvh),46px)/1.1 'Segoe UI',Arial,sans-serif;margin:5px 0 10px;text-align:center;flex:none}
#accessDialog .access-intro{font-size:clamp(16px,1.65vw,21px);line-height:1.35;margin:0 0 16px;text-align:center;flex:none}
#accessDialog .role-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px;flex:1;min-height:0;max-height:none;margin:0;align-items:stretch}
#accessDialog .role-card,#accessDialog .pupil-card{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:14px 18px;min-width:0;min-height:0;box-sizing:border-box;gap:0;overflow:hidden;border-radius:28px}
#accessDialog .role-art{flex:1 1 170px;height:auto;min-height:50px;max-height:240px;width:100%;position:relative;max-width:none;margin:0}
#accessDialog .role-card>strong,#accessDialog .pupil-card h3{font:800 clamp(25px,min(3vw,4.5dvh),38px)/1.1 'Segoe UI',Arial,sans-serif;margin:8px 0}
#accessDialog .role-card>span:not(.role-art):not(.role-cta),#accessDialog .pupil-card>p{font-size:16px;line-height:1.35;margin:0 0 12px;max-width:none}
#accessDialog .role-cta,#accessDialog .pupil-card>.button,#accessDialog #pupilRoomForm>.button{flex:none;width:100%;font-size:19px;min-height:46px;padding:12px 10px;border-radius:28px;box-sizing:border-box;line-height:1.2}
#accessDialog #pupilRoomForm{display:grid;grid-template-columns:1fr;gap:8px;flex:none;width:100%;min-width:0}
#pupilRoomForm label{font-size:15px;text-align:left;gap:5px;margin:0}
#pupilRoomForm input{height:43px;min-height:0;padding:10px;font-size:16px}
#pupilLoginStatus{font-size:14px;line-height:1.3;margin:0;min-height:0}
#pupilLoginStatus:empty{display:none}
#accessDialog .role-back{position:absolute;left:18px;top:18px;padding:8px 13px;min-height:38px;font-size:14px;z-index:4}
#accessDialog #teacherChoice{justify-content:center}
#teacherChoice .teacher-login-form{width:min(510px,100%);max-height:100%;padding:16px;margin:auto;overflow:auto;box-sizing:border-box}
#teacherChoice .teacher-portrait{max-height:90px}

/* No cropped painted podium: the avatar and its gold platform share a camera. */
#studentDialog #characterChoice,#studentDialog #characterCustomize{background-image:url('assets/pustaka-v55/studio-room.webp')!important;background-size:cover!important;background-position:center!important}
#characterChoice{min-height:0;overflow:hidden}
#characterChoice .character-carousel{flex:1;min-height:0;grid-template-columns:54px minmax(0,480px) 54px;padding:8px 22px 0;gap:18px}
#characterChoice .character-podium{height:100%;min-height:0;max-height:none;padding:0;background:none}
#characterChoice .character-dots{position:static;margin:5px 0 10px;flex:none;align-self:center}
#characterChoice .studio-note{width:100%;box-sizing:border-box;min-height:66px;padding:15px 240px 15px 22px;font-size:16px;margin:0;flex:none;background:#03452fed}
#chooseCharacter{bottom:12px;right:22px;min-height:43px;width:190px}
.studio-columns>.character-podium{padding:0;min-height:0}

/* Browse all game cards first, then open the chosen game. */
.game-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;padding:26px;align-content:start}
.game-choice-card{display:flex;flex-direction:column;gap:12px;padding:15px;background:linear-gradient(140deg,#faf7e2,#dce8c3);color:#06432f;border:1px solid #c3a24e;border-radius:23px;text-align:center;cursor:pointer;min-width:0;max-width:440px;box-shadow:0 5px 12px #284e2c15}
.game-choice-card:hover{outline:2px solid #398660;background:#e6efca}
.game-choice-card>strong{font-size:21px;line-height:1.35}
.game-choice-card>span:last-child{font-size:15px;color:#426b44}
.game-card-art{height:170px;display:grid;place-items:center;background:linear-gradient(#dce8bd,#bacf99);border-radius:17px;overflow:hidden}
.game-card-art>img{width:100%;height:100%;object-fit:cover}
.game-card-symbol{display:grid;place-items:center;width:100%;height:100%}
.game-card-symbol svg{width:130px;height:90px;fill:#0c6442;stroke:#f1ce68;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 5px 4px #28532b30)}
#gameDialog .game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 24px;flex-wrap:wrap}
#gameDialog .game-toolbar h3{margin:0;font-size:20px;flex:1}
#gameEmbed{height:65dvh;min-height:340px}
#gameStatus{margin:12px 24px 22px;font-size:16px;line-height:1.5}
.book-group-heading{grid-column:1/-1;margin:14px 0 0;padding-bottom:10px;border-bottom:1px solid #bed0a1;font-size:23px;color:#174f36}
.teacher-language,.teacher-format{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:14px}
.teacher-language select,.teacher-format select{width:100%;min-width:0;font-size:14px!important;padding:10px!important}

@media(max-width:1000px){
 :root{--pustaka-sidebar:155px;--pustaka-header:60px}
 body.exploring .site-header .brand>span{font-size:18px}
 body:not(.exploring) #welcomeContent{width:66vw;bottom:10%;gap:10px}
 body:not(.exploring) #intro{padding:18px 20px;border-radius:36px}
 body:not(.exploring) #intro .intro-copy{font-size:17px;margin-bottom:14px}
 #welcomeStations{gap:8px}#welcomeStations button{min-height:75px;font-size:14px;border-radius:18px}
 #accessDialog{padding:20px 24px}
}
@media(max-width:760px){
 :root{--pustaka-sidebar:54px;--pustaka-header:56px}
 body.exploring #pustakaWorkspace{padding:6px 6px 6px 0;column-gap:5px;row-gap:5px}
 body.exploring #pustakaSidebar{padding:0 5px}#pustakaSidebar nav>button{padding:9px 4px;min-height:40px}
 #pustakaSidebar nav>button span,.sidebar-label{display:none}
 body.exploring .site-header{padding:6px 9px;gap:6px}
 body.exploring .site-header .brand-logo{width:34px!important;height:34px!important}
 body.exploring .site-header .brand>span{font-size:16px}
 body.exploring #pustakaStatus{padding:3px 7px;min-height:36px}
 #pustakaStatus #emojiToggle,#pustakaStatus #actionToggle{font-size:13px!important;min-height:29px;height:29px!important;padding:4px 8px}
 #pustakaStatus #journeyBar strong{font-size:13px}
 #accessDialog{height:94dvh;padding:18px 20px}
 #accessDialog .role-cards{gap:12px}
 #accessDialog .role-card,#accessDialog .pupil-card{padding:12px;border-radius:23px}
 #accessDialog .role-cta,#accessDialog .pupil-card>.button,#accessDialog #pupilRoomForm>.button{font-size:16px;min-height:42px;padding:10px 8px}
 #accessDialog .role-art{flex-basis:100px;max-height:170px}
 #accessDialog .access-brand{min-height:36px;margin-bottom:7px}
 #accessDialog .access-brand img{width:36px;height:36px}
 #accessDialog .access-brand span{font-size:14px}
 #characterChoice .character-carousel{grid-template-columns:38px minmax(0,1fr) 38px;padding:4px 10px 0;gap:6px}
 #characterChoice .studio-note{padding:12px 170px 12px 15px;font-size:14px;min-height:64px}
 #chooseCharacter{right:14px;bottom:12px;width:140px;min-height:40px}
}
@media(max-width:600px) and (orientation:portrait){
 body:not(.exploring) .site-header{inset:10px 10px auto;height:56px;margin:0}
 body:not(.exploring) .site-header .brand{left:0;transform:none;padding:5px 12px}
 body:not(.exploring) .site-header .brand-logo-full{width:190px;height:44px}
 body:not(.exploring) .site-header #musicDock{top:8px!important;height:38px}
 body:not(.exploring) #welcomeContent{inset:22% 14px 10%;transform:none;width:auto;gap:10px}
 body:not(.exploring) #intro{padding:18px 16px;border-radius:30px}
 body:not(.exploring) #intro h1{font-size:clamp(30px,8.5vw,44px);margin-bottom:12px}
 body:not(.exploring) #intro .eyebrow{font-size:13px;letter-spacing:2px;padding:7px 14px;margin-bottom:12px}
 body:not(.exploring) #intro .intro-copy{font-size:16px;line-height:1.35;margin-bottom:15px}
 body:not(.exploring) #intro .intro-actions{gap:8px}
 body:not(.exploring) #intro .intro-actions .button{font-size:15px!important;min-height:45px!important;padding:10px 6px!important}
 #welcomeStations{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 #welcomeStations button{min-height:77px;padding:8px 4px;font-size:12px;line-height:1.2;border-radius:15px;gap:6px}
 #welcomeStations svg{height:24px;width:26px}
 body:not(.exploring) #welcomeFooter{inset:auto 12px 8px;height:36px;font-size:13px;justify-content:flex-start;margin:0}
 body:not(.exploring) #welcomeFooter img{width:76px;height:40px;padding:4px 6px;border-radius:12px}
 #accessDialog{padding:60px 14px 14px;height:94dvh;width:96vw;max-height:94dvh}
 #accessDialog .access-brand{margin:0 0 8px}
 #accessDialog h2{font-size:28px;margin:4px 0 8px}
 #accessDialog .access-intro{font-size:16px;margin-bottom:12px}
 #accessDialog .role-cards{grid-template-columns:1fr 1fr;gap:9px}
 #accessDialog .role-card,#accessDialog .pupil-card{padding:10px 8px;border-radius:20px;justify-content:flex-end}
 #accessDialog .role-art{width:100%;flex:1 1 110px;min-height:40px;max-height:210px}
 #accessDialog .role-card>strong,#accessDialog .pupil-card h3{font-size:25px;margin:8px 0;line-height:1.15}
 #accessDialog .role-card>span:not(.role-art):not(.role-cta),#accessDialog .pupil-card>p{font-size:14px;line-height:1.35;margin-bottom:12px}
 #accessDialog .role-cta,#accessDialog .pupil-card>.button,#accessDialog #pupilRoomForm>.button{font-size:15px;min-height:44px;padding:10px 7px;border-radius:20px;white-space:normal}
 #pupilRoomForm label{font-size:14px}#pupilRoomForm input{font-size:14px;height:42px;padding:8px;min-width:0;width:100%}
 #accessDialog .together-card .role-art{max-height:140px}
 #accessDialog .solo-art{max-height:230px}
 #teacherChoice .teacher-login-form{padding:8px}
 .game-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}
 .game-choice-card{padding:10px;gap:9px;border-radius:18px}.game-choice-card>strong{font-size:17px}.game-card-art{height:120px}.game-card-symbol svg{width:100px}
 #gameEmbed{height:65dvh;min-height:340px}
}
@media(max-height:560px) and (orientation:landscape){
 body:not(.exploring) .site-header{inset:6px 12px auto;height:45px}
 body:not(.exploring) .site-header .brand-logo-full{height:34px;width:210px}
 body:not(.exploring) .site-header #musicDock{height:36px;top:0!important}
 body:not(.exploring) #welcomeContent{top:22%;bottom:9%;width:62vw;gap:7px}
 body:not(.exploring) #intro{padding:12px 18px;border-radius:30px}
 body:not(.exploring) #intro .eyebrow{font-size:12px;padding:5px 16px;letter-spacing:2px;margin-bottom:6px}
 body:not(.exploring) #intro h1{font-size:min(4.7vw,7dvh);line-height:1;margin-bottom:7px}
 body:not(.exploring) #intro .intro-copy{font-size:14px;line-height:1.25;margin-bottom:10px}
 body:not(.exploring) #intro .intro-actions .button{min-height:37px!important;font-size:15px!important;padding:8px!important}
 #welcomeStations{gap:7px}#welcomeStations button{min-height:54px;padding:6px;font-size:12px;gap:4px;border-radius:15px}#welcomeStations svg{height:21px;width:24px}
 body:not(.exploring) #welcomeFooter{bottom:3px;height:25px;font-size:12px}body:not(.exploring) #welcomeFooter img{width:78px;height:34px}
 #accessDialog{height:96dvh;max-height:96dvh;padding:12px 22px}
 #accessDialog .access-brand{height:28px;min-height:28px;margin:0 70px 2px}#accessDialog .access-brand img{height:28px;width:28px}
 #accessDialog h2{font-size:27px;margin:3px 0 5px}#accessDialog .access-intro{font-size:15px;margin-bottom:8px}
 #accessDialog .role-cards{gap:12px}#accessDialog .role-art{min-height:28px;max-height:90px;flex-basis:75px}
 #accessDialog .role-card,#accessDialog .pupil-card{padding:8px 12px;border-radius:20px}
 #accessDialog .role-card>strong,#accessDialog .pupil-card h3{font-size:24px;margin:4px 0}
 #accessDialog .role-card>span:not(.role-art):not(.role-cta),#accessDialog .pupil-card>p{font-size:14px;margin-bottom:6px}
 #accessDialog .role-cta,#accessDialog .pupil-card>.button,#accessDialog #pupilRoomForm>.button{font-size:16px;min-height:34px;padding:8px;border-radius:18px}
 #accessDialog #pupilRoomForm{grid-template-columns:1fr auto;align-items:end;gap:6px}
 #pupilRoomForm input{height:34px;padding:7px;font-size:14px}#pupilRoomForm label{font-size:13px;gap:3px}#pupilLoginStatus{grid-column:1/-1;font-size:13px}
 #accessDialog .role-back{top:10px;left:12px;min-height:32px;padding:6px 10px}
 #accessDialog>#closeAccess{top:10px;right:12px}
 #characterChoice .studio-note{min-height:45px;padding:10px 190px 10px 15px;font-size:14px}
 #chooseCharacter{min-height:34px;bottom:6px;right:15px;width:155px}
 #characterChoice .character-dots{margin:2px 0 5px}
}
@media(prefers-reduced-motion:reduce){#welcomeStations button:hover{transform:none}}

body.exploring #pustakaSidebar{background-image:url('assets/pustaka-v55/botanical-pattern.svg'),linear-gradient(145deg,#e4eed8,#f7f1dc);background-size:240px,auto}body.exploring #pustakaStatus{background-image:url('assets/pustaka-v55/botanical-pattern.svg'),linear-gradient(100deg,#fbf9ec,#eef3e5);background-size:220px,auto}

#accessDialog{height:min(720px,calc(var(--app-height,100dvh) - 20px));max-height:calc(var(--app-height,100dvh) - 20px)}
body.short-viewport #accessDialog .role-art{display:none!important}
body.short-viewport #accessDialog .access-brand{min-height:26px;height:26px;margin-bottom:3px}
body.short-viewport #accessDialog .access-brand img{height:26px;width:26px}
body.short-viewport #accessDialog h2{font-size:26px;margin:3px 0 6px}
body.short-viewport #accessDialog .access-intro{font-size:14px;margin-bottom:8px}
body.short-viewport #accessDialog .role-card,body.short-viewport #accessDialog .pupil-card{padding:8px 10px;justify-content:center}
body.short-viewport #accessDialog .role-card>strong,body.short-viewport #accessDialog .pupil-card h3{font-size:24px;margin:4px 0}
body.short-viewport #accessDialog .role-card>span:not(.role-art):not(.role-cta),body.short-viewport #accessDialog .pupil-card>p{font-size:14px;margin-bottom:8px}
body.short-viewport #accessDialog .role-cta,body.short-viewport #accessDialog .pupil-card>.button,body.short-viewport #accessDialog #pupilRoomForm>.button{font-size:15px;min-height:35px;padding:8px}

.dialog>.dialog-top{position:sticky;top:0;z-index:10}.dialog>.reader-top{position:sticky;top:0;z-index:10;background:#fcf6e7}

@media(orientation:portrait){body.short-viewport #accessDialog{padding:48px 12px 10px}body.short-viewport #accessDialog .access-brand,body.short-viewport #accessDialog .access-intro,body.short-viewport #accessDialog .pupil-card>p,body.short-viewport #accessDialog .role-card>span:not(.role-art):not(.role-cta){display:none}body.short-viewport #accessDialog h2{font-size:24px;margin:0 0 8px}body.short-viewport #pupilRoomForm{gap:5px}body.short-viewport #pupilRoomForm input{height:35px;padding:7px}}
