/* ============================================================
   IPTV Player - design tokens
   Dark by default: this is a video app, the picture is the star.
   ============================================================ */
:root {
  --bg: #0b0e14;
  --bg-raised: #131824;
  --bg-overlay: #1a2030;
  --bg-hover: #212940;
  --border: #232b3d;
  --border-strong: #33405c;

  --text: #e8ecf4;
  --text-dim: #98a3b8;
  --text-faint: #6b7689;

  --accent: #4d8dff;
  --accent-hover: #6ba0ff;
  --accent-dim: rgba(77, 141, 255, 0.15);
  --live: #ff4d5e;
  --success: #35c48a;
  --warning: #f5a623;
  --danger: #ff5a5f;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --sidebar-w: 232px;
  --header-h: 60px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

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

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

body { overflow: hidden; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: var(--accent); text-decoration: none; }
img { display: block; max-width: 100%; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #44507088; }

/* Visible focus ring for keyboard and TV-remote navigation. */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }

.hidden { display: none !important; }
.spacer { flex: 1; }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); font-size: 13px; }
.mono { font-family: var(--mono); font-size: 13px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 10px; }
.wrap { flex-wrap: wrap; }

/* ------------------------------ buttons ------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  background: var(--bg-overlay); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 500;
  transition: background .15s, border-color .15s, transform .05s;
  white-space: nowrap;
}
.btn:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { background: transparent; border-color: rgba(255,90,95,.4); color: var(--danger); }
.btn-danger:hover { background: rgba(255,90,95,.12); border-color: var(--danger); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-hover); }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-icon { padding: 8px; border-radius: var(--radius-sm); }

/* ------------------------------ forms -------------------------------- */

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-dim); }
.field .hint { font-size: 12px; color: var(--text-faint); }

input[type=text], input[type=password], input[type=url], input[type=number],
input[type=search], input[type=datetime-local], select, textarea {
  padding: 10px 12px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); width: 100%; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
input::placeholder { color: var(--text-faint); }
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7689' d='M6 8.5L2 4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.switch input { display: none; }
.switch .track {
  width: 40px; height: 22px; border-radius: 11px; background: var(--border-strong);
  position: relative; transition: background .2s; flex-shrink: 0;
}
.switch .track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; transition: transform .2s;
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(18px); }

/* ------------------------------ layout ------------------------------- */

#app { display: flex; height: 100vh; height: 100dvh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: var(--bg-raised);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.sidebar-brand {
  height: var(--header-h); display: flex; align-items: center; gap: 10px;
  padding: 0 18px; border-bottom: 1px solid var(--border); font-weight: 650; font-size: 16px;
}
.sidebar-brand .logo { color: var(--accent); display: flex; }
.sidebar-nav { flex: 1; padding: 12px 10px; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-dim);
  font-size: 14px; font-weight: 500; transition: background .15s, color .15s; text-align: left;
}
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active { background: var(--accent-dim); color: var(--accent); }
.nav-item svg { flex-shrink: 0; }
.nav-item .badge {
  margin-left: auto; background: var(--border-strong); color: var(--text-dim);
  font-size: 11px; padding: 1px 7px; border-radius: 10px; font-weight: 600;
}
.nav-section { font-size: 11px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-faint); padding: 16px 12px 6px; font-weight: 600; }
.sidebar-footer { padding: 12px; border-top: 1px solid var(--border); }

.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.header {
  height: var(--header-h); flex-shrink: 0; display: flex; align-items: center; gap: 14px;
  padding: 0 20px; border-bottom: 1px solid var(--border); background: var(--bg-raised);
}
.header h1 { font-size: 17px; font-weight: 600; }
.header-search { position: relative; flex: 1; max-width: 420px; }
.header-search input { padding-left: 36px; }
.header-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }

.content { flex: 1; overflow-y: auto; overflow-x: hidden; position: relative; }
.view { display: none; height: 100%; }
.view.active { display: flex; flex-direction: column; }
.view-pad { padding: 20px; }

.menu-toggle { display: none; }

/* --------------------------- channel grid ---------------------------- */

