/* tutorial.css: the replayable tutorial (tutorial.js). The app's glass + glow language: the Settings side panel's surface and rim
   (--mb-* tokens with the same fallbacks), white ink with a soft blue text shadow, 44 px touch targets, safe areas respected. */
.lt-tour { position: fixed; inset: 0; z-index: 2147482000; pointer-events: auto; color: var(--mb-ink, #fff); font-family: inherit;
    -webkit-tap-highlight-color: transparent; animation: lt-fade .22s ease both; }
.lt-tour.lt-held { visibility: hidden; pointer-events: none; animation: none; }
.lt-tour.lt-out { opacity: 0; transition: opacity .2s ease; pointer-events: none; }
/* the dim with a round spotlight: one element, its giant shadow is the dim, its rim is the glow */
.lt-hole { position: absolute; border-radius: 50%; pointer-events: none; box-sizing: border-box;
    box-shadow: 0 0 0 200vmax rgba(3, 10, 32, .62), 0 0 0 2px rgba(143, 231, 255, .9), 0 0 26px 6px rgba(143, 231, 255, .55), inset 0 0 18px rgba(143, 231, 255, .35);
    transition: left .32s cubic-bezier(.2, .9, .25, 1), top .32s cubic-bezier(.2, .9, .25, 1), width .32s ease, height .32s ease; }
.lt-hole::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(143, 231, 255, .5); animation: lt-ping 1.8s ease-out infinite; }
.lt-center .lt-hole { left: 50%; top: 50%; width: 0; height: 0; }
.lt-card { position: absolute; box-sizing: border-box; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: auto; overscroll-behavior: contain; padding: 14px 14px 12px; outline: none;
    background: var(--mb-surface, linear-gradient(160deg, rgba(40, 110, 210, .66), rgba(8, 20, 58, .94)));
    border: 1px solid var(--mb-rim, rgba(143, 231, 255, .55)); border-radius: var(--mb-r, 30px);
    box-shadow: var(--mb-glow, 0 0 30px 3px rgba(143, 231, 255, .24)), inset 0 0 22px rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); text-shadow: 0 1px 6px rgba(0, 30, 80, .45);
    transition: left .32s cubic-bezier(.2, .9, .25, 1), top .32s cubic-bezier(.2, .9, .25, 1); animation: lt-in .28s cubic-bezier(.2, .9, .25, 1.12) both; }
