/* Stil dosyası
   Telefon öncelikli, ~560px'lik tek sütun. Bütün ölçüler rem tabanlıdır; profildeki "Yazı boyutu"
   ayarı html[data-font] ile kökü büyütür. Fixed öğelerin (dock, sekme çubuğu) üst atalarında
   transform/filter kullanma. */

:root {
  --plum: #622584;
  --plum-d: #371849;
  --plum-m: #7c4899;
  --plum-l: #f2e9f7;
  --coral: #f0614f;
  --coral-l: #fdebe7;
  --cta: #d63f31;
  --cream: #faf8fc;
  --paper: #fff;
  --ink: #261a2d;
  --muted: #76677e;
  --line: #e6dfea;
  --line-d: #d3c7d9;
  --ok: #2e7d57;
  --ok-bg: #e3f4ea;
  --warn: #9a6200;
  --warn-bg: #fff2d6;
  --bad: #b3261e;
  --bad-bg: #fde8e6;
  --info: #1e4f8a;
  --info-bg: #e6f0fb;
  --r: 16px;
  --shadow: 0 1px 2px rgba(55, 24, 73, .06), 0 4px 14px rgba(55, 24, 73, .06);
  --col: 560px;
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --top-h: calc(56px + env(safe-area-inset-top, 0px));
  --tabs-h: 64px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html[data-font="large"] { font-size: 112.5%; }
html[data-font="xlarge"] { font-size: 125%; }
body {
  margin: 0;
  background: #ece6ef;
  color: var(--ink);
  font: 1rem/1.45 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.noscroll { overflow: hidden; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, blockquote, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.25; }
a { color: var(--plum); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled, [disabled] { cursor: default; }
:focus-visible { outline: 3px solid #9975ad; outline-offset: 2px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- Kabuk ---------- */
#app {
  position: relative;
  max-width: var(--col);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--line), 0 0 48px rgba(55, 24, 73, .1);
}
.view { padding: 12px 12px 28px; }
.view:focus { outline: none; }
body.has-tabs .view { padding-bottom: calc(var(--tabs-h) + var(--sab) + 24px); }
body.bare .view { padding: 0; }
.view > .pad-in { padding: 4px; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  padding-top: var(--sat);
  background: rgba(250, 248, 252, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 6px; height: 56px; padding: 0 8px 0 16px; }
.top-in:has(> .top-back) { padding-left: 4px; }
.top-title {
  flex: 1;
  min-width: 0;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--plum-d);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-logo { display: inline-flex; flex: none; margin-right: 2px; }
.top-logo img { display: block; border-radius: 50%; }
.top-r { display: flex; flex: none; align-items: center; gap: 2px; }
.top-av { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; text-decoration: none; }

.tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: stretch;
  width: min(100%, var(--col));
  height: calc(var(--tabs-h) + var(--sab));
  margin: 0 auto;
  padding-bottom: var(--sab);
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(55, 24, 73, .06);
}
.tab {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px 4px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  text-decoration: none;
}
.tab.on { color: var(--plum); }
.tab-l { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab .badge { top: 5px; left: calc(50% + 6px); right: auto; }
.plus-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-top: -16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c4899, var(--plum));
  color: #fff;
  box-shadow: 0 6px 16px rgba(98, 37, 132, .4);
  transition: transform .1s;
}
.tab-plus:active .plus-btn { transform: scale(.93); }

.badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--cta);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #fff;
}

/* ---------- Simgeler ve düğmeler ---------- */
.ic { flex: none; vertical-align: middle; }
.ic.inline { display: inline-block; margin-right: 4px; vertical-align: -3px; }

