/* ==========================================================================
   SERBESTSÖZ — auth.css (yazar modülü)
   Giriş, 2FA, şifre sıfırlama, başvuru durumu ve "Yazar ol" açılış + 4 adımlı başvuru formu.
   Tasarım sistemi belirteçlerini (app.css) kullanır; burada yalnızca modüle özgü stiller var.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Ortak: kart başlığı, bağlantılar, alternatif yollar
   -------------------------------------------------------------------------- */
.au-head { margin-bottom: 22px; }
.au-head--row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; }
.au-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  padding: 6px 11px 6px 9px;
  border-radius: var(--radius-pill);
  font: 700 11px/1 var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 26%, transparent);
}
.au-kicker .ico { width: 14px; height: 14px; }
.au-title { margin: 0 0 8px; font: 500 clamp(28px, 1.5rem + 1.4vw, 36px)/1.08 var(--font-display); letter-spacing: -.03em; color: var(--text); }
.au-title em { font-style: italic; color: var(--accent-text); }
.au-sub { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.au-sub strong { color: var(--text); }

.au-alert { margin-bottom: 18px; }
.au-alert p { margin: 0; }
.au-alert strong { display: block; margin-bottom: 2px; }

.au-form { --gap: 16px; }
.au-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.au-link-sm { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font: 650 13px/1.2 var(--font-sans); color: var(--accent-text); text-decoration: none; }
.au-link-sm:hover { text-decoration: underline; text-underline-offset: .2em; }
.au-link-sm .ico { width: 16px; height: 16px; }
.au-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.au-capslock { display: inline-flex; align-items: center; gap: 6px; font: 650 12.5px/1 var(--font-sans); color: var(--warning); }
.au-capslock .ico { width: 15px; height: 15px; }
.au-hint { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }
.au-hint .ico { width: 15px; height: 15px; }
.au-hint a { color: var(--accent-text); font-weight: 650; }

.au-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; font: 650 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.au-divider::before, .au-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-strong); }

.au-alt { display: grid; gap: 10px; }
.au-alt--center { justify-items: center; gap: 6px; margin-top: 18px; text-align: center; }
.au-alt-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  background: var(--chip-bg);
  box-shadow: var(--hairline);
  transition: background-color .2s ease, transform .35s var(--ease-spring);
}
.au-alt-card:hover { background: var(--surface-2); text-decoration: none; transform: translateY(-1px); }
.au-alt-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.au-alt-card strong { font: 650 14.5px/1.2 var(--font-sans); }
.au-alt-card small { font-size: 12.5px; color: var(--text-3); }
.au-alt-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: var(--accent-text); background: var(--accent-soft); }
.au-alt-ico .ico { width: 19px; height: 19px; }
.au-alt-arrow { width: 18px; height: 18px; color: var(--text-3); transition: transform .3s var(--ease-spring); }
.au-alt-card:hover .au-alt-arrow { transform: translateX(3px); color: var(--text); }

/* Tek kullanımlık kod girişi */
.au-otp {
  min-height: 64px;
  text-align: center;
  font: 700 30px/1 var(--font-mono);
  letter-spacing: .32em;
  padding-left: calc(16px + .32em);
  font-variant-numeric: tabular-nums;
}
.au-otp::placeholder { letter-spacing: .32em; color: var(--text-3); opacity: .5; }

/* Sonuç ekranları (gönderildi, doğrulandı, süresi doldu…) */
.au-done { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.au-done .au-sub { max-width: 40ch; }
.au-done-ico {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 8px;
  border-radius: 26px;
  color: var(--info);
  background: var(--info-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--info) 28%, transparent), 0 18px 40px -20px var(--info);
  animation: sz-pop .7s var(--ease-spring) both;
}
.au-done-ico .ico { width: 34px; height: 34px; }
.au-done-ico--ok { color: var(--success); background: var(--success-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 30%, transparent), 0 18px 40px -20px var(--success); }
.au-done-ico--warn { color: var(--warning); background: var(--warning-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warning) 30%, transparent); }
.au-checklist { display: grid; gap: 8px; margin: 8px 0 4px; padding: 0; list-style: none; text-align: left; }
.au-checklist li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.au-checklist .ico { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--success); }
.au-actions { display: grid; gap: 10px; width: 100%; margin-top: 14px; }

