/**
 * Profil — Miruro tarzı panel (banner · yan bilgi · aktivite · favori · yorum)
 */

.prf {
  --prf-accent: var(--aml-accent);
  --prf-card: color-mix(in srgb, var(--theme-bg-elevated) 92%, transparent);
  --prf-line: var(--aml-line);
  --prf-glow: color-mix(in srgb, var(--prf-accent) 28%, transparent);
  width: min(var(--aml-max), 100%);
  margin: 0 auto 2rem;
  padding: 0 0 2rem;
  position: relative;
}
.prf::before {
  content: "";
  position: absolute;
  inset: -1rem -2rem auto;
  height: 18rem;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 15% 20%, var(--prf-glow), transparent 70%),
    radial-gradient(ellipse 40% 55% at 85% 10%, color-mix(in srgb, var(--prf-accent) 14%, transparent), transparent 65%);
  opacity: 0.55;
}
.prf > .prf-hero,
.prf > .prf-grid {
  position: relative;
  z-index: 1;
}

.prf-hero {
  position: relative;
  border-radius: 0 0 1.15rem 1.15rem;
  overflow: hidden;
  margin-bottom: 1.35rem;
  min-height: 13rem;
  background: var(--theme-bg);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.28);
}
.prf-hero__banner {
  position: absolute;
  inset: 0;
  background-color: var(--theme-bg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  filter: saturate(1.1) contrast(1.03);
}
.prf-hero__banner:not([style*="url"]) {
  background:
    radial-gradient(ellipse 80% 70% at 20% 30%, color-mix(in srgb, var(--prf-accent) 35%, transparent), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 20%, color-mix(in srgb, var(--prf-accent) 18%, var(--theme-info), transparent 50%),)
    linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-bg) 45%, var(--theme-bg) 100%);
  background-size: auto;
  filter: none;
}
.prf-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--theme-bg) 55%, transparent) 0%, transparent 45%),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--theme-bg) 12%, transparent) 0%,
      color-mix(in srgb, var(--theme-bg) 45%, transparent) 48%,
      color-mix(in srgb, var(--theme-bg) 94%, transparent) 100%
    );
}
.prf-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 6.75rem 1.25rem 1.35rem;
  flex-wrap: wrap;
}
.prf-hero__identity {
  display: flex;
  align-items: flex-end;
  gap: 0.95rem;
  min-width: 0;
  overflow: visible;
  padding: 0.25rem 0.35rem 0.15rem 0.15rem;
  margin: -0.25rem -0.35rem -0.15rem -0.15rem;
}
.prf-avatar {
  width: 7.6rem;
  height: 7.6rem;
  border-radius: 999px;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--theme-text) 20%, transparent);
  background: var(--theme-surface);
  flex-shrink: 0;
  box-shadow:
    0 0 0 4px color-mix(in srgb, var(--prf-accent) 22%, transparent),
    0 12px 28px rgba(0, 0, 0, 0.45);
}
.prf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prf-avatar.ab-decor > .ab-decor__overlay {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}
.prf-avatar.ab-decor {
  overflow: visible !important;
}
.prf-avatar__ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-weight: 800;
  font-size: 2rem;
  color: var(--prf-accent);
}
.prf-name {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--theme-text);
  line-height: 1.12;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}
.prf-handle {
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--theme-text) 57%, transparent);
  margin: 0.2rem 0 0.45rem;
}
.prf-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}
.prf-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  background: color-mix(in srgb, var(--prf-accent) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--prf-accent) 35%, transparent);
  color: var(--prf-accent);
  backdrop-filter: blur(6px);
}
.prf-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.4rem 0.95rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--prf-accent);
  color: var(--theme-text) !important;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.prf-hero__cta:disabled {
  opacity: 0.65;
  cursor: wait;
}
.prf-hero__cta--ghost {
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
  color: var(--theme-text) !important;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
}
.prf-follow-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.prf-follow-error {
  font-size: 0.72rem;
  color: #f87171;
}
.prf-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.prf-settings {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.prf-settings__panel {
  width: min(22rem, 92vw);
  z-index: 2;
}
.prf-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--theme-muted);
}
.prf-field > span {
  color: var(--theme-text);
  font-weight: 700;
}
.prf-field input,
.prf-field textarea {
  appearance: none;
  border: 1px solid var(--theme-border);
  border-radius: 0.45rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  padding: 0.5rem 0.65rem;
  font: inherit;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-text) 4%, transparent);
}
.prf-field input::placeholder,
.prf-field textarea::placeholder {
  color: var(--theme-muted);
  opacity: 0.85;
}
.prf-field input:focus,
.prf-field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--theme-accent) 55%, var(--theme-border));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 18%, transparent);
}
.prf-field input:-webkit-autofill,
.prf-field input:-webkit-autofill:hover,
.prf-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--theme-text);
  box-shadow: 0 0 0 1000px var(--theme-surface) inset;
  transition: background-color 99999s ease-out;
}
.prf-field--toggles {
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.prf-toggle {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.6rem 0.7rem;
  border-radius: 0.65rem;
  border: 1px solid var(--theme-border);
  background: var(--theme-surface);
}
.prf-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
/* Kapalı: koyu track + yüzey topuz — açık/koyu temada net */
.prf-toggle__ui {
  width: 2.85rem;
  height: 1.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text) 32%, var(--theme-bg));
  border: 2px solid color-mix(in srgb, var(--theme-text) 42%, transparent);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--theme-text) 22%, transparent);
  position: relative;
  flex-shrink: 0;
  margin-top: 0.05rem;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.prf-toggle__ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--theme-surface);
  border: 2px solid color-mix(in srgb, var(--theme-text) 55%, transparent);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--theme-text) 28%, transparent);
  transform: translateY(-50%);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
