/* The passport shell and every chapter tab stay within a landscape phone. */
@media (orientation:landscape) and (max-height:500px){
 #lifeCityGame:not(.lcg-bunker-terminal-flow){position:fixed;inset:0;width:100dvw;max-width:none;height:100dvh;max-height:none;margin:0;overflow:hidden}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-header{flex:0 0 auto;min-height:38px;padding:3px 13px!important;gap:8px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-header .lcg-eyebrow,#lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-header-caption{display:none}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-header h1{font-size:17px!important;margin:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-close{width:31px;min-height:30px;padding:0!important}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-wallet{padding:2px 8px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-chapters{grid-template-columns:repeat(4,minmax(0,1fr))}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-chapters button{min-height:32px;padding:3px 5px;gap:4px;font-size:11px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-chapters button small{font-size:9px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-tabs{display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;overflow:hidden;padding:3px 10px;gap:3px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-tabs button{min-width:0;min-height:29px;overflow:hidden;text-overflow:ellipsis;padding:4px 5px;font-size:11px!important}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-content{min-height:0;flex:1 1 auto;overflow:hidden;padding:9px 14px 14px;overscroll-behavior:contain}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-content:has(>.lcg-page){padding:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page{box-sizing:border-box;height:100%;padding:9px 14px 14px;overflow:hidden}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page[hidden]{display:none}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page-tall{overflow:auto;scrollbar-width:thin}
 #lifeCityGame:not(.lcg-bunker-terminal-flow)[data-keyboard=true] .lcg-content{overflow:auto}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page-nav:not([hidden]){display:flex;align-items:center;gap:4px;margin-left:auto;padding:2px 6px;border:1px solid #bfa67466;border-radius:8px;background:#244236;color:#f1e0b2;font:700 10px system-ui;white-space:nowrap}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page-nav button{min-width:27px;min-height:27px;padding:0;border:0;border-radius:5px;background:#365848;color:#f5dfaa;font:700 20px/1 system-ui}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page-nav button:disabled{opacity:.35}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-footer{display:none}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-content h2{font-size:23px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero{padding:13px 16px;margin-bottom:9px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page>.lcg-hero{padding:13px 16px;margin-bottom:9px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero h2{font-size:24px;margin:3px 0 5px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page>.lcg-hero h2{font-size:24px;margin:3px 0 5px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero p{font-size:11px;margin:0 0 5px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page>.lcg-hero p{font-size:11px;margin:0 0 5px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-card{padding:10px;margin-bottom:8px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-card p{margin-bottom:6px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero:has(.lcg-hero-actions){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto auto auto auto;column-gap:15px;align-items:start;padding:10px 14px;margin:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-page>.lcg-hero:has(.lcg-hero-actions){display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);grid-template-rows:auto auto auto auto;column-gap:15px;align-items:start;padding:10px 14px;margin:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero:has(.lcg-hero-actions)>.lcg-eyebrow{grid-column:1;grid-row:1;font-size:9px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero:has(.lcg-hero-actions)>h2{grid-column:1;grid-row:2;margin:3px 0 4px;font-size:21px;line-height:1.04;max-width:none}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero:has(.lcg-hero-actions)>p{grid-column:1;grid-row:3/5;max-width:none;font-size:10px;line-height:1.25}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero .lcg-hero-actions{grid-column:2;grid-row:1/3;display:grid;grid-template-columns:1fr 1fr;gap:5px;align-self:end;margin:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero .lcg-hero-actions button{min-width:0;min-height:30px;padding:4px 7px;font-size:11px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero .lcg-journey-progress{grid-column:2;grid-row:3;font-size:9px;align-self:end}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) :is(.lcg-content,.lcg-page)>.lcg-hero progress{grid-column:2;grid-row:4;margin:5px 0 0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-journey-line{margin:7px 0 10px;padding:6px 0;font-size:10px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-paths h3{grid-column:1/-1;margin:0 0 1px;font-size:16px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path{display:grid;grid-template-columns:auto 1fr;align-content:start;gap:2px 6px;min-width:0;padding:6px;border:1px solid #7e977563;border-radius:8px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path>span{grid-row:1/3;font-size:13px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path>div{min-width:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path b,#lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-path button{grid-column:1/-1;min-height:24px;padding:3px 6px;font-size:10px}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-guide{margin:3px 0 0;padding:0}
 #lifeCityGame:not(.lcg-bunker-terminal-flow) .lcg-guide summary{min-height:23px;font-size:12px}
}
