:root {
  --bordo: #7A0C2E;
  --bordo-deep: #4E071C;
  --mavi: #0B3D91;
  --mavi-bright: #1E5BB8;
  --ink: #120910;
  --paper: #F7F4F1;
  --muted: rgba(18, 9, 16, 0.62);
  --line: rgba(18, 9, 16, 0.12);
  --ok: #1F6B3A;
  --err: #9B1C1C;
  --radius: 18px;
  --font: "Outfit", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --shadow: 0 24px 60px rgba(18, 9, 16, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(122, 12, 46, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(11, 61, 145, 0.5), transparent 50%),
    linear-gradient(165deg, #2a0a16 0%, #0a1a3a 45%, #1a0c18 100%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
  to { filter: hue-rotate(8deg) saturate(1.08); transform: scale(1.03); }
}

.public-shell {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(1.25rem, 4vw, 3rem);
}

.hero-apply, .profile-page {
  width: min(520px, 100%);
  margin: auto;
  animation: rise 0.7s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.brand-block { margin-bottom: 1.5rem; color: #fff; }
.brand-block.compact { margin-bottom: 1rem; }
.brand-name {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #fff 20%, #c9d8ff 55%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandIn 0.9s ease both;
}
@keyframes brandIn {
  from { opacity: 0; letter-spacing: 0.08em; }
  to { opacity: 1; letter-spacing: -0.03em; }
}
.brand-line {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
}
.brand-sub {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 36ch;
}
.brand-sub a { color: #fff; }

.apply-form {
  display: grid;
  gap: 1rem;
  padding-bottom: 5.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.92rem;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1.02rem;
  outline: none;
  backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s, transform .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.42); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}
.field select option { color: #111; }
.date-native-wrap {
  position: relative;
  min-height: 3.2rem;
  cursor: pointer;
}
.date-native-display {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1.02rem;
  outline: none;
  backdrop-filter: blur(10px);
  min-height: 3.2rem;
  pointer-events: none;
}
.date-native-display::placeholder { color: rgba(255,255,255,0.42); }
.date-native-picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  margin: 0;
  padding: 0;
  cursor: pointer;
  color-scheme: dark;
  font-size: 16px;
  z-index: 2;
}
/* Chrome/Edge: takvim ikonu yalnızca sağda tıklanır — tüm alana yay */
.date-native-picker::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  background: transparent;
  color: transparent;
}
.date-native-wrap:focus-within .date-native-display {
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.14);
}
.field-hint {
  margin: 0.4rem 0 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.check-label {
  display: flex !important;
  gap: 0.75rem;
  align-items: flex-start;
  cursor: pointer;
}
.check-label input { width: auto; margin-top: 0.2rem; accent-color: var(--bordo); }
.field-error { margin: 0.35rem 0 0; color: #ffb4b4; font-size: 0.85rem; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #ff8a8a; }

.invite-field input {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.invite-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}
.invite-request-link {
  color: #9ec5ff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.invite-request-link:hover {
  color: #fff;
}

.kvkk-box {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  line-height: 1.5;
}
.kvkk-box h2 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}
.kvkk-box p { margin: 0; }

.notice {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.notice-ok { background: rgba(31,107,58,0.25); color: #d8ffe6; border: 1px solid rgba(120,220,160,0.35); }
.notice-err { background: rgba(155,28,28,0.28); color: #ffe0e0; border: 1px solid rgba(255,150,150,0.35); }

.form-actions {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem) calc(1rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(10,15,30,0.95), rgba(10,15,30,0));
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.btn-primary, .btn-secondary {
  pointer-events: auto;
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  width: min(520px, 100%);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--bordo) 0%, var(--mavi) 100%);
  box-shadow: 0 12px 30px rgba(122, 12, 46, 0.35);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-secondary {
  width: auto;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  font-weight: 600;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 1.75rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.profile-glow {
  position: absolute;
  width: 180px; height: 180px;
  right: -40px; top: -50px;
  background: radial-gradient(circle, var(--level), transparent 70%);
  opacity: 0.55;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.15); opacity: 0.7; }
}
.profile-avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 0 1rem;
}
.profile-avatar-wrap.compact {
  justify-content: flex-start;
  margin-bottom: 0.85rem;
}
.avatar {
  display: block;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  background: linear-gradient(145deg, var(--level, var(--bordo)), var(--mavi));
  flex-shrink: 0;
}
.avatar-sm { width: 48px; height: 48px; border-width: 2px; }
.avatar-md { width: 72px; height: 72px; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-xl { width: 128px; height: 128px; border-width: 4px; }
.avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-family: var(--display);
}
.avatar-sm.avatar-fallback { font-size: 0.95rem; }
.avatar-md.avatar-fallback { font-size: 1.25rem; }
.avatar-lg.avatar-fallback { font-size: 1.6rem; }
.avatar-xl.avatar-fallback { font-size: 2.1rem; }

.avatar-picker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  margin: 0 0 0.35rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
}
.avatar-picker-preview {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--level, var(--bordo)), var(--mavi));
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
}
.avatar-picker-img,
.avatar-picker-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.avatar-picker-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
}
.avatar-picker-fallback[hidden],
.avatar-picker-img[hidden] { display: none !important; }
.avatar-picker-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.28);
  pointer-events: none;
  transition: border-color .2s, box-shadow .2s;
}
.avatar-picker.has-file .avatar-picker-ring {
  border-color: rgba(201, 216, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(30, 91, 184, 0.2);
}
.avatar-picker.will-remove .avatar-picker-preview {
  opacity: 0.4;
  filter: grayscale(0.5);
}
.avatar-picker.is-error {
  border-color: rgba(255, 140, 140, 0.55);
  background: rgba(155, 28, 28, 0.18);
}
.avatar-picker-body { min-width: 0; }
.avatar-picker-title {
  margin: 0 0 0.2rem;
  font-weight: 650;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.95);
}
.avatar-picker-hint {
  margin: 0 0 0.8rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.35;
}
.avatar-picker-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}
.avatar-picker-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.avatar-picker-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: #fff;
  background: linear-gradient(120deg, rgba(122,12,46,0.95) 0%, rgba(11,61,145,0.95) 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.avatar-picker-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}