.icon-btn {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--plum);
  text-decoration: none;
}
.icon-btn:active { background: var(--plum-l); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--plum-l);
  color: var(--plum);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  user-select: none;
  transition: background-color .15s, transform .08s, opacity .15s;
}
.btn:active:not([disabled]) { transform: scale(.98); }
.btn[disabled], .btn[data-busy] { opacity: .55; }
.btn-primary { background: var(--plum); color: #fff; }
.btn-plum { background: var(--plum); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-d); color: var(--plum); }
.btn-danger { background: var(--bad); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

.link-btn {
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--plum);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn[disabled] { color: var(--muted); text-decoration: none; }

@media (hover: hover) {
  .icon-btn:hover { background: var(--plum-l); }
  .btn-primary:hover:not([disabled]) { background: var(--plum-d); }
  .btn-plum:hover:not([disabled]) { background: var(--plum-d); }
  .btn-ghost:hover:not([disabled]) { background: var(--plum-l); }
  .btn-danger:hover:not([disabled]) { background: #99201a; }
}

/* ---------- Genel parçalar ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.pad, .pad-in { padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.center { text-align: center; }
div.center { display: flex; justify-content: center; align-items: center; padding: 8px 0; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.hint.warn { padding: 10px 12px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); }
.sub { margin: 14px 0 6px; font-size: .95rem; }
.sec { display: flex; align-items: baseline; gap: 6px; margin: 6px 4px 0; font-size: 1.05rem; }
.sec .muted { font-weight: 500; }
.sec-s {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 4px 8px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.card > .sec-s:first-child { margin: 0 0 10px; }
.stack > .sec-s { margin: 0 0 -4px; }
.dot:empty { display: inline-block; width: 9px; height: 9px; margin-left: 4px; border-radius: 50%; background: var(--cta); vertical-align: middle; }
.dot:not(:empty) { margin: 0 2px; color: var(--muted); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--plum-l);
  color: var(--plum);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--plum-l);
  color: var(--plum);
  font-size: .78rem;
  font-style: normal;
  font-weight: 650;
}

.banner {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--plum-l);
  color: var(--plum-d);
  font-size: .92rem;
  line-height: 1.45;
  text-decoration: none;
}
a.banner { display: block; }
.banner:has(> .ic:first-child:not(.inline)) { display: flex; align-items: flex-start; gap: 10px; }
.banner > p { margin-bottom: 8px; }
.banner > .row-btns { margin-top: 10px; }
.banner a { color: inherit; font-weight: 700; }
.banner.bad { background: var(--bad-bg); color: var(--bad); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner.dev { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--info-bg); color: var(--info); }

.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 24px; text-align: center; }
.empty-ic { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 4px; border-radius: 50%; background: var(--plum-l); color: var(--plum); }
.empty h3 { font-size: 1.15rem; }
.empty p { max-width: 34ch; margin-bottom: 8px; color: var(--muted); }

.spin {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid var(--plum-l);
  border-top-color: var(--plum);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }

/* Avatar */
.av { flex: none; border-radius: 50%; object-fit: cover; background: #e4dce8; }
.av-i { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 750; letter-spacing: .02em; user-select: none; }

/* Satırlar ve listeler */
.list { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.list > .row + .row { border-top: 1px solid var(--line); }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  text-decoration: none;
}
a.row, button.row { cursor: pointer; }
a.row:active, button.row:active { background: #f4f0f7; }
.card.row { border: 1px solid var(--line); background: var(--paper); }
.row-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row-t b { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t b .pill { margin-left: 6px; vertical-align: 1px; }
.row-t small { display: block; color: var(--muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-t .tags { margin-top: 4px; }
.row-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--muted); font-size: .76rem; }

/* ---------- Formlar ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lbl { font-size: .92rem; font-weight: 700; color: var(--ink); }
.lbl .muted { font-weight: 500; }
.input, .textarea, .select {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid var(--line-d);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder, .dock textarea::placeholder { color: #a298a8; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(98, 37, 132, .18); }
.input:disabled, .textarea:disabled, .select:disabled { background: #f1ecf4; color: var(--muted); }
.textarea { min-height: 96px; resize: vertical; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2376677e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.searchbar { position: relative; display: flex; align-items: center; }
.searchbar > .ic { position: absolute; left: 15px; color: var(--muted); pointer-events: none; }
.searchbar .input { padding-left: 44px; border-radius: 999px; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0; cursor: pointer; }
.switch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.switch-text small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.switch {
  position: relative;
  flex: none;
  width: 52px;
  height: 32px;
  margin: 0;
  border-radius: 16px;
  background: #c7bccd;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .2s;
  cursor: pointer;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  transition: transform .2s;
}
.switch:checked { background: var(--plum); }
.switch:checked::after { transform: translateX(20px); }

/* Çipler ve sekmeli seçici */
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.scroll-x { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.feed > .chips, .directory > .chips, .aid > .chips, .strip-row { margin-inline: -12px; padding-inline: 12px; }
.chip {
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--line-d);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 650;
  white-space: nowrap;
}
.chip small { opacity: .7; font-size: .8em; }
.chip.on { background: var(--plum); border-color: var(--plum); color: #fff; }
.chips-l { flex: none; color: var(--muted); font-size: .74rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }

.seg { display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; border-radius: 999px; background: #ebe4ef; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg.scroll-x { display: flex; }
.seg-b {
  flex: none;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--plum-d);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
}
.seg-b.on { background: #fff; color: var(--plum); box-shadow: 0 1px 3px rgba(55, 24, 73, .2); }
.seg-b .pill { margin-left: 6px; padding: 1px 7px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.bar > .scroll-x { flex: 1; min-width: 0; }

/* ---------- Alt sayfa, menü, bildirim, büyük fotoğraf ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; inset: 0; background: rgba(38, 26, 45, .52); opacity: 0; transition: opacity .2s; cursor: pointer; }
.sheet-wrap.in .sheet-back { opacity: 1; }
.sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, var(--col));
  max-height: 90vh;
  max-height: 90dvh;
  padding-bottom: var(--sab);
  border-radius: 24px 24px 0 0;
  background: var(--cream);
  box-shadow: 0 -8px 40px rgba(38, 26, 45, .25);
  transform: translateY(100%);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}
.sheet-wrap.in .sheet { transform: none; }
.sheet.sheet-tall { height: 90vh; height: 90dvh; }
.sheet-grab { flex: none; width: 40px; height: 4px; margin: 10px auto 2px; border-radius: 2px; background: var(--line-d); }
.sheet-title { flex: none; padding: 8px 20px 6px; font-size: 1.15rem; }
.sheet-body { flex: 1; min-height: 0; padding: 8px 20px 22px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.sheet-msg { margin-bottom: 16px; line-height: 1.5; }
.sheet-btns { display: flex; flex-direction: column; gap: 10px; }
.sheet-body > .steps + .hint { margin-top: 12px; }
.sheet-body > .btn-block { margin-top: 18px; }
.sheet-body > .btn-block + .btn-block { margin-top: 10px; }

.menu { display: flex; flex-direction: column; gap: 2px; }
.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 52px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-size: 1.02rem;
  font-weight: 650;
  text-align: left;
}
.menu-item:active { background: #ede7f1; }
.menu-item.danger { color: var(--bad); }

.emoji-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 8px 0; }
.emoji-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; font-size: 1.6rem; line-height: 1; }
.emoji-btn.on { border-color: var(--plum); background: var(--plum-l); }

#toasts {
  position: fixed;
  top: calc(var(--sat) + 10px);
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  pointer-events: none;
}
.toast {
  max-width: min(100%, 440px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--plum-d);
  color: #fff;
  font-size: .95rem;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  pointer-events: auto;
  animation: toast-in .22s ease-out;
  transition: opacity .26s, transform .26s;
}
.toast.error { background: #8f1d16; }
.toast.ok { background: #1f6b49; }
.toast.link { cursor: pointer; }
.toast.out { opacity: 0; transform: translateY(-8px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding-top: var(--sat);
  padding-bottom: var(--sab);
  background: #0f0912;
  color: #fff;
  animation: fade .15s;
}
.lb-top { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 8px; }
.lb-btn { color: #fff; }
.lb-btn:active { background: rgba(255, 255, 255, .16); }
.lb-count { font-size: .9rem; font-weight: 650; opacity: .85; }
.lb-spacer { width: 44px; height: 44px; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y pinch-zoom; }
.lb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 64px; margin-top: -32px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .14); color: #fff; }
.lb-nav.prev { left: 8px; }
.lb-nav.next { right: 8px; }
.lb-cap { flex: none; max-height: 24vh; padding: 10px 18px 16px; overflow: auto; font-size: .92rem; text-align: center; }
.lb-cap p { margin-top: 2px; opacity: .9; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------- Akış ve gönderiler ---------- */
.feed { display: flex; flex-direction: column; gap: 12px; }
#feed-list { display: flex; flex-direction: column; gap: 12px; }
.composer { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; color: var(--muted); text-align: left; }
.composer-t { flex: 1; min-width: 0; }
.composer > .ic:last-child { color: var(--plum-m); }

.strip { display: flex; flex-direction: column; gap: 8px; }
.strip-h { display: flex; align-items: center; justify-content: space-between; padding: 0 4px; }
.strip-h h3 { display: flex; align-items: center; gap: 6px; font-size: 1rem; }
.strip-h a { display: inline-flex; align-items: center; color: var(--plum); font-size: .9rem; font-weight: 650; text-decoration: none; }
.strip-row { display: flex; gap: 10px; padding-top: 2px; padding-bottom: 4px; }
.emini {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 190px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}
.emini-emoji { font-size: 1.6rem; line-height: 1.2; }
.emini b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.emini small { color: var(--muted); }
.emini .pill { margin-top: 6px; }
.bday {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 88px;
  padding: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.bday .av { margin-bottom: 2px; }
.bday b { max-width: 100%; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bday small { color: var(--muted); font-size: .74rem; }

.pcard { position: relative; overflow: hidden; }
.pcard.pinned { border-color: #d7c2e2; }
.pcard.kind-urgent { border-color: #f0b8b2; box-shadow: 0 0 0 1px #f0b8b2, var(--shadow); }
.pcard.kind-announcement { border-color: #ceb9d9; }
.phead { display: flex; align-items: center; gap: 10px; padding: 12px 6px 8px 12px; }
.phead-av { display: inline-flex; flex: none; text-decoration: none; }
.pmeta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pname { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.psub { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kind-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: calc(100% - 24px);
  margin: 0 12px 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--plum-l);
  color: var(--plum);
  font-size: .8rem;
  font-weight: 750;
}
.kind-badge.urgent { background: var(--bad-bg); color: var(--bad); }
.kind-badge.question { background: var(--info-bg); color: var(--info); }
.kind-badge.listing { background: var(--ok-bg); color: var(--ok); }
.kind-badge.announcement { background: var(--warn-bg); color: var(--warn); }
.pbody { padding: 0 14px 10px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.more-link { color: var(--plum); font-weight: 650; }
.pimg { display: block; width: 100%; padding: 0; border: 0; background: #ece6ef; cursor: zoom-in; }
.pimg img { display: block; width: 100%; min-height: 160px; max-height: 520px; object-fit: cover; }
.pbar { display: flex; align-items: center; gap: 2px; padding: 4px 8px 8px; }
.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}
button.act:active, a.act:active { background: var(--plum-l); }
.act.on { color: var(--cta); }
.act.static { cursor: default; }
.emo { font-size: 1.4rem; line-height: 1; }
.sum { margin-left: auto; padding-right: 8px; color: var(--muted); font-size: .9rem; }
.sum-e { margin-right: 4px; letter-spacing: -2px; }

.detail { display: flex; flex-direction: column; gap: 12px; }
#comments { display: flex; flex-direction: column; gap: 12px; }
.comment { display: flex; gap: 10px; }
.comment > a { flex: none; align-self: flex-start; }
.cbody { flex: 1; min-width: 0; }
.cbub { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; background: var(--paper); }
.cbub p { margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cname { color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.cmeta { display: flex; align-items: center; gap: 12px; padding: 2px 8px 0; color: var(--muted); font-size: .78rem; }
.cmeta .link-btn { color: var(--muted); font-size: .78rem; font-weight: 600; }

/* ---------- Paylaşım penceresi ---------- */
.compose { display: flex; flex-direction: column; gap: 12px; }
.kind-hint { min-height: 1.3em; color: var(--muted); font-size: .88rem; }
.kind-hint.warn { padding: 10px 12px; border-radius: 12px; background: var(--warn-bg); color: var(--warn); line-height: 1.4; }
.compose .textarea { min-height: 140px; }
.compose-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.count { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.img-prev { position: relative; width: fit-content; max-width: 100%; }
.img-prev img { display: block; max-width: 100%; max-height: 220px; border-radius: 14px; }
.img-x { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; background: rgba(38, 26, 45, .72); color: #fff; }
.img-x:active { background: rgba(38, 26, 45, .9); }

/* ---------- Etkinlik listesi ---------- */
.events { display: flex; flex-direction: column; }
#elist { display: flex; flex-direction: column; gap: 12px; }
.ecard { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px; overflow: hidden; color: inherit; text-decoration: none; }
.ecard:active { background: #f9f6fb; }
.ecard.past { opacity: .78; }
.ecard.cancelled { opacity: .65; }
.ecard.cancelled h3 { text-decoration: line-through; }
.edate { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 56px; padding: 7px 0; border-radius: 14px; background: var(--plum-l); color: var(--plum); line-height: 1.1; }
.edate b { font-size: 1.5rem; }
.edate span { font-size: .72rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.ebody { flex: 1; min-width: 0; }
.ebody h3 { margin-bottom: 4px; font-size: 1.05rem; overflow-wrap: anywhere; }
.emeta { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 2px 12px; margin-bottom: 8px; color: var(--muted); font-size: .86rem; }
.emeta .em-i { display: inline-flex; align-items: flex-start; gap: 4px; min-width: 0; line-height: 1.4; }
.emeta .em-i .ic { flex: none; margin-top: 2px; }
.emeta .ic { vertical-align: -2px; }
.erow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; font-size: .85rem; }
.ecover { flex: none; width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }

/* ---------- Etkinlik odası ---------- */
.event { display: flex; flex-direction: column; gap: 12px; }
#ehead { display: flex; flex-direction: column; gap: 12px; }
.ehero { overflow: hidden; }
.ehero-img { display: block; width: 100%; padding: 0; border: 0; background: #ece6ef; cursor: zoom-in; }
.ehero-img img { display: block; width: 100%; height: 200px; object-fit: cover; }
.ehero-emoji { display: grid; place-items: center; height: 110px; background: linear-gradient(135deg, var(--plum-l), #e3d2f1); font-size: 3.4rem; }
.ehero-body { padding: 14px 16px 16px; }
.etitle { margin-bottom: 8px; font-size: 1.35rem; overflow-wrap: anywhere; }
.etags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.etags:empty { display: none; }
.einfo { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.einfo li { display: flex; align-items: flex-start; gap: 10px; }
.einfo .ic { margin-top: 2px; color: var(--plum); }
.einfo a { font-weight: 650; }
.edesc { line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

.rsvp { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.rsvp-btns { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.rsvp-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 0 8px;
  border: 1.5px solid var(--line-d);
  border-radius: 14px;
  background: #fff;
  font-size: .92rem;
  font-weight: 700;
}
.rsvp-b.on.ok { border-color: var(--ok); background: var(--ok); color: #fff; }
.rsvp-b.on.warn { border-color: var(--warn); background: var(--warn); color: #fff; }
.rsvp-b.on.bad { border-color: var(--bad); background: var(--bad); color: #fff; }

.etabs {
  position: sticky;
  top: var(--top-h);
  z-index: 20;
  display: flex;
  gap: 4px;
  margin: 0 -12px;
  padding: 6px 12px;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.etabs::-webkit-scrollbar { display: none; }
.etab-b {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
}
.etab-b.on { background: var(--plum); color: #fff; }
.etab-b .ic.inline { margin: 0; }
.tab-in { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.etab > .empty { padding-top: 36px; }
.ann header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; font-size: .9rem; }
.ann p { line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }

.task { display: flex; flex-direction: column; gap: 10px; }
.task-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.task-h b { font-size: 1.02rem; overflow-wrap: anywhere; }
.task-a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.claimers { display: flex; flex-wrap: wrap; gap: 8px; }
.claimer { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px 3px 3px; border-radius: 999px; background: var(--plum-l); color: var(--plum-d); font-size: .85rem; font-weight: 650; text-decoration: none; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.gph { display: block; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: #ece6ef; }
.gph img { display: block; width: 100%; height: 100%; object-fit: cover; }

.eform { padding-bottom: 12px; }
.cover-prev { margin-bottom: 8px; }
.cover-prev img { display: block; width: 100%; max-height: 200px; border-radius: 14px; object-fit: cover; }

/* ---------- Sohbet (etkinlik ve özel mesaj) ---------- */
.chat { display: flex; flex-direction: column; padding: 8px 0 4px; }
#chat-list, #dm-list { display: flex; flex-direction: column; }
.day-sep { margin: 14px 0 8px; text-align: center; }
.day-sep span { display: inline-block; padding: 3px 12px; border-radius: 999px; background: #ebe4ef; color: var(--plum-d); font-size: .75rem; font-weight: 650; }
.msg { display: flex; align-items: flex-end; gap: 6px; margin-top: 2px; }
.msg.first { margin-top: 10px; }
.msg.mine { flex-direction: row-reverse; }
.msg-av { flex: none; display: inline-flex; width: 30px; text-decoration: none; }
.bubble {
  position: relative;
  min-width: 0;
  max-width: min(78%, 420px);
  padding: 7px 12px 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow-wrap: anywhere;
}
.msg.first .bubble { border-top-left-radius: 6px; }
.msg.mine .bubble { border-color: var(--plum); background: var(--plum); color: #fff; }
.msg.mine.first .bubble { border-top-left-radius: 18px; border-top-right-radius: 6px; }
.msg.mine .bubble a { color: #fff; }
.bubble p { line-height: 1.4; white-space: pre-wrap; }
.bubble time { display: block; margin-top: 2px; font-size: .68rem; text-align: right; opacity: .65; }
.msg-name { display: block; margin-bottom: 1px; color: var(--plum-m); font-size: .78rem; font-weight: 750; text-decoration: none; }
.msg-img { display: block; width: 240px; max-width: 100%; margin: 1px 0 5px; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #ece6ef; cursor: zoom-in; }
.msg-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.msg-more { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); opacity: .45; }
@media (hover: hover) {
  .msg-more { opacity: 0; }
  .msg:hover .msg-more, .msg-more:focus-visible { opacity: .85; }
}

.dock-space { height: calc(78px + var(--sab)); }
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  width: min(100%, var(--col));
  margin: 0 auto;
  padding: 8px 10px calc(8px + var(--sab));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--line);
}
.dock.closed { align-items: center; justify-content: center; padding-top: 16px; padding-bottom: calc(16px + var(--sab)); color: var(--muted); font-size: .92rem; }
.dock-field { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: #f1ecf4; }
.dock-field .img-prev { margin: 8px 8px 0; }
.dock-field .img-prev img { max-height: 120px; }
.dock textarea { display: block; width: 100%; min-height: 44px; max-height: 140px; padding: 11px 14px; border: 0; outline: none; background: transparent; color: var(--ink); line-height: 1.35; resize: none; }
.send-btn { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--plum); color: #fff; }
.send-btn[disabled] { opacity: .5; }
.dock > .icon-btn { margin-bottom: 0; }

/* ---------- Mesajlar ---------- */
.inbox { display: flex; flex-direction: column; }
.inbox > .sec-s:first-child { margin-top: 0; }
.inbox-row.unread .row-t small { color: var(--ink); font-weight: 650; }
.inbox-row.unread .row-r time { color: var(--cta); font-weight: 700; }
.ev-av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--plum-l), #e3d2f1); font-size: 1.5rem; }
.unread-n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--cta); color: #fff; font-size: .75rem; font-weight: 800; line-height: 22px; text-align: center; }
.thread { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Rehber, üye profili, profilim ---------- */
.directory { display: flex; flex-direction: column; gap: 10px; }
.directory .hint:empty { display: none; }
.member { display: flex; flex-direction: column; gap: 12px; }
.mhero { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px 20px; background: linear-gradient(180deg, var(--plum-l), #fff 75%); text-align: center; }
.mhero h2 { margin-top: 8px; font-size: 1.4rem; overflow-wrap: anywhere; }
.mhero .tags { justify-content: center; }
.mhero .tags:empty { display: none; }
.card.offer { border-color: #d3c3dc; background: var(--plum-l); }
.card.offer .sec-s { color: var(--plum); }
.profile { display: flex; flex-direction: column; gap: 12px; }
.p-head { display: flex; align-items: center; gap: 16px; }
.p-info { flex: 1; min-width: 0; }
.p-info h2 { font-size: 1.25rem; overflow-wrap: anywhere; }
.p-info p { margin-bottom: 10px; }

.notifs { display: flex; flex-direction: column; }
.notifs > .sec-s:first-child { margin-top: 0; }
.notif.unread { background: #f7f1fb; }
.notif-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--plum-l); color: var(--plum); }
.notif.urgent .notif-ic { background: var(--bad-bg); color: var(--bad); }
.notif .row-t b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; text-align: left; }
.notif .row-t small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; text-align: left; }

/* ---------- Yönetim ---------- */
.admin { display: flex; flex-direction: column; }
#admin-body { display: flex; flex-direction: column; gap: 12px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.stat b { color: var(--plum); font-size: 1.7rem; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat.wide { grid-column: 1 / -1; }
.stat.warn { border-color: #f2d58a; background: var(--warn-bg); }
.stat.warn b { color: var(--warn); }
.stat.ok { border-color: #b6e0c8; background: var(--ok-bg); }
.stat.ok b { color: var(--ok); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters .select { min-height: 44px; }
.report { display: flex; flex-direction: column; gap: 10px; }
.report-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.snap { padding: 10px 12px; border-left: 3px solid var(--line-d); border-radius: 0 10px 10px 0; background: #f8f5fa; white-space: pre-wrap; overflow-wrap: anywhere; }
.rep-img { width: 100%; max-width: 220px; margin: 0; }
.rep-img img { max-height: 220px; aspect-ratio: auto; }
.rep-target { border: 1px solid var(--line); border-radius: 12px; }
.skip-list { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: .9rem; }

/* ---------- Karşılama, giriş, uygulamayı yükle ---------- */
.landing { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.land-hero {
  padding: calc(36px + var(--sat)) 24px 32px;
  border-radius: 0 0 32px 32px;
  background:
    radial-gradient(140px 140px at 88% 14%, rgba(190, 140, 230, .45), transparent 70%),
    radial-gradient(200px 200px at 6% 92%, rgba(255, 255, 255, .1), transparent 70%),
    linear-gradient(165deg, #692c8c 0%, var(--plum) 45%, var(--plum-d) 100%);
  color: #fff;
  text-align: center;
}
.land-logo { display: inline-block; margin-bottom: 12px; padding: 6px; border-radius: 50%; background: #fff; line-height: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
.land-logo img { display: block; border-radius: 50%; }
.land-hero h1 { font-size: 2.4rem; letter-spacing: -.02em; }
.land-org { margin-top: 4px; font-weight: 650; opacity: .85; }
.land-tag { max-width: 30ch; margin: 14px auto 0; font-size: 1.1rem; line-height: 1.4; }
.land-cta { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 24px auto 0; }
.land-cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.land-cta .btn-ghost:active { background: rgba(255, 255, 255, .14); }
.land-cta .btn-primary { background: #fff; color: var(--plum); }
@media (hover: hover) {
  .land-cta .btn-primary:hover:not([disabled]) { background: var(--plum-l); }
  .land-cta .btn-ghost:hover:not([disabled]) { background: rgba(255, 255, 255, .14); }
}
.land-cta .hint { color: rgba(255, 255, 255, .78); }
.land-sec { width: 100%; padding: 28px 20px 4px; }
.land-sec h2 { margin-bottom: 14px; font-size: 1.25rem; }
.land-feats { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.land-feat { display: flex; align-items: flex-start; gap: 14px; padding: 14px; }
.land-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--plum-l); color: var(--plum); }
.land-feat h3 { margin-bottom: 2px; font-size: 1rem; }
.land-feat p { font-size: .9rem; }
.land-foot { padding: 28px 20px calc(32px + var(--sab)); text-align: center; }

.steps { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.4; }
.step-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--plum); color: #fff; font-size: .85rem; font-weight: 750; }
.url-box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.url-box code { flex: 1; min-width: 0; font-size: .9rem; overflow-wrap: anywhere; }

.auth { display: flex; flex-direction: column; gap: 18px; min-height: 100vh; min-height: 100dvh; padding: calc(32px + var(--sat)) 20px calc(20px + var(--sab)); }
.auth-head { text-align: center; }
.auth-logo { display: inline-block; line-height: 0; }
.auth-logo img { display: block; border-radius: 50%; }
.auth-head h1 { margin: 10px 0 2px; color: var(--plum-d); font-size: 1.7rem; }
.auth-card { display: flex; flex-direction: column; gap: 14px; }
.auth-card h2 { font-size: 1.2rem; }
.phone-in { display: flex; align-items: stretch; overflow: hidden; border: 1.5px solid var(--line-d); border-radius: 12px; background: #fff; }
.phone-in:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(98, 37, 132, .18); }
.phone-pre { display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--line); background: #f1ecf4; color: var(--plum-d); font-weight: 750; }
.phone-in .input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; font-size: 1.15rem; letter-spacing: .04em; }
.pw-in { display: flex; align-items: stretch; overflow: hidden; border: 1.5px solid var(--line-d); border-radius: 12px; background: #fff; }
.pw-in:focus-within { border-color: var(--plum); box-shadow: 0 0 0 3px rgba(98, 37, 132, .18); }
.pw-in .input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.pw-toggle { flex: none; min-height: 44px; padding: 0 14px; border: 0; border-left: 1px solid var(--line); background: #f1ecf4; color: var(--plum); font-weight: 700; }
.pw-toggle:active { background: var(--plum-l); }
.auth-card > [role="alert"]:empty { display: none; }
.auth-done { align-items: center; text-align: center; }
.done-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); }
.auth-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.auth-foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 8px; text-align: center; }
.dev-box { border: 1.5px dashed #bca6c9; background: #faf8fc; }
.dev-box .list { margin-top: 10px; box-shadow: none; }

/* ---------- Başvurular ve geçici şifreler ---------- */
.land-cta-row { display: flex; gap: 10px; }
.land-cta-row .btn { flex: 1; }
.app-card { display: flex; flex-direction: column; gap: 10px; }
.app-h { display: flex; align-items: center; gap: 12px; }
.cred { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px; border: 1.5px dashed var(--line-d); border-radius: 14px; background: #f8f5fa; text-align: center; }
.cred-lbl { color: var(--muted); font-size: .85rem; }
.cred-pw { font-size: 1.6rem; font-weight: 750; letter-spacing: .08em; overflow-wrap: anywhere; user-select: all; }
.cred-list { max-height: 240px; margin: 12px 0; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.cred-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.cred-row + .cred-row { border-top: 1px solid var(--line); }
.cred-code { flex: none; font-weight: 700; user-select: all; }

/* ---------- Dayanışma panosu ---------- */
.aid, .aid-detail { display: flex; flex-direction: column; gap: 12px; }
.aid-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b9e0c8;
  border-radius: var(--r);
  background: linear-gradient(135deg, #e3f4ea 0%, #f4fbf7 100%);
  color: var(--ok);
  text-align: left;
}
.aid-banner-ic { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ok); color: #fff; }
.aid-banner-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.aid-banner-t b { color: #1f5c3f; font-size: 1.02rem; }
.aid-banner-t small { color: #3f7a5c; font-size: .85rem; }
.aid-banner.bump .aid-banner-ic { animation: aid-pop .6s cubic-bezier(.2, .9, .3, 1.4); }
.aid-status { display: flex; width: 100%; }
.aid-status .seg-b { flex: 1; padding: 0 8px; }
.aid-sep { flex: none; width: 1px; height: 22px; margin: 0 2px; background: var(--line-d); }

.aid-cards { display: flex; flex-direction: column; gap: 12px; }
.aid-card { position: relative; overflow: hidden; }
.aid-card.urgent { border-color: #f0b8b2; box-shadow: 0 0 0 1px #f0b8b2, var(--shadow); }
.aid-card.solved { border-color: #9fd3b6; background: var(--ok-bg); }
.aid-solved-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--ok); color: #fff; font-size: .92rem; font-weight: 750; }
.aid-tick { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ok); }
.aid-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 6px; }
.aid-badge { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 750; }
.aid-badge.need { background: var(--coral-l); color: #a8412f; }
.aid-badge.offer { background: var(--plum-l); color: var(--plum); }
.aid-badge.cat { background: #efecf1; color: #554a5b; }
.aid-badge.urgent { background: var(--bad-bg); color: var(--bad); }
.aid-title { margin: 0; padding: 0 14px 6px; font-size: 1.12rem; line-height: 1.3; overflow-wrap: anywhere; }
.aid-title a { color: var(--ink); text-decoration: none; }
h2.aid-title { font-size: 1.3rem; }
.aid-card .pimg { margin-top: 2px; }
.aid-card .pimg img { max-height: 320px; }
.aid-detail .aid-card .pimg img { max-height: 520px; }
.aid-foot { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.aid-solve-btn { background: var(--ok); color: #fff; }
.aid-solve-btn:active:not([disabled]) { background: #256849; }
.aid-done-msg { display: flex; align-items: center; gap: 8px; color: #1f5c3f; font-weight: 650; line-height: 1.35; }
.aid-done-msg .ic { flex: none; color: var(--ok); }
.aid-card.just-solved { animation: aid-glow 1.4s ease-out; }
.aid-card.just-solved .aid-tick { animation: aid-pop .6s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes aid-pop { 0% { transform: scale(.5); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes aid-glow { 0% { box-shadow: 0 0 0 0 rgba(46, 125, 87, .55), var(--shadow); } 100% { box-shadow: 0 0 0 18px rgba(46, 125, 87, 0), var(--shadow); } }
@media (hover: hover) { .aid-solve-btn:hover:not([disabled]) { background: #256849; } }

.aid-teaser { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-color: #b9e0c8; background: linear-gradient(135deg, #e3f4ea 0%, #fff 100%); color: inherit; text-decoration: none; }
.aid-teaser-ic { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ok); color: #fff; }
.aid-teaser-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.aid-teaser-t b { font-size: 1.02rem; }
.aid-teaser-t small { overflow: hidden; color: var(--muted); font-size: .86rem; text-overflow: ellipsis; white-space: nowrap; }
.aid-teaser > .ic:last-child { color: var(--ok); }

.aid-pick { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.aid-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 2px solid var(--line-d); border-radius: 16px; background: #fff; color: var(--ink); text-align: left; }
.aid-opt:active { transform: scale(.99); }
.aid-opt.need { border-color: #f3c8c0; background: var(--coral-l); }
.aid-opt.offer { border-color: #d3c3dc; background: var(--plum-l); }
.aid-opt-ic { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.aid-opt.need .aid-opt-ic { color: var(--cta); }
.aid-opt.offer .aid-opt-ic { color: var(--plum); }
.aid-opt-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aid-opt-t b { font-size: 1.05rem; line-height: 1.25; }
.aid-opt-t small { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.aid-opt.offer .aid-opt-t small { color: var(--plum-d); }
.aid-opt > .ic:last-child { flex: none; color: var(--muted); }
.aid-form { display: flex; flex-direction: column; gap: 12px; }
.aid-chosen { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.aid-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.aid-lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }

/* ---------- Geniş ekran ve erişilebilirlik ---------- */
@media (max-width: 560px) {
  body { background: var(--cream); }
  #app { box-shadow: none; }
}

@media (min-width: 700px) {
  .sheet-wrap { align-items: center; }
  .sheet { width: min(100%, 480px); border-radius: 24px; opacity: 0; transform: translateY(24px) scale(.98); transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .2s; }
  .sheet-wrap.in .sheet { opacity: 1; transform: none; }
  .sheet.sheet-tall { height: auto; min-height: min(520px, 90dvh); max-height: min(90dvh, 720px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
