/* Uses the very same pale blue / glass tokens as title Options and Settings. */
:root { --fa-mobile-pad: max(14px, env(safe-area-inset-left)); --fa-mobile-right:max(14px, env(safe-area-inset-right)); --fa-mobile-bottom:max(14px, env(safe-area-inset-bottom)); }
#faunaraRotate[hidden], html.fa-mobile .fa-mobile-shortcuts[hidden] { display:none!important; }
#faunaraRotate { position:fixed;inset:0;z-index:2147483645;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;box-sizing:border-box;display:grid;place-items:center;padding:max(24px,env(safe-area-inset-top)) 24px;background:linear-gradient(145deg,#d9f1f6,#b9dce9 55%,#d4eee6);color:var(--fa-menu-ink,#346f92);font:500 16px/1.5 "Trebuchet MS",system-ui,sans-serif;text-align:center;touch-action:none; }
html.fa-mobile-portrait body #faunaraRotate,html.fa-mobile-portrait body #faunaraRotate * { visibility:visible!important; }
.fa-mobile-rotate-card { width:min(360px,100%);padding:32px 24px;border:1px solid #ffffffda;border-radius:30px;background:var(--fa-menu-surface,rgba(242,252,247,.68));box-shadow:0 15px 60px #336e8520,inset 0 1px #fff; }
.fa-mobile-rotate-card>svg { width:84px;height:84px;margin-bottom:18px; }
.fa-mobile-rotate-card h1 { font:italic bold 28px/1.2 "Trebuchet MS",system-ui,sans-serif;margin:0 0 12px;text-wrap:balance; }
.fa-mobile-rotate-card p { margin:0 0 24px; }
.fa-mobile-rotate-card button { display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 18px;border:1px solid #fff;border-radius:24px;background:var(--fa-menu-blue,#c5dce9);color:inherit;font:inherit; }
.fa-mobile-rotate-card button svg { width:22px;height:22px; }
html.fa-mobile .fa-mobile-shortcuts { position:fixed;inset:max(12px,env(safe-area-inset-top)) var(--fa-mobile-right) auto var(--fa-mobile-pad);z-index:124;display:flex;justify-content:flex-end;gap:12px;pointer-events:none; }
html.fa-mobile .fa-mobile-shortcuts button, html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-button, html.fa-mobile .faunara-touch-stick {
  color:var(--fa-menu-ink,#346f92);border:1.5px solid var(--fa-menu-line,rgba(255,255,255,.85));border-radius:50%;background:linear-gradient(145deg,#f4fcf9b8,#c5dce9a8);box-shadow:inset 0 1px 2px #fff9,inset 0 -2px 7px #6babb523,0 3px 12px #163f5c2b;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
html.fa-mobile .fa-mobile-shortcuts button { display:grid;place-items:center;flex:none;width:50px;height:50px;padding:11px;pointer-events:auto;touch-action:none; }
html.fa-mobile .fa-mobile-shortcuts button[hidden] { display:none; }
html.fa-mobile .fa-mobile-shortcuts svg { width:100%;height:100%; }
html.fa-mobile .fa-mobile-shortcuts button:focus-visible,html.fa-mobile #faunaraActionPrompt button:focus-visible { outline:3px solid var(--fa-menu-ink,#346f92);outline-offset:3px; }
html.fa-mobile .fa-mobile-shortcuts button:active,html.fa-mobile #faunaraActionPrompt .fa-context-button:active,html.fa-mobile #faunaraActionPrompt .fa-context-button[data-pressed="true"] { scale:.96;transform:none;background:var(--fa-menu-teal,#3fb4af);color:white; }
html.fa-mobile .faunara-touch-stick { width:clamp(118px,32vh,154px);height:clamp(118px,32vh,154px);left:var(--fa-mobile-pad);bottom:var(--fa-mobile-bottom);font-size:0; }
html.fa-mobile .faunara-touch-stick i { width:44%;height:44%;border:1.5px solid #ffffffde;background:linear-gradient(145deg,#f5fff9df,#a5ccdfca);box-shadow:inset 0 1px 4px #fff9,0 3px 9px #346f9230;border-radius:50%;pointer-events:none; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] { --fa-action-size:60px;position:fixed;inset:auto var(--fa-mobile-right) var(--fa-mobile-bottom) auto!important;width:254px;height:224px;margin:0;transform:none;z-index:124;display:block;padding:0;pointer-events:none; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"][hidden] { display:none; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] :is(.fa-context-diamond,.fa-context-shoulders) { position:static;inset:auto;width:auto;height:auto;transform:none; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-button { position:absolute;inset:auto;width:var(--fa-action-size);height:var(--fa-action-size);min-width:48px;min-height:48px;padding:14px;pointer-events:auto;transition:scale .12s ease,background-color .12s ease;opacity:1; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-button:disabled { opacity:.3;pointer-events:none; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-glyph { position:static;inset:auto;display:block;width:100%;height:100%;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;opacity:1; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-glyph svg { display:block;width:100%;height:100%; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-label { display:none!important; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="primary"] { right:0;bottom:0;width:84px;height:84px;padding:22px; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="secondary"] { right:1px;bottom:102px; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="back"] { right:104px;bottom:2px; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="tools"] { right:100px;bottom:86px; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="capture"] { right:58px;bottom:164px; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="focus"] { right:180px;bottom:58px;width:50px;height:50px;padding:11px; }
/* The center stays available for camera drag; status avoids both thumb zones. */
html.fa-mobile body[data-input-device="touch"] #faunaraHud.fa-hud-flow { top:calc(max(12px,env(safe-area-inset-top)) + 62px);bottom:var(--fa-mobile-bottom); }
html.fa-mobile body[data-input-device="touch"] #faunaraHud .fa-hud-bottom { max-width:var(--fa-mobile-status-width,340px);margin-bottom:var(--fa-mobile-status-bottom,0px); }
html.fa-mobile body[data-input-device="touch"] #faunaraHud .fa-hud-left .fa-hud-bottom { position:fixed;left:var(--fa-mobile-status-left,150px);bottom:var(--fa-mobile-bottom);width:var(--fa-mobile-status-width,240px);max-height:calc(100dvh - 90px);margin:0; }
html.fa-mobile body[data-input-device="touch"] #faunaraHud .fa-hud-right .fa-hud-bottom { display:none; }
html.fa-mobile body.faunara-game[data-input-device="touch"] #faunaraHud > #toast { left:calc(var(--fa-mobile-status-left,150px) + var(--fa-mobile-status-width,240px) / 2)!important;max-width:var(--fa-mobile-status-width,240px); }
html.fa-mobile body[data-input-device="touch"] :is(.fa-gym-touch,.fa-race-touch,.cold-touch,.fa-race-menu-button) { display:none!important; }
html.fa-mobile #faunaraActionPrompt[data-device="touch"][data-dialogue="true"] { bottom:var(--fa-dialogue-bottom,180px)!important;height:84px; }
@media(max-height:430px) {
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] { --fa-action-size:52px;width:222px;height:192px; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="primary"] { width:72px;height:72px;padding:18px; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="secondary"] { right:0;bottom:88px; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="back"] { right:90px;bottom:0; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="tools"] { right:87px;bottom:74px; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="capture"] { right:49px;bottom:140px; }
  html.fa-mobile #faunaraActionPrompt[data-device="touch"] [data-role="focus"] { right:160px;bottom:50px;width:48px;height:48px;padding:11px; }
}
@media(prefers-reduced-motion:reduce) { html.fa-mobile #faunaraActionPrompt[data-device="touch"] .fa-context-button { transition:none; } }
