:root {
  --navy-950: #040c17;
  --navy-900: #071426;
  --navy-850: #0a182b;
  --navy-800: #0d2340;
  --navy-700: #17365f;
  --gold: #e2ae2d;
  --text: #f3f6fb;
  --muted: #9aa8ba;
  --soft: #cbd4df;
  --line: #223149;
  --danger: #ff6d76;
  --blue: #63a9ff;
  --green: #40d69b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-950);
  color: var(--text);
  font: 15px/1.55 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; }
[hidden], .is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page { min-height: 100vh; }
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 74px;
  padding: 0 max(20px, calc((100% - 760px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e4e8ee;
  background: #fff;
}
.brand {
  width: 178px;
  height: 48px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  border-radius: 9px;
  background: #fff;
}
.brand img { width: 158px; height: auto; }
.primary-action {
  height: 40px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  color: #071426;
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
  transition: transform .18s ease, filter .18s ease;
}
.primary-action:hover { transform: translateY(-1px); filter: brightness(1.07); }
.primary-action svg { width: 17px; height: 17px; }

.stream-shell {
  width: min(760px, 100%);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  background: var(--navy-900);
}
.feed-column { min-width: 0; }
.stream-title {
  min-height: 92px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.stream-title h1 { margin: 0; font-size: 25px; line-height: 1.2; letter-spacing: -.025em; }
.stream-title p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.stream-title > span { flex: 0 0 auto; color: var(--muted); font-size: 12px; }

.system-notice {
  margin: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(226,174,45,.35);
  border-radius: 10px;
  color: #f6dfa3;
  background: rgba(226,174,45,.1);
}
.system-notice svg { flex: 0 0 auto; color: var(--gold); }
.system-notice strong, .system-notice span { display: block; }
.system-notice strong { color: #fff; font-size: 13px; }
.system-notice span { margin-top: 2px; font-size: 12px; }
.system-notice a { color: var(--gold); font-weight: 800; }

.quick-compose {
  width: calc(100% - 32px);
  min-height: 64px;
  margin: 16px;
  padding: 10px 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #33435b;
  border-radius: 13px;
  color: var(--muted);
  background: var(--navy-850);
  text-align: left;
  transition: border-color .18s ease, background .18s ease;
}
.quick-compose:hover { border-color: #546984; background: #0e1d32; }
.quick-compose > svg { color: var(--gold); }
.compose-avatar {
  display: grid !important;
  place-items: center;
  border: 1px solid #415675;
  border-radius: 50%;
  color: var(--gold);
  background: #112947;
  font-size: 22px;
}

.feed-toolbar {
  padding: 0 16px;
  border-block: 1px solid var(--line);
  background: #081322;
}
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  position: relative;
  min-height: 48px;
  padding: 0 13px;
  flex: 0 0 auto;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
}
.tabs button::after {
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 2px;
  border-radius: 3px;
  background: transparent;
  content: "";
}
.tabs button.active { color: #fff; }
.tabs button.active::after { background: var(--gold); }

.feed-list { min-height: 300px; }
.post-card {
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  background: var(--navy-900);
  animation: postIn .42s both cubic-bezier(.22,1,.36,1);
}
.post-card:nth-child(2) { animation-delay: .04s; }
.post-card:nth-child(3) { animation-delay: .08s; }
@keyframes postIn { from { opacity: 0; transform: translateY(9px); } }
.post-card:hover { background: #09172a; }
.avatar, .comment-avatar {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid #385071;
  border-radius: 50%;
  object-fit: cover;
}
.post-content { min-width: 0; }
.post-author { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-author > div { min-width: 0; display: flex; align-items: baseline; gap: 9px; }
.post-author strong { overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.post-author time { flex: 0 0 auto; color: #7f8da0; font-size: 12px; }
.icon-action {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  color: #758398;
  background: transparent;
}
.icon-action:hover { color: var(--gold); background: #12243d; }
.icon-action svg { width: 17px; height: 17px; }
.post-meta { margin-top: 6px; display: flex; align-items: center; gap: 8px; color: #7f8da0; font-size: 11px; }
.category-pill { font-weight: 900; }
.category-pill.danger { color: var(--danger); }
.category-pill.blue { color: var(--blue); }
.category-pill.gold { color: var(--gold); }
.category-pill.navy { color: #aab7c8; }
.post-card h2 { margin: 9px 0 5px; color: #f7f9fc; font-size: 18px; line-height: 1.35; letter-spacing: -.012em; }
.post-body { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.62; overflow-wrap: anywhere; }
.statement-note { margin-top: 10px; color: #728197; font-size: 10px; }
.post-actions { margin-top: 13px; display: flex; align-items: center; gap: 7px; }
.post-actions button {
  min-height: 34px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  color: #a9b5c5;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}
.post-actions button:hover { color: #fff; background: #12243d; }
.post-actions button.is-active { color: var(--green); }
.post-actions svg { width: 17px; height: 17px; }
.post-actions strong { color: inherit; font-size: 12px; }

.comments-panel { margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
.comments-list { display: grid; gap: 2px; }
.comment-item {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  border-bottom: 1px solid rgba(34,49,73,.72);
}
.comment-avatar { width: 34px; height: 34px; }
.comment-content { min-width: 0; }
.comment-item header { display: flex; justify-content: space-between; gap: 10px; }
.comment-item strong { color: #fff; font-size: 12px; }
.comment-item time { color: #728197; font-size: 11px; }
.comment-item p { margin: 3px 0 0; color: var(--soft); font-size: 13px; overflow-wrap: anywhere; }
.comments-loading { padding: 14px 0; color: var(--muted); font-size: 12px; }
.quick-comment { margin-top: 13px; display: grid; gap: 8px; }
.quick-comment textarea,
.quick-comment input,
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  border: 1px solid #344760;
  border-radius: 9px;
  color: var(--text);
  background: #081422;
  outline: 0;
}
.quick-comment textarea { min-height: 70px; padding: 11px 12px; resize: vertical; }
.quick-comment input { height: 39px; padding: 0 11px; }
.quick-comment textarea:focus,
.quick-comment input:focus,
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus { border-color: #6a82a2; box-shadow: 0 0 0 3px rgba(99,169,255,.1); }
.comment-submit-row { display: grid; grid-template-columns: 145px 1fr auto; align-items: center; gap: 9px; }
.comment-submit-row small { color: #728197; font-size: 10px; }
.comment-submit-row button,
.button-primary {
  height: 39px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 8px;
  color: #071426;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.comment-submit-row svg, .button-primary svg { width: 15px; height: 15px; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-state svg { width: 27px; height: 27px; color: var(--gold); }
.empty-state h2 { margin: 10px 0 3px; color: #fff; font-size: 18px; }
.empty-state p { margin: 0; font-size: 13px; }

.site-footer {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 23px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-top: 0;
  color: var(--muted);
  background: #06101d;
}
.footer-note { display: flex; align-items: center; gap: 10px; }
.footer-note > svg { flex: 0 0 auto; color: var(--gold); }
.footer-note strong, .footer-note span { display: block; }
.footer-note strong { color: #dce3ec; font-size: 12px; }
.footer-note span { margin-top: 2px; font-size: 10px; }
.site-footer nav { display: flex; align-items: center; justify-content: flex-end; gap: 13px; flex-wrap: wrap; }
.site-footer a, .site-footer button { padding: 0; border: 0; color: #8d9bae; background: transparent; font-size: 11px; }
.site-footer a:hover, .site-footer button:hover { color: var(--gold); }

.modal {
  width: min(650px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  border: 1px solid #344860;
  border-radius: 16px;
  color: var(--text);
  background: var(--navy-900);
  box-shadow: 0 28px 100px rgba(0,0,0,.56);
}
.modal::backdrop { background: rgba(0,7,17,.78); backdrop-filter: blur(5px); }
.modal-shell { position: relative; }
.modal-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #49607c; border-radius: 50%; color: #fff; background: rgba(4,12,23,.35); }
.modal-close svg { width: 18px; height: 18px; }
.modal header { padding: 27px 29px 23px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,#0e2c52,#0a1b32); }
.modal header > span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.modal header h2 { margin: 7px 45px 5px 0; font-size: 24px; line-height: 1.25; }
.modal header p { max-width: 540px; margin: 0; color: #aebaca; font-size: 12px; }
.modal-form { padding: 22px 29px 27px; display: grid; gap: 14px; }
.modal-form label { display: grid; gap: 6px; }
.modal-form label > span { color: #bdc7d4; font-size: 11px; font-weight: 800; }
.modal-form input, .modal-form select { height: 44px; padding: 0 12px; }
.modal-form textarea { padding: 11px 12px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-safety { padding: 11px 12px; display: flex; gap: 9px; border-radius: 9px; color: #9eacbd; background: #0d1d31; }
.form-safety svg { flex: 0 0 auto; color: var(--gold); }
.form-safety p { margin: 0; font-size: 11px; }
.form-message { padding: 11px 12px; border: 1px solid #3d526c; border-radius: 9px; font-size: 12px; font-weight: 800; }
.form-message.error { border-color: rgba(232,84,84,.5); color: #ffd7d7; background: rgba(139,33,42,.22); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* Yeni paylaşım: başlık ve aksiyonlar sabit, alanlar kendi içinde kayar. */
#composeModal { overflow: hidden; }
#composeModal .modal-shell {
  height: min(760px, calc(100dvh - 28px));
  max-height: calc(100dvh - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#composeModal header { flex: 0 0 auto; }
#composeModal .compose-form {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}
#composeModal .compose-scroll {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 29px;
  display: grid;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#composeModal .form-actions {
  flex: 0 0 auto;
  padding: 13px 29px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--navy-900);
  box-shadow: 0 -10px 24px rgba(4,12,23,.18);
}
.button-ghost { height: 39px; padding: 0 14px; border: 1px solid #344760; border-radius: 8px; color: #b5c0ce; background: transparent; font-size: 12px; font-weight: 800; }
.small-modal { max-width: 500px; }
.principles { padding: 20px 28px 27px; display: grid; gap: 9px; }
.principles p { margin: 0; padding: 11px 12px; border-left: 2px solid var(--gold); color: #aeb9c8; background: #0b1a2d; font-size: 12px; }
.principles strong { color: #fff; }

.toast-region { position: fixed; z-index: 1100; top: 16px; left: 50%; width: min(430px, calc(100% - 28px)); display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 12px 14px; border: 1px solid #3d526c; border-radius: 10px; color: #fff; background: #0d2039; box-shadow: 0 18px 45px rgba(0,0,0,.4); font-size: 12px; font-weight: 800; animation: toastIn .25s ease, toastOut .3s ease 4.3s forwards; }
.toast.success { border-left: 3px solid var(--green); }
.toast.error { border-left: 3px solid var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-8px); } }
.skeleton { min-height: 48px; border-radius: 8px; background: linear-gradient(90deg,#0d1c30 25%,#152944 45%,#0d1c30 65%); background-size: 300% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }


@media (max-width: 780px) {
  .site-header { padding: 0 16px; }
  .stream-shell { border-inline: 0; }
  .site-footer { border-inline: 0; }
}

@media (max-width: 600px) {
  .site-header { height: 66px; }
  .brand { width: 151px; height: 42px; padding: 6px 8px; }
  .brand img { width: 135px; }
  .primary-action { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .primary-action span { display: none; }
  .stream-shell { min-height: calc(100vh - 66px); }
  .stream-title { min-height: 78px; padding: 16px; }
  .stream-title h1 { font-size: 21px; }
  .stream-title p { font-size: 11px; }
  .stream-title > span { display: none; }
  .quick-compose { width: calc(100% - 24px); min-height: 57px; margin: 12px; grid-template-columns: 36px minmax(0,1fr) auto; font-size: 13px; }
  .compose-avatar { width: 36px !important; height: 36px !important; }
  .feed-toolbar { padding-inline: 8px; }
  .tabs button { min-height: 45px; padding-inline: 10px; font-size: 12px; }
  .post-card { padding: 18px 15px; grid-template-columns: 40px minmax(0,1fr); gap: 10px; }
  .avatar { width: 40px; height: 40px; }
  .post-author > div { display: grid; gap: 0; }
  .post-author strong { font-size: 13px; }
  .post-author time { font-size: 10px; }
  .post-card h2 { font-size: 16px; }
  .post-body { font-size: 14px; line-height: 1.58; }
  .post-actions { gap: 2px; }
  .post-actions button { padding-inline: 7px; }
  .post-actions span { font-size: 11px; }
  .comment-submit-row { grid-template-columns: minmax(0,1fr) auto; }
  .comment-submit-row small { display: none; }
  .site-footer { padding: 21px 16px 27px; display: grid; }
  .site-footer nav { justify-content: flex-start; }
  .modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: 13px; }
  .modal header, .modal-form { padding-left: 18px; padding-right: 18px; }
  .modal header h2 { font-size: 21px; }
  #composeModal .modal-shell { height: calc(100dvh - 16px); max-height: calc(100dvh - 16px); }
  #composeModal .compose-form { padding-left: 0; padding-right: 0; }
  #composeModal .compose-scroll { padding: 18px; }
  #composeModal .form-actions { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); }
  #composeModal .compose-scroll textarea { min-height: 130px; }
  .form-grid { grid-template-columns: 1fr; }
  .principles { padding-inline: 18px; }
}

@media (max-height: 650px) {
  #composeModal header { padding-top: 18px; padding-bottom: 15px; }
  #composeModal header h2 { margin-top: 4px; font-size: 19px; }
  #composeModal header p { font-size: 11px; line-height: 1.4; }
  #composeModal .compose-scroll { padding-top: 14px; padding-bottom: 14px; gap: 11px; }
  #composeModal .compose-scroll textarea { min-height: 110px; }
}

@media (max-width: 390px) {
  .post-card { padding-inline: 12px; }
  .post-actions button span { display: none; }
  .footer-note span { line-height: 1.45; }
  .form-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Blog */
.blog-shell {
  width: min(840px, 100%);
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  background: var(--navy-900);
}
.blog-header-action { text-decoration: none; }
.blog-breadcrumb {
  padding: 16px 28px 0;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: #8493a7;
  font-size: 11px;
}
.blog-breadcrumb a:hover { color: var(--gold); }
.blog-index-head {
  padding: 38px 32px 30px;
  border-bottom: 1px solid var(--line);
}
.blog-kicker {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-index-head h1,
.blog-article-head h1 {
  margin: 9px 0 10px;
  color: #f8fafc;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.blog-index-head p {
  max-width: 720px;
  margin: 0;
  color: #aeb9c7;
  font-size: 15px;
  line-height: 1.7;
}
.blog-list { display: grid; }
.blog-card {
  padding: 27px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--navy-900);
}
.blog-card:hover { background: #09172a; }
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #7f8da0;
  font-size: 11px;
}
.blog-card-meta span { color: var(--gold); font-weight: 850; }
.blog-card h2 {
  margin: 8px 0 8px;
  color: #f7f9fc;
  font-size: 21px;
  line-height: 1.34;
  letter-spacing: -.016em;
}
.blog-card h2 a:hover { color: #fff1bf; }
.blog-card p {
  margin: 0;
  color: #aeb9c7;
  font-size: 14px;
  line-height: 1.68;
}
.blog-card-bottom {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: #78879b;
  font-size: 11px;
}
.blog-card-bottom a { color: var(--gold); font-weight: 850; }
.blog-article {
  padding: 30px 32px 42px;
}
.blog-article-head {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.blog-dek {
  max-width: 740px;
  margin: 0;
  color: #b6c1cf;
  font-size: 17px;
  line-height: 1.65;
}
.blog-editor-note {
  margin: 22px 0;
  padding: 13px 15px;
  border: 1px solid rgba(226,174,45,.28);
  border-radius: 10px;
  color: #c5cfda;
  background: rgba(226,174,45,.07);
  font-size: 12px;
  line-height: 1.6;
}
.blog-editor-note strong { color: #fff1bf; }
.blog-fact-grid {
  margin: 22px 0 28px;
  display: grid;
  grid-template-columns: .7fr 1.5fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #081422;
}
.blog-fact-grid > div { padding: 14px 15px; border-right: 1px solid var(--line); }
.blog-fact-grid > div:last-child { border-right: 0; }
.blog-fact-grid span, .blog-fact-grid strong { display: block; }
.blog-fact-grid span { color: #7f8da0; font-size: 10px; }
.blog-fact-grid strong { margin-top: 4px; color: #f3f6fb; font-size: 13px; line-height: 1.35; }
.blog-copy { max-width: 740px; }
.blog-copy p {
  margin: 0 0 17px;
  color: #c8d1dc;
  font-size: 16px;
  line-height: 1.82;
}
.blog-copy h2 {
  margin: 34px 0 12px;
  color: #f5f8fb;
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -.02em;
}
.blog-copy h3 {
  margin: 25px 0 9px;
  color: #edf2f7;
  font-size: 18px;
  line-height: 1.35;
}
.blog-copy a { color: #f2c658; text-decoration: underline; text-underline-offset: 3px; }
.blog-cta {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid #344760;
  border-radius: 14px;
  background: #0b1a2d;
}
.blog-cta > span { color: var(--gold); font-size: 11px; font-weight: 900; }
.blog-cta h2 { margin: 5px 0 7px; font-size: 21px; line-height: 1.25; }
.blog-cta p { margin: 0; color: #aeb9c7; font-size: 13px; line-height: 1.65; }
.blog-cta a {
  width: fit-content;
  margin-top: 14px;
  padding: 10px 14px;
  display: inline-flex;
  border-radius: 8px;
  color: #071426;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.blog-disclaimer { margin-top: 18px; color: #6f7f94; font-size: 10px; line-height: 1.55; }

@media (max-width: 780px) {
  .blog-shell { border-inline: 0; }
}
@media (max-width: 600px) {
  .blog-shell { min-height: calc(100vh - 66px); }
  .blog-header-action { width: auto; height: 38px; padding: 0 12px; border-radius: 9px; font-size: 11px; }
  .blog-index-head { padding: 28px 18px 24px; }
  .blog-index-head h1, .blog-article-head h1 { font-size: 28px; }
  .blog-index-head p { font-size: 14px; }
  .blog-card { padding: 22px 18px; }
  .blog-card h2 { font-size: 18px; }
  .blog-card-bottom { align-items: flex-start; }
  .blog-breadcrumb { padding: 13px 18px 0; }
  .blog-article { padding: 24px 18px 34px; }
  .blog-dek { font-size: 15px; }
  .blog-fact-grid { grid-template-columns: 1fr; }
  .blog-fact-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .blog-fact-grid > div:last-child { border-bottom: 0; }
  .blog-copy p { font-size: 15px; line-height: 1.75; }
  .blog-copy h2 { font-size: 20px; margin-top: 29px; }
  .blog-cta { padding: 18px; }
}

/* Tartışmalar: sade akış */
.compact-title { min-height: 80px; padding-top: 16px; padding-bottom: 16px; }
.compact-title h1 { font-size: 21px; letter-spacing: -.02em; }
.compact-title p { margin-top: 3px; font-size: 12px; }
.discussion-body { margin-top: 10px; color: #d6dee8; font-size: 15px; line-height: 1.68; }
.post-card { transition: background .18s ease; }
.post-author { min-height: 32px; }
.statement-note { margin-top: 12px; }
.first-discussion { padding: 72px 24px; }
.first-discussion .button-primary { margin: 18px auto 0; }
#composeModal .compose-scroll > label { display: grid; gap: 6px; }
#composeModal .compose-scroll > label > span { color: #bdc7d4; font-size: 11px; font-weight: 800; }
#composeModal .compose-scroll textarea { min-height: 210px; }

@media (max-width: 600px) {
  .compact-title { min-height: 68px; padding: 13px 16px; }
  .compact-title h1 { font-size: 19px; }
  .compact-title p { font-size: 10.5px; }
  .discussion-body { margin-top: 8px; font-size: 14px; line-height: 1.62; }
  #composeModal .compose-scroll textarea { min-height: 180px; }
}

@media (max-width: 390px) {
  .compact-title h1 { font-size: 18px; }
  .quick-compose { margin: 10px; width: calc(100% - 20px); }
}

/* Üyelik ve profil fotoğrafı */
.header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.auth-entry-button {
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #d8dee7;
  border-radius: 10px;
  color: #14233a;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 34, 58, .06);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.auth-entry-button:hover { border-color: #b9c5d4; box-shadow: 0 7px 20px rgba(16, 34, 58, .1); transform: translateY(-1px); }
.auth-entry-button svg { width: 17px; height: 17px; color: #31567f; }
.member-pill {
  height: 40px;
  padding: 3px 5px 3px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d8dee7;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(16, 34, 58, .06);
}
.member-pill img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; border: 1px solid #e2e7ee; background: #edf1f5; }
.member-pill button { height: 30px; padding: 0 9px; border: 0; border-radius: 8px; color: #415068; background: transparent; font-size: 11px; font-weight: 850; }
.member-pill button:hover { color: #0b1a2d; background: #f0f3f7; }

.profile-photo-control {
  padding: 13px;
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  border: 1px solid #2f435e;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(17,41,71,.92), rgba(8,20,34,.96));
}
.profile-photo-preview { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; border: 1px solid #47617f; background: #0d2038; }
.profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo-copy { min-width: 0; display: grid; gap: 5px; }
.profile-photo-trigger {
  width: fit-content;
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex !important;
  grid-auto-flow: column;
  align-items: center;
  justify-content: center;
  gap: 7px !important;
  border: 1px solid #4c6380;
  border-radius: 8px;
  color: #f4f7fb;
  background: #122741;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.profile-photo-trigger:hover { border-color: #6f88a7; background: #17304f; }
.profile-photo-trigger svg { width: 16px; height: 16px; color: var(--gold); }
.profile-photo-trigger > span { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; }
.profile-photo-copy small { color: #8e9db0; font-size: 10.5px; line-height: 1.4; }
.profile-photo-control:not(.is-member) .profile-photo-copy small { color: #d8bf7c; }

.auth-modal { width: min(470px, calc(100% - 28px)); overflow: hidden; }
.auth-modal .modal-shell { max-height: calc(100dvh - 28px); overflow-y: auto; }
.auth-modal-head { padding-bottom: 21px !important; }
.auth-modal-head h2 { max-width: 340px; font-size: 22px !important; }
.auth-body { padding: 20px 25px 24px; }
.auth-tabs {
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border: 1px solid #293d57;
  border-radius: 11px;
  background: #071321;
}
.auth-tabs button {
  min-height: 39px;
  border: 0;
  border-radius: 8px;
  color: #8e9cae;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}
.auth-tabs button.active { color: #0a1728; background: var(--gold); box-shadow: 0 5px 18px rgba(226,174,45,.18); }
.auth-form { margin-top: 16px; display: grid; gap: 12px; }
.auth-form[hidden] { display: none !important; }
.auth-form label { display: grid; gap: 6px; }
.auth-form label > span { color: #c2ccd9; font-size: 11px; font-weight: 850; }
.auth-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #344760;
  border-radius: 10px;
  color: #f5f7fb;
  background: #081422;
  outline: 0;
}
.auth-form input:focus { border-color: #6a82a2; box-shadow: 0 0 0 3px rgba(99,169,255,.1); }
.auth-submit {
  min-height: 44px;
  margin-top: 2px;
  border: 0;
  border-radius: 10px;
  color: #071426;
  background: var(--gold);
  font-size: 12px;
  font-weight: 950;
}
.auth-submit:disabled { cursor: wait; opacity: .68; }
.auth-privacy { margin: 15px 2px 0; color: #75859a; font-size: 10px; line-height: 1.5; text-align: center; }
.auth-message { margin-top: 13px; padding: 10px 11px; border-radius: 9px; font-size: 11px; font-weight: 800; line-height: 1.45; }
.auth-message.error { border: 1px solid rgba(255,109,118,.4); color: #ffd1d4; background: rgba(151,42,50,.18); }
.auth-message.success { border: 1px solid rgba(64,214,155,.28); color: #bfead9; background: rgba(64,214,155,.08); }

@media (max-width: 600px) {
  .site-header { padding-inline: 12px; gap: 8px; }
  .brand { width: 152px; height: 44px; padding: 5px 5px; }
  .brand img { width: 142px; }
  .header-actions { gap: 6px; }
  .auth-entry-button { height: 38px; padding: 0 9px; gap: 5px; border-radius: 9px; font-size: 10.5px; }
  .auth-entry-button svg { width: 15px; height: 15px; }
  .member-pill { height: 38px; border-radius: 9px; }
  .member-pill img { width: 30px; height: 30px; border-radius: 8px; }
  .member-pill button { padding-inline: 6px; font-size: 10px; }
  .primary-action { width: 38px; height: 38px; }
  .primary-action.blog-header-action {
    width: auto;
    min-width: max-content;
    padding: 0 11px;
    border-radius: 9px;
    white-space: nowrap;
    font-size: 11px;
  }
  .profile-photo-control { grid-template-columns: 48px minmax(0,1fr); padding: 11px; gap: 10px; }
  .profile-photo-preview { width: 48px; height: 48px; }
  .profile-photo-trigger { min-height: 32px; padding-inline: 9px; font-size: 10.5px; }
  .auth-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  .auth-modal .modal-shell { max-height: calc(100dvh - 16px); }
  .auth-body { padding: 17px 18px calc(20px + env(safe-area-inset-bottom)); }
  .auth-modal-head h2 { font-size: 20px !important; }
}

@media (max-width: 390px) {
  .brand { width: 132px; }
  .brand img { width: 122px; }
  .auth-entry-button { padding-inline: 7px; }
  .auth-entry-button span { max-width: 74px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .member-pill button span { display: none; }
  .member-pill button::after { content: 'Çıkış'; }
}


/* Sayfalama */
.pagination,
.comment-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}
.feed-pagination {
  padding: 18px 16px 22px;
  border-top: 1px solid var(--line);
  background: #071321;
}
.pagination a,
.pagination span,
.comment-pagination button,
.comment-pagination span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border: 1px solid #31435d;
  border-radius: 9px;
  color: #9eadbf;
  background: #0a1a2d;
  font-size: 11px;
  font-weight: 900;
}
.pagination a:hover,
.comment-pagination button:hover { border-color: #617796; color: #fff; background: #10243d; }
.pagination a.active,
.comment-pagination button.active { border-color: var(--gold); color: #071426; background: var(--gold); }
.pagination span.ellipsis,
.comment-pagination span.ellipsis { border-color: transparent; background: transparent; }
.comment-pagination { margin: 12px 0 4px; justify-content: flex-start; }
.comment-pagination button { cursor: pointer; }

@media (max-width: 600px) {
  .feed-pagination { padding: 15px 12px 19px; }
  .pagination a,
  .pagination span,
  .comment-pagination button,
  .comment-pagination span { min-width: 34px; height: 34px; padding-inline: 8px; }
}

/* Hisse / fon arama ve etiketleri */
.stream-title {
  display: grid;
  grid-template-columns: minmax(185px, 1fr) minmax(230px, 330px);
  align-items: center;
  gap: 18px;
}
.stream-title-copy { min-width: 0; }
.instrument-picker { position: relative; min-width: 0; }
.instrument-filter { width: 100%; max-width: 330px; justify-self: center; z-index: 24; }
.instrument-search-box {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 11px;
  border: 1px solid #34475f;
  border-radius: 11px;
  background: #0a1a2d;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.instrument-search-box:focus-within {
  border-color: #647d9e;
  background: #0d2138;
  box-shadow: 0 0 0 3px rgba(97,119,150,.12);
}
.instrument-search-box > svg { width: 16px; height: 16px; flex: 0 0 auto; color: #8496ac; }
.instrument-search-box input {
  width: 100%; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0;
  color: #f3f6fa; background: transparent; font: inherit; font-size: 12px; font-weight: 700;
}
.instrument-search-box input::placeholder { color: #78899f; font-weight: 650; }
.instrument-search-box input::-webkit-search-cancel-button { display: none; }
.instrument-clear {
  width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center;
  border: 0; border-radius: 7px; color: #aebccc; background: #132943;
  font-size: 18px; line-height: 1; cursor: pointer;
}
.instrument-results {
  position: absolute; z-index: 80; top: calc(100% + 7px); left: 0; right: 0;
  max-height: min(360px, 48dvh); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border: 1px solid #354a65; border-radius: 12px;
  background: #0a192b; box-shadow: 0 18px 48px rgba(0,0,0,.38);
}
.instrument-option {
  width: 100%; min-height: 54px; padding: 8px 9px; display: flex; align-items: center;
  justify-content: space-between; gap: 10px; border: 0; border-radius: 8px;
  color: #fff; background: transparent; text-align: left; cursor: pointer;
}
.instrument-option:hover, .instrument-option:focus-visible { outline: 0; background: #102944; }
.instrument-option > span { min-width: 0; display: grid; gap: 2px; }
.instrument-option strong { color: #fff; font-size: 12px; letter-spacing: .01em; }
.instrument-option small { overflow: hidden; color: #91a3b9; font-size: 10px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.instrument-option b { flex: 0 0 auto; padding: 4px 7px; border: 1px solid #314862; border-radius: 999px; color: #9eb0c4; font-size: 8.5px; }
.instrument-option.all-instruments { border-bottom: 1px solid #243a54; border-radius: 8px 8px 3px 3px; }
.instrument-loading, .instrument-empty, .instrument-more { padding: 12px 10px; color: #8fa2b9; font-size: 10.5px; line-height: 1.45; }
.instrument-more { text-align: center; border-top: 1px solid #20364f; }
.instrument-tag {
  width: fit-content; margin: 8px 0 1px; padding: 5px 8px; display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #344c68; border-radius: 8px; color: #dce8f5; background: #0b1c31;
  font-size: 9px; font-weight: 850; transition: border-color .18s ease, background .18s ease;
}
.instrument-tag:hover { border-color: #617b9d; background: #102944; }
.instrument-tag strong { color: #f0b624; font-size: 10px; letter-spacing: .02em; }
.instrument-tag span { color: #91a3b8; }
.compose-instrument-field { display: grid; gap: 7px; }
.compose-instrument-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.compose-instrument-label > span { color: #bdc7d4; font-size: 11px; font-weight: 800; }
.compose-instrument-label > small { color: #72849a; font-size: 9px; font-weight: 700; }
#composeModal .compose-instrument-picker .instrument-search-box {
  height: 46px; min-height: 46px; padding: 0 12px; display: flex; align-items: center; gap: 10px;
  border-radius: 9px; background: #081727;
}
#composeModal .compose-instrument-picker .instrument-search-box > svg {
  width: 17px; height: 17px; flex: 0 0 auto; align-self: center;
}
#composeModal .compose-instrument-picker .instrument-search-box input {
  height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; font-size: 12px; line-height: 44px;
}
#composeModal .compose-instrument-picker .instrument-search-box input:focus { border: 0; box-shadow: none; }
#composeModal .compose-instrument-picker .instrument-clear { align-self: center; }
.compose-instrument-picker .instrument-results { max-height: min(300px, 42dvh); }


@media (max-width: 600px) {
  #composeModal .compose-instrument-picker .instrument-search-box {
    height: 44px; min-height: 44px; padding-inline: 11px;
  }
  #composeModal .compose-instrument-picker .instrument-search-box input {
    height: 42px; min-height: 42px; line-height: 42px; font-size: 12px;
  }
  .compose-instrument-label { gap: 8px; }
}

@media (max-width: 700px) {
  .stream-title {
    min-height: auto;
    padding: 15px 16px 14px;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px 10px;
  }
  .stream-title-copy { min-width: 0; }
  .instrument-filter { grid-column: 1 / -1; width: 100%; max-width: none; justify-self: stretch; }
  .instrument-search-box { min-height: 44px; }
  .instrument-search-box input { height: 42px; font-size: 12px; }
  .instrument-results { max-height: min(330px, 47dvh); }
}

@media (max-width: 390px) {
  .stream-title { padding-inline: 12px; }
  .stream-title h1 { font-size: 20px; }
  .stream-title p { max-width: 245px; line-height: 1.35; }
  .instrument-option { min-height: 52px; }
  .instrument-option small { max-width: 220px; }
}

/* Blog rehberleri ve blog sayfalama */
.blog-pagination {
  padding: 20px 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: #071321;
}
.blog-pagination a,
.blog-pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  display: grid;
  place-items: center;
  border: 1px solid #31435d;
  border-radius: 9px;
  color: #9eadbf;
  background: #0a1a2d;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.blog-pagination a:hover { border-color: #617796; color: #fff; background: #10243d; }
.blog-pagination span.active { border-color: var(--gold); color: #071426; background: var(--gold); }
.blog-guide-summary {
  margin: 22px 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #081422;
}
.blog-guide-summary > div { padding: 14px 15px; border-right: 1px solid var(--line); min-width: 0; }
.blog-guide-summary > div:last-child { border-right: 0; }
.blog-guide-summary span,
.blog-guide-summary strong { display: block; }
.blog-guide-summary span { color: #7f8da0; font-size: 10px; }
.blog-guide-summary strong { margin-top: 4px; color: #f3f6fb; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.blog-faq { display: grid; gap: 12px; margin: 2px 0 8px; }
.blog-faq section {
  padding: 15px 16px 13px;
  border: 1px solid #2b3d55;
  border-radius: 11px;
  background: #081728;
}
.blog-faq h3 { margin: 0 0 7px; color: #f3f6fb; font-size: 16px; line-height: 1.4; }
.blog-faq p { margin-bottom: 0; font-size: 14px; line-height: 1.7; }
.blog-related-links { display: grid; gap: 10px; margin-top: 4px; }
.blog-related-links a {
  padding: 14px 15px;
  display: grid;
  gap: 5px;
  border: 1px solid #2d405a;
  border-radius: 11px;
  background: #081728;
  text-decoration: none;
}
.blog-related-links a:hover { border-color: #5d7596; background: #0c2037; }
.blog-related-links span { color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.blog-related-links strong { color: #eef3f8; font-size: 14px; line-height: 1.42; }

@media (max-width: 600px) {
  .blog-pagination { padding: 16px 12px 20px; gap: 6px; }
  .blog-pagination a,
  .blog-pagination span { min-width: 34px; height: 34px; padding-inline: 8px; }
  .blog-guide-summary { grid-template-columns: 1fr; }
  .blog-guide-summary > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .blog-guide-summary > div:last-child { border-bottom: 0; }
  .blog-faq section { padding: 13px 14px 12px; }
  .blog-faq h3 { font-size: 15px; }
  .blog-related-links strong { font-size: 13px; }
}
.blog-card-meta span,
.blog-card-bottom span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .blog-card-meta { align-items: flex-start; }
  .blog-card-meta time { flex: 0 0 auto; }
  .blog-card-bottom { flex-direction: column; }
}
