/* Hadi Sende · Abone — giriş / kayıt, özgeçmiş sihirbazı ve kullanıcı paneli.
   abone.css tasarım sistemi (renk, boşluk, bileşen) üzerine kuruludur; 8 px ızgarası korunur. */

/* ------------------------------------------------------------------------------------------ Adım geçişleri (yalnızca saydamlık + yatay kayma) */
.stp--fwd { animation: stpF .42s var(--ease) both; }
.stp--back { animation: stpB .42s var(--ease) both; }
@keyframes stpF { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stpB { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* Parçalı ilerleme çubuğu (kayıt) */
.pg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.pg i { height: 4px; border-radius: 2px; background: #4a4a4a; transition: background .3s; }
.pg i.is-done { background: var(--red); }
.pg i.is-now { background: #fff; }
.pg__t { margin-bottom: 24px; font-size: 13px; color: var(--tx4); }

.okbadge { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: rgba(70, 211, 105, .16); color: var(--green); }

/* ------------------------------------------------------------------------------------------ Giriş / kayıt / şifre yenileme */
.auth { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: #000; }
.auth__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.auth__bg .hero__wall { opacity: .8; }
.auth__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .85) 0, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .85) 100%), radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .65) 80%); }
.auth__top { padding-top: var(--safe-t); background: var(--bar); }
.auth__top .wrap { display: flex; align-items: center; height: var(--nav-h); }
.auth__main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 16px var(--gx) 48px; }
.auth__card { width: 100%; max-width: 480px; padding: 32px 24px; border-radius: var(--r2); background: rgba(0, 0, 0, .78); }
.auth--register .auth__card { max-width: 560px; }
@media (min-width: 600px) { .auth__main { padding-block: 24px 64px; } .auth__card { padding: 48px 56px; } }
.auth__h { margin-bottom: 8px; font-size: clamp(26px, 5vw, 32px); }
.auth__sub { margin-bottom: 24px; font-size: 15px; line-height: 1.6; color: var(--tx3); }
.auth__card .acts2 > .btn { min-width: 0; }
.auth__card .acts2 { margin-top: 24px; }
.auth__links { margin-top: 24px; font-size: 14px; line-height: 1.6; color: var(--tx3); }
.auth__links a { color: #fff; text-underline-offset: 3px; }
.auth__links--b { margin-top: 16px; }
.auth__foot { padding: 24px 0 calc(24px + var(--safe-b)); border-top: 1px solid var(--line); background: rgba(0, 0, 0, .8); font-size: 13px; line-height: 1.6; color: var(--tx4); text-align: center; }
.auth__foot p + p { margin-top: 8px; }
.auth__foot b { color: var(--tx2); font-weight: 500; }
.auth__foot a { color: var(--tx3); text-underline-offset: 3px; }
.auth__foot a:hover { color: #fff; }
.auth__foot span[aria-hidden] { margin: 0 8px; }

/* Açılış sayfasındaki telefon alanı kutusu ile ortak form ölçüleri */
.auth .field:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------------------------------ Özgeçmiş sihirbazı */
.wiz { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.wiz__top { position: sticky; top: 0; z-index: 60; padding-top: var(--safe-t); background: var(--bar); }
.wiz__top .wrap { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.wiz__pct { flex: none; display: flex; align-items: baseline; gap: 8px; font-size: 14px; white-space: nowrap; }
.wiz__pctl { display: none; color: var(--tx3); }
@media (min-width: 600px) { .wiz__pctl { display: inline; } }
.wiz__top .btn { flex: none; }
.wiz__pct b { font-size: 18px; font-weight: 700; }
.wiz__prog { height: 4px; background: #333; }
.wiz__prog i { display: block; width: 0; height: 100%; background: var(--red); transition: width .5s var(--ease); }
.wiz__main { flex: 1; padding: 32px var(--gx) 48px; }
.wiz__card { width: 100%; max-width: 720px; margin-inline: auto; }
.wiz__steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; margin-bottom: 32px; }
.wiz__steps button { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--tx4); font-size: 12px; font-weight: 500; text-align: center; }
.wiz__steps button i { display: block; height: 4px; border-radius: 2px; background: #4a4a4a; transition: background .3s; }
.wiz__steps button span { display: block; line-height: 1; }
.wiz__steps button.is-done i { background: var(--red); }
.wiz__steps button.is-done { color: var(--tx3); }
.wiz__steps button.is-now i { background: #fff; }
.wiz__steps button.is-now { color: #fff; font-weight: 700; }
.wiz__steps button:hover:not([disabled]):not(.is-now) i { background: #8a8a8a; }
.wiz__steps button[disabled] { opacity: .5; cursor: not-allowed; }
.wiz__k { margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--tx4); }
.wiz__card h1 { margin-bottom: 8px; font-size: clamp(26px, 4.4vw, 36px); }
.wiz__sub { max-width: 60ch; margin-bottom: 32px; font-size: 16px; line-height: 1.6; color: var(--tx3); }
.wiz__body { display: block; }
.wiz__body > .field:last-child, .wiz__body > .note:last-child { margin-bottom: 0; }
.wiz__card .err { margin-top: 24px; margin-bottom: 0; }
.wiz__bar { position: sticky; bottom: 0; z-index: 50; padding: 16px var(--gx) calc(16px + var(--safe-b)); border-top: 1px solid var(--line); background: rgba(0, 0, 0, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.wiz__barin { display: flex; gap: 12px; max-width: 720px; margin-inline: auto; }
.wiz__barin .btn { min-width: 0; padding-inline: 16px; white-space: normal; line-height: 1.25; }
.wiz__barin #nx { flex: 1; }
.wiz__barin #bk[hidden] { display: none; }
.consent__h { margin: 40px 0 8px; font-size: 20px; }
.consent__p { margin-bottom: 16px; }
.wiz__card .acc .chips { padding-top: 0; }

/* Tamamlandı ekranı */
.done { text-align: center; }
.done__ck { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 24px; }
.done .dc { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: dash .7s .1s ease forwards; }
.done .dt { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .45s .65s ease forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.done .wiz__sub { margin-inline: auto; }
.done .verify { text-align: left; }
.done .verify__h { margin-bottom: 24px; }
.done__acts { margin-top: 24px; }
.done__acts .btn { flex: 1; }

/* ------------------------------------------------------------------------------------------ Kullanıcı paneli */
.pnl { min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.pnl__top { position: sticky; top: 0; z-index: 90; padding-top: var(--safe-t); background: var(--bar); }
.pnl__top .wrap { display: flex; align-items: center; gap: 24px; height: var(--nav-h); }
.ptabs { display: none; align-items: center; gap: 8px; }
.ptabs button { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--r); background: none; color: var(--tx3); font-size: 14px; font-weight: 500; transition: color .2s; }
.ptabs button .ic { display: none; }
.ptabs button:hover { color: #fff; }
.ptabs button.is-on { color: #fff; font-weight: 700; }
.pnl__me { flex: none; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #2b2b2b; overflow: hidden; box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s; }
.pnl__me:hover, .pnl__me[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--bar-blue); }
.pnl__me .av { width: 100%; height: 100%; border-radius: 0; }
.pnl__main { padding-bottom: 64px; }
.pane--in { animation: fade .35s ease backwards; }
@media (min-width: 900px) {
  .ptabs { display: flex; }
  .pnl__top .wrap { gap: 32px; }
  .pnl__main { padding-bottom: 96px; }
}

/* Hesap menüsü (profil fotoğrafına dokununca açılır): mobilde sağdan kayan panel, geniş ekranda açılır kart */
.acm { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s .32s; }
.acm.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.acm__bk { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .3s; }
.acm.is-open .acm__bk { background: rgba(0, 0, 0, .64); }
.acm__p { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(88vw, 360px); padding-top: var(--safe-t); background: #1a1b1d; box-shadow: -12px 0 48px rgba(0, 0, 0, .5); transform: translateX(100%); transition: transform .32s var(--ease); }
.acm.is-open .acm__p { transform: none; }
.acm__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--nav-h); padding: 0 8px 0 20px; flex: none; }
.acm__h b { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--tx4); }
.acm__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--tx2); }
.acm__x:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.acm__b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px calc(16px + var(--safe-b)); }
.acm__u { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px 16px; margin: 0 0 4px; border-radius: var(--r3); background: #25272a; }
.acm__u .av { width: 56px; height: 56px; border-radius: 50%; }
.acm__u b { display: block; font-size: 17px; line-height: 1.25; overflow-wrap: anywhere; }
.acm__u span { display: block; margin-top: 2px; font-size: 14px; color: var(--tx3); }
.acm__u small { display: block; margin-top: 6px; font-size: 12px; color: var(--tx4); }
.acm__s { padding: 14px 12px 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tx4); }
.acm__i { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 48px; padding: 6px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--tx2); font-size: 15px; font-weight: 500; text-align: left; text-decoration: none; transition: background .15s, color .15s; }
.acm__i:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.acm__i:focus-visible { outline: 2px solid var(--bar-blue); outline-offset: -2px; }
.acm__i > .ic:first-child { color: var(--tx3); }
.acm__i > span { flex: 1; min-width: 0; }
.acm__i small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; line-height: 1.4; color: var(--tx4); }
.acm__i > .ic:last-child { color: var(--tx4); }
.acm__i.is-on { background: rgba(138, 180, 248, .14); color: #fff; }
.acm__i.is-on > .ic:first-child { color: var(--bar-blue); }
.acm__i--bad, .acm__i--bad > .ic:first-child { color: #ff8a90; }
.acm__d { border-radius: 12px; }
.acm__d summary { list-style: none; cursor: pointer; }
.acm__d summary::-webkit-details-marker { display: none; }
.acm__d[open] summary > .ic:last-child { transform: rotate(180deg); }
.acm__d summary > .ic:last-child { transition: transform .2s; }
.acm__d a { display: block; padding: 10px 12px 10px 52px; border-radius: 10px; color: var(--tx3); font-size: 14px; text-decoration: none; }
.acm__d a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.acm__f { flex: none; padding: 8px 12px calc(12px + var(--safe-b)); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .acm__bk, .acm.is-open .acm__bk { background: transparent; }
  .acm__p { top: calc(var(--nav-h) + var(--safe-t) - 6px); right: max(var(--gx), calc((100vw - var(--maxw)) / 2 + var(--gx))); bottom: auto; width: 360px; max-height: calc(100vh - var(--nav-h) - 24px); max-height: calc(100dvh - var(--nav-h) - 24px); padding-top: 0; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 16px 48px rgba(0, 0, 0, .55); transform: translateY(-8px) scale(.98); transform-origin: top right; opacity: 0; transition: transform .22s var(--ease), opacity .18s; }
  .acm.is-open .acm__p { transform: none; opacity: 1; }
  .acm__h { display: none; }
  .acm__b { padding-top: 12px; }
}

/* Üst bölüm (billboard) */
.bb { position: relative; isolation: isolate; overflow: hidden; padding: 40px 0 48px; background: var(--bg); }
.bb__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #000; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 60%, transparent 100%); }
.bb .hero__wall { opacity: .4; }
.bb__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .8) 100%); }
.bb__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; }
.bb__av { width: 80px; height: 80px; border-radius: var(--r2); overflow: hidden; background: #2b2b2b; box-shadow: 0 8px 32px rgba(0, 0, 0, .6); }
.bb__av .av { width: 100%; height: 100%; border-radius: 0; }
.bb__k { margin: 16px 0 0; font-size: 15px; font-weight: 500; color: var(--tx2); }
.bb__t h1 { margin: 8px 0 16px; font-size: clamp(28px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.bb__t p { max-width: 640px; font-size: clamp(16px, 1.8vw, 18px); line-height: 1.6; color: var(--tx2); }
.bb__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bb__acts .btn { max-width: 100%; white-space: normal; }
@media (min-width: 600px) { .bb { padding: 56px 0 64px; } .bb__in { grid-template-columns: auto minmax(0, 1fr); gap: 32px; } .bb__av { width: 112px; height: 112px; } }
@media (min-width: 900px) { .bb { padding: 80px 0 96px; } .bb__av { width: 144px; height: 144px; } }

.pbody { padding-top: 16px; }
.row { margin-top: 48px; }
.row:first-child { margin-top: 0; }
.row__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; font-size: 20px; }
.row__h small { font-size: 14px; font-weight: 400; color: var(--tx4); }
.pnl .verify { max-width: 720px; margin-bottom: 0; background: var(--s2); border-left: 4px solid #25d366; }
@media (min-width: 900px) {
  .pnl .verify { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; align-items: start; max-width: none; padding: 32px; }
  .pnl .verify > .verify__h { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .pnl .verify > :not(.verify__h) { grid-column: 2; }
  .pnl .verify > .verify__code { margin-bottom: 16px; }
}

/* Durum kartları */
.stt__g { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .stt__g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stt__g { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stt { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 24px; border-radius: var(--r); background: var(--s2); transition: background .2s; }
.stt:hover { background: #262626; }
.stt__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: var(--tx3); }
.stt__i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #333; color: #fff; }
.stt--ok .stt__i { background: rgba(70, 211, 105, .16); color: var(--green); }
.stt--wait .stt__i { background: rgba(245, 166, 35, .16); color: var(--amber); }
.stt--off .stt__i { background: rgba(229, 9, 20, .18); color: #ff6b73; }
.stt__v { font-size: 24px; font-weight: 700; line-height: 1.2; }
.stt__d { flex: 1; font-size: 14px; line-height: 1.6; color: var(--tx3); overflow-wrap: anywhere; }
.stt__a { align-self: flex-start; margin-top: 8px; }
.bar { height: 4px; margin: 8px 0; border-radius: 2px; background: #404040; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 2px; background: var(--red); transition: width .8s var(--ease); }
.stt--ok .bar i, .bar--ok i { background: var(--green); }

/* Bildirim özeti */
.ntf { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; border-radius: var(--r); background: var(--s2); }
@media (min-width: 720px) { .ntf { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 48px; padding: 32px; } }
.ntf__s { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.ntf__n b { display: block; font-size: 40px; font-weight: 700; line-height: 1.1; }
.ntf__n--d b { font-size: 24px; line-height: 1.4; }
.ntf__n span { display: block; margin-top: 8px; font-size: 13px; color: var(--tx3); }
.ntf__t h3 { margin-bottom: 8px; font-size: 18px; }
.ntf__t p { font-size: 15px; line-height: 1.7; color: var(--tx3); }

/* Bilgi kartları */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { padding: 24px; border-radius: var(--r); background: var(--s2); }
.fact .ic { margin-bottom: 16px; color: var(--red); }
.fact b { display: block; margin-bottom: 8px; font-size: 16px; }
.fact p { font-size: 14px; line-height: 1.7; color: var(--tx3); }

/* Özgeçmiş ve ayarlar sayfaları */
.pane--md { max-width: 960px; margin-inline: auto; }
.pgh { padding: 40px 0 8px; }
.pgh h1 { margin-bottom: 8px; font-size: clamp(28px, 5vw, 40px); }
.pgh p { max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--tx3); }
.pgh__bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--s2); }
@media (min-width: 600px) { .pgh__bar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; } }
.pgh__bar b { display: block; font-size: 24px; }
.pgh__bar span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--tx3); }
.pgh__bar .bar { margin: 12px 0 0; }
.pane--md .sum { margin-top: 24px; }
@media (min-width: 900px) { .pane--md .sum { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }

/* Ayarlar */
.setg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px 0; border-top: 1px solid var(--line); }
.setg:first-of-type { margin-top: 32px; }
@media (min-width: 900px) { .setg { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; } }
.setg > h2 { font-size: 18px; color: var(--tx2); }
.setg__b { display: grid; gap: 8px; min-width: 0; }
.setg__b > .help { margin-top: 8px; }
.setg__b > .help:first-child { margin-top: 0; margin-bottom: 8px; }
.prof { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--s3); }
.prof__av { width: 72px; height: 72px; border-radius: var(--r); overflow: hidden; background: #2b2b2b; }
.prof__av .av { width: 100%; height: 100%; border-radius: 0; }
.prof__t { min-width: 0; }
.prof__t b { display: block; font-size: 18px; overflow-wrap: anywhere; }
.prof__t span { display: block; margin-top: 2px; color: var(--tx2); }
.prof__t small { display: block; margin-top: 4px; line-height: 1.5; color: var(--tx4); }
.prof .btn { grid-column: 1 / -1; }
@media (min-width: 600px) { .prof { grid-template-columns: auto minmax(0, 1fr) auto; } .prof .btn { grid-column: auto; } }
.setb { display: flex; align-items: center; gap: 16px; width: 100%; min-height: 56px; padding: 12px 16px; border: 0; border-radius: var(--r); background: var(--s3); color: #fff; font-weight: 500; text-align: left; text-decoration: none; transition: background .2s; }
.setb:hover { background: #383838; }
.setb > span { flex: 1; min-width: 0; }
.setb small { display: block; margin-top: 2px; font-weight: 400; line-height: 1.4; color: var(--tx3); }
.setb > .ic:first-child { color: var(--tx3); }
.setb > .ic:last-child { color: var(--tx4); }
.setb--bad { color: #ff6b73; }
.setb--bad > .ic:first-child { color: #ff6b73; }
.legal { display: grid; gap: 8px; }
.legal a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 8px 16px; border-radius: var(--r); background: var(--s3); color: var(--tx2); font-size: 15px; text-decoration: none; transition: background .2s, color .2s; }
.legal a:hover { background: #383838; color: #fff; }
.legal a .ic { color: var(--tx4); }
.setg a:not(.setb):not(.btn):not([href^="/abone"]) { color: #fff; text-underline-offset: 3px; }
