/* Takasla — tasarım sistemi
   Konsept: posta pulu ve uçak postası. İlanlar delikli kenarlı pullardır, yurt dışı
   gönderiler kırmızı-mavi uçak postası şeridiyle, tamamlanan takaslar posta damgasıyla
   işaretlenir. Renkler: pul kırmızısı, uçak postası mavisi, koli bandı sarısı. */

:root {
  --ground: #eef3fc;
  --surface: #ffffff;
  --surface-2: #f5f8fe;
  --surface-3: #e7eefb;
  --ink: #16213d;
  --ink-2: #48577a;
  --ink-3: #6d7a99;
  --line: #d9e1f1;
  --accent: #ff5a36;      /* dekor: pul kırmızısı */
  --primary: #d2401b;     /* düğme ve bağlantı (beyazla AA) */
  --primary-soft: #ffe6de;
  --blue: #2d5bff;
  --blue-soft: #e2e9ff;
  --blue-ink: #1f45d6;
  --sun: #ffc23c;
  --sun-soft: #fff1cc;
  --sun-ink: #6b4700;
  --mint: #16b889;
  --mint-soft: #d8f6ea;
  --mint-ink: #0a6e51;
  --danger: #c8233f;
  --primary-ink: var(--primary); /* kırmızı yazı (koyu temada açılır) */
  --danger-ink: var(--danger);
  --danger-soft: #fde2e7;
  --warn-soft: #fff0d6;
  --warn-ink: #7a4a00;
  --shadow-sm: 0 1px 2px rgba(22, 33, 61, 0.08);
  --shadow: 0 1px 0 rgba(22, 33, 61, 0.05), 0 10px 28px -14px rgba(22, 33, 61, 0.35);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Twemoji', 'Baloo 2', 'Baloo Bhaijaan 2', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: 'Twemoji', 'Nunito', 'Baloo Bhaijaan 2', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Twemoji', ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --airmail: repeating-linear-gradient(135deg, var(--accent) 0 10px, transparent 10px 16px, var(--blue) 16px 26px, transparent 26px 32px);
  --rail: 232px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --primary-ink: #ff8f70;
    --danger-ink: #ff7b93;
    --ground: #0d1327;
    --surface: #151e37;
    --surface-2: #1a2542;
    --surface-3: #22305a;
    --ink: #edf1ff;
    --ink-2: #b1bcd9;
    --ink-3: #8491b2;
    --line: #293761;
    --accent: #ff6b4a;
    --primary-soft: #43231d;
    --blue-soft: #1e2b5c;
    --blue-ink: #9fb6ff;
    --sun-soft: #3d3216;
    --sun-ink: #ffd76e;
    --mint-soft: #123b33;
    --mint-ink: #6fe6bd;
    --danger-soft: #45202a;
    --warn-soft: #3b2c12;
    --warn-ink: #ffcf7a;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 12px 30px -14px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --primary-ink: #ff8f70;
  --danger-ink: #ff7b93;
  --ground: #0d1327;
  --surface: #151e37;
  --surface-2: #1a2542;
  --surface-3: #22305a;
  --ink: #edf1ff;
  --ink-2: #b1bcd9;
  --ink-3: #8491b2;
  --line: #293761;
  --accent: #ff6b4a;
  --primary-soft: #43231d;
  --blue-soft: #1e2b5c;
  --blue-ink: #9fb6ff;
  --sun-soft: #3d3216;
  --sun-ink: #ffd76e;
  --mint-soft: #123b33;
  --mint-ink: #6fe6bd;
  --danger-soft: #45202a;
  --warn-soft: #3b2c12;
  --warn-ink: #ffcf7a;
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.3), 0 12px 30px -14px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.5 var(--font-body);
  font-feature-settings: 'kern';
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
#view:focus-visible { outline: none; } /* sayfa değişince ekran okuyucu için odak buraya taşınır; kap bir denetim değildir */

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.4rem); font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ iskelet */

.shell { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.topbar .spacer { flex: 1; }
.topsearch { flex: 1; max-width: 520px; display: none; }
.topbar .iconbtn { position: relative; }
.dot-count {
  position: absolute; inset-block-start: 2px; inset-inline-end: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--accent); color: #fff; font: 800 0.7rem/18px var(--font-body); text-align: center;
  box-shadow: 0 0 0 2px var(--ground);
}
.main { padding-inline: 16px; padding-block: 18px 110px; width: 100%; max-width: 1180px; margin-inline: auto; min-width: 0; }

.bottomnav {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -18px rgba(22, 33, 61, 0.45);
}
.navlink {
  display: grid; justify-items: center; gap: 2px; padding: 6px 2px; min-height: 48px;
  color: var(--ink-3); text-decoration: none; font-size: 0.72rem; font-weight: 800; border-radius: 12px;
}
.navlink[aria-current='page'] { color: var(--primary); }
.navlink[aria-current='page'] svg { transform: translateY(-1px); }
.navlink.plus { color: #fff; }
.navlink.plus .plus-disc {
  width: 54px; height: 54px; margin-top: -22px; display: grid; place-items: center; border-radius: 18px;
  background: var(--primary); box-shadow: 0 8px 20px -8px var(--primary); transform: rotate(-6deg);
}
.navlink.plus span { color: var(--ink-2); }
.rail { display: none; }

@media (min-width: 900px) {
  .shell { grid-template-columns: var(--rail) 1fr; }
  .rail {
    display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh;
    padding: 18px 14px; border-inline-end: 1px solid var(--line); background: var(--surface);
  }
  .rail .brand { padding: 4px 8px 18px; }
  .rail .navlink { grid-template-columns: 26px 1fr; justify-items: start; align-items: center; gap: 10px; padding: 10px 12px; font-size: 0.95rem; min-height: 44px; }
  .rail .navlink:hover { background: var(--surface-2); }
  .rail .navlink[aria-current='page'] { background: var(--primary-soft); }
  .rail .newbtn { margin-block: 10px; }
  .rail .rail-foot { margin-top: auto; display: grid; gap: 6px; font-size: 0.8rem; }
  .bottomnav { display: none; }
  .topbar .brand { display: none; }
  .topsearch { display: block; }
  .main { padding-block: 22px 60px; padding-inline: 28px; }
}

.demo-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 16px;
  background: var(--sun-soft); color: var(--sun-ink); font-size: 0.85rem; font-weight: 700;
  border-bottom: 1px solid color-mix(in srgb, var(--sun) 50%, var(--line));
}
.demo-banner .linklike { color: inherit; }

/* ------------------------------------------------------------------ düğmeler ve girişler */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 800; font-size: 0.95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--surface-3); color: var(--ink);
  transition: transform 0.12s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 8px 18px -10px var(--primary); }
.btn.blue { background: var(--blue); color: #fff; box-shadow: 0 8px 18px -10px var(--blue); }
.btn.ghost { background: transparent; border-color: var(--line); }
.btn.ghost:hover { background: var(--surface-2); }
.btn.danger { background: var(--danger-soft); color: var(--danger-ink); }
.btn.sm { min-height: 36px; padding: 0 13px; font-size: 0.85rem; }
.btn.lg { min-height: 52px; padding: 0 26px; font-size: 1.05rem; }
.btn.block { width: 100%; }
.iconbtn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  border: 0; background: transparent; color: var(--ink-2); cursor: pointer; text-decoration: none;
}
.iconbtn:hover { background: var(--surface-3); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; color: var(--blue-ink); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.field { display: grid; gap: 6px; align-content: start; }
.field > label, .label { font-weight: 800; font-size: 0.9rem; }
.hint { font-size: 0.82rem; color: var(--ink-3); }
.input, select.input, textarea.input {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
}
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.input[aria-invalid='true'] { border-color: var(--danger); }
.inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline > .grow { flex: 1; min-width: 140px; }
.row2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: start; }
.check { display: flex; gap: 10px; align-items: center; min-block-size: 44px; cursor: pointer; font-size: 0.93rem; }
/* Tek satırlık onay/anahtar satırı da en az 44 px dokunma hedefi; alt açıklamalı satırda kutu ilk satırla hizalı. */
.check:has(br, .small, .hint, p) { align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--primary); flex: none; }
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-wrap .input { padding-inline-start: 44px; border-radius: 999px; }