.au-code {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 8px 8px 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  box-shadow: var(--hairline);
}
.au-code-label { font: 650 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.au-code strong { font-size: 16px; letter-spacing: .06em; color: var(--text); }
.au-code-input { text-transform: uppercase; letter-spacing: .08em; }

/* Şifre gücü göstergesi */
.pw-meter { display: flex; align-items: center; gap: 10px; min-height: 18px; }
.pw-meter-bar { position: relative; flex: 0 0 96px; height: 6px; border-radius: 6px; background: var(--chip-bg); box-shadow: var(--hairline); overflow: hidden; }
.pw-meter-bar i { position: absolute; inset: 0 auto 0 0; width: calc(var(--lvl, 0) * 25%); border-radius: inherit; background: var(--pw-c, var(--danger)); transition: width .45s var(--ease-out), background-color .3s ease; }
.pw-meter-label { font: 600 12px/1.3 var(--font-sans); color: var(--text-3); transition: color .3s ease; }
.pw-meter[data-level="1"] { --lvl: 1; --pw-c: var(--danger); }
.pw-meter[data-level="2"] { --lvl: 2; --pw-c: var(--warning); }
.pw-meter[data-level="3"] { --lvl: 3; --pw-c: var(--info); }
.pw-meter[data-level="4"] { --lvl: 4; --pw-c: var(--success); }
.pw-meter[data-level] .pw-meter-label { color: var(--pw-c); }

/* --------------------------------------------------------------------------
   Başvuru durumu: zaman çizelgesi ve mesajlar
   -------------------------------------------------------------------------- */
.au-status-badge { flex: none; margin-top: 4px; }
.au-timeline { margin: 6px 0 22px; padding-left: 44px; }
.au-timeline::before { left: 15px; top: 14px; bottom: 14px; }
.au-timeline .tl-item { padding-bottom: 22px; }
.au-timeline .tl-item::before { display: none; }
.au-timeline .tl-dot {
  position: absolute;
  left: -44px;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-3);
  background: var(--surface-solid);
  box-shadow: inset 0 0 0 2px var(--border-strong);
}
.au-timeline .tl-dot .ico { width: 15px; height: 15px; }
.au-timeline .is-done .tl-dot, .au-timeline .is-success .tl-dot { color: #fff; background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.au-timeline .is-current .tl-dot { color: #fff; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: sz-beacon 2s ease-in-out infinite; }
.au-timeline .is-current .tl-dot .ico { animation: sz-spin 2.4s linear infinite; }
.au-timeline .is-attention .tl-dot { color: #1b1300; background: var(--warning); box-shadow: 0 0 0 4px var(--warning-soft); }
.au-timeline .is-error .tl-dot { color: #fff; background: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.au-timeline .is-muted .tl-dot { opacity: .7; }
.au-timeline .tl-body { margin-top: 0; }
.au-timeline .tl-title { display: block; }
.au-timeline .tl-text { margin: 3px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.au-timeline .is-todo { opacity: .62; }

.au-message { margin: 0 0 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--hairline), inset 3px 0 0 var(--accent); }
.au-message--muted { box-shadow: var(--hairline), inset 3px 0 0 var(--border-strong); }
.au-message-from { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font: 700 11.5px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.au-message-from .ico { width: 14px; height: 14px; color: var(--accent-text); }
.au-message-body { font: 400 16px/1.6 var(--font-display); color: var(--text); overflow-wrap: anywhere; }
.au-reply { margin-bottom: 18px; }
.au-field-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.au-field-foot .char-ring { margin-left: auto; }
.au-status-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }

/* ==========================================================================
   YAZAR OL — açılış sayfası
   ========================================================================== */
.apply-page .main { overflow-x: clip; }
.ap-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 700 11.5px/1 var(--font-sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.ap-eyebrow .ico { width: 16px; height: 16px; }
.ap-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: currentColor; opacity: .8; }
.ap-h2 { margin: 0; font: 400 clamp(30px, 1.4rem + 3vw, 52px)/1.04 var(--font-display); letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
.ap-h2 em { font-style: italic; color: var(--accent-text); }

.ap-hero {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 28px 0 40px;
}
.ap-title { margin: 0 0 18px; font: 300 clamp(48px, 2.4rem + 7vw, 112px)/.92 var(--font-display); letter-spacing: -.05em; color: var(--text); }
.ap-title em { font-style: italic; font-weight: 400; color: var(--accent-text); }
.ap-title-sub { display: inline-block; color: var(--text-2); font-style: italic; font-weight: 300; }
.ap-lead { max-width: 52ch; margin: 0 0 26px; font-size: clamp(15.5px, 14px + .35vw, 18px); line-height: 1.65; color: var(--text-2); }
.ap-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ap-hero-actions .btn { flex: 1 1 200px; }
.ap-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 30px 0 0; }
.ap-proof > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.ap-proof dt { font: 650 11.5px/1.2 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.ap-proof dd { margin: 0; font: 400 clamp(26px, 1.4rem + 1vw, 34px)/1 var(--font-display); letter-spacing: -.03em; color: var(--text); font-variant-numeric: lining-nums; }

.ap-hero-art { position: relative; display: grid; place-items: center; min-height: 240px; }
.ap-emblem { width: min(420px, 82%); z-index: 1; }
.ap-orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.ap-orbit span { position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--border); }
.ap-orbit span:nth-child(1) { width: min(300px, 70%); }
.ap-orbit span:nth-child(2) { width: min(420px, 92%); border-style: dashed; opacity: .7; animation: ap-rotate 60s linear infinite; }
.ap-orbit span:nth-child(3) { width: min(540px, 118%); opacity: .45; }
.ap-orbit span:nth-child(1)::after {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  opacity: .35;
  filter: blur(20px);
}
.ap-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  font: 650 12.5px/1 var(--font-sans);
  color: var(--text);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--hairline), var(--shadow-2);
  white-space: nowrap;
  animation: sz-bob 7s ease-in-out infinite alternate;
}
.ap-float .ico { width: 15px; height: 15px; color: var(--accent-text); }
.ap-float--a { left: 2%; top: 14%; }
.ap-float--b { right: 0; top: 44%; font-family: var(--font-display); font-style: italic; font-weight: 500; animation-duration: 8.5s; animation-delay: -2s; }
.ap-float--c { left: 10%; bottom: 6%; animation-duration: 9s; animation-delay: -4s; }
.ap-float--c .verified .ico { color: var(--info); }

.ap-section { padding: 52px 0 8px; }
.ap-section-head { max-width: 680px; margin-bottom: 26px; }
.ap-section-sub { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--text-2); }

