:root {
  --bg: #0c0c0d;
  --surface: #131315;
  --surface2: #1c1c1f;
  --border: rgba(255, 255, 255, 0.07);
  --border-mid: rgba(255, 255, 255, 0.13);
  --text: #ededed;
  --text-sub: #888;
  --text-muted: #4d4d52;
  --accent: #7c6af5;
  --accent-soft: rgba(124, 106, 245, 0.13);
  --green: #3ecf8e;
  --green-soft: rgba(62, 207, 142, 0.08);
  --amber: #f5a623;
  --blue: #5b9cf6;
  --rose: #f06292;
  --track: rgba(255, 255, 255, 0.055);
  --row-hover: rgba(255, 255, 255, 0.03);
  --ph: rgba(255, 255, 255, 0.06);
  --input-bg: rgba(255, 255, 255, 0.03);
  --modal-bg: rgba(0, 0, 0, 0.65);
}

html.light {
  --bg: #f2f2f3;
  --surface: #ffffff;
  --surface2: #ebebed;
  --border: rgba(0, 0, 0, 0.08);
  --border-mid: rgba(0, 0, 0, 0.15);
  --text: #111;
  --text-sub: #555;
  --text-muted: #aaa;
  --accent: #5a4ed1;
  --accent-soft: rgba(90, 78, 209, 0.1);
  --green: #16a068;
  --green-soft: rgba(22, 160, 104, 0.08);
  --amber: #c97e12;
  --blue: #2563eb;
  --rose: #e53935;
  --track: rgba(0, 0, 0, 0.06);
  --row-hover: rgba(0, 0, 0, 0.03);
  --ph: rgba(0, 0, 0, 0.07);
  --input-bg: rgba(0, 0, 0, 0.03);
  --modal-bg: rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}

.app { max-width: 1200px; margin: 0 auto; padding: 32px 28px; }

/* ── Header ─────────────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.greeting { font-size: 22px; font-weight: 600; letter-spacing: -0.4px; }
.subgreeting { font-size: 13px; color: var(--text-sub); margin-top: 3px; }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-times { display: flex; align-items: flex-end; gap: 22px; }
.ht-block { text-align: right; }
.ht-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px;
}
.ht-value {
  font-family: "DM Mono", monospace; font-size: 24px;
  font-weight: 300; color: var(--text); line-height: 1;
}
.ht-value.utc { color: var(--text-sub); }
.ht-sep { width: 1px; height: 30px; background: var(--border); }

.theme-btn {
  display: flex; align-items: center; gap: 7px; background: none;
  border: 1px solid var(--border); border-radius: 6px; padding: 6px 12px;
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 400;
  color: var(--text-muted); cursor: pointer; transition: all 0.15s;
}
.theme-btn:hover { border-color: var(--border-mid); color: var(--text-sub); }
.icon-sun { display: none; }
.icon-moon { display: block; }
html.light .icon-sun { display: block; }
html.light .icon-moon { display: none; }

/* ── Grid & Cards ────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-flights      { grid-column: 1 / 3; }
.card-calendar     { grid-column: 1 / 3; }
.card-personal     { grid-column: 1; }
.card-professional { grid-column: 2; }
.card-todos        { grid-column: 1; }
.card-atp          { grid-column: 2; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 22px;
  animation: fadeUp 0.25s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.3px;
  color: var(--text-muted); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
}

.badge { font-size: 10px; font-weight: 500; padding: 2px 8px; border-radius: 4px; letter-spacing: 0.2px; }
.badge-gray   { background: var(--track); color: var(--text-muted); }
.badge-purple { background: var(--accent-soft); color: var(--accent); }
html.light .badge-purple { color: var(--accent); }

/* ── Flight Schedule ─────────────────────────────────────── */
.fs-table { width: 100%; border-collapse: collapse; }
.fs-table th {
  text-align: left; padding: 6px 10px; font-size: 10px; font-weight: 500;
  letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-muted);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.fs-table td {
  padding: 9px 10px; font-size: 12px; color: var(--text-sub);
  border-bottom: 1px solid var(--border);
}
.fs-table tr:last-child td { border-bottom: none; }
.fs-table tbody tr:hover td { background: var(--row-hover); }