.seg { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface-3); border-radius: 999px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 0.86rem; color: var(--ink-2); cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 13px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: 0.86rem;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.chip[aria-pressed='true'], .chip.on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chip .em { font-size: 1.05rem; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-weight: 800; font-size: 0.76rem; white-space: nowrap; background: var(--surface-3); color: var(--ink-2); }
.pill.red { background: var(--primary-soft); color: var(--primary-ink); }
.pill.blue { background: var(--blue-soft); color: var(--blue-ink); }
.pill.sun { background: var(--sun-soft); color: var(--sun-ink); }
.pill.mint { background: var(--mint-soft); color: var(--mint-ink); }
.pill.danger { background: var(--danger-soft); color: var(--danger-ink); }
.pill.airmail { background: var(--surface); color: var(--ink); border: 2px solid transparent; background-image: linear-gradient(var(--surface), var(--surface)), var(--airmail); background-origin: border-box; background-clip: padding-box, border-box; }

/* ------------------------------------------------------------------ yüzeyler */

.card { background: var(--surface); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; border: 1.5px solid var(--line); }
.card.tint { background: var(--surface-2); box-shadow: none; }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.stack.lg { gap: 22px; }
.stack.sm { gap: 8px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-block: 26px 12px; flex-wrap: wrap; }
.divider { height: 1px; background: var(--line); border: 0; margin: 4px 0; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--blue-soft); color: var(--ink); font-size: 0.92rem; }
.notice svg { flex: none; margin-top: 2px; color: var(--blue-ink); }
.notice.warn { background: var(--warn-soft); }
.notice.warn svg { color: var(--warn-ink); }
.notice.danger { background: var(--danger-soft); }
.notice.danger svg { color: var(--danger); }
.notice.ok { background: var(--mint-soft); }
.notice.ok svg { color: var(--mint-ink); }
.airmail-edge { position: relative; overflow: hidden; }
.airmail-edge::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 7px; background: var(--airmail); }

/* ------------------------------------------------------------------ pul kartı */

.grid-listings { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(150px, calc(50% - 6px)), 1fr)); }
@media (min-width: 700px) { .grid-listings { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; } }
.stamp-wrap { filter: drop-shadow(0 6px 10px rgba(22, 33, 61, 0.14)); transition: transform 0.18s ease; }
.stamp-wrap:hover { transform: rotate(-1.2deg) translateY(-3px); }
.stamp {
  position: relative; display: grid; padding: 7px; background: var(--surface); color: inherit; text-decoration: none;
  --r: 5px; --s: 12px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle var(--r), #0000 96%, #000) calc(var(--s) / -2) calc(var(--s) / -2) / var(--s) var(--s);
  mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle var(--r), #0000 96%, #000) calc(var(--s) / -2) calc(var(--s) / -2) / var(--s) var(--s);
}
.stamp-in { display: grid; background: var(--surface); border: 1.5px solid var(--line); border-radius: 4px; overflow: hidden; }
.art { position: relative; aspect-ratio: 1 / 1; max-width: 100%; display: grid; place-items: center; overflow: hidden; background: var(--c, #ffd23f); }
.art img { width: 100%; height: 100%; object-fit: cover; }
.art .em { font-size: 3.4rem; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.18)); transform: rotate(-8deg); }
.art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, 0.45), transparent 55%); pointer-events: none; }
.art .denom {
  position: absolute; inset-block-end: 8px; inset-inline-end: 8px; z-index: 1; padding: 2px 9px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.92); color: #16213d; font: 800 0.86rem/1.4 var(--font-display); font-variant-numeric: tabular-nums;
}
.art .flags { position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 1; display: flex; gap: 4px; }
.art .flags span { padding: 1px 7px; border-radius: 8px; background: rgba(255, 255, 255, 0.92); color: #16213d; font-size: 0.72rem; font-weight: 800; }
.stamp-body { display: grid; gap: 6px; padding: 10px 10px 12px; }
.stamp-title { font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.stamp-meta { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-3); min-width: 0; }
.stamp-meta .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.likebtn {
  position: absolute; z-index: 2; inset-block-start: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 12px; border: 0;
  display: grid; place-items: center; background: rgba(255, 255, 255, 0.94); color: #16213d; cursor: pointer; box-shadow: var(--shadow-sm);
}
.likebtn[aria-pressed='true'] { color: #e0243d; }
.likebtn.pop { animation: pop 0.45s ease; }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-10deg); } 100% { transform: scale(1); } }
.stamp.selectable { cursor: pointer; }
.stamp-wrap.selected .stamp-in { border-color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.stamp-wrap.selected::after {
  content: '✓'; position: absolute; top: 2px; inset-inline-end: 2px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; z-index: 3;
}
.stamp-wrap { position: relative; }
.stamp-wrap.dim { opacity: 0.45; filter: grayscale(0.5); }
.mini-stamp { display: inline-grid; width: 54px; flex: none; }
.mini-stamp .stamp { padding: 4px; --r: 3px; --s: 8px; }
.mini-stamp .art .em { font-size: 1.6rem; }

/* ------------------------------------------------------------------ keşfet */

.hero { display: grid; gap: 16px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.hero h1 { max-width: 20ch; }
.hero .search-wrap .input { min-height: 54px; font-size: 1.02rem; }
.circle-callout {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: var(--sun-soft); border: 1.5px dashed color-mix(in srgb, var(--sun) 70%, var(--line));
}
.circle-callout strong { font-family: var(--font-display); font-size: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters select.input { width: auto; min-height: 40px; padding-block: 6px; border-radius: 999px; }

/* ------------------------------------------------------------------ ilan detayı */

.detail { display: grid; gap: 22px; }
@media (min-width: 900px) { .detail { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; } }
.gallery { display: grid; gap: 10px; }
.gallery .main-art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.gallery .main-art .art { aspect-ratio: 4 / 3; }
.gallery .main-art .art .em { font-size: 6rem; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; }
.thumbs button { width: 64px; height: 64px; flex: none; padding: 0; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--surface-2); }
.thumbs button[aria-pressed='true'] { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.value-big { font: 800 2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 0.92rem; }
.kv dt { color: var(--ink-3); font-weight: 700; }
.kv dd { margin: 0; }
.defects { border-inline-start: 4px solid var(--sun); background: var(--sun-soft); padding: 10px 14px; border-radius: 0 12px 12px 0; }
.owner-card { display: flex; gap: 14px; align-items: center; }

/* ------------------------------------------------------------------ avatar, güven */

.avatar { display: inline-grid; place-items: center; flex: none; width: var(--sz, 40px); height: var(--sz, 40px); border-radius: 30%; background: var(--surface-3); font-size: calc(var(--sz, 40px) * 0.56); line-height: 1; }
.trust { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 0.82rem; }
.ring { --p: 0; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mint) calc(var(--p) * 1%), var(--surface-3) 0); }
.ring > div { width: 62px; height: 62px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 800 1.35rem/1 var(--font-display); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: var(--surface-2); border: 1.5px solid var(--line); font-weight: 700; font-size: 0.82rem; }
.badge.locked { opacity: 0.45; filter: grayscale(1); }

/* ------------------------------------------------------------------ teklif ve denge */

.offer-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .offer-grid { grid-template-columns: 1fr auto 1fr; align-items: start; } }
.swap-arrows { display: grid; place-items: center; color: var(--primary); padding: 6px; }
.meter { display: grid; gap: 8px; }
.meter-bar { position: relative; height: 16px; border-radius: 999px; background: var(--surface-3); overflow: hidden; display: flex; }
.meter-bar .give { background: var(--blue); }
.meter-bar .get { background: var(--accent); }
.meter-legend { display: flex; justify-content: space-between; font-size: 0.82rem; font-weight: 700; gap: 10px; }
.level-balanced { color: var(--mint-ink); }
.level-fair { color: var(--sun-ink); }
.level-unbalanced { color: var(--primary); }

/* ------------------------------------------------------------------ takas çemberi */

