/* ============================================================
   Danışman tanıtım sayfası + ad bağlantıları + hover kartı
   Renkler yalnızca app.css paletinden (navy / marka mavisi).
   ============================================================ */

/* Sayfa teması: danışman Ayarlar > Tanıtım Sayfam'dan seçer; değerler satır içi style ile gelir (varsayılan lacivert). */
.adv, .advcard-pop {
  --adv-1: var(--navy); --adv-2: var(--navy-600); --adv-3: var(--navy-400);
  --adv-tint: #eef3ff; --adv-line: #d5e0fb; --adv-chip: #e8eefc;
}

/* ---------- Ad bağlantısı (CRM'in her yerinde) ---------- */
.advisor-name {
  color: inherit;
  text-decoration: underline dotted;
  text-decoration-color: var(--border-2);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.advisor-name:hover { color: var(--brand); text-decoration-color: var(--brand); }

/* ---------- Hover kartı ---------- */
.advcard-pop {
  position: absolute; z-index: 90; width: 292px; max-width: calc(100vw - 24px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 10px 34px rgba(16,32,55,.18), 0 2px 6px rgba(16,32,55,.08);
  padding: .9rem; opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
}
.advcard-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.advcard__stripe {
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--adv-1), var(--adv-3));
}
.advcard-pop .advcard__top { display: flex; gap: .7rem; align-items: center; }
.advcard__avatar { width: 52px; height: 52px; font-size: 1.05rem; }
.advcard__id { display: flex; flex-direction: column; min-width: 0; }
.advcard__id strong { font-size: .98rem; color: var(--text); }
.advcard__id small { color: var(--text-soft); font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.advcard__tag { margin: .6rem 0 0; font-size: .82rem; font-style: italic; color: var(--text-soft); }
.advcard__acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.advcard__acts a {
  font-size: .8rem; font-weight: 600; padding: .32rem .65rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); text-decoration: none;
}
.advcard__acts a:hover { background: var(--adv-chip); border-color: var(--adv-line); color: var(--adv-1); }
.advcard__acts a.is-primary { background: var(--adv-1); border-color: var(--adv-1); color: #fff; margin-left: auto; }
.advcard__acts a.is-primary:hover { background: var(--adv-2); border-color: var(--adv-2); color: #fff; }
.advcard__chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.advcard__chips span { font-size: .72rem; font-weight: 600; padding: .12rem .5rem; border-radius: 999px; background: var(--adv-chip); color: var(--adv-1); border: 1px solid var(--adv-line); }

/* ---------- Sayfa ---------- */
.adv { max-width: 980px; margin: 0 auto; }
.adv-back { margin: 0 0 .6rem; font-size: .88rem; }

.adv-hero {
  position: relative; color: #fff;
  background:
    radial-gradient(520px 150px at 85% -30%, color-mix(in srgb, var(--adv-3) 55%, transparent), transparent 70%),
    radial-gradient(420px 160px at 8% 130%, color-mix(in srgb, var(--adv-2) 80%, transparent), transparent 70%),
    linear-gradient(120deg, var(--adv-1) 0%, var(--adv-2) 55%, var(--adv-3) 100%);
  border: 1px solid var(--adv-1); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1rem;
}
/* Fotoğraf tüm kartın arka planı; iki tonlu lacivert perde okunabilirlik içindir. */
.adv-hero.has-photo { background-size: cover; background-position: center; }
.adv-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: var(--veil, .75);
  background: linear-gradient(180deg, color-mix(in srgb, var(--adv-3) 42%, transparent) 0%, color-mix(in srgb, var(--adv-1) 74%, transparent) 55%, color-mix(in srgb, var(--adv-1) 93%, #000 7%) 100%);
}
.adv-hero > * { position: relative; z-index: 1; }
.adv-hero__cover { height: 150px; }
.adv-hero__body {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 0 1.6rem; margin-top: -58px;
}
.adv-photo { position: relative; flex: none; }
.adv-photo__img {
  width: 128px; height: 128px; font-size: 2.4rem; letter-spacing: .02em;
  border: 5px solid rgba(255,255,255,.92); box-shadow: 0 6px 22px rgba(0,0,0,.35);
  background: linear-gradient(145deg, var(--adv-3), var(--adv-1));
}
.adv-photo__dot {
  position: absolute; right: 9px; bottom: 9px; width: 20px; height: 20px; border-radius: 50%;
  background: #9aa5b8; border: 4px solid var(--surface);
}
.adv-photo__dot.is-on { background: var(--ok); }
.adv-id { padding-top: 70px; min-width: 0; }
.adv-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .35rem; }
.adv-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3);
}
.adv-badge--cb { background: #fff; color: var(--adv-1); border-color: #fff; }
.adv-name { margin: 0; font-size: 1.85rem; letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); overflow-wrap: anywhere; }
.adv-role { margin: .2rem 0 0; color: rgba(255,255,255,.88); font-size: .98rem; }
.adv-role span { color: rgba(255,255,255,.55); }
.adv-tagline { margin: .55rem 0 0; font-size: 1.02rem; font-style: italic; color: rgba(255,255,255,.92); max-width: 56ch; }