/* Açık: accent track + beyaz topuz sağda */
.prf-toggle input:checked + .prf-toggle__ui {
  background: var(--theme-accent);
  border-color: var(--theme-accent-deep);
  box-shadow: inset 0 1px 2px color-mix(in srgb, #000 22%, transparent);
}
.prf-toggle input:checked + .prf-toggle__ui::after {
  transform: translate(1.2rem, -50%);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 1px 5px color-mix(in srgb, #000 35%, transparent);
}
.prf-toggle__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.prf-toggle__text strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--theme-text);
}
.prf-toggle__text small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--theme-muted);
  line-height: 1.35;
}
.prf-toggle.is-on .prf-toggle__text small {
  color: var(--theme-accent-soft-ink);
}
.prf-toggle:not(.is-on) .prf-toggle__text small {
  color: var(--theme-muted);
}
.prf-gender {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.prf-gender__btn {
  appearance: none;
  border: 1px solid var(--prf-line);
  background: transparent;
  color: var(--aml-ink);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}
.prf-gender__btn.is-active {
  background: color-mix(in srgb, var(--prf-accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--prf-accent) 45%, transparent);
  color: var(--prf-accent);
}
.prf-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.prf-colors__swatch {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}
.prf-colors__swatch.is-active {
  border-color: var(--theme-surface);
  box-shadow: 0 0 0 2px var(--prf-accent);
}
.prf-settings__msg {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--prf-accent);
}
.prf-admin__hint {
  margin: -0.35rem 0 0.7rem;
  font-size: 0.76rem;
  color: var(--aml-mist);
}
.prf-admin__list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.prf-admin__row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.4rem 0.45rem;
  border-radius: 0.45rem;
  border: 1px solid var(--prf-line);
  cursor: pointer;
}
.prf-admin__row input {
  margin-top: 0.15rem;
  accent-color: var(--prf-accent);
}
.prf-admin__row span {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.prf-admin__row strong {
  font-size: 0.82rem;
}
.prf-admin__row small {
  font-size: 0.68rem;
  color: var(--aml-mist);
}

.prf-grid {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: 1.15rem 1.35rem;
  align-items: start;
}
.prf-side,
.prf-main {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-width: 0;
}

.prf-card {
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--theme-text) 3%, transparent), transparent 42%),
    var(--prf-card);
  border: 1px solid var(--prf-line);
  border-radius: 1rem;
  padding: 1rem 1.05rem 1.1rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.prf-card:hover {
  border-color: color-mix(in srgb, var(--theme-text) 14%, transparent);
}
.prf-card--profile {
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--prf-accent) 12%, transparent), transparent 55%),
    linear-gradient(165deg, color-mix(in srgb, var(--theme-text) 4%, transparent), transparent 45%),
    var(--prf-card);
}
.prf-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.prf-card__title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.prf-card__title i {
  color: var(--prf-accent);
  font-size: 1.05rem;
  opacity: 0.9;
}
.prf-card__head .prf-card__title {
  margin: 0;
}
.prf-pill {
  display: inline-flex;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  background: color-mix(in srgb, var(--prf-accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--prf-accent) 28%, transparent);
  color: var(--prf-accent);
  font-variant-numeric: tabular-nums;
}
.prf-bio {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--aml-ink-soft);
  line-height: 1.5;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--theme-bg) 18%, transparent);
  border-left: 3px solid color-mix(in srgb, var(--prf-accent) 55%, transparent);
}
.prf-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: -0.35rem 0 0.85rem;
}
.prf-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  text-decoration: none;
  color: var(--theme-info);
  background: color-mix(in srgb, var(--theme-info) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-info) 28%, transparent);
}
.prf-social-link:hover {
  background: color-mix(in srgb, var(--theme-info) 22%, transparent);
}
.prf-social-fields {
  display: grid;
  gap: 0.55rem;
}
.prf-password-form {
  display: grid;
  gap: 0.55rem;
  max-width: none;
  width: 100%;
  margin-top: 0.15rem;
}
.prf-prefs-col .prf-field--toggles:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.prf-password-form__btn {
  appearance: none;
  justify-self: start;
  min-height: 2.35rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 55%, transparent);
  background: var(--theme-accent);
  color: var(--theme-accent-ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px color-mix(in srgb, var(--theme-accent) 25%, transparent);
}
.prf-password-form__btn:disabled {
  opacity: 0.5;
  cursor: wait;
  box-shadow: none;
}
.prf-field__hint {
  font-style: normal;
  font-weight: 600;
  opacity: 0.65;
  font-size: 0.85em;
}
.prf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0 0 0.9rem;
}
.prf-stat {
  text-align: center;
  padding: 0.55rem 0.35rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--theme-bg) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.prf-stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--theme-text);
  line-height: 1.1;
}
.prf-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--aml-mist);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.prf-facts {
  margin: 0 0 0.85rem;
  display: grid;
  gap: 0.35rem;
}
.prf-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  padding: 0.35rem 0.4rem;
  border-radius: 0.45rem;
}
.prf-facts > div:nth-child(odd) {
  background: color-mix(in srgb, var(--theme-text) 2%, transparent);
}
.prf-facts dt {
  color: var(--aml-mist);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.prf-facts dt i {
  opacity: 0.7;
  font-size: 0.9rem;
}
.prf-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: color-mix(in srgb, var(--theme-text) 88%, transparent);
}

.prf-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.55rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--prf-line);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.prf-nav-item:hover {
  border-color: color-mix(in srgb, var(--prf-accent) 45%, transparent);
  background: color-mix(in srgb, var(--prf-accent) 10%, transparent);
  transform: translateY(-1px);
}
.prf-nav-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--prf-accent) 20%, transparent);
  color: var(--prf-accent);
  flex-shrink: 0;
  font-size: 1.05rem;
}
.prf-nav-item__text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.prf-nav-item__text strong {
  font-size: 0.84rem;
}
.prf-nav-item__text small {
  font-size: 0.68rem;
  color: var(--aml-mist);
}
.prf-nav-item__count {
  min-width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--prf-accent);
  color: var(--theme-text);
}

.prf-friends {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.prf-friend {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
  padding: 0.4rem 0.35rem;
  border-radius: 0.6rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.prf-friend:hover {
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  border-color: color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.prf-friend__av {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--theme-surface);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--prf-accent) 25%, transparent);
}
.prf-friend__av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prf-friend__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.prf-friend__meta strong {
  font-size: 0.8rem;
  color: var(--prf-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prf-friend__meta small {
  font-size: 0.68rem;
  color: var(--aml-mist);
}

.prf-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.prf-activity__row {
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.prf-activity__poster {
  border-radius: 0.35rem;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--theme-bg);
}
.prf-activity__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prf-activity__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.prf-activity__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.prf-activity__meta strong {
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prf-activity__meta small {
  font-size: 0.72rem;
  color: var(--aml-mist);
}
.prf-activity__bar {
  display: block;
  height: 3px;
  margin-top: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--prf-accent), transparent);
  opacity: 0.55;
}

.prf-favs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.65rem 0.55rem;
}
.prf-fav {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.45rem;
  overflow: hidden;
  background: var(--theme-bg);
  aspect-ratio: 2 / 3;
}
.prf-fav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.prf-fav__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.prf-fav__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 0.35rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to top, color-mix(in srgb, var(--theme-bg) 85%, transparent), transparent);
  color: var(--theme-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prf-fav__star {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  font-size: 0.65rem;
  color: var(--theme-accent);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.prf-reviews {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.prf-review {
  padding: 0.8rem 0.85rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  border: 1px solid var(--prf-line);
  border-left: 3px solid color-mix(in srgb, var(--prf-accent) 50%, transparent);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.prf-review:hover {
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  border-color: color-mix(in srgb, var(--theme-text) 12%, transparent);
  border-left-color: var(--prf-accent);
}
.prf-review__body {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--aml-ink);
}
.prf-review__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--aml-mist);
}
.prf-review__meta a {
  color: var(--prf-accent);
  text-decoration: none;
  font-weight: 650;
}

/* Profil duvarı */
.prf-wall-compose {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.prf-wall-compose__input {
  width: 100%;
  resize: vertical;
  min-height: 4.2rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 20%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
  outline: none;
  box-sizing: border-box;
}
.prf-wall-compose__input:focus {
  border-color: color-mix(in srgb, var(--prf-accent) 55%, transparent);
}
.prf-wall-compose__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.prf-wall-compose__hint {
  font-size: 0.78rem;
  opacity: 0.65;
}
.prf-wall-compose__hint a {
  color: var(--prf-accent);
  font-weight: 700;
}
.prf-wall-compose__btn {
  appearance: none;
  border: 0;
  border-radius: 0.45rem;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
  color: var(--theme-text);
  background: var(--prf-accent);
}
.prf-wall-compose__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.prf-wall-compose__msg {
  margin: 0;
  font-size: 0.8rem;
  color: var(--theme-accent);
}
.prf-wall-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.prf-wall-compose__quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--prf-accent) 12%, transparent);
  font-size: 0.78rem;
}
.prf-wall-compose__quote button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
}
.prf-wall-compose__quote button:hover {
  opacity: 1;
}
.prf-wall-item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}
.prf-wall-item__avatar {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  display: block;
  width: 2.75rem;
}
.prf-wall-item__decor {
  width: 2.5rem;
  height: 2.5rem;
}
.prf-wall-item__decor img,
.prf-wall-item__decor span {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.prf-wall-item__body {
  min-width: 0;
}
.prf-wall-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}
.prf-wall-item__name {
  font-weight: 750;
  font-size: 0.88rem;
  color: inherit;
  text-decoration: none;
}
.prf-wall-item__name:hover {
  color: var(--prf-accent);
}
.prf-wall-item__badge {
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.7;
}
.prf-wall-item__ago {
  font-size: 0.72rem;
  opacity: 0.5;
}
.prf-wall-item__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}
.prf-wall-item__text .tc-quote {
  margin: 0.35rem 0 0.55rem;
}
.prf-wall-item__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  margin-top: 0.4rem;
}
.prf-wall-item__action {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.62;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 0.35rem;
}
.prf-wall-item__action i {
  font-size: 0.95rem;
}
.prf-wall-item__action:hover {
  opacity: 1;
  color: var(--prf-accent);
  background: color-mix(in srgb, var(--prf-accent) 10%, transparent);
}
.prf-wall-item__action.is-danger:hover {
  color: var(--theme-accent);
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
}
.prf-wall-replies {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0 0 0 0.65rem;
  border-left: 2px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.prf-wall-item.is-reply {
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: 0.5rem;
}
.prf-wall-item.is-reply .prf-wall-item__decor {
  width: 2rem;
  height: 2rem;
}

.prf-empty {
  margin: 0;
  font-size: 0.84rem;
  color: var(--aml-mist);
}

.prf-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.prf-overview--split > .prf-genre {
  flex: 0 1 42%;
  min-width: 16rem;
}
.prf-overview--split > .prf-lists {
  flex: 1 1 0;
  min-width: 14rem;
}
.prf-overview > .prf-card {
  margin: 0;
  width: 100%;
}
.prf-card__head-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.prf-section-link {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--prf-accent);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--prf-accent) 35%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--prf-accent) 10%, transparent);
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.prf-section-link:hover {
  color: var(--theme-text);
  border-color: color-mix(in srgb, var(--prf-accent) 55%, transparent);
  background: color-mix(in srgb, var(--prf-accent) 22%, transparent);
}

