/* ─────────────────────────────────────────────────────────────
   Pinguru — Yardım merkezi (KOD_AKTARIM 93): cam hero, canlı arama, konu kartları, konu renginde akordeon bölümleri.
   ───────────────────────────────────────────────────────────── */

.help { padding-block: 24px 0; }

/* Hero: cam kart, 26 px köşe, mor gradyan çerçeve; sağ altta destek maskotu. */
.help-hero {
  position: relative; margin-top: 16px; overflow: hidden; border-radius: 26px; padding: 1px;
  background: linear-gradient(160deg, rgb(167 139 250 / .7), rgb(30 42 71 / .9) 45%, rgb(124 58 237 / .45));
  box-shadow: 0 0 60px -30px rgb(124 58 237 / .9);
}
.help-hero__in {
  position: relative; z-index: 1; border-radius: 25px; padding: clamp(24px, 4vw, 44px); padding-right: clamp(24px, 4vw, 44px);
  background: radial-gradient(60rem 22rem at 0% 0%, rgb(124 58 237 / .22), transparent 70%), linear-gradient(180deg, rgb(17 26 51 / .9), rgb(11 17 36 / .92));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
@media (width >= 47.5rem) { .help-hero__in { padding-right: 340px; } }
/* Sabit kutu: Özelleştirici'den farklı oranda görsel yüklense de alan değişmez, görsel içine sığar (oran = temanın görseli). */
.help-hero__mascot { position: absolute; right: 18px; bottom: 0; z-index: 2; width: 300px; height: auto; aspect-ratio: 400 / 286; object-fit: contain; object-position: bottom; pointer-events: none; }
@media (width < 47.5rem) { .help-hero__mascot { display: none; } }
.help-hero__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.help-hero__title .hl { color: #a78bfa; }
.help-hero__text { margin-top: 12px; max-width: 40rem; font-size: 16px; line-height: 1.6; color: var(--soft); }

/* Canlı arama. */
.help-search { position: relative; margin-top: 22px; max-width: 40rem; }
.help-search__icon { position: absolute; top: 50%; left: 18px; width: 20px; height: 20px; transform: translateY(-50%); color: var(--brand-light); pointer-events: none; }
.help-search__input {
  height: 56px; width: 100%; padding: 0 18px 0 52px; border-radius: 14px; border: 1px solid rgb(167 139 250 / .35);
  background: rgb(11 17 36 / .95); font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.help-search__input::placeholder { color: var(--mute); }
.help-search__input:focus { outline: none; border-color: var(--brand-light); box-shadow: 0 0 0 4px rgb(124 58 237 / .2); }
.help-search__info { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--soft); }
.help-search__info[hidden] { display: none; }
.help-search__clear { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .12); font-size: 13px; font-weight: 600; color: var(--brand-light); transition: border-color .2s, color .2s; }
.help-search__clear:hover { border-color: var(--brand-light); color: var(--ink); }
.help-search__clear .icon { width: 13px; height: 13px; }

.help-popular { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.help-popular__label { font-size: 13px; color: var(--mute); }
.help-popular__chip { height: 32px; padding-inline: 13px; border-radius: 999px; border: 1px solid rgb(167 139 250 / .25); background: rgb(30 22 64 / .92); font-size: 13px; font-weight: 600; color: var(--soft); transition: border-color .2s, color .2s; }
.help-popular__chip:hover, .help-popular__chip[aria-pressed="true"] { border-color: var(--brand-light); color: var(--ink); }

.help-status { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.help-status__item { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08); font-size: 13px; font-weight: 600; color: var(--soft); }
.help-status__item .icon { width: 14px; height: 14px; color: var(--brand-light); }
.help-status__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgb(74 222 128 / .2), 0 0 10px rgb(74 222 128 / .8); }

/* Konu kartları: cam, kendi renginde kenar. */
.help-topics { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.help-topic { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 45%, transparent); color: var(--ink); transition: transform .25s var(--ease-out), box-shadow .25s; }
.help-topic:hover, .help-topic:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--c), 0 14px 28px -16px var(--c); color: var(--ink); }
.help-topic__ico { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: color-mix(in oklab, var(--c) 18%, transparent); color: var(--c); }
.help-topic__ico .icon { width: 20px; height: 20px; }
.help-topic__text { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.help-topic__name { font-size: 15px; font-weight: 700; }
.help-topic__count { font-size: 12.5px; color: var(--mute); }
.help-topic__arrow { width: 16px; height: 16px; flex-shrink: 0; color: var(--c); transition: transform .2s; }
.help-topic:hover .help-topic__arrow { transform: translateX(3px); }

/* Düzen: solda bölümler, sağda destek ve rehberler (ekrana yapışmaz; 960 px altında tam genişlik). */
.help-layout { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.help-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.help-side { flex: 1 1 320px; max-width: 380px; display: flex; flex-direction: column; gap: 16px; }
@media (width < 60rem) { .help-side { flex-basis: 100%; max-width: none; } }
.help-intro { margin-bottom: 4px; }

/* Bölüm: konu renginde gradyan çerçeveli cam kart. */
.help-sec {
  position: relative; scroll-margin-top: 24px; border-radius: 20px; padding: 22px;
  background: radial-gradient(40rem 14rem at 0% 0%, color-mix(in oklab, var(--c) 10%, transparent), transparent 70%), linear-gradient(180deg, rgb(17 26 51 / .86), rgb(11 17 36 / .9));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.help-sec::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, color-mix(in oklab, var(--c) 70%, transparent), rgb(30 42 71 / .85) 45%, color-mix(in oklab, var(--c) 30%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.help-sec[hidden] { display: none; }
.help-sec__head { display: flex; align-items: center; gap: 14px; }
.help-sec__ico { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: color-mix(in oklab, var(--c) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 40%, transparent); color: var(--c); }
.help-sec__ico .icon { width: 22px; height: 22px; }
.help-sec__text { min-width: 0; flex: 1; }
.help-sec__title { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.help-sec__desc { margin-top: 2px; font-size: 13.5px; color: var(--mute); }
.help-sec__count { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklab, var(--c) 16%, transparent); font-size: 12px; font-weight: 700; color: var(--c); }
@media (width < 30rem) { .help-sec__count { display: none; } }

/* Numaralı akordeon: açık soruda numara dolu renkli, kenar renkli, zemin hafif renkli; cevap yumuşak açılır. */
.help-qs { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
/* Açılış görünümü ve hareketi ortak bileşende (global.css .acc); renkler bölüm rengi --c'den türetilir. */
.help-q {
  --acc-1: color-mix(in oklab, var(--c) 60%, #fff); --acc-2: var(--c); --acc-3: color-mix(in oklab, var(--c) 72%, #1e1b4b); --acc-bar: color-mix(in oklab, var(--c) 45%, #fff);
  --acc-glow: color-mix(in oklab, var(--c) 85%, transparent); --acc-halo: color-mix(in oklab, var(--c) 65%, transparent);
  border-radius: 14px; border: 1px solid rgb(255 255 255 / .08); background: rgb(7 12 26 / .5);
}
.help-q[hidden] { display: none; }
.help-q__sum { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 14px 12px 16px; }
.help-q__n { display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 9px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 45%, transparent); font-size: 13px; font-weight: 800; color: var(--c); transition: background .25s, color .25s; }
.help-q[open]:not(.is-closing) .help-q__n { background: var(--c); color: #0b1124; box-shadow: 0 0 14px -4px var(--c); }
.help-q__q { min-width: 0; flex: 1; font-size: 15.5px; font-weight: 600; color: var(--ink); }
.help-q__a-in { padding: 0 16px 16px 56px; font-size: 14.5px; line-height: 1.7; color: var(--soft); }
.help-q__a-in p + p { margin-top: .6rem; }
.help-q__a-in a { color: var(--c); text-decoration: underline; }
@media (width < 30rem) { .help-q__a-in { padding-left: 16px; } }

/* Arama sonuç yok. */
.help-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 36px 24px; border-radius: 20px; text-align: center; }
.help-empty[hidden] { display: none; }
.help-empty__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgb(124 58 237 / .16); color: var(--brand-light); }
.help-empty__ico .icon { width: 24px; height: 24px; }
.help-empty__title { margin-top: 4px; font-size: 18px; font-weight: 800; }
.help-empty__text { max-width: 26rem; font-size: 14px; color: var(--mute); }
.help-empty .btn { margin-top: 8px; }

/* Sağ sütun kartları. */
.help-card { border-radius: 20px; padding: 22px; }
.help-card--support { text-align: center; }
/* Sabit kutu: Özelleştirici'den farklı oranda görsel yüklense de alan değişmez, görsel içine sığar (oran = temanın görseli). */
.help-card__img { display: block; margin: 0 auto 12px; width: 240px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.help-card__title { font-size: 19px; font-weight: 800; }
.help-card__title--sm { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.help-card__title--sm .icon { width: 18px; height: 18px; color: #f472b6; }
.help-card__text { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--mute); }
.help-card__cta { margin-top: 16px; }
.help-card__row { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.help-card__btn { display: inline-flex; height: 42px; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; border: 1px solid rgb(167 139 250 / .35); background: rgb(124 58 237 / .1); font-size: 13.5px; font-weight: 700; color: var(--lilac); transition: border-color .2s, background-color .2s, color .2s; }
.help-card__btn:hover { border-color: var(--brand-light); background: rgb(124 58 237 / .2); color: #fff; }
.help-card__btn .icon { width: 16px; height: 16px; }
.help-guides { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.help-guide { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); transition: background-color .2s; }
.help-guide:hover { background: rgb(255 255 255 / .05); color: var(--ink); }
.help-guide__cover { width: 64px; height: 42px; flex-shrink: 0; overflow: hidden; border-radius: 10px; background: var(--raise); }
.help-guide__img { width: 100%; height: 100%; object-fit: cover; }
.help-guide__title { min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.help-card__all { margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: var(--brand-light); }
.help-card__all .icon { width: 15px; height: 15px; }
