/* Both entrance choices fit ordinary portrait phones. No hidden body overflow:
   zoom, expanded content and short landscapes remain scrollable. */
@media(max-width:700px){
 .entrance{min-height:100svh;display:flex;flex-direction:column;padding:12px 16px;max-width:700px}
 .entrance nav{gap:0;padding:0;letter-spacing:0}
 .entrance nav button{min-width:44px;min-height:44px;padding:6px}
 .entrance main{display:flex;flex-direction:column;flex:1}
 .entrance .intro{padding:8px 48px 10px 0}
 .entrance .intro h1{font-size:26px;line-height:1.18}
 .entrance .intro p{font-size:12px;line-height:1.4;margin-top:6px}
 .entrance .about-tag{top:10px;min-width:44px}
 .entrance .about-tag img{width:34px;height:51px}
 .entrance .about-tag span{font-size:9px;margin-top:3px;max-width:44px;line-height:1.2}
 .entrance .doors{flex:1;grid-template-rows:repeat(2,1fr);gap:10px}
 .entrance .door{flex-wrap:nowrap;gap:10px;min-height:112px;padding:10px 12px}
 .entrance .symbol{flex:0 0 54px;width:54px;height:64px}
 .entrance .symbol svg{width:54px;height:64px;min-width:54px}
 .entrance .door-copy{flex:1;min-width:0}
 .entrance .door-copy h2{font-size:20px;line-height:1.2}
 .entrance .door-copy p{font-size:12px;line-height:1.35;margin-top:4px}
 .entrance .entry-action{min-height:28px;margin-top:6px;padding:4px 12px;font-size:12px}
 .entrance footer{flex:none;margin-top:10px;font-size:11px;line-height:1.4}
}
@media(max-width:700px) and (min-height:720px){
 .entrance{padding-top:20px;padding-bottom:20px}
 .entrance .intro{padding-top:16px;padding-bottom:20px}
 .entrance .door{min-height:140px}
 .entrance .symbol,.entrance .symbol svg{width:72px;height:80px;min-width:72px;flex-basis:72px}
}

/* The common header sits above the entrance. Fill the remaining viewport,
   rather than adding a second full viewport beneath the header. */
@media(max-width:700px){
 body:has(>.entrance){display:flex;flex-direction:column;min-height:100svh}
 body:has(>.entrance)>.entrance{flex:1;width:100%;min-height:0;margin:0 auto}
}