.prf-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.prf-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: color-mix(in srgb, var(--theme-bg) 65%, transparent);
  cursor: pointer;
}
.prf-modal__panel {
  position: relative;
  z-index: 1;
  width: min(42rem, 96vw);
  max-height: min(88vh, 52rem);
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg) 100%);
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  border-radius: 1rem;
  box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.prf-modal__panel--wide {
  width: min(64rem, 98vw);
  max-height: min(92vh, 60rem);
}
.prf-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 25%, transparent);
}
.prf-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--theme-text);
}
.prf-modal__close {
  appearance: none;
  border: 0;
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  color: var(--theme-text);
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.prf-modal__body {
  overflow: auto;
  padding: 0.85rem 1rem 1.1rem;
}
.prf-modal__body .upn-card,
.prf-modal__body .prf-card {
  background: transparent;
  border: 0;
  padding: 0;
}

/* —— Watchlist modal (compact / polished) —— */
.wl {
  --wl-line: var(--theme-border);
  --wl-soft: color-mix(in srgb, var(--theme-surface) 82%, transparent);
  --wl-ink: var(--theme-text);
  --wl-mute: var(--theme-muted);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.wl.is-pending {
  opacity: 0.55;
  pointer-events: none;
}

.wl-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wl-line);
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, var(--theme-bg) 70%, color-mix(in srgb, var(--theme-bg) 85%, transparent));
  margin: -0.15rem 0 0;
}
.wl-seg {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0.2rem;
  gap: 0.15rem;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--theme-bg) 35%, transparent);
  border: 1px solid var(--wl-line);
}
.wl-seg__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wl-mute);
  border-radius: 0.5rem;
  padding: 0.38rem 0.62rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.wl-seg__btn b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  opacity: 0.65;
  font-size: 0.7rem;
}
.wl-seg__btn:hover {
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
}
.wl-seg__btn.is-on {
  background: var(--theme-surface);
  color: var(--theme-text);
}
.wl-seg__btn.is-on b {
  opacity: 0.55;
  color: inherit;
}

.wl-bar__tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.wl-search {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.65rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  border: 1px solid var(--wl-line);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  color: var(--wl-mute);
}
.wl-search input {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--wl-ink);
  font: inherit;
  font-size: 0.82rem;
  width: 8.5rem;
  outline: none;
}
.wl-search input::placeholder {
  color: var(--theme-muted);
}
.wl-icon-btn {
  appearance: none;
  height: 2.15rem;
  border-radius: 0.55rem;
  border: 1px solid var(--wl-line);
  background: var(--wl-soft);
  color: var(--wl-ink);
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.wl-icon-btn.is-on,
.wl-icon-btn:hover {
  border-color: color-mix(in srgb, var(--theme-text) 18%, transparent);
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
}

.wl-import {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
@media (max-width: 720px) {
  .wl-import {
    grid-template-columns: 1fr;
  }
}
.wl-import__card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--wl-line);
  background:
    radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--theme-text) 5%, transparent), transparent 55%),
    color-mix(in srgb, var(--theme-bg) 22%, transparent);
}
.wl-import__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.wl-import__brand strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
}
.wl-import__brand small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: var(--wl-mute);
}
.wl-import__mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.wl-import__mark--al {
  background: linear-gradient(145deg, var(--theme-info), var(--theme-info));
  color: var(--theme-text);
}
.wl-import__mark--mal {
  background: linear-gradient(145deg, var(--theme-info), var(--theme-info));
  color: var(--theme-text);
}
.wl-import__actions {
  display: flex;
  gap: 0.4rem;
}
.wl-import__actions input {
  flex: 1;
  min-width: 0;
  appearance: none;
  border: 1px solid var(--wl-line);
  background: color-mix(in srgb, var(--theme-bg) 35%, transparent);
  color: var(--theme-text);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
}
.wl-import__actions button,
.wl-import__file {
  appearance: none;
  border: 0;
  border-radius: 0.5rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.wl-import__actions button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.wl-import__file {
  width: fit-content;
  background: color-mix(in srgb, var(--theme-text) 10%, transparent);
  color: var(--theme-text);
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
}

.wl-toast {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--theme-info) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-info) 22%, transparent);
  color: var(--theme-muted);
  font-size: 0.8rem;
}

.wl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wl-item {
  --wl-accent: var(--theme-muted);
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--wl-line);
  background: var(--wl-soft);
  position: relative;
  overflow: hidden;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--wl-accent);
  opacity: 0.9;
}
.wl-item:hover {
  border-color: color-mix(in srgb, var(--theme-text) 14%, transparent);
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
}
.wl-item--watching {
  --wl-accent: var(--theme-info);
}
.wl-item--watched {
  --wl-accent: var(--theme-info);
}
.wl-item--planned {
  --wl-accent: var(--theme-accent-soft);
}
.wl-item--on_hold {
  --wl-accent: var(--theme-accent);
}
.wl-item--dropped {
  --wl-accent: var(--theme-accent);
}