.fs-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; padding: 28px; text-align: center;
}
.fs-empty-title { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.fs-empty-sub   { font-size: 12px; color: var(--text-muted); max-width: 420px; line-height: 1.6; }
.fs-empty-sub strong { color: var(--text-sub); font-weight: 500; }

.fs-footer {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 11px; font-family: "DM Mono", monospace; color: var(--text-muted);
}

.flights-filters { display: flex; gap: 4px; margin-bottom: 10px; }
.filter-btn {
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 500;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  border-radius: 5px; padding: 4px 11px; cursor: pointer; transition: all 0.15s;
}
.filter-btn:hover { color: var(--text-sub); border-color: var(--border-mid); }
.filter-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.fs-table tr.row-today td { background: rgba(124, 106, 245, 0.055); }
.crew-member { white-space: nowrap; line-height: 1.8; }
.crew-role { font-weight: 700; color: var(--text-main); }
.fs-table tr.row-today td:first-child { border-left: 2px solid var(--accent); padding-left: 10px; }

/* ── Calendar (7-day column view) ────────────────────────── */
.event-list {
  display: flex; flex-direction: row; gap: 0;
  overflow-x: auto; min-height: 120px;
}

.day-col {
  flex: 1; min-width: 0;
  border-right: 1px solid var(--border);
  padding: 8px 6px 6px;
}
.day-col:last-child { border-right: none; }
.day-col.is-today { background: rgba(124, 106, 245, 0.04); border-radius: 6px; }

.day-hdr {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.day-name {
  font-size: 9px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--text-muted);
}
.is-today .day-name { color: var(--accent); }
.day-date { font-size: 11px; font-weight: 500; color: var(--text-sub); }
.is-today .day-date { color: var(--accent); }

.day-events { display: flex; flex-direction: column; gap: 4px; }

.cal-ev {
  display: flex; flex-direction: column; gap: 1px;
  padding: 3px 4px; border-radius: 4px; cursor: default;
}
.cal-ev:hover { background: var(--row-hover); }
.cal-ev-time {
  font-family: "DM Mono", monospace; font-size: 9px;
  color: var(--text-muted);
}
.cal-ev-title { font-size: 10px; color: var(--text); line-height: 1.3; word-break: break-word; }
.cal-ev-empty { font-size: 11px; color: var(--border-mid); text-align: center; padding: 4px 0; }

/* placeholder skeleton (shown before connected) */
.ph-bar { height: 11px; background: var(--ph); border-radius: 6px; display: block; }
.ev-stripe { width: 3px; height: 28px; border-radius: 2px; flex-shrink: 0; }
.stripe-today { background: var(--accent); }
.stripe-soon  { background: var(--border-mid); }
.event { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 6px; }
.ev-time { font-family: "DM Mono", monospace; font-size: 11px; color: var(--text-muted); width: 36px; flex-shrink: 0; text-align: right; }
.ev-body { flex: 1; }
.ph-event .ev-time { opacity: 0.2; }
.ev-chip { font-size: 10px; font-weight: 400; padding: 2px 8px; border-radius: 4px; background: var(--track); color: var(--text-muted); white-space: nowrap; }

.cal-note {
  text-align: center; font-size: 12px; color: var(--text-muted);
  padding: 12px 0 2px; border-top: 1px dashed var(--border); margin-top: 6px;
}

/* ── Reminders / Todo Card ────────────────────────────────── */
.todo-list { display: flex; flex-direction: column; }
.todo-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 6px; border-bottom: 1px solid var(--border);
}
.todo-item:last-child { border-bottom: none; }
.todo-item:hover { background: var(--row-hover); border-radius: 5px; }
.todo-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--border-mid); flex-shrink: 0;
}
.todo-item.overdue .todo-dot { border-color: var(--rose); }
.todo-title { font-size: 13px; color: var(--text); flex: 1; }
.todo-item.overdue .todo-title { color: var(--rose); }
.todo-due { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.todo-due.today { color: var(--accent); font-weight: 500; }
.todo-due.overdue { color: var(--rose); font-weight: 500; }
.todo-sync {
  font-size: 10px; color: var(--text-muted);
  text-align: right; padding: 8px 2px 0;
  opacity: 0.6;
}
.todo-placeholder {
  font-size: 12px; color: var(--text-muted);
  text-align: center; padding: 16px 0;
}

/* ── Quick Links ─────────────────────────────────────────── */
.links-bar {
  display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 9px 14px; margin-bottom: 14px;
}
.links-bar-label { font-size: 11px; font-weight: 500; letter-spacing: 0.2px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }
.links-bar-items { display: flex; align-items: center; gap: 6px; flex: 1; flex-wrap: wrap; }
.links-empty-inline { font-size: 12px; color: var(--text-muted); }
.link-pill {
  display: flex; align-items: center; gap: 6px; padding: 4px 10px;
  border-radius: 5px; background: var(--track); border: 1px solid var(--border);
  font-size: 12px; font-weight: 400; color: var(--text-sub); text-decoration: none;
  transition: all 0.15s; cursor: pointer; white-space: nowrap;
}
.link-pill:hover { background: var(--row-hover); border-color: var(--border-mid); color: var(--text); }
.link-pill-remove {
  font-size: 11px; color: var(--text-muted); background: none; border: none;
  cursor: pointer; padding: 0 0 0 2px; line-height: 1; transition: color 0.15s;
  display: none;
}
.link-pill-remove:hover { color: var(--rose); }
.links-bar.editing .link-pill-remove { display: inline; }
.links-add-btn {
  display: none; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 5px; background: none; border: 1px solid var(--border); color: var(--text-muted);
  cursor: pointer; transition: all 0.15s; flex-shrink: 0;
}
.links-add-btn:hover { border-color: var(--border-mid); color: var(--text-sub); }
.links-edit-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: 5px; background: none;
  border: 1px solid var(--border); color: var(--text-muted);
  font-size: 11px; cursor: pointer; transition: all 0.15s; flex-shrink: 0;
}
.links-edit-btn:hover { border-color: var(--border-mid); color: var(--text-sub); }
.links-bar.editing .links-edit-btn { border-color: var(--accent); color: var(--accent); }