.avatar-picker-btn:active { transform: translateY(0); }
.avatar-picker-btn:focus-within {
  outline: 2px solid rgba(255,255,255,0.55);
  outline-offset: 3px;
}
.avatar-picker-btn-icon { display: grid; place-items: center; }
.avatar-picker-filename {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar-picker.has-file .avatar-picker-filename {
  color: #c9d8ff;
  font-weight: 600;
}
.avatar-picker-remove {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.75rem;
  font-size: 0.86rem;
  color: rgba(255, 210, 210, 0.9);
  cursor: pointer;
}
.avatar-picker-remove input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.1rem;
  accent-color: #ffd0dc;
}

@media (max-width: 520px) {
  .avatar-picker {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

.profile-level {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.profile-card h1, .profile-card h2, .profile-name {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 2rem;
  text-align: center;
}
.profile-type-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
  min-height: 2rem;
}
.profile-types {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
}
.profile-phone {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.profile-phone:hover { border-bottom-color: #fff; }
.profile-social {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: 0;
  flex: 0 0 auto;
  margin-left: auto;
}
.social-btn {
  box-sizing: border-box;
  width: 28px;
  height: 28px;
  min-width: 28px;
  max-width: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: #fff !important;
  background: transparent;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none;
  line-height: 0;
  font-size: 0;
  opacity: 0.92;
  transition: transform .15s ease, opacity .15s ease;
}
.social-btn:visited,
.social-btn:active,
.social-btn:focus {
  color: #fff !important;
  text-decoration: none !important;
  outline: none;
}
.social-btn:focus-visible {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.35);
}
.social-btn svg {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  fill: #fff;
  color: #fff;
}
.social-btn:hover {
  transform: translateY(-1px) scale(1.08);
  opacity: 1;
  text-decoration: none !important;
  background: transparent;
  border: 0 !important;
  box-shadow: none;
}
.social-facebook:hover,
.social-x:hover,
.social-instagram:hover,
.social-youtube:hover,
.social-linkedin:hover,
.social-email:hover {
  background: transparent;
}
.profile-meta {
  position: relative;
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.profile-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 0.75rem;
}
.profile-meta dt { color: rgba(255,255,255,0.65); margin: 0; }
.profile-meta dd { margin: 0; font-weight: 600; }
.profile-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.member-portal .member-form,
.member-portal .apply-form {
  padding-bottom: 0.5rem;
  gap: 1rem;
}
.member-portal .form-actions,
.member-portal .member-form-actions {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.25rem 0 0;
  background: none;
  pointer-events: auto;
  justify-content: stretch;
  width: 100%;
}
.member-portal .form-actions .btn-primary,
.member-portal .form-actions .btn-secondary,
.member-portal .member-form-actions .btn-primary,
.member-portal .member-form-actions .btn-secondary {
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.field-aside {
  margin: 0.45rem 0 0;
  text-align: right;
  font-size: 0.9rem;
}
.field-aside a {
  color: #c9d8ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.field-aside a:hover { color: #fff; }
.member-links {
  margin: 1rem 0 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.member-links a { color: #fff; font-weight: 600; }
.member-card {
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
}
.member-card .muted { color: rgba(255,255,255,0.7); margin: 0 0 0.75rem; }
.member-meta a { color: #fff; }
.type-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.5rem 0 0.75rem; }
.type-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}
.member-nav {
  display: grid;
  gap: 0.65rem;
}
.member-nav .btn-primary,
.member-nav .btn-secondary,
.member-actions .btn-primary,
.member-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  width: 100%;
}
.btn-ghost {
  width: 100%;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.75);
  font: inherit;
  font-weight: 600;
  padding: 0.65rem;
  cursor: pointer;
}
.btn-ghost:hover { color: #fff; }
.inline-form { margin: 0; }
.notice-warn {
  background: rgba(180, 120, 20, 0.28);
  border: 1px solid rgba(255, 200, 80, 0.45);
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}
.member-actions {
  display: grid;
  gap: 0.65rem;
  position: static;
  padding: 0;
  background: none;
}

.profile-back {
  margin: 1.25rem 0 0;
  text-align: center;
}
.profile-back a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
}
.profile-back a:hover { color: #fff; }

.directory-page {
  width: min(1100px, 100%);
  margin: 0 auto;
  animation: rise 0.7s cubic-bezier(.2,.8,.2,1) both;
}
.directory-hero { margin-bottom: 1.25rem; }
.directory-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}
.directory-search input[type="search"] {
  flex: 1 1 220px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font: inherit;
  outline: none;
}
.directory-search select {
  flex: 0 1 160px;
  min-width: 7.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 0.85rem;
  font: inherit;
  outline: none;
}
.directory-search select option { color: #120910; }
.directory-search input::placeholder { color: rgba(255,255,255,0.42); }
.directory-search .btn-secondary {
  width: auto;
  min-width: 5.5rem;
}
.directory-clear {
  align-self: center;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-decoration: none;
}
.directory-clear:hover { color: #fff; }
.directory-count {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
}
.directory-empty {
  color: rgba(255,255,255,0.75);
  padding: 2rem 0;
  text-align: center;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.85rem;
}
.directory-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  padding: 1.05rem 1.1rem;
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.directory-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.12);
}
.directory-card-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  right: -30px;
  top: -40px;
  background: radial-gradient(circle, var(--level, var(--bordo)), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.directory-card-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.directory-card-text {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}
.directory-card-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.directory-card-types {
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.directory-card-meta {
  position: relative;
  display: grid;
  gap: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
}
.directory-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.75rem 0 0.5rem;
}
.directory-footer-nav a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  text-decoration: none;
}
.directory-footer-nav a:hover { color: #fff; }

.directory-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
  flex-wrap: wrap;
}
.directory-pager .btn-secondary {
  width: auto;
  min-width: 7rem;
}

.search-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: rgba(6, 10, 22, 0.62);
  backdrop-filter: blur(5px);
}
.search-loading-overlay[hidden] { display: none !important; }
.search-loading-box {
  padding: 1rem 1.45rem;
  border-radius: 16px;
  background: linear-gradient(120deg, #7A0C2E, #0B3D91);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
body.is-search-loading { overflow: hidden; }

@media (min-width: 768px) {
  .public-shell { padding: 3rem; }
  .form-actions { position: static; padding: 0.5rem 0 0; background: none; }
  .btn-primary { width: 100%; }
  .apply-form { padding-bottom: 0; }
}

/* ——— Üye paneli (yuva) ——— */
.member-home {
  width: min(560px, 100%);
  margin: 0 auto;
  color: #fff;
  padding-bottom: 0.5rem;
}
.mp-anim {
  animation: mpRise 0.55s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--d, 0s);
}
@keyframes mpRise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.mp-welcome {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.mp-welcome-avatar { flex: 0 0 auto; }
.mp-welcome-text { min-width: 0; }
.mp-kicker {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #fff 15%, #c9d8ff 55%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mp-hello {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.mp-welcome-sub { margin: 0.35rem 0 0; }

/* Panel karşılama özeti */
.mp-orient {
  margin: 0 0 1.15rem;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(122, 12, 46, 0.28) 0%, rgba(11, 61, 145, 0.22) 55%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mp-orient-intro { margin: 0 0 0.9rem; }
.mp-orient-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 208, 220, 0.9);
}
.mp-orient-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}
.mp-hub-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}
@media (min-width: 520px) {
  .mp-hub-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.mp-hub-stat {
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
.mp-hub-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.mp-hub-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.mp-wa-gates {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
}
.mp-wa-gate {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.mp-wa-gate:hover { transform: translateY(-1px); }
.mp-wa-gate-ico {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.mp-wa-gate-ico svg { width: 1.2rem; height: 1.2rem; }
.mp-wa-gate-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.mp-wa-gate-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.mp-wa-gate-text small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}
.mp-wa-gate-go {
  opacity: 0.65;
  font-weight: 700;
}
.mp-wa-gate--channel {
  background: rgba(11, 61, 145, 0.32);
  border-color: rgba(11, 61, 145, 0.5);
}
.mp-wa-gate--channel .mp-wa-gate-ico { background: #0B3D91; }
.mp-wa-gate--channel:hover { background: rgba(11, 61, 145, 0.44); border-color: rgba(91, 156, 255, 0.55); }
.mp-wa-gate--community {
  background: rgba(122, 12, 46, 0.34);
  border-color: rgba(122, 12, 46, 0.55);
}
.mp-wa-gate--community .mp-wa-gate-ico { background: #7A0C2E; }
.mp-wa-gate--community:hover { background: rgba(122, 12, 46, 0.46); border-color: rgba(232, 96, 132, 0.55); }
.mp-wa-gate--group {
  background: rgba(31, 168, 85, 0.22);
  border-color: rgba(31, 168, 85, 0.5);
}
.mp-wa-gate--group .mp-wa-gate-ico { background: #1FA855; }
.mp-wa-gate--group:hover { background: rgba(31, 168, 85, 0.34); border-color: rgba(37, 211, 102, 0.6); }
.mp-orient-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
}
.mp-orient-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.mp-orient-links a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.5); }
.mp-section-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.mp-notices { display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.mp-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  transition: transform 0.18s ease, background 0.18s ease;
}
a.mp-notice:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); }
.mp-notice-warn { border-color: rgba(255, 200, 80, 0.4); background: rgba(180, 120, 20, 0.28); }
.mp-notice-info { border-color: rgba(120, 170, 255, 0.35); background: rgba(11, 61, 145, 0.35); }
.mp-notice-tip { border-color: rgba(255,255,255,0.14); opacity: 0.95; }
.mp-notice-go { opacity: 0.7; font-weight: 700; }

/* Ek davet hakkı formu */
.mp-invite-request {
  text-align: left;
  margin-bottom: 1.15rem;
  padding: 1.15rem 1.2rem 1.25rem;
}
.mp-invite-request-title {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.mp-invite-request-pending {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}
.mp-invite-request-pending strong {
  color: #fff;
}
.mp-invite-request-pending span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.mp-invite-request-form {
  display: grid;
  gap: 1rem;
  margin: 0;
}
.mp-invite-request-form .field {
  display: grid;
  gap: 0.4rem;
  margin: 0;
}
.mp-invite-request-form .field label {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 500;
}
.mp-invite-request-form .field input,
.mp-invite-request-form .field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1.02rem;
  outline: none;
  resize: vertical;
  min-height: 0;
  transition: border-color 0.2s, background 0.2s;
}
.mp-invite-request-form .field input[type="number"] {
  max-width: 8.5rem;
  -moz-appearance: textfield;
  appearance: textfield;
}
.mp-invite-request-form .field input[type="number"]::-webkit-outer-spin-button,
.mp-invite-request-form .field input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.mp-invite-request-form .field textarea {
  min-height: 5.5rem;
  line-height: 1.45;
}
.mp-invite-request-form .field input::placeholder,
.mp-invite-request-form .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.mp-invite-request-form .field input:focus,
.mp-invite-request-form .field textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}
.mp-invite-request-form .btn-primary {
  margin-top: 0.15rem;
  width: 100%;
}
.mp-invite-request-history {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mp-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.15rem;
}
.mp-shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 5.1rem;
  padding: 0.7rem 0.4rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
a.mp-shortcut:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
}
.mp-shortcut-soon {
  opacity: 0.55;
  cursor: default;
}
.mp-soon {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(122, 12, 46, 0.85);
}
.mp-ico {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: #ffd0dc;
}
.mp-ico svg { width: 1.35rem; height: 1.35rem; }

.mp-invite {
  border-radius: 20px;
  padding: 1.15rem 1.2rem 1.25rem;
  margin-bottom: 1.15rem;
  background:
    linear-gradient(145deg, rgba(122, 12, 46, 0.55), rgba(11, 61, 145, 0.4)),
    rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.mp-invite-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.mp-invite-head p { margin: 0.25rem 0 0.85rem; }
.mp-invite-card-preview {
  display: block;
  width: min(240px, 70%);
  margin: 0 auto 1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease;
}
.mp-invite-card-preview:hover { transform: translateY(-2px); }
.mp-invite-card-preview img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.mp-invite-actions {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}
.mp-invite-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.mp-invite-wa {
  text-align: center;
  text-decoration: none;
}
.mp-invite-wa.is-disabled {
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.12);
}
.mp-invite-link-line {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  word-break: break-all;
}
.mp-invite-link-line a {
  color: rgba(255, 255, 255, 0.85);
}
.mp-invite-code-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
  margin-bottom: 0.85rem;
}
.mp-invite-code {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.16);
}
.mp-copy-btn {
  width: auto !important;
  flex: 0 0 auto;
  padding-inline: 1.1rem;
  white-space: nowrap;
}
.mp-progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  overflow: hidden;
}
.mp-progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd0dc, #c9d8ff);
  transition: width 0.6s cubic-bezier(.2,.8,.2,1);
}
.mp-progress-label {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}