.wl-item__poster {
  width: 3.75rem;
  aspect-ratio: 2 / 3;
  border-radius: 0.45rem;
  overflow: hidden;
  background: var(--theme-bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.wl-item__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wl-item__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.wl-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
}
.wl-item__top {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.wl-item__title {
  flex: 1;
  min-width: 0;
  color: var(--wl-ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wl-item__title:hover {
  color: var(--theme-text);
}
.wl-item__del {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--theme-muted);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.wl-item:hover .wl-item__del {
  opacity: 1;
}
.wl-item__del:hover {
  background: color-mix(in srgb, var(--theme-accent) 18%, transparent);
  color: var(--theme-accent-soft);
}

.wl-item__track {
  height: 3px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  overflow: hidden;
}
.wl-item__track-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--wl-accent);
  transition: width 0.2s ease;
}

.wl-item__ctrls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.wl-ctrl {
  appearance: none;
  border: 1px solid var(--wl-line);
  background: color-mix(in srgb, var(--theme-bg) 32%, transparent);
  color: var(--wl-ink);
  border-radius: 0.5rem;
  height: 2rem;
  padding: 0 0.65rem;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  outline: none;
}
.wl-ctrl:focus {
  border-color: color-mix(in srgb, var(--theme-text) 22%, transparent);
}
.wl-ctrl--status {
  min-width: 7.25rem;
  padding-right: 1.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b92a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
}
.wl-ctrl--ep {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.55rem;
  color: var(--wl-mute);
}
.wl-ctrl--ep i {
  font-size: 0.85rem;
  opacity: 0.8;
}
.wl-ctrl--ep input {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--theme-text);
  width: 2.4rem;
  text-align: center;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  outline: none;
  padding: 0;
  /* hide spinners */
  -moz-appearance: textfield;
}
.wl-ctrl--ep input::-webkit-outer-spin-button,
.wl-ctrl--ep input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.wl-ctrl--ep span {
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.wl-ctrl--score {
  min-width: 5rem;
  padding-right: 1.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238b92a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.wl-empty {
  display: grid;
  place-items: center;
  gap: 0.45rem;
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--wl-mute);
  border: 1px dashed var(--wl-line);
  border-radius: 0.85rem;
  background: color-mix(in srgb, var(--theme-bg) 15%, transparent);
}
.wl-empty i {
  font-size: 1.6rem;
  opacity: 0.55;
}
.wl-empty p {
  margin: 0;
  font-size: 0.86rem;
  max-width: 22rem;
  line-height: 1.45;
}

/* history / lists — aynı dil */
.wl-panel.is-pending {
  opacity: 0.55;
  pointer-events: none;
}
.wl-create {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--wl-line, color-mix(in srgb, var(--theme-text) 8%, transparent));
}
.wl-create .wl-search,
.wl-create .wl-select,
.wl-panel .wl-search {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  color: var(--theme-text);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  font: inherit;
  font-size: 0.82rem;
  height: 2.15rem;
}
.wl-panel .wl-btn {
  appearance: none;
  border: 1px solid var(--theme-border);
  border-radius: 0.5rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0 0.85rem;
  height: 2.15rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.wl-panel .wl-btn:hover {
  background: var(--theme-hover-bg);
  border-color: var(--theme-hover-border);
}
.wl-panel .wl-btn--cta {
  background: var(--theme-accent);
  border-color: transparent;
  color: var(--theme-text) !important;
  font-weight: 800;
  padding: 0 1.1rem;
  height: 2.35rem;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}
.wl-panel .wl-btn--cta:hover {
  filter: brightness(1.06);
  background: var(--theme-accent);
  border-color: transparent;
}
.wl-panel .wl-btn--ghost-danger {
  background: transparent;
  border-color: transparent;
  color: color-mix(in srgb, var(--theme-accent) 85%, var(--theme-text));
  height: auto;
  padding: 0.25rem 0.35rem;
  font-size: 0.78rem;
}
.wl-panel .wl-btn--ghost-danger:hover {
  background: color-mix(in srgb, var(--theme-accent) 12%, transparent);
  color: var(--theme-accent);
}
.wl-panel .wl-btn--danger {
  background: color-mix(in srgb, var(--theme-accent) 18%, var(--theme-surface));
  border-color: color-mix(in srgb, var(--theme-accent) 42%, transparent);
  color: var(--theme-accent);
  width: 2.15rem;
  padding: 0;
  display: grid;
  place-items: center;
}
.wl-panel .wl-btn--danger:hover {
  background: color-mix(in srgb, var(--theme-accent) 28%, var(--theme-surface));
  color: var(--theme-accent);
}
.wl-panel .wl-msg {
  margin: 0;
  font-size: 0.8rem;
  color: var(--theme-muted);
}
.wl-panel .wl-empty {
  margin: 0;
}

/* Misafir geçmiş uyarısı */
.wl-guest-notice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 0.9rem;
  align-items: center;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 28%, var(--theme-border));
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--theme-accent) 14%, transparent),
      color-mix(in srgb, var(--theme-surface) 92%, transparent) 55%
    );
}
.wl-guest-notice__icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--theme-accent) 22%, transparent);
  color: var(--theme-accent);
  font-size: 1.25rem;
}
.wl-guest-notice__copy {
  min-width: 0;
}
.wl-guest-notice__copy strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}
.wl-guest-notice__copy p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--theme-muted);
}
.wl-bar--guest {
  border-bottom: 0;
  padding-bottom: 0.55rem;
  margin-bottom: 0.35rem;
  background: transparent;
  position: static;
}
.wl-bar__count {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--theme-muted);
}
@media (max-width: 640px) {
  .wl-guest-notice {
    grid-template-columns: auto 1fr;
  }
  .wl-guest-notice .wl-btn--cta {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.wl-panel .wl-rows,
.wl-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wl-panel .wl-rows.wl-rows--grid,
.wl-rows.wl-rows--grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.55rem;
}
@media (min-width: 820px) {
  .wl-panel .wl-rows.wl-rows--grid,
  .wl-rows.wl-rows--grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.wl-panel .wl-row,
.wl-row {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.8rem;
  border: 1px solid var(--theme-border);
  background: color-mix(in srgb, var(--theme-surface) 88%, transparent);
  min-width: 0;
  overflow: hidden;
}
.wl-row--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
}
.wl-row--compact.has-poster,
.wl-panel .wl-row--compact.has-poster {
  grid-template-columns: 3.15rem minmax(0, 1fr) auto;
}
.wl-panel .wl-row__poster,
.wl-row__poster {
  display: block;
  width: 3.75rem;
  min-width: 0;
  aspect-ratio: 2 / 3;
  border-radius: 0.45rem;
  overflow: hidden;
  background: var(--theme-bg);
}
.wl-row--compact .wl-row__poster,
.wl-panel .wl-row--compact .wl-row__poster {
  width: 3.15rem;
  max-width: 3.15rem;
}
.wl-panel .wl-row__poster img,
.wl-row__poster img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
}
.wl-panel .wl-row__ph,
.wl-row__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.wl-panel .wl-row__main,
.wl-row__main {
  min-width: 0;
}
.wl-panel .wl-row__title,
.wl-row__title {
  color: var(--theme-text);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-panel .wl-row__title:hover,
.wl-row__title:hover {
  color: var(--theme-accent);
}
.wl-panel .wl-row__hint,
.wl-row__hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.74rem;
  color: var(--theme-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wl-panel .wl-row__hint a,
.wl-row__hint a {
  color: var(--theme-accent);
}
.wl-panel .wl-row__side,
.wl-row__side {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

/* —— Liste özeti (modal ana ekran) —— */
.ll {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.ll.is-pending {
  opacity: 0.55;
  pointer-events: none;
}

.ll-create {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.ll-create__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ll-create__input {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  color: var(--theme-text);
  border-radius: 0.55rem;
  padding: 0 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  height: 2.35rem;
  outline: none;
}
.ll-create__input::placeholder {
  color: var(--theme-muted);
}
.ll-create__input:focus {
  border-color: color-mix(in srgb, var(--theme-text) 22%, transparent);
}
.ll-create__btn {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  border-radius: 0.55rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 750;
  padding: 0 1rem;
  height: 2.35rem;
  cursor: pointer;
  white-space: nowrap;
}
.ll-create__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.ll-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 7%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  cursor: pointer;
}
.ll-privacy__copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.ll-privacy__copy strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--theme-neutral);
}
.ll-privacy__copy small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--theme-info);
}
.ll-privacy.is-on .ll-privacy__copy small {
  color: var(--theme-accent-soft);
}
.ll-privacy__switch {
  position: relative;
  width: 2.55rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.ll-privacy__switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.ll-privacy__switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text) 12%, transparent);
  transition: background 0.18s ease;
  position: relative;
}
.ll-privacy__switch span::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--theme-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}
.ll-privacy.is-on .ll-privacy__switch span {
  background: var(--theme-info);
}
.ll-privacy.is-on .ll-privacy__switch span::after {
  transform: translateX(1.15rem);
}

.ll-toast {
  margin: 0;
  font-size: 0.78rem;
  color: var(--theme-muted);
}

.ll-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ll-card {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  overflow: hidden;
  min-height: 4.5rem;
}
.ll-card:hover {
  border-color: color-mix(in srgb, var(--theme-text) 14%, transparent);
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
}
.ll-card__main {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.ll-card__poster {
  width: 2.85rem;
  height: 4.15rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background: var(--theme-bg);
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.ll-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ll-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.ll-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  flex: 1 1 auto;
}
.ll-card__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--theme-neutral);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ll-card__text small {
  display: block;
  font-size: 0.76rem;
  color: var(--theme-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ll-dot {
  margin: 0 0.35rem;
  opacity: 0.7;
}
.ll-card__chev {
  flex-shrink: 0;
  color: var(--theme-muted);
  font-size: 1rem;
}
.ll-card:hover .ll-card__chev {
  color: var(--theme-muted);
}
.ll-card__actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0 0.55rem 0 0.15rem;
  flex-shrink: 0;
  border-left: 1px solid color-mix(in srgb, var(--theme-text) 6%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 12%, transparent);
}
.ll-card__icon {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  color: var(--theme-muted);
  text-decoration: none;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
}
.ll-card__icon:hover {
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
  color: var(--theme-text);
}
.ll-card__icon--danger:hover {
  background: color-mix(in srgb, var(--theme-accent) 18%, transparent);
  color: var(--theme-accent-soft);
}

.ll-empty {
  margin: 0.4rem 0 0;
  padding: 1.25rem 1rem;
  text-align: center;
  border-radius: 0.85rem;
  border: 1px dashed color-mix(in srgb, var(--theme-text) 10%, transparent);
  color: var(--theme-muted);
  font-size: 0.84rem;
}

/* —— Liste düzenleyici (elegant) —— */
.le {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.le.is-pending {
  opacity: 0.55;
  pointer-events: none;
}

.le-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.le-back {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--theme-muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0;
  letter-spacing: 0.01em;
}
.le-back:hover {
  color: var(--theme-text);
}
.le-top__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.le-save {
  font-size: 0.72rem;
  color: var(--theme-muted);
}
.le-open {
  font-size: 0.76rem;
  font-weight: 650;
  color: var(--theme-neutral);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.le-open:hover {
  color: var(--theme-text);
}

.le-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--theme-text) 6%, transparent), transparent 55%),
    linear-gradient(165deg, color-mix(in srgb, var(--theme-text) 4%, transparent), color-mix(in srgb, var(--theme-bg) 22%, transparent));
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.le-hero__stack {
  position: relative;
  width: 4.6rem;
  height: 4.6rem;
  flex-shrink: 0;
}
.le-hero__stack img,
.le-hero__empty {
  position: absolute;
  width: 2.85rem;
  height: 4.1rem;
  object-fit: cover;
  border-radius: 0.4rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  background: var(--theme-bg);
}
.le-hero__stack img:nth-child(1),
.le-hero__empty {
  left: 0;
  top: 0.25rem;
}
.le-hero__stack img:nth-child(2) {
  left: 0.85rem;
  top: 0.1rem;
}
.le-hero__stack img:nth-child(3) {
  left: 1.7rem;
  top: 0.35rem;
}
.le-hero__stack img:nth-child(4) {
  left: 2.45rem;
  top: 0.15rem;
}
.le-hero__body {
  min-width: 0;
}
.le-title {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--theme-muted);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.2;
  padding: 0;
  outline: none;
  border-bottom: 1px solid transparent;
}
.le-title:hover,
.le-title:focus {
  border-bottom-color: color-mix(in srgb, var(--theme-text) 14%, transparent);
}
.le-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.45rem;
  font-size: 0.74rem;
  color: var(--theme-muted);
}
.le-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-info) 12%, transparent);
  color: var(--theme-muted);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}
