html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; background: #0a0a0a; color: #fff; font-family: Arial, sans-serif; } body.onboarding-page { background: radial-gradient(circle at top, rgba(82, 144, 255, 0.28), transparent 32%), radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 26%), linear-gradient(160deg, #09111f 0%, #0b1323 52%, #111827 100%); overflow-x: hidden; overflow-y: auto; } body.onboarding-page #app { display: none; } body.thumbnail-preview *, body.thumbnail-preview *::before, body.thumbnail-preview *::after { animation: none !important; animation-delay: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; transition: none !important; } body.thumbnail-preview .player-announcement-layer, body.thumbnail-preview .player-offline-banner { display: none !important; } #app { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #0a0a0a; position: relative; } .onboarding-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); box-sizing: border-box; } .onboarding-card { width: min(100%, 1040px); padding: clamp(20px, 3vw, 40px); border-radius: 30px; background: rgba(10, 17, 30, 0.82); border: 1px solid rgba(148, 163, 184, 0.18); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45); backdrop-filter: blur(14px); box-sizing: border-box; } .onboarding-card h1 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; } .onboarding-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.14em; color: #8ab4ff; font-size: 0.82rem; } .onboarding-copy { margin: 0 0 28px; color: #cbd5e1; font-size: 1.03rem; line-height: 1.5; } .onboarding-layout { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; } .onboarding-qr-pane { display: grid; gap: 16px; align-content: start; } .onboarding-qr-frame { display: flex; justify-content: center; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); } .onboarding-qr-frame img { width: min(100%, 320px); aspect-ratio: 1; display: block; background: #fff; border-radius: 18px; padding: 16px; box-sizing: border-box; } .onboarding-form { display: grid; gap: 14px; } .onboarding-form--local { align-content: start; padding: 22px; border-radius: 26px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); } .onboarding-form label { display: grid; gap: 9px; color: #e2e8f0; } .onboarding-form input[type="text"] { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.28); background: rgba(15, 23, 42, 0.9); color: #f8fafc; font-size: 1rem; } .onboarding-form select { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(148, 163, 184, 0.28); background: rgba(15, 23, 42, 0.9); color: #f8fafc; font-size: 1rem; } .onboarding-form input[type="text"]::placeholder { color: #94a3b8; } .onboarding-form button { appearance: none; border: 0; border-radius: 12px; background: linear-gradient(135deg, #60a5fa, #22c55e); color: #08111f; font-size: 1rem; font-weight: 700; min-height: 48px; padding: 12px 18px; cursor: pointer; } .onboarding-status { margin-top: 8px; min-height: 1.4em; color: #cbd5e1; font-size: 0.96rem; } .onboarding-card--landing .onboarding-status { text-align: center; } @media (max-width: 860px), (orientation: portrait) { .onboarding-shell { align-items: center; } .onboarding-layout { grid-template-columns: 1fr; } .onboarding-card { width: 100%; } .onboarding-qr-frame img { width: min(100%, 280px); } } .slide-shell { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 560ms ease; will-change: opacity; backface-visibility: hidden; } .slide-shell.is-visible { opacity: 1; z-index: 1; } .slide-shell.is-exiting { opacity: 0; z-index: 0; } .slide-shell > .slide { width: 100%; height: 100%; } body.screen-blackout #app { opacity: 0; } .player-announcement-layer { position: fixed; left: 50%; top: 50%; width: var(--player-canvas-width, 100vw); height: var(--player-canvas-height, 100vh); max-width: 100vw; max-height: 100vh; transform: translate3d(-50%, -50%, 0); backface-visibility: hidden; z-index: 9999; pointer-events: none; display: flex; opacity: 0; transition: opacity 220ms ease; } .player-announcement-layer.is-visible { opacity: 1; } .player-announcement-layer.is-closing { opacity: 0; } .slide { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; } .slide-canvas { position: relative; overflow: hidden; background: #000; } .slide-media { width: 100%; height: 100%; } .slide-media img, .slide-media video, .slide-media iframe { width: 100%; height: 100%; object-fit: contain; border: 0; display: block; } .body { position: absolute; left: 5%; right: 5%; bottom: 8%; padding: 16px; background: rgba(0, 0, 0, 0.4); border-radius: 16px; font-size: 2.5vw; line-height: 1.35; } .empty { font-size: 2rem; color: #9ca3af; } .debug-info { margin: 16px auto 0; padding: 12px; max-width: 90%; white-space: pre-wrap; text-align: left; font-size: 12px; line-height: 1.4; background: rgba(255, 255, 255, 0.08); color: #e5e7eb; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 8px; } .template-stage { position: relative; width: 100%; height: 100%; } .template-stage .template-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; z-index: 0; } .template-region { position: absolute; overflow: hidden; box-sizing: border-box; } .template-region.text, .template-region.api, .template-region.rss { color: #fff; display: block; padding: 0; text-align: left; white-space: normal; word-break: break-word; line-height: 1.35; } .template-region .template-region-text-scale { display: block; transform-origin: top left; overflow: hidden; } .template-region .template-region-text-scale > * { margin: 1em 0; } .template-region .template-region-text-scale > *:first-child { margin-top: 0; } .template-region .template-region-text-scale > *:last-child { margin-bottom: 1em; } .template-region .template-region-text-scale ul, .template-region .template-region-text-scale ol { padding-left: 1.2em; } .template-region .template-region-text-scale code { white-space: pre-wrap; } .template-region.text ul, .template-region.text ol, .template-region.api ul, .template-region.api ol, .template-region.rss ul, .template-region.rss ol { padding-left: 1.2em; } .template-region.image img { width: 100%; height: 100%; object-fit: contain; display: block; } .template-region.video { background: transparent; } .template-region.video video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; background: transparent; } .template-region.webpage iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; overflow: hidden; } .template-region.qr-code img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; } .template-region.html iframe { width: 100%; height: 100%; border: 0; display: block; background: transparent; overflow: hidden; } .template-region.rtmp { background: #000; } .template-region.rtmp video { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; } .template-region-rtmp-placeholder { position: absolute; inset: 0; display: flex; } .template-region-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.65); background: rgba(255, 255, 255, 0.06); font-size: 0.9rem; } .webpage-preloads { position: fixed; width: 1px; height: 1px; left: -9999px; top: -9999px; overflow: hidden; pointer-events: none; opacity: 0; } .webpage-preload-frame { width: 1px; height: 1px; border: 0; display: block; } .template-region table { width: 100%; border-collapse: collapse; border-spacing: 0; } .template-region th, .template-region td { padding: 0.35em 0.5em; text-align: left; vertical-align: top; } .template-region th { font-weight: 700; }