:root {
  --maroon: #6b0000;
  --maroon-dark: #4a0000;
  --maroon-soft: rgba(107, 0, 0, .08);
  --bg: #f1f2f4;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6b6f76;
  --line: #e3e4e8;
  --good: #1f7a3a;
  --bad: #b3261e;
  --radius: 14px;
  --match: #ffc83d;      /* benzerlik yüzdesi: sitenin imza rengi */
  --match-ink: #1c1c1e;
  --app-w: 1080px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; }

.poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: #ddd; }
.ph {
  display: grid; place-items: center; text-align: center; padding: 8px;
  background: linear-gradient(135deg, #8a1c1c, #3a0000); color: rgba(255, 255, 255, .85); font-weight: 700;
}

/* ---------- App bar ---------- */
.appbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--maroon); color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.appbar-inner {
  max-width: var(--app-w); margin: 0 auto;
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
}
.appbar h1 {
  margin: 0; font-size: 22px; font-weight: 500; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1;
}
.appbar h1.caps { text-transform: uppercase; letter-spacing: .04em; }
.icon-btn {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: none; border: 0; color: #fff; cursor: pointer;
}
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn svg { width: 26px; height: 26px; }
.appbar .brand-mini { font-weight: 900; font-size: 19px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }

.page { max-width: var(--app-w); margin: 0 auto; }

