.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 15px;
  background: var(--panel-2);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, #c99a4a, #e7c16b);
  color: #140d04;
  border: none;
}

.button.ghost {
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(201,154,74,.34);
  border-radius: 999px;
  color: #f6dca8;
  background: rgba(201,154,74,.105);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow.compact {
  margin-bottom: 10px;
  padding: 5px 9px;
  font-size: 12px;
}

.pill {
  display: inline-flex;
  width: max-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(201,154,74,.13);
  color: #f6dca8;
  font-size: 12px;
  font-weight: 800;
}

.section {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15,23,42,.64);
  box-shadow: 0 18px 60px rgba(0,0,0,.14);
}

.section.narrow {
  max-width: 780px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.section h1,
.section h2 {
  margin: 0;
  letter-spacing: -.04em;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #020617;
  color: var(--text);
}

select {
  width: auto;
}

.search-form {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.messages {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.message {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel-2);
}

.message.error {
  border-color: rgba(248,113,113,.45);
  color: #fecaca;
}

.message.success {
  border-color: rgba(52,211,153,.45);
  color: #bbf7d0;
}

.empty,
.muted {
  color: var(--muted);
}

.poster-placeholder {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 15px;
  background: #020617;
  color: var(--accent);
  font-weight: 900;
}

.poster-placeholder.large {
  min-height: 380px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
}

.meta span,
.meta a {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15,23,42,.64);
}

/* TV Tracker 0.1.24 - clean IMDb PNG final */
.meta a.imdb-logo-link,
a.imdb-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  overflow: visible;
  text-decoration: none;
  vertical-align: middle;
}

.meta a.imdb-logo-link img,
a.imdb-logo-link img {
  display: block;
  width: auto;
  height: 28px;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  border: 0;
  background: transparent;
  transform: none;
}

.meta a.imdb-logo-link.compact img,
a.imdb-logo-link.compact img {
  height: 22px;
  width: auto;
}

.meta a.imdb-logo-link:hover,
a.imdb-logo-link:hover {
  background: transparent;
  box-shadow: none;
  filter: brightness(1.08);
  transform: translateY(-1px);
}


/* TV Tracker 0.1.25 - IMDb badge slightly smaller */
.meta a.imdb-logo-link img,
a.imdb-logo-link img {
  height: 24px;
  width: auto;
}

.meta a.imdb-logo-link.compact img,
a.imdb-logo-link.compact img {
  height: 19px;
  width: auto;
}