.circle-svg { width: 100%; max-width: 380px; height: auto; margin-inline: auto; display: block; }
.circle-svg .ring-path { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 4 6; }
.circle-svg .arrow { fill: none; stroke: var(--primary); stroke-width: 3; stroke-linecap: round; }
.circle-svg .arrow-head { fill: var(--primary); }
.circle-svg .node { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.circle-svg .node.me { stroke: var(--primary); stroke-width: 3; }
.circle-svg text { fill: var(--ink); font-family: var(--font-body); }
.circle-svg .item-badge circle { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.circle-svg .emoji { font-size: 24px; }
.cycle-card { display: grid; gap: 14px; }
@media (min-width: 800px) { .cycle-card { grid-template-columns: 340px 1fr; align-items: center; } }
.flow { display: grid; gap: 8px; }
.flow-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: var(--surface-2); flex-wrap: wrap; }

/* ------------------------------------------------------------------ takas detayı */

.trade-head { display: grid; gap: 12px; }
.swap-visual { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.swap-side { display: grid; gap: 8px; justify-items: center; text-align: center; }
.swap-side .stamps { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.swap-side .stamp-wrap { width: 118px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 14px 26px; font-size: 0.9rem; }
[dir='rtl'] .timeline li { padding: 0 26px 14px 0; }
.timeline li::before { content: ''; position: absolute; inset-inline-start: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.timeline li::after { content: ''; position: absolute; inset-inline-start: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.steps .st { display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 0.7rem; font-weight: 800; color: var(--ink-3); }
.steps .st .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 1.05rem; }
.steps .st.done { color: var(--mint-ink); }
.steps .st.done .dot { background: var(--mint-soft); }
.steps .st.now .dot { background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); }
.label-card { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface); border: 2px dashed var(--ink-3); }
.barcode { height: 44px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.code-big { font: 800 2.2rem/1 var(--font-mono); letter-spacing: 0.18em; padding: 12px 16px; border-radius: 14px; background: var(--sun); color: #2b1d00; text-align: center; }
.tracking { font: 700 1.05rem/1.2 var(--font-mono); letter-spacing: 0.06em; word-break: break-all; }
.cn-form { display: grid; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; font-size: 0.85rem; background: var(--surface); }
.cn-form .cn-head { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; background: var(--ink); color: var(--surface); font-weight: 800; }
.cn-form .cn-row { display: grid; grid-template-columns: 1fr 90px 80px 80px; gap: 0; border-top: 1px solid var(--line); }
.cn-form .cn-row > * { padding: 8px 10px; border-inline-start: 1px solid var(--line); min-width: 0; }
.cn-form .cn-row > *:first-child { border-inline-start: 0; }
.cn-form .cn-box { display: flex; gap: 14px; flex-wrap: wrap; padding: 8px 10px; border-top: 1px solid var(--line); }
.cn-form .box { display: inline-flex; align-items: center; gap: 6px; }
.cn-form .box i { width: 14px; height: 14px; border: 1.5px solid var(--ink); display: inline-grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 900; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { text-align: start; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }
.table td.num, .table th.num { text-align: end; font-variant-numeric: tabular-nums; }

.postmark { width: 120px; height: 120px; color: var(--mint-ink); transform: rotate(-12deg); }

.rate { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; text-align: start; width: 100%; }
.rate[aria-pressed='true'] { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.carrier-dot { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 0.8rem; text-shadow: 0 1px 1px rgba(0,0,0,.35); }

/* ------------------------------------------------------------------ sekmeler, listeler */

.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1.5px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button, .tabs a { border: 0; background: none; padding: 10px 14px; font-weight: 800; color: var(--ink-3); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1.5px; white-space: nowrap; text-decoration: none; min-height: 44px; }
.tabs [aria-selected='true'] { color: var(--ink); border-bottom-color: var(--primary); }
.tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-inline-start: 6px; border-radius: 999px; background: var(--surface-3); font-size: 0.72rem; }
.list { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.row-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); border: 1.5px solid transparent; }
.row-link:hover { border-color: var(--line); }
.row-link .grow { flex: 1; min-width: 0; }
.row-link .title { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-link.unread { border-inline-start: 5px solid var(--accent); }
.stack-stamps { display: flex; }
.stack-stamps .mini-stamp + .mini-stamp { margin-inline-start: -18px; }

/* ------------------------------------------------------------------ mesajlar */

.chat { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-height: 60vh; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 6px 0; }
.bubble { max-width: min(80%, 520px); padding: 10px 14px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--blue); color: #fff; border-end-end-radius: 6px; }
.bubble.theirs { align-self: flex-start; border-end-start-radius: 6px; }
.bubble.system { align-self: center; background: var(--sun-soft); color: var(--sun-ink); font-size: 0.85rem; font-weight: 700; text-align: center; }
.bubble .time { display: block; font-size: 0.7rem; opacity: 0.7; margin-top: 4px; }
.composer { display: flex; gap: 8px; align-items: flex-end; position: sticky; bottom: 84px; background: var(--ground); padding-block: 8px; }
@media (min-width: 900px) { .composer { bottom: 0; } }

/* ------------------------------------------------------------------ bildirim, modal */

.toasts { position: fixed; z-index: 100; inset-inline: 0; bottom: 96px; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 16px; }
@media (min-width: 900px) { .toasts { bottom: 24px; } }
.toast { pointer-events: auto; max-width: 520px; padding: 12px 18px; border-radius: 16px; background: var(--ink); color: var(--surface); font-weight: 700; box-shadow: var(--shadow); animation: toast-in 0.25s ease; }
.toast.err { background: var(--danger); color: #fff; }
.toast.ok { background: var(--mint-ink); color: #fff; }
@keyframes toast-in { from { transform: translateY(10px); opacity: 0; } }
.backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(13, 19, 39, 0.55); display: grid; place-items: end center; padding: 16px; }
@media (min-width: 700px) { .backdrop { place-items: center; } }
.modal { width: 100%; max-width: 560px; max-height: 88vh; overflow: auto; background: var(--surface); border-radius: 24px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; animation: toast-in 0.2s ease; }
.modal .modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.contract { font-size: 0.9rem; display: grid; gap: 12px; }
.contract h4 { font-size: 1rem; }
.contract p { color: var(--ink-2); }
.contract .hash { font-family: var(--font-mono); font-size: 0.75rem; word-break: break-all; color: var(--ink-3); }

.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 34px 18px; }
.empty .em { font-size: 3rem; }
.empty p { max-width: 42ch; }
.skeleton { background: linear-gradient(90deg, var(--surface-3), var(--surface-2), var(--surface-3)); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 14px; min-height: 180px; }
@keyframes shimmer { to { background-position: -200% 0; } }

.stepper { display: flex; gap: 8px; }
.stepper span { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-3); }
.stepper span.on { background: var(--primary); }
.photo-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-grid .ph { position: relative; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--surface-3); }
.photo-grid .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid .ph button { position: absolute; top: 4px; inset-inline-end: 4px; width: 28px; height: 28px; border-radius: 9px; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer; }
.photo-add { width: 92px; height: 92px; border-radius: 14px; border: 2px dashed var(--ink-3); display: grid; place-items: center; color: var(--ink-2); cursor: pointer; background: var(--surface); text-align: center; font-size: 0.75rem; font-weight: 800; }
.photo-add input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.82rem; color: var(--ink-3); }
.footer a { color: var(--ink-2); }
.legal { max-width: 72ch; display: grid; gap: 14px; }
.legal h2 { margin-top: 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }

.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 120; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .stamp-wrap:hover, .btn:hover { transform: none; }
}

/* ---------------------------------------------------------------- simge öncelikli yapı taşları */
.field-head { display: flex; align-items: center; gap: 6px; }
.tip { position: relative; display: inline-block; }
.tip > summary {
  list-style: none; cursor: pointer; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-ink); font: 800 0.78rem/1 var(--font-display); font-style: italic;
}
.tip > summary::-webkit-details-marker { display: none; }
.tip[open] > summary { background: var(--blue); color: #fff; }
.tip-body {
  position: absolute; z-index: 40; inset-inline-start: -8px; top: calc(100% + 6px); width: max-content; max-width: min(300px, 80vw);
  padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--surface); font-size: 0.84rem; font-weight: 600; line-height: 1.4;
  box-shadow: var(--shadow);
}
.notice .tip { flex: none; }
.notice .tip-body { inset-inline-start: auto; inset-inline-end: -8px; }
.ilabel { display: inline-flex; align-items: center; gap: 6px; }
.ilabel .ie { font-size: 1.15em; line-height: 1; }
.picto { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.picto li {
  display: grid; justify-items: center; align-content: start; gap: 4px; min-width: 64px; flex: 1 1 64px; max-width: 120px;
  padding: 10px 6px; border-radius: 16px; background: var(--surface-2); text-align: center;
}
.picto .pe { font-size: 1.9rem; line-height: 1.1; }
.picto .pt { font-size: 0.78rem; font-weight: 800; color: var(--ink-2); line-height: 1.2; }
.picto.sm li { min-width: 52px; padding: 8px 4px; }
.picto.sm .pe { font-size: 1.4rem; }
.picto.lg .pe { font-size: 2.4rem; }
.picto.arrows { counter-reset: step; }
.picto.arrows li { position: relative; }
.picto.arrows li:not(:last-child)::after {
  content: '→'; position: absolute; inset-inline-end: -10px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink-3); font-size: 0.9rem;
}
:root[dir='rtl'] .picto.arrows li:not(:last-child)::after, [dir='rtl'] .picto.arrows li:not(:last-child)::after { content: '←'; }

