/* --- shared topbar (как на главной) --- */
:root{
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --soft:#f8fafc;
  --shadow: 0 12px 40px rgba(15,23,42,.08);
  --radius: 18px;
}

.wrap{ max-width:1040px; margin:0 auto; }
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.8);
}

.brand{
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
}

.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #111827;
  box-shadow: 0 0 0 4px rgba(17,24,39,.08);
}

.btn-ghost{
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
  color: #0f172a;
}

.btn-ghost:hover{
  background: var(--soft);
  color: #0f172a;
}

    body { background:#fafafa; color:#111827; }

    .card-soft {
      background:#fff;
      border:1px solid #e5e7eb;
      border-radius:var(--radius);
    }

    .shadow-soft {
      box-shadow:0 10px 30px rgba(17,24,39,.06);
    }

    .tabs button {
      border:none;
      background:none;
      padding:8px 14px;
      font-weight:600;
      color:#6b7280;
      border-radius:10px;
    }

    .tabs button.active {
      background:#111827;
      color:#fff;
    }

    /* stars */
#stars { user-select:none; }

.star{
  appearance:none;
  -webkit-appearance:none;
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  margin:0 !important;

  cursor:pointer;
  font-size:1.25rem;
  line-height:1;
  color:#e5e7eb;

  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  outline:none !important;
  box-shadow:none !important;
}

.star:focus { outline:none !important; box-shadow:none !important; }
.star:focus-visible { outline: 2px solid rgba(17,24,39,.25); border-radius:8px; }

.star.active { color:#f59e0b; }

/* легкий hover */
.star:hover { transform: translateY(-1px); }


    .tiny { font-size:.85rem; color:#6b7280; }
	.s-item { cursor:pointer; border-radius:12px; }
	.s-item:hover { background:#f3f4f6; }
	.s-poster { width:36px; height:52px; object-fit:cover; border-radius:10px; border:1px solid #e5e7eb; }
	.s-title { font-weight:600; color:#111827; }
	.s-sub { font-size:.85rem; color:#6b7280; }
	
.s-poster {
  width: 36px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
}

/* если это заглушка */
.s-poster[src$="poster-placeholder.svg"] {
  padding: 6px;
  object-fit: contain;
  opacity: 0.7;
}

.watch-item { position: relative; }

.btn-icon{
  border:0;
  background:transparent;
  color:#9ca3af;
  line-height:1;
  padding:2px 8px;
  border-radius:10px;
  font-size:18px;
}

.btn-icon:hover{
  background:#f3f4f6;
  color:#111827;
}


/* минимализм: показываем крестик только при наведении */
.watch-item .js-del { opacity:0; transition:opacity .12s ease; }
.watch-item:hover .js-del { opacity:1; }
