:root {
  --bg: #07070a;
  --bg-soft: #0d0d14;
  --card: #14141d;
  --card-2: #1a1a25;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f2f2f7;
  --muted: #8d8d9e;
  --muted-2: #66667a;
  --gold: #ffb648;
  --gold-2: #ff7a45;
  --green: #4ade80;
  --danger: #ff5d5d;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 69, 0.1), transparent 65%),
    radial-gradient(700px 400px at 5% 0%, rgba(255, 182, 72, 0.07), transparent 60%);
  background-repeat: no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: rgba(255, 182, 72, 0.3);
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1100;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(255, 140, 60, 0.35);
}

.nav {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.nav a {
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 14px;
  color: var(--muted);
  transition: 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.search {
  margin-left: auto;
  position: relative;
  display: flex;
  align-items: center;
  width: min(340px, 46vw);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  transition: 0.2s;
}

.search:focus-within {
  border-color: rgba(255, 182, 72, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(255, 182, 72, 0.1);
}

.search svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.6;
}

.search input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 9px 8px;
  font-size: 14px;
}

.search input::placeholder {
  color: var(--muted-2);
}

.search-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  padding: 2px 4px;
  font-size: 16px;
  line-height: 1;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 11px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.18s;
  white-space: nowrap;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn-primary {
  border: 0;
  color: #1a1100;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 10px 26px rgba(255, 140, 60, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 30px rgba(255, 140, 60, 0.36);
}

.btn-danger {
  color: var(--danger);
  border-color: rgba(255, 93, 93, 0.28);
  background: rgba(255, 93, 93, 0.08);
}

.btn-danger:hover {
  background: rgba(255, 93, 93, 0.16);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 13px;
  border-radius: 9px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------------- Spotlight ---------------- */

.spotlight {
  position: relative;
  margin: 26px 0 34px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.spotlight-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center 25%;
  filter: blur(26px) brightness(0.5) saturate(1.15);
  transform: scale(1.06);
  z-index: -2;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, 0.94) 8%, rgba(7, 7, 10, 0.55) 55%, rgba(7, 7, 10, 0.2)),
    linear-gradient(0deg, rgba(7, 7, 10, 0.9), transparent 70%);
}

.spotlight-body {
  padding: 38px 40px 34px;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
}

.spotlight h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.spotlight-desc {
  color: #b9b9c7;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-actions {
  display: flex;
  gap: 12px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
}

/* ---------------- Toolbar / chips ---------------- */

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  cursor: pointer;
  transition: 0.18s;
}

.chip:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

.chip.active {
  color: var(--text);
  background: rgba(255, 182, 72, 0.13);
  border-color: rgba(255, 182, 72, 0.45);
}

.count {
  color: var(--muted-2);
  font-size: 13px;
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 22px 16px;
  padding-bottom: 60px;
}

.card {
  cursor: pointer;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(150deg, #1d1d2a, #101017);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s;
}

.card:hover .poster {
  transform: translateY(-6px);
  border-color: rgba(255, 182, 72, 0.28);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}

.card:hover .poster img {
  transform: scale(1.055);
}

.poster.noimg img {
  display: none;
}

.poster.noimg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 15%, rgba(255, 182, 72, 0.24), transparent 60%),
    radial-gradient(120% 90% at 85% 90%, rgba(255, 122, 69, 0.2), transparent 60%),
    linear-gradient(160deg, #1c1c28, #0d0d14);
}

.poster.noimg::after {
  content: attr(data-title);
  position: absolute;
  left: 14px;
  right: 14px;
  top: 42%;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.poster-info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 14px 12px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35) 60%, transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.25s;
}

.card:hover .poster-info {
  opacity: 1;
  transform: none;
}

.poster-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poster-info p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.card-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 182, 72, 0.25);
}

.card-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: 0.25s;
}

.card-play span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 182, 72, 0.92);
  color: #1a1100;
  font-size: 17px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: 0.25s;
}

.card:hover .card-play {
  opacity: 1;
  background: rgba(0, 0, 0, 0.28);
}

.card:hover .card-play span {
  transform: scale(1);
}

.card-title {
  margin: 10px 2px 0;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-sub {
  margin: 1px 2px 0;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------------- Skeleton / empty ---------------- */

.skeleton-card .poster {
  background: #14141d;
  animation: pulse 1.4s ease-in-out infinite;
}

.skeleton-card .bar {
  height: 10px;
  border-radius: 6px;
  background: #17171f;
  margin-top: 10px;
  animation: pulse 1.4s ease-in-out infinite;
}

.skeleton-card .bar.short {
  width: 55%;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.empty {
  text-align: center;
  padding: 90px 0 110px;
  color: var(--muted);
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 26px;
}

.empty h3 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 17px;
}

.empty p {
  margin: 0;
  font-size: 14px;
}

/* ---------------- Watch page ---------------- */

.watch-top {
  padding-top: 26px;
}

.player-shell {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16 / 9;
}

.player-shell video,
.player-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.player-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
  background: linear-gradient(150deg, #16161f, #000);
}

.watch-head {
  display: flex;
  gap: 26px;
  margin: 26px 0 10px;
  align-items: flex-start;
}

.watch-poster {
  width: 132px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 2 / 3;
  background: linear-gradient(150deg, #1d1d2a, #101017);
  position: relative;
}

.watch-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-info {
  min-width: 0;
}

.watch-info h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}

.watch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  font-size: 12.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 7px;
}

.tag.gold {
  color: var(--gold);
  border-color: rgba(255, 182, 72, 0.3);
  background: rgba(255, 182, 72, 0.08);
}

.watch-desc {
  color: #b4b4c2;
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 46px 0 18px;
  font-size: 17px;
  font-weight: 600;
}

.section-title::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
}

