/* Papel Hesabım — site temasıyla uyumlu hesap paneli */

html.bov-account .layout-content-holder-bc > :not(#papel-hesap),
html.bov-account .error-page,
html.bov-account .error-page-content,
html.bov-account .error-page-info {
  display: none !important;
}

#papel-hesap {
  --ph-bg: #140a22;
  --ph-card: #1a0f2a;
  --ph-sec: #12081c;
  --ph-line: rgba(162, 75, 255, 0.16);
  --ph-line-soft: rgba(255, 255, 255, 0.06);
  --ph-text: #f4eefc;
  --ph-muted: #a998c6;
  --ph-dim: #7f6f9e;
  --ph-brand: #790CD1;
  --ph-brand-2: #8B22E8;
  --ph-accent: #c9a6ff;
  --ph-ok: #3ddc84;
  --ph-wait: #ffb547;
  --ph-bad: #ff6b81;
  color: var(--ph-text);
  padding: 20px 8px 56px;
  font-family: inherit;
  max-width: 1280px;
  margin: 0 auto;
}
#papel-hesap * { box-sizing: border-box; }
#papel-hesap [hidden] { display: none !important; }

/* ---------- layout ---------- */
#papel-hesap .ph-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
#papel-hesap .ph-side {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
}
#papel-hesap .ph-side-user,
#papel-hesap .ph-nav,
#papel-hesap .ph-card,
#papel-hesap .ph-gate {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(121, 12, 209, 0.14), transparent 55%),
    var(--ph-card);
  border: 1px solid var(--ph-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(6, 2, 14, 0.3);
}

/* side user card */
#papel-hesap .ph-side-user { padding: 16px; display: grid; gap: 14px; }
#papel-hesap .ph-su-top { display: flex; align-items: center; gap: 12px; min-width: 0; }
#papel-hesap .ph-su-ava {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, var(--ph-brand-2), #4d0a87);
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}
#papel-hesap .ph-su-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
#papel-hesap .ph-su-name { display: grid; gap: 3px; min-width: 0; }
#papel-hesap .ph-su-name b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#papel-hesap .ph-su-name small { color: var(--ph-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
#papel-hesap .ph-su-bal {
  display: grid; gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(121, 12, 209, 0.3), rgba(121, 12, 209, 0.06) 75%);
  border: 1px solid rgba(162, 75, 255, 0.26);
}
#papel-hesap .ph-su-bal span { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ph-muted); }
#papel-hesap .ph-su-bal b { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.01em; word-break: break-all; }
#papel-hesap .ph-su-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#papel-hesap .ph-su-cta button { padding: 10px 8px; }

/* nav */
#papel-hesap .ph-nav { padding: 8px; display: grid; gap: 2px; }
#papel-hesap .ph-nav-group { display: grid; gap: 2px; padding: 4px 0; }
#papel-hesap .ph-nav-group + .ph-nav-group { border-top: 1px solid var(--ph-line-soft); padding-top: 8px; }
#papel-hesap .ph-nav-cap {
  padding: 4px 12px 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ph-dim);
}
#papel-hesap .ph-nav button {
  width: 100%;
  display: flex; align-items: center; gap: 11px;
  text-align: left;
  border: 0; background: transparent;
  color: #ddd2ef;
  border-radius: 10px;
  padding: 9px 10px;
  font: 600 14px/1.2 inherit;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
#papel-hesap .ph-nav button:hover { background: rgba(121, 12, 209, 0.12); color: #fff; }
#papel-hesap .ph-nav button.on {
  background: linear-gradient(90deg, rgba(121, 12, 209, 0.34), rgba(121, 12, 209, 0.08));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--ph-brand);
}
#papel-hesap .ph-nav .ph-ico {
  width: 30px; height: 30px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(121, 12, 209, 0.14); color: var(--ph-accent);
  transition: background .15s ease, color .15s ease;
}
#papel-hesap .ph-nav button.on .ph-ico { background: var(--ph-brand); color: #fff; }
#papel-hesap .ph-ico svg { width: 17px; height: 17px; display: block; }
#papel-hesap .ph-nav #ph-out {
  margin-top: 6px;
  border-top: 1px solid var(--ph-line-soft);
  border-radius: 0 0 10px 10px;
  padding-top: 12px;
  color: #ff98a6;
}
#papel-hesap .ph-nav #ph-out .ph-ico { background: rgba(255, 92, 112, 0.1); color: #ff98a6; }
#papel-hesap .ph-nav #ph-out:hover { background: rgba(255, 92, 112, 0.08); }