.toolbar {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  border-bottom: 1px solid var(--border); flex-wrap: wrap; flex-shrink: 0;
}
.chip {
  padding: 6px 13px; border-radius: 999px; background: var(--bg-overlay);
  border: 1px solid var(--border); font-size: 13px; color: var(--text-dim);
  transition: all .15s; white-space: nowrap;
}
.chip:hover { background: var(--bg-hover); color: var(--text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.chip-scroll::-webkit-scrollbar { height: 4px; }

.channel-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px; padding: 20px;
}
.channel-card {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: border-color .15s, transform .1s;
  display: flex; flex-direction: column; text-align: left; position: relative;
}
.channel-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.channel-card .thumb {
  aspect-ratio: 16/9; background: var(--bg); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.channel-card .thumb img { max-width: 72%; max-height: 68%; object-fit: contain; }
.channel-card .thumb .initials { font-size: 26px; font-weight: 700; color: var(--text-faint); letter-spacing: -.02em; }
.channel-card .meta { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.channel-card .name { font-size: 14px; font-weight: 550; }
.channel-card .now { font-size: 12px; color: var(--text-dim); }
.channel-card .progress-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 4px; }
.channel-card .progress-bar span { display: block; height: 100%; background: var(--accent); }
.channel-card .fav {
  position: absolute; top: 8px; right: 8px; padding: 5px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: var(--text-faint); opacity: 0; transition: opacity .15s, color .15s;
}
.channel-card:hover .fav, .channel-card .fav.on { opacity: 1; }
.channel-card .fav.on { color: var(--warning); }
.channel-card .num {
  position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 600;
  background: rgba(0,0,0,.65); padding: 2px 7px; border-radius: 4px; color: var(--text-dim);
}

/* ------------------------------- guide ------------------------------- */

.guide { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.guide-head {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.guide-body { flex: 1; display: flex; overflow: hidden; position: relative; }

.guide-channels {
  width: 210px; flex-shrink: 0; border-right: 1px solid var(--border);
  overflow: hidden; background: var(--bg-raised); position: relative;
}
.guide-channels-inner { position: absolute; top: 0; left: 0; right: 0; will-change: transform; }
.guide-channel {
  height: 62px; display: flex; align-items: center; gap: 10px; padding: 0 12px;
  border-bottom: 1px solid var(--border); cursor: pointer; position: absolute; left: 0; right: 0;
}
.guide-channel:hover { background: var(--bg-hover); }
.guide-channel img { width: 40px; height: 30px; object-fit: contain; flex-shrink: 0; }
.guide-channel .initials { width: 40px; text-align: center; font-weight: 700; color: var(--text-faint); font-size: 13px; }
.guide-channel .info { min-width: 0; flex: 1; }
.guide-channel .cname { font-size: 13px; font-weight: 550; }

.guide-timeline { flex: 1; overflow: auto; position: relative; }
.guide-timeline-header {
  position: sticky; top: 0; z-index: 3; height: 34px; background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}
.guide-tick {
  position: absolute; top: 0; height: 34px; display: flex; align-items: center;
  padding-left: 8px; font-size: 12px; color: var(--text-dim); font-variant-numeric: tabular-nums;
  border-left: 1px solid var(--border);
}
.guide-rows { position: relative; }
.guide-row { position: absolute; left: 0; height: 62px; border-bottom: 1px solid var(--border); }
.guide-prog {
  position: absolute; top: 4px; bottom: 5px; background: var(--bg-overlay);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 6px 9px; overflow: hidden; cursor: pointer; text-align: left;
  transition: background .12s, border-color .12s; display: flex; flex-direction: column; gap: 2px;
}
.guide-prog:hover { background: var(--bg-hover); border-color: var(--accent); }
.guide-prog.live { background: linear-gradient(180deg, rgba(77,141,255,.18), rgba(77,141,255,.07)); border-color: rgba(77,141,255,.4); }
.guide-prog .pt { font-size: 12.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-prog .ps { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.guide-prog.rec::after {
  content: ''; position: absolute; top: 6px; right: 6px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--live);
}
.guide-nowline {
  position: absolute; top: 34px; bottom: 0; width: 2px; background: var(--live);
  z-index: 2; pointer-events: none;
}
.guide-nowline::before {
  content: ''; position: absolute; top: 0; left: -4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--live);
}

/* ------------------------------ player ------------------------------- */

.player-overlay {
  position: fixed; inset: 0; background: #000; z-index: 100;
  display: flex; flex-direction: column;
}
.player-overlay.hidden { display: none; }
.player-stage { flex: 1; position: relative; background: #000; display: flex; align-items: center; justify-content: center; }
.player-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }

.player-top, .player-bottom {
  position: absolute; left: 0; right: 0; padding: 16px 20px; z-index: 2;
  transition: opacity .25s, transform .25s; display: flex; align-items: center; gap: 12px;
}
.player-top { top: 0; background: linear-gradient(180deg, rgba(0,0,0,.85), transparent); }
.player-bottom { bottom: 0; background: linear-gradient(0deg, rgba(0,0,0,.9), transparent); flex-direction: column; align-items: stretch; gap: 10px; }
.player-overlay.idle .player-top { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.player-overlay.idle .player-bottom { opacity: 0; transform: translateY(8px); pointer-events: none; }
.player-overlay.idle { cursor: none; }

.player-title { font-size: 17px; font-weight: 600; }
.player-sub { font-size: 13px; color: var(--text-dim); }
.player-controls { display: flex; align-items: center; gap: 8px; }
.player-controls .btn { background: rgba(255,255,255,.1); border-color: transparent; backdrop-filter: blur(8px); }
.player-controls .btn:hover { background: rgba(255,255,255,.2); }

.seekbar { height: 5px; background: rgba(255,255,255,.2); border-radius: 3px; cursor: pointer; position: relative; }
.seekbar .played { height: 100%; background: var(--accent); border-radius: 3px; }
.seekbar .buffered { position: absolute; top: 0; height: 100%; background: rgba(255,255,255,.25); border-radius: 3px; }

.volume { display: flex; align-items: center; gap: 6px; width: 110px; }
.volume input[type=range] { -webkit-appearance: none; appearance: none; height: 4px; background: rgba(255,255,255,.25); border-radius: 2px; }
.volume input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; cursor: pointer; }

.player-status {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; z-index: 1;
}
.player-status.hidden { display: none; }
.spinner {
  width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.15);
  border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.live-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 4px;
  background: var(--live); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em;
}
.live-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------------------------- multi-view ----------------------------- */

.multiview { flex: 1; display: grid; gap: 4px; padding: 4px; background: #000; overflow: hidden; }
.mv-cell {
  position: relative; background: var(--bg-raised); border-radius: var(--radius-sm);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.mv-cell video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.mv-cell.empty { border: 2px dashed var(--border); cursor: pointer; }
.mv-cell.empty:hover { border-color: var(--accent); }
.mv-cell.active-audio { outline: 2px solid var(--accent); outline-offset: -2px; }
.mv-bar {
  position: absolute; top: 0; left: 0; right: 0; padding: 6px 8px; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.8), transparent);
  display: flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .2s;
}
.mv-cell:hover .mv-bar { opacity: 1; }
.mv-bar .t { font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------ cards -------------------------------- */

.card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.stat .l { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .05em; }

.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; padding: 20px; }
.poster {
  cursor: pointer; display: flex; flex-direction: column; gap: 7px; text-align: left;
  transition: transform .12s;
}
.poster:hover { transform: translateY(-3px); }
.poster .art {
  aspect-ratio: 2/3; border-radius: var(--radius); background: var(--bg-raised);
  border: 1px solid var(--border); overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.poster:hover .art { border-color: var(--accent); }
.poster .art img { width: 100%; height: 100%; object-fit: cover; }
.poster .t { font-size: 13px; font-weight: 500; line-height: 1.3; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 10px 12px; font-size: 12px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--text-faint); border-bottom: 1px solid var(--border); font-weight: 600; }
td { padding: 11px 12px; border-bottom: 1px solid var(--border); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-hover); }

.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; background: var(--bg-overlay); color: var(--text-dim);
}
.tag.ok { background: rgba(53,196,138,.15); color: var(--success); }
.tag.warn { background: rgba(245,166,35,.15); color: var(--warning); }
.tag.err { background: rgba(255,90,95,.15); color: var(--danger); }
.tag.live { background: rgba(255,77,94,.18); color: var(--live); }

/* ------------------------------ modal -------------------------------- */

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(4,6,11,.75); backdrop-filter: blur(6px);
  z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px;
  animation: fade .15s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--bg-raised); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  width: 100%; max-width: 520px; max-height: 88vh; display: flex; flex-direction: column;
  animation: rise .18s cubic-bezier(.2,.8,.3,1);
}
@keyframes rise { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.modal.wide { max-width: 820px; }
.modal-head { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.modal-head h2 { font-size: 17px; font-weight: 600; }
.modal-body { padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.modal-foot { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; }

/* ------------------------------ toasts ------------------------------- */

.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--bg-overlay); border: 1px solid var(--border-strong); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: var(--shadow);
  max-width: 360px; font-size: 14px; animation: slide .2s ease;
}
@keyframes slide { from { transform: translateX(20px); opacity: 0; } }
.toast.error { border-left-color: var(--danger); }
.toast.success { border-left-color: var(--success); }

/* ------------------------------- auth -------------------------------- */

.auth-screen {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  padding: 20px; background:
    radial-gradient(1000px 600px at 20% -10%, rgba(77,141,255,.14), transparent 60%),
    radial-gradient(800px 500px at 110% 110%, rgba(255,77,94,.08), transparent 55%), var(--bg);
}
.auth-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 20px; }
.auth-logo { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 650; justify-content: center; }
.auth-logo .logo { color: var(--accent); }
.auth-box { background: var(--bg-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.auth-error { padding: 10px 13px; border-radius: var(--radius-sm); background: rgba(255,90,95,.12);
  border: 1px solid rgba(255,90,95,.3); color: #ff8f93; font-size: 13.5px; }

.empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 60px 24px; text-align: center; color: var(--text-dim); flex: 1;
}
.empty svg { color: var(--text-faint); }
.empty h3 { font-size: 16px; color: var(--text); font-weight: 600; }

.skeleton { background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-overlay) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------- responsive ----------------------------- */

@media (max-width: 860px) {
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 50; transform: translateX(-100%);
    box-shadow: var(--shadow);
  }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: inline-flex; }
  .guide-channels { width: 140px; }
  .channel-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px; }
  .poster-grid { grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); padding: 14px; }
  .header { padding: 0 14px; gap: 10px; }
  .view-pad { padding: 14px; }
  .toolbar { padding: 12px 14px; }
}

/* Larger hit targets when driven by a TV remote or trackpad from the sofa. */
@media (hover: none) and (pointer: coarse) {
  .btn { padding: 11px 18px; }
  .channel-card .fav { opacity: 1; }
}

@media print { body { display: none; } }