.le-badge.is-private {
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
  color: var(--theme-muted);
}

.le-privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 7%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  cursor: pointer;
}
.le-privacy__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.le-privacy__copy strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--theme-neutral);
}
.le-privacy__copy small {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--theme-muted);
}
.le-privacy__switch {
  position: relative;
  width: 2.55rem;
  height: 1.4rem;
  flex-shrink: 0;
}
.le-privacy__switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}
.le-privacy__switch span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text) 12%, transparent);
  transition: background 0.18s ease;
  position: relative;
}
.le-privacy__switch span::after {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--theme-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}
.le-privacy.is-on .le-privacy__switch span {
  background: var(--theme-info);
}
.le-privacy.is-on .le-privacy__switch span::after {
  transform: translateX(1.15rem);
}
.le-privacy.is-on .le-privacy__copy small {
  color: var(--theme-accent-soft);
}

.le-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.55rem;
  padding: 0 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 9%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  color: var(--theme-muted);
}
.le-search:focus-within {
  border-color: color-mix(in srgb, var(--theme-text) 20%, transparent);
  color: var(--theme-neutral);
}
.le-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--theme-text);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  height: 100%;
}
.le-search input::placeholder {
  color: var(--theme-muted);
}
.le-search em {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--theme-muted);
}
.le-hits {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  max-height: 16rem;
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: var(--theme-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.le-hits li {
  display: grid;
  grid-template-columns: 2.25rem 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.4rem 0.45rem;
  border-radius: 0.55rem;
}
.le-hits li:hover {
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
}
.le-hits__poster {
  width: 2.25rem;
  aspect-ratio: 2 / 3;
  border-radius: 0.28rem;
  overflow: hidden;
  background: var(--theme-bg);
}
.le-hits__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.le-hits__text {
  min-width: 0;
}
.le-hits__text strong {
  display: block;
  font-size: 0.82rem;
  color: var(--theme-neutral);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.le-hits__text small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: var(--theme-muted);
}
.le-hits button {
  appearance: none;
  border: 0;
  border-radius: 0.45rem;
  background: var(--theme-surface);
  color: var(--theme-text);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  height: 1.8rem;
  padding: 0 0.7rem;
  cursor: pointer;
}
.le-hits button:disabled {
  opacity: 0.4;
  cursor: default;
}

.le-toast {
  margin: 0;
  font-size: 0.78rem;
  color: var(--theme-muted);
}

.le-hint {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--theme-muted);
}
.le-hint i {
  font-size: 0.9rem;
}

.le-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.le-item {
  display: grid;
  grid-template-columns: 1.5rem 1.6rem 3rem 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem 0.4rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease,
    opacity 0.15s ease;
}
.le-item:hover {
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  border-color: color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.le-item.is-dragging {
  opacity: 0.45;
  transform: scale(0.985);
}
.le-item.is-over {
  border-color: color-mix(in srgb, var(--theme-info-soft) 45%, transparent);
  background: color-mix(in srgb, var(--theme-info-soft) 8%, transparent);
}
.le-item__grip {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--theme-muted);
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  cursor: grab;
  padding: 0;
}
.le-item:hover .le-item__grip {
  color: var(--theme-muted);
}
.le-item__grip:active {
  cursor: grabbing;
}
.le-item__idx {
  font-size: 0.68rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--theme-muted);
  letter-spacing: 0.04em;
}
.le-item__poster {
  width: 3rem;
  aspect-ratio: 2 / 3;
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--theme-bg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
.le-item__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.le-item__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.le-item__title {
  min-width: 0;
  color: var(--theme-neutral);
  text-decoration: none;
  font-weight: 680;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.le-item__title:hover {
  color: var(--theme-text);
}
.le-item__ops {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  opacity: 0.35;
  transition: opacity 0.15s ease;
}
.le-item:hover .le-item__ops {
  opacity: 1;
}
.le-item__nudge,
.le-item__remove {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--theme-muted);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 0.4rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.le-item__nudge:hover,
.le-item__remove:hover {
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
  color: var(--theme-text);
}
.le-item__nudge:disabled {
  opacity: 0.25;
  cursor: default;
}
.le-item__remove:hover {
  background: color-mix(in srgb, var(--theme-accent) 18%, transparent);
  color: var(--theme-accent-soft);
}

.le-empty {
  margin: 0.5rem 0 0;
  padding: 1.4rem 1rem;
  text-align: center;
  border-radius: 0.85rem;
  border: 1px dashed color-mix(in srgb, var(--theme-text) 10%, transparent);
  color: var(--theme-muted);
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .le-hero {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .le-item {
    grid-template-columns: 1.25rem 1.35rem 2.6rem 1fr auto;
    gap: 0.4rem;
  }
  .le-item__poster {
    width: 2.6rem;
  }
  .le-item__ops {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .wl-item {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.65rem;
  }
  .wl-item__poster {
    width: 3.25rem;
  }
  .wl-ctrl--status {
    min-width: 0;
    flex: 1;
  }
  .wl-search input {
    width: 6rem;
  }
  .wl-icon-btn span {
    display: none;
  }
}
button.prf-list-card {
  appearance: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.prf-card--muted {
  opacity: 0.85;
}

.prf-genre__layout {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}
.prf-genre__pie {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.prf-genre__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.35rem 1.1rem;
}
.prf-genre__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  max-width: 11rem;
}
.prf-genre__swatch {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.prf-genre__name {
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--aml-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 7rem;
}
.prf-genre__name:hover {
  color: var(--prf-accent);
}
.prf-genre__pct {
  font-size: 0.65rem;
  font-weight: 750;
  color: var(--prf-accent);
  background: color-mix(in srgb, var(--prf-accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--prf-accent) 22%, transparent);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.prf-lists__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}
.prf-list-card {
  position: relative;
  width: 6.4rem;
  aspect-ratio: 2 / 3;
  border-radius: 0.55rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--prf-line);
  background: var(--theme-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.prf-list-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--theme-text) 18%, transparent);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}
.prf-list-card:hover .prf-list-card__media img {
  transform: scale(1.05);
}
.prf-list-card__media {
  position: absolute;
  inset: 0;
}
.prf-list-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.prf-list-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--theme-bg) 94%, transparent), transparent 70%);
}
.prf-list-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.4rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.prf-list-card__body strong {
  font-size: 0.68rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prf-list-card__body small {
  font-size: 0.58rem;
  color: color-mix(in srgb, var(--theme-text) 70%, transparent);
}

.prf-poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
  gap: 0.75rem 0.65rem;
}
.prf-poster {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 0.55rem;
  overflow: hidden;
  background: var(--theme-bg);
  aspect-ratio: 2 / 3;
  border: 1px solid var(--prf-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.prf-poster:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--theme-text) 20%, transparent);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.prf-poster:hover img {
  transform: scale(1.06);
}
.prf-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.prf-poster__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.prf-poster__badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 750;
  padding: 0.12rem 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-bg) 70%, transparent);
  color: var(--theme-text);
  border: 1px solid color-mix(in srgb, var(--prf-accent) 40%, transparent);
}
.prf-poster__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 0.35rem 0.35rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--theme-bg) 88%, transparent), transparent);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.prf-poster__meta strong {
  font-size: 0.68rem;
  color: var(--theme-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prf-poster__meta small {
  font-size: 0.58rem;
  color: color-mix(in srgb, var(--theme-text) 70%, transparent);
}

.prf-staff__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.prf-staff__link {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 100%;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid var(--prf-line);
  text-decoration: none;
  color: inherit;
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  appearance: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.prf-staff__link:hover {
  border-color: color-mix(in srgb, var(--prf-accent) 40%, transparent);
}
.prf-staff__link.is-active {
  border-color: color-mix(in srgb, var(--prf-accent) 50%, transparent);
  background: color-mix(in srgb, var(--prf-accent) 14%, transparent);
}
.prf-main--workspace {
  min-width: 0;
}
.prf-workspace__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.prf-workspace__title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
  font-weight: 800;
}
.prf-workspace__hint {
  margin: 0;
  font-size: 0.76rem;
  color: var(--aml-mist);
}
.prf-workspace__card {
  min-height: min(72vh, 48rem);
}
.prf-workspace__card .upn-upload {
  min-height: min(64vh, 44rem);
  display: flex;
  flex-direction: column;
}
.prf-workspace__card .upn-upload > .ual-panel,
.prf-workspace__card .upn-upload > div:last-of-type {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.prf-staff__link strong {
  font-size: 0.82rem;
  color: var(--prf-accent);
}
.prf-staff__link small {
  font-size: 0.68rem;
  color: var(--aml-mist);
}

.prf-pending__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.prf-pending__item {
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid var(--prf-line);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
}
.prf-pending__body {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.prf-pending__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: var(--aml-mist);
  margin-bottom: 0.45rem;
}
.prf-pending__meta a {
  color: var(--prf-accent);
  text-decoration: none;
}
.prf-pending__actions {
  display: flex;
  gap: 0.35rem;
}
.prf-btn {
  appearance: none;
  border: 0;
  border-radius: 0.4rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 750;
  cursor: pointer;
}
.prf-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.prf-btn--ok {
  background: color-mix(in srgb, var(--theme-info) 85%, var(--theme-bg));
  color: var(--theme-text);
}
.prf-btn--danger {
  background: color-mix(in srgb, var(--theme-accent) 85%, var(--theme-bg));
  color: var(--theme-text);
}

@media (max-width: 900px) {
  .prf-grid {
    grid-template-columns: 1fr;
  }
  .prf-hero__inner {
    padding-top: 4.5rem;
  }
  .prf-avatar {
    width: 5.85rem;
    height: 5.85rem;
  }
  .prf-overview--split > .prf-genre,
  .prf-overview--split > .prf-lists {
    flex: 1 1 100%;
  }
  .prf-genre__legend {
    grid-template-columns: 1fr;
  }
}

/* Kullanıcı paneli (/user/izleme-listesi vb.) */
.upn {
  width: min(var(--aml-max), 72rem);
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}
.upn-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}
.upn-head__crumb {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: var(--aml-mist);
}
.upn-head__crumb a {
  color: var(--aml-accent);
  text-decoration: none;
}
.upn-head__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}
.upn-back {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--aml-accent);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--aml-accent) 35%, transparent);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.upn-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.upn-nav__link {
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--aml-ink);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
}
.upn-nav__link.is-active {
  color: var(--aml-accent);
  border-color: color-mix(in srgb, var(--aml-accent) 40%, transparent);
  background: color-mix(in srgb, var(--aml-accent) 12%, transparent);
}
.upn-card {
  background: color-mix(in srgb, var(--theme-bg) 85%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
}
.upn-lead {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  color: var(--aml-mist);
}
.upn-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.upn-form--stack {
  flex-direction: column;
  align-items: stretch;
}
.upn-form--stack > .upn-input,
.upn-form--stack > .upn-select,
.upn-form--stack > .upn-textarea,
.upn-form--stack > .upn-btn {
  width: 100%;
  box-sizing: border-box;
}
.upn-manual {
  max-width: 46rem;
  padding: 0.85rem 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-surface) 72%, var(--theme-bg));
}
.upn-manual__head {
  margin: 0 0 0.75rem;
}
.upn-manual__head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.02rem;
  font-weight: 800;
}
.upn-manual__head p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--theme-muted);
  line-height: 1.4;
}
.upn-manual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
}
@media (max-width: 640px) {
  .upn-manual__grid {
    grid-template-columns: 1fr;
  }
}
.upn-field {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
}
.upn-field--full {
  grid-column: 1 / -1;
}
.upn-field > span {
  font-size: 0.72rem;
  font-weight: 750;
  color: color-mix(in srgb, var(--theme-text) 78%, transparent);
}
.upn-field > span em {
  font-style: normal;
  font-weight: 600;
  opacity: 0.55;
  font-size: 0.9em;
}
.upn-field .upn-input,
.upn-field .upn-select,
.upn-field .upn-textarea {
  width: 100%;
  box-sizing: border-box;
}
.upn-manual__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
@media (max-width: 640px) {
  .upn-manual__media {
    grid-template-columns: 1fr;
  }
}
.upn-manual__media-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 35%, transparent);
}
.upn-manual__media-label {
  font-size: 0.72rem;
  font-weight: 750;
}
.upn-manual__preview {
  width: 100%;
  border-radius: 0.45rem;
  object-fit: cover;
  background: var(--theme-bg);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-manual__preview--poster {
  max-height: 11rem;
  object-fit: contain;
  background: #0a0d14;
}
.upn-manual__preview--cover {
  max-height: 7rem;
}
.upn-manual__ph {
  min-height: 6.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.45rem;
  border: 1px dashed color-mix(in srgb, var(--theme-text) 14%, transparent);
  color: var(--theme-muted);
  font-size: 0.72rem;
  background: color-mix(in srgb, var(--theme-bg) 40%, transparent);
}
.upn-manual__ph--wide {
  min-height: 4.5rem;
}
.upn-manual__actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.35rem;
  border-top: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-catalog {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  margin-bottom: 0.65rem;
}
.upn-catalog__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: color-mix(in srgb, var(--theme-muted) 70%, transparent);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.38rem 0.8rem;
  border-radius: 0.35rem;
  cursor: pointer;
}
.upn-catalog__btn.is-active {
  background: color-mix(in srgb, var(--theme-accent) 28%, transparent);
  color: var(--theme-text);
}
.ual-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.ual-add-btn--ghost {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
}
.upn-input,
.upn-select,
.upn-textarea {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--theme-surface) 88%, var(--theme-bg));
  color: inherit;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-size: 0.84rem;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--theme-text) 4%, transparent);
}
.upn-input:focus,
.upn-select:focus,
.upn-textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--theme-accent) 55%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 22%, transparent);
}
.upn-textarea {
  resize: vertical;
  min-height: 4.5rem;
  line-height: 1.45;
}
.upn-input {
  flex: 1 1 12rem;
  min-width: 0;
}
.upn-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  min-height: 2.4rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-accent);
  color: var(--theme-accent-ink);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--theme-accent) 28%, transparent);
}
.upn-btn--primary {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--theme-accent) 90%, #fff 10%),
    var(--theme-accent)
  );
  border-color: color-mix(in srgb, var(--theme-accent) 65%, #fff 10%);
}
.upn-btn:disabled {
  opacity: 0.5;
  cursor: wait;
  box-shadow: none;
}
.upn-btn--danger {
  background: var(--theme-accent);
  color: var(--theme-accent-ink);
}
.upn-msg {
  color: var(--aml-accent);
  font-size: 0.8rem;
}
.upn-empty {
  margin: 0;
  color: var(--aml-mist);
  font-size: 0.86rem;
}
.upn-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.upn-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem;
  border-radius: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-row__poster {
  flex-shrink: 0;
  width: 3rem;
  aspect-ratio: 2 / 3;
  border-radius: 0.3rem;
  overflow: hidden;
  background: var(--theme-bg);
}
.upn-row__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.upn-row__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.upn-row__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.upn-row__meta a {
  color: inherit;
  text-decoration: none;
}
.upn-row__meta strong {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upn-row__meta small {
  font-size: 0.72rem;
  color: var(--aml-mist);
}
.upn-hits {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}
.upn-hit {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  text-align: left;
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  color: inherit;
  border-radius: 0.45rem;
  padding: 0.35rem 0.45rem;
  cursor: pointer;
}
.upn-hit img {
  border-radius: 0.25rem;
  object-fit: cover;
}
.upn-hit strong {
  display: block;
  font-size: 0.84rem;
}
.upn-hit small {
  color: var(--aml-mist);
  font-size: 0.68rem;
}
.upn-selected h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}
.upn-eps {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--aml-mist);
  max-height: 14rem;
  overflow: auto;
}
.upn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.upn-tabs__btn {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 750;
  cursor: pointer;
}
.upn-tabs__btn.is-active {
  border-color: color-mix(in srgb, var(--aml-accent) 45%, transparent);
  background: color-mix(in srgb, var(--aml-accent) 14%, transparent);
  color: var(--aml-accent);
}
.upn-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 750;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-badge--ok {
  background: color-mix(in srgb, var(--theme-info) 20%, transparent);
  color: var(--theme-info);
}
.upn-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
  color: var(--aml-mist);
}
.upn-meta-block {
  margin-top: 0.75rem;
}
.upn-meta-block h4,
.upn-sub {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.82rem;
  font-weight: 800;
}
.upn-hit--row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
}
.upn-hit--row > span {
  flex: 1;
  min-width: 0;
}
.upn-selected-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}
.upn-eps--click {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}
.upn-ep-workspace {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.upn-ep-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-top: 0.35rem;
  margin-bottom: 0.45rem;
}
.upn-ep-head .upn-sub {
  margin: 0;
}
.upn-ep-mode {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0 0 0.45rem;
  padding: 0.15rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-ep-mode__btn {
  appearance: none;
  height: 1.75rem;
  padding: 0 0.7rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: color-mix(in srgb, var(--theme-muted) 75%, transparent);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}
.upn-ep-mode__btn.is-active {
  background: var(--prf-accent);
  color: var(--theme-text);
}
.upn-ep-tools {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.upn-ep-view {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.15rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-ep-view__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  height: 1.75rem;
  min-width: 1.75rem;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: color-mix(in srgb, var(--theme-muted) 70%, transparent);
  font-size: 0.72rem;
  font-weight: 650;
  cursor: pointer;
}
.upn-ep-view__btn i {
  font-size: 0.95rem;
  line-height: 1;
}
.upn-ep-view__btn.is-active {
  background: var(--prf-accent);
  color: var(--theme-text);
}
.upn-ep-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-height: 18rem;
  max-height: min(52vh, 28rem);
  overflow: auto;
  display: grid;
  gap: 0.3rem;
  align-content: start;
}
.upn-ep-list__btn {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
  text-align: left;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  color: inherit;
  border-radius: 0.45rem;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}
.upn-ep-list__btn:hover,
.upn-ep-list__btn.is-active {
  border-color: color-mix(in srgb, var(--aml-accent) 40%, transparent);
  background: color-mix(in srgb, var(--aml-accent) 10%, transparent);
}
.upn-ep-list__num {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--aml-accent);
}
.upn-ep-list__title {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upn-ep-list__meta {
  font-size: 0.68rem;
  color: var(--aml-mist);
  white-space: nowrap;
}
.upn-ep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.4rem, 1fr));
  gap: 0.45rem;
  flex: 1;
  min-height: 18rem;
  max-height: min(52vh, 28rem);
  overflow: auto;
  padding: 0.15rem 0.1rem 0.5rem;
  align-content: start;
}
.upn-ep-cell {
  appearance: none;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--theme-text) 4%, transparent);
  color: color-mix(in srgb, var(--theme-muted) 85%, transparent);
  cursor: pointer;
  padding: 0.2rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.upn-ep-cell:hover {
  border-color: color-mix(in srgb, var(--aml-accent) 45%, transparent);
  background: color-mix(in srgb, var(--aml-accent) 10%, transparent);
}
.upn-ep-cell.is-active {
  border-color: color-mix(in srgb, var(--aml-accent) 55%, transparent);
  background: color-mix(in srgb, var(--aml-accent) 16%, transparent);
  color: var(--aml-accent);
}
.upn-ep-cell.has-src {
  border-color: color-mix(in srgb, var(--theme-accent) 40%, transparent);
}
.upn-ep-cell__num {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.upn-ep-cell__dot {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--theme-accent-soft);
}
.upn-fansub {
  position: relative;
  margin-bottom: 0.65rem;
}
.upn-fansub__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--aml-mist);
  margin-bottom: 0.25rem;
}
.upn-fansub__input {
  width: 100%;
  flex: none;
}
.upn-fansub__list {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  max-height: 12rem;
  overflow: auto;
  margin: 0;
  padding: 0.25rem;
  list-style: none;
  background: var(--theme-surface);
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  border-radius: 0.5rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.45);
}
.upn-fansub__opt {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: inherit;
  border-radius: 0.35rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.82rem;
  cursor: pointer;
}
.upn-fansub__opt:hover,
.upn-fansub__opt.is-active {
  background: color-mix(in srgb, var(--prf-accent) 18%, transparent);
}
.upn-fansub__empty {
  padding: 0.45rem 0.5rem;
  font-size: 0.78rem;
  color: var(--aml-mist);
}
.upn-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--theme-bg) 25%, transparent);
  color: inherit;
  padding: 0.5rem 0.6rem;
  font: inherit;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  resize: vertical;
}
.upn-sources {
  margin-top: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.upn-upload {
  position: relative;
}
.upn-nested {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  /* parent transform/flex’ten bağımsız — body portal */
  transform: none;
  contain: layout style;
}
.upn-nested__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: var(--theme-scrim);
  cursor: pointer;
}
.upn-nested__panel {
  position: relative;
  z-index: 1;
  width: min(52rem, 96vw);
  max-height: min(88vh, 46rem);
  display: flex;
  flex-direction: column;
  background: var(--theme-surface);
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  border-radius: 0.85rem;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.upn-nested__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
}
.upn-nested__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}
.upn-nested__body {
  overflow: auto;
  padding: 0.85rem 0.9rem 1rem;
}
.upn-src-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.15rem;
}
.upn-btn--ghost {
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
  color: inherit;
}
.upn-src-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}
.upn-src-form-grid:not(:has(:nth-child(2))) {
  grid-template-columns: 1fr;
}
.upn-src-form-grid .upn-fansub {
  margin-bottom: 0;
  min-width: 0;
}
.upn-src-url-opt {
  margin: 0.25rem 0 0.5rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  border-radius: 0.45rem;
  padding: 0.35rem 0.55rem;
  background: color-mix(in srgb, var(--theme-bg) 18%, transparent);
}
.upn-src-url-opt summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--aml-mist);
}
.upn-src-url-opt__hint {
  margin: 0.35rem 0 0.35rem;
  font-size: 0.68rem;
  color: var(--aml-mist);
  word-break: break-all;
  opacity: 0.75;
}
.upn-src-url-opt .upn-textarea {
  margin-bottom: 0.15rem;
  min-height: 3.2rem;
}
.upn-src-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.upn-src-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 10%, transparent);
  background: color-mix(in srgb, var(--theme-text) 3%, transparent);
  min-width: 0;
  font-size: 0.78rem;
}
.upn-src-card.is-editing {
  border-color: color-mix(in srgb, var(--prf-accent) 55%, transparent);
  background: color-mix(in srgb, var(--prf-accent) 10%, transparent);
}
.upn-src-card__server {
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upn-src-card__fansub {
  font-size: 0.72rem;
  color: var(--aml-mist);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.upn-src-card__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}
.upn-src-card__btns .upn-btn {
  font-size: 0.7rem;
  padding: 0.28rem 0.5rem;
}
.upn-src-meta {
  color: var(--aml-mist);
  font-size: 0.68rem;
}
@media (max-width: 640px) {
  .upn-src-form-grid {
    grid-template-columns: 1fr;
  }
  .upn-src-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Live-style anime grid (upload workspace) */
.ual-panel {
  min-width: 0;
}
.ual-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin-bottom: 0.65rem;
}
.ual-search {
  position: relative;
  flex: 1 1 14rem;
  min-width: 10rem;
}
.ual-search > i {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--aml-mist);
  pointer-events: none;
}
.ual-search__input {
  width: 100%;
  height: 2.35rem;
  padding: 0 0.75rem 0 2.1rem;
  border-radius: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  box-sizing: border-box;
}
.ual-search__input:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--prf-accent) 55%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--prf-accent) 18%, transparent);
}
.ual-search__submit {
  height: 2.35rem;
  min-width: 2.35rem;
  border: none;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--prf-accent), var(--theme-accent));
  color: var(--theme-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ual-search__submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.ual-sort {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.2rem;
  border-radius: 0.55rem;
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
}
.ual-sort__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  height: 1.9rem;
  padding: 0 0.7rem;
  border-radius: 0.4rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: color-mix(in srgb, var(--theme-muted) 75%, transparent);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}
