* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

:root {
  --bg-0: #020407;
  --bg-1: #05070b;
  --bg-2: #090d14;
  --surface-0: rgba(12, 16, 24, 0.72);
  --surface-1: rgba(255, 255, 255, 0.11);
  --surface-2: rgba(0, 0, 0, 0.82);
  --text-0: #f8fafc;
  --text-1: #d4d4d8;
  --text-2: #a1a1aa;
  --border-0: rgba(255, 179, 71, 0.12);
  --border-1: rgba(255, 217, 154, 0.28);
  --overlay-0: rgba(0, 0, 0, 0.8);
  --overlay-1: rgba(0, 0, 0, 0.9);
  --orange-0: #ff8c00;
  --orange-1: #ffb347;
  --copper-0: #9a4f19;
  --gold-0: #ffe2a4;
  --cyan-0: #45d5ff;
  --shadow-0: rgba(255, 140, 0, 0.14);
  --shadow-1: rgba(0, 0, 0, 0.55);
}

body[data-theme="light"] {
  --bg-0: #f6f1e8;
  --bg-1: #fff9ee;
  --bg-2: #e7dfd1;
  --surface-0: rgba(255, 255, 255, 0.82);
  --surface-1: rgba(255, 253, 248, 0.95);
  --surface-2: rgba(255, 255, 255, 0.9);
  --text-0: #18181b;
  --text-1: #3f3f46;
  --text-2: #71717a;
  --border-0: rgba(194, 101, 22, 0.18);
  --border-1: rgba(159, 92, 26, 0.34);
  --overlay-0: rgba(24, 24, 27, 0.42);
  --overlay-1: rgba(24, 24, 27, 0.5);
  --shadow-0: rgba(169, 94, 20, 0.16);
  --shadow-1: rgba(82, 63, 38, 0.2);
}

body {
  background-color: var(--bg-0);
  color: var(--text-0);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  isolation: isolate;
  -webkit-text-size-adjust: 100%;
  background-image:
    linear-gradient(115deg, rgba(255, 179, 71, 0.16) 0%, transparent 24%, rgba(69, 213, 255, 0.08) 52%, transparent 76%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 38px),
    linear-gradient(to bottom, var(--bg-0) 0%, var(--bg-1) 43%, var(--bg-2) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  background:
    conic-gradient(from 226deg at 50% -12%, rgba(255, 179, 71, 0.3), rgba(69, 213, 255, 0.08), transparent 34%, rgba(154, 79, 25, 0.22), transparent 72%, rgba(255, 226, 164, 0.18)),
    linear-gradient(90deg, rgba(255, 140, 0, 0.08), transparent 26%, rgba(69, 213, 255, 0.06) 76%, transparent);
  animation: ambient-shift 18s ease-in-out infinite alternate;
}

body::after {
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  animation: grid-drift 24s linear infinite;
}

body > * {
  position: relative;
}

body[data-theme="light"]::before {
  background:
    conic-gradient(from 218deg at 50% -10%, rgba(255, 168, 55, 0.26), rgba(34, 132, 167, 0.12), transparent 33%, rgba(138, 86, 34, 0.18), transparent 72%, rgba(255, 226, 164, 0.32)),
    linear-gradient(90deg, rgba(178, 96, 23, 0.1), transparent 28%, rgba(45, 127, 150, 0.08) 78%, transparent);
}

body[data-theme="light"]::after {
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(90, 65, 35, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 65, 35, 0.07) 1px, transparent 1px);
}

.glass {
  pointer-events: auto;
  background: var(--surface-0);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-0);
  position: relative;
  box-shadow:
    0 24px 70px var(--shadow-1),
    0 0 32px var(--shadow-0),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 30%, rgba(255, 179, 71, 0.07) 78%, transparent),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent 42%);
  opacity: 0.86;
}

.glass > * {
  position: relative;
}

.app-header {
  background: color-mix(in srgb, var(--bg-0) 88%, transparent) !important;
  border-color: color-mix(in srgb, var(--border-1) 56%, transparent) !important;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.app-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 164, 0.42), rgba(69, 213, 255, 0.28), transparent);
}

.content-shell {
  position: relative;
  padding-top: 2.2rem;
}

.content-shell::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 0.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 179, 71, 0.35), transparent);
}

.hero-block {
  position: relative;
  padding: clamp(1.2rem, 2.5vw, 2rem) 1rem 0.5rem;
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(255, 226, 164, 0.16), transparent 58%);
}