.ap-why-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.ap-why-card { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--hairline), var(--highlight); }
.ap-why-card h3 { margin: 14px 0 6px; font: 600 18px/1.25 var(--font-sans); letter-spacing: -.01em; }
.ap-why-card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.ap-why-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent); }
.ap-why-ico .ico { width: 21px; height: 21px; }

.ap-rule-grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.ap-rule {
  position: relative;
  min-height: 220px;
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 100% 0%, var(--accent-soft), transparent 55%),
    var(--surface);
  box-shadow: var(--hairline), var(--highlight), var(--shadow-1);
  overflow: hidden;
  isolation: isolate;
}
.ap-rule-num { position: absolute; right: 14px; top: 2px; z-index: -1; font: italic 300 92px/1 var(--font-display); letter-spacing: -.05em; color: var(--text); opacity: .07; }
.ap-rule-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #fff; background: var(--accent-grad); box-shadow: 0 10px 24px -10px var(--accent-glow); }
.ap-rule-ico .ico { width: 22px; height: 22px; }
.ap-rule h3 { margin: 18px 0 8px; font: 500 21px/1.2 var(--font-display); letter-spacing: -.02em; }
.ap-rule p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.ap-rules-more { margin: 18px 0 0; }
.ap-rules-more a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 650 14.5px/1 var(--font-sans); color: var(--accent-text); }
.ap-rules-more .ico { width: 17px; height: 17px; transition: transform .3s var(--ease-spring); }
.ap-rules-more a:hover .ico { transform: translateX(4px); }

.ap-flow-list { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: flow; }
.ap-flow-item { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.ap-flow-item h3 { margin: 4px 0 4px; font: 650 16.5px/1.25 var(--font-sans); }
.ap-flow-item p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.ap-flow-ico { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; color: var(--accent-text); background: var(--surface-2); box-shadow: var(--hairline), 0 0 0 6px var(--bg); }
.ap-flow-ico .ico { width: 21px; height: 21px; }
.ap-flow-list::before { content: ''; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--accent), var(--border-strong) 60%, transparent); opacity: .5; }