/* ── Goals ───────────────────────────────────────────────── */
.goal { margin-bottom: 16px; }
.goal:last-child { margin-bottom: 0; }
.goal-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 7px; }
.goal-name { font-size: 12px; font-weight: 500; color: var(--text-sub); }
.goal-val  { font-family: "DM Mono", monospace; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.goal-val em { font-style: normal; color: var(--text-sub); }

.track  { height: 5px; background: var(--track); border-radius: 100px; overflow: hidden; }
.fill   { height: 100%; border-radius: 100px; transition: width 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fill-indigo  { background: #7c6af5; }
.fill-emerald { background: #3ecf8e; }
.fill-sky     { background: #5b9cf6; }
.fill-amber   { background: #f5a623; }
.fill-rose    { background: #f06292; }
.fill-violet  { background: #a78bfa; }
.fill-teal    { background: #2dd4bf; }
.fill-green   { background: #3ecf8e; }
.fill-red     { background: #f04e52; }

.goal-section {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2px; color: var(--text-muted);
  margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}
.met { color: var(--green); font-size: 10px; margin-left: 3px; }
.atp-section { font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin: 10px 0 6px; }

/* ── Buttons ─────────────────────────────────────────────── */
.mfb-btn {
  font-family: "Inter", sans-serif; font-size: 11px; font-weight: 400;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 9px; cursor: pointer; transition: all 0.15s;
}
.mfb-btn:hover { border-color: var(--border-mid); color: var(--text-sub); }

.btn-p {
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500;
  color: #fff; background: var(--accent); border: none; border-radius: 6px;
  padding: 9px 18px; cursor: pointer; transition: opacity 0.15s;
}
.btn-p:hover { opacity: 0.85; }
.btn-g {
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 400;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  border-radius: 6px; padding: 9px 18px; cursor: pointer; transition: all 0.15s;
}
.btn-g:hover { color: var(--text-sub); border-color: var(--border-mid); }

/* ── Modals ──────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: var(--modal-bg);
  backdrop-filter: blur(4px); z-index: 100; align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border-mid); border-radius: 10px;
  width: 640px; max-width: 95vw; max-height: 90vh; overflow-y: auto; padding: 28px;
  animation: fadeUp 0.2s ease;
}
.modal-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
.modal-sub   { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.modal-x {
  background: none; border: none; color: var(--text-muted); font-size: 16px;
  cursor: pointer; padding: 2px 6px; border-radius: 6px; transition: all 0.15s;
}
.modal-x:hover { background: var(--track); color: var(--text); }

.tabs { display: flex; gap: 3px; background: var(--track); border-radius: 7px; padding: 3px; margin-bottom: 22px; }
.tab {
  flex: 1; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 400;
  color: var(--text-muted); background: none; border: none; border-radius: 5px;
  padding: 7px 12px; cursor: pointer; transition: all 0.15s;
}
.tab.active { background: var(--surface2); color: var(--text); font-weight: 500; }

.mfb-note {
  background: rgba(245, 166, 35, 0.06); border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: 6px; padding: 12px 14px; margin-bottom: 18px;
  font-size: 12px; color: var(--text-sub); line-height: 1.6;
}
.mfb-note strong { color: var(--text); }

.man-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 18px; }
.man-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.7px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border);
}

.fg { margin-bottom: 12px; }
.fg:last-child { margin-bottom: 0; }
.fl { display: block; font-size: 11px; font-weight: 500; color: var(--text-sub); margin-bottom: 5px; }
.fi {
  width: 100%; background: var(--input-bg); border: 1px solid var(--border); border-radius: 6px;
  padding: 8px 12px; font-family: "DM Mono", monospace; font-size: 13px; color: var(--text);
  outline: none; transition: border-color 0.15s;
}
.fi:focus { border-color: var(--accent); }
.fi::placeholder { color: var(--text-muted); }

.fstatus { font-size: 12px; padding: 8px 12px; border-radius: 6px; margin-bottom: 14px; display: none; }
.fstatus.info    { display: block; background: rgba(96, 165, 250, 0.1); color: var(--blue); }
.fstatus.success { display: block; background: var(--green-soft); color: var(--green); }
.fstatus.error   { display: block; background: rgba(248, 113, 113, 0.1); color: var(--rose); }

/* ── Feeds page ─────────────────────────────────────────────────────────── */
.nav-page-link {
  display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500;
  color: var(--text-sub); text-decoration: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 6px 12px; transition: all 0.15s;
}
.nav-page-link:hover { color: var(--text); border-color: var(--border-mid); }

.feeds-header-left { display: flex; align-items: center; gap: 16px; }
.back-link {
  display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500;
  color: var(--text-sub); text-decoration: none; transition: color 0.15s;
}
.back-link:hover { color: var(--text); }
.feeds-title { font-size: 18px; font-weight: 600; }
.feeds-settings-btn {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  color: var(--text-sub); background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 6px 12px; cursor: pointer; transition: all 0.15s;
}
.feeds-settings-btn:hover { color: var(--text); border-color: var(--border-mid); }

.feed-tabs {
  display: flex; align-items: center; gap: 4px;
  margin: 20px 0 16px; border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.feed-tab {
  font-size: 13px; font-weight: 500; color: var(--text-muted); background: none;
  border: none; border-bottom: 2px solid transparent; padding: 8px 14px;
  margin-bottom: -1px; cursor: pointer; transition: all 0.15s;
}
.feed-tab:hover { color: var(--text); }
.feed-tab.active { color: var(--text); border-bottom-color: var(--accent); }
.feed-tab-status { font-size: 11px; color: var(--text-muted); padding-bottom: 8px; }
.feed-limit-btns { display: flex; gap: 2px; margin-left: auto; padding-bottom: 6px; }
.feed-limit-btn {
  font-size: 11px; font-weight: 500; font-family: "DM Mono", monospace;
  background: none; border: 1px solid var(--border); border-radius: 5px;
  color: var(--text-muted); padding: 3px 8px; cursor: pointer; transition: all 0.15s;
}
.feed-limit-btn:hover { color: var(--text); border-color: var(--border-mid); }
.feed-limit-btn.active { background: var(--surface2); color: var(--text); border-color: var(--border-mid); }

.feed-filter-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.feed-filter-btn {
  display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500;
  color: var(--text-sub); background: none; border: 1px solid var(--border);
  border-radius: 7px; padding: 5px 12px; cursor: pointer; transition: all 0.15s;
}
.feed-filter-btn:hover { color: var(--text); border-color: var(--border-mid); }
.feed-filter-btn.active { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.feed-filter-hint { font-size: 11px; color: var(--text-muted); }

.feed-list { display: flex; flex-direction: column; gap: 2px; }
.feed-loading, .feed-empty, .feed-error {
  padding: 40px; text-align: center; font-size: 13px; color: var(--text-muted);
}
.feed-error { color: var(--rose); }

.feed-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 8px; transition: background 0.12s;
}
.feed-item:hover { background: var(--row-hover); }

.feed-poster {
  width: 44px; height: 62px; border-radius: 5px; object-fit: cover;
  flex-shrink: 0; background: var(--surface2);
}
.feed-poster-ph {
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--text-muted);
  font-family: "DM Mono", monospace;
}

.feed-item-body { flex: 1; min-width: 0; }
.feed-item-top  { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.feed-rank      { font-size: 11px; font-weight: 600; color: var(--text-muted); font-family: "DM Mono", monospace; min-width: 28px; }
.feed-item-title { font-size: 14px; font-weight: 500; color: var(--text); }
.feed-year       { font-size: 11px; color: var(--text-muted); }
.feed-desc       { font-size: 12px; color: var(--text-sub); line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.feed-item-actions { flex-shrink: 0; }
.feed-rating {
  font-size: 10px; font-weight: 600; font-family: "DM Mono", monospace;
  padding: 2px 6px; border-radius: 4px;
}
.feed-rating-good { background: var(--green-soft); color: var(--green); }
.feed-rating-mid  { background: rgba(245,166,35,0.1); color: var(--amber); }
.feed-rating-low  { background: rgba(240,98,146,0.1); color: var(--rose); }

.feed-provider {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px;
  white-space: nowrap;
}
.feed-provider-netflix      { background: rgba(229,9,20,0.15);    color: #e50914; }
.feed-provider-prime        { background: rgba(0,168,225,0.15);   color: #00a8e1; }
.feed-provider-disneyplus   { background: rgba(17,60,219,0.15);   color: #113cdb; }
.feed-provider-hulu         { background: rgba(28,231,131,0.15);  color: #1ce783; }
.feed-provider-appletv      { background: rgba(255,255,255,0.08); color: #e0e0e0; }
.feed-provider-max          { background: rgba(0,100,255,0.15);   color: #4f8aff; }
.feed-provider-peacock      { background: rgba(255,255,255,0.08); color: #ccc; }
.feed-provider-paramountplus{ background: rgba(0,64,255,0.15);    color: #4f8aff; }
.feed-provider-amcplus      { background: rgba(255,80,0,0.15);    color: #ff6a1a; }
.feed-provider-nbc          { background: rgba(255,200,0,0.12);   color: #f5c400; }
.feed-provider-cbs          { background: rgba(100,149,237,0.15); color: #6495ed; }
.feed-provider-abc          { background: rgba(255,255,255,0.08); color: #ccc; }
.feed-provider-fox          { background: rgba(255,80,0,0.12);    color: #ff6a1a; }
.feed-provider-fx           { background: rgba(180,0,0,0.15);     color: #e05050; }
.feed-provider-amc          { background: rgba(255,80,0,0.12);    color: #ff8040; }
.feed-provider-showtime     { background: rgba(200,0,0,0.15);     color: #e03030; }
.feed-provider-hbo          { background: rgba(0,100,255,0.15);   color: #4f8aff; }
.feed-provider-starz        { background: rgba(255,255,255,0.08); color: #bbb; }
.feed-provider-bravo        { background: rgba(180,0,200,0.12);   color: #d060e0; }

.feed-request-btn {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--accent); background: var(--accent-soft); border-radius: 6px;
  padding: 5px 11px; text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.feed-request-btn:hover { background: rgba(124, 106, 245, 0.22); }

/* ── News items ─────────────────────────────────────────────────────────── */
.news-item {
  display: block; padding: 11px 12px; border-radius: 8px;
  text-decoration: none; transition: background 0.12s; border-left: 2px solid transparent;
}
.news-item:hover { background: var(--row-hover); }
.news-item-new  { border-left-color: var(--green); }
.news-item-top  { display: flex; align-items: center; gap: 7px; margin-bottom: 4px; flex-wrap: wrap; }
.news-title     { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.4; }
.news-source    { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.news-time      { font-size: 11px; color: var(--text-muted); font-family: "DM Mono", monospace; }
.news-badge-new {
  font-size: 9px; font-weight: 700; letter-spacing: 0.6px; padding: 2px 6px;
  border-radius: 4px; background: var(--green-soft); color: var(--green); text-transform: uppercase;
}
.news-badge-term {
  font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 4px;
  background: var(--accent-soft); color: var(--accent);
}
