/* Display lifecycle owns this guide. Soft-keyboard sizes do not decide rotation. */
#mobileEntry,#homeDisplay,#homeDisplayNote{display:none}
html.mobileEntry body>:not(#mobileEntry):not(#footer):not(#toast){visibility:hidden!important;pointer-events:none!important}
html.mobileEntry #mobileEntry{display:flex;position:fixed;inset:0;z-index:1100;align-items:center;justify-content:center;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(54px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));overflow-y:auto;background:radial-gradient(ellipse at 50% 30%,#283c2b,#101a14 70%);touch-action:pan-y}
.entryShell{width:min(330px,100%);text-align:center;display:grid;gap:12px;margin:auto}
.entryShell h1{margin:0;font-size:28px;letter-spacing:2px}
.entryRotate{font-size:44px;color:#d8ec86;line-height:1}
.entryShell p{margin:0;font-size:14px;line-height:1.6;color:#b6c5b0}
.entryShell button{min-height:46px;touch-action:manipulation}
.entryShell button[hidden]{display:none}
.entryShell details{text-align:left;font-size:12px;color:#9eaf96;line-height:1.6}
.entryShell summary{min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation}
html.mobileEntry #footer{z-index:1101;visibility:visible!important;font-size:9px}
body.mobile #homeDisplay{display:block}
body.mobile #homeAux{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
body.mobile #homeDisplayNote{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin-top:4px;color:#afbea4;font-size:11px}
body.mobile #homeDisplayNote button{border:0;background:transparent;min-height:44px!important;font-size:11px!important;white-space:nowrap}
body.mobile #homeDisplayStatus:empty{display:none}
@media(max-height:420px){.entryShell{gap:6px}.entryShell h1{font-size:22px}.entryRotate{display:none}.entryShell button{min-height:44px}html.mobileEntry #mobileEntry{padding-top:12px;padding-bottom:32px}}
body.mobile #portrait{display:none!important}
body.mobile.displayGuide #portrait{display:flex!important;position:fixed;inset:0;z-index:1000;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#111b15f5;padding:max(20px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left));overflow-y:auto;touch-action:pan-y;pointer-events:auto;border:0;border-radius:0;text-align:center}
#portrait .rotatePhone{font-size:54px;line-height:1.1;color:#d8ec86}
#portrait b{font-size:22px}#portrait p{max-width:320px;margin:0;font-size:14px;line-height:1.6;color:#c4ccbb}
#portrait .displayActions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
#portrait button{margin:0;min-height:44px;touch-action:pan-y}
#portrait details{max-width:340px;text-align:left;font-size:13px;color:#a8b59e;line-height:1.7}
#portrait summary{min-height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;touch-action:pan-y}
@media(max-height:420px){body.mobile.displayGuide #portrait{justify-content:flex-start;gap:6px}#portrait .rotatePhone{font-size:30px}#portrait b{font-size:18px}}