/* ---------- panel ---------- */
#papel-hesap .ph-main { min-width: 0; scroll-margin-top: 80px; }
#papel-hesap .ph-card { padding: 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; min-width: 0; }
#papel-hesap .ph-card > * { min-width: 0; }
#papel-hesap .ph-phead { display: flex; align-items: center; gap: 14px; padding-bottom: 4px; }
#papel-hesap .ph-phead-ico {
  width: 44px; height: 44px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ph-brand-2), var(--ph-brand));
  color: #fff;
  box-shadow: 0 8px 20px rgba(121, 12, 209, 0.32);
}
#papel-hesap .ph-phead-ico svg { width: 22px; height: 22px; }
#papel-hesap .ph-phead h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
#papel-hesap .ph-phead p { margin: 3px 0 0; color: var(--ph-muted); font-size: 13.5px; }

#papel-hesap .ph-sec {
  background: var(--ph-sec);
  border: 1px solid var(--ph-line-soft);
  border-radius: 14px;
  padding: 18px;
}
#papel-hesap .ph-sec-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
#papel-hesap .ph-sec-h h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
#papel-hesap .ph-step {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ph-brand); color: #fff;
  font-size: 12px; font-weight: 800;
}
#papel-hesap .ph-sec-tag {
  margin-left: auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ph-muted);
  font-size: 11px; font-weight: 700;
}
#papel-hesap .ph-sub { margin: 0 0 12px; color: var(--ph-muted); font-size: 13px; line-height: 1.5; }
#papel-hesap .ph-hint { margin: 8px 0 0; color: var(--ph-dim); font-size: 12px; }

/* ---------- hero (profil) ---------- */
#papel-hesap .ph-hero {
  display: grid; gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(139, 34, 232, 0.35), transparent 60%),
    linear-gradient(160deg, #24103e, #12081c);
  border: 1px solid rgba(162, 75, 255, 0.28);
}
#papel-hesap .ph-hero-top { display: flex; align-items: center; gap: 14px; }
#papel-hesap .ph-hero-copy { min-width: 0; flex: 1; display: grid; gap: 6px; }
#papel-hesap .ph-hero-copy b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#papel-hesap .ph-hero-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#papel-hesap .ph-idcopy,
#papel-hesap .ph-badge {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .03em;
}
#papel-hesap .ph-idcopy {
  border: 1px solid rgba(162, 75, 255, 0.3);
  background: rgba(121, 12, 209, 0.18);
  color: #ead9ff;
  cursor: pointer;
}
#papel-hesap .ph-idcopy:hover { border-color: rgba(162, 75, 255, 0.6); }
#papel-hesap .ph-badge { background: rgba(255, 181, 71, 0.12); color: var(--ph-wait); }
#papel-hesap .ph-badge.is-ok { background: rgba(61, 220, 132, 0.12); color: var(--ph-ok); }
#papel-hesap #ph-hide {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #d6c9ec;
  border-radius: 999px;
  padding: 7px 12px;
  font: 700 11.5px inherit;
  cursor: pointer;
  white-space: nowrap;
}
#papel-hesap #ph-hide:hover { background: rgba(255, 255, 255, 0.09); }
#papel-hesap .ph-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#papel-hesap .ph-wallet {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
}
#papel-hesap .ph-wallet span {
  display: block; color: var(--ph-muted);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
#papel-hesap .ph-wallet b {
  display: block; margin-top: 6px;
  font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #fff;
  font-variant-numeric: tabular-nums;
}
#papel-hesap .ph-bank { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- buttons ---------- */
#papel-hesap .ph-ghost,
#papel-hesap .ph-go,
#papel-hesap .ph-mini {
  border: 0;
  border-radius: 11px;
  padding: 12px 18px;
  font: 700 13.5px inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: filter .15s ease, transform .12s ease, background .15s ease, border-color .15s ease;
}
#papel-hesap .ph-go {
  background: linear-gradient(180deg, var(--ph-brand-2), var(--ph-brand));
  color: #fff;
  box-shadow: 0 8px 20px rgba(121, 12, 209, 0.3);
}
#papel-hesap .ph-go:hover { filter: brightness(1.08); transform: translateY(-1px); }
#papel-hesap .ph-go:active { transform: none; }
#papel-hesap .ph-go[disabled] { opacity: .45; cursor: not-allowed; transform: none; filter: none; box-shadow: none; }
#papel-hesap .ph-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #f0e8fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
#papel-hesap .ph-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.24); }
#papel-hesap .ph-mini {
  background: rgba(121, 12, 209, 0.2);
  color: #ead9ff;
  border: 1px solid rgba(162, 75, 255, 0.36);
  padding: 9px 14px;
  font-size: 13px;
  white-space: nowrap;
}
#papel-hesap .ph-mini:hover { background: rgba(121, 12, 209, 0.32); }
#papel-hesap .ph-link {
  border: 0; background: transparent;
  color: #ff98a6;
  font: 700 13px inherit;
  padding: 8px 6px;
  cursor: pointer;
}
#papel-hesap .ph-link:hover { text-decoration: underline; }
#papel-hesap .ph-wide { width: 100%; }
#papel-hesap .ph-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 16px;
}
#papel-hesap .ph-actions .ph-msg { margin: 0; flex: 1; }
#papel-hesap .ph-actions .ph-go,
#papel-hesap .ph-actions .ph-ghost { min-width: 200px; }