.search-shell {
  border-color: var(--border-1);
}

.protocol-shell {
  border-color: color-mix(in srgb, var(--cyan-0) 24%, var(--border-1));
}

.protocol-result-card {
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(69, 213, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.results-shell {
  position: relative;
}

.public-resolved-shell {
  position: relative;
}

.public-resolved-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.public-resolved-filters {
  align-items: center;
}

.public-filter-btn {
  min-width: 148px;
}

.public-pagination {
  display: none;
}

.public-pagination.is-visible {
  display: flex;
}

.page-number-btn {
  min-width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.existing-results-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 150px));
  justify-content: flex-start;
}

.existing-result-card {
  width: 150px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.existing-result-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: color-mix(in srgb, var(--orange-1) 56%, transparent);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 179, 71, 0.16);
}

.existing-result-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.public-resolved-card {
  border-radius: 22px;
  overflow: hidden;
  min-width: 0;
  transform: translateZ(0);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

.public-resolved-card:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: color-mix(in srgb, var(--orange-1) 48%, transparent);
  filter: saturate(1.05);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 179, 71, 0.16),
    0 0 26px rgba(255, 140, 0, 0.12);
}

.public-resolved-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.public-resolved-card:hover .public-resolved-poster {
  transform: scale(1.035);
  filter: brightness(1.06) contrast(1.03);
}

.public-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.public-card-date {
  font-size: 0.72rem;
  line-height: 1.1;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.public-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
}

.public-status-badge.added {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.28);
}

.public-status-badge.fixed {
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.28);
}

.public-status-badge.denied {
  color: #fecaca;
  background: rgba(244, 63, 94, 0.14);
  border-color: rgba(244, 63, 94, 0.3);
}

.public-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.public-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 1.7rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.75rem;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.public-card-chip.type-chip {
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.28);
  background: rgba(12, 8, 4, 0.72);
}

.public-card-chip.rating-chip {
  color: #fde68a;
  border: 1px solid rgba(250, 204, 21, 0.22);
  background: rgba(8, 8, 6, 0.72);
}

.results-shell::before {
  content: "";
  position: absolute;
  inset: -0.8rem -0.4rem auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(69, 213, 255, 0.3), transparent);
}

.icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.icon-lg {
  width: 3rem;
  height: 3rem;
  stroke-width: 1.9;
}

.icon-text-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.icon-only-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 16px currentColor;
}

.premium-btn {
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #6f3510 0%, var(--orange-0) 28%, var(--gold-0) 52%, var(--orange-1) 72%, #7b3b12 100%);
  color: #15100a;
  font-weight: 900;
  border: 1px solid rgba(255, 226, 164, 0.5);
  box-shadow:
    0 8px 18px rgba(255, 140, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -6px 14px rgba(101, 45, 10, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.premium-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 24%, transparent 66%, rgba(255, 255, 255, 0.24));
  pointer-events: none;
}

.premium-btn::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 36%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}

.premium-btn > * {
  position: relative;
  z-index: 1;
}

.premium-btn:hover {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow:
    0 14px 30px rgba(255, 140, 0, 0.28),
    0 0 0 1px rgba(255, 226, 164, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -6px 16px rgba(101, 45, 10, 0.16);
}

.premium-btn:hover::after {
  left: 112%;
}

.premium-btn:active {
  transform: translateY(-1px) scale(0.99);
}

button.glass {
  border: 1px solid color-mix(in srgb, var(--border-1) 66%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-1) 88%, transparent), color-mix(in srgb, var(--surface-0) 95%, transparent));
  color: var(--text-0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 7px 16px color-mix(in srgb, var(--shadow-1) 48%, transparent);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

button.glass:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--orange-1) 62%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 9px 22px color-mix(in srgb, var(--shadow-1) 62%, transparent),
    0 0 0 1px color-mix(in srgb, var(--orange-1) 25%, transparent);
}

.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  gap: 0.85rem;
}

#results .card-hover {
  min-width: 0;
  width: 100%;
}

#results .card-hover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  height: auto;
  object-fit: cover;
  transition: transform 0.32s ease, filter 0.32s ease;
}

.result-card {
  border-radius: 22px;
  cursor: pointer;
  transform: translateZ(0);
}

.result-card:hover img {
  transform: scale(1.04);
  filter: brightness(1.07) contrast(1.04);
}