/* ---------------- Watch backdrop ---------------- */

.watch-backdrop {
  position: fixed;
  inset: -10%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(70px) brightness(0.22) saturate(1.2);
  opacity: 0.55;
  pointer-events: none;
}

/* ---------------- Admin ---------------- */

.admin-wrap {
  padding: 28px 0 70px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.admin-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 24px;
  align-items: start;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.panel.sticky {
  position: sticky;
  top: 92px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 600;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  outline: 0;
  font-size: 13.5px;
  transition: 0.18s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 182, 72, 0.5);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 182, 72, 0.09);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.65;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.poster-field {
  display: flex;
  gap: 12px;
}

.poster-preview {
  width: 74px;
  height: 106px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.poster-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-preview .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted-2);
  text-align: center;
  padding: 4px;
}

.poster-field-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.inline-btn {
  align-self: flex-start;
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
}

.switch {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}

.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cfcfda;
  transition: 0.2s;
}

.switch.on {
  background: rgba(255, 182, 72, 0.26);
  border-color: rgba(255, 182, 72, 0.5);
}

.switch.on::after {
  left: 21px;
  background: var(--gold);
}

.switch-label {
  font-size: 13px;
  color: var(--muted);
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.form-actions .btn {
  flex: 1;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 76vh;
  overflow: auto;
  padding-right: 4px;
}

.admin-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 9px;
  border-radius: 11px;
  border: 1px solid transparent;
  transition: 0.18s;
}

.admin-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.admin-item .thumb {
  width: 42px;
  height: 60px;
  border-radius: 7px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.admin-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-main {
  min-width: 0;
  flex: 1;
}

.admin-item-main h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-item-main h4 .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.admin-item-main p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.admin-item-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
  transition: 0.18s;
}

.icon-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.icon-btn.danger:hover {
  color: var(--danger);
  border-color: rgba(255, 93, 93, 0.4);
  background: rgba(255, 93, 93, 0.1);
}

.list-empty {
  color: var(--muted-2);
  font-size: 13px;
  text-align: center;
  padding: 40px 0;
}

/* ---------------- Modal ---------------- */

.modal-mask {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
  animation: fade 0.2s ease;
}

.modal {
  width: min(860px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  animation: rise 0.22s ease;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.modal-head h3 {
  margin: 0;
  font-size: 16px;
}

.modal-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}

.modal-close:hover {
  color: var(--text);
}

.candidates {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 14px;
}

.candidate {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.18s;
}

.candidate:hover {
  border-color: rgba(255, 182, 72, 0.5);
  transform: translateY(-3px);
}

.candidate img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.candidate p {
  margin: 0;
  padding: 7px 9px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--muted);
}

.candidate-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 36px 0;
  line-height: 1.9;
}

/* ---------------- Login ---------------- */

.login-wrap {
  min-height: calc(100vh - 68px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.login-card {
  width: min(390px, 100%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.login-card h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.login-card p {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--muted);
}

.login-card .btn {
  width: 100%;
  margin-top: 6px;
}

/* ---------------- Toast ---------------- */

.toast-wrap {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}

.toast {
  background: rgba(24, 24, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  animation: toastIn 0.25s ease;
}

.toast.error {
  border-color: rgba(255, 93, 93, 0.45);
}

.toast.success {
  border-color: rgba(74, 222, 128, 0.4);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------------- Footer ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 34px;
  color: var(--muted-2);
  font-size: 12.5px;
  text-align: center;
}

.site-footer span {
  color: var(--muted);
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .panel.sticky {
    position: static;
  }
  .admin-list {
    max-height: none;
  }
  .nav {
    display: none;
  }
  .spotlight-body {
    padding: 28px 24px;
  }
  .watch-head {
    flex-direction: column;
    gap: 16px;
  }
  .watch-poster {
    width: 104px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }
  .header-inner {
    height: 60px;
    gap: 12px;
  }
  .search {
    width: auto;
    flex: 1;
  }
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 18px 12px;
  }
  .spotlight {
    min-height: 320px;
    margin-top: 16px;
    border-radius: 16px;
  }
  .spotlight-desc {
    display: none;
  }
  .field-row-3 {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 16px;
  }
  .candidates {
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
  }
}
