.poster {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}
.private-details {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  padding: 16px;
  border: 1px solid #715060;
}
:root {
  color-scheme: dark;
  --bg: #101117;
  --panel: #1a1c25;
  --line: #30323f;
  --text: #f1f0f5;
  --muted: #a5a5b8;
  --accent: #f16785;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.7 system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent);
  letter-spacing: -1px;
}
.brand span {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
  display: block;
  line-height: 1;
}
#identity {
  margin-left: auto;
  color: var(--muted);
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 36px 24px 80px;
}
h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -1.5px;
  margin: 16px 0 22px;
}
h2 {
  font-size: 26px;
}
h3 {
  margin: 0 0 12px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 700;
  color: var(--accent);
}
.muted {
  color: var(--muted);
}
.hero {
  padding: 28px 0 36px;
}
.panel,
.card,
.row {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
}
.panel {
  max-width: 640px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 215px;
}
.card .actions {
  margin-top: auto;
  padding-top: 18px;
}
.row {
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}
nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
button {
  font: inherit;
  color: var(--text);
  background: #2c2e3b;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 17px;
  cursor: pointer;
  transition: background 0.15s;
}
button:hover {
  background: #414354;
}
button.selected,
button[type="submit"],
.search button {
  background: var(--accent);
  color: #1a1018;
  font-weight: 700;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: #11131b;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 9px;
  width: 100%;
  min-width: 0;
}
textarea {
  min-height: 80px;
}
input:focus,
textarea:focus,
select:focus,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
label {
  display: block;
  color: var(--muted);
  margin: 14px 0;
}
.search {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.search input {
  max-width: 560px;
}
.search select {
  width: auto;
  min-width: 120px;
}
.facets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -8px 0 22px;
}
.facets button {
  font-size: 12px;
  padding: 4px 10px;
  background: #252735;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  background: #34303d;
  color: #f4adbd;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.actions button {
  font-size: 13px;
  padding: 6px 12px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 28px 0;
}
.notice {
  border-left: 3px solid #e4b45d;
  background: #30281e;
  padding: 12px 16px;
  color: #f0d09a;
  border-radius: 5px;
}
#status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  margin: 0;
  background: #3a2833;
  color: #ffd4df;
  border: 1px solid #715060;
  border-radius: 10px;
  padding: 12px 24px;
  z-index: 10;
}
#status:empty {
  display: none;
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 22px;
  border-top: 1px solid var(--line);
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header {
    height: 76px;
    padding: 0 20px;
    gap: 12px;
  }
  main {
    padding: 22px 18px 60px;
  }
  .row {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding-top: 10px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  #identity {
    font-size: 12px;
  }
  .panel {
    padding: 20px;
  }
}