/* --------------------------------------------------------------------------
   Başvuru formu (4 adım)
   -------------------------------------------------------------------------- */
.ap-apply { scroll-margin-top: calc(var(--sticky-top) + 12px); }
.ap-form { --card-p: 20px; max-width: 820px; overflow: hidden; }
@media (min-width: 768px) { .ap-form { --card-p: 34px; } }
.ap-progress { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--border); }
.ap-progress-bar { display: block; height: 100%; width: calc(var(--p, .25) * 100%); background: var(--accent-grad); box-shadow: 0 0 14px var(--accent-glow); transition: width .6s var(--ease-out); }

.ap-stepper { display: flex; gap: 6px; margin: 4px 0 26px; padding: 0; list-style: none; }
.ap-stepper-item { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--text-3); }
.ap-stepper-item + .ap-stepper-item::before { content: ''; flex: 0 1 26px; height: 2px; border-radius: 2px; background: var(--border-strong); transition: background-color .4s ease; }
.ap-stepper-num {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font: 700 13px/1 var(--font-sans);
  background: var(--chip-bg);
  box-shadow: inset 0 0 0 1.5px var(--border-strong);
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease, transform .4s var(--ease-spring);
}
.ap-stepper-num .ico { position: absolute; width: 15px; height: 15px; opacity: 0; transform: scale(.4); transition: opacity .25s ease, transform .35s var(--ease-spring); }
.ap-stepper-label { font: 650 13px/1.2 var(--font-sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap-stepper-item.is-active { color: var(--text); }
.ap-stepper-item.is-active .ap-stepper-num { color: #fff; background: var(--accent-grad); box-shadow: 0 6px 18px -6px var(--accent-glow); transform: scale(1.06); }
.ap-stepper-item.is-done { color: var(--text-2); }
.ap-stepper-item.is-done::before, .ap-stepper-item.is-active::before { background: var(--accent); }
.ap-stepper-item.is-done .ap-stepper-num { color: #fff; background: var(--success); box-shadow: none; }
.ap-stepper-item.is-done .ap-stepper-num > span { opacity: 0; }
.ap-stepper-item.is-done .ap-stepper-num .ico { opacity: 1; transform: none; }
.ap-stepper-item.has-error .ap-stepper-num { color: #fff; background: var(--danger); }
@media (max-width: 559px) {
  .ap-stepper-item:not(.is-active) .ap-stepper-label { display: none; }
  .ap-stepper-item:not(.is-active) { flex: 0 0 auto; }
}

.ap-step { display: grid; gap: 16px; }
.ap-step + .ap-step { margin-top: 32px; padding-top: 28px; border-top: 1px dashed var(--border-strong); }
.ap-step-title { display: flex; flex-direction: column; gap: 6px; margin: 0 0 4px; font: 500 clamp(22px, 1.1rem + 1vw, 28px)/1.15 var(--font-display); letter-spacing: -.02em; color: var(--text); }
.ap-step-title span { font: 700 11px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
/* Adım değişiminde programla odaklanan başlık (sekme sırasında değil): halka yerine sessiz odak */
.ap-step-title[tabindex="-1"]:focus { outline: none; }

/* JS etkin: tek adım görünür, geçiş animasyonlu */
.ap-form.is-wizard .ap-step { display: none; }
.ap-form.is-wizard .ap-step + .ap-step { margin-top: 0; padding-top: 0; border-top: 0; }
.ap-form.is-wizard .ap-step.is-active { display: grid; animation: ap-step-in .55s var(--ease-out) both; }
.ap-form.is-wizard.is-back .ap-step.is-active { animation-name: ap-step-in-back; }
.ap-form:not(.is-wizard) [data-step-next], .ap-form:not(.is-wizard) [data-step-prev] { display: none; }
.ap-form.is-wizard:not(.is-last) [data-step-submit] { display: none; }
.ap-form.is-wizard.is-last [data-step-next] { display: none; }

.ap-nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.ap-nav-spacer { flex: 1; }
.ap-note { display: flex; gap: 8px; margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-3); }
.ap-note .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; }

.ap-username-state { display: grid; place-items: center; width: 40px; flex: none; }
.ap-username-state.is-loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--accent); animation: sz-spin .7s linear infinite; }
.ap-username-state.is-ok::after { content: '✓'; font: 800 16px/1 var(--font-sans); color: var(--success); animation: sz-pop .4s var(--ease-spring); }
.ap-username-state.is-bad::after { content: '✕'; font: 800 14px/1 var(--font-sans); color: var(--danger); animation: sz-pop .4s var(--ease-spring); }
.ap-username-status.is-ok { color: var(--success); font-weight: 600; }
.ap-username-status.is-bad { color: var(--danger); font-weight: 600; }
.ap-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ap-suggest > span { font-size: 12.5px; color: var(--text-3); }
.ap-suggest button { min-height: 32px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); font: 650 12.5px/1 var(--font-sans); color: var(--text); background: var(--chip-bg); box-shadow: var(--hairline); cursor: pointer; }
.ap-suggest button:hover { background: var(--surface-3); }

.ap-counter { display: flex; align-items: center; gap: 8px; font: 600 12.5px/1.3 var(--font-sans); color: var(--text-3); font-variant-numeric: tabular-nums; }
.ap-counter.is-ok { color: var(--success); }
.ap-counter.is-ok::before { content: '✓'; font-weight: 800; }
.ap-precheck-state { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.ap-precheck-state.is-checking::before { content: ''; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--accent); animation: sz-spin .7s linear infinite; }
.ap-precheck-state.is-clean { color: var(--success); }
.ap-precheck-state.is-flag { color: var(--danger); }
.ap-mod-alert p { margin: 2px 0 0; }

.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ap-chip { position: relative; display: inline-flex; cursor: pointer; }
.ap-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ap-chip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font: 650 13.5px/1 var(--font-sans);
  color: var(--text-2);
  background: var(--chip-bg);
  box-shadow: var(--hairline);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .3s var(--ease-spring);
}
.ap-chip span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); opacity: .55; transition: opacity .2s ease, box-shadow .2s ease; }
.ap-chip:hover span { color: var(--text); }
.ap-chip input:checked + span { color: var(--text); background: color-mix(in srgb, var(--c, var(--accent)) 18%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c, var(--accent)) 60%, transparent); }
.ap-chip input:checked + span::before { opacity: 1; box-shadow: 0 0 8px var(--c, var(--accent)); }
.ap-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.ap-chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.ap-chip:active span { transform: scale(.96); }