.adv-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.15rem 1.6rem 1.4rem; }
.adv-btn {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .45rem 1rem;
  border-radius: 999px; font-size: .88rem; font-weight: 600; text-decoration: none;
  color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.adv-btn:hover { background: rgba(255,255,255,.26); border-color: rgba(255,255,255,.6); color: #fff; text-decoration: none; transform: translateY(-1px); }
.adv-btn--solid { background: #fff; border-color: #fff; color: var(--adv-1); }
.adv-btn--solid:hover { background: var(--adv-chip); border-color: var(--adv-chip); color: var(--adv-1); }
.adv-btn--edit { margin-left: auto; }
.adv-btn__badge {
  min-width: 22px; height: 22px; padding: 0 .4rem; border-radius: 999px; display: inline-grid; place-items: center;
  font-size: .75rem; font-weight: 700; line-height: 1; color: #fff; background: #e5384b;
  box-shadow: 0 0 0 2px rgba(255,255,255,.85);
}

/* Kapak sağ üst köşedeki Sinerji Team logosu */
.adv-hero__cover { position: relative; }
.adv-hero__cover .adv-hero__logo { position: absolute; top: 12px; right: 14px; left: auto; width: 150px; box-shadow: 0 2px 10px rgba(8,20,38,.3); }

/* ---------- Sosyal medya ---------- */
.adv-socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.adv-social {
  --sc: var(--navy);
  display: inline-flex; align-items: center; gap: .6rem; min-height: 46px; padding: .35rem 1.1rem .35rem .4rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-2);
  transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.adv-social__ic { box-sizing: content-box; padding: 7px; border-radius: 50%; background: var(--sc); color: #fff; flex: none; }
.adv-social:hover { background: var(--adv-chip); border-color: var(--adv-line); text-decoration: none; transform: translateY(-1px); }
.adv-social--linkedin  { --sc: #0a66c2; }
.adv-social--facebook  { --sc: #1877f2; }
.adv-social--youtube   { --sc: #e62117; }
.adv-social--instagram .adv-social__ic { background: linear-gradient(45deg, #f9a03c 0%, #e1306c 45%, #833ab4 100%); }

/* ---------- Tamamlama kartı (yalnızca kendi sayfanda) ---------- */
.adv-todo {
  background: linear-gradient(135deg, var(--adv-tint), #fff); border: 1px solid var(--adv-line);
  border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1rem;
}
.adv-todo__head { display: flex; justify-content: space-between; color: var(--adv-1); margin-bottom: .45rem; }
.adv-todo__bar { height: 8px; border-radius: 999px; background: var(--adv-line); overflow: hidden; }
.adv-todo__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--adv-3), var(--adv-1)); }
.adv-todo__list { list-style: none; margin: .75rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.adv-todo__list li {
  font-size: .82rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--adv-line); color: var(--text-soft);
}
.adv-todo__list li a { display: block; padding: .2rem .65rem; color: inherit; text-decoration: none; border-radius: inherit; }
.adv-todo__list li a:hover { background: var(--adv-chip); color: var(--adv-1); }
.adv-todo__list li.is-done { color: var(--ok); border-color: #b7e4c7; background: #f0fbf4; }

/* ---------- Rakamlar ---------- */
.adv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.adv-stat {
  display: flex; align-items: center; gap: .95rem; padding: 1.1rem 1.3rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.adv-stat__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(145deg, var(--adv-chip), var(--adv-line));
}
.adv-stat b { display: block; font-size: 2rem; line-height: 1.05; color: var(--adv-1); font-variant-numeric: tabular-nums; }
.adv-stat span:not(.adv-stat__ic) { font-size: .84rem; color: var(--text-soft); }

/* ---------- İçerik kartları ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.adv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 1.2rem 1.35rem 1.3rem; box-shadow: var(--shadow-sm); min-width: 0;
}
.adv-card--bio, .adv-card--wide { grid-column: 1 / -1; }
.adv-card h2 {
  font-size: 1rem; margin: 0 0 .85rem; color: var(--adv-1); display: flex; align-items: center; gap: .5rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}
.adv-count { font-size: .75rem; background: var(--adv-chip); color: var(--adv-2); padding: .1rem .55rem; border-radius: 999px; }
.adv-bio p { margin: 0 0 .8rem; line-height: 1.7; color: var(--text); overflow-wrap: anywhere; }
.adv-bio p:last-child { margin-bottom: 0; }
.adv-empty { margin: 0; color: var(--text-mute); font-size: .92rem; }

.adv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.adv-list li { display: flex; gap: .8rem; align-items: center; }
.adv-list__ic {
  width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border); font-size: 1.05rem;
}
.adv-list li > div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; line-height: 1.35; }
.adv-list small { color: var(--text-mute); font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.adv-list em { color: var(--text-mute); font-style: normal; }

.adv-certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .7rem; }
.adv-cert {
  display: flex; gap: .85rem; padding: .95rem 1rem; border-radius: 14px;
  background: linear-gradient(160deg, #fff, var(--adv-tint)); border: 1px solid var(--adv-line);
}
.adv-cert__ic {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, var(--adv-3), var(--adv-1)); box-shadow: 0 3px 10px color-mix(in srgb, var(--adv-1) 28%, transparent);
}
.adv-cert__body { display: flex; flex-direction: column; min-width: 0; gap: .12rem; }
.adv-cert__body strong { color: var(--adv-1); line-height: 1.3; overflow-wrap: anywhere; }
.adv-cert__issuer { font-size: .85rem; color: var(--text-soft); }
.adv-cert__meta { font-size: .76rem; color: var(--text-mute); }
.adv-cert.is-expired { opacity: .72; filter: grayscale(.35); }


/* ---------- Sertifika listesi (Ayarlar > Tanıtım Sayfam) ---------- */
.adv-set-certs { list-style: none; margin: .4rem 0 1rem; padding: 0; display: grid; gap: .5rem; }
.adv-set-certs li {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem .8rem; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2);
}
.adv-set-certs li div { min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.adv-set-certs small { color: var(--text-mute); }

/* ---------- Tanıtım sayfası: uzmanlık / bölge / dil ---------- */
.adv-profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 1.6rem; }
.adv-profile-grid h3 { margin: 0 0 .6rem; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); }
.adv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.adv-chip {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; line-height: 1.3; color: var(--adv-1);
  background: var(--adv-chip); border: 1px solid var(--adv-line);
}
.adv-chip--region::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--adv-3); flex: none; }
.adv-langs { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.adv-lang { display: flex; align-items: center; justify-content: space-between; gap: .8rem; font-size: .9rem; }
.adv-lang b { font-weight: 600; color: var(--text); }
.adv-lang > span { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--text-soft); white-space: nowrap; }
.adv-dots { display: inline-flex; gap: 3px; }
.adv-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--adv-line); }
.adv-dots i.is-on { background: var(--adv-2); }

/* ============================================================
   Ayarlar > Tanıtım Sayfam (tanitim-ayarlari.php)
   ============================================================ */
.advs { max-width: 1060px; margin: 0 auto; }
.advs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.advs-head h1 { margin: 0 0 .3rem; font-size: 1.5rem; color: var(--navy); }
.advs-crumb { margin: 0 0 .25rem; font-size: .82rem; color: var(--text-mute); }
.advs-lead { margin: 0; max-width: 62ch; color: var(--text-soft); font-size: .92rem; line-height: 1.55; }
.advs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 1.2rem; align-items: start; }

.advs-nav { position: sticky; top: 1rem; display: grid; gap: .9rem; }
.advs-nav ul { list-style: none; margin: 0; padding: .4rem; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.advs-nav li a {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .65rem; border-radius: 10px;
  color: var(--text); text-decoration: none; font-size: .9rem;
}
.advs-nav li a:hover { background: var(--surface-2); }
.advs-nav li a b { flex: 1; font-weight: 600; }
.advs-nav li a i {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-2); flex: none;
  display: grid; place-items: center; font-style: normal; font-size: .68rem; font-weight: 800; color: #fff;
}
.advs-nav li a i.is-done { background: var(--ok); border-color: var(--ok); }
.advs-progress { padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); font-size: .84rem; }
.advs-progress__top { display: flex; justify-content: space-between; color: var(--navy); margin-bottom: .45rem; }
.advs-progress__bar { height: 8px; border-radius: 999px; background: #e1e8f4; overflow: hidden; }
.advs-progress__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--navy-600)); }
.advs-progress p { margin: .6rem 0 0; color: var(--text-soft); line-height: 1.5; }