/* ---------- Home ---------- */
.home { position: relative; min-height: 100vh; overflow: hidden; display: grid; place-items: center; }
.mosaic {
  position: absolute; inset: 0; display: grid; gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); grid-auto-rows: 144px;
  filter: grayscale(.15);
}
.mosaic img, .mosaic div { width: 100%; height: 100%; object-fit: cover; }
.home::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(241, 242, 244, .35) 0%, rgba(241, 242, 244, .82) 22%, rgba(241, 242, 244, .88) 75%, var(--bg) 100%);
}
.home-inner {
  position: relative; z-index: 1; width: 100%; max-width: 560px; padding: 48px 20px 64px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.logo { margin-bottom: 64px; user-select: none; }
.logo-word {
  font-weight: 900; font-size: clamp(46px, 14vw, 128px); line-height: .9; letter-spacing: -.04em; color: #000; white-space: nowrap;
}
.logo-word .alike { color: var(--maroon); }
.logo-tag {
  margin-top: 14px; font-weight: 800; font-size: clamp(12px, 3.6vw, 18px); letter-spacing: .32em;
  text-transform: uppercase; color: #000;
}
.home-search { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.home-search input {
  width: 100%; max-width: 460px; padding: 16px 20px; border: 0; border-radius: 14px; background: #fff;
  text-align: center; font-size: clamp(19px, 5.6vw, 26px); font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.home-search input:focus { outline: 3px solid rgba(107, 0, 0, .35); }
.btn-primary {
  background: var(--maroon); color: #fff; border: 0; border-radius: 12px; padding: 14px 48px;
  font-size: 30px; font-weight: 600; cursor: pointer; box-shadow: 0 6px 16px rgba(107, 0, 0, .35);
  transition: transform .1s, background .15s;
}
.btn-primary:hover { background: var(--maroon-dark); }
.btn-primary:active { transform: scale(.97); }
.home-meta { margin-top: 40px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; }
.home-meta a { color: var(--maroon); text-decoration: none; font-weight: 600; }

/* ---------- Search results list ---------- */
.results-list { background: var(--card); }
.row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center;
  width: 100%; padding: 14px 20px; border: 0; border-bottom: 1px solid var(--line); background: none;
  text-align: left; cursor: pointer; text-decoration: none;
}
.row:hover { background: #fafafa; }
.row .poster { border-radius: 12px; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.row h3 { margin: 0; font-size: 26px; font-weight: 500; line-height: 1.15; }
.row .orig { color: var(--muted); font-size: 16px; margin-top: 2px; }
.row .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; color: var(--muted); font-size: 18px; }
.row .meta b { color: #3b3f45; font-weight: 600; }
.row .chev { color: var(--muted); }
.row .chev svg { width: 26px; height: 26px; }
.row .add-tag { font-size: 13px; font-weight: 600; color: var(--maroon); border: 1.5px solid var(--maroon); border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.list-head {
  padding: 18px 20px 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
  background: var(--bg);
}

/* ---------- Similar movies ---------- */
.banner {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center;
  padding: 16px 22px; background: var(--maroon); color: #fff; border-top: 1px solid rgba(255, 255, 255, .25);
}
.banner .poster { border-radius: 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .4); }
.banner h2 { margin: 0; font-size: 30px; font-weight: 500; line-height: 1.1; }
.banner .orig { font-size: 18px; font-weight: 500; margin-top: 6px; opacity: .92; }
.banner .yr { font-size: 16px; font-weight: 600; margin-top: 10px; opacity: .92; }
.banner .by { font-size: 14px; opacity: .75; margin-top: 2px; }

.status-line {
  text-align: center; padding: 22px 16px; font-size: 20px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--maroon); background: #fff;
}
.status-line.loading::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

.tune { background: #fff; border-bottom: 1px solid var(--line); padding: 4px 16px 14px; }
.presets { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 2px; scrollbar-width: none; }
.presets::-webkit-scrollbar { display: none; }
.presets button {
  flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px;
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
}
.presets button.on { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.presets .fine { border-style: dashed; color: var(--muted); }
.presets .fine.open { color: var(--maroon); border-color: var(--maroon); }
.sliders { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 24px; padding-top: 12px; }
.sliders[hidden] { display: none; }
.slider label { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.slider label output { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.slider input { width: 100%; accent-color: var(--maroon); }

.poster-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px;
}
@media (min-width: 760px) { .poster-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
.tile {
  position: relative; display: block; border-radius: 4px; overflow: hidden; text-decoration: none; color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28); transition: transform .15s, box-shadow .15s; background: #222;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .3); }
.tile .poster { border-radius: 0; }
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; font-size: 14px; font-weight: 500; line-height: 1.2;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}
.tile .cap small { display: block; opacity: .75; font-size: 12px; }
.tile .match {
  position: absolute; top: 8px; right: 8px; z-index: 1; display: flex; align-items: baseline; gap: 1px;
  background: var(--match); color: var(--match-ink); font-size: 13px; font-weight: 800; line-height: 1;
  border-radius: 10px; padding: 6px 9px 5px; box-shadow: 0 3px 10px rgba(0, 0, 0, .45);
}
.tile .match b { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.tile .fits {
  position: absolute; top: 46px; right: 8px; z-index: 1; background: rgba(0, 0, 0, .75); color: var(--match);
  font-size: 11px; font-weight: 700; border-radius: 99px; padding: 2px 8px;
}
.tile .rating {
  position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(0, 0, 0, .72); color: #fff;
  font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 9px;
}
.tile .voted { position: absolute; top: 6px; left: 6px; font-size: 11px; border-radius: 99px; padding: 2px 7px; color: #fff; }
.tile .voted.up { background: var(--good); }
.tile .voted.down { background: var(--bad); }
.grid-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 0 16px 28px; }
.empty { text-align: center; color: var(--muted); padding: 40px 20px; }

/* ---------- Compare ---------- */
.compare-page { min-height: calc(100vh - 68px); background: linear-gradient(180deg, #7a0a0a 0%, #5a1010 30%, #2b2224 60%, #1a1a1c 100%); color: #fff; }
.compare-wrap { max-width: 760px; margin: 0 auto; padding: 32px 20px 48px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 640px; margin: 0 auto; }
.duo a { text-decoration: none; text-align: center; }
.duo .poster { border-radius: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.duo .name { margin-top: 14px; font-size: 22px; font-weight: 500; }
.duo .yr { font-size: 14px; opacity: .7; }
.match-ring {
  --p: 0; width: 150px; height: 150px; margin: 30px auto 0; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--match) calc(var(--p) * 1%), rgba(255, 255, 255, .14) 0);
  box-shadow: 0 0 40px rgba(255, 200, 61, .25);
}
.match-ring > div {
  width: 118px; height: 118px; border-radius: 50%; background: #3a0d0d; display: grid; place-content: center; text-align: center;
}
.match-ring b { font-size: 52px; font-weight: 900; line-height: 1; color: var(--match); letter-spacing: -.03em; }
.match-ring b small { font-size: 22px; font-weight: 800; margin-left: 1px; }
.match-ring span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.why h2 { font-size: clamp(38px, 9vw, 56px); font-weight: 400; line-height: 1.1; margin: 34px 0 18px; }
.why p { font-size: 20px; line-height: 1.55; color: rgba(255, 255, 255, .72); margin: 0; }
.vote { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.vote span { font-size: 14px; opacity: .7; margin-right: 4px; }
.vote button {
  border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); color: #fff; border-radius: 99px;
  padding: 8px 18px; font-size: 15px; font-weight: 500; cursor: pointer;
}
.vote button:hover { background: rgba(255, 255, 255, .14); }
.vote button.on.good { background: var(--good); border-color: var(--good); }
.vote button.on.bad { background: var(--bad); border-color: var(--bad); }
.vote small { flex-basis: 100%; opacity: .6; font-size: 13px; }

.sheet { background: var(--card); color: var(--text); border-radius: 18px; padding: 20px; margin-top: 30px; }
.sheet h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.bars { display: grid; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 140px 1fr 34px; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.bar-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.bar { height: 7px; background: #eceef1; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--maroon); border-radius: 99px; }

.details-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.field { padding: 12px 0; border-top: 1px solid var(--line); }
.field-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.chip {
  display: inline-flex; align-items: center; gap: 2px; font-size: 13px; padding: 3px 6px 3px 11px; border-radius: 99px;
  background: #f1f2f4; border: 1px solid var(--line);
}
.chip.shared { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.chip .x { background: none; border: 0; color: inherit; opacity: 0; cursor: pointer; padding: 0 4px; font-size: 15px; line-height: 1; }
.chip:hover .x, .chip .x:focus { opacity: .7; }
.chip .x:hover { opacity: 1; }
@media (hover: none) { .chip .x { opacity: .5; } }
.add {
  font-size: 13px; padding: 3px 11px; border-radius: 99px; background: none; border: 1px dashed #b8bbc2; color: var(--muted); cursor: pointer;
}
.add:hover { border-color: var(--maroon); color: var(--maroon); }
.inline-input { font-size: 13px; padding: 3px 11px; border-radius: 99px; width: 150px; border: 1.5px solid var(--maroon); outline: 0; }
.year-fix { background: none; border: 0; padding: 0; font-size: 12px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.corr { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; margin-top: 6px; }
.corr .link { background: none; border: 0; padding: 0; color: var(--maroon); text-decoration: underline; cursor: pointer; font-size: 13px; }
.kind { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 99px; background: #f1f2f4; white-space: nowrap; }
.kind-pair_good, .kind-feature_add { color: var(--good); background: rgba(31, 122, 58, .1); }
.kind-pair_bad, .kind-feature_remove { color: var(--bad); background: rgba(179, 38, 30, .1); }
.kind-fix_year, .kind-note { color: var(--maroon); background: var(--maroon-soft); }

.note summary { cursor: pointer; color: var(--maroon); font-weight: 500; }
.note form { display: grid; gap: 10px; margin-top: 12px; }
.note select, .note textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafafa; }
.note textarea { resize: vertical; min-height: 80px; }
.note button { justify-self: start; background: var(--maroon); color: #fff; border: 0; border-radius: 10px; padding: 10px 20px; font-weight: 600; cursor: pointer; }
.next-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.next-links a { color: #fff; opacity: .85; text-decoration: none; font-weight: 500; }
.next-links a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Records ---------- */
.records-wrap { padding: 20px; }
.summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.summary div { background: var(--card); border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.summary b { display: block; font-size: 26px; color: var(--maroon); }
.summary span { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: 12px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.records { width: 100%; border-collapse: collapse; font-size: 14px; }
.records th, .records td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.records th { color: var(--muted); font-weight: 500; }
.records .comment { color: var(--muted); margin-top: 3px; white-space: pre-wrap; }
.muted { color: var(--muted); }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 50;
  background: #1c1c1e; color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 15px; max-width: calc(100% - 32px);
  transition: opacity .2s, transform .2s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: var(--bad); }

@media (max-width: 600px) {
  .appbar h1 { font-size: 20px; }
  .row { grid-template-columns: 76px 1fr auto; gap: 14px; padding: 12px 16px; }
  .row h3 { font-size: 22px; }
  .row .meta { font-size: 16px; }
  .banner { grid-template-columns: 96px 1fr; gap: 18px; padding: 14px 16px; }
  .banner h2 { font-size: 24px; }
  .status-line { font-size: 17px; }
  .poster-grid { gap: 12px; padding: 14px; }
  .tile .cap { font-size: 12px; }
  .duo { gap: 16px; }
  .duo .name { font-size: 18px; }
  .why p { font-size: 18px; }
  .bar-row { grid-template-columns: 110px 1fr 30px; }
  .details-head, .field-cols { gap: 10px; }
}

/* ---------- Ratings, favorites, tabs ---------- */
.scores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill { background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 3px 12px; font-weight: 700; font-size: 15px; }
.pill small { font-weight: 400; opacity: .8; font-size: 12px; margin-left: 2px; }
.smai-r { color: var(--maroon); font-weight: 700; margin-right: 6px; }
.actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: #fff; padding: 12px 20px; border-bottom: 1px solid var(--line);
}
.rate { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; }
.star { background: none; border: 0; cursor: pointer; font-size: 28px; line-height: 1; padding: 0 2px; color: #d4d6db; transition: transform .1s, color .1s; }
.star.on { color: #e3a008; }
.stars:hover .star { color: #e3a008; }
.stars .star:hover ~ .star { color: #d4d6db; }
.star:active { transform: scale(.88); }
.act-btns { display: flex; gap: 8px; }
.act {
  border: 1.5px solid var(--maroon); background: #fff; color: var(--maroon); border-radius: 99px; padding: 7px 16px;
  font-weight: 600; font-size: 14px; cursor: pointer;
}
.act.on { background: var(--maroon); color: #fff; }
.tabs { display: flex; background: #fff; border-bottom: 1px solid var(--line); }
.tabs button {
  flex: 1; background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 10px; font-size: 15px; font-weight: 600;
  color: var(--muted); cursor: pointer; text-transform: uppercase; letter-spacing: .06em;
}
.tabs button.on { color: var(--maroon); border-bottom-color: var(--maroon); }

/* ---------- Reviews ---------- */
#tab-reviews { padding: 20px; }
.review-form { display: grid; gap: 10px; background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.review-form input, .review-form textarea { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafafa; }
.review-form textarea { min-height: 90px; resize: vertical; }
.review-form button { justify-self: start; background: var(--maroon); color: #fff; border: 0; border-radius: 10px; padding: 10px 22px; font-weight: 600; cursor: pointer; }
.review-form .as { font-size: 14px; color: var(--muted); }
.reviews { display: grid; gap: 12px; margin-top: 18px; }
.review { background: #fff; border-radius: var(--radius); padding: 14px 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.review header { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 14px; }
.review p { margin: 8px 0 0; white-space: pre-wrap; }
.rv-stars { color: #e3a008; letter-spacing: 1px; }
.rv-stars span { color: #d4d6db; }
.link { background: none; border: 0; padding: 0; color: var(--maroon); text-decoration: underline; cursor: pointer; font-size: 13px; }
.link.danger { color: var(--bad); }

/* ---------- List picker sheet ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; }
.bottom-sheet {
  width: 100%; max-width: 520px; max-height: 80vh; overflow: auto; background: #fff; border-radius: 18px 18px 0 0;
  padding: 16px 20px 24px; animation: up .18s ease-out;
}
@media (min-width: 640px) { .overlay { align-items: center; } .bottom-sheet { border-radius: 18px; } }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.bottom-sheet header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.icon-btn.dark { color: var(--text); width: 34px; height: 34px; }
.icon-btn.dark:hover { background: #f1f2f4; }
.picker { display: grid; }
.pick-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); cursor: pointer; }
.pick-row input { width: 20px; height: 20px; accent-color: var(--maroon); }
.pick-row small { color: var(--muted); }
.new-list { display: flex; gap: 8px; margin-top: 14px; }
.new-list input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafafa; }
.new-list button { background: var(--maroon); color: #fff; border: 0; border-radius: 10px; padding: 10px 18px; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* ---------- Lists pages ---------- */
.lists-page { padding: 4px 20px 32px; }
.sec { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); margin: 24px 0 12px; font-weight: 600; }
.sec-note { margin: -6px 0 14px; font-size: 14px; }
.new-list.inline { margin: 0 0 16px; max-width: 560px; }
.list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.list-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: transform .15s; }
.list-card:hover { transform: translateY(-2px); }
.covers { display: grid; grid-template-columns: 1fr 1fr; aspect-ratio: 1; background: linear-gradient(135deg, #8a1c1c, #3a0000); }
.covers img, .covers div { width: 100%; height: 100%; object-fit: cover; }
.lc-body { padding: 10px 12px 12px; }
.lc-body b { display: block; font-weight: 600; line-height: 1.2; }
.lc-body small { color: var(--muted); }
.list-head-card { background: var(--maroon); color: #fff; padding: 20px 22px; }
.list-head-card h2 { margin: 0; font-size: 28px; font-weight: 500; }
.list-head-card p { margin: 6px 0 0; opacity: .9; }
.list-head-card .muted { color: rgba(255, 255, 255, .75); margin-top: 6px; font-size: 14px; }
.list-tools { display: flex; gap: 16px; margin-top: 10px; }
.list-head-card .link { color: #fff; }
.list-head-card .link.danger { color: #ffb4ab; }
.tile-wrap { position: relative; }
.tile-wrap .tile { height: 100%; }
.tile-x {
  position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .65); color: #fff; font-size: 13px;
}
.tile-x:hover { background: var(--bad); }

/* ---------- Compare: plots ---------- */
.plots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plots b { display: block; font-weight: 600; margin-bottom: 4px; }
.plots p { margin: 0; font-size: 15px; line-height: 1.55; color: #3b3f45; }
.plot-shared { margin-top: 14px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.plot-shared span { background: var(--maroon-soft); color: var(--maroon); border-radius: 99px; padding: 2px 10px; font-weight: 500; }
@media (max-width: 600px) {
  .plots { grid-template-columns: 1fr; gap: 14px; }
  .actions { padding: 12px 16px; }
  .star { font-size: 26px; }
}

/* ---------- Series ---------- */
.series-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0 14px; }
.series-strip h3 { margin: 0 20px 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.strip { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px 4px; scrollbar-width: thin; }
.mini { flex: none; width: 68px; text-decoration: none; text-align: center; font-size: 12px; color: var(--muted); }
.mini .poster { border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mini span { display: block; margin-top: 3px; }
.mini.here .poster { outline: 3px solid var(--maroon); outline-offset: 1px; }
.mini.here span { color: var(--maroon); font-weight: 700; }
.presets .series-toggle.on { background: #1c1c1e; border-color: #1c1c1e; color: #fff; }
.tile .series-badge {
  position: absolute; left: 6px; bottom: 44px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; border-radius: 4px; padding: 2px 6px;
}

/* ---------- TMDB attribution (required by TMDB API terms) ---------- */
.credit {
  max-width: var(--app-w); margin: 0 auto; padding: 18px 20px 28px; text-align: center;
  font-size: 12px; line-height: 1.5; color: var(--muted);
}
.credit p { margin: 8px 0 0; }
.tmdb-logo { display: inline-block; opacity: .9; }
.tmdb-logo:hover { opacity: 1; }
.tmdb-logo img { display: block; height: 14px; width: auto; }

/* ---------- Movie details ---------- */
.banner-poster { position: relative; display: block; text-decoration: none; }
.banner-poster span {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(0, 0, 0, .7); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; padding: 2px 10px;
}
.duo .yr { white-space: nowrap; }
.details-page { background: var(--bg); min-height: calc(100vh - 68px); }
.d-hero { position: relative; color: #fff; background: var(--maroon-dark); overflow: hidden; }
.d-backdrop {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: zoom-in;
  background: #1a1a1c center 25% / cover no-repeat;
}
.d-hero.has-backdrop::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(40, 0, 0, .88) 0%, rgba(50, 0, 0, .6) 38%, rgba(0, 0, 0, .15) 75%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, transparent 45%);
}
.d-hero-inner {
  position: relative; z-index: 2; max-width: var(--app-w); margin: 0 auto; padding: 40px 22px;
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; pointer-events: none;
}
.d-hero-inner a, .d-hero-inner button { pointer-events: auto; }
.d-hero.has-backdrop .d-hero-inner { min-height: 440px; }
.d-head { text-shadow: 0 2px 10px rgba(0, 0, 0, .55); max-width: 560px; }
.d-hero .poster { border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.d-head h2 { margin: 0; font-size: clamp(30px, 5vw, 46px); font-weight: 600; line-height: 1.05; }
.tagline { margin: 10px 0 0; font-style: italic; opacity: .85; font-size: 17px; }
.d-facts { margin-top: 12px; font-size: 16px; opacity: .9; }
.d-genres { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.d-genres span { border: 1px solid rgba(255, 255, 255, .45); border-radius: 99px; padding: 2px 11px; font-size: 13px; }
.d-scores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-light, .btn-ghost {
  display: inline-block; text-decoration: none; border-radius: 10px; padding: 10px 18px; font-weight: 600; font-size: 15px;
}
.btn-light { background: #fff; color: var(--maroon); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; }
.btn-light:hover, .btn-ghost:hover { filter: brightness(.95); }
.d-body { max-width: var(--app-w); margin: 0 auto; padding: 8px 22px 32px; }
.d-sec { padding: 22px 0; border-bottom: 1px solid var(--line); }
.d-sec:last-child { border-bottom: 0; }
.d-sec h3 { margin: 0 0 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.d-overview { margin: 0; font-size: 18px; line-height: 1.6; max-width: 820px; }
.d-crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 24px; }
.d-crew b { display: block; font-weight: 600; }
.d-crew span { color: var(--muted); font-size: 14px; }
.cast-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.person { flex: none; width: 120px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.person img, .person .avatar { width: 120px; height: 160px; object-fit: cover; }
.person .avatar { display: grid; place-items: center; background: linear-gradient(135deg, #8a1c1c, #3a0000); color: #fff; font-size: 28px; font-weight: 700; }
.person b { display: block; padding: 8px 10px 0; font-size: 14px; line-height: 1.2; font-weight: 600; }
.person span { display: block; padding: 2px 10px 10px; font-size: 12px; color: var(--muted); line-height: 1.25; }
.gallery { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.shot { flex: none; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #222; }
.shot img { height: 170px; width: auto; display: block; transition: transform .2s; }
.shot:hover img { transform: scale(1.03); }
.gallery.posters .shot img { height: 220px; }
.d-info { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; margin: 0; font-size: 15px; }
.d-info dt { color: var(--muted); }
.d-info dd { margin: 0; }
.companies { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 18px; }
.companies img { height: 30px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.companies span { font-size: 14px; color: var(--muted); }
.ext-links { display: flex; gap: 18px; margin-top: 18px; }
.ext-links a { color: var(--maroon); font-weight: 600; text-decoration: none; }
.ext-links a:hover { text-decoration: underline; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
@media (max-width: 700px) {
  /* Mobil: görsel üstte geniş bant, afiş onun üstüne biner */
  .d-hero.has-backdrop::before { display: none; }
  .d-backdrop { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; }
  .d-hero.has-backdrop .d-hero-inner { min-height: 0; }
  .d-hero-inner { grid-template-columns: 120px 1fr; gap: 18px; padding: 0 16px 22px; align-items: start; background: var(--maroon-dark); }
  .d-hero-inner > .poster { margin-top: -64px; }
  .d-hero:not(.has-backdrop) .d-hero-inner { padding-top: 22px; }
  .d-hero:not(.has-backdrop) .d-hero-inner > .poster { margin-top: 0; }
  .d-head { padding-top: 14px; text-shadow: none; }
  .tagline { font-size: 15px; }
  .d-body { padding: 4px 16px 28px; }
  .d-overview { font-size: 16px; }
  .shot img { height: 130px; }
  .gallery.posters .shot img { height: 170px; }
  .person { width: 104px; }
  .person img, .person .avatar { width: 104px; height: 140px; }
}

/* ---------- Person page ---------- */
a.person { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
a.person:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, .15); }
.p-hero { background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: #fff; }
.p-hero-inner {
  max-width: var(--app-w); margin: 0 auto; padding: 28px 22px;
  display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: center;
}
.p-photo { width: 170px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); }
.p-photo.avatar { display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 48px; font-weight: 700; }
.p-hero h2 { margin: 0; font-size: clamp(28px, 5vw, 42px); font-weight: 600; line-height: 1.1; }
.p-life { margin-top: 8px; opacity: .85; font-size: 15px; }
.p-count { margin-top: 14px; display: inline-block; background: rgba(255, 255, 255, .14); border-radius: 99px; padding: 3px 12px; font-size: 14px; }
.bio { margin: 0; font-size: 16px; line-height: 1.65; white-space: pre-line; max-width: 860px; }
.bio.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.known-strip { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.known-strip .tile { flex: none; width: 140px; }
.poster-grid.credits { padding: 0; }
.tile .cap .role { display: block; opacity: .8; font-size: 11px; margin-top: 2px; }
button.tile { padding: 0; border: 0; cursor: pointer; font: inherit; text-align: left; width: 100%; }
.add-tile .poster { filter: saturate(.55) brightness(.85); }
.add-tile:hover .poster { filter: none; }
.add-badge {
  position: absolute; top: 6px; right: 6px; background: #fff; color: var(--maroon); font-size: 11px; font-weight: 700;
  border-radius: 99px; padding: 2px 9px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.muted-tile { opacity: .45; cursor: default; }
.muted-tile:hover { transform: none; }
@media (max-width: 700px) {
  .p-hero-inner { grid-template-columns: 110px 1fr; gap: 18px; padding: 20px 16px; }
  .p-photo { width: 110px; }
  .known-strip .tile { width: 116px; }
}
.upcoming summary { cursor: pointer; color: var(--maroon); font-weight: 600; margin-bottom: 14px; }
.crew-link { color: var(--maroon); text-decoration: none; border-bottom: 1px dashed currentColor; }
.crew-link:hover { border-bottom-style: solid; }
.banner-link { color: #fff; text-decoration: none; border-bottom: 1px dashed rgba(255, 255, 255, .7); }
.banner-link:hover { border-bottom-style: solid; }
.banner .by:has(.banner-link) { opacity: .95; }
.chip-link { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.chip-link:hover { border-bottom-style: solid; }

/* ---------- Browse by genre ---------- */
.d-genres a { color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .45); border-radius: 99px; padding: 2px 11px; font-size: 13px; }
.d-genres a:hover { background: rgba(255, 255, 255, .15); }
.browse-page .poster-grid { padding-top: 6px; }
.more-wrap { text-align: center; padding: 6px 0 28px; }
.more-wrap .act:disabled { opacity: .5; }

@media (max-width: 600px) {
  .tile .match { top: 6px; right: 6px; padding: 5px 7px 4px; font-size: 11px; border-radius: 8px; }
  .tile .match b { font-size: 19px; }
  .tile .fits { top: 38px; right: 6px; }
  .match-ring { width: 130px; height: 130px; }
  .match-ring > div { width: 102px; height: 102px; }
  .match-ring b { font-size: 44px; }
}

/* ---------- Quick votes & stars on similar posters ---------- */
.tile-wrap.sim { position: relative; }
.tile-wrap.sim .tile .cap { padding-bottom: 34px; }
.tile-stars { position: absolute; left: 6px; bottom: 6px; z-index: 2; display: flex; justify-content: flex-start; gap: 1px; }
.tile-stars button {
  flex: none; background: none; border: 0; padding: 2px 1px; cursor: pointer; font-size: 19px; line-height: 1;
  color: rgba(255, 255, 255, .45); text-shadow: 0 1px 3px rgba(0, 0, 0, .7); transition: color .1s, transform .1s;
}
.tile-stars button.on { color: #ffc83d; }
.tile-stars:hover button { color: #ffc83d; }
.tile-stars button:hover ~ button { color: rgba(255, 255, 255, .45); }
.tile-stars button:active { transform: scale(.85); }
@media (max-width: 600px) {
  .tile-stars button { font-size: 15px; }
  .tile-wrap.sim .tile .cap { padding-bottom: 26px; }
}
@media (hover: none) { .tile-stars:hover button:not(.on) { color: rgba(255, 255, 255, .45); } }
.banner .starring { opacity: .85; }

/* ---------- Similarity lab ---------- */
.lab { padding: 8px 20px 32px; }
.lab-intro { max-width: 860px; color: #3b3f45; line-height: 1.6; }
.lab-card { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); padding: 18px 20px; margin-top: 18px; }
.lab-card header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 14px; }
.lab-card h3 { margin: 0 0 6px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); font-weight: 600; }
.lab-card .muted { font-size: 14px; margin: 0 0 12px; }
.run-form { display: flex; gap: 8px; }
.run-form input { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; background: #fafafa; min-width: 0; }
.lab-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.lab-table th, .lab-table td { text-align: right; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lab-table th:first-child, .lab-table td:first-child { text-align: left; }
.lab-table th { color: var(--muted); font-weight: 500; font-size: 13px; cursor: help; }
.delta { display: block; font-size: 11px; color: var(--muted); }
.delta.up { color: var(--good); }
.delta.down { color: var(--bad); }
.impact { display: grid; gap: 8px; }
.impact-row { display: grid; grid-template-columns: 150px 1fr 70px; gap: 12px; align-items: center; font-size: 14px; }
.impact-bar { position: relative; height: 12px; background: #f1f2f4; border-radius: 99px; }
.impact-bar::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #c9ccd2; }
.impact-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.impact-bar i.pos { left: 50%; background: var(--good); }
.impact-bar i.neg { right: 50%; background: var(--bad); }
.impact-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.pos-t { color: var(--good); }
.neg-t { color: var(--bad); }
.history { display: flex; align-items: flex-end; gap: 10px; height: 170px; overflow-x: auto; padding-top: 6px; }
.h-col { flex: none; width: 74px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; font-size: 12px; }
.h-col i { display: block; width: 36px; background: var(--match); border-radius: 6px 6px 0 0; min-height: 2px; }
.h-col small { color: var(--muted); text-align: center; line-height: 1.2; }
@media (max-width: 600px) {
  .lab { padding: 4px 14px 28px; }
  .impact-row { grid-template-columns: 96px 1fr 56px; gap: 8px; }
}

/* ---------- Compare: differences ---------- */
.diffs { margin-top: 26px; }
.diffs h3 { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #ff9b94; font-weight: 600; }
.diffs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.diffs li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .8); }
.diffs li::before {
  content: "≠"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: rgba(224, 82, 74, .75);
}

/* ---------- Similarity map ---------- */
.map-link { margin-left: 10px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--maroon); font-weight: 600; text-decoration: none; border-bottom: 1px dashed currentColor; }
.map-page { background: radial-gradient(ellipse at center, #3a0d0d 0%, #1a1a1c 70%); min-height: calc(100vh - 68px); color: #fff; }
.map-head { max-width: 860px; margin: 0 auto; padding: 18px 20px 0; font-size: 15px; color: rgba(255, 255, 255, .8); text-align: center; }
.map-svg { display: block; width: 100%; max-width: 1080px; height: auto; margin: 0 auto; }
.map-node { cursor: pointer; outline: none; }
.map-node:hover rect:first-child, .map-node:focus rect:first-child { filter: brightness(1.25); }
.map-label { fill: #fff; font-size: 12px; font-weight: 500; paint-order: stroke; stroke: rgba(0, 0, 0, .7); stroke-width: 3px; }
.map-pct { fill: #1c1c1e; font-size: 12px; font-weight: 900; }
.map-actions { display: flex; justify-content: center; gap: 10px; padding: 10px 16px 30px; flex-wrap: wrap; }

/* ---------- Discovery modes & diversity ---------- */
.presets.modes { padding-top: 8px; align-items: center; }
.modes-label { flex: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 2px; }
.presets [data-mode].on { background: #1c1c1e; border-color: #1c1c1e; color: var(--match); }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--maroon); }
.check small { color: var(--muted); }
.learned { display: flex; flex-wrap: wrap; gap: 8px; }
.learned span { background: #f1f2f4; border-radius: 99px; padding: 4px 12px; font-weight: 600; font-size: 14px; }

/* ---------- Share ---------- */
.share-btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font: inherit; font-weight: 600; }
.share-btn svg { width: 17px; height: 17px; flex: none; }
.share-btn.big {
  margin-top: 20px; padding: 11px 22px; border-radius: 99px; border: 0; font-size: 16px;
  background: var(--match); color: var(--match-ink); box-shadow: 0 6px 18px rgba(255, 200, 61, .3);
}
.share-btn.big:hover { filter: brightness(1.05); }
.share-btn.act { padding: 7px 14px; }
.share-btn.btn-ghost { background: none; padding: 10px 16px; font-size: 15px; }
.share-btn.on-dark {
  margin-top: 12px; padding: 6px 14px; border-radius: 99px; font-size: 14px;
  background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35);
}
.share-btn.on-dark:hover { background: rgba(255, 255, 255, .24); }
.share-sheet .share-preview { margin: 4px 0 14px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.share-sheet .share-preview b { color: var(--text); }
.share-sheet .share-preview span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.share-targets { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.share-target {
  display: block; text-align: center; text-decoration: none; color: #fff; font-weight: 600; border-radius: 10px; padding: 11px 10px;
}
.share-target:hover { filter: brightness(1.1); }
.st-x { background: #000; }
.st-facebook { background: #1877f2; }
.st-whatsapp { background: #25d366; }
.st-telegram { background: #229ed9; }
.st-reddit { background: #ff4500; }
.share-copy { display: flex; gap: 8px; margin-top: 14px; }
.share-copy input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafafa; font-size: 13px; }
.share-copy button { background: var(--maroon); color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.act-btns { flex-wrap: wrap; }

/* ---------- Watched ---------- */
.act.watched.on { background: var(--good); border-color: var(--good); color: #fff; }
.act.watched { border-color: var(--good); color: var(--good); }
.watched-btn { cursor: pointer; font: inherit; font-weight: 600; background: none; }
.watched-btn.on { background: var(--good); border-color: var(--good); }
.rate-sheet { text-align: center; padding: 26px 20px 22px; }
.rate-sheet .rate-check {
  width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: var(--good); color: #fff; font-size: 28px; font-weight: 800;
}
.rate-sheet b { font-size: 18px; }
.rate-sheet p { margin: 6px 0 12px; color: var(--muted); }
.big-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }
.big-stars button { background: none; border: 0; cursor: pointer; font-size: 44px; line-height: 1; color: #d4d6db; padding: 0 2px; transition: transform .1s, color .1s; }
.big-stars button.on, .big-stars:hover button { color: #ffc83d; }
.big-stars button:hover ~ button { color: #d4d6db; }
.big-stars button:active { transform: scale(.88); }

/* ---------- Where to watch ---------- */
.where-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.where-head h3 { margin: 0; }
.where-head select { border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; max-width: 60%; }
.where-row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: center; padding: 8px 0; }
.where-row > span { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.providers { display: flex; flex-wrap: wrap; gap: 10px; }
.provider { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .12s; }
.provider:hover { transform: translateY(-2px); }
.provider img { width: 50px; height: 50px; display: block; }
.justwatch { font-size: 12px; color: var(--muted); margin: 10px 0 0; }
.justwatch a { color: inherit; font-weight: 600; }
.act.where-link { text-decoration: none; display: inline-flex; align-items: center; }

/* ---------- Account & profile ---------- */
.signin-link { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 99px; padding: 5px 12px; white-space: nowrap; }
.signin-link:hover { background: rgba(255, 255, 255, .12); }
.avatar-btn {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; text-decoration: none;
  background: var(--match); color: var(--match-ink); font-weight: 800;
}
.auth-page { display: grid; place-items: start center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 4px 18px rgba(0, 0, 0, .08); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #f1f2f4; border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: none; border-radius: 9px; padding: 9px; font-weight: 600; cursor: pointer; color: var(--muted); }
.auth-tabs button.on { background: #fff; color: var(--maroon); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
#auth-form { display: grid; gap: 14px; }
#auth-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
#auth-form label small { font-weight: 400; color: var(--muted); }
#auth-form input { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fafafa; font-weight: 400; }
#auth-form input:focus { outline: 2px solid rgba(107, 0, 0, .3); }
.btn-primary.small { font-size: 18px; padding: 12px 20px; }
#auth-form .muted { margin: 0; font-size: 13px; }
.u-hero { background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%); color: #fff; }
.u-hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px 22px; }
.u-avatar { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--match); color: var(--match-ink); font-size: 44px; font-weight: 900; }
.u-hero h2 { margin: 0; font-size: 30px; font-weight: 600; }
.u-handle { opacity: .8; margin-top: 2px; }
.u-stats { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 15px; }
.u-stats b { font-size: 18px; }
.u-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rated-tile { flex: none; width: 140px; }
.rated-tile .rv-stars { font-size: 13px; }
.u-review { display: grid; grid-template-columns: 54px 1fr; gap: 14px; }
.u-review .poster { width: 54px; border-radius: 6px; }
.u-review header a { color: inherit; text-decoration: none; }
.author { color: var(--maroon); text-decoration: none; }
.owner-link { color: inherit; }
@media (max-width: 600px) {
  .u-hero { grid-template-columns: 1fr; text-align: left; }
  .u-avatar { width: 70px; height: 70px; font-size: 34px; }
  .signin-link { padding: 4px 9px; font-size: 13px; }
}

/* ---------- Login prompt, free comparisons, paywall ---------- */
.login-sheet p { color: var(--muted); margin: 6px 0 16px; line-height: 1.5; }
.login-sheet-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.login-sheet-btns .btn-primary { text-decoration: none; }
.login-sheet-btns .act { text-decoration: none; }
.signin-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.free-banner {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  background: rgba(255, 200, 61, .14); border: 1px solid rgba(255, 200, 61, .5); border-radius: 12px;
  padding: 10px 14px; margin-bottom: 22px; font-size: 14px;
}
.free-banner b { color: var(--match); font-size: 18px; }
.free-banner a { color: var(--match); font-weight: 700; text-decoration: none; }
.free-banner a:hover { text-decoration: underline; }
.paywall { text-align: center; padding: 30px 10px 50px; }
.paywall h2 { font-size: clamp(30px, 7vw, 44px); font-weight: 500; margin: 26px 0 10px; }
.paywall p { font-size: 18px; color: rgba(255, 255, 255, .8); max-width: 520px; margin: 0 auto 10px; line-height: 1.5; }
.paywall .muted-light { font-size: 15px; color: rgba(255, 255, 255, .6); }
.paywall-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.paywall-btns a { text-decoration: none; }

/* ---------- Password reset ---------- */
.forgot-link { justify-self: center; color: var(--maroon); font-size: 14px; font-weight: 600; text-decoration: none; }
.forgot-link:hover { text-decoration: underline; }
.auth-title { margin: 0 0 14px; font-size: 22px; font-weight: 600; }
#forgot-form, #reset-form { display: grid; gap: 14px; }
#forgot-form label, #reset-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
#forgot-form input, #reset-form input { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: #fafafa; font-weight: 400; }
#forgot-form .muted, #reset-form .muted, .auth-card > .muted { margin: 0; font-size: 14px; line-height: 1.5; }
.auth-card > .forgot-link { display: block; text-align: center; margin-top: 16px; }

/* ---------- Google sign-in ---------- */
.google-btn {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
  border: 1px solid #dadce0; border-radius: 10px; padding: 11px 16px; background: #fff; color: #3c4043;
  font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s, box-shadow .15s;
}
.google-btn:hover { background: #f8f9fa; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.google-btn svg { width: 20px; height: 20px; flex: none; }
.google-btn.sheet { margin-top: 12px; }
.google-btn.paywall-google { max-width: 320px; margin: 16px auto 0; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; border-radius: 99px; overflow: hidden; flex: none; }
.lang-switch button { border: 0; background: none; cursor: pointer; font-size: 12px; font-weight: 700; padding: 4px 8px; letter-spacing: .04em; }
.lang-switch.ls-bar { border: 1.5px solid rgba(255, 255, 255, .5); }
.lang-switch.ls-bar button { color: rgba(255, 255, 255, .75); }
.lang-switch.ls-bar button.on { background: #fff; color: var(--maroon); }
.lang-switch.ls-home { border: 1.5px solid var(--line); vertical-align: middle; }
.lang-switch.ls-home button { color: var(--muted); }
.lang-switch.ls-home button.on { background: var(--maroon); color: #fff; }
@media (max-width: 600px) { .lang-switch.ls-bar button { padding: 3px 6px; font-size: 11px; } }

/* ---------- 18+ ---------- */
.tile { position: relative; }
.adult-badge {
  position: absolute; left: 6px; top: 6px; z-index: 2; background: #b3261e; color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 4px; padding: 2px 5px; letter-spacing: .04em; box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.adult-inline { display: inline-block; vertical-align: middle; background: #b3261e; color: #fff; font-size: 13px; font-weight: 800; border-radius: 5px; padding: 1px 7px; }
.adult-gate .gate-18 {
  width: 110px; height: 110px; margin: 10px auto 0; border-radius: 50%; display: grid; place-items: center;
  border: 6px solid #b3261e; color: #b3261e; font-size: 38px; font-weight: 900;
}
.details-page .adult-gate, .page .adult-gate { color: var(--text, #1c1c1e); max-width: 460px; margin: 40px auto; }
.details-page .adult-gate p, .page .adult-gate p { color: #555; }
.details-page .adult-gate .btn-ghost, .page .adult-gate .btn-ghost { color: #1c1c1e; border-color: #1c1c1e; }

/* ---------- Destek kutusu (Kreosus) ---------- */
.support-box {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  background: linear-gradient(135deg, #6b0000, #3d0000); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 201, 60, .35);
}
.support-box .support-cup {
  flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 24px;
  background: var(--match, #ffc93c);
}
.support-box .support-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.support-box .support-text b { font-size: 15px; }
.support-box .support-text span { font-size: 13px; color: rgba(255, 255, 255, .8); line-height: 1.4; }
.support-box .support-btns { flex: none; display: grid; gap: 4px; justify-items: center; }
.support-box .support-go {
  background: var(--match, #ffc93c); color: #1c1c1e; font-weight: 800; font-size: 13px; text-decoration: none;
  border-radius: 99px; padding: 9px 16px; white-space: nowrap;
}
.support-box .support-go:hover { filter: brightness(1.05); }
.support-box .link { color: rgba(255, 255, 255, .7); font-size: 12px; background: none; border: 0; cursor: pointer; }
.support-box.profile { margin: 18px 0 4px; }
.support-box.strip { margin: 22px auto 0; max-width: 720px; }
.support-box.float {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; width: min(560px, calc(100% - 32px));
  animation: support-in .35s ease-out;
}
@keyframes support-in { from { opacity: 0; transform: translate(-50%, 20px); } }
@media (max-width: 560px) {
  .support-box { flex-wrap: wrap; }
  .support-box .support-btns { width: 100%; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}
.appbar .brand-mini span { color: var(--match, #ffc93c); }
@media (max-width: 440px) {
  .appbar .brand-mini { font-size: 14px; }
}
@media (max-width: 360px) {
  .appbar .brand-mini { display: none; }
}
