/* Colors pulled live from this Emby server's own active theme (dark), via its CSS custom properties (--theme-primary-color-*, --background-*, etc.) - see docs/architecture.md for how these were read directly off the running server rather than guessed. */ :root { color-scheme: dark; --bg: #151216; /* hsl(285, 10%, 7.84%) - Emby's dark theme background */ --bg-header: #221d24; /* same hue, +5% lightness - Emby's header/footer background */ --panel: #262626; /* Emby's card/button/input background (achromatic, ~15-17% lightness) */ --text: #ffffff; --muted: rgba(255, 255, 255, .6); --accent: #52b54b; /* Emby's theme-primary-color (hsl(116, 41.7%, 50.2%)) */ --accent-bright: #6ccf65; /* Emby's --theme-accent-text-color-darkbg */ --danger: #ff6b6b; } * { box-sizing: border-box; } html, body { margin: 0; height: 100%; } body { background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; } #app { min-height: 100%; } .wrap { max-width: 480px; margin: 0 auto; padding: 32px 20px 80px; } .wrap.wide { max-width: 900px; } h1 { font-size: 22px; margin: 0; } h2 { font-size: 16px; margin: 0 0 8px; } .topbar { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; } .panel { background: var(--bg-header); border-radius: 12px; padding: 20px; } .hint { color: var(--muted); font-size: 13px; margin: 0 0 16px; } .error { color: var(--danger); font-size: 13px; min-height: 18px; } label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; } input { display: block; width: 100%; margin-top: 4px; padding: 10px; border-radius: 8px; border: 1px solid #3a3a3a; background: var(--panel); color: var(--text); font-size: 14px; } input:focus { outline: none; border-color: var(--accent); } input[type="search"] { margin-bottom: 20px; } button { padding: 12px 16px; border: none; border-radius: 8px; background: var(--accent); color: white; font-size: 14px; font-weight: 600; cursor: pointer; } button:hover { background: var(--accent-bright); } button.linklike { background: none; color: var(--muted); font-size: 12px; font-weight: 400; text-decoration: underline; padding: 4px 0; } button.linklike:hover { background: none; color: var(--accent-bright); } .or { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0; } .code { color: var(--accent-bright); letter-spacing: .1em; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; } .card { display: flex; flex-direction: column; gap: 6px; color: var(--text); text-decoration: none; font-size: 13px; } .card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--panel); } .detail { display: flex; gap: 20px; margin-top: 16px; } .detail img { width: 160px; border-radius: 8px; flex-shrink: 0; background: var(--panel); } .detail button { width: 100%; margin-top: 8px; } .playerWrap { position: relative; width: 100%; height: 100vh; background: #000; } .playerWrap video { width: 100%; height: 100%; object-fit: contain; } .overlay { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: linear-gradient(to bottom, rgba(0,0,0,.7), transparent); color: white; font-size: 13px; } .overlay .members { color: var(--muted); flex: 1; } .followerNotice { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.6); padding: 8px 16px; border-radius: 20px; font-size: 13px; color: var(--muted); } .hide { display: none; }