/* ---------- forms ---------- */
#papel-hesap .ph-form { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
#papel-hesap label {
  display: block;
  margin: 10px 0 6px;
  color: var(--ph-muted);
  font-size: 12.5px; font-weight: 600;
}
#papel-hesap .ph-form label { margin-top: 6px; }
#papel-hesap input,
#papel-hesap select,
#papel-hesap textarea {
  width: 100%;
  background: #0d0616;
  color: var(--ph-text);
  border: 1px solid rgba(162, 75, 255, 0.2);
  border-radius: 10px;
  padding: 12px 13px;
  font: 500 14px inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#papel-hesap input::placeholder,
#papel-hesap textarea::placeholder { color: #6e608a; }
#papel-hesap input:focus,
#papel-hesap select:focus,
#papel-hesap textarea:focus {
  border-color: rgba(162, 75, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(121, 12, 209, 0.2);
}
#papel-hesap input:disabled { opacity: .65; cursor: not-allowed; }
#papel-hesap textarea { resize: vertical; min-height: 110px; }
#papel-hesap .ph-inline { display: flex; align-items: stretch; gap: 10px; }
#papel-hesap .ph-inline input { flex: 1; }
#papel-hesap .ph-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#papel-hesap .ph-money-in { position: relative; margin-top: 10px; }
#papel-hesap .ph-money-in input { padding-right: 40px; font-size: 18px; font-weight: 700; height: 52px; }
#papel-hesap .ph-money-in span {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ph-muted); font-weight: 700; font-size: 16px; pointer-events: none;
}

#papel-hesap .ph-msg { min-height: 18px; margin: 8px 0 0; color: #7aefc6; font-size: 13px; font-weight: 600; }
#papel-hesap .ph-msg:empty { min-height: 0; }
#papel-hesap .ph-msg.err { color: #ffb0bd; }
#papel-hesap .ph-warn {
  background: rgba(255, 181, 71, 0.08);
  color: #ffd391;
  border: 1px solid rgba(255, 181, 71, 0.25);
  border-radius: 10px;
  padding: 11px 13px;
  margin: 0 0 12px;
  font-size: 13px;
}
#papel-hesap .ph-okline { color: var(--ph-ok); font-size: 13px; font-weight: 700; margin: 0 0 10px; }

/* ---------- avatar ---------- */
#papel-hesap .ph-ava {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid var(--ph-brand);
  background: #2A1844;
  object-fit: cover;
  display: grid; place-items: center;
  flex: none; overflow: hidden;
}
#papel-hesap .ph-ava-letter { color: #fff; font-weight: 800; font-style: normal; font-size: 22px; }
#papel-hesap .ph-avatar-row { display: flex; align-items: center; gap: 14px; }
#papel-hesap .ph-avatar-row .ph-ava { width: 48px; height: 48px; }
#papel-hesap .ph-avatar-row div { flex: 1; min-width: 0; }
#papel-hesap .ph-avatar-row b { display: block; font-size: 14px; }
#papel-hesap .ph-avatar-row small { display: block; margin-top: 3px; color: var(--ph-muted); font-size: 12.5px; }
#papel-hesap .ph-avas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
  gap: 10px;
  margin-top: 14px;
  max-height: 232px;
  overflow: auto;
  padding: 12px;
  background: #0d0616;
  border-radius: 12px;
  border: 1px solid var(--ph-line);
}
#papel-hesap .ph-avas button {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0; background: #2A1844;
  cursor: pointer; overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}
#papel-hesap .ph-avas button img { width: 100%; height: 100%; object-fit: cover; display: block; }
#papel-hesap .ph-avas button:hover { transform: scale(1.05); border-color: rgba(162, 75, 255, 0.6); }
#papel-hesap .ph-avas button.on { border-color: var(--ph-brand-2); box-shadow: 0 0 0 3px rgba(121, 12, 209, 0.35); }