/* ---------------------------------------------------------------- ekran: account */
.v-account .field-head > label { font-weight: 800; font-size: 0.9rem; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.v-account .field-head > label .pill { font-weight: 700; }
.v-account .tabs .ilabel { gap: 5px; }
.v-account .how { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.v-account .how > .tip { position: static; }
.v-account .how > .picto { flex: 1 1 auto; }
.v-account .consent { gap: 2px; }
.v-account .stats { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.v-account .stat { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 12px 10px; text-align: center; }
.v-account .stat .se { font-size: 1.6rem; line-height: 1.1; }
.v-account .stat .sv { font: 800 1.4rem/1.15 var(--font-display); }
.v-account .stat .sl { display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 800; color: var(--ink-2); }
.v-account .facts { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; }
.v-account .trust-how .how { margin-top: 10px; }
.v-account .badge.locked { min-width: 36px; justify-content: center; }
.v-account .meta { gap: 4px 10px; }
.v-account .field-head { position: relative; flex-wrap: wrap; }
.v-account .field-head > .tip { position: static; }
.v-account .stat { position: relative; }
.v-account .stat .tip { position: static; }
.v-account .stat .tip-body { inset-inline: 0; width: auto; }
.v-account .kv dd.inline { gap: 4px 8px; }

/* ---------------------------------------------------------------- ekran: admin */
.v-admin h1 .ilabel { gap: 10px; }
.v-admin .tabs .ilabel { gap: 5px; }
.v-admin .tabs a { min-width: 44px; text-align: center; }
.v-admin .tabs a > .te, .v-admin .table th > .te { font-size: 1.2rem; line-height: 1; }
.v-admin .field-head > label { font-weight: 800; font-size: 0.9rem; }
.v-admin .field .hint .ilabel { gap: 4px; }
.v-admin .how { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.v-admin .how > .tip { position: static; }
.v-admin .search { display: flex; align-items: center; gap: 8px; }
.v-admin .search > .se { font-size: 1.3rem; line-height: 1; }
.v-admin .search > .input { flex: 1 1 auto; min-width: 0; }
.v-admin .akv > strong { margin-inline-end: 2px; }
.v-admin .notice .how { margin-block-start: 6px; }
.v-admin .table th .ilabel { gap: 4px; }

/* ---------------------------------------------------------------- ekran: editor */
.v-editor .field-head > label { font-weight: 800; font-size: 0.9rem; }
.v-editor .field-head .pill { font-variant-numeric: tabular-nums; }
.v-editor .ed-steps .picto li[aria-current='step'] { background: var(--ink); box-shadow: var(--shadow-sm); }
.v-editor .ed-steps .picto li[aria-current='step'] .pt { color: var(--surface); }
.v-editor .ed-steps .picto li.done { background: var(--mint-soft); }
.v-editor .photo-add .add-em { font-size: 0.95rem; }
.v-editor .sugg-em { font-size: 1.15rem; line-height: 1; align-self: center; }
.v-editor .ship-opts { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.v-editor .ship-opt { align-items: center; padding: 12px; border-radius: var(--radius-lg); background: var(--surface-2); border: 2px solid transparent; }
.v-editor .ship-opt:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); }
.v-editor .ship-opt:has(input:disabled) { opacity: 0.7; cursor: not-allowed; }
.v-editor .ship-opt .big { font-size: 1.7rem; line-height: 1; flex: none; }
.v-editor .dims { flex-wrap: nowrap; gap: 6px; }
.v-editor .dims > .grow { min-width: 0; }
.v-editor .dims .x { color: var(--ink-3); font-weight: 800; flex: none; }
.v-editor .facts .pill { white-space: normal; font-size: 0.8rem; padding: 3px 10px; }
.v-editor .card-head { display: flex; align-items: center; gap: 8px; }
.v-editor .tip-lines { display: grid; gap: 4px; }
.v-editor .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.v-editor .own { display: flex; gap: 8px; align-items: flex-start; }
.v-editor .own > .check { flex: 1; min-width: 0; }
.v-editor .own .tip-body { inset-inline-start: auto; inset-inline-end: -8px; }
:root[dir='rtl'] .v-editor .flip, [dir='rtl'] .v-editor .flip { transform: scaleX(-1); }
.v-editor .field-head, .v-editor .card-head { position: relative; }
.v-editor .field-head > .tip, .v-editor .card-head > .tip { position: static; }

/* ---------------------------------------------------------------- ekran: entry */
.v-entry .consents { gap: 10px; }
.v-entry fieldset.consents { border: 0; margin: 0; padding: 0; min-width: 0; }
.v-entry fieldset.consents > legend { padding: 0; margin-block-end: 8px; font-size: 0.8rem; font-weight: 800; color: var(--ink-3); }
.v-entry .crow { display: flex; align-items: flex-start; gap: 6px; position: relative; }
.v-entry .crow > .check { flex: 1; min-width: 0; }
.v-entry .crow > .tip { flex: none; position: static; }
.v-entry .hint { position: relative; }
.v-entry .hint .tip { position: static; }
.v-entry .hint .hintrow { gap: 6px; }
.v-entry .chips .chip .ilabel { gap: 5px; }
.v-entry .legal > .picto { margin-block-end: 4px; }
.v-entry .legal .lvl, .v-entry .legal .dochead { display: flex; align-items: center; gap: 8px; position: relative; }
.v-entry .legal .lvl { margin-top: 10px; }
.v-entry .legal .lvl h2, .v-entry .legal .dochead h1 { margin: 0; }
.v-entry .legal .lvl > .tip, .v-entry .legal .dochead > .tip { position: static; }
.v-entry .legal ul.rules { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.v-entry .legal ul.rules li { display: inline-flex; align-items: center; gap: 6px; padding-block: 4px; padding-inline: 12px 4px; border-radius: 999px; background: var(--surface-2); color: var(--ink); }
.v-entry .legal ul.rules.block li { background: var(--danger-soft); }
.v-entry .legal ul.rules.intl_block li { background: var(--warn-soft); }
.v-entry .legal ul.rules.warn li { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--blue-soft); }
.v-entry .legal ul.rules .tip { position: static; }
.v-entry .legal ul.rules .tip-body { top: auto; margin-top: 6px; }
.v-entry .crow .tip-body, .v-entry .hint .tip-body, .v-entry .legal .lvl .tip-body, .v-entry .legal .dochead .tip-body, .v-entry .legal ul.rules .tip-body { inset-inline: 0; width: auto; max-width: none; }
/* Mesaj güvenliği: alıcının 🚩 kartı balonun altında, balonla aynı hizada; 💶 korumasız para notu. */
.notice > .ne { flex: none; font-size: 1.3rem; line-height: 1.2; }
.v-entry .scam-card { align-self: flex-start; max-width: min(92%, 520px); }
.v-entry .scam-card .btn { padding-inline: 14px; }
.self-q .tip { vertical-align: middle; }
[dir='rtl'] .modal .ie.flip { display: inline-block; transform: scaleX(-1); }
.v-entry .bubble .rep { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; vertical-align: middle; text-decoration: none; font-size: 0.95rem; }

/* ---------------------------------------------------------------- ekran: explore */
.v-explore .how { display: flex; align-items: center; gap: 8px; position: relative; }
.v-explore .like-row, .v-explore .section-head { position: relative; }
.v-explore .how > .tip, .v-explore .like-row > .tip, .v-explore .section-head .tip { position: static; }
.v-explore .how .picto { flex: 1 1 auto; flex-wrap: nowrap; min-width: 0; }
.v-explore .how .picto li { flex: 1 1 0; min-width: 0; padding-inline: 2px; }
.v-explore .how .picto .pt { overflow-wrap: anywhere; }
.v-explore .facts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v-explore .facts .pill { font-size: 0.84rem; padding: 4px 12px; white-space: normal; max-width: 100%; overflow-wrap: anywhere; }
.v-explore .facts.meta .pill { background: var(--surface-2); color: var(--ink-2); font-weight: 700; }
.v-explore .facts .pill .mono { font-weight: 700; }
.v-explore h2.ilabel { display: flex; gap: 10px; }
.v-explore .section-head .inline { gap: 6px; }
.v-explore .owner-card .inline { gap: 4px 12px; }

/* ---------------------------------------------------------------- ekran: offer */
.v-offer .how { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.v-offer .how > .tip { position: static; }
.v-offer .side-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v-offer .side-head .pill { font-family: var(--font-body); }
.v-offer .grid-listings > .empty { grid-column: 1 / -1; }
.v-offer .notice.suggest { align-items: center; }
.v-offer .notice .ne { flex: none; font-size: 1.3rem; line-height: 1.2; }
.v-offer .linklike .ilabel > span:last-child { text-decoration: underline; text-underline-offset: 2px; }
.v-offer .section-head .inline, .v-offer .cash-head { position: relative; }
.v-offer .section-head .inline > .tip, .v-offer .cash-head > .tip { position: static; }
.v-offer .picto.sm li { flex-basis: 52px; }
.v-offer .picto.sm .pt { hyphens: auto; overflow-wrap: break-word; }
.v-offer .notice.suggest { flex-wrap: wrap; }
.v-offer .notice.suggest > .grow { flex: 1 1 12ch; }
.v-offer .notice.suggest > .btn { margin-inline-start: auto; }

/* ---------------------------------------------------------------- ekran: shell */
.v-shell .langpick { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
@media (max-width: 599px) { .v-shell .langpick > svg { display: none; } }
.v-shell.demo-banner strong { font-weight: 800; }
.v-shell .rail-foot .ilabel > span:last-child, .v-shell.footer .ilabel > span:last-child, .v-shell.demo-banner .linklike .ilabel > span:last-child { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 599px) { .v-shell .login-btn > svg { display: none; } }

/* ---------------------------------------------------------------- ekran: trade */
.v-trade .trade-head > .iconbtn { justify-self: start; margin-inline-start: -10px; }
.v-trade .facts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.v-trade .facts .pill { background: var(--surface-2); color: var(--ink-2); font-size: 0.8rem; padding: 3px 10px; }
.v-trade .notice .ne { flex: none; font-size: 1.3rem; line-height: 1.2; }
.v-trade .pick { display: flex; flex-wrap: wrap; gap: 10px; }
.v-trade .pick button { display: grid; justify-items: center; align-content: start; gap: 4px; flex: 1 1 88px; max-width: 170px; min-height: 64px; padding: 10px 6px; border-radius: 16px; border: 2px solid transparent; background: var(--surface-2); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.v-trade .pick button[aria-pressed='true'] { border-color: var(--blue); background: var(--blue-soft); box-shadow: var(--shadow-sm); }
.v-trade .pick button[aria-pressed='true'] .pt::before { content: '✓ '; }
.v-trade .pick .pe { font-size: 1.6rem; line-height: 1.1; }
.v-trade .pick .pt { font-size: 0.8rem; font-weight: 800; line-height: 1.2; }
.v-trade .picto.track { flex-wrap: nowrap; gap: 10px; }
.v-trade .picto.track li { flex: 1 1 0; min-width: 0; max-width: none; padding: 8px 2px; }
.v-trade .picto.track .pt { font-size: 0.75rem; overflow-wrap: normal; hyphens: auto; }
.v-trade .picto.track li:not(:last-child)::after { inset-inline-end: -9px; font-size: 0.7rem; }
.v-trade .picto.track li.done { background: var(--mint-soft); }
.v-trade .picto.track li.done::before { content: '✓'; position: absolute; top: 3px; inset-inline-end: 6px; font-size: 0.7rem; font-weight: 900; color: var(--ink-2); }
.v-trade .picto.track li.now { background: var(--warn-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.v-trade .row-link .title .ilabel { max-width: 100%; }
.v-trade .shipment-done > .stack { margin-top: 10px; }
.v-trade .leg-items { flex: none; }
.v-trade .leg-items .mini-stamp { width: 40px; }
.v-trade .leg-items .mini-stamp + .mini-stamp { margin-inline-start: -14px; }
.v-trade .leg-items .mini-stamp .art .em { font-size: 1.2rem; }
.v-trade .row-link .title .ilabel > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[dir='rtl'] .v-trade .flip { display: inline-block; transform: scaleX(-1); }
@media (max-width: 480px) { .v-trade .picto.track li.now { flex-grow: 2; } .v-trade .picto.track li:not(.now) .pt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
.v-trade .tiprow { position: relative; }
.v-trade .tiprow > .tip { position: static; }
.v-trade .tiprow > .tip > .tip-body { inset-inline-start: 0; inset-inline-end: auto; max-width: 100%; }

/* Küçük telefonlar (≤ 380 px): üst çubukta yalnız logo simgesi, sıkı aralıklar */
@media (max-width: 380px) {
  .topbar { gap: 6px; }
  .topbar .iconbtn { width: 38px; }
  .topbar .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------------------------------------------------------------- görsel denetim düzeltmeleri */
/* Seçilebilir pul bir <button>: tarayıcının varsayılan kenarlığı delikli maskeyle siyah noktalara dönüşüyordu */
button.stamp { border: 0; appearance: none; font: inherit; color: inherit; text-align: start; width: 100%; }
/* Fiyat etiketi tek satır */
.art .denom { white-space: nowrap; }
/* Takas kartındaki küçük pullar: rozetler gizli, simge küçük, genişlik ekrana göre */
.swap-side .stamp-wrap { width: clamp(92px, 30vw, 170px); }
.swap-side .art .flags { display: none; }
.swap-side .art .em { font-size: 2.4rem; }
.swap-side .art .denom { font-size: 0.72rem; }
/* ⓘ: görünüm 24 px, dokunma alanı 44 px; balonda ⓘ'yi gösteren küçük ok */
.tip > summary { position: relative; }
.tip > summary::before { content: ''; position: absolute; inset: -10px; }
.tip-body::before {
  content: ''; position: absolute; top: -5px; inset-inline-start: 16px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg);
}
.tip.up .tip-body { top: auto; bottom: calc(100% + 6px); }
.tip.up .tip-body::before { top: auto; bottom: -5px; }
/* Resimli adım satırı: oklu dizi tek satırda kalır, kelimeler heceyle bölünür */
.picto.arrows { flex-wrap: nowrap; gap: 8px; }
.picto.arrows li { min-width: 0; flex: 1 1 0; padding-inline: 2px; }
/* Önce heceleme (lang=de iken "Gebühren-versprechen"); sözlüğü olmayan tarayıcıda uzun bileşik sözcük kutudan ve
   sayfadan taşmasın diye son çare olarak sözcük içinde bölünür. Sığan sözcüklere dokunmaz. */
.picto .pt { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; word-break: normal; }
.v-explore .how .picto .pt { overflow-wrap: normal; }
/* Dar ekran: sekmeler eşit sütun, simge üstte, kısa etiket altta; taşma ve kesilme yok */
@media (max-width: 520px) {
  .tabs:not(.keep) { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; overflow: visible; }
  .tabs:not(.keep) > a, .tabs:not(.keep) > button { padding: 6px 2px; white-space: normal; text-align: center; font-size: 0.7rem; line-height: 1.15; min-width: 0; }
  .tabs:not(.keep) .ilabel { flex-direction: column; gap: 2px; }
  .tabs:not(.keep) .ilabel .ie { font-size: 1.35rem; }
  .tabs:not(.keep) .count { margin-inline-start: 0; margin-top: 2px; }
  .v-admin .tabs { display: flex; overflow-x: auto; }
}
/* Geniş ekranda kategori şeridi alt satıra geçer (fareyle yana kaydırma zor) */
@media (min-width: 900px) { .chips.scroll { flex-wrap: wrap; overflow-x: visible; } }

/* ---------------------------------------------------------------- 2. tur: account */
/* Dar ekran sekmeleri (profil 3, ayarlar 5 sütun): uzun etiket sütuna sığmazsa sözlükteki yumuşak
   tirelerden (Ent-scheidungen, Değer-lendirmeler) bölünür; sözlük/heceleme yoksa son çare harf sınırı. */
@media (max-width: 520px) {
  .v-account .tabs:not(.keep) > a { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
}

/* ---------------------------------------------------------------- 2. tur: discover */
.v-explore .back-link { display: inline-flex; align-items: center; gap: 4px; justify-self: start; }
.v-explore .flip { display: inline-flex; }
[dir='rtl'] .v-explore .flip { transform: scaleX(-1); }
.v-explore .wants-text { border-inline-start: 3px solid var(--line); padding-inline-start: 10px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- 2. tur: entry */
/* Hukuki sayfalar: belge çipleri dar ekranda tek satır, yana kayar (odak halkası kırpılmasın) */
.v-entry .legal-nav { padding-block: 3px 6px; padding-inline: 2px; }
.v-entry .legal-nav .chip { flex: none; }
/* Nasıl çalışır: adım başına bir kart (simge + başlık + tek satır) */
.v-entry .legal .howsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.v-entry .legal .howsteps > li { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm); color: var(--ink); }
.v-entry .legal .howsteps .hs-e { position: relative; flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); font-size: 1.75rem; line-height: 1; }
.v-entry .legal .howsteps .hs-n { position: absolute; inset-block-start: -6px; inset-inline-start: -6px; min-width: 22px; height: 22px; padding-inline: 5px; border-radius: 999px; background: var(--ink); color: var(--surface); font: 800 0.72rem/22px var(--font-body); text-align: center; box-shadow: 0 0 0 2px var(--surface); }
.v-entry .legal .howsteps .hs-b { display: grid; gap: 2px; min-width: 0; }
.v-entry .legal .howsteps .hs-t { font-weight: 800; color: var(--ink); }
.v-entry .legal .howsteps .hs-c { font-size: 0.875rem; line-height: 1.35; color: var(--ink-2); overflow-wrap: break-word; hyphens: auto; }
.v-entry .legal .howsteps.extra > li { background: var(--surface-2); box-shadow: none; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.v-entry .legal .howsteps.extra .hs-e { background: var(--surface); }
/* Ayrıntılı oku: belgenin tam metni kapalı kutuda */
.v-entry .legal details.more { border-radius: 16px; background: var(--surface-2); padding-block: 2px; padding-inline: 14px; }
.v-entry .legal details.more > summary { cursor: pointer; font-weight: 800; min-height: 44px; padding-block: 10px; }
.v-entry .legal details.more[open] { padding-block-end: 16px; }
.v-entry .legal details.more > .notice { margin-block: 2px 12px; }
/* Yasaklı eşya kutucuğu: kural simgesi */
.v-entry .legal ul.rules li { padding-inline-start: 10px; }
.v-entry .legal ul.rules .re { font-size: 1.15em; line-height: 1; }
/* Mesaj listesi: ad hiç kısalmaz; ilan başlığı ve önizleme kendi yönünde, kendi sonundan kısalır */
.v-entry .th-row .avs { display: flex; flex: none; }
.v-entry .th-row .th-title { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.v-entry .th-row .th-title .who { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-entry .th-row .th-title .sep { flex: none; font-weight: 400; }
.v-entry .th-row .th-title .what { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.v-entry .th-row .prev { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: match-parent; }
/* Yön bildiren çizgi simgeler (geri, gönder) sağdan sola arayüzde aynalanır */
[dir='rtl'] .v-entry .flip { transform: scaleX(-1); }

/* ---------------------------------------------------------------- 2. tur: trade */
/* Sözleşme mührü: ⓘ balonunda kısa kod (tam özet sözleşme penceresinde) */
.v-trade .tip-body .seal { display: block; width: fit-content; margin-block-start: 6px; font: 700 0.78rem/1.3 var(--font-mono); letter-spacing: 0.04em; opacity: 0.75; }
/* Takip: henüz olmayan adım soluk, gri ve kesik çizgili */
.v-trade .picto.track li.todo { background: transparent; outline: 1.5px dashed var(--line); outline-offset: -1.5px; }
.v-trade .picto.track li.todo .pe { filter: grayscale(1); opacity: 0.45; }
.v-trade .picto.track li.todo .pt { color: var(--ink-3); }
/* Takaslarım satırı: eşya satırı en çok iki satır */
.v-trade .trade-row .avs { display: flex; }
.v-trade .trade-row .items { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .v-trade .trade-row > .stack-stamps .mini-stamp { width: 40px; }
  .v-trade .trade-row > .stack-stamps .mini-stamp + .mini-stamp { margin-inline-start: -14px; }
  .v-trade .trade-row > .stack-stamps .mini-stamp:nth-child(n + 3) { display: none; }
  .v-trade .trade-row > .stack-stamps .mini-stamp .art .em { font-size: 1.2rem; }
}
/* Çok dar ekran: durum ve zaman başlığın altına iner, yazı sütunu genişler */
@media (max-width: 400px) {
  .v-trade .row-link.trade-row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: 'art main' 'art meta'; align-items: start; gap: 6px 12px; padding: 10px 12px; }
  .v-trade .trade-row > .stack-stamps { grid-area: art; align-self: center; }
  .v-trade .trade-row > .grow { grid-area: main; }
  .v-trade .trade-row > .meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  /* İki kişilik takasta adlar zaten başlıkta; halkada başlık yalnız sayı verir, küçük avatarlar kalır */
  .v-trade .trade-row:not(.cycle) > .meta > .avs { display: none; }
  .v-trade .trade-row.cycle > .meta > .avs .avatar { --sz: 20px !important; }
}

/* ---------------------------------------------------------------- değerlendirme karnesi (1-10) */
/* Puan bantları: yumuşak zemin + koyu yazı (rozet, çip, ölçekte dolan kutular) ve dolu renk
   (seçilen kutu, karne çubuğu; üzerinde beyaz yazı 4,5:1'in üstünde). Renk tek başına anlam
   taşımaz: sayı her zaman yazılır, ölçekte ayrıca yüz ifadesi ve bant adı görünür. */
.band-bad { --b-soft: #fde2e7; --b-ink: #a3172f; --b-solid: #c8233f; }
.band-poor { --b-soft: #ffe7d6; --b-ink: #8f3a00; --b-solid: #b54708; }
.band-ok { --b-soft: #fff1cc; --b-ink: #6b4700; --b-solid: #8a6100; }
.band-good { --b-soft: #e4f5d8; --b-ink: #2f6512; --b-solid: #3f7d20; }
.band-great { --b-soft: #d8f6ea; --b-ink: #0a6e51; --b-solid: #0a7d5c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .band-bad { --b-soft: #45202a; --b-ink: #ff9aad; }
  :root:not([data-theme='light']) .band-poor { --b-soft: #45291a; --b-ink: #ffb784; }
  :root:not([data-theme='light']) .band-ok { --b-soft: #3d3216; --b-ink: #ffd76e; }
  :root:not([data-theme='light']) .band-good { --b-soft: #213a18; --b-ink: #b0e58a; }
  :root:not([data-theme='light']) .band-great { --b-soft: #123b33; --b-ink: #6fe6bd; }
}
:root[data-theme='dark'] .band-bad { --b-soft: #45202a; --b-ink: #ff9aad; }
:root[data-theme='dark'] .band-poor { --b-soft: #45291a; --b-ink: #ffb784; }
:root[data-theme='dark'] .band-ok { --b-soft: #3d3216; --b-ink: #ffd76e; }
:root[data-theme='dark'] .band-good { --b-soft: #213a18; --b-ink: #b0e58a; }
:root[data-theme='dark'] .band-great { --b-soft: #123b33; --b-ink: #6fe6bd; }

/* Genel puan rozeti: "9,4" büyük, "/10" küçük */
.score { direction: ltr; unicode-bidi: isolate; display: inline-flex; align-items: baseline; gap: 1px; padding: 1px 9px; border-radius: 999px; background: var(--b-soft); color: var(--b-ink); font: 800 0.95rem/1.35 var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.score small { font-size: 0.68em; font-weight: 700; opacity: 0.85; }
.score.lg { font-size: 1.2rem; padding: 2px 11px; }
.stat .sv .score.lg { font-size: 1.15rem; }

/* Ölçüt çipleri: 🤝 10 · 🎯 9 … */
.score-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.score-chips li { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 7px; border-radius: 999px; background: var(--b-soft); color: var(--b-ink); font-size: 0.86rem; }
.score-chips b { font-variant-numeric: tabular-nums; }

/* Form: ölçüt başına 1-10 kutusu (radiogroup) */
.score-rows { display: grid; gap: 16px; }
.score-row { display: grid; gap: 6px; min-width: 0; }
.score-head { display: flex; align-items: center; gap: 6px; font-weight: 800; min-height: 28px; }
.score-head .grow { flex: 1; }
.score-face { font-size: 1.4rem; line-height: 1; min-inline-size: 1.4em; text-align: center; }
.score-band { font-weight: 700; }
.score-scale { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.score-scale button { block-size: 40px; min-inline-size: 0; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--ink-2); font: 800 0.95rem/1 var(--font-body); font-variant-numeric: tabular-nums; cursor: pointer; transition: transform 0.12s, background 0.12s; }
.score-scale button:hover { border-color: var(--ink-3); }
.score-scale button.on { background: var(--b-soft); color: var(--b-ink); border-color: transparent; }
.score-scale button[aria-checked='true'] { background: var(--b-solid); color: #fff; border-color: var(--b-solid); transform: translateY(-2px); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18); }
.score-scale button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 380px) {
  .score-scale { gap: 3px; }
  .score-scale button { block-size: 36px; border-radius: 8px; font-size: 0.86rem; }
}
@media (prefers-reduced-motion: reduce) { .score-scale button { transition: none; } .score-scale button[aria-checked='true'] { transform: none; } }
.overall-live { gap: 8px; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--surface-2); width: fit-content; }

/* Karne: ölçüt ölçüt çubuklar */
.scorecard h3 { font-size: 1.1rem; }
.sc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sc-row { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(60px, 1fr) auto; align-items: center; gap: 10px; }
.sc-name { font-weight: 700; font-size: 0.92rem; min-width: 0; overflow-wrap: anywhere; }
.sc-bar { display: block; block-size: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.sc-bar i { display: block; block-size: 100%; border-radius: inherit; background: var(--b-solid); }
.sc-val { font-variant-numeric: tabular-nums; min-inline-size: 3.6em; text-align: end; white-space: nowrap; }
.sc-val small { color: var(--ink-3); }
@media (max-width: 380px) {
  .sc-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
  .sc-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* Yorum kartı ve yanıt */
.review-item .rv-head { gap: 8px; }
.review-item .rv-head > strong { min-width: 0; overflow-wrap: anywhere; }
.review-item p { margin: 0; overflow-wrap: anywhere; }
.rv-reply { display: grid; gap: 4px; margin-inline-start: 8px; padding: 8px 12px; border-inline-start: 3px solid var(--line); border-radius: 0 12px 12px 0; background: var(--surface-2); }
[dir='rtl'] .rv-reply { border-radius: 12px 0 0 12px; }
.iconbtn.sm { width: 32px; height: 32px; }
.review-item .stack > .btn, .review-item > .stack > .btn { width: fit-content; }

/* ---------------------------------------------------------------- P2: gönderim şeridi */
/* Her tarafın paketi: 📦 + köşede durum simgesi; altında kim ve durum metni. Renk tek başına anlam taşımaz. */
.ship-strip .pkgs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ship-strip .pkg { flex: 1 1 96px; min-width: 0; display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 16px; background: var(--surface-2); text-align: center; }
.ship-strip .pkg.mine { outline: 2px solid var(--line); outline-offset: -2px; }
.ship-strip .pkg.received { background: var(--mint-soft); }
.ship-strip .pkg-box { position: relative; font-size: 2rem; line-height: 1.1; }
.ship-strip .pkg-st { position: absolute; inset-block-end: -4px; inset-inline-end: -12px; font-size: 1.05rem; line-height: 1; padding: 2px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm); }
.ship-strip .pkg-who { font-weight: 800; font-size: 0.9rem; max-width: 100%; overflow-wrap: anywhere; }
.ship-strip .pkg-txt { font-size: 0.78rem; font-weight: 700; color: var(--ink-2); }
.ship-strip .ship-time { display: grid; gap: 6px; }
.ship-strip .ship-time .tiprow { position: relative; flex-wrap: wrap; }
.ship-strip .ship-time .tip { position: static; }
.ship-strip .time-bar { display: block; block-size: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.ship-strip .time-bar > span { display: block; block-size: 100%; border-radius: inherit; background: var(--blue); }
.ship-strip .ship-time.over .time-bar > span { background: var(--sun); }
.ship-strip .ship-time.over strong { color: var(--warn-ink); }

/* ---------------------------------------------------------------- P3: arıyorum, uyarı, tazelik */
/* Arıyorum ilanı: pul yerine çizgili kart ve "aranıyor" damgası (damga metinle de yazılı). */
.stamp-wrap.wanted .art { background: repeating-linear-gradient(135deg, var(--surface-2) 0 12px, var(--surface-3) 12px 24px); }
.art .wanted-mark {
  position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 1; max-width: calc(100% - 20px); padding: 2px 8px;
  border: 2.5px solid var(--primary-ink); border-radius: 6px; background: var(--surface); color: var(--primary-ink);
  font: 800 0.72rem/1.3 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-6deg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stamp-wrap.wanted .art .flags { inset-block-start: auto; inset-block-end: 8px; }
.facts.activity { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.owner-card .facts.activity .pill { font-size: 0.74rem; padding: 2px 8px; }
/* Keşfet: süzgeç satırının sonunda 🔔 aramayı kaydet. */
.filters .save-search { margin-inline-start: auto; }
/* Kayıtlı arama çipleri: çip + 🔔/🔕 + 🗑️. */
.alert-list { display: grid; gap: 8px; }
.alert-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding-block: 6px; padding-inline: 12px 6px; border-radius: 16px; background: var(--surface-2); }
/* Arama bağlantısı satırın boyunca 44 px yüksek dokunma hedefi. */
.alert-row .q { display: flex; align-items: center; gap: 4px; min-height: 44px; flex: 1 1 120px; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.alert-row .q > bdi { min-width: 0; }
.alert-row.muted .q { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.alert-row .iconbtn { width: 44px; height: 44px; }
.alert-add { display: flex; gap: 8px; }
.alert-add .input { flex: 1 1 auto; min-width: 0; }
/* Arıyorum yanıt penceresi: seçilebilir kendi ilanlarım. */
.have-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(120px, calc(50% - 5px)), 1fr)); }
/* İlan türü: üç büyük kart (🔄 takas · 🎁 hediye · 🔎 arıyorum); seçili kart koyu, simgeyle birlikte ad yazılı. */
.kind-pick { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kind-card {
  display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 88px; padding: 10px 6px; border-radius: var(--radius);
  border: 2px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; text-align: center;
}
.kind-card .kc-e { font-size: 1.9rem; line-height: 1; }
/* Önce heceleme; sözcük içinde bölme yalnız son çare (dar kartta "Verschenke/n" olmasın diye de metni kısa tutulur). */
.kind-card .kc-t { font-weight: 800; font-size: 0.92rem; line-height: 1.2; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.kind-card:hover { border-color: var(--ink-3); }
.kind-card[aria-current='page'] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.fresh-ask { background: var(--warn-soft); border-color: transparent; }
/* Yeni denetimlerde küçük düğme görünümü korunur, dokunma hedefi 44 px olur: 🔔 aramayı kaydet, tazelik şeridi,
   hediye talebi (↩️ vazgeç), 📤 paylaş, Keşfet'teki 🎁 hediye et / 🔎 ben de arıyorum; hediye ve ret neden çipleri. */
.save-search .btn, .fresh-ask .btn, .gift-ask .btn, .gift-panel .btn, .share-row .btn, .kind-cta .btn { min-height: 44px; }
.reason-chips .chip { min-height: 44px; }

/* ---------------------------------------------------------------- P4: hediye ve özel teşekkür */
/* Hediye pulu: fiyat yerine 🎁 damgası (damga metinle de yazılı; renk tek başına anlam taşımaz). */
.art .gift-mark {
  position: absolute; inset-block-end: 8px; inset-inline-end: 8px; z-index: 1; max-width: calc(100% - 16px); padding: 2px 8px;
  border: 2.5px solid var(--mint-ink); border-radius: 6px; background: var(--surface); color: var(--mint-ink);
  font: 800 0.72rem/1.3 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; transform: rotate(-4deg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gift-panel { border-inline-start: 5px solid var(--mint); }
.gift-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gift-req { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface-2); min-width: 0; }
.gift-req .gr-who { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; min-width: 0; }
.gift-req .gr-who strong { overflow-wrap: anywhere; }
.gift-req .gr-note { margin: 0; padding-inline-start: 10px; border-inline-start: 3px solid var(--line); overflow-wrap: anywhere; white-space: pre-wrap; }
.gift-req .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.gift-req .btn { min-height: 44px; }
/* Takas ekranında hediye: veren → pul → alan. */
.gift-visual { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px) minmax(0, 1fr); align-items: center; justify-items: center; gap: 10px; }
.gift-visual .gift-person { display: grid; justify-items: center; gap: 6px; text-align: center; min-width: 0; }
.gift-visual .gift-person strong { overflow-wrap: anywhere; font-size: 0.9rem; }
.gift-visual .gift-item { display: grid; justify-items: center; gap: 4px; width: 100%; }
.gift-visual .gift-item .stamp-wrap { width: 100%; }
.gift-visual .gift-arrow { font-size: 1.4rem; font-weight: 800; color: var(--mint-ink); }
/* Teşekkür: çıkartma çipleri (en az 44 px) ve kart. */
.chips.stickers .chip.sticker { min-width: 52px; min-height: 52px; justify-content: center; font-size: 1.6rem; padding: 4px 10px; }
.thanks-card { display: flex; gap: 14px; align-items: flex-start; border-inline-start: 5px solid var(--mint); }
.thanks-card .thx-sticker { font-size: 2.6rem; line-height: 1; }
.thanks-card p { margin: 0; overflow-wrap: anywhere; }
.thanks-card .btn { min-height: 44px; }

/* ---------------------------------------------------------------- P5: elden buluşma ve teklif kuralları */
/* 📍 Buluşma kartı: yer türü simgesi, kişinin yazdığı yer (dir=auto), saat ve ☀️/🌙; düğmeler en az 44 px. */
.meetup-card { border-inline-start: 5px solid var(--blue); }
.meet-sum { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; min-width: 0; }
.meet-sum .meet-e { font-size: 2.2rem; line-height: 1; }
.meet-sum .grow { flex: 1; min-width: 0; }
.meet-place { overflow-wrap: anywhere; font-size: 1.05rem; }
.meet-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.meetup-card .btn { min-height: 44px; }
.v-trade .spot-pick button { flex-basis: 92px; }
/* ⚙️ Teklif kuralları: editörde kapalı kutu; teklif ekranında canlı not. */
.rules-box { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 4px 12px 10px; }
.rules-box > summary { cursor: pointer; font-weight: 800; min-height: 44px; display: flex; align-items: center; }
.rules-note .chips { gap: 6px; }
.row-mark { margin-inline-start: 6px; }

/* ---------------------------------------------------------------- P6: beyan, IMEI, koruma adımları, paylaş */
/* 🧼 Kartta en çok 3 beyan simgesi (metin karşılığı aria-label'da). */
.stamp-claims { display: flex; gap: 3px; font-size: 0.95rem; line-height: 1.1; }
/* İlanda beyan satırı: çipler + "beyan" etiketi; ⓘ satırın sonunda. */
.claims-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* "Beyan" etiketi küçük yazı: --ink-3 açık zeminde 3,85:1 kalıyordu; --ink-2 ile AA (4,5:1) üstünde. */
.claims-row .claim-tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 800; color: var(--ink-2); }
/* Editörde çip seçimi ve tek cümlelik "söz verdiğin özellik" notu. */
.claim-pick .chip { min-height: 44px; }
.imei-box { border-inline-start: 5px solid var(--blue); }
.imei-box .input.mono { letter-spacing: 0.06em; }
/* 🛡️ Koruma adımları şeridi: kapalıyken tek satır simge; açılınca adım başına bir cümle. */
.guard-strip { border-radius: var(--radius); background: var(--surface-2); color: var(--ink); }
.guard-strip > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-height: 44px; padding: 8px 12px; cursor: pointer; list-style: none; font-weight: 800; }
.guard-strip > summary::-webkit-details-marker { display: none; }
.guard-strip > summary::after { content: '▾'; margin-inline-start: auto; color: var(--ink-3); }
.guard-strip[open] > summary::after { content: '▴'; }
.guard-strip > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--radius); }
.guard-strip .gs-icons { display: inline-flex; gap: 4px; font-size: 1.1rem; }
.guard-strip .gs-off { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; background: var(--warn-soft); color: var(--warn-ink); font-size: 0.78rem; }
.guard-strip .gs-list { list-style: none; margin: 0; padding: 0 12px 12px; display: grid; gap: 8px; font-size: 0.9rem; font-weight: 400; }
.guard-strip .gs-list li { display: flex; gap: 8px; align-items: flex-start; min-width: 0; }
.guard-strip .gs-list li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.guard-strip .gs-list li.off { color: var(--warn-ink); }
/* 🚩 Bildirdiklerim: aşama çizgisi (alındı → inceleniyor → karar), simge + metin; renk tek başına anlam taşımaz. */
.report-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.report-item { display: grid; gap: 8px; min-width: 0; }
.report-item .ri-target { overflow-wrap: anywhere; }
.report-stages { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
/* Bekleyen aşama: dolgusuz, kesik çerçeveli (renk tek başına anlam taşımaz); yazı --ink-2 ile iki temada da AA. */
.report-stages li { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; background: transparent; border: 1.5px dashed var(--line); color: var(--ink-2); font-size: 0.8rem; font-weight: 800; }
.report-stages li.done, .report-stages li.now { border-color: transparent; }
.report-stages li.done { background: var(--mint-soft); color: var(--mint-ink); }
.report-stages li.now { background: var(--blue-soft); color: var(--blue-ink); }
/* Ayarlar 7 sekme: dar ekranda eşit sütun yerine yana kayan tek satır (seçili sekme görünür alana getirilir);
   simge üstte, kısa etiket altta ve bölünmeden. */
@media (max-width: 440px) {
  .v-account .tabs.many:not(.keep) { display: flex; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; gap: 2px; }
  .v-account .tabs.many:not(.keep) > a { flex: 0 0 auto; min-width: 58px; padding: 6px 6px; white-space: nowrap; overflow-wrap: normal; hyphens: manual; }
}

/* ------------------------------------------------------------------ Google ile giriş
   Google marka kuralları: çok renkli G, açık temada beyaz zemin + gri çizgi, koyu temada koyu zemin. */
.btn.gbtn { --g-bg: #ffffff; --g-line: #747775; --g-ink: #1f1f1f; background: var(--g-bg); border-color: var(--g-line); color: var(--g-ink); font-weight: 700; }
.btn.gbtn:hover { box-shadow: var(--shadow-sm); }
.btn.gbtn svg { flex: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn.gbtn { --g-bg: #131314; --g-line: #8e918f; --g-ink: #e3e3e3; }
}
:root[data-theme='dark'] .btn.gbtn { --g-bg: #131314; --g-line: #8e918f; --g-ink: #e3e3e3; }
/* Sosyal giriş düğmeleri: marka renkleri (Apple İK kuralı: siyah ya da beyaz; koyu temada beyaz). */
.idlist { display: grid; gap: 8px; }
.btn.idbtn { --id-bg: #000; --id-ink: #fff; background: var(--id-bg); border-color: var(--id-bg); color: var(--id-ink); font-weight: 700; }
.btn.idbtn:hover { box-shadow: var(--shadow-sm); filter: brightness(1.08); }
.btn.idbtn svg { flex: none; }
.btn.idbtn-facebook { --id-bg: #1877f2; }
.btn.idbtn-linkedin { --id-bg: #0a66c2; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn.idbtn-apple, :root:not([data-theme='light']) .btn.idbtn-x, :root:not([data-theme='light']) .btn.idbtn-tiktok { --id-bg: #fff; --id-ink: #000; }
}
:root[data-theme='dark'] .btn.idbtn-apple, :root[data-theme='dark'] .btn.idbtn-x, :root[data-theme='dark'] .btn.idbtn-tiktok { --id-bg: #fff; --id-ink: #000; }
.idmark-facebook { color: #1877f2; }
.idmark-linkedin { color: #0a66c2; }
.btn.idbtn .idmark { color: inherit; }
.idrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.idrow:last-child { border-bottom: 0; }
.idrow .grow { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.or-sep { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 0.85rem; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.idchip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface-2); min-width: 0; }
.idchip .grow { min-width: 0; overflow-wrap: anywhere; }