.ual-sort__btn:hover {
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.ual-sort__btn.is-active {
  background: var(--prf-accent);
  color: var(--theme-text);
}
.ual-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.9rem;
  border: none;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--prf-accent), var(--theme-accent));
  color: var(--theme-text);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.ual-count {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  color: var(--aml-mist);
}
.ual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}
.ual-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: color-mix(in srgb, var(--theme-bg) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ual-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--prf-accent) 45%, transparent);
}
.ual-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--theme-bg);
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}
.ual-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ual-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.ual-card__badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  padding: 0.12rem 0.4rem;
  border-radius: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-accent) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--theme-text) 18%, transparent);
}
.ual-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.3rem;
  padding: 0.65rem 0.65rem 0.7rem;
  min-height: 6.2rem;
}
.ual-card__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.3em * 2);
}
.ual-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.5rem;
  font-size: 0.68rem;
  color: var(--aml-mist);
}
.ual-card__actions {
  margin-top: auto;
  padding-top: 0.3rem;
}
.ual-card__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  height: 2rem;
  border-radius: 0.45rem;
  border: none;
  background: linear-gradient(135deg, var(--prf-accent), var(--theme-accent));
  color: var(--theme-text);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
.ual-card__btn:disabled {
  opacity: 0.55;
  cursor: wait;
}
.ual-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--aml-mist);
}
.ual-empty i {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
.ual-empty__btn {
  max-width: 16rem;
  margin: 0.85rem auto 0;
}
.ual-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--aml-mist);
}
}