/* ---------- amounts / payment catalog ---------- */
#papel-hesap .ph-amounts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
}
#papel-hesap .ph-amounts:empty { display: none; }
#papel-hesap .ph-amt {
  background: #0d0616;
  border: 1px solid rgba(162, 75, 255, 0.18);
  border-radius: 10px;
  color: var(--ph-text);
  cursor: pointer;
  font: 700 14px inherit;
  padding: 11px 8px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, background .15s ease;
}
#papel-hesap .ph-amt:hover { border-color: rgba(162, 75, 255, 0.5); }
#papel-hesap .ph-amt.on { border-color: var(--ph-brand-2); background: rgba(121, 12, 209, 0.22); color: #fff; }

#papel-hesap .ph-pay-cats {
  display: flex; flex-wrap: nowrap; gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
#papel-hesap .ph-pay-chip {
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #d8c8f0;
  border-radius: 999px;
  padding: 8px 14px;
  font: 700 12px/1 inherit;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
#papel-hesap .ph-pay-chip:hover { border-color: rgba(162, 75, 255, 0.5); color: #fff; }
#papel-hesap .ph-pay-chip.on { background: var(--ph-brand); border-color: var(--ph-brand); color: #fff; }
#papel-hesap .ph-pays {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-height: 340px;
  overflow: auto;
  padding: 2px;
}
#papel-hesap .ph-pay {
  display: grid; grid-template-rows: 1fr auto; gap: 8px;
  background: #0d0616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--ph-text);
  cursor: pointer;
  padding: 10px 10px 12px;
  text-align: center;
  overflow: hidden;
  min-height: 112px;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
#papel-hesap .ph-pay:hover { border-color: rgba(162, 75, 255, 0.45); transform: translateY(-1px); }
#papel-hesap .ph-pay.on { border-color: var(--ph-brand-2); box-shadow: 0 0 0 2px rgba(121, 12, 209, 0.45); }
#papel-hesap .ph-pay-logo { display: grid; place-items: center; width: 100%; min-height: 60px; overflow: hidden; }
#papel-hesap .ph-pay-logo img { display: block; width: 100%; height: 66px; object-fit: contain; }
#papel-hesap .ph-pay-logo b {
  display: grid; place-items: center; width: 100%; min-height: 60px;
  color: var(--ph-accent); font-size: 22px;
  background: #1a1026; border-radius: 8px;
}
#papel-hesap .ph-pay-name {
  display: block; font-size: 12px; font-weight: 700; line-height: 1.25;
  color: #d7cce8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
#papel-hesap .ph-pay-detail:not(:empty) { margin-top: 14px; }
#papel-hesap .ph-pay-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--ph-line-soft);
  border-radius: 12px;
  overflow: hidden;
  background: #0d0616;
}
#papel-hesap .ph-pay-meta > div { display: grid; gap: 4px; padding: 12px 14px; border-right: 1px solid var(--ph-line-soft); }
#papel-hesap .ph-pay-meta > div:last-child { border-right: 0; }
#papel-hesap .ph-pay-meta span { color: var(--ph-dim); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
#papel-hesap .ph-pay-meta b { color: #f4edff; font-size: 13.5px; font-weight: 700; }
#papel-hesap .ph-pay-note { margin: 10px 0 0; color: var(--ph-muted); font-size: 12.5px; line-height: 1.5; }

/* deposit methods (havale / kripto) */
#papel-hesap .ph-dep-methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
#papel-hesap .ph-method {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0d0616;
  padding: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#papel-hesap .ph-method.on { border-color: var(--ph-brand-2); box-shadow: 0 0 0 2px rgba(121, 12, 209, 0.4); }
#papel-hesap .ph-method .ph-havale-btn { width: 100%; max-width: none; margin: 0; }
#papel-hesap .ph-method .ph-havale-cap { margin: 10px 2px 2px; }