.result-card-overlay {
  background: linear-gradient(to top, rgba(3, 6, 10, 0.96), rgba(3, 6, 10, 0.72) 52%, transparent);
  transition: background 0.26s ease;
}

.result-card:hover .result-card-overlay {
  background: linear-gradient(to top, rgba(3, 6, 10, 0.98), rgba(3, 6, 10, 0.68) 48%, rgba(255, 140, 0, 0.06));
}

.result-card-title {
  font-size: 0.92rem;
  line-height: 1.15;
}

.result-card-action {
  min-height: 2.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.already-requested .result-card-action {
  background:
    linear-gradient(135deg, #064e3b 0%, #10b981 34%, #bbf7d0 58%, #34d399 78%, #065f46 100%);
  color: #022c22;
  border-color: rgba(187, 247, 208, 0.72);
  box-shadow:
    0 10px 24px rgba(16, 185, 129, 0.34),
    0 0 0 1px rgba(187, 247, 208, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -6px 14px rgba(6, 78, 59, 0.18);
}

.already-requested .result-card-action:hover {
  box-shadow:
    0 14px 34px rgba(16, 185, 129, 0.46),
    0 0 0 1px rgba(187, 247, 208, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -6px 16px rgba(6, 78, 59, 0.18);
}

#contentDetailsContent {
  min-height: 320px;
  -webkit-overflow-scrolling: touch;
}

.content-details-modal-panel,
#detailsModal > .glass,
#requestModal > .glass,
#existingContentModal > .glass,
#adminLoginModal > .glass,
#createAdminModal > .glass,
#manageAdminModal > .glass {
  max-width: min(var(--modal-max-width, 64rem), calc(100vw - 1rem));
}

.content-details-layout,
.content-details-info,
.content-details-main,
.content-details-facts,
.content-details-facts > .glass,
#contentDetailsModal,
#contentDetailsContent,
#detailsContent {
  min-width: 0;
  max-width: 100%;
}

.content-details-modal-panel {
  --modal-max-width: 64rem;
}

.content-details-poster-shell {
  align-self: start;
  width: 100%;
}

.content-details-poster {
  max-height: 28rem;
}

.content-details-title,
.result-card-title,
.public-resolved-card h4 {
  overflow-wrap: anywhere;
}

@media (min-width: 640px) {
  .results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .public-resolved-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .public-resolved-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .results-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .public-resolved-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .card-hover:hover,
  .result-card:hover img,
  .public-resolved-card:hover,
  .public-resolved-card:hover .public-resolved-poster,
  .existing-result-card:hover,
  button.glass:hover,
  .premium-btn:hover {
    transform: none;
    filter: none;
  }
}

@media (max-width: 767px) {
  body::before,
  body::after {
    animation: none;
  }

  .glass {
    backdrop-filter: blur(9px);
    box-shadow:
      0 12px 34px var(--shadow-1),
      0 0 18px var(--shadow-0),
      inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .app-header > div {
    padding: 0.85rem 1rem;
    gap: 0.85rem;
    flex-wrap: wrap;
  }

  .app-header img {
    width: 4.25rem !important;
  }

  .app-header h1 {
    font-size: 1.05rem !important;
    line-height: 1.1;
  }

  .app-header p {
    display: none;
  }

  .app-header .flex.items-center.gap-4:last-child {
    width: 100%;
    gap: 0.5rem;
  }

  .app-header .flex.items-center.gap-4:last-child > button {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.85rem !important;
    font-size: 0.78rem !important;
  }

  .content-shell {
    padding: 1.35rem 0.85rem 2rem !important;
  }

  .hero-block {
    margin-bottom: 1.8rem !important;
    padding-inline: 0;
  }

  .hero-block img {
    width: min(13rem, 72vw) !important;
  }

  .hero-block h2 {
    font-size: clamp(2rem, 10vw, 3.2rem) !important;
    line-height: 1.02 !important;
  }

  .search-shell {
    margin-bottom: 2rem !important;
    border-radius: 1.35rem !important;
  }

  .results-shell .flex.items-center.justify-between,
  .public-resolved-shell .flex.items-center.justify-between {
    align-items: flex-start;
  }

  .results-grid,
  .public-resolved-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .result-card,
  .public-resolved-card {
    border-radius: 1rem;
  }

  .result-card-overlay {
    padding: 0.55rem !important;
  }

  .result-card-title {
    font-size: 0.78rem;
    line-height: 1.12;
    margin-bottom: 0.45rem !important;
  }

  .result-card-action {
    min-height: 2.15rem;
    font-size: 0.62rem;
    border-radius: 0.7rem !important;
    padding-inline: 0.35rem !important;
  }

  .public-resolved-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .public-resolved-filters::-webkit-scrollbar {
    display: none;
  }

  .public-filter-btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 0.75rem 0.95rem !important;
    font-size: 0.76rem !important;
  }

  #contentDetailsModal,
  #detailsModal,
  #requestModal,
  #existingContentModal,
  #adminLoginModal,
  #createAdminModal,
  #manageAdminModal {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem !important;
    -webkit-overflow-scrolling: touch;
  }

  .content-details-modal-panel,
  #detailsModal > .glass,
  #requestModal > .glass,
  #existingContentModal > .glass,
  #adminLoginModal > .glass,
  #createAdminModal > .glass,
  #manageAdminModal > .glass {
    width: calc(100vw - 1rem) !important;
    max-width: calc(100vw - 1rem) !important;
    max-height: calc(100dvh - 1rem) !important;
    border-radius: 1.35rem !important;
    margin-inline: auto;
    overflow-x: hidden !important;
  }

  .content-details-modal-panel {
    transform: none !important;
  }

  .content-details-modal-header {
    gap: 0.8rem;
    padding: 0.9rem !important;
  }

  .content-details-modal-header h3,
  #detailsModal h3,
  #requestModal h3,
  #existingContentModal h3 {
    font-size: clamp(1.55rem, 7vw, 2rem) !important;
    line-height: 1.05 !important;
  }

  .content-details-modal-header p,
  #detailsModal .text-zinc-400,
  #requestModal .text-zinc-400,
  #existingContentModal .text-zinc-400 {
    font-size: 0.85rem !important;
  }

  .icon-only-btn {
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 1rem !important;
    flex: 0 0 auto;
  }

  #contentDetailsContent {
    min-height: 0;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.75rem !important;
    overflow-x: hidden;
  }

  .content-details-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .content-details-poster-shell {
    max-width: 8.8rem;
    margin-inline: auto;
    padding: 0.55rem !important;
    border-radius: 1.2rem !important;
  }

  .content-details-poster {
    border-radius: 1rem !important;
    max-height: 13.1rem;
  }

  .content-details-info,
  .content-details-main {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .content-details-info {
    gap: 1rem !important;
  }

  .content-details-main,
  .content-details-facts > .glass {
    padding: 0.85rem !important;
    border-radius: 1.15rem !important;
    width: 100%;
    max-width: 100%;
  }

  .content-details-main .flex.flex-wrap.items-center {
    gap: 0.45rem !important;
  }

  .content-details-main .flex.flex-wrap.items-center > span {
    padding: 0.45rem 0.65rem !important;
    font-size: 0.68rem !important;
    border-radius: 0.85rem !important;
  }

  .content-details-title {
    font-size: clamp(1.35rem, 6.4vw, 1.75rem) !important;
    line-height: 1.04 !important;
  }

  .content-details-overview {
    font-size: 0.86rem !important;
    line-height: 1.42 !important;
  }

  .content-details-facts {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.75rem !important;
  }

  .content-details-facts p:last-child {
    font-size: 1.05rem !important;
  }

  .content-details-info .flex.flex-wrap.gap-4 {
    gap: 0.65rem !important;
  }

  .content-details-info .flex.flex-wrap.gap-4 > button {
    flex: 1 1 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem !important;
  }

  .public-card-top {
    align-items: flex-start;
    gap: 0.35rem;
  }

  .public-resolved-card .p-4 {
    padding: 0.58rem !important;
  }

  .public-status-badge {
    gap: 0.25rem;
    padding: 0.32rem 0.45rem;
    font-size: 0.55rem;
    letter-spacing: 0.02em;
  }

  .public-status-badge .icon,
  .public-card-chip .icon {
    width: 0.85rem;
    height: 0.85rem;
  }

  .public-card-date {
    font-size: 0.58rem;
  }

  .public-resolved-card h4 {
    font-size: 0.84rem !important;
    line-height: 1.12 !important;
  }

  .public-card-meta {
    gap: 0.32rem;
  }

  .public-card-chip {
    min-height: 1.35rem;
    padding: 0.26rem 0.45rem;
    border-radius: 0.55rem;
    font-size: 0.58rem;
  }

  .public-resolved-card .text-sm {
    font-size: 0.72rem !important;
    line-height: 1.25 !important;
  }

  .public-synopsis-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .public-synopsis-toggle {
    font-size: 0.66rem !important;
  }
}

