/**
 * Worship Studio inside the TruBible OS window (TINL-1378). Only on a computer (`html.tbos-desktop`, set
 * by /os/tb-os.js); phones, tablets and the store apps never match these rules.
 */
html.tbos-desktop .wp-landing { min-height: 100%; }
/* the editor fills the window under its own bar (it used the whole screen height before) */
html.tbos-desktop .wp-editor { height: calc(var(--app-vh) - 64px); }
/* Light and Dark, and "Search and apps", are in the desktop's menu bar and the window's title bar here */
html.tbos-desktop .wp-top .wp-theme-btn,
html.tbos-desktop .wp-top-door { display: none; }
/* the Look drawer belongs to the window, not to the screen */
@media (max-width: 1500px) { html.tbos-desktop .wp-look { position: absolute; } }
/* presenting takes the whole screen: the desktop steps aside */
html.tbos-desktop body.wp-presenting .tbos-menubar,
html.tbos-desktop body.wp-presenting .tbos-rail { display: none; }

/* ---------- The introduction on a phone, and inside an installed app: a welcome screen ----------
   (html.tbos-phone = a phone-sized screen; html.tbos-app = a store app, the desktop app, an installed web app.)
   The landing's own markup: the live slide preview first with the app's icon on its lower edge, the promise,
   one full-width button. "Open a screen" stays in the corner: a TV or tablet joins with a code, signed out.
   Inside an app the feature list and "How it works" are not drawn; in a phone browser they follow below. */
:is(html.tbos-app, html.tbos-phone) .wp-landing-nav .wp-brand,
:is(html.tbos-app, html.tbos-phone) .wp-landing-nav .wp-theme-btn,
:is(html.tbos-app, html.tbos-phone) .wp-landing-nav [data-action="signin"],
:is(html.tbos-app, html.tbos-phone) .wp-eyebrow,
html.tbos-app .wp-features,
html.tbos-app .wp-showcase,
html.tbos-app #wp-how-link,
html.tbos-app .wp-foot-site { display: none; }
html.tbos-app .wp-landing { min-height: 100dvh; }
html.tbos-phone:not(.tbos-app) .wp-hero { min-height: 92svh; }
:is(html.tbos-app, html.tbos-phone) .wp-hero { flex: 1; overflow: visible; }
:is(html.tbos-app, html.tbos-phone) .wp-landing-nav { justify-content: flex-end; padding: calc(8px + env(safe-area-inset-top)) 12px 0; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-grid { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0; max-width: 520px; padding: 8px 22px 6px; box-sizing: border-box; text-align: center; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-stage { order: -1; perspective: none; margin: 0 6px; }
:is(html.tbos-app, html.tbos-phone) .wp-screen { transform: none; animation: none; padding: 6px; border-radius: 24px; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-copy { display: flex; flex-direction: column; align-items: center; margin-top: -38px; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-copy::before { content: ''; position: relative; z-index: 2; width: 80px; height: 80px; margin-bottom: 14px; border-radius: 22.5%; background: url("/os/img/app-worship.svg?v=2") center / cover; box-shadow: 0 0 0 5px var(--wp-bg), 0 14px 28px -12px rgba(0, 0, 0, 0.5); }
:is(html.tbos-app, html.tbos-phone) .wp-hero h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 7.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.035em; }
:is(html.tbos-app, html.tbos-phone) .wp-hero p.lead { margin: 0 0 22px; font-size: 1rem; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-cta { flex-direction: column; flex-wrap: nowrap; align-self: stretch; gap: 4px; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-cta .wp-btn { width: 100%; justify-content: center; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-cta .wp-btn-primary { min-height: 54px; border-radius: 16px; font-size: 1.05rem; }
:is(html.tbos-app, html.tbos-phone) .wp-hero-cta .wp-btn:not(.wp-btn-primary) { border-color: transparent; background: transparent; box-shadow: none; }
:is(html.tbos-app, html.tbos-phone) .wp-landing-foot { justify-content: center; text-align: center; gap: 4px 12px; padding: 4px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 0; font-size: 0.8rem; }

/* ---------- The introduction on a computer: the side panel is the navigation ---------- */
html.tbos-desktop .wp-landing .wp-landing-nav { display: none; }
html.tbos-desktop .wp-landing.tbos-split { min-height: var(--app-vh); background: transparent; }
