@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}img{max-width:100%}
/* Görünüm: beyaz zemin, beyaz kartlar hafif gölgeyle öne çıkar. Yerleşim: üstte plaka biçimli arama; altında duruma göre ana sayfa (kasa kutuları + örnek eşleşme), sonuç kartları ya da model sayfası. Tek sütun, sola yaslı. */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --ink: #111824; --muted: #566174; --faint: #8791A3; --line: #DFE3EA;
  --edge: rgba(17, 24, 36, .07); --shadow: 0 1px 2px rgba(17, 24, 36, .05), 0 8px 24px rgba(17, 24, 36, .08); --shadow-up: 0 2px 4px rgba(17, 24, 36, .06), 0 14px 34px rgba(17, 24, 36, .13);
  --plate: #0A3D9E; --on-plate: #FFFFFF; --accent: #0A3D9E; --accent-soft: #E4EBFA; --row: #EEF2F8;
  --warn-bg: #FFF3D1; --warn-ink: #5F4500; --good: #0B6B4F; --good-bg: #DDF3EA;
  --accent-dark: #082F7C;
  --display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "Manrope", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; }
button, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1080px; margin-inline: auto; padding-inline: 20px; padding-block: 20px 64px; display: flex; flex-direction: column; gap: 26px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.bar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; text-decoration: none; border: 0; background: none; padding: 0; cursor: pointer; }
.logo i { font-style: normal; color: var(--accent); }
.stamp { font-family: var(--mono); font-size: 12px; color: var(--muted); }

.hero { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.hero p { color: var(--muted); max-width: 60ch; font-size: 16px; }

/* Arama */
.search { display: flex; flex-direction: column; gap: 10px; max-width: 760px; position: relative; }
.box { background: var(--surface); border: 2px solid var(--ink); border-radius: 10px; position: relative; box-shadow: var(--shadow); }
.box:focus-within { border-color: var(--accent); }
.plate { display: flex; align-items: stretch; }
.band { flex: none; width: 46px; background: var(--plate); color: var(--on-plate); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .06em; border-radius: 7px 0 0 7px; }
.band svg { width: 18px; height: 18px; }
.field { position: relative; flex: 1; min-width: 0; }
.field input, .ghost { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; padding: 13px 14px; width: 100%; }
.field input { position: relative; border: 0; outline: 0; background: transparent; color: var(--ink); }
.field input::placeholder { color: var(--faint); font-weight: 500; }
.ghost { position: absolute; inset: 0; white-space: pre; overflow: hidden; pointer-events: none; color: var(--faint); }
.ghost .inv { visibility: hidden; }
.side { flex: none; display: flex; align-items: center; gap: 8px; padding-right: 10px; }
kbd { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--surface); color: var(--muted); }
.clear { border: 0; background: transparent; color: var(--muted); width: 32px; height: 32px; border-radius: 6px; font-size: 20px; line-height: 1; cursor: pointer; }
.clear:hover { background: var(--row); color: var(--ink); }
.drop { position: absolute; left: -2px; right: -2px; top: calc(100% + 4px); z-index: 20; list-style: none; margin: 0; padding: 4px 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(10, 20, 40, .18); }
.drop li { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 8px 14px; cursor: pointer; flex-wrap: wrap; }
.drop li:hover, .drop li[aria-selected="true"] { background: var(--row); }
.drop .nm { font-weight: 600; }
.drop .sb { font-family: var(--mono); font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.drop .all { color: var(--accent); font-size: 13.5px; border-top: 1px solid var(--line); }
.try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 3px 10px; cursor: pointer; font-family: var(--mono); font-size: 12px; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* Ortak parçalar */
.car { display: block; width: 100%; height: auto; color: var(--ink); }
.car .fill { fill: var(--accent-soft); }
.car .cut { fill: var(--surface); }
/* Araç görseli çerçevesi: fotoğraf varsa kutuyu doldurur, yoksa siluet aynı kutunun ortasında durur; kartlar eşit boyda kalır */
.frame { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--row); overflow: hidden; }
.frame .photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame .car { width: 66%; }
.rival .frame { border-radius: 6px; }
.rival .frame .car { width: 84%; }
.mhead .frame { max-width: 440px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.legal a { color: var(--accent); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.credit { font-size: 12px; line-height: 1.45; color: var(--faint); max-width: 440px; }
.credit a { color: inherit; }
/* Kartlarda fotoğrafçı adı: fotoğrafın köşesinde, sitenin yazı tipiyle */
.frame { position: relative; }
.frame .by { position: absolute; left: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 1px 6px; border-radius: 4px; background: rgba(17, 24, 36, .58); color: #fff; font-size: 10.5px; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Görsel kaynakları sayfası */
.doc.wide { max-width: none; }
.doc.wide > p { max-width: 72ch; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px 16px; }
.photos figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--row); }
.photos figcaption { display: flex; flex-direction: column; gap: 1px; font-size: 12px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.photos .n { font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }
.photos a.n:hover { color: var(--accent); }
.report { font-size: 13.5px; color: var(--muted); }
.report a { color: var(--accent); }
.doc { display: flex; flex-direction: column; gap: 14px; max-width: 72ch; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.15; letter-spacing: -.025em; }
.doc h2 { margin-top: 10px; }
.doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc a { color: var(--accent); }
a.logo { color: inherit; }
.hero h2 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
.pre { display: flex; flex-direction: column; gap: 14px; }
.pre h1 { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -.025em; }
.pre ul { margin: 0; padding-left: 20px; }
.eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h2 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; }
.sub { color: var(--muted); font-size: 14px; }
.section { display: flex; flex-direction: column; gap: 14px; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag.fuel-e { border-color: transparent; background: var(--good-bg); color: var(--good); }
.tag.warn { border-color: transparent; background: var(--warn-bg); color: var(--warn-ink); }
.tag.direct { border-color: transparent; background: var(--accent); color: var(--bg); font-weight: 600; }
.price { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-family: var(--body); font-weight: 400; font-size: 12px; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--accent); background: var(--accent); color: var(--on-plate); border-radius: 7px; padding: 7px 13px; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.ghostbtn { background: var(--surface); color: var(--accent); border-color: var(--accent); font-weight: 600; }
.btn.ghostbtn:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-dark); }