.advs-main { display: grid; gap: 1rem; min-width: 0; }
.advs-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.4rem 1.4rem; scroll-margin-top: 1rem; min-width: 0;
}
.advs-card__head { display: flex; gap: .8rem; align-items: center; margin-bottom: 1.1rem; padding-bottom: .95rem; border-bottom: 1px solid var(--border); }
.advs-card__head > span {
  width: 42px; height: 42px; border-radius: 12px; flex: none; display: grid; place-items: center; font-size: 1.25rem;
  background: linear-gradient(145deg, #e8eefc, #d3e0fb);
}
.advs-card__head h2 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.advs-card__head p { margin: .1rem 0 0; font-size: .85rem; color: var(--text-soft); }
.advs-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mute); font-weight: 700; margin-bottom: .4rem; }
.advs-block { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--border-2); }
.advs-block--first { margin-top: 0; padding-top: 0; border-top: 0; }
.advs-block h3 { margin: 0 0 .65rem; font-size: .95rem; color: var(--navy); display: flex; align-items: center; gap: .5rem; }
.advs-block .hint, .advs-card .hint { display: block; margin-top: .45rem; font-size: .78rem; color: var(--text-mute); line-height: 1.5; }
.advs-badge-count { font-size: .72rem; font-weight: 700; color: var(--navy-600); background: #e8eefc; padding: .1rem .55rem; border-radius: 999px; }
.advs-actions { margin-top: 1rem; display: flex; gap: .5rem; }
.advs-count { text-align: right; font-size: .76rem; color: var(--text-mute); margin-top: .2rem; }
.advs-inline { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 .5rem .4rem 0; }
.advs .field > label small { font-weight: 400; color: var(--text-mute); }

/* JS varsa gerçek dosya alanı gizlenir, düğme etiketi görünür */
.advs-js-only { display: none; }
.advs.js-on .advs-js-only { display: inline-flex; }
.advs.js-on .advs-nojs, .advs.js-on #photoFile { display: none; }

.advs-prev { max-width: none; margin: 0 0 .2rem; }
.advs-prev .adv-hero { margin-bottom: 0; }
.advs-prev__pad { height: 1.3rem; }
.advs-prev .adv-name { font-size: 1.6rem; }

.advs-photo { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.advs-photo__avatar { width: 88px; height: 88px; font-size: 1.7rem; flex: none; box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--border-2); }
.advs-photo__side { min-width: 0; flex: 1 1 240px; }

/* Renk teması */
.advs-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .6rem; }
.advs-theme { position: relative; display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .7rem .4rem .6rem; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; background: var(--surface); transition: border-color .12s, box-shadow .12s, transform .12s; }
.advs-theme:hover { border-color: var(--border-2); transform: translateY(-1px); }
.advs-theme input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.advs-theme__sw { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), 0 3px 10px rgba(16,32,55,.18); }
.advs-theme__name { font-size: .82rem; font-weight: 600; color: var(--text); text-align: center; }
.advs-theme:has(input:checked) { border-color: var(--navy-400); box-shadow: 0 0 0 3px rgba(37,99,235,.14); background: var(--surface-2); }
.advs-theme:has(input:checked) .advs-theme__sw { box-shadow: inset 0 0 0 3px rgba(255,255,255,.55), 0 0 0 3px #fff, 0 0 0 5px var(--c2), 0 3px 10px rgba(16,32,55,.2); }
.advs-theme:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.advs-veil { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; flex-wrap: wrap; }
.advs-veil label { font-weight: 600; font-size: .88rem; }
.advs-veil input[type=range] { flex: 1 1 180px; max-width: 340px; }
.advs-veil output { min-width: 3ch; font-variant-numeric: tabular-nums; color: var(--text-soft); }

/* Uzmanlık çipleri */
.advs-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.advs-chip { position: relative; cursor: pointer; }
.advs-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.advs-chip span {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .35rem .95rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--text-soft); background: var(--surface-2); border: 1.5px solid var(--border-2);
  transition: background .12s, border-color .12s, color .12s;
}
.advs-chip:hover span { border-color: var(--navy-400); color: var(--navy); }
.advs-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.advs-chip input:checked + span::before { content: "✓"; font-size: .78rem; }
.advs-chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.advs-chip input:disabled { cursor: not-allowed; }
.advs-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Bölge etiketleri */
.advs-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding: .45rem .55rem; min-height: 50px; cursor: text;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
}
.advs-tags:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.advs-tag {
  display: inline-flex; align-items: center; gap: .25rem; padding: .22rem .3rem .22rem .75rem; border-radius: 999px;
  background: #e8eefc; color: var(--navy); border: 1px solid #c7d6fb; font-size: .86rem; font-weight: 600;
}
.advs-tag button { width: 22px; height: 22px; border-radius: 50%; border: 0; background: transparent; color: var(--navy-600); font-size: 1.05rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.advs-tag button:hover { background: #cfdcf8; }
.advs-tags input[type=text] { flex: 1 1 150px; min-width: 120px; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; padding: .35rem .25rem; font: inherit; min-height: 0; }

/* Diller */
.advs-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .8rem; }
.advs-lang { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .6rem .45rem .75rem; border: 1.5px solid var(--border); border-radius: 12px; background: var(--surface-2); transition: border-color .12s, background .12s; }
.advs-lang.is-on { border-color: #b9ccf7; background: #f3f7ff; }
.advs-lang__name { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; cursor: pointer; min-width: 0; margin: 0; }
.advs-lang__name input { width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.advs-lang select { border: 1px solid var(--border-2); border-radius: 8px; background-color: #fff; width: auto; min-width: 104px; min-height: 36px; padding-top: .25rem; padding-bottom: .25rem; font-size: .84rem; }
.advs-lang select:disabled { opacity: .4; }

/* Fotoğraf kırpma penceresi */
.advs-crop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1rem; background: rgba(9,22,40,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.advs-crop[hidden] { display: none; }
.advs-crop__box { width: min(380px, 100%); max-height: 100%; overflow: auto; background: var(--surface); border-radius: 18px; padding: 1.2rem 1.2rem 1.1rem; box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.advs-crop__box h3 { margin: 0; font-size: 1.1rem; color: var(--navy); }
.advs-crop__hint { margin: .2rem 0 .8rem; font-size: .84rem; color: var(--text-soft); }
.advs-crop__stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #0b1626; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.advs-crop__stage:active { cursor: grabbing; }
.advs-crop__stage img { position: absolute; left: 50%; top: 50%; max-width: none; pointer-events: none; }
.advs-crop__ring { position: absolute; inset: 0; pointer-events: none; border-radius: 50%; box-shadow: 0 0 0 999px rgba(9,22,40,.58), inset 0 0 0 2px rgba(255,255,255,.85); }
.advs-crop__zoom { display: flex; align-items: center; gap: .6rem; margin: .8rem 0 .2rem; }
.advs-crop__zoom input { flex: 1; }
.advs-crop__prev { display: flex; align-items: center; gap: .7rem; margin: .5rem 0 .9rem; color: var(--text-mute); }
.advs-crop__dot { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 0 0 2px var(--border-2); flex: none; }
.advs-crop__dot canvas { width: 100%; height: 100%; display: block; }
.advs-crop__acts { display: flex; justify-content: flex-end; gap: .5rem; }
body.advs-modal-open { overflow: hidden; }

/* Ayarlar > Tanıtım Sayfam özet kartı */
.advs-link-card { display: flex; flex-direction: column; gap: .8rem; }
.advs-link-card__top { display: flex; align-items: center; gap: .9rem; }
.advs-link-card__avatar { width: 56px; height: 56px; font-size: 1.1rem; flex: none; }
.advs-link-card p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.55; }

@media (max-width: 900px) {
  .advs-layout { grid-template-columns: minmax(0, 1fr); }
  .advs-nav { position: static; }
  .advs-nav ul { display: flex; overflow-x: auto; gap: .3rem; padding: .35rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .advs-nav ul::-webkit-scrollbar { display: none; }
  .advs-nav li { flex: none; }
  .advs-nav li a { padding: .5rem .8rem; white-space: nowrap; }
  .advs-nav li a span { display: none; }
  .adv-profile-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .advs-card { padding: 1rem 1rem 1.15rem; border-radius: 14px; }
  .advs-langs { grid-template-columns: minmax(0, 1fr); }
  .advs-themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .advs-photo { flex-direction: column; text-align: center; }
  .advs-photo__side { flex-basis: auto; }
  .advs-head .btn { width: 100%; justify-content: center; }
  .adv-profile-grid { grid-template-columns: minmax(0, 1fr); }
  .advs-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Tablet ---------- */
@media (min-width: 721px) and (max-width: 1024px) {
  .adv-hero__cover .adv-hero__logo { width: 130px; }
  .adv-actions { padding: 1.1rem 1.3rem 1.3rem; }
}

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  .adv-hero__cover { height: 140px; }
  .adv-hero__cover .adv-hero__logo { width: 104px; top: 10px; right: 10px; }
  .adv-socials { justify-content: center; }
  .adv-social { flex: 1 1 calc(50% - .5rem); justify-content: center; }
  .adv-hero__body { flex-direction: column; align-items: center; text-align: center; gap: .7rem; padding: 0 1rem; margin-top: -56px; }
  .adv-id { padding-top: 0; }
  .adv-photo__img { width: 112px; height: 112px; font-size: 2.1rem; }
  .adv-badges { justify-content: center; }
  .adv-name { font-size: 1.55rem; }
  .adv-tagline { margin-left: auto; margin-right: auto; }
  .adv-actions { padding: 1rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-btn { justify-content: center; }
  .adv-btn--edit { margin-left: 0; grid-column: 1 / -1; }
  .adv-stats { gap: .6rem; }
  .adv-stat { padding: .9rem; gap: .7rem; flex-direction: column; text-align: center; }
  .adv-stat b { font-size: 1.7rem; }
  .adv-grid { grid-template-columns: minmax(0, 1fr); }
  .adv-card--bio, .adv-card--wide { grid-column: auto; }
}
@media (hover: none) { .advcard-pop { display: none; } }

/* ---------- Özel sözler: kapak üzerinde düşünce bulutları ---------- */
.adv-hero--quote-1 .adv-hero__cover { height: 172px; }
.adv-hero--quote-2 .adv-hero__cover { height: 262px; }
.speech-stack--hero {
  position: absolute; top: 16px; left: 1.6rem; max-width: min(430px, calc(100% - 3.2rem - 170px));
  display: flex; flex-direction: column; gap: 1.1rem;
}
.speech-bubble--hero {
  position: relative; margin: 0; font-style: italic; font-weight: 600; line-height: 1.45; border-radius: 22px; overflow-wrap: anywhere; box-sizing: border-box;
  padding: .7rem 1rem; font-size: .95rem; color: var(--adv-1, #0f2c4d);
  background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.96);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.speech-bubble--hero:last-child::before, .speech-bubble--hero:last-child::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.96); box-shadow: 0 3px 8px rgba(0,0,0,.2);
}
.speech-bubble--hero:last-child::before { width: 14px; height: 14px; left: 58px; bottom: -17px; }
.speech-bubble--hero:last-child::after { width: 8px; height: 8px; left: 68px; bottom: -28px; }
@media (max-width: 720px) {
  .adv-hero--quote-1 .adv-hero__cover { height: 176px; }
  .adv-hero--quote-2 .adv-hero__cover { height: 262px; }
  .speech-stack--hero { top: 10px; left: 12px; right: 124px; max-width: none; gap: .9rem; }
  .speech-bubble--hero { padding: .55rem .75rem; font-size: .8rem; }
  .speech-bubble--hero:last-child::before { left: auto; right: 44px; }
  .speech-bubble--hero:last-child::after { left: auto; right: 36px; }
}