.mp-section { margin-bottom: 1.25rem; }
.mp-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.mp-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.mp-section-head a {
  color: #c9d8ff;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}
.mp-section-head a:hover { color: #fff; }
.mp-empty { margin: 0; padding: 0.85rem 0; }

.mp-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.mp-event-card {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0.95rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform 0.18s ease, background 0.18s ease;
}
.mp-event-card:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.11);
}
.mp-event-date {
  flex: 0 0 3.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(122, 12, 46, 0.55);
  border: 1px solid rgba(255,208,220,0.25);
  padding: 0.45rem 0.25rem;
  line-height: 1.1;
}
.mp-event-day {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.mp-event-mon {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-top: 0.15rem;
}
.mp-event-body { min-width: 0; flex: 1; }
.mp-event-title {
  display: block;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 0.2rem;
}
.mp-event-title:hover { color: #ffd0dc; }
.mp-event-body .muted { margin: 0 0 0.55rem; font-size: 0.86rem; }
.mp-event-excerpt {
  margin: 0 0 0.55rem;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}
.mp-event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.mp-event-open {
  width: auto !important;
  padding: 0.45rem 0.85rem !important;
  font-size: 0.82rem !important;
}
.mp-rsvp-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}
.mp-rsvp-pending {
  color: #fff;
  background: rgba(180, 120, 20, 0.4);
  border-color: rgba(255, 200, 80, 0.35);
}
.mp-rsvp-yes {
  color: #d8ffe8;
  background: rgba(31, 107, 58, 0.45);
  border-color: rgba(120, 220, 160, 0.35);
}
.mp-rsvp-no {
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.15);
}