/* Kasa kutuları */
.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 10px; padding: 12px 14px 12px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile:hover { box-shadow: var(--shadow-up); transform: translateY(-1px); }
.tile .car { max-width: 150px; }
.tile b { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.tile span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Model kartı */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 12px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card .pic { position: relative; }
.card .pic .tag { position: absolute; top: 8px; right: 8px; background: var(--surface); }
.card .ttl { display: flex; flex-direction: column; gap: 1px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; font-size: 13.5px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.card .foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.card .acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seller { font-size: 12.5px; color: var(--muted); }

/* Sonuç başlığı */
.rhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.rhead .left { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; min-width: 0; }
.pill { font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); white-space: nowrap; }
.pill span { color: var(--muted); }
.note { padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; }
select { border: 1px solid var(--line); background: var(--surface); border-radius: 7px; padding: 6px 10px; font-size: 14px; }
.related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }

/* Eşleşme: model + rakipleri */
.match { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
.rivals { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rivals > h3 { font-family: var(--display); font-weight: 700; font-size: 17px; }
.rival { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 10px; padding: 10px 14px; text-decoration: none; }
.rival:hover { box-shadow: var(--shadow-up); transform: translateY(-1px); }
.rival .who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rival .who b { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; line-height: 1.15; overflow-wrap: anywhere; }
.rival .who .ver { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.rival .num { text-align: right; display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.rival .price { font-size: 17px; }
.delta { font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
/* Reklam yeri: sabit yükseklik, sayfa yüklenirken zıplamasın */
.ad { grid-column: 1 / -1; width: 100%; max-width: 728px; min-height: 90px; margin-inline: auto; border: 1px dashed var(--line); border-radius: 10px; background: var(--row); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 13px; text-align: center; padding: 8px 12px; }
.ad span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.empty { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; }

/* Model sayfası */
.back { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--accent); cursor: pointer; font-size: 14px; }
.back:hover { text-decoration: underline; }
.mhead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: 20px; align-items: start; }
.mhead .id { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mhead h1 { font-family: var(--display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.sellerbox { background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.sellerbox b { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--edge); box-shadow: var(--shadow); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--row); }
tbody tr[aria-selected="true"] { background: var(--accent-soft); }
td.r, th.r { text-align: right; }
td .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--faint); vertical-align: -1px; margin-right: 8px; }
tr[aria-selected="true"] .dot { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
td.v { font-weight: 600; white-space: normal; min-width: 160px; }

footer { border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 13px; display: flex; flex-direction: column; gap: 6px; max-width: 78ch; }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .match, .mhead { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; gap: 22px; }
  .hero h1, .hero h2, .mhead h1, .pre h1 { font-size: 28px; }
  .field input, .ghost { font-size: 18px; padding: 12px 10px; }
  .band { width: 38px; }
  .side kbd { display: none; }
  .rival { grid-template-columns: 76px minmax(0, 1fr); }
  .rival .num { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .tile, .card h3 a, .rival, .chip, .btn { transition: border-color .12s, color .12s, background-color .12s, box-shadow .15s, transform .15s; }
}
