/* Line 15994 (talk-to-each-look-pages-r1): /looks/try and /looks/try/{look}. The Google path (css/ns-tokens.css, .ns-gp on
   the root: light by default, dark under prefers-color-scheme: dark), 375 px first, one clear next step. The look owns the
   page as a free overlay (.lt-agent): no controls around it, one small hamburger that shows on hover, focus or a tap. */
.lt-body { margin: 0; background: var(--ns-bg); color: var(--ns-text); font-family: var(--ns-font); -webkit-text-size-adjust: 100%; }
.lt-main { box-sizing: border-box; max-width: 44rem; margin: 0 auto; padding: 20px 16px 58vh; font-size: 1.0625rem; line-height: 1.55; }
.lt-hub { max-width: 72rem; padding-bottom: 48px; }
.lt-crumb { margin: 0 0 8px; }
.lt-main a { color: var(--ns-gold-light, var(--ns-gold)); display: inline-flex; align-items: center; min-height: 44px; }
.lt-h1 { margin: 0 0 6px; font-size: clamp(1.5rem, 5vw, 2.1rem); line-height: 1.2; font-weight: 500; }
.lt-mark { color: var(--ns-gold); font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-weight: 700; }
.lt-lede { margin: 0 0 20px; color: var(--ns-text-2); }
.lt-try { background: var(--ns-surface); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); padding: 14px 16px; }
.lt-try h2 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 500; }
.lt-try p { margin: 0 0 8px; }
.lt-scenarios { margin: 0 0 8px; padding-left: 1.2em; }
.lt-hint { color: var(--ns-text-2); font-size: .9375rem; }
.lt-home { margin: 20px 0 0; }
.lt-home:empty { display: none; }

/* The hub: cards stack at 375, two up from 600, four up from 992. */
.lt-grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .lt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .lt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lt-card { display: flex; flex-direction: column; overflow: hidden; background: var(--ns-card); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); }
.lt-card-face { aspect-ratio: 4 / 3; margin: 0; background: #202124; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; }
.lt-card-face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.lt-card-face span { color: #f5a623; font: 700 2.4rem/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; }
.lt-card-body { display: flex; flex: 1; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.lt-card-body h2 { margin: 0; font-size: 1.125rem; font-weight: 500; }
.lt-card-body p { margin: 0; font-size: .9375rem; }
.lt-card-kicker { color: var(--ns-text-2); font-size: .8125rem !important; letter-spacing: .04em; text-transform: uppercase; }
.lt-card-voice { color: var(--ns-text-2); }
.lt-card-go { margin-top: auto; padding-top: 6px; font-weight: 700; }
.lt-card-body .lt-card-also { display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; margin: 2px 0 0; font-size: .875rem; color: var(--ns-text-2); }
.lt-card-also a { white-space: nowrap; }
.lt-card-go:focus-visible, .lt-agent button:focus-visible, .lt-pip:focus-visible { outline: 3px solid var(--ns-gold); outline-offset: 2px; }
.lt-card-soon { margin-top: auto !important; padding-top: 10px; color: var(--ns-text-2); }

/* The agent owns the stage: a free overlay, bottom right on a desktop, bottom centre on a phone; the visitor may drag it. */
.lt-agent { position: fixed; z-index: 40; right: 20px; bottom: 16px; width: 300px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 4px; touch-action: none; user-select: none; -webkit-user-select: none; }
.lt-agent[data-lt-wear="body-3d"] .lt-stage { height: 400px; }
.lt-stage { position: relative; isolation: isolate; z-index: 0; width: 100%; height: 300px; cursor: grab; }
.lt-agent[data-lt-dragging] .lt-stage { cursor: grabbing; }
.lt-stage netshow-alive, .lt-stage > canvas, .lt-stage > .alive-live-vrm { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; }
.lt-seed { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; transition: opacity .35s ease; }
.lt-seed pre { margin: 0; color: #f5a623; font: 700 44px/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; text-shadow: 0 0 18px rgba(245, 166, 35, .35); }
.lt-agent[data-lt-face="live"] .lt-seed { opacity: 0; pointer-events: none; }
/* A drawn look breathes gently between its own blinks, so it is never a still graphic; the 3D bodies breathe in the engine. */
.lt-agent[data-lt-wear="pack"][data-lt-face="live"] .lt-stage > netshow-alive { animation: lt-breathe 5.2s ease-in-out infinite; transform-origin: 50% 85%; }
@keyframes lt-breathe { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-1.2%) scale(1.014); } }
.lt-name { margin: 0; font-size: .875rem; color: var(--ns-text); text-shadow: 0 1px 2px var(--ns-bg); }
.lt-ai { color: var(--ns-text-2); }
.lt-caption { margin: 0; max-width: 100%; max-height: 7.5em; overflow: auto; text-align: center; font-size: 1rem; line-height: 1.45; color: var(--ns-text); text-shadow: 0 1px 2px var(--ns-bg), 0 0 8px var(--ns-bg); }
.lt-status { margin: 0; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ns-text-2); }
.lt-agent[data-lt-state="speaking"] .lt-status { color: var(--ns-speaking, #1e8e3e); }
.lt-chat { display: flex; gap: 6px; width: 100%; margin-top: 4px; }
.lt-chat[hidden] { display: none; }
.lt-chat label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.lt-chat input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ns-border-strong, var(--ns-border)); background: var(--ns-card); color: var(--ns-text); font: inherit; font-size: 1rem; }
.lt-chat button { min-height: 44px; min-width: 64px; border: 0; border-radius: 10px; background: var(--ns-gold); color: var(--ns-on-accent); font: inherit; font-weight: 700; }
.lt-eye { position: absolute; z-index: 2; top: 6px; left: 6px; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 2px solid var(--ns-gold); transform: scaleX(-1); }
.lt-eye[hidden] { display: none; }

/* One small hamburger: invisible until the agent is hovered, focused or tapped. */
.lt-menu-btn { position: absolute; z-index: 3; top: 4px; right: 4px; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--ns-border); border-radius: 50%; background: var(--ns-card); color: var(--ns-text); opacity: 0; transition: opacity .2s ease; cursor: pointer; }
.lt-agent:hover .lt-menu-btn, .lt-agent:focus-within .lt-menu-btn, .lt-agent[data-lt-reveal] .lt-menu-btn { opacity: 1; }
.lt-menu { position: absolute; top: 44px; right: 4px; z-index: 4; display: flex; flex-direction: column; min-width: 172px; padding: 6px; background: var(--ns-card); border: 1px solid var(--ns-border); border-radius: var(--ns-radius); box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
.lt-menu[hidden] { display: none; }
.lt-menu button { min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ns-text); font: inherit; font-size: .9375rem; text-align: left; cursor: pointer; }
.lt-menu button:hover { background: var(--ns-surface); }
.lt-menu button[aria-pressed="true"] { color: var(--ns-gold-light, var(--ns-gold)); }

