/* Customer bootstrap/welcome presentation only; existing forms and portals are unchanged. */
#fitness-kitchen-complete-journey #fkj-welcome-navigation { margin-block: 12px; display: flex; }
#fitness-kitchen-complete-journey #fkj-welcome-navigation[hidden] { display: none; }
#fitness-kitchen-complete-journey #fkj-back-to-welcome { min-height: 44px; max-width: 100%; padding: 10px 18px; }
html.fkj-pwa-splash-active, html.fkj-pwa-splash-active body { background: #070907; }
html.fkj-pwa-splash-active body { overflow: hidden; }
html.fkj-pwa-splash-active #fitness-kitchen-complete-journey { opacity: 0; pointer-events: none; }
.fkj-premium-welcome { display: none; }
html.fkj-pwa-splash-active .fkj-premium-welcome {
  --welcome-green: #43ce73; /* Original dark Fitness Kitchen green. */
  display: block; position: fixed; inset: 0; z-index: 10000; overflow: auto;
  background: radial-gradient(ellipse at 35% 30%, #19251a55, transparent 65%), #070907;
  color: #fff; font-family: 'Alexandria', 'Segoe UI', Arial, sans-serif;
  text-align: center; color-scheme: dark;
}
.fkj-premium-welcome [hidden] { display: none !important; }
.fkj-premium-content {
  box-sizing: border-box; min-height: 100vh; min-height: 100dvh; width: min(100%, 680px); margin: auto;
  padding: calc(24px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.fkj-premium-logo { width: clamp(88px, 17dvh, 160px); height: auto; aspect-ratio: 1; border-radius: 50%; background: white; flex: none; }
.fkj-premium-heading { max-width: 430px; z-index: 1; }
.fkj-premium-heading h1 { font-size: clamp(32px, 10vw, 44px); line-height: 1.35; margin: 0; font-weight: 800; text-wrap: balance; }
.fkj-premium-underline { display: block; height: 6px; width: 38%; border-top: 3px solid var(--welcome-green); border-radius: 50%; margin: 12px auto; }
.fkj-premium-heading p { color: #e1e6e1; font-size: clamp(12px, 3.5vw, 17px); line-height: 1.8; margin: 0; text-wrap: balance; }
.fkj-premium-food { margin: 0 -20px; width: calc(100% + 40px); flex: 1; min-height: 130px; display: flex; align-items: center; justify-content: center; position: relative; }
.fkj-premium-food img { width: 100%; max-height: 36dvh; height: auto; aspect-ratio: 8 / 5; object-fit: cover; display: block; }
.fkj-premium-food::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#07090788, transparent 22%, transparent 78%, #07090788); }
.fkj-premium-state { width: min(100%, 430px); min-height: 158px; display: grid; align-items: center; }
.fkj-premium-state button { font: inherit; width: 100%; min-height: 48px; border-radius: 999px; cursor: pointer; margin: 0; padding: 10px 16px; border: 1px solid #fff9; background: transparent; color: #fff; transition: background .15s ease; }
.fkj-premium-state button:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.fkj-premium-state button:active { background: #ffffff20; }
#fkj-welcome-actions { display: grid; gap: 10px; }
#fkj-welcome-login, #fkj-welcome-retry { background: var(--welcome-green); color: #111411; border-color: transparent; font-weight: 700; }
#fkj-welcome-guest { border-color: transparent; color: #d5ded5; }
#fkj-welcome-loading-label { font-size: 14px; color: #e1e6e1; }
.fkj-premium-track { height: 4px; border-radius: 99px; overflow: hidden; background: #ffffff24; width: 75%; margin: 18px auto; direction: ltr; }
.fkj-premium-track span { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--welcome-green); animation: fkj-premium-loading 1.4s ease-in-out infinite alternate; }
#fkj-welcome-error-message { line-height: 1.6; color: #e1e6e1; }
@keyframes fkj-premium-loading { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
@media (max-height: 640px) { .fkj-premium-content { gap: 8px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); } .fkj-premium-logo { width: 82px; } .fkj-premium-food img { max-height: 29dvh; } }
@media (orientation: landscape) and (max-height: 600px) { .fkj-premium-content { width: min(100%, 1000px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; } .fkj-premium-logo { justify-self: center; } .fkj-premium-heading { grid-column: 1; } .fkj-premium-food { grid-column: 2; grid-row: 1 / 3; width: 100%; margin: 0; } .fkj-premium-food img { max-height: 60dvh; } .fkj-premium-state { grid-column: 1 / 3; justify-self: center; min-height: 0; } #fkj-welcome-actions { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .fkj-premium-track span { animation: none; margin: auto; } .fkj-premium-state button { transition: none; } }

/* Full-bleed portrait splash: the 720x1280 artwork is a background, not a 8:5 strip. */
html.fkj-pwa-splash-active .fkj-premium-welcome { overflow: hidden; }
.fkj-premium-content { position: relative; isolation: isolate; justify-content: space-between; overflow: hidden; width: 100%; max-width: none; min-height: 100dvh; }
.fkj-premium-food { position: absolute; inset: 0; margin: 0; width: 100%; min-height: 0; z-index: -1; display: block; pointer-events: none; }
.fkj-premium-food img { display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; object-position: center 63%; }
.fkj-premium-food::after { inset: 0; background: linear-gradient(180deg, #070907bd 0%, #07090777 28%, #07090718 51%, #0709079c 82%, #070907e8 100%); }
.fkj-premium-logo, .fkj-premium-heading, .fkj-premium-state { position: relative; z-index: 1; flex-shrink: 0; }
.fkj-premium-state { margin-top: auto; }
@media (orientation: landscape) and (max-height: 600px) {
  .fkj-premium-content { display: flex; flex-direction: column; justify-content: space-between; }
  .fkj-premium-food { position: absolute; inset: 0; width: 100%; margin: 0; }
  .fkj-premium-food img { height: 100%; max-height: none; }
  .fkj-premium-heading, .fkj-premium-state { grid-column: auto; grid-row: auto; }
}