/* ---------- deposit bonus (opt-in) ---------- */
#papel-hesap .ph-bonus-box { display: grid; gap: 12px; }
#papel-hesap .ph-bonus-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  border-radius: 12px;
  border: 1px dashed rgba(162, 75, 255, 0.4);
  background: rgba(121, 12, 209, 0.06);
  transition: border-color .15s ease, background .15s ease;
}
#papel-hesap .ph-bonus-box[data-state="picked"] .ph-bonus-bar {
  border-style: solid;
  border-color: var(--ph-brand-2);
  background: linear-gradient(90deg, rgba(121, 12, 209, 0.26), rgba(121, 12, 209, 0.06));
}
#papel-hesap .ph-bonus-bar-ico {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(121, 12, 209, 0.22); color: var(--ph-accent);
}
#papel-hesap .ph-bonus-box[data-state="picked"] .ph-bonus-bar-ico { background: var(--ph-brand); color: #fff; }
#papel-hesap .ph-bonus-bar-ico svg { width: 20px; height: 20px; }
#papel-hesap .ph-bonus-bar-copy { flex: 1; min-width: 0; display: grid; gap: 3px; }
#papel-hesap .ph-bonus-bar-copy b { font-size: 14px; line-height: 1.3; }
#papel-hesap .ph-bonus-bar-copy small { color: var(--ph-muted); font-size: 12.5px; }
#papel-hesap .ph-bonus-bar-act { display: flex; align-items: center; gap: 4px; flex: none; }
#papel-hesap .ph-bonus-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  animation: phFadeIn .18s ease-out;
}
@keyframes phFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
#papel-hesap .ph-bcard {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  min-height: 52px;
  padding: 13px 48px 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: #12081c;
  cursor: pointer;
  color: var(--ph-text);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
#papel-hesap .ph-bcard:hover { border-color: rgba(162, 75, 255, 0.55); background: #1a0c28; }
#papel-hesap .ph-bcard.on,
#papel-hesap .ph-bcard:has(input:checked) { border-color: var(--ph-brand-2); background: rgba(121, 12, 209, 0.16); box-shadow: 0 0 0 2px rgba(121, 12, 209, 0.45); }
#papel-hesap .ph-bcard input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
#papel-hesap .ph-bcard-body { display: block; min-width: 0; padding: 0; }
#papel-hesap .ph-bcard-body b { display: block; font-size: 14px; font-weight: 700; line-height: 1.35; }
#papel-hesap .ph-bcard-tick {
  position: absolute; top: 50%; right: 14px;
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
}
#papel-hesap .ph-bcard.on .ph-bcard-tick,
#papel-hesap .ph-bcard:has(input:checked) .ph-bcard-tick { background: var(--ph-brand); border-color: #fff; }
#papel-hesap .ph-bcard.on .ph-bcard-tick::after,
#papel-hesap .ph-bcard:has(input:checked) .ph-bcard-tick::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* deposit summary bar */
#papel-hesap .ph-summary {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(121, 12, 209, 0.24), rgba(121, 12, 209, 0.06));
  border: 1px solid rgba(162, 75, 255, 0.3);
}
#papel-hesap .ph-summary > div { display: grid; gap: 3px; min-width: 0; }
#papel-hesap .ph-summary > div:nth-child(2) { flex: 1; }
#papel-hesap .ph-summary span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ph-muted); }
#papel-hesap .ph-summary b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#papel-hesap .ph-summary .ph-go { min-width: 200px; padding: 14px 22px; font-size: 14.5px; }

/* loss bonus (radio rows) */
#papel-hesap .ph-bonus-picks { display: grid; gap: 8px; margin: 4px 0 0; }
#papel-hesap .ph-bonus-pick {
  display: flex; align-items: center; gap: 12px;
  margin: 0;
  border: 1px solid rgba(162, 75, 255, 0.22);
  background: #0d0616;
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  color: var(--ph-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#papel-hesap .ph-bonus-pick:hover { border-color: rgba(162, 75, 255, 0.55); }
#papel-hesap .ph-bonus-pick.on,
#papel-hesap .ph-bonus-pick:has(input:checked) {
  border-color: var(--ph-brand-2);
  background: rgba(121, 12, 209, 0.16);
  box-shadow: 0 0 0 2px rgba(121, 12, 209, 0.3);
}
#papel-hesap .ph-bonus-pick input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
#papel-hesap .ph-bonus-tick {
  width: 20px; height: 20px; flex: none;
  border: 2px solid rgba(192, 132, 252, 0.55);
  border-radius: 50%;
  background: #0c0614;
  position: relative;
}
#papel-hesap .ph-bonus-pick.on .ph-bonus-tick,
#papel-hesap .ph-bonus-pick:has(input:checked) .ph-bonus-tick { border-color: var(--ph-brand-2); }
#papel-hesap .ph-bonus-pick.on .ph-bonus-tick::after,
#papel-hesap .ph-bonus-pick:has(input:checked) .ph-bonus-tick::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ph-brand-2);
}
#papel-hesap .ph-bonus-pick span { display: block; font: 600 13.5px/1.35 inherit; }

