/* The head cover is static. The four parts start only after their image
   has loaded and the visible page has painted. */
html.odette-opening::before { content: ''; position: fixed; inset: 0; z-index: 2147483000; background: #0B0F19; }
#odette-splash { display: none; }
/* app.html marks the splash hidden: if this file fails, the images stay hidden. */
html.odette-opening #odette-splash {
    display: grid !important; place-items: center; position: fixed; inset: 0;
    z-index: 2147483001; background: #0B0F19; color: #F5F7FA;
}
#odette-splash .odette-splash-lockup { text-align: center; }
#odette-splash .odette-splash-mark { position: relative; width: 62px; height: 62px; margin: auto; }
#odette-splash .odette-splash-part { position: absolute; inset: 0; width: 62px; height: 62px; opacity: 0; }
#odette-splash .odette-splash-part:nth-child(1) { clip-path: inset(0 50% 50% 0); --x: -9px; --y: -9px; }
#odette-splash .odette-splash-part:nth-child(2) { clip-path: inset(0 0 50% 50%); --x: 9px; --y: -9px; animation-delay: 65ms; }
#odette-splash .odette-splash-part:nth-child(3) { clip-path: inset(50% 0 0 50%); --x: 9px; --y: 9px; animation-delay: 130ms; }
#odette-splash .odette-splash-part:nth-child(4) { clip-path: inset(50% 50% 0 0); --x: -9px; --y: 9px; animation-delay: 195ms; }
#odette-splash .odette-splash-name { margin-top: 16px; font: 500 25px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: -1px; }
html.odette-splash-running #odette-splash .odette-splash-part { animation-name: odette-assemble; animation-duration: 650ms; animation-timing-function: cubic-bezier(.16,1,.3,1); animation-fill-mode: both; }
@keyframes odette-assemble { from { opacity: 0; transform: translate(var(--x),var(--y)); } to { opacity: 1; transform: none; } }
html.odette-opening-out::before, html.odette-opening-out #odette-splash { opacity: 0; transition: opacity 180ms cubic-bezier(.4,0,1,1); pointer-events: none; }
.odette-startup-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The guide: a bottom sheet in the phone ticket's shell (m-app.css #v2-col2). */
#odette-home-guide {
    position: fixed; inset: auto 0 0; margin: 0; width: 100%; max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 40px); overflow: auto; overscroll-behavior: contain;
    box-sizing: border-box; padding: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
    background: #0E1322; color: #F5F7FA; border: 0; border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -12px 40px rgba(0,0,0,.45); font: 12px/1.5 Inter, -apple-system, sans-serif;
}
#odette-home-guide:not([open]) { display: none !important; }
#odette-home-guide::backdrop { background: rgba(4,6,11,.6); }
/* Open: the sheet slides up as the phone ticket does; the dim fades in.
   Browsers without @starting-style show it at once. Close is instant. */
#odette-home-guide[open] { transform: none; transition: transform .26s cubic-bezier(.2,.8,.2,1); }
#odette-home-guide[open]::backdrop { opacity: 1; transition: opacity .2s; }
@starting-style {
    #odette-home-guide[open] { transform: translateY(100%); }
    #odette-home-guide[open]::backdrop { opacity: 0; }
}
#odette-home-guide .home-guide-grab { width: 36px; height: 4px; border-radius: 2px !important; margin: 8px auto 0; background: rgba(255,255,255,.18); }
#odette-home-guide button { cursor: pointer; border: 0; margin: 0; font: 500 12px/1.4 Inter, sans-serif; }
/* 30px chip to the eye, 44px to the finger */
#odette-home-guide .home-guide-close {
    position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; padding: 0;
    display: grid; place-items: center; border-radius: 6px !important;
    background: #232C42; color: #F5F7FA; font-size: 16px; line-height: 1;
}
#odette-home-guide .home-guide-close::before { content: ''; position: absolute; inset: -7px; }
#odette-home-guide button:focus-visible, [data-home-guide]:focus-visible { outline: 2px solid #14efff; outline-offset: 3px; }
#odette-home-guide .home-guide-head { display: flex; align-items: center; gap: 12px; padding: 24px 40px 16px 0; }
#odette-home-guide .home-guide-icon { flex: none; display: block; width: 44px; height: 44px; border-radius: 10px !important; }
#odette-home-guide h2 { color: #F5F7FA; font: 500 16px/1.3 Inter, sans-serif; letter-spacing: -.2px; margin: 0; }
#odette-home-guide p { color: #C2CBD8; font: 400 12px/1.5 Inter, sans-serif; margin: 2px 0 0; }
#odette-home-guide ol { list-style: none; margin: 0; padding: 0 12px; background: #141927; border-radius: 8px !important; }
/* Every step's first line is 28px (a chip's height), so each number sits
   level with it, and a hint line hangs below. 12 + 28 + 12 = 52px rows. */
#odette-home-guide li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
#odette-home-guide li:last-child { border-bottom: 0; }
#odette-home-guide .home-guide-number { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 4px; border-radius: 50% !important; background: #232C42; font-size: 11px; font-weight: 600; }
#odette-home-guide .home-guide-step { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; line-height: 28px; }
#odette-home-guide small { flex-basis: 100%; color: #8A94A6; font-size: 11px; line-height: 1.4; }
/* the chip: a picture of the button to tap */
#odette-home-guide .home-guide-key {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 6px !important;
    background: #232C42; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); font-weight: 500; white-space: nowrap;
}
#odette-home-guide .home-guide-key-icon { width: 32px; padding: 0; justify-content: center; }
#odette-home-guide .home-guide-key svg { width: 15px; height: 15px; }
#odette-home-guide .home-guide-share, #odette-home-guide .home-guide-add { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#odette-home-guide .home-guide-menu { fill: currentColor; }
#odette-home-guide .home-guide-done { display: block; width: 100%; height: 44px; margin-top: 16px; padding: 0; border-radius: 6px !important; background: #FDFDFD; color: #0B0F19; font-weight: 600; }
#odette-home-guide .home-guide-footer { text-align: center; font-size: 11px; color: #8A94A6; margin-top: 12px; }
body.v2 [data-home-guide] { min-height: 44px; }
[data-home-guide][hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { #odette-home-guide[open], #odette-home-guide[open]::backdrop { transition: none; } html.odette-opening-out::before, html.odette-opening-out #odette-splash { transition: none; } html.odette-splash-running #odette-splash .odette-splash-part { animation: none; opacity: 1; } }