.mp-activity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.mp-activity li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}
.mp-activity a { color: #fff; text-decoration: none; }
.mp-activity a:hover { color: #ffd0dc; }
.mp-activity .muted { font-size: 0.8rem; margin-top: 0.15rem; }
.mp-activity-dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  flex: 0 0 auto;
  background: #c9d8ff;
  box-shadow: 0 0 0 3px rgba(201, 216, 255, 0.2);
}
.mp-activity-dot.yes { background: #7ddea4; box-shadow: 0 0 0 3px rgba(125, 222, 164, 0.2); }
.mp-activity-dot.invite { background: #ffd0dc; box-shadow: 0 0 0 3px rgba(255, 208, 220, 0.22); }

.mp-status {
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.mp-status h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.mp-status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
  margin: 0 0 0.75rem;
}
.mp-status-grid div {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mp-status-grid dt {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.62);
}
.mp-status-grid dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-word;
}
.mp-status-email { font-size: 0.82rem !important; font-weight: 600 !important; }
.mp-logout-form { margin: 0; }
.mp-logout-form .btn-ghost { width: 100%; }

/* Üye mobil kabuk: üst app bar + hamburger drawer */
.has-member-shell {
  --member-appbar-h: 4.65rem;
}
.has-member-shell .public-shell-member {
  padding-top: calc(var(--member-appbar-h) + env(safe-area-inset-top, 0px) + 1.15rem);
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  max-width: 640px;
}
.member-appbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(640px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  min-height: var(--member-appbar-h);
  padding: calc(0.65rem + env(safe-area-inset-top, 0px)) 0.85rem 0.65rem;
  background: rgba(10, 8, 16, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.28);
}
.member-appbar-toggle {
  width: 2.55rem;
  height: 2.55rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: grid;
  place-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.member-appbar-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.member-appbar-title {
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}
.member-appbar-brand {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.member-appbar-page {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-appbar-avatar {
  display: grid;
  place-items: center;
  text-decoration: none;
}
.member-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 2, 8, 0.62);
  backdrop-filter: blur(2px);
}
.member-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  width: min(20rem, 88vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: calc(0.85rem + env(safe-area-inset-top, 0px)) 0.9rem calc(1rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(165deg, #1a0a14 0%, #0b1a3a 55%, #0a1228 100%);
  border-right: 1px solid rgba(255,255,255,0.1);
  box-shadow: 18px 0 48px rgba(0,0,0,0.4);
  transform: translateX(-105%);
  transition: transform 0.22s ease;
}
.member-drawer.is-open { transform: translateX(0); }
body.member-nav-open { overflow: hidden; }
.member-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.member-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.member-drawer-mark {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #7A0C2E, #0B3D91);
}
.member-drawer-brand strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}
.member-drawer-brand small {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
}
.member-drawer-close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.member-drawer-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.member-drawer-user-text {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}
.member-drawer-user-text strong {
  color: #fff;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-drawer-user-text .muted {
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.member-drawer-nav {
  display: grid;
  gap: 0.25rem;
  overflow: auto;
  flex: 1;
  padding-right: 0.15rem;
}
.member-drawer-nav a {
  display: block;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.member-drawer-nav a:hover,
.member-drawer-nav a.is-active {
  color: #fff;
  background: rgba(122, 12, 46, 0.42);
}
.member-drawer-logout {
  margin: 0;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.member-drawer-logout button {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1rem;
  cursor: pointer;
}
.member-drawer-logout button:hover {
  background: rgba(155, 28, 28, 0.35);
}
.member-dock { display: none !important; }

@media (min-width: 640px) {
  .mp-shortcuts { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
  .mp-shortcut { min-height: 5.4rem; font-size: 0.82rem; }
}

/* Masaüstü: kalıcı yan menü + geniş içerik (admin paneli gibi) */
@media (min-width: 960px) {
  .has-member-shell {
    --member-side: 16.5rem;
  }
  .has-member-shell .atmosphere {
    left: var(--member-side);
  }
  .member-backdrop {
    display: none !important;
  }
  .member-drawer {
    transform: none;
    width: var(--member-side);
    box-shadow: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    z-index: 40;
  }
  .member-drawer-close,
  .member-appbar-toggle {
    display: none !important;
  }
  .member-appbar {
    left: var(--member-side);
    right: 0;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 0;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
  .member-appbar-brand {
    font-size: 0.78rem;
  }
  .member-appbar-page {
    font-size: 1.12rem;
  }
  .has-member-shell .public-shell {
    justify-content: stretch;
    padding: 0;
  }
  .has-member-shell .public-shell-member {
    margin-left: var(--member-side);
    width: auto;
    max-width: none;
    min-height: 100vh;
    padding: calc(var(--member-appbar-h) + env(safe-area-inset-top, 0px) + 1.35rem) clamp(1.5rem, 3vw, 2.75rem) 2.5rem;
    box-sizing: border-box;
  }
  .has-member-shell .member-home,
  .has-member-shell .hero-apply,
  .has-member-shell .profile-page,
  .has-member-shell .member-portal {
    width: min(880px, 100%);
    margin-left: 0;
    margin-right: auto;
  }
  .has-member-shell .directory-page {
    width: min(1120px, 100%);
    margin-left: 0;
    margin-right: auto;
  }
  .has-member-shell .directory-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .has-member-shell .mp-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .has-member-shell .mp-shortcut {
    min-height: 5.8rem;
    font-size: 0.92rem;
  }
  .member-drawer-nav a {
    padding: 0.72rem 0.9rem;
  }
}

.mp-unread { background: rgba(255,255,255,0.1) !important; }
.mp-blood-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.mp-blood-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.mp-shortcuts { grid-template-columns: repeat(3, 1fr); }

/* ——— Anasayfa (site) ——— */
.public-shell-wide {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0;
  min-height: 100vh;
}
.is-landing .atmosphere {
  background:
    radial-gradient(ellipse 90% 55% at 8% -5%, rgba(122, 12, 46, 0.62), transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 8%, rgba(11, 61, 145, 0.55), transparent 52%),
    linear-gradient(168deg, #2a0a16 0%, #0a1a3a 42%, #140c1a 100%);
}

.site {
  width: 100%;
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  animation: rise 0.65s cubic-bezier(.2,.8,.2,1) both;
}

/* Site üst bar — backdrop-filter YOK (fixed menüyü kesmesin) */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.25rem);
  padding-top: calc(0.75rem + env(safe-area-inset-top, 0px));
  background: #0b0f1a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-chrome-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
}
.site-logo {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(120deg, #fff 20%, #c9d8ff 60%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  min-width: 0;
}
.site-nav-toggle {
  appearance: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 70;
  position: relative;
  flex: 0 0 auto;
  margin-left: auto;
}
.site-nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
body.site-nav-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.site-nav-open .site-nav-toggle span:nth-child(2) { opacity: 0; }
body.site-nav-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
}
.site-nav a:hover { color: #fff; }
.site-nav a.is-active { color: #fff; background: rgba(255,255,255,0.1); }
.site-nav-cta {
  color: #fff !important;
  background: linear-gradient(120deg, var(--bordo), var(--mavi));
  box-shadow: 0 8px 20px rgba(122, 12, 46, 0.28);
}
.site-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(4, 6, 14, 0.62);
}

/* Mobil çekmece: body altında fixed — kesilmesin */
@media (max-width: 799px) {
  .site-chrome .site-nav,
  .site-nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    z-index: 65 !important;
    width: min(18rem, 86vw);
    height: 100% !important;
    max-height: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
    padding: calc(4.75rem + env(safe-area-inset-top, 0px)) 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, #1a0e18 0%, #0c1528 100%);
    border-left: 1px solid rgba(255,255,255,0.12);
    box-shadow: -16px 0 40px rgba(0,0,0,0.45);
    transform: translate3d(105%, 0, 0);
    transition: transform 0.25s ease;
    pointer-events: none;
    visibility: hidden;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.site-nav-open .site-nav {
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
    visibility: visible;
  }
  .site-nav a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    text-align: left;
  }
  .site-nav-cta {
    text-align: center !important;
    margin-top: 0.35rem;
  }
  .site-nav-backdrop[hidden] { display: none !important; }
}

@media (min-width: 800px) {
  .site-nav-toggle { display: none !important; }
  .site-chrome-bar { flex: 0 1 auto; }
  .site-nav {
    display: flex !important;
    position: static !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
    width: auto;
    height: auto;
    max-height: none;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible;
  }
  .site-nav a {
    display: inline-flex;
    width: auto;
    background: transparent;
    text-align: center;
  }
  .site-nav-backdrop { display: none !important; }
}
.site-main {
  flex: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.75rem) clamp(1.1rem, 4vw, 2.25rem) 2rem;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.site-hero {
  padding: 0.35rem 0 0.25rem;
  max-width: 42rem;
}
.site-hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 9vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  background: linear-gradient(120deg, #fff 18%, #c9d8ff 52%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brandIn 0.9s ease both;
}
.site-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: none;
}
.site-hero-copy {
  margin: 0 0 1.45rem;
  color: rgba(255,255,255,0.8);
  font-size: 1.02rem;
  line-height: 1.6;
}
.site-hero-copy p {
  margin: 0 0 0.85rem;
}
.site-hero-copy p:last-child {
  margin-bottom: 0;
}
.site-hero-copy strong {
  color: #fff;
  font-weight: 700;
}
.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.site-hero-actions .btn-primary,
.site-hero-actions .btn-secondary {
  width: auto;
  min-width: 9.25rem;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.3rem;
}

.site-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  padding: 0.15rem 0;
  animation: siteStatsIn 0.8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: 0.12s;
}
@keyframes siteStatsIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.site-stat {
  position: relative;
  text-align: center;
  padding: 1rem 0.55rem 0.95rem;
  border-radius: 18px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03) 55%),
    rgba(8, 10, 20, 0.35);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.site-stat::before {
  content: "";
  position: absolute;
  inset: -40% auto auto 50%;
  width: 8rem;
  height: 8rem;
  transform: translateX(-50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(28px);
}
.site-stat-total::before {
  background: radial-gradient(circle, rgba(255, 180, 200, 0.55), transparent 70%);
}
.site-stat-forum::before {
  background: radial-gradient(circle, rgba(122, 12, 46, 0.7), transparent 70%);
}
.site-stat-web::before {
  background: radial-gradient(circle, rgba(11, 61, 145, 0.75), transparent 70%);
}
.site-stat-kongre::before {
  background: radial-gradient(circle, rgba(200, 160, 80, 0.55), transparent 70%);
}
.site-stat:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.28);
}
.site-stat-value {
  position: relative;
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(120deg, #fff 15%, #c9d8ff 55%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-stat-label {
  position: relative;
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.68);
  line-height: 1.25;
}

@media (min-width: 640px) {
  .site-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
  .site-stat { padding: 1.15rem 0.65rem 1.05rem; }
  .site-stat-label { font-size: 0.78rem; }
}

.site-recent-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.site-recent-head .site-section-lead { margin-bottom: 0; }
.site-recent-all {
  flex: 0 0 auto;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}
.site-recent-all:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.site-recent-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
.site-recent-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.site-recent-item:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.09);
  border-color: color-mix(in srgb, var(--level, #7A0C2E) 55%, rgba(255,255,255,0.2));
}
.site-recent-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.site-recent-text strong {
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-recent-text span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
}

@media (min-width: 640px) {
  .site-recent-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.site-section {
  scroll-margin-top: 5rem;
}
.site-section-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-section-lead {
  margin: 0 0 1.15rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  font-size: 0.98rem;
}

.site-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.site-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.site-step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--bordo), var(--mavi));
  flex: 0 0 auto;
}
.site-steps strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}
.site-steps p {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.site-meta {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  font-weight: 500;
}

.site-apply {
  padding: 1.15rem 1.1rem 1.35rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.site-form {
  padding-bottom: 5.75rem;
}
.site-form-actions .btn-primary {
  width: min(520px, 100%);
}
.site-apply-foot {
  margin: 1.15rem 0 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}
.site-apply-foot a { color: #fff; font-weight: 600; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.15rem;
  padding: 1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
}
.site-footer strong {
  color: rgba(255,255,255,0.78);
  font-weight: 600;
}
.site-footer a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 600;
}
.site-footer a:hover { color: #fff; }

.kvkk-box h3 {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 768px) {
  .site-form { padding-bottom: 0; }
  .site-form-actions {
    position: static;
    padding: 0.5rem 0 0;
    background: none;
    pointer-events: auto;
  }
  .site-form-actions .btn-primary { width: 100%; }
}

@media (min-width: 800px) {
  .site-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .site-steps li {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    min-height: 100%;
  }
}

/* Site chrome (üst bar) — giriş / şifre / doğrulama vb. */
body.has-site-chrome { color: #fff; }
body.site-nav-open { overflow: hidden; }
.public-shell-site:not(.public-shell-wide) {
  align-items: flex-start;
  padding-top: clamp(1.25rem, 3vw, 2rem);
}
.has-site-chrome .hero-apply,
.has-site-chrome .member-portal {
  width: min(520px, 100%);
  margin: 0 auto;
  animation: rise 0.65s cubic-bezier(.2,.8,.2,1) both;
}
.has-site-chrome .brand-block.compact .brand-name {
  font-size: clamp(1.8rem, 7vw, 2.4rem);
}

/* WhatsApp Topluluğu (üye paneli) */
.wa-section {
  margin: 0 0 1.35rem;
  scroll-margin-top: 4.5rem;
}
.wa-section-empty {
  margin: 0;
  font-size: 0.88rem;
}
.wa-section-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.7rem;
}
.wa-section-badge {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.wa-section-badge svg {
  width: 1.2rem;
  height: 1.2rem;
}
.wa-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}
.wa-section-head p {
  margin: 0.12rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}
.wa-group-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0;
}
.wa-group-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.wa-group-card:hover {
  transform: translateY(-2px);
}
.wa-group-ico {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.wa-group-ico svg {
  width: 1.3rem;
  height: 1.3rem;
}
.wa-group-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.wa-group-text strong {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.wa-group-text small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}
.wa-group-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.15rem;
  font-weight: 600;
}

/* Kanal — mavi */
.wa-section--channel .wa-section-badge,
.wa-group-card--channel .wa-group-ico {
  background: #0B3D91;
}
.wa-group-card--channel {
  border-color: rgba(11, 61, 145, 0.45);
  background: rgba(11, 61, 145, 0.22);
}
.wa-group-card--channel:hover {
  background: rgba(11, 61, 145, 0.34);
  border-color: rgba(91, 156, 255, 0.65);
}
.wa-section--channel .wa-section-head h2 {
  color: #8eb6ff;
}

/* Topluluk — bordo */
.wa-section--community .wa-section-badge,
.wa-group-card--community .wa-group-ico {
  background: #7A0C2E;
}
.wa-group-card--community {
  border-color: rgba(122, 12, 46, 0.5);
  background: rgba(122, 12, 46, 0.24);
}
.wa-group-card--community:hover {
  background: rgba(122, 12, 46, 0.38);
  border-color: rgba(232, 96, 132, 0.6);
}
.wa-section--community .wa-section-head h2 {
  color: #f0a0b8;
}

/* Grup — yeşil */
.wa-section--group .wa-section-badge,
.wa-group-card--group .wa-group-ico {
  background: #1FA855;
}
.wa-group-card--group {
  border-color: rgba(31, 168, 85, 0.5);
  background: rgba(31, 168, 85, 0.18);
}
.wa-group-card--group:hover {
  background: rgba(31, 168, 85, 0.3);
  border-color: rgba(37, 211, 102, 0.65);
}
.wa-section--group .wa-section-head h2 {
  color: #7defa8;
}

/* Davet landing /davet/{code} */
.invite-landing {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
  animation: rise 0.65s cubic-bezier(.2,.8,.2,1) both;
}
.invite-landing-head {
  text-align: center;
  margin-bottom: 1.25rem;
}
.invite-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(120deg, #fff 15%, #c9d8ff 55%, #ffd0dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.invite-landing-head h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.45rem, 5vw, 1.9rem);
  letter-spacing: -0.03em;
}
.invite-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}
.invite-card-panel {
  text-align: center;
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(122, 12, 46, 0.35), rgba(11, 61, 145, 0.28)),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.invite-card-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.invite-card-name {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 750;
}
.invite-card-code-label {
  margin: 0.85rem 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.invite-card-code {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.invite-card-preview {
  display: block;
  width: min(280px, 85%);
  margin: 1.1rem auto 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.invite-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.15rem;
  text-decoration: none;
}
.invite-hint {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
}
.invite-card-preview { display: none; }

/* Davet popup (üye paneli) */
body.invite-modal-open { overflow: hidden; }
.invite-modal[hidden] { display: none !important; }
.invite-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.invite-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 22, 0.72);
  backdrop-filter: blur(4px);
}
.invite-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 22px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(122, 12, 46, 0.55), rgba(11, 61, 145, 0.42)),
    #121c3a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: inviteModalIn 0.28s ease both;
}
@keyframes inviteModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.invite-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.invite-modal-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 208, 220, 0.9);
}
.invite-modal-dialog h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 750;
}
.invite-modal-sub {
  margin: 0 0 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}
.invite-modal-card {
  display: block;
  width: min(200px, 58%);
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.invite-modal-code {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.invite-modal-actions {
  display: grid;
  gap: 0.5rem;
}
.invite-modal-actions .btn-primary,
.invite-modal-actions .btn-secondary {
  width: 100%;
  text-decoration: none;
  justify-content: center;
}
.invite-modal-later {
  margin-top: 0.85rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* TC kapısı */
.tc-gate-hero {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.tc-gate-hero .site-hero-copy {
  margin-bottom: 0.5rem;
}
.tc-gate-card {
  width: min(420px, 100%);
  margin: 1.25rem auto 2rem;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}
.tc-gate-form {
  display: grid;
  gap: 0.65rem;
}
.tc-gate-form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.tc-gate-form input[type="text"],
.tc-gate-form input[type="password"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  font-size: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}
.tc-gate-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}
.tc-gate-form .btn-primary {
  width: 100%;
  margin-top: 0.35rem;
}
.tc-gate-hint {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.tc-gate-hint a {
  color: #c9d8ff;
  font-weight: 600;
}
.tc-gate .notice {
  margin-bottom: 0.85rem;
}
.field-hint {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}
.apply-form input[readonly] {
  opacity: 0.85;
  cursor: default;
}