/* ---------- stats ---------- */
#papel-hesap .ph-stat-row,
#papel-hesap .ph-loss-stats { display: grid; gap: 10px; }
#papel-hesap .ph-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#papel-hesap .ph-loss-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#papel-hesap .ph-stat,
#papel-hesap .ph-loss-stat {
  background: var(--ph-sec);
  border: 1px solid var(--ph-line-soft);
  border-radius: 12px;
  padding: 14px;
}
#papel-hesap .ph-loss-stat.is-hl { border-color: rgba(162, 75, 255, 0.4); background: rgba(121, 12, 209, 0.12); }
#papel-hesap .ph-stat span,
#papel-hesap .ph-loss-stat span { display: block; color: var(--ph-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
#papel-hesap .ph-stat b,
#papel-hesap .ph-loss-stat b { display: block; margin-top: 6px; font-size: 18px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- tables ---------- */
#papel-hesap .ph-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--ph-line-soft);
  border-radius: 12px;
}
#papel-hesap table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
#papel-hesap th,
#papel-hesap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ph-line-soft); white-space: nowrap; }
#papel-hesap tbody tr:last-child td { border-bottom: 0; }
#papel-hesap tbody tr:hover td { background: rgba(121, 12, 209, 0.06); }
#papel-hesap th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ph-dim);
  font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}
#papel-hesap td { color: #e6def3; font-variant-numeric: tabular-nums; }
#papel-hesap .ph-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(121, 12, 209, 0.18);
  color: #e9d5ff;
  font-size: 11.5px; font-weight: 700;
}
#papel-hesap .ph-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#papel-hesap .ph-pill.is-ok { background: rgba(61, 220, 132, 0.12); color: var(--ph-ok); }
#papel-hesap .ph-pill.is-wait { background: rgba(255, 181, 71, 0.12); color: var(--ph-wait); }
#papel-hesap .ph-pill.is-bad { background: rgba(255, 107, 129, 0.12); color: var(--ph-bad); }
#papel-hesap .ph-diff { font-weight: 700; }
#papel-hesap .ph-diff.is-up { color: var(--ph-ok); }
#papel-hesap .ph-diff.is-down { color: var(--ph-bad); }
#papel-hesap .ph-empty {
  display: grid; justify-items: center; gap: 6px;
  padding: 28px 16px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
#papel-hesap .ph-empty-ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(121, 12, 209, 0.14); color: var(--ph-accent);
  margin-bottom: 4px;
}
#papel-hesap .ph-empty-ico svg { width: 22px; height: 22px; }
#papel-hesap .ph-empty b { font-size: 14px; }
#papel-hesap .ph-empty small { color: var(--ph-dim); font-size: 12.5px; }

/* ---------- login gate ---------- */
#papel-hesap .ph-gate { max-width: 440px; margin: 32px auto; padding: 30px 26px; }
#papel-hesap .ph-gate h1 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.03em; }
#papel-hesap .ph-gate .ph-go,
#papel-hesap .ph-gate .ph-ghost { width: 100%; margin-top: 14px; }

/* ---------- 2FA ---------- */
#papel-hesap .ph-2fa-secret {
  display: block;
  margin: 8px 0 12px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  color: #f4ecff;
  letter-spacing: .12em;
  font: 700 13px ui-monospace, Consolas, monospace;
  text-align: center;
  word-break: break-all;
}
#papel-hesap .ph-2fa-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#papel-hesap .ph-2fa-list code { display: block; padding: 8px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); text-align: center; letter-spacing: .06em; }
#papel-hesap #ph-2fa-setup .ph-go,
#papel-hesap #ph-2fa-backups .ph-go { margin-top: 12px; }
#papel-hesap #ph-login-2fa-wrap .ph-ghost { margin-top: 8px; }

/* ---------- payment modals (havale / kripto) ---------- */
#papel-hesap .ph-havale-btn {
  display: block;
  width: min(100%, 260px);
  max-width: 260px;
  margin: 8px 0 6px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}
