:root { --bg: #f7f7fa; --panel: #fff; --fg: #14161b; --muted: #6b7280; --border: #e3e5ec; --accent: #ff6a26; --good: #178a6a; --bad: #c2342f; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--fg); } button { font: inherit; cursor: pointer; } a { color: var(--accent); } .shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; } .side { background: #14161b; color: #e8eaef; padding: 20px; display: flex; flex-direction: column; gap: 8px; } .side h1 { font-size: 18px; margin: 0 0 16px; } .side button.nav { text-align: left; background: transparent; color: #cdd1da; border: 0; padding: 10px 12px; border-radius: 8px; font-size: 14px; } .side button.nav.active { background: var(--accent); color: #1a0a00; font-weight: 700; } .side .me { margin-top: auto; font-size: 12px; color: #8a8f9c; } .main { padding: 24px; } .bar { display: flex; gap: 8px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; } .bar input, .bar select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--panel); font-size: 14px; min-width: 220px; } .btn { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel); font-size: 14px; } .btn.primary { background: var(--accent); color: #1a0a00; border-color: var(--accent); font-weight: 700; } .btn.danger { color: var(--bad); border-color: var(--bad); } table { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 12px; overflow: hidden; } th, td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; vertical-align: top; } th { background: #f0f1f5; font-weight: 600; } tr:last-child td { border-bottom: 0; } .tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eef0f4; margin-right: 4px; } .pill { font-size: 11px; padding: 2px 8px; border-radius: 999px; } .pill.up { background: #dff5ec; color: var(--good); } .pill.down { background: #fde7e6; color: var(--bad); } .pill.unknown { background: #eef0f4; color: var(--muted); } dialog { border: 0; border-radius: 14px; padding: 0; max-width: 720px; width: 90%; box-shadow: 0 12px 40px rgba(0,0,0,0.2); } dialog form { padding: 24px; display: flex; flex-direction: column; gap: 12px; } dialog h2 { margin: 0 0 4px; } dialog input, dialog textarea, dialog select { padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; width: 100%; } dialog .row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; } dialog .row.col { grid-template-columns: 1fr; } dialog .actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; } .streams { background: #f7f7fa; border-radius: 8px; padding: 12px; } .stream-row { display: grid; grid-template-columns: 100px 1fr 80px 110px auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--border); } .stream-row:last-child { border-bottom: 0; } .login { min-height: 100vh; display: flex; align-items: center; justify-content: center; } .login form { background: var(--panel); padding: 32px; border-radius: 12px; width: 360px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); } .login h1 { margin: 0; } .err { color: var(--bad); font-size: 13px; min-height: 16px; } .system-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; } .stat { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; } .stat .v { font-size: 28px; font-weight: 700; } .stat .k { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; } /* ============================================================ MINIMAL HIGH-CONTRAST THEME OVERRIDE Flat surfaces, sharp 90deg corners, monochrome + single accent. ============================================================ */ :root { --bg: #ffffff; --panel: #ffffff; --fg: #000000; --muted: #555555; --border: #000000; --accent: #ff5b00; --good: #007a3d; --bad: #c2001a; } *, *::before, *::after { border-radius: 0 !important; } button, input, select, textarea, dialog { border-radius: 0 !important; } a { color: var(--fg); text-decoration: underline; } .shell { border: 0; } .side { background: #000000 !important; color: #ffffff !important; border-right: 1px solid #000; } .side h1 { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 900; font-size: 16px; } .side button.nav { border: 1px solid transparent !important; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 700; font-size: 13px; color: #cccccc; } .side button.nav:hover { color: #ffffff; border-color: #333333 !important; } .side button.nav.active { background: var(--accent) !important; color: #000 !important; border-color: var(--accent) !important; } .side .me { text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; color: #888888; } .bar input, .bar select { border: 1px solid var(--border) !important; background: var(--panel) !important; outline: none; } .bar input:focus, .bar select:focus { border-color: var(--accent) !important; } .btn { border: 1px solid var(--border) !important; background: var(--panel) !important; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; transition: background 80ms linear, color 80ms linear; } .btn:hover { background: #000 !important; color: #fff !important; } .btn.primary { background: var(--accent) !important; color: #000 !important; border-color: var(--accent) !important; } .btn.primary:hover { background: #000 !important; color: #fff !important; border-color: #000 !important; } .btn.danger { color: var(--bad) !important; border-color: var(--bad) !important; background: var(--panel) !important; } .btn.danger:hover { background: var(--bad) !important; color: #fff !important; } table { background: var(--panel) !important; border: 1px solid var(--border) !important; overflow: visible !important; } th { background: #000 !important; color: #fff !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; border-bottom: 1px solid #000; } td { border-bottom: 1px solid #cccccc !important; font-size: 13px; } tbody tr:hover { background: #f3f3f3; } .tag { background: #000 !important; color: #fff !important; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; font-size: 10px; } .pill { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 800; font-size: 10px; border: 1px solid currentColor; } .pill.up { background: var(--good) !important; color: #fff !important; border-color: var(--good) !important; } .pill.down { background: var(--bad) !important; color: #fff !important; border-color: var(--bad) !important; } .pill.unknown { background: #fff !important; color: var(--muted) !important; border-color: #cccccc !important; } dialog { border: 1px solid var(--border) !important; box-shadow: none !important; background: var(--panel) !important; color: var(--fg) !important; } dialog::backdrop { background: rgba(0,0,0,0.5); } dialog h2 { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 900; font-size: 16px; border-bottom: 1px solid var(--border); padding-bottom: 8px; } dialog input, dialog textarea, dialog select { border: 1px solid var(--border) !important; background: var(--panel) !important; color: var(--fg) !important; outline: none; } dialog input:focus, dialog textarea:focus, dialog select:focus { border-color: var(--accent) !important; } dialog .actions { padding-top: 12px; border-top: 1px solid #cccccc; } .streams { background: #f5f5f5 !important; border: 1px solid #cccccc !important; } .stream-row { border-bottom: 1px solid #cccccc !important; } .stream-row:last-child { border-bottom: 0 !important; } .login { background: #fff; } .login form { border: 1px solid var(--border) !important; box-shadow: none !important; background: var(--panel) !important; } .login h1 { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 900; font-size: 20px; } .err { font-weight: 600; } .system-grid { gap: 0 !important; } .stat { border: 1px solid var(--border) !important; margin: -1px 0 0 -1px; } .stat .v { font-weight: 900; letter-spacing: -0.01em; } .stat .k { font-weight: 700; letter-spacing: 0.08em; } /* ============================================================ POWER-ADMIN ADDITIONS ============================================================ */ .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin: 4px 0 12px; } .tabs button { background: var(--panel); border: 1px solid var(--border); border-bottom: 0; padding: 8px 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-right: -1px; } .tabs button.active { background: var(--accent); color: #000; border-color: var(--accent); } .tab-body { padding: 6px 0; } .row.image-row { grid-template-columns: 1fr; } .image-area { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; } .image-area .preview { width: 140px; height: 140px; border: 1px solid var(--border); background-size: cover; background-position: center; background-color: #f5f5f5; position: relative; display: grid; place-items: center; color: var(--muted); font-size: 11px; } .image-area .actions-col { display: grid; gap: 6px; align-content: start; } .image-area .dropzone { border: 2px dashed #999; padding: 10px 12px; font-size: 12px; color: var(--muted); text-align: center; cursor: pointer; user-select: none; } .image-area .dropzone.over { border-color: var(--accent); color: var(--fg); background: #fff4ec; } .bulkbar { position: sticky; top: 0; z-index: 2; background: #000; color: #fff; padding: 8px 12px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .bulkbar .btn { background: #111 !important; color: #fff !important; border-color: #444 !important; } .bulkbar .btn:hover { background: var(--accent) !important; color: #000 !important; border-color: var(--accent) !important; } .bulkbar .count { font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12px; } .station-art-thumb { width: 48px; height: 48px; background-color: #f3f3f3; border: 1px solid var(--border); flex-shrink: 0; overflow: hidden; position: relative; display: block; } .station-art-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; } .station-art-thumb.empty::after { content: "\266A"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 22px; } .station-cell { display: flex; align-items: center; gap: 10px; } .station-cell .meta { min-width: 0; } .station-cell .meta small { color: var(--muted); display: block; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .preview-player { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; border: 1px solid var(--border); padding: 2px 6px; } .preview-player button { background: transparent; border: 0; font-size: 14px; padding: 0 2px; cursor: pointer; } .preview-player.playing button { color: var(--accent); } /* Leaderboard view */ .leaderboard { display: grid; gap: 8px; } .leader-row { display: grid; grid-template-columns: 32px 60px 1fr repeat(6, auto); align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--border); background: var(--panel); } .leader-row .rank { font-weight: 900; font-size: 18px; } .leader-row .art { width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: #f3f3f3; display: flex; align-items: center; justify-content: center; flex: none; } .leader-row .art img { width: 100%; height: 100%; object-fit: cover; display: block; } .leader-row .art.empty::after { content: '♪'; color: var(--muted); font-size: 22px; } .leader-row .name b { font-size: 14px; } .leader-row .stat-num { font-weight: 800; font-size: 13px; white-space: nowrap; } /* Wider dialog for the edit-station experience. */ dialog.wide { max-width: 880px; } /* ---------- Strong delete confirmation (station removal warns about API impact) ---------- */ dialog.danger-confirm { border: 2px solid var(--bad); max-width: 560px; width: 92%; } dialog.danger-confirm form { gap: 14px; padding: 22px; } dialog.danger-confirm .danger-header { display: flex; align-items: center; gap: 12px; } dialog.danger-confirm .danger-icon { width: 44px; height: 44px; display: grid; place-items: center; background: var(--bad); color: #fff; font-size: 26px; font-weight: 900; flex-shrink: 0; } dialog.danger-confirm h2 { margin: 0; color: var(--bad); text-transform: uppercase; letter-spacing: 0.04em; font-size: 20px; } dialog.danger-confirm .danger-body { display: flex; flex-direction: column; gap: 12px; font-size: 14px; } dialog.danger-confirm .lede { margin: 0; padding: 12px; background: #fde7e6; border-left: 4px solid var(--bad); color: #2a0000; } dialog.danger-confirm .impact { margin: 0; padding-left: 22px; font-size: 13px; color: var(--fg); line-height: 1.5; } dialog.danger-confirm .impact code, dialog.danger-confirm .type-to-confirm code, dialog.danger-confirm .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #f0f1f5; padding: 1px 6px; font-size: 12px; } dialog.danger-confirm .impact-list { background: #fafafc; border: 1px solid var(--border); padding: 8px 12px; font-size: 12px; max-height: 180px; overflow: auto; } dialog.danger-confirm .impact-list-head { font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; color: var(--muted); } dialog.danger-confirm .impact-list ul { margin: 0; padding-left: 18px; list-style: square; } dialog.danger-confirm .impact-list li.more { color: var(--muted); font-style: italic; list-style: none; margin-left: -16px; } dialog.danger-confirm .type-to-confirm { display: flex; flex-direction: column; gap: 6px; font-size: 13px; } dialog.danger-confirm .type-to-confirm input { border: 2px solid var(--bad); font-size: 15px; padding: 10px 12px; } dialog.danger-confirm .actions .btn.danger:disabled { opacity: 0.35; cursor: not-allowed; background: var(--panel); color: var(--bad); } dialog.danger-confirm .actions .btn.danger:not(:disabled) { background: var(--bad); color: #fff; border-color: var(--bad); font-weight: 700; } /* ---------- Read-only metadata block in station detail editor ---------- */ .readonly-meta { margin-top: 8px; padding: 10px 12px; background: #fafafc; border: 1px solid var(--border); display: grid; gap: 4px; font-size: 12px; } .readonly-meta-head { text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 700; margin-bottom: 4px; font-size: 11px; } .readonly-meta .meta-row { display: grid; grid-template-columns: 140px 1fr; gap: 8px; align-items: center; } .readonly-meta .meta-k { color: var(--muted); } .readonly-meta .meta-v.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; word-break: break-all; } /* ---------- Discover table: dim entries already in the library ---------- */ tr.discover-existing { opacity: 0.55; } tr.discover-existing td { background: #fafafc; } .main .muted { color: var(--muted); }