.requests-status-filters {
  align-items: center;
}

.request-filter-btn {
  min-width: 150px;
}

.danger-btn {
  cursor: pointer;
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.38), rgba(69, 10, 10, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(254, 202, 202, 0.14),
    0 10px 24px rgba(127, 29, 29, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.danger-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(254, 202, 202, 0.2),
    0 14px 28px rgba(127, 29, 29, 0.33);
}

.card-hover {
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
}

.card-hover:hover {
  transform: translateY(-7px) scale(1.012);
  border-color: var(--border-1);
  filter: saturate(1.04);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 179, 71, 0.16),
    0 0 26px rgba(255, 140, 0, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .card-hover,
  .card-hover img,
  .result-card-overlay,
  .public-resolved-card,
  .public-resolved-poster,
  .existing-result-card {
    transition: none;
  }

  .card-hover:hover,
  .card-hover:hover img,
  .result-card:hover img,
  .public-resolved-card:hover,
  .public-resolved-card:hover .public-resolved-poster,
  .existing-result-card:hover {
    transform: none;
  }
}

.admin-tab-btn {
  letter-spacing: 0;
}

.admin-tab-btn.premium-btn {
  box-shadow:
    0 14px 30px rgba(255, 140, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -10px 22px rgba(101, 45, 10, 0.22);
}

.admin-tab-btn.glass {
  font-weight: 800;
}

.dashboard-card {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--orange-1) 56%, transparent);
}