/* Tur 2 profil: "Neleri seversin?" — gruplanmış ilgi alanı çipleri (1. adım) */
.ap-likes-groups { display: grid; gap: 14px; margin-top: 4px; }
.ap-likes-group-title { margin: 0 0 8px; font: 700 11.5px/1.2 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ap-chip--like span::before { display: none; }
.ap-chip--like span .ico { width: 15px; height: 15px; color: var(--text-3); transition: color .2s ease; }
.ap-chip--like input:checked + span .ico { color: var(--accent-text); }
.ap-likes .ap-counter { margin-top: 10px; }

.ap-social { border-radius: var(--radius); background: var(--chip-bg); box-shadow: var(--hairline); }
.ap-social > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font: 650 14px/1 var(--font-sans); cursor: pointer; list-style: none; }
.ap-social > summary::-webkit-details-marker { display: none; }
.ap-social > summary .ico { width: 17px; height: 17px; color: var(--accent-text); }
.ap-social > .field { padding: 0 16px 16px; }
.ap-social-input { display: flex; flex-direction: column; gap: 6px; }
.ap-social-input > span { display: inline-flex; align-items: center; gap: 6px; font: 650 12.5px/1 var(--font-sans); color: var(--text-3); }
.ap-social-input .ico { width: 15px; height: 15px; }

.ap-summary { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--chip-bg); box-shadow: var(--hairline); }
.ap-summary.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; }
.ap-summary dt { color: var(--text-3); font-weight: 600; }
.ap-summary dd { margin: 0; min-width: 0; color: var(--text); overflow-wrap: anywhere; }
.ap-consents { display: grid; gap: 4px; }
.ap-consent .check > span { line-height: 1.5; }
.ap-consent a { color: var(--accent-text); font-weight: 650; }
.ap-consent-ver { margin-left: 4px; font-size: 11px; color: var(--text-3); }

