/* ============================================================
 * Seçim 2028 — Cumhurbaşkanlığı + Genel Seçim preview page
 * Source: aidesigner ui_kits/website/presidential.{html,css,jsx}
 * ============================================================ */

/* Top strip — pres flavor */
.el-strip {
  background: var(--ink-900);
  color: #fff;
  border-bottom: 3px solid #FCA5A5;
}
.pres-strip { border-bottom: 3px solid #FCA5A5; }
.pres-strip-tag { background: #DC2626; }
.el-strip-right {
  display: inline-flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.el-strip-right b { color: #fff; font-weight: 800; }
.el-strip-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  font: 600 12px var(--font-body);
  flex-wrap: wrap;
  gap: 12px;
}
.el-strip-left { display: flex; align-items: center; gap: 14px; }
.el-strip-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: #DC2626;
  color: #fff;
  border-radius: 4px;
  font: 800 10px var(--font-body);
  letter-spacing: 0.14em;
}
.el-strip-dot {
  width: 6px; height: 6px; border-radius: 99px; background: #fff;
  animation: oy-pulse-success 1.6s infinite;
}
.el-strip-h { letter-spacing: 0.06em; color: #fff; font-weight: 700; }
.el-strip-right { color: rgba(255,255,255,0.75); font-size: 12px; }

/* Pres hero (dark gradient with red accents) */
.pres-hero {
  background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}
.pres-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30,58,138,0.5) 0%, transparent 50%),
              radial-gradient(circle at 80% 30%, rgba(159,18,57,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.pres-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
}
@media (max-width: 920px) { .pres-hero-inner { grid-template-columns: 1fr; } }

.pres-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(252,165,165,0.15);
  color: #FCA5A5;
  border-radius: 6px;
  font: 700 11px var(--font-body);
  letter-spacing: 0.14em;
}
.pres-h1 {
  font: 800 clamp(32px, 4.4vw, 48px)/1.05 var(--font-display);
  letter-spacing: -0.03em;
  color: #fff;
  margin: 14px 0 14px;
}
.pres-h1 .accent { color: #FCA5A5; }
.pres-h1-tag {
  display: block;
  font: 600 22px/1.3 var(--font-display);
  color: #FCA5A5;
  letter-spacing: -0.015em;
  margin-top: 14px;
  border-left: 3px solid #FCA5A5;
  padding-left: 14px;
}
.pres-sub {
  font: 500 16px/1.6 var(--font-body);
  color: rgba(248,250,252,0.75);
  margin-bottom: 24px;
  max-width: 520px;
}

/* Countdown */
.cd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 480px;
  margin-top: 8px;
}
.cd-cell {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px 0 12px;
  text-align: center;
}
.cd-v {
  font: 800 32px/1 var(--font-display);
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.cd-l {
  font: 700 9px var(--font-body);
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* Versus card */
.pres-versus {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 24px 28px;
}
.pres-versus-row {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; align-items: center;
  margin-bottom: 18px;
}
.pres-candidate { text-align: center; }
.pres-candidate-img {
  width: 88px; height: 88px;
  border-radius: 99px;
  margin: 0 auto 12px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 800 28px var(--font-display);
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.pres-candidate-name { font: 700 16px var(--font-display); color: #fff; }
.pres-candidate-party { font: 500 12px var(--font-body); color: rgba(255,255,255,0.6); margin-top: 2px; }
.pres-versus-vs {
  font: 800 13px var(--font-display);
  color: rgba(255,255,255,0.4);
  padding: 8px 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  letter-spacing: 0.12em;
}
.pres-versus-bars {
  display: flex; height: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.pres-versus-bars > div { transition: width 700ms var(--ease-out-expo); }
.pres-versus-foot {
  display: flex; justify-content: space-between;
  margin-top: 10px;
  font: 800 22px var(--font-display);
  font-variant-numeric: tabular-nums;
}

/* Candidate cards */
.cand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.cand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 32px 52px 1fr auto;
  gap: 12px;
  align-items: center;
  transition: transform var(--dur-2) var(--ease-out-expo), box-shadow var(--dur-2);
}
.cand-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cand-rank {
  font: 800 18px var(--font-display);
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}
.cand-img {
  width: 52px; height: 52px;
  border-radius: 99px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 800 16px var(--font-display);
}
.cand-name { font: 800 15px var(--font-display); color: var(--ink-900); letter-spacing: -0.01em; }
.cand-party {
  font: 600 12px var(--font-body);
  color: var(--fg-3);
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 6px;
}
.cand-dot { width: 8px; height: 8px; border-radius: 99px; }
.cand-stat { text-align: right; }
.cand-pct { font: 800 22px var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cand-trend {
  font: 700 11px var(--font-body);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.cand-trend.up { color: var(--success-600); }
.cand-trend.down { color: var(--danger-600); }

/* Survey comparison */
.survey-cmp {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.survey-cmp-head,
.survey-cmp-row {
  display: grid;
  grid-template-columns: 1.4fr 80px 2fr 80px 70px 130px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}
.survey-cmp-head {
  font: 700 10px var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-1);
}
.survey-cmp-head .r { text-align: right; }
.survey-cmp-row { border-bottom: 1px solid var(--border-1); }
.survey-cmp-row:last-child { border-bottom: none; }
.survey-cmp-row:hover { background: var(--surface-1); }
.survey-cmp-pct { font: 800 14px var(--font-display); font-variant-numeric: tabular-nums; }
.survey-cmp-bar {
  display: flex; height: 10px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--surface-2);
}
.survey-cmp-bar > div { height: 100%; transition: width 700ms var(--ease-out-expo); }
.survey-firm {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px var(--font-display);
  color: var(--ink-900);
}
.survey-firm-badge {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-700);
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 10px var(--font-display);
}

/* Parliament */
.parliament-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}
@media (max-width: 920px) { .parliament-wrap { grid-template-columns: 1fr; } }
.parl-arc { width: 100%; height: auto; }
.parliament-table { display: flex; flex-direction: column; }
.parl-row {
  display: grid;
  grid-template-columns: 1.5fr 70px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid var(--border-1);
}
.parl-row:last-child { border-bottom: none; }
.parl-cell-c { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font-body); color: var(--ink-900); }
.parl-dot { width: 12px; height: 12px; border-radius: 3px; background: var(--c); }
.parl-cell-pct { font: 700 13px var(--font-display); font-variant-numeric: tabular-nums; color: var(--ink-700); }
.parl-cell-seats {
  font: 800 18px var(--font-display);
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
}
.parl-cell-seats span {
  font: 500 11px var(--font-body);
  color: var(--fg-3);
  margin-left: 4px;
}
.parl-cell-change { text-align: right; font: 700 12px var(--font-body); font-variant-numeric: tabular-nums; }
.parl-cell-change.up { color: var(--success-600); }
.parl-cell-change.down { color: var(--danger-600); }
.parl-row--total {
  border-top: 2px solid var(--ink-900);
  font-weight: 800;
}

/* Issues */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 12px;
}
.issue-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.issue-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
}
.issue-title { font: 800 14px var(--font-display); color: var(--ink-900); }
.issue-sub { font: 500 12px var(--font-body); color: var(--fg-3); margin-top: 2px; }
.issue-pct { font: 800 20px var(--font-display); color: var(--ink-900); font-variant-numeric: tabular-nums; }

/* Pre-election surveys (re-use) */
.survey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}
.survey-card {
  background: var(--bg-card);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.survey-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.survey-date { font: 500 11px var(--font-body); color: var(--fg-3); }
.survey-q {
  font: 800 15px var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 14px;
}
.survey-rows { display: flex; flex-direction: column; gap: 8px; }
.survey-row { display: flex; align-items: center; gap: 10px; }
.survey-row-label { font: 600 12px var(--font-body); color: var(--fg-1); width: 100px; flex-shrink: 0; }
.survey-row-bar { flex: 1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.survey-row-fill { height: 100%; border-radius: 99px; transition: width 700ms var(--ease-out-expo); }
.survey-row-pct { font: 700 13px var(--font-display); color: var(--ink-900); min-width: 56px; text-align: right; font-variant-numeric: tabular-nums; }

/* ============================================================
 * Quick Vote — inline candidate poll with OTP modal
 * ============================================================ */
.quick-vote {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 22px;
  color: #fff;
}
.quick-vote-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.quick-vote-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #DC2626;
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font: 800 10px var(--font-body);
  letter-spacing: 0.14em;
}
.quick-vote-total {
  font: 700 12px var(--font-body);
  color: rgba(255,255,255,0.65);
  font-variant-numeric: tabular-nums;
}
.quick-vote-q {
  font: 800 17px var(--font-display);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}
.quick-vote-thanks {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.32);
  color: #6EE7B7;
  padding: 9px 14px;
  border-radius: 8px;
  font: 700 12px var(--font-body);
  margin-bottom: 12px;
}
.quick-vote-list {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.quick-vote-row {
  display: grid;
  grid-template-columns: 36px 1fr 80px 60px;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: 600 13px var(--font-body);
  transition: all 200ms var(--ease-out-expo);
}
.quick-vote-row:hover:not(:disabled):not(.is-voted) {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
  transform: translateX(2px);
}
.quick-vote-row:disabled { cursor: not-allowed; opacity: 0.85; }
.quick-vote-row.is-voted {
  background: rgba(252,165,165,0.14);
  border-color: rgba(252,165,165,0.4);
}
.qv-avatar {
  width: 36px; height: 36px;
  border-radius: 99px;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 12px var(--font-display);
}
.qv-name { display: flex; flex-direction: column; gap: 1px; min-width: 0; overflow: hidden; }
.qv-name strong { font: 700 13px var(--font-display); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qv-name small { font: 500 11px var(--font-body); }
.qv-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.qv-bar {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 700ms var(--ease-out-expo);
}
.qv-pct {
  font: 800 14px var(--font-display);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.quick-vote-foot {
  font: 500 11px/1.5 var(--font-body);
  color: rgba(255,255,255,0.55);
  text-align: center;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================================
 * QV Modal — premium redesign (gradient header + avatar + 3 steps)
 * ============================================================ */
.qv-modal {
  position: fixed; inset: 0;
  background: rgba(15,23,42,0.78);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  padding: 16px;
  animation: qvFade 200ms var(--ease-out-expo);
  /* Bottom-sheet on mobile */
  align-items: center;
}
.qv-modal[hidden] { display: none !important; }
@keyframes qvFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes qvSlide { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qvDraw { to { stroke-dashoffset: 0; } }

.qv-modal-card {
  background: var(--bg-card);
  color: var(--fg-1);
  border-radius: 18px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  animation: qvSlide 320ms var(--ease-out-expo);
  overflow: hidden;
}

/* ---- Close button (over the header) ---- */
.qv-modal-close {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,0.18);
  border: 0;
  width: 34px; height: 34px;
  border-radius: 99px;
  cursor: pointer;
  font: 800 16px var(--font-body);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 160ms, transform 160ms;
}
.qv-modal-close:hover { background: rgba(255,255,255,0.32); transform: rotate(90deg); }

/* ---- Header (gradient, avatar) ---- */
.qv-modal-head {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(135deg, #1E3A8A 0%, #0F172A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: background 280ms var(--ease-out-expo);
}
.qv-modal-head::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.qv-modal-avatar {
  width: 56px; height: 56px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  font: 800 19px var(--font-display);
  color: #fff;
  background: #fff;
  border: 3px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
  letter-spacing: 0.02em;
  z-index: 1;
  transition: background 280ms;
}
.qv-modal-head-text { z-index: 1; min-width: 0; flex: 1; }
.qv-modal-tag {
  display: inline-block;
  font: 800 10px var(--font-body);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}
.qv-modal-cand-line {
  font: 800 17px var(--font-display);
  letter-spacing: -0.015em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qv-modal-cand-line .qv-party-label {
  font: 600 12px var(--font-body);
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
}

/* ---- Body & steps ---- */
.qv-modal-body { padding: 22px 24px 24px; }
.qv-step-title {
  font: 800 21px/1.2 var(--font-display);
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.qv-step-title--success { color: var(--success-600); }
.qv-step-desc {
  font: 500 14px/1.55 var(--font-body);
  color: var(--fg-2);
  margin: 0 0 18px;
}
.qv-step-desc strong { color: var(--ink-900); font-weight: 700; }

/* ---- Field (label + phone-input) ---- */
.qv-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.qv-field label {
  font: 800 10px var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.qv-phone-input {
  display: flex;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: border-color 160ms, box-shadow 160ms;
}
.qv-phone-input:focus-within {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(30,58,138,0.14);
}
.qv-phone-cc {
  background: var(--surface-2);
  padding: 13px 16px;
  font: 800 15px var(--font-body);
  color: var(--ink-900);
  letter-spacing: 0.02em;
  border-right: 1px solid var(--border-2);
}
.qv-phone-input input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 13px 14px;
  font: 700 17px var(--font-body);
  color: var(--ink-900);
  letter-spacing: 0.03em;
}
.qv-phone-input input:focus { outline: none; }
.qv-phone-input input::placeholder { color: var(--fg-3); font-weight: 500; letter-spacing: 0.04em; }

/* ---- OTP grid (6 boxes — scoped inside modal so it's never inherited) ---- */
.qv-otp-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px;
  margin-bottom: 14px;
}
.qv-otp-grid input {
  width: 100% !important;
  min-width: 0 !important;
  text-align: center;
  padding: 12px 0;
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  background: var(--surface-1);
  font: 800 22px var(--font-mono, ui-monospace, monospace);
  color: var(--ink-900);
  transition: border-color 120ms, box-shadow 120ms, background 120ms;
  caret-color: var(--brand-600);
}
.qv-otp-grid input:focus {
  outline: none;
  border-color: var(--brand-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(30,58,138,0.16);
}

/* ---- Alerts ---- */
.qv-alert {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.22);
  color: #B91C1C;
  font: 600 13px var(--font-body);
  padding: 10px 14px;
  border-radius: 10px;
  margin: 8px 0 14px;
}

/* ---- Buttons ---- */
.qv-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 0;
  font: 800 14px var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 120ms var(--ease-out-expo), box-shadow 200ms;
}
.qv-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.qv-btn--primary {
  background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30,58,138,0.30);
}
.qv-btn--primary:hover:not(:disabled) {
  box-shadow: 0 14px 32px rgba(30,58,138,0.42);
  transform: translateY(-1px);
}
.qv-btn--primary:active:not(:disabled) { transform: scale(0.985); }

/* ---- İYS ticari ileti onayı (oy adımı) ---- */
.qv-iys-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  padding: 12px 14px;
  background: rgba(30,58,138,0.04);
  border: 1px solid rgba(30,58,138,0.12);
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms, border-color 160ms;
}
.qv-iys-check:hover { background: rgba(30,58,138,0.07); border-color: rgba(30,58,138,0.20); }
.qv-iys-check input {
  width: 19px; height: 19px;
  margin-top: 1px;
  accent-color: #1E3A8A;
  flex-shrink: 0;
  cursor: pointer;
}
.qv-iys-check span {
  font: 500 12px/1.5 var(--font-body);
  color: var(--fg-2);
}
.qv-iys-check strong { color: var(--ink-900); font-weight: 700; }
.qv-iys-check em { font-style: normal; font-weight: 700; color: #B45309; }
.qv-iys-check a { color: var(--brand-600); font-weight: 700; text-decoration: none; }
.qv-iys-check a:hover { text-decoration: underline; }

.qv-foot-note {
  font: 500 11.5px/1.5 var(--font-body);
  color: var(--fg-3);
  text-align: center;
  margin: 12px 0 0;
}
.qv-foot-note a { color: var(--brand-600); font-weight: 700; text-decoration: none; }
.qv-foot-note a:hover { text-decoration: underline; }

/* ---- Done step ---- */
.qv-step-done { text-align: center; padding-top: 8px; }
.qv-success-ring {
  width: 80px; height: 80px;
  margin: 0 auto 18px;
  border-radius: 99px;
  background: rgba(16,185,129,0.10);
  display: flex; align-items: center; justify-content: center;
  animation: qvSlide 360ms var(--ease-out-expo);
}

/* ---- Mobile responsive (<= 720) ---- */
@media (max-width: 720px) {
  .quick-vote-row { grid-template-columns: 28px 1fr 50px; }
  .qv-bar-wrap { display: none; }

  .qv-modal { padding: 0; align-items: flex-end; }
  .qv-modal-card {
    border-radius: 18px 18px 0 0;
    max-width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    animation: qvSlideUp 320ms var(--ease-out-expo);
  }
  @keyframes qvSlideUp {
    from { opacity: 0; transform: translateY(100%); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .qv-modal-head { padding: 18px 20px; gap: 12px; }
  .qv-modal-avatar { width: 48px; height: 48px; font-size: 17px; }
  .qv-modal-cand-line { font-size: 16px; }
  .qv-modal-body { padding: 18px 20px 22px; }
  .qv-step-title { font-size: 19px; }
  .qv-step-desc { font-size: 13.5px; margin-bottom: 14px; }

  .qv-otp-grid { gap: 6px; }
  .qv-otp-grid input { padding: 13px 0; font-size: 20px; border-radius: 8px; }
}

/* Tighter on small phones */
@media (max-width: 380px) {
  .qv-modal-head { padding: 14px 16px; gap: 10px; }
  .qv-modal-avatar { width: 42px; height: 42px; font-size: 15px; border-width: 2px; }
  .qv-modal-body { padding: 16px 16px 20px; }
  .qv-otp-grid { gap: 5px; }
  .qv-otp-grid input { padding: 11px 0; font-size: 18px; }
  .qv-phone-cc { padding: 12px 12px; font-size: 14px; }
  .qv-phone-input input { padding: 12px 12px; font-size: 16px; }
}

/* ============================================================
 * Voting section — standalone light bg, big OTP-aware vote buttons
 * Source: presidential.css .pres-voting + .vote-cand
 * ============================================================ */
.pres-voting {
  padding: 56px 0 40px;
  background: var(--surface-1);
  border-bottom: 1px solid var(--border-1);
}
.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.vote-cand {
  background: var(--bg-card);
  border: 1.5px solid var(--border-2);
  border-radius: 14px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 28px 56px 1fr auto;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  transition: all 220ms var(--ease-out-expo);
}
.vote-cand:hover:not(.voted):not(.other) {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(30,58,138,0.10);
  transform: translateY(-1px);
}
.vote-cand.voted {
  background: var(--brand-50);
  border-color: var(--brand-600);
  border-width: 2px;
  box-shadow: 0 0 0 4px rgba(30,58,138,0.15);
}
.vote-cand.other {
  opacity: 0.65;
  cursor: not-allowed;
}
.vc-rank {
  font: 800 18px var(--font-display);
  color: var(--ink-300);
  font-variant-numeric: tabular-nums;
}
.vc-img {
  width: 56px; height: 56px;
  border-radius: 16px;   /* kenarları yumuşatılmış kare */
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 800 17px var(--font-display);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(15,23,42,0.18);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
/* Logo daireye TAM sığsın: kırpma yok (contain), beyaz zemin + iç boşluk.
   Baş harf rozetlerinde parti rengi gradyanı görünmeye devam eder. */
/* Logo kutuyu TAM doldurur: iç boşluk yok, kenardan kenara.
   object-fit:contain → oran korunur, kırpılmaz. */
.vc-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 16px;   /* kapsayıcıyla aynı yumuşak kare */
  background: #fff;
  padding: 0;
  box-sizing: border-box;
}
.vc-name { font: 800 16px var(--font-display); color: var(--ink-900); letter-spacing: -0.015em; }
.vc-party {
  font: 600 12px var(--font-body);
  color: var(--fg-3);
  margin-top: 2px;
  display: inline-flex; align-items: center; gap: 6px;
}
.vc-dot { width: 8px; height: 8px; border-radius: 99px; }
.vc-stat { text-align: right; }
.vc-pct {
  font: 800 24px/1 var(--font-display);
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.vc-votes {
  font: 500 11px var(--font-body);
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.vc-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: var(--surface-2);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 2px;
}
.vc-bar > div {
  height: 100%;
  border-radius: 99px;
  transition: width 700ms var(--ease-out-expo);
}

.vote-toast {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--success-50);
  color: var(--success-700);
  border-left: 4px solid var(--success-500);
  border-radius: 8px;
  margin-bottom: 20px;
  animation: vote-slide-down 320ms var(--ease-out-expo);
}
.vote-toast-ic {
  width: 36px; height: 36px;
  background: var(--success-500);
  color: #fff;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vote-toast b { font: 800 14px var(--font-display); color: var(--success-700); display: block; }
.vote-toast div > div {
  font: 500 12px var(--font-body);
  color: var(--success-700);
  opacity: 0.85;
  margin-top: 2px;
}
@keyframes vote-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.vote-foot {
  display: flex; gap: 24px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-1);
  font: 500 12px var(--font-body);
  color: var(--fg-3);
  flex-wrap: wrap;
}
.vote-foot > div {
  display: inline-flex; align-items: center; gap: 6px;
}
.vote-foot svg { color: var(--success-600); }

/* ============================================================
 * /secim2028.php — Mobile-first hardening
 * ============================================================ */
@media (max-width: 920px) {
  .pres-hero { padding: 28px 0 36px; }
  .pres-hero-inner { gap: 28px; }
  .pres-h1 { font-size: clamp(26px, 7vw, 36px); margin: 10px 0 12px; }
  .pres-h1-tag { font-size: 17px; padding-left: 12px; margin-top: 10px; }
  .pres-sub { font-size: 14.5px; margin-bottom: 18px; }

  .cd-grid { gap: 8px; grid-template-columns: repeat(4, 1fr); max-width: 100%; }
  .cd-cell { padding: 12px 0 10px; }
  .cd-v { font-size: 24px; }
  .cd-l { font-size: 8.5px; }

  /* Party vote card head stacks */
  .party-vote-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 720px) {
  .el-strip-inner { padding: 8px 0; font-size: 11px; }
  .el-strip-h { display: none; }

  /* Quick vote rows tightening — name + pct only */
  .quick-vote { padding: 18px 16px; border-radius: 12px; }
  .quick-vote-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .quick-vote-q { font-size: 16px; }
  .quick-vote-row {
    grid-template-columns: 36px 1fr 60px;
    padding: 10px 12px;
  }
  .qv-bar-wrap { display: none; }
  .quick-vote-foot { font-size: 11px; line-height: 1.5; }

  /* Party vote */
  .party-vote-card { padding: 18px 16px; border-radius: 12px; }
  .party-vote-grid { grid-template-columns: 1fr; gap: 8px; }
  .party-vote-btn { padding: 12px 14px; }

  /* Aday bio kartları */
  .bio-grid { grid-template-columns: 1fr; gap: 12px; }
  .bio-card { padding: 16px; }

  /* 2023 karşılaştırma */
  .comparison-2023 { grid-template-columns: 1fr; gap: 18px; }
  .cmp-2023-arrow { transform: rotate(90deg); margin: -4px auto; }
  .cmp-2023-vs { gap: 12px; }
  .cmp-2023-side { font-size: 13px; }
  .cmp-2023-pct { font-size: 22px; }
  .cmp-2023-vs-tag { padding: 4px 10px; font-size: 11px; }

  /* Timeline */
  .timeline { padding-left: 6px; }
  .timeline-item { padding-left: 36px; gap: 12px; }
  .timeline-card { padding: 12px 14px; }
  .timeline-title { font-size: 14px; }
  .timeline-sub { font-size: 12.5px; }

  /* Parliament */
  .parliament-wrap { padding: 18px; }
  .parl-arc { max-width: 100%; height: auto; }
  .parl-row { grid-template-columns: 1.4fr 50px 1fr 50px; gap: 8px; font-size: 12px; }
  .parl-cell-seats { font-size: 14px; }
  .parl-cell-seats span { display: none; }

  /* Issues */
  .issues-grid { grid-template-columns: 1fr; gap: 10px; }
  .issue-card { padding: 14px; grid-template-columns: 38px 1fr auto; gap: 12px; }
  .issue-title { font-size: 13.5px; }
  .issue-sub { font-size: 11.5px; }
  .issue-pct { font-size: 17px; }

  /* Voting section */
  .pres-voting { padding: 36px 0 28px; }
  .vote-grid { grid-template-columns: 1fr; gap: 8px; }
  .vote-cand {
    padding: 14px 16px;
    grid-template-columns: 22px 44px 1fr auto;
    gap: 10px;
    border-radius: 12px;
  }
  .vc-img { width: 44px; height: 44px; font-size: 14px; border-radius: 13px; }
  .vc-img img { padding: 0; border-radius: 13px; }   /* mobilde de kutuyu tam doldurur */
  .vc-name { font-size: 14.5px; }
  .vc-party { font-size: 11.5px; }
  .vc-pct { font-size: 20px; }
  .vc-votes { font-size: 10.5px; }
  .vote-foot { gap: 12px; font-size: 11.5px; }

  /* Hero versus on mobile */
  .pres-versus { padding: 18px; border-radius: 14px; }
  .pres-versus-row { gap: 14px; margin-bottom: 12px; }
  .pres-candidate-img { width: 64px; height: 64px; font-size: 20px; border-width: 3px; margin-bottom: 8px; }
  .pres-candidate-name { font-size: 13.5px; }
  .pres-candidate-party { font-size: 11px; }
  .pres-versus-vs { padding: 5px 10px; font-size: 11px; }
  .pres-versus-foot { font-size: 18px; }

  /* Strip stacking — keep live counter visible */
  .el-strip-right { font-size: 11.5px; gap: 12px; }

  /* Share strip */
  .share-strip { flex-direction: column; gap: 14px; align-items: flex-start; }
  .share-strip-actions { width: 100%; flex-wrap: wrap; }
  .share-strip-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Section padding compression */
  .section { padding: 36px 0; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 14px; }
}

@media (max-width: 480px) {
  .cd-cell { padding: 10px 0 8px; }
  .cd-v { font-size: 22px; }
  .cd-l { font-size: 8px; letter-spacing: 0.12em; }
  .pres-h1-tag { font-size: 15px; }
}
