/* HunKO — Hızlı Ön Başvuru & Nick Kilidi Modalı (Aday 12 · K54 CSP & GPU Uyumlu: 0 blur, yalnız transform/opacity) */
.hk-ob-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9800;
  background: rgba(8, 7, 6, 0.86);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.hk-ob-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.hk-ob-backdrop[hidden] {
  display: none;
}

.hk-ob-dialog {
  width: 100%;
  max-width: 580px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: linear-gradient(180deg, #1b1510 0%, #110e0b 100%);
  border: 1.5px solid rgba(218, 165, 68, 0.58);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.92), 0 0 42px rgba(218, 165, 68, 0.16);
  padding: 24px 26px 26px;
  color: var(--ink, #f4efe6);
  transform: translate3d(0, 18px, 0) scale(0.97);
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}
.hk-ob-backdrop.is-open .hk-ob-dialog {
  transform: translate3d(0, 0, 0) scale(1);
}

.hk-ob-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hk-ob-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(218, 165, 68, 0.2);
}
.hk-ob-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-hi, #ffd23f);
  margin-bottom: 4px;
}
.hk-ob-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd23f;
  box-shadow: 0 0 8px #ffd23f;
}
.hk-ob-title {
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: clamp(22px, 3vw, 27px);
  font-weight: 800;
  line-height: 1.15;
  color: #f7f2e8;
  margin: 0;
}
.hk-ob-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e6dfd3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.hk-ob-close:hover {
  border-color: rgba(218, 165, 68, 0.6);
  color: #ffd23f;
}

.hk-ob-sub {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(244, 239, 230, 0.78);
  margin: 0 0 16px;
}

.hk-ob-lbl {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ebd9b4;
  margin-bottom: 6px;
}
.hk-ob-lbl small {
  font-weight: 600;
  font-size: 11.5px;
  color: rgba(244, 239, 230, 0.62);
}

.hk-ob-ulus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.hk-ob-ulus-btn {
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(24, 20, 16, 0.9);
  color: #f4efe6;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.hk-ob-ulus-btn strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.hk-ob-ulus-btn span {
  display: block;
  font-size: 11.5px;
  color: rgba(244, 239, 230, 0.65);
}
.hk-ob-ulus-btn i {
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffd23f;
  color: #120e0a;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.hk-ob-ulus-btn.is-active {
  border-color: #ffd23f;
  background: rgba(218, 165, 68, 0.16);
}
.hk-ob-ulus-btn.is-active i {
  opacity: 1;
  transform: scale(1);
}

.hk-ob-sinif-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.hk-ob-sinif-btn {
  padding: 9px 6px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(22, 18, 15, 0.9);
  color: #e6dfd3;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.14s ease, background-color 0.14s ease, color 0.14s ease;
}
.hk-ob-sinif-btn.is-active {
  border-color: #ffd23f;
  background: rgba(255, 210, 63, 0.18);
  color: #ffd23f;
}

.hk-ob-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 560px) {
  .hk-ob-grid-2 {
    grid-template-columns: 1fr;
  }
  .hk-ob-sinif-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hk-ob-field {
  margin-bottom: 12px;
}
.hk-ob-grid-2 .hk-ob-field {
  margin-bottom: 0;
}
.hk-ob-in {
  position: relative;
  display: flex;
  align-items: center;
  background: #0b0908;
  border: 1.5px solid rgba(218, 165, 68, 0.34);
  border-radius: 11px;
  overflow: hidden;
}
.hk-ob-in:focus-within {
  border-color: #ffd23f;
}
.hk-ob-field.is-bad .hk-ob-in {
  border-color: #ff6b6b;
}
.hk-ob-in input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  background: transparent;
  border: 0;
  color: #f7f2e8;
  font-size: 16px;
  font-weight: 600;
  outline: none;
}
.hk-ob-in--nick {
  border-color: rgba(255, 210, 63, 0.65);
  background: rgba(24, 19, 12, 0.95);
}
.hk-ob-in--nick input {
  font-weight: 800;
  color: #ffd23f;
}
.hk-ob-eye {
  background: transparent;
  border: 0;
  color: rgba(244, 239, 230, 0.65);
  padding: 0 12px;
  height: 44px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.hk-ob-err {
  min-height: 0;
  margin: 4px 0 0;
  font-size: 12px;
  color: #ff7b7b;
}

.hk-ob-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 14px;
  font-size: 12.5px;
  color: rgba(244, 239, 230, 0.85);
}
.hk-ob-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.hk-ob-check input {
  margin-top: 2px;
  accent-color: #ffd23f;
}
.hk-ob-check a {
  color: #ffd23f;
  text-decoration: underline;
}