#requestsQuickFilterBar {
  display: none;
}

#requestsQuickFilterBar.is-visible {
  display: flex;
}

.neon-text {
  background: linear-gradient(90deg, var(--orange-1), var(--orange-0));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.input-premium,
.select-premium,
.textarea-premium {
  width: 100%;
  background: var(--surface-1);
  color: var(--text-0);
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: 1.5rem;
  padding: 1rem 1.25rem;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-premium:focus,
.select-premium:focus,
.textarea-premium:focus {
  border-color: rgba(251, 146, 60, 0.6);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.15);
}

.textarea-premium {
  min-height: 11rem;
  resize: vertical;
}

.form-error {
  color: #fb7185;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: min(24rem, calc(100vw - 2rem));
}

.toast {
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  animation: toast-in 0.2s ease;
}

body[data-theme="light"] .text-white,
body[data-theme="light"] .text-zinc-100,
body[data-theme="light"] .text-zinc-200,
body[data-theme="light"] .text-zinc-300 {
  color: var(--text-1) !important;
}

body[data-theme="light"] .text-zinc-400,
body[data-theme="light"] .text-zinc-500 {
  color: var(--text-2) !important;
}

body[data-theme="light"] .bg-white\/10 {
  background-color: var(--surface-1) !important;
}

body[data-theme="light"] .bg-black\/20,
body[data-theme="light"] .bg-black\/80,
body[data-theme="light"] .bg-black\/90 {
  background-color: var(--surface-2) !important;
}

body[data-theme="light"] .fixed.inset-0.bg-black\/80,
body[data-theme="light"] .fixed.inset-0.bg-black\/90 {
  background-color: var(--overlay-0) !important;
}

body[data-theme="light"] input,
body[data-theme="light"] textarea,
body[data-theme="light"] select {
  color: var(--text-0) !important;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
  color: #78716c;
}

body[data-theme="light"] table,
body[data-theme="light"] th,
body[data-theme="light"] td {
  color: var(--text-1);
}

body[data-theme="light"] .toast {
  color: #18181b;
  background: rgba(255, 255, 255, 0.92);
}

@keyframes ambient-shift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: hue-rotate(0deg);
  }

  100% {
    transform: translate3d(0, 8px, 0) scale(1.04);
    filter: hue-rotate(-8deg);
  }
}

@keyframes grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 72px 0, 0 72px;
  }
}

.toast-success {
  background: rgba(16, 185, 129, 0.18);
}

.toast-error {
  background: rgba(244, 63, 94, 0.2);
}

.toast-info {
  background: rgba(249, 115, 22, 0.2);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--orange-1), var(--orange-0));
  border-radius: 999px;
}