/* —— Paylaşılabilir liste sayfası (/liste/[token]) —— */
.sl-page {
  --sl-ink: var(--theme-neutral);
  --sl-mute: var(--theme-muted);
  --sl-line: color-mix(in srgb, var(--theme-text) 8%, transparent);
  padding-bottom: 3.5rem;
}

.sl-hero {
  position: relative;
  margin: 0 0 1.75rem;
  border-radius: 0 0 1.35rem 1.35rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 80% at 10% 0%, color-mix(in srgb, var(--theme-text) 6%, transparent), transparent 55%),
    linear-gradient(180deg, var(--theme-bg) 0%, var(--theme-bg) 100%);
}
.sl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--sl-bg);
  background-size: cover;
  background-position: center top;
  filter: blur(28px) saturate(1.15);
  opacity: 0.28;
  transform: scale(1.12);
  z-index: 0;
}
.sl-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--theme-bg) 35%, transparent) 0%, color-mix(in srgb, var(--theme-bg) 88%, transparent) 70%, var(--theme-bg) 100%);
}
.sl-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 1.75rem;
}
.sl-crumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  color: var(--sl-mute);
}
.sl-crumb a {
  color: var(--theme-info);
  text-decoration: none;
  font-weight: 650;
}
.sl-crumb a:hover {
  color: var(--theme-text);
}
.sl-hero__row {
  display: flex;
  align-items: flex-end;
  gap: 1.35rem;
}
.sl-mosaic {
  position: relative;
  width: 7.5rem;
  height: 6.4rem;
  flex-shrink: 0;
}
.sl-mosaic img,
.sl-mosaic__ph {
  position: absolute;
  width: 3.4rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.45rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 14%, transparent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  background: var(--theme-bg);
}
.sl-mosaic img:nth-child(1),
.sl-mosaic__ph:nth-child(1) {
  left: 0;
  bottom: 0;
  z-index: 4;
}
.sl-mosaic img:nth-child(2),
.sl-mosaic__ph:nth-child(2) {
  left: 1.35rem;
  bottom: 0.35rem;
  z-index: 3;
}
.sl-mosaic img:nth-child(3),
.sl-mosaic__ph:nth-child(3) {
  left: 2.7rem;
  bottom: 0.1rem;
  z-index: 2;
}
.sl-mosaic img:nth-child(4),
.sl-mosaic__ph:nth-child(4) {
  left: 4rem;
  bottom: 0.45rem;
  z-index: 1;
}
.sl-hero__copy {
  min-width: 0;
  flex: 1;
}
.sl-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-muted);
}
.sl-hero__copy h1 {
  margin: 0;
  font-family: var(--aml-font-display), Outfit, system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--sl-ink);
}
.sl-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--sl-mute);
}
.sl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.sl-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 4.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 8%, transparent);
  background: color-mix(in srgb, var(--theme-bg) 28%, transparent);
}
.sl-stats strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--theme-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.sl-stats span {
  font-size: 0.68rem;
  color: var(--sl-mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 650;
}
.sl-owner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--theme-neutral);
  text-decoration: none;
  font-weight: 650;
}
.sl-owner:hover {
  color: var(--theme-text);
}
.sl-owner img,
.sl-owner__ph {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  object-fit: cover;
  background: var(--theme-surface);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 750;
  color: var(--theme-text);
}
.sl-pill {
  display: inline-flex;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme-info) 14%, transparent);
  color: var(--theme-muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.sl-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid color-mix(in srgb, var(--theme-text) 12%, transparent);
  background: color-mix(in srgb, var(--theme-text) 5%, transparent);
  color: var(--theme-neutral);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 650;
}
.sl-edit:hover {
  background: color-mix(in srgb, var(--theme-text) 10%, transparent);
  color: var(--theme-text);
}