#papel-hesap .ph-havale-btn:hover {
  border-color: rgba(162, 75, 255, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(121, 12, 209, 0.25);
}
#papel-hesap .ph-havale-btn.on {
  border-color: #790CD1;
  box-shadow: 0 0 0 2px rgba(121, 12, 209, 0.35);
}
#papel-hesap .ph-havale-btn img {
  display: block;
  width: 100%;
  height: auto;
}
#papel-hesap .ph-havale-cap {
  margin: 0 0 14px;
  color: #cbbde3;
  font-size: 13px;
  font-weight: 700;
}
#papel-hesap .ph-crypto-brand img {
  height: 56px;
  width: 200px;
  object-fit: cover;
  object-position: left center;
  background: #fff;
  border-radius: 12px;
}
#papel-hesap .ph-crypto-nets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
#papel-hesap .ph-crypto-net {
  display: grid;
  justify-items: center;
  gap: 3px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 12px;
  padding: 8px 6px 7px;
  min-height: 86px;
  font: 700 12px/1.1 Manrope, sans-serif;
  cursor: pointer;
}
#papel-hesap .ph-crypto-net img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
}
#papel-hesap .ph-crypto-net b { font-size: 12px; }
#papel-hesap .ph-crypto-net small {
  color: #6b7280;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
}
#papel-hesap .ph-crypto-net.on {
  background: #37a72d;
  color: #fff;
  border-color: #37a72d;
}
#papel-hesap .ph-crypto-net.on small { color: #ecfccb; }
#papel-hesap .ph-crypto-net.noaddr { opacity: 0.55; }
#papel-hesap .ph-crypto-warn {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
#papel-hesap .ph-havale-done[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

#papel-hesap .ph-havale-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
}
#papel-hesap .ph-havale-modal[hidden] { display: none !important; }
#papel-hesap .ph-havale-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 14, 0.72);
  backdrop-filter: blur(4px);
}
#papel-hesap .ph-havale-sheet {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: #f3f4f6;
  color: #1f2937;
  border-radius: 18px;
  padding: 18px 16px 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