/* Metin vurgulama (ayna katman): textarea arkasındaki .hl-mirror sorunlu aralıkları işaretler */
.hl-wrap { position: relative; display: block; }
.hl-wrap > .hl-mirror {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  color: transparent;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow: hidden;
  pointer-events: none;
  border-color: transparent !important;
  box-shadow: none !important;
  min-height: 0;
  height: auto;
  resize: none;
}
.hl-wrap > .hl-input { position: relative; z-index: 1; background-color: transparent !important; }
.hl-wrap > .hl-mirror.textarea { background: var(--input-bg); }
.hl-mirror mark {
  color: transparent;
  border-radius: 4px;
  background: color-mix(in srgb, var(--danger) 26%, transparent);
  box-shadow: inset 0 -2px 0 var(--danger);
}
.hl-mirror mark.is-review { background: color-mix(in srgb, var(--warning) 26%, transparent); box-shadow: inset 0 -2px 0 var(--warning); }

/* Başarı ekranı */
.ap-success { max-width: 680px; margin: 0 auto; --card-p: 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; overflow: hidden; }
@media (min-width: 768px) { .ap-success { --card-p: 44px; } }
.ap-success .ap-eyebrow { margin: 6px 0 0; }
.ap-success .ap-eyebrow::before { display: none; }
.ap-success-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #3DD68C, #16a865); box-shadow: 0 0 0 10px var(--success-soft), 0 22px 46px -16px rgba(61, 214, 140, .7); animation: sz-pop .8s var(--ease-spring) both; }
.ap-success-ico .ico { width: 42px; height: 42px; }
.ap-success-lead { max-width: 46ch; margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text-2); }
.ap-success-lead strong { color: var(--text); }
.ap-code { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin: 8px 0 0; padding: 14px 16px 14px 20px; border-radius: var(--radius-lg); background: var(--surface-2); box-shadow: var(--hairline), var(--highlight); }
.ap-code-label { font: 700 11px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ap-code-value { font-size: clamp(20px, 15px + 1.6vw, 26px); letter-spacing: .08em; color: var(--text); }
.ap-success-hint { display: flex; gap: 8px; max-width: 48ch; margin: 0; font-size: 13px; line-height: 1.55; color: var(--text-3); text-align: left; }
.ap-success-hint .ico { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.ap-success-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.ap-success-steps li { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font: 650 12.5px/1 var(--font-sans); color: var(--text-3); background: var(--chip-bg); }
.ap-success-steps .ico { width: 14px; height: 14px; }
.ap-success-steps .is-done { color: var(--success); background: var(--success-soft); }
.ap-success-steps .is-current { color: var(--accent-text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.ap-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.ap-success-burst { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ap-success-burst span { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; background: var(--accent); opacity: 0; animation: ap-confetti 2.6s var(--ease-out) forwards; }
.ap-success-burst span:nth-child(1) { left: 12%; animation-delay: .1s; background: var(--gold); }
.ap-success-burst span:nth-child(2) { left: 28%; animation-delay: .3s; }
.ap-success-burst span:nth-child(3) { left: 46%; animation-delay: .05s; background: var(--cream); }
.ap-success-burst span:nth-child(4) { left: 63%; animation-delay: .25s; background: var(--success); }
.ap-success-burst span:nth-child(5) { left: 78%; animation-delay: .15s; }
.ap-success-burst span:nth-child(6) { left: 90%; animation-delay: .4s; background: var(--gold); }

.ap-closed { max-width: 680px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ap-closed p { max-width: 50ch; margin: 0; color: var(--text-2); line-height: 1.6; }
.ap-closed-ico { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 22px; color: var(--accent-text); background: var(--accent-soft); }
.ap-closed-ico .ico { width: 32px; height: 32px; }
.ap-closed-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* SSS */
.ap-faq { padding-bottom: 60px; }
.ap-faq-list { display: grid; gap: 10px; max-width: 820px; }
.ap-faq-item { border-radius: var(--radius); background: var(--surface); box-shadow: var(--hairline); transition: background-color .2s ease; }
.ap-faq-item[open] { background: var(--surface-2); }
.ap-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 14px 18px; font: 650 15.5px/1.35 var(--font-sans); cursor: pointer; list-style: none; }
.ap-faq-item summary::-webkit-details-marker { display: none; }
.ap-faq-item summary .ico { flex: none; width: 20px; height: 20px; color: var(--accent-text); transition: transform .35s var(--ease-spring); }
.ap-faq-item[open] summary .ico { transform: rotate(45deg); }
.ap-faq-item p { margin: 0; padding: 0 18px 18px; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

/* Masaüstü */
@media (min-width: 900px) {
  .ap-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding: 48px 0 56px; min-height: min(78vh, 720px); }
  .ap-hero-art { min-height: 420px; }
  .ap-hero-actions .btn { flex: 0 0 auto; }
  .ap-flow-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .ap-flow-list::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), var(--border-strong) 70%, transparent); }
  .ap-flow-item { flex-direction: column; }
  .ap-section { padding-top: 76px; }
}
@media (max-width: 420px) {
  .ap-float--b { display: none; }
  /* Düğmeler içerik genişliğinden büyür; sığmazsa son adımın "Başvurumu gönder" düğmesi kendi satırına geçer
     (eşit paylaşım etiketi kırpıyordu: 360px'te ~147px'e ~193px'lik etiket). */
  .ap-nav { flex-wrap: wrap; }
  .ap-nav .btn { flex: 1 1 auto; }
  .ap-nav [data-step-submit] { --btn-px: 16px; }
  .ap-nav-spacer { display: none; }
  .ap-summary.kv { grid-template-columns: 1fr; gap: 2px; }
  .ap-summary dd { margin-bottom: 8px; }
}

@keyframes ap-rotate { to { transform: rotate(360deg); } }
@keyframes ap-step-in { from { opacity: 0; transform: translateX(26px); } }
@keyframes ap-step-in-back { from { opacity: 0; transform: translateX(-26px); } }
@keyframes ap-confetti {
  0% { opacity: 0; transform: translateY(0) rotate(0); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translateY(420px) rotate(540deg); }
}

@media (prefers-reduced-motion: reduce) {
  .ap-orbit span, .ap-float, .ap-success-burst span, .au-timeline .is-current .tl-dot, .au-timeline .is-current .tl-dot .ico { animation: none !important; }
  .ap-form.is-wizard .ap-step.is-active { animation: none; }
}
.reduce-motion :is(.ap-orbit span, .ap-float, .ap-success-burst span, .au-timeline .tl-dot, .au-timeline .tl-dot .ico, .ap-step.is-active) { animation: none !important; }

/* F0-06: 2FA ekranında kurtarma kodu ve "Ben değilim" sayfası */
.au-recovery { margin-top: 18px; border-radius: var(--radius); background: var(--chip-bg); box-shadow: var(--hairline); }
.au-recovery > summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font: 650 14px/1.3 var(--font-sans); color: var(--text-2); cursor: pointer; list-style: none; }
.au-recovery > summary::-webkit-details-marker { display: none; }
.au-recovery > summary .ico { flex: none; width: 16px; height: 16px; color: var(--accent-text); }
.au-recovery[open] > summary { color: var(--text); }
.au-recovery > form { padding: 4px 16px 16px; }
.au-recovery-input { font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.au-notme-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--chip-bg); box-shadow: var(--hairline); font-size: 14px; }
.au-notme-facts dt { color: var(--text-3); font-weight: 600; }
.au-notme-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
/* Sayfanın tek eylemi telefonda kesilmesin: uzun etiket alt satıra geçer */
.btn.au-btn-wrap { white-space: normal; padding-block: 10px; line-height: 1.25; }
.btn.au-btn-wrap > span { min-width: 0; }

/* F0-16: kapalı beta — davet kodu kapısı ve davetli karşılama şeridi (Yazar ol) */
.ap-beta-form { width: 100%; max-width: 440px; text-align: left; }
.ap-beta-row { display: flex; gap: 10px; }
.ap-beta-row .input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .08em; }
.ap-beta-row .btn { flex: none; }
.ap-beta-invite { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 62ch; margin: 16px auto 0; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; line-height: 1.55; text-align: left; color: var(--text-2); background: var(--success-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 28%, transparent); }
.ap-beta-invite .ico { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--success); }
.ap-beta-invite strong { color: var(--text); }
@media (max-width: 420px) { .ap-beta-row { flex-direction: column; } }