.lt-top { display: flex; align-items: center; gap: 10px; }
.lt-guide { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .3), rgba(143, 231, 255, .08) 60%, transparent 72%); filter: drop-shadow(0 0 10px rgba(143, 231, 255, .45)); }
.lt-guide svg { width: 56px; height: 56px; display: block; }
.lt-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
/* the step number is the only progress indicator (Emmanuel, 21 Oct 2026: no dots, just "17 of 41") */
.lt-count { font-size: 12px; line-height: 16px; font-weight: 600; opacity: .92; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.lt-title { font-size: 17px; line-height: 22px; font-weight: 700; }
.lt-skipall { flex: none; align-self: flex-start; min-height: 44px; min-width: 44px; padding: 0 6px; margin: -10px -6px 0 0; font: inherit; font-size: 13px; font-weight: 600;
    color: inherit; background: none; border: 0; opacity: .85; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lt-text { margin: 10px 2px 12px; font-size: 15px; line-height: 21px; }
.lt-btns { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lt-right { display: flex; gap: 8px; margin-left: auto; }
.lt-btn { min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 22px; font: inherit; font-size: 14px; font-weight: 700; color: #fff; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .12); text-shadow: inherit; }
.lt-btn.lt-go { border-color: rgba(170, 255, 230, .85); background: linear-gradient(160deg, rgba(80, 220, 190, .7), rgba(30, 140, 200, .7)); box-shadow: 0 0 16px rgba(120, 240, 210, .45); }
.lt-btn:focus-visible, .lt-skipall:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 340px) { .lt-btn { padding: 0 11px; font-size: 13px; } .lt-text { font-size: 14px; line-height: 20px; } }
@keyframes lt-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lt-in { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes lt-ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
@media (prefers-reduced-motion: reduce) { .lt-tour, .lt-card, .lt-hole { animation: none !important; transition: none !important; } .lt-hole::after { animation: none; display: none; } }
.lt-tour.lt-rm .lt-card, .lt-tour.lt-rm .lt-hole { animation: none; transition: none; }
.lt-tour.lt-rm .lt-hole::after { display: none; }
/* item 38: the "after the tour" motion (What's New cards; the practice pad went with the long tour, Oct 25 2026) */
.lt-obj { display: flex; align-items: center; justify-content: center; min-width: 64px; height: 40px; padding: 0 14px; box-sizing: border-box; border-radius: 20px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); font-size: 13px; transition: transform .15s ease, background .2s ease; pointer-events: none; }
.lt-obj b { font-weight: 600; white-space: nowrap; }
.lt-hand { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; pointer-events: none; }
.lt-hand > span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); background: rgba(255,255,255,.28); box-sizing: border-box; animation: lt-h-tap 1.6s ease-in-out infinite; }
.lt-hand .lt-hand2 { display: none; }
[data-how="double"] .lt-hand > span { animation-name: lt-h-double; }
[data-how="hold"] .lt-hand > span { animation-name: lt-h-hold; animation-duration: 2s; }
[data-how="hold"] .lt-hand .lt-hand2 { display: block; background: none; animation-name: lt-h-ring; animation-duration: 2s; }
[data-how="swipe"] .lt-hand > span, [data-how="drag"] .lt-hand > span { animation-name: lt-h-side; animation-duration: 1.8s; }
[data-how="pinch"] .lt-hand > span { animation-name: lt-h-pinch-a; animation-duration: 1.8s; }
[data-how="pinch"] .lt-hand .lt-hand2 { display: block; animation-name: lt-h-pinch-b; animation-duration: 1.8s; }
@keyframes lt-h-tap { 0%, 100% { transform: scale(1); opacity: .35; } 40% { transform: scale(.7); opacity: 1; } 60% { transform: scale(1.1); opacity: .6; } }
@keyframes lt-h-double { 0%, 100% { transform: scale(1); opacity: .35; } 15%, 45% { transform: scale(.7); opacity: 1; } 30%, 60% { transform: scale(1.05); opacity: .7; } }
@keyframes lt-h-hold { 0%, 100% { transform: scale(1); opacity: .35; } 20%, 75% { transform: scale(.72); opacity: 1; } }
@keyframes lt-h-ring { 0%, 20% { transform: scale(.7); opacity: 0; } 30% { opacity: .9; } 75% { transform: scale(2); opacity: 0; } 100% { opacity: 0; } }
@keyframes lt-h-side { 0% { transform: translateX(-34px) scale(.8); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(34px) scale(.8); opacity: 0; } }
@keyframes lt-h-down { 0% { transform: translateY(-20px) scale(.8); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(20px) scale(.8); opacity: 0; } }
@keyframes lt-h-pinch-a { 0%, 100% { transform: translate(-6px, 4px); opacity: .5; } 50% { transform: translate(-26px, 14px); opacity: 1; } }
@keyframes lt-h-pinch-b { 0%, 100% { transform: translate(6px, -4px); opacity: .5; } 50% { transform: translate(26px, -14px); opacity: 1; } }
.lt-later { display: flex; align-items: center; gap: 10px; margin: -4px 2px 10px; }
.lt-latertag { font-size: 12px; line-height: 16px; font-weight: 600; color: var(--brand-cyan, #7fe7ff); }
.lt-laterbox { position: relative; flex: 0 0 auto; width: 92px; height: 30px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); overflow: hidden; }
.lt-laterbox .lt-obj { position: absolute; left: 50%; top: 50%; min-width: 0; width: 16px; height: 16px; padding: 0; margin: -8px 0 0 -8px; border-radius: 50%; }
.lt-laterbox .lt-hand { transform: scale(.62); }
.lt-later[data-how="swipe"] .lt-laterbox .lt-obj, .lt-later[data-how="drag"] .lt-laterbox .lt-obj { opacity: .4; }
@media (max-height: 760px) { .lt-later { margin: -6px 2px 6px; } .lt-laterbox { height: 24px; } }
@media (prefers-reduced-motion: reduce) { .lt-hand > span { animation: none !important; opacity: .8; } .lt-hand .lt-hand2 { display: none; } }
/* hands-free (Oct 22 2026): Pause / Play shows only while the speaker is on; a thin line fills during the pause before the next card */
.lt-left { display: flex; gap: 8px; align-items: center; }
.lt-tour.lt-voice .lt-btns { flex-wrap: wrap; row-gap: 8px; }   /* narrow phone in German/Spanish: Skip + Next drop to a second line instead of off screen */
.lt-btn.lt-pause { display: none; padding: 0; width: 44px; border-radius: 50%; place-items: center; }
.lt-tour.lt-voice .lt-btn.lt-pause { display: grid; }
.lt-tour.lt-paused .lt-btn.lt-pause { border-color: rgba(170, 255, 230, .85); box-shadow: 0 0 12px rgba(120, 240, 210, .4); }
.lt-btn.lt-pause svg { display: block; }
.lt-card::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 5px; height: 2px; border-radius: 2px; pointer-events: none;
    background: var(--brand-cyan, #7fe7ff); box-shadow: 0 0 8px rgba(127, 231, 255, .7); transform: scaleX(0); transform-origin: left center; opacity: 0; }
.lt-card.lt-autogo::after { opacity: .9; animation: lt-autogo var(--lt-auto, 1200ms) linear forwards; }
@keyframes lt-autogo { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* a look inside Scan without opening it (the camera stays off, so iOS never asks for permission mid-tour) */
.lt-peek { margin: -2px 2px 6px; padding: 8px 10px 10px; border-radius: 18px; background: linear-gradient(180deg, rgba(2, 8, 24, .82), rgba(6, 18, 46, .9));
    border: 1px solid rgba(143, 231, 255, .35); box-shadow: inset 0 0 14px rgba(143, 231, 255, .12); font-size: 11px; line-height: 14px; text-shadow: none; }
.ltp-top { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.ltp-x { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); position: relative; flex: none; }
.ltp-x::before, .ltp-x::after { content: ''; position: absolute; left: 4px; right: 4px; top: 8px; height: 1px; background: #fff; transform: rotate(45deg); }
.ltp-x::after { transform: rotate(-45deg); }
.ltp-frame { position: relative; height: 58px; margin: 8px auto 6px; width: 72%; max-width: 200px; }
.ltp-frame > .ltp-c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--brand-cyan, #7fe7ff); }
.ltp-frame .c1 { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 6px; }
.ltp-frame .c2 { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 6px; }
.ltp-frame .c3 { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 6px; }
.ltp-frame .c4 { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 6px; }
.ltp-bars { position: absolute; left: 22%; right: 22%; top: 14px; bottom: 14px; opacity: .85;
    background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px); }
.ltp-laser { position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: #ff5a7a; box-shadow: 0 0 8px #ff5a7a; animation: ltp-scan 1.8s ease-in-out infinite alternate; }
@keyframes ltp-scan { from { transform: translateY(-16px); } to { transform: translateY(16px); } }
.ltp-hint { text-align: center; opacity: .9; }
.ltp-field { display: flex; align-items: center; justify-content: space-between; margin: 7px 0 6px; padding: 6px 10px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); opacity: .85; }
.ltp-field .ltp-dot { width: 14px; height: 14px; border-radius: 50%; background: rgba(143, 231, 255, .6); }
.ltp-acts { display: flex; justify-content: center; }
.ltp-pill { padding: 5px 14px; border-radius: 14px; font-weight: 700; border: 1px solid rgba(170, 255, 230, .8); background: linear-gradient(160deg, rgba(80, 220, 190, .55), rgba(30, 140, 200, .55)); }
.ltp-deep { display: flex; flex-direction: column; align-items: center; margin-top: 7px; padding: 4px 6px; border-radius: 12px; opacity: .8; }
.ltp-deep small { font-size: 10px; opacity: .85; }
.lt-peek[data-mark="frame"] .ltp-frame, .lt-peek[data-mark="frame"] .ltp-field { filter: drop-shadow(0 0 6px rgba(127, 231, 255, .8)); }
.lt-peek[data-mark="deep"] .ltp-deep { opacity: 1; outline: 2px solid var(--brand-cyan, #7fe7ff); outline-offset: 1px; box-shadow: 0 0 14px rgba(127, 231, 255, .55); }
.lt-peeknote { margin: 0 2px 10px; font-size: 12px; line-height: 16px; opacity: .85; }
@media (max-height: 760px) {   /* small iPhones: the picture gets compact so the card never needs scrolling */
    .lt-peek { padding: 6px 8px 7px; margin-bottom: 4px; }
    .ltp-top { display: none; }
    .ltp-frame { height: 34px; margin: 2px auto 3px; } .ltp-frame > .ltp-c { width: 10px; height: 10px; } .ltp-bars { top: 7px; bottom: 7px; }
    @keyframes ltp-scan { from { transform: translateY(-9px); } to { transform: translateY(9px); } }
    .ltp-field { margin: 4px 0 4px; padding: 3px 9px; } .ltp-pill { padding: 3px 12px; } .ltp-deep { margin-top: 3px; padding: 2px 6px; } .ltp-deep small { display: none; }
    .lt-peeknote { display: none; }
}
@media (max-height: 600px) { .ltp-hint, .ltp-acts { display: none; } }
@media (prefers-reduced-motion: reduce) { .ltp-laser { animation: none; } .lt-card.lt-autogo::after { animation: none; opacity: 0; } }
.lt-tour.lt-rm .ltp-laser { animation: none; }

/* What's New mini tour (Oct 23 2026): a card whose step opened a place sits above that place's sheet (Rooms is z 2147483000) */
.lt-tour.lt-staged { z-index: 2147483400; }