#papel-hesap .ph-havale-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
}
#papel-hesap .ph-havale-brand {
  text-align: center;
  margin-bottom: 10px;
}
#papel-hesap .ph-havale-brand img { height: 64px; width: auto; max-width: min(100%, 280px); object-fit: contain; }
#papel-hesap .ph-havale-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}
#papel-hesap .ph-havale-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(90deg, #ea580c 0%, #111827 55%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
#papel-hesap .ph-havale-head img {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
}
#papel-hesap .ph-havale-body { padding: 18px 18px 8px; }
#papel-hesap .ph-havale-warn {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
#papel-hesap .ph-havale-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}
#papel-hesap .ph-havale-body label {
  display: block;
  margin: 10px 0 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
}
#papel-hesap .ph-havale-field {
  position: relative;
  display: grid;
}
#papel-hesap .ph-havale-field input {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 12px;
  padding: 12px 96px 12px 14px;
  font: 600 14px/1.3 inherit;
  color: #111827;
}
#papel-hesap .ph-havale-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-weight: 700;
}
#papel-hesap .ph-havale-copy {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 6px 8px;
}
#papel-hesap .ph-havale-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}
#papel-hesap .ph-havale-timer {
  display: grid;
  gap: 2px;
}
#papel-hesap .ph-havale-timer b {
  font-size: 22px;
  color: #0f766e;
}
#papel-hesap .ph-havale-timer span {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}
#papel-hesap .ph-havale-done {
  border: 0;
  border-radius: 12px;
  background: #37a72d;
  color: #fff;
  font: 700 14px inherit;
  padding: 14px 12px;
  cursor: pointer;
}
#papel-hesap .ph-havale-info {
  margin-top: 16px;
  padding: 14px 14px 14px 16px;
  border-radius: 12px;
  background: #f3f4f6;
  color: #374151;
  font-size: 13px;
  line-height: 1.55;
}
#papel-hesap .ph-havale-info b {
  display: block;
  margin-bottom: 8px;
  color: #111;
}
#papel-hesap .ph-havale-trust {
  text-align: center;
  padding: 12px 0 16px;
}
#papel-hesap .ph-havale-trust img { height: 42px; width: auto; }
#papel-hesap .ph-havale-sheet .ph-msg {
  color: #059669;
  text-align: center;
}
#papel-hesap .ph-havale-sheet .ph-msg.err { color: #dc2626; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  #papel-hesap .ph-pay-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #papel-hesap .ph-pay-meta > div:nth-child(3) { border-right: 0; }
  #papel-hesap .ph-pay-meta > div:nth-child(-n+3) { border-bottom: 1px solid var(--ph-line-soft); }
}
@media (max-width: 900px) {
  #papel-hesap { padding: 14px 4px 40px; }
  #papel-hesap .ph-layout { grid-template-columns: 1fr; gap: 14px; }
  #papel-hesap .ph-side { position: static; }
  #papel-hesap .ph-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
  }
  #papel-hesap .ph-nav::-webkit-scrollbar { display: none; }
  #papel-hesap .ph-nav-group { display: contents; }
  #papel-hesap .ph-nav-cap { display: none; }
  #papel-hesap .ph-nav button { flex: none; width: auto; padding: 7px 12px 7px 7px; white-space: nowrap; }
  #papel-hesap .ph-nav button.on { box-shadow: none; }
  #papel-hesap .ph-nav #ph-out { margin: 0; border: 0; padding-top: 7px; border-radius: 10px; }
  #papel-hesap .ph-card { padding: 16px; }
  #papel-hesap .ph-sec { padding: 14px; }
  #papel-hesap .ph-form,
  #papel-hesap .ph-split { grid-template-columns: 1fr; }
  #papel-hesap .ph-loss-stats { grid-template-columns: 1fr 1fr; }
  #papel-hesap .ph-pays { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 300px; }
  #papel-hesap .ph-havale-row { grid-template-columns: 1fr; }
  #papel-hesap .ph-summary { flex-wrap: wrap; }
  #papel-hesap .ph-summary .ph-go { width: 100%; }
}
@media (max-width: 560px) {
  #papel-hesap .ph-wallets,
  #papel-hesap .ph-bank,
  #papel-hesap .ph-stat-row { grid-template-columns: 1fr 1fr; }
  #papel-hesap .ph-amounts { grid-template-columns: repeat(3, 1fr); }
  #papel-hesap .ph-pay-meta { grid-template-columns: 1fr 1fr; }
  #papel-hesap .ph-pay-meta > div { border-right: 0 !important; border-bottom: 1px solid var(--ph-line-soft); }
  #papel-hesap .ph-hero-top { flex-wrap: wrap; }
  #papel-hesap #ph-hide { margin-left: auto; }
  #papel-hesap .ph-bonus-bar { flex-wrap: wrap; }
  #papel-hesap .ph-bonus-bar-act { width: 100%; }
  #papel-hesap .ph-bonus-bar-act .ph-mini { flex: 1; }
  #papel-hesap .ph-actions { flex-direction: column-reverse; align-items: stretch; }
  #papel-hesap .ph-actions .ph-go,
  #papel-hesap .ph-actions .ph-ghost { width: 100%; min-width: 0; }
  #papel-hesap .ph-pay-logo img { height: 56px; }
  #papel-hesap .ph-pay { min-height: 100px; padding: 8px 8px 10px; }
  #papel-hesap .ph-havale-sheet { padding: 14px 10px 18px; }
  #papel-hesap .ph-wallet b { font-size: 18px; }
}
@media (min-width: 1100px) {
  #papel-hesap .ph-pays { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1400px) {
  #papel-hesap .ph-pays { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---- Çekim: yöntem seçimi, alanlar, işlem türü rozetleri ---- */
.ph-wd-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-wd-method {
  display: block; padding: 8px; border-radius: 14px; cursor: pointer; overflow: hidden;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e9e0f7; transition: border-color .15s ease, background .15s ease;
}
.ph-wd-method:hover { border-color: rgba(193, 247, 1, 0.45); }
.ph-wd-method.on { border-color: #c1f701; background: rgba(193, 247, 1, 0.09); }
.ph-wd-method b { font-size: 14px; }
.ph-wd-method small { font-size: 11.5px; color: #9aa3ab; }
.ph-wd-ico {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(193, 247, 1, 0.12); color: #c1f701; margin-bottom: 4px;
}
.ph-wd-ico svg { width: 18px; height: 18px; }
.ph-wd-logo { position: relative; display: block; width: 100%; height: 72px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.ph-wd-logo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; display: block; }
.ph-wd-fields { display: grid; gap: 8px; margin-bottom: 12px; }
.ph-field-l { font-size: 12px; font-weight: 600; color: #b9aad0; margin-top: 4px; }
.ph-input {
  width: 100%; padding: 11px 12px; border-radius: 12px; font-size: 14px;
  background: rgba(0, 0, 0, 0.25); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
}
.ph-input:focus { outline: none; border-color: #c1f701; box-shadow: 0 0 0 3px rgba(193, 247, 1, 0.12); }
select.ph-input option { background: #1a1430; color: #fff; }
.ph-wd-warn { margin: 0; font-size: 12px; color: #ffc4ab; }
.ph-wd-hint { margin: 8px 0 0; font-size: 12px; color: #9aa3ab; }
.ph-kind { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ph-kind.is-in { background: rgba(52, 211, 153, 0.14); color: #6ee7b7; }
.ph-kind.is-out { background: rgba(255, 180, 92, 0.14); color: #ffcf8f; }
@media (max-width: 560px) {
  .ph-wd-methods { grid-template-columns: 1fr; }
}

/* Doğum tarihi: gün / ay / yıl seçimi */
#papel-hesap .ph-dob { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 8px; }