.sl-body {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.sl-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.sl-section-head h2 {
  margin: 0;
  font-family: var(--aml-font-display), Outfit, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  color: var(--sl-ink);
}
.sl-section-head span {
  font-size: 0.76rem;
  color: var(--sl-mute);
}

.sl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.6rem, 1fr));
  gap: 1.1rem 0.85rem;
}
.sl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.sl-card__idx {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  z-index: 2;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-bg) 57%, transparent);
  backdrop-filter: blur(6px);
  padding: 0.14rem 0.38rem;
  border-radius: 0.32rem;
}
.sl-card__score {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--theme-accent-soft);
  background: color-mix(in srgb, var(--theme-bg) 57%, transparent);
  backdrop-filter: blur(6px);
  padding: 0.14rem 0.38rem;
  border-radius: 0.32rem;
  font-variant-numeric: tabular-nums;
}
.sl-card__poster {
  aspect-ratio: 2 / 3;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--theme-bg);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.38);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid color-mix(in srgb, var(--theme-text) 6%, transparent);
}
.sl-card:hover .sl-card__poster {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.5);
  border-color: color-mix(in srgb, var(--theme-text) 14%, transparent);
}
.sl-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sl-card__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--theme-surface), var(--theme-bg));
}
.sl-card__foot {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
  padding: 0 0.15rem;
}
.sl-card__foot strong {
  font-size: 0.82rem;
  font-weight: 720;
  color: var(--sl-ink);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sl-card__foot small {
  font-size: 0.7rem;
  color: var(--sl-mute);
}

.sl-comments-wrap {
  border-top: 1px solid var(--sl-line);
  padding-top: 0.5rem;
}
.sl-comments-wrap .tc {
  margin-top: 0.5rem;
}

.sl-empty {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 0.9rem;
  border: 1px dashed var(--sl-line);
  color: var(--sl-mute);
}

@media (max-width: 720px) {
  .sl-hero__row {
    flex-direction: column;
    align-items: flex-start;
  }
  .sl-grid {
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.85rem 0.6rem;
  }
  .sl-hero__inner,
  .sl-body {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}
