/* Landing layout stays native to Website; play navigation is rendered by the app's actual RNWeb components. */
.puzzle-hero-actions { display:flex;flex-wrap:wrap;gap:16px;align-items:center; }
.puzzle-hero-actions .resource-action { display:inline-flex;align-items:center;justify-content:center;gap:12px; }
.puzzle-free-launch { display:flex;justify-content:center;margin-top:32px; }
.puzzle-free-launch .resource-action { display:inline-flex;align-items:center;gap:12px;justify-content:center;min-height:58px;padding:16px 36px;font-size:21px; }
@media(min-width:1100px){.puzzle-catalogue .puzzle-game-card{flex-basis:calc((100% - 64px)/5);}}
.puzzle-play-page { margin:0;overflow:hidden;display:flex;flex-direction:column;height:100svh; }
.puzzle-app-header { flex:none;display:flex;align-items:center;padding:6px max(12px,env(safe-area-inset-right)) 6px max(12px,env(safe-area-inset-left));background:var(--bg);border-bottom:1px solid var(--border); }
.puzzle-app-header .resource-action { min-height:44px;font-size:16px; }
.puzzle-app-header a:focus-visible { outline:3px solid var(--tibumo-blue);outline-offset:2px; }
.puzzle-app-main { position:relative;flex:1;min-height:0; }
.puzzle-app-main,.puzzle-free-shell { margin:0;width:100%;height:100%; }
.puzzle-free-shell { display:flex;flex-direction:column;min-height:0; }
.puzzle-free-shell > :is([data-free-navigation],[data-free-player]) { flex:1;min-height:0; }
.puzzle-play-page [hidden] { display:none; }
.puzzle-free-frame { display:block;width:100%;height:100%;border:0;background:#e7f4ff; }
.puzzle-free-player { position:relative; }
.puzzle-free-error { position:absolute;z-index:36;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:var(--bg);color:var(--text);text-align:center;box-sizing:border-box;overflow:auto; }
.puzzle-free-error p { margin:0;max-width:38em; }
.puzzle-free-error .resource-action { min-height:44px;flex-shrink:0; }
.puzzle-free-shell > [role='status']:empty { display:none; }
.puzzle-free-shell > [role='status']:not(:empty) { flex:none;margin:0;padding:6px 12px;background:var(--surface);color:var(--text);font-size:14px;line-height:1.35;overflow-wrap:anywhere; }
.puzzle-app-settings { z-index:40;border:1px solid var(--border);border-radius:16px;max-width:calc(100vw - 32px);padding:18px;background:var(--surface);color:var(--text); }
.puzzle-app-settings::backdrop { background:#111f3280; }
.puzzle-app-settings form { display:flex;justify-content:flex-end;margin-bottom:12px; }
.puzzle-app-settings-panel { width:280px;max-width:100%;display:grid;gap:16px; }
.puzzle-app-settings-panel label { display:grid;gap:8px; }
.puzzle-app-settings-panel label:has(input) { display:flex;align-items:center;gap:10px; }
.puzzle-free-player > .resource-action { margin:10px; }
.puzzle-app-settings :is(a,button,select):focus-visible { outline:3px solid var(--tibumo-blue);outline-offset:3px; }
@media(max-width:599px){.puzzle-hero-actions .resource-action{width:100%;}}

.puzzle-free-shell > [data-free-status].puzzle-free-announcement { position:absolute;width:1px;height:1px;max-width:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;left:0;top:0;transform:none; }