.hk-ob-msg {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 95, 95, 0.14);
  border: 1px solid rgba(255, 95, 95, 0.45);
  color: #ff9c9c;
  font-size: 13px;
  margin: 0 0 12px;
}

.hk-ob-submit {
  width: 100%;
  height: 50px;
  border-radius: 13px;
  border: 1px solid #ffd23f;
  background: linear-gradient(90deg, #ffd23f 0%, #d8982b 100%);
  color: #120d08;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(218, 165, 68, 0.28);
  transition: transform 0.14s ease, opacity 0.14s ease;
}
.hk-ob-submit:hover {
  transform: translate3d(0, -1px, 0);
}
.hk-ob-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.hk-ob-submit.is-pasif {
  opacity: .58;
}

/* Başarı / Mühür Ekranı */
.hk-ob-done {
  text-align: center;
  padding: 8px 4px 4px;
}
.hk-ob-seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd23f 0%, #e5a93b 100%);
  color: #120d08;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.hk-ob-done-title {
  font-family: var(--font-display, system-ui, sans-serif);
  font-size: 25px;
  font-weight: 900;
  color: #f7f2e8;
  margin: 0 0 8px;
}
.hk-ob-nick-card {
  margin: 14px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 210, 63, 0.1);
  border: 2px solid #ffd23f;
}
.hk-ob-nick-card small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ebd9b4;
  margin-bottom: 4px;
}
.hk-ob-nick-card strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #ffd23f;
  letter-spacing: -0.02em;
}
.hk-ob-nick-meta {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #d7cfc2;
}
.hk-ob-rec {
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 10, 8, 0.9);
  border: 1px solid rgba(218, 165, 68, 0.35);
  text-align: left;
}
.hk-ob-rec strong {
  display: block;
  font-size: 13px;
  color: #ffd23f;
  margin-bottom: 4px;
}
.hk-ob-rec code {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  background: #070605;
  color: #f7f2e8;
  font-size: 14px;
  font-weight: 700;
  margin: 6px 0 8px;
  word-break: break-all;
}
.hk-ob-done-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Mobil (390x844) ve kısa ekranlarda #hkObSubmit ilk görünüm sığımı (K-7 / U1-F9) */
@media (max-width: 640px), (max-height: 880px) {
  .hk-ob-backdrop {
    padding: 8px;
  }
  .hk-ob-dialog {
    max-height: calc(100vh - 16px);
    padding: 14px 15px 16px;
    border-radius: 14px;
  }
  .hk-ob-head {
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  .hk-ob-kicker {
    font-size: 11px;
    margin-bottom: 2px;
  }
  .hk-ob-title {
    font-size: 20px;
  }
  .hk-ob-sub {
    font-size: 12.5px;
    line-height: 1.35;
    margin: 0 0 9px;
  }
  .hk-ob-lbl {
    font-size: 12.5px;
    margin-bottom: 4px;
  }
  .hk-ob-ulus-grid {
    gap: 8px;
    margin-bottom: 9px;
  }
  .hk-ob-ulus-btn {
    padding: 8px 10px;
  }
  .hk-ob-ulus-btn strong {
    font-size: 14px;
  }
  .hk-ob-sinif-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 9px;
  }
  .hk-ob-sinif-btn {
    padding: 7px 4px;
    font-size: 12px;
  }
  .hk-ob-grid-2 {
    gap: 8px;
    margin-bottom: 8px;
  }
  .hk-ob-field {
    margin-bottom: 8px;
  }
  .hk-ob-in input,
  .hk-ob-eye {
    height: 38px;
  }
  .hk-ob-checks {
    gap: 6px;
    margin: 7px 0 10px;
    font-size: 12px;
    line-height: 1.35;
  }
  .hk-ob-submit {
    height: 44px;
    font-size: 15px;
  }
}
