:root { --bg-primary: #0a0a0c; --bg-secondary: #17171a; --bg-tertiary: #202024; --bg-elevated: #2a2a2f; --accent: #e31937; /* Tesla Red */ --accent-hover: #ff2b4d; --text-primary: #f4f4f5; --text-secondary: #a1a1aa; --text-muted: #6b6b73; --border: #303036; --radius: 12px; --radius-sm: 8px; --shadow: 0 8px 30px rgba(0, 0, 0, 0.5); --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } * { box-sizing: border-box; margin: 0; padding: 0; } html, body { height: 100%; background: var(--bg-primary); color: var(--text-primary); font-family: var(--font); -webkit-font-smoothing: antialiased; } body { display: flex; flex-direction: column; min-height: 100vh; } /* Header */ header { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: linear-gradient(180deg, #131316 0%, var(--bg-secondary) 100%); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; gap: 16px; flex-wrap: wrap; } .brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; letter-spacing: 0.5px; } .brand .logo { width: 30px; height: 30px; display: grid; place-items: center; color: var(--accent); } .brand .logo svg { width: 100%; height: 100%; fill: var(--accent); } .brand small { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; } /* Layout: single column, centered */ .layout { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 24px; flex: 1; max-width: 960px; margin: 0 auto; width: 100%; } /* Video Player Section */ .player-panel { width: 100%; display: flex; flex-direction: column; gap: 12px; } .video-stage { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 16 / 9; width: 100%; } .video-stage video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; } .noise-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: 1; image-rendering: pixelated; transition: opacity 0.3s ease; } .noise-canvas.hidden { opacity: 0; } .video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-muted); text-align: center; padding: 20px; } .video-placeholder svg { width: 54px; height: 54px; opacity: 0.4; } .video-badge { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: none; align-items: center; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.08); } .video-badge.visible { display: flex; } .video-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); } .now-playing { font-size: 13px; color: var(--text-secondary); padding: 0 4px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; } .now-playing strong { color: var(--text-primary); } .now-playing .ts { color: var(--accent); font-variant-numeric: tabular-nums; } /* ============================================= Camera Selector: 3-column grid + car graphic ============================================= */ .cam-selector { width: 100%; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; } .cs-heading { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; text-align: center; } .cs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; } .cs-col { display: flex; flex-direction: column; gap: 10px; } .cs-col:first-child { align-items: flex-end; } .cs-col:last-child { align-items: flex-start; } .cs-col:nth-child(2) { align-items: center; } .cs-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-secondary); font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.15s; white-space: nowrap; min-width: 140px; justify-content: center; } .cs-btn:hover:not(:disabled) { background: var(--bg-elevated); color: var(--text-primary); border-color: #444; } .cs-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; } .cs-btn:disabled { opacity: 0.3; cursor: not-allowed; } .cs-btn-label { flex: 1; } .cs-btn-count { background: rgba(255, 255, 255, 0.12); padding: 1px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; } .cs-btn.active .cs-btn-count { background: rgba(0, 0, 0, 0.25); } /* Model Y Top-Down Car Graphic */ .car-graphic { display: flex; align-items: center; justify-content: center; } .car-svg { width: 60px; height: 200px; } /* ============================================= Login Page ============================================= */ .login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: radial-gradient( ellipse at 50% 30%, #1a1a22 0%, var(--bg-primary) 70% ); } .login-card { width: 100%; max-width: 380px; padding: 40px 36px; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); } .login-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; } .login-brand .logo { width: 48px; height: 48px; display: grid; place-items: center; color: var(--accent); } .login-brand .logo svg { width: 100%; height: 100%; fill: var(--accent); } .login-brand h1 { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-primary); } .login-form { display: flex; flex-direction: column; gap: 14px; } .login-form label { font-size: 13px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.8px; } .login-form input[type="password"] { width: 100%; padding: 12px 16px; background: var(--bg-tertiary); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text-primary); font-size: 15px; outline: none; transition: border-color 0.2s, box-shadow 0.2s; } .login-form input[type="password"]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.15); } .login-form button { width: 100%; padding: 12px; background: var(--accent); border: none; border-radius: var(--radius-sm); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.15s; margin-top: 4px; } .login-form button:hover { background: var(--accent-hover); } .login-error { font-size: 13px; color: var(--accent); text-align: center; padding: 8px; background: rgba(227, 25, 55, 0.08); border-radius: var(--radius-sm); } /* ============================================= Responsive ============================================= */ @media (max-width: 700px) { .cs-grid { grid-template-columns: 1fr; gap: 10px; } .cs-col:first-child, .cs-col:last-child { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; } .cs-col:nth-child(2) { flex-direction: row; gap: 10px; } .car-graphic { order: -1; } .car-svg { width: 40px; height: 140px; } .cs-btn { min-width: 120px; font-size: 12px; padding: 8px 12px; } } @media (max-width: 560px) { header { padding: 12px 16px; } .layout { padding: 14px 16px; } .brand small { display: none; } } [hidden] { display: none !important; }