/* Brought back: the agent sits in its spot on the page, no longer free. */
.lt-agent[data-lt-mode="home"] { position: relative; right: auto; bottom: auto; left: auto; top: auto; width: 100%; max-width: 360px; margin: 0 auto; }
.lt-main:has(.lt-agent[data-lt-mode="home"]) { padding-bottom: 48px; }

/* Hidden: a tiny live ASCII face is the button that brings it back. */
.lt-agent[data-lt-hidden] { display: none; }
.lt-pip { position: fixed; z-index: 40; right: 16px; bottom: 16px; min-width: 64px; min-height: 48px; padding: 0 12px; border: 1px solid var(--ns-gold-border, var(--ns-border)); border-radius: 24px; background: #202124; color: #f5a623; font: 700 1.125rem/1 ui-monospace, 'SFMono-Regular', Menlo, monospace; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); }
.lt-pip[hidden] { display: none; }

@media (max-width: 599px) {
    .lt-main { padding-bottom: 24px; }
    .lt-agent { position: relative; right: auto; left: auto; transform: none; bottom: auto; width: min(92vw, 340px); margin: 12px auto 28px; }
    .lt-stage { height: min(34vh, 260px); }
    .lt-agent[data-lt-wear="body-3d"] .lt-stage { height: min(40vh, 320px); }
    .lt-agent[data-lt-moved] { transform: none; }
    .lt-agent[data-lt-mode="home"] { transform: none; left: auto; }
}
@media (prefers-reduced-motion: reduce) { .lt-seed, .lt-menu-btn { transition: none; } .lt-stage > netshow-alive { animation: none !important; } }

/* The shared guide speaks; the chosen look stays in its own preview. */
.lt-preview { position: relative; inset: auto; transform: none; z-index: auto; width: min(100%, 320px); margin: 24px auto; }
.lt-preview[data-lt-wear="body-3d"] .lt-stage { height: 400px; }
.lt-guide { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
html[data-ns-content-live-host] :is(.lt-main, .lo, body > main) { padding-bottom: 260px; }
html[data-ns-content-live-host]:not([data-lo-offline]) :is(.lo-face, .lo-caption) { display: none; }

.lt-preview-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lt-preview[data-lt-face="live"] .lt-preview-poster { display: none; }
