.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: none;
}
.logo, .logo * {
  box-shadow: none;
  border-radius: 12px;
  pointer-events: none !important;
  cursor: default !important;
  user-select: none !important;
  text-decoration: none !important;
}
.logo img { width: 40px; height: 40px; }
.nav-link { color: var(--muted); font-weight: 650; font-size: 14px; padding: 8px 10px; text-decoration: none }
.nav-link:hover, .nav-link.is-on { color: var(--text) }
.nav-hub {
  text-decoration: none;
  color: var(--muted);
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.nav-hub.is-on, .nav-hub:hover { color: var(--text); border-color: var(--line); background: var(--panel) }
.nav-toggle { border-color: var(--line); background: var(--panel); color: var(--text) }
.credits-chip, .credits-chip:hover {
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: none;
}
.auth-tabs { background: #0f1619; border: 1px solid var(--line) }
.auth-tabs-pill { background: var(--accent); box-shadow: none }
.auth-tab { color: var(--muted) }
.auth-tab.is-on { color: #061316 }
.btn-ok { background: var(--ok); color: #fff }
.btn-bad { background: #3a2525; border-color: #5a3535; color: #f0caca }
.btn-primary, .send, .btn-send { background: var(--accent); color: #fff; box-shadow: none }
.btn-primary:hover, .send:hover, .btn-send:hover { background: #c084fc; transform: none; box-shadow: none }
.btn-second { color: var(--text); background: var(--panel); border: 1px solid var(--line) }
.btn-second:hover { background: #1e1e2a; transform: none }
.btn-compact { flex: 0 0 auto; min-height: 42px; padding: 0 18px; font-size: 14px }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); text-decoration: none; display: inline-flex; align-items: center; justify-content: center }
.btn-inline {
  border: 1px solid var(--line);
  background: var(--accent);
  color: #eef2ef;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.icon-btn { border: 0; background: transparent; color: var(--muted); font-size: 18px; cursor: pointer }
.footer { color: var(--muted); border-top: 1px solid var(--line); background: transparent }
.field, textarea, select, .text-input {
  appearance: none;
  background: #0f1619;
  border: 1px solid var(--line);
  color: var(--text);
  color-scheme: dark;
}
.field:focus, textarea:focus, .text-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .18);
}
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 1000px #13131a inset;
  transition: background-color 99999s ease-out;
}
.index-console, .auth-box, .stat, .hist-item, .wallet-pay, .wallet-side, .how-step, .account-card, .modal-card, .profile-menu {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--text);
}
.console-input { background: #111118; border: 1px solid var(--line) }
.console-kicker, .console-field > span, .profile-head span { color: var(--accent) }
.console-price { color: var(--text) }
.avatar { border-color: var(--line); background: var(--panel); box-shadow: none }
.profile-menu a, .profile-menu button { color: var(--text) }
.profile-menu a:hover, .profile-menu button:hover { background: #1e1e2a }
.profile-head { border-bottom-color: var(--line) }
.notify-btn { border-color: var(--line); background: transparent; color: var(--muted) }
.modal { background: rgba(0,0,0,.55) }
.gold-bar { background: #242b28 }
.gold-bar-fill { background: var(--accent) }
.hist-check { background: var(--accent); color: #061316 }
.hist-check.wait { background: #3a403d; color: var(--muted) }
.btn-reindex { background: var(--panel); border: 1px solid var(--line); color: var(--text) }
.empty { color: var(--muted) }
.toast { background: #1e1e2a; color: var(--text); border: 1px solid var(--line) }
.toast.ok { background: #1a2e1f; border-color: #2f5a40 }
.toast.error { background: #2e1a1a; border-color: #5a3535 }
h1, .hero-title, .page-title { margin-top: 0; font-size: 28px; line-height: 1.15; letter-spacing: -.04em; font-weight: 750; color: var(--text) }
.home-hero { margin-bottom: 28px; max-width: 40rem }
.home-hero h1 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -.04em }
.home-hero p { color: var(--muted); margin: 8px 0 16px }
.home-actions { display: flex; gap: 10px; align-items: center }
.svc-card {
  display: grid; gap: 8px; padding: 22px 20px; min-height: 140px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
  text-decoration: none; color: inherit; transition: border-color .2s;
}
.svc-card:hover { border-color: #4a3a6b }
.svc-card b { font-size: 18px; letter-spacing: -.02em }
.svc-card span { color: var(--muted); font-size: 14px; line-height: 1.45 }
.svc-card i { width: 10px; height: 10px; border-radius: 50%; background: var(--clay); font-style: normal }
.hub-hello { font-size: clamp(18px, 2.4vw, 22px); font-weight: 650; letter-spacing: -.01em; margin-bottom: 18px; color: var(--muted) }
.ask-box { width: min(640px, 100%); margin: 0 auto }
.index-textarea { min-height: 180px; resize: vertical; width: 100% }
.hint { color: var(--muted); font-size: 13px; margin-top: 8px }
.domain-layout { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start }
.domain-tabs, .hist-tabs { display: flex; gap: 8px; margin-bottom: 16px }
.tab-btn { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 8px 14px; cursor: pointer }
.tab-btn.is-on { background: var(--accent); color: #eef2ef; border-color: var(--accent) }
.domain-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.domain-row.is-full { grid-template-columns: 1fr auto }
.domain-name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.domain-status { color: var(--muted); font-size: 14px; white-space: nowrap }
.domain-status.dolu { color: var(--bad) }
.cart-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line) }
.search-row { display: flex; gap: 10px; margin-bottom: 12px }
.domain-cart { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px }
.design-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.design-actions .btn-send,
.design-actions .btn-ghost,
.design-actions a,
.design-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  min-height: 38px;
  line-height: 1;
}

.code-preview { font-family: ui-monospace, monospace; font-size: 12px; white-space: pre-wrap; width: 100% }
.brand-dropdown {
  position: absolute; z-index: 20; background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; width: 100%; max-height: 200px; overflow: auto; margin-top: 4px;
}
.field-brand { position: relative }
.brand-dropdown button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; cursor: pointer; color: var(--text) }
.brand-dropdown button:hover { background: #242b28 }
.info-box { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel) }

/* Full History Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(5px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.full-history-card {
  width: min(740px, 96vw);
  max-height: 85vh;
  background: #111118;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
  padding: 0;
  overflow: hidden;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #14141f;
}
.full-hist-body {
  padding: 20px;
  overflow-y: auto;
  display: grid;
  gap: 12px;
  max-height: calc(85vh - 70px);
}
.indexer-history h2, .svc-history h2, .wallet-side-title, .hist-trigger {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: color .2s;
}
.indexer-history h2:hover, .svc-history h2:hover, .wallet-side-title:hover, .hist-trigger:hover {
  color: var(--accent);
}
.indexer-history h2::after, .svc-history h2::after, .wallet-side-title::after, .hist-trigger::after {
  content: "Tümünü Gör ↗";
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  letter-spacing: normal;
  text-transform: none;
}

.modal[hidden] { display: none !important }
.modal-card { background: var(--panel); padding: 20px; border-radius: 16px; width: min(420px, 92vw); border: 1px solid var(--line) }
.modal-actions { display: flex; gap: 10px; margin-top: 14px }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px }
/* Domain sayfası sekmeleri ve düzeni */
.domain-page { max-width: 1100px; margin: 0 auto }
.domain-tabs-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
  gap: 12px; flex-wrap: wrap;
}
.domain-tabs-nav { display: flex; gap: 10px }
.domain-tab-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600;
  transition: all .2s ease;
}
.domain-tab-btn:hover { color: var(--text); background: #1a1a24; border-color: rgba(168, 85, 247, 0.3) }
.domain-tab-btn.is-on { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px rgba(168, 85, 247, 0.25) }

.domain-cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; font-size: 14px; font-weight: 600;
}
.domain-cart-btn.is-on, .domain-cart-btn:hover { border-color: var(--accent); color: var(--accent) }
.domain-cart-btn strong {
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 2px 8px; font-size: 12px; font-weight: 700;
}

.domain-search-box {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
}
.domain-search-form { display: flex; gap: 12px; margin-bottom: 20px }
.domain-search-input { flex: 1 }

.domain-layout[hidden],
.mine-layout[hidden],
#panel-search[hidden],
#panel-mine[hidden],
#domain-cart[hidden],
.mine-detail[hidden] {
  display: none !important;
}

.mine-list-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
}
.mine-panel-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em }
.mine-list { display: grid; gap: 8px; min-width: 0 }
.mine-pick, .domain-pick {
  text-align: left; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line); background: #0f0f16; color: var(--text); cursor: pointer;
  width: 100%; word-break: break-all; transition: all .2s;
}
.mine-pick:hover, .domain-pick:hover, .mine-pick.is-on {
  border-color: var(--accent); background: rgba(168, 85, 247, 0.12); color: #fff;
}
.mine-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 768px) {
  .mine-layout { grid-template-columns: 1fr }
}
.mine-detail {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 20px;
  min-width: 0;
}
.mine-detail[hidden] { display: none !important }
.mine-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.mine-detail-head h3 { margin: 0; font-size: 20px; word-break: break-all }
.mine-block { display: grid; gap: 12px }
.mine-block h4 { margin: 0; font-size: 15px; color: var(--muted) }
.mine-block-head { display: flex; justify-content: space-between; align-items: center; gap: 8px }
.dns-head, .dns-row {
  display: grid;
  grid-template-columns: 85px minmax(0, 1.8fr) minmax(0, 1.1fr) 36px;
  gap: 10px;
  align-items: center;
}
.dns-head { color: var(--muted); font-size: 13px; font-weight: 600; padding: 0 4px }
.ns-list { display: grid; gap: 8px }
.mine-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.bad-hint { color: var(--bad, #ef4444) }

/* Canlı destek — ikon ve panel ayrı fixed (ikon asla kaymaz) */
.sj-sup-btn {
  position: fixed; right: 20px; bottom: 20px; z-index: 10001;
  width: 58px; height: 58px; border: 1px solid #2a2a3a; border-radius: 999px;
  padding: 0; overflow: visible; cursor: pointer; background: #111118;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  animation: fabPulse 2.8s ease-in-out infinite;
}
.sj-sup-btn:hover { transform: scale(1.05); animation: none }
.sj-sup-btn img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 999px }
.sj-sup-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #e07a5f; color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px #0f171b;
}
.sj-sup-badge:not([hidden])::before { content: "1" }
.sj-sup-btn.has-unread { animation: fabPulse 1.4s ease-in-out infinite }
.sj-sup-panel {
  position: fixed; right: 20px; bottom: 90px; z-index: 10000;
  width: min(360px, calc(100vw - 32px)); height: min(480px, calc(100vh - 130px));
  background: linear-gradient(180deg, #151520, #0d0d14);
  border: 1px solid #2a2a3a; border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease;
}
.sj-sup-panel.is-in { opacity: 1; transform: translateY(0) scale(1) }
.sj-sup-panel[hidden] { display: none !important }
.sj-sup-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-bottom: 1px solid var(--line); gap: 10px;
}
.sj-sup-head strong { font-family: var(--display); font-size: 15px }
.sj-sup-head-actions { display: flex; align-items: center }
.sj-sup-win {
  display: flex;
  align-items: center;
  gap: 0;
}
.sj-sup-min, .sj-sup-x {
  border: 0; background: transparent; color: var(--muted);
  width: auto; height: auto; padding: 2px 6px;
  border-radius: 0; cursor: pointer; line-height: 1;
  box-shadow: none;
}
.sj-sup-min { font-size: 22px; font-weight: 700; line-height: 1; transform: translateY(-1px) }
.sj-sup-x { font-size: 32px; font-weight: 400; color: var(--text); background: transparent }
.sj-sup-log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px }
.sj-sup-hello { color: var(--muted); text-align: center; margin: auto; font-size: 14px; line-height: 1.5 }
.sj-sup-line { display: flex; flex-direction: column; max-width: 88%; gap: 4px }
.sj-sup-line.me { align-self: flex-end; align-items: flex-end }
.sj-sup-line.them { align-self: flex-start; align-items: flex-start }
.sj-sup-who { font-size: 11px; color: var(--muted); font-weight: 650 }
.sj-sup-bubble {
  padding: 10px 12px; border-radius: 14px; font-size: 14px; line-height: 1.45;
  white-space: pre-wrap; word-break: break-word;
}
.sj-sup-line.me .sj-sup-bubble { background: #1e1a30; color: var(--text); border-bottom-right-radius: 4px }
.sj-sup-line.them .sj-sup-bubble { background: #18182a; color: var(--text); border-bottom-left-radius: 4px }
.sj-sup-img { max-width: 220px; border-radius: 12px; display: block }
.sj-sup-compose { border-top: 1px solid #23232f; background: #0b0b12 }
.sj-sup-form {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
}
.sj-sup-attach {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--aqua, var(--accent));
  background: var(--panel);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  flex: none;
}
.sj-sup-attach svg { display: block; width: 18px; height: 18px }
.sj-sup-text {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  height: 42px;
  background: var(--panel);
  color: var(--text);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.sj-sup-form button[type=submit] {
  border: 0;
  border-radius: 12px;
  height: 42px;
  padding: 0 16px;
  background: var(--accent);
  color: #061316;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.sj-sup-line.cont { margin-top: -4px }
.sj-sup-line.cont .sj-sup-who { display: none }
.sj-sup-preview {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  background: #0a1013;
}
.sj-sup-preview[hidden] { display: none !important }
.sj-sup-preview.is-on { display: flex !important }
.sj-sup-thumb,
.sj-sup-preview img {
  height: 56px;
  width: 56px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #1a2428;
  border: 1px solid var(--line);
  flex: none;
}
.sj-sup-clear {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  padding: 6px 8px;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 0 rgba(168,85,247,.3) }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,.4), 0 0 0 10px rgba(168,85,247,0) }
}
.membership-wallet {
  margin: 16px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.membership-wallet[hidden] {
  display: none !important;
}
.mbr-copy { display: grid; gap: 8px; min-width: 0 }
.mbr-perks {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.mbr-perks li::before {
  content: "·";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 800;
}
.mbr-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.wallet-box {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 460px);
  gap: 26px;
  align-items: start;
}
@media (max-width: 900px) {
  .wallet-box { grid-template-columns: 1fr }
}

.wallet-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.wallet-log-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0f0f16;
  border: 1px solid var(--line);
  margin-bottom: 10px;
  transition: border-color .2s ease;
}
.wallet-log-card:hover {
  border-color: rgba(168, 85, 247, 0.4);
}
.wallet-log-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wallet-log-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex: none;
}
.wallet-log-icon.bal-plus {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.wallet-log-icon.bal-minus {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}
.wallet-log-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wallet-log-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.wallet-log-time {
  font-size: 11.5px;
  color: var(--muted);
}
.wallet-log-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.wallet-log-amt {
  font-size: 14px;
  font-weight: 700;
}
.wallet-log-amt.bal-plus { color: #22c55e }
.wallet-log-amt.bal-minus { color: var(--text) }
.wallet-log-bal {
  font-size: 11.5px;
  color: var(--muted);
}
.wallet-logs-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}

/* Hub dashboard */
.hub-page { max-width: 1200px; margin: 0 auto; padding: 24px 20px }
.hub-container { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start }
@media (max-width: 900px) {
  .hub-container { grid-template-columns: 1fr }
}

.hub-heading {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 600px) {
  .hub-grid { grid-template-columns: 1fr }
}

.hub-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  min-height: 180px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  position: relative;
  overflow: hidden;
}
.hub-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
}
.hub-service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(168, 85, 247, 0.15);
  background: #161622;
}
.hub-service-card:hover::before {
  opacity: 1;
}
.hub-service-card[hidden] {
  display: none !important;
}

.hub-card-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 14px;
}
.hub-card-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  color: var(--text);
}
.hub-card-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 28ch;
}

/* Hub Right Sidebar */
.hub-side-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.hub-side-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.hub-side-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}
.hub-side-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.hub-side-link:hover {
  text-decoration: underline;
}
.hub-side-balance {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 4px;
}
.hub-side-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
.hub-recent-list {
  display: grid;
  gap: 10px;
}
.hub-recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f0f16;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  font-size: 13px;
  transition: background .2s, border-color .2s;
}
.hub-recent-item:hover {
  background: #181824;
  border-color: rgba(168, 85, 247, 0.4);
}
.hub-recent-title {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.hub-recent-time {
  font-size: 11.5px;
  color: var(--muted);
}
.hub-recent-empty {
  color: var(--muted);
  font-size: 13px;
  padding: 12px 0;
}

/* Otoseo */
.seo-top-bar { display: flex; justify-content: flex-end; margin-bottom: 12px }
.seo-console.expanded { transition: min-height .35s ease }
.seo-flow {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; gap: 16px;
  opacity: 0; transform: translateY(-12px);
  transition: opacity .4s ease, transform .4s ease;
}
.seo-flow.is-in { opacity: 1; transform: translateY(0) }
.seo-flow[hidden] { display: none !important }
.seo-summary { display: grid; gap: 6px; font-size: 14px }
.price-break { list-style: none; margin: 8px 0; padding: 12px; border-radius: 12px; background: #0f1412; border: 1px solid var(--line); display: grid; gap: 6px }
.price-break .ok { color: var(--accent) }
.price-total { font-size: 16px; margin-top: 4px }
.seo-domain-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; margin-top: 8px }
.seo-domain-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }
.domain-list-box { margin-top: 12px; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #0f1412 }
.list-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px }
.seo-hist-item { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.seo-hist-item small { display: block; color: var(--muted); margin-top: 4px }
.page-head-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px }
.page-head-row .page-title { margin: 0 }
.recent-domains, .hist-stack-urls { display: grid; gap: 4px }
.recent-domains a, .hist-stack-urls a { display: block; font-weight: 650; text-decoration: none; word-break: break-all }
.hist-stack { display: grid; gap: 8px }
.domain-layout:has(#domain-cart:not([hidden])) { grid-template-columns: 1fr 260px }
.domain-layout { grid-template-columns: 1fr }
.wallet-box { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; width: min(1180px, 100%) }
.wallet-main { display: grid; gap: 16px; align-content: start }
.wallet-pay, .wallet-side, .membership-wallet { min-height: 0 }
.wallet-side { display: flex; flex-direction: column; min-height: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.wallet-side .hist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
}

.wallet-log-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
}
.wallet-log-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}
.wallet-log-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.wallet-log-icon.bal-plus {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}
.wallet-log-icon.bal-minus {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.wallet-log-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.wallet-log-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-log-time {
  font-size: 10px;
  color: var(--muted);
}
.wallet-log-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}
.wallet-log-amt {
  font-size: 12px;
  font-weight: 700;
}
.wallet-log-amt.bal-plus { color: #22c55e; }
.wallet-log-amt.bal-minus { color: #ef4444; }
.wallet-log-bal {
  font-size: 10px;
  color: var(--muted);
}
.wallet-logs-empty {
  padding: 20px 10px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* İndexer / Otoseo / Tasarım — form + yan geçmiş */
.svc-layout, .indexer-layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 460px);
  gap: 26px;
  align-items: start;
}
.svc-history, .indexer-history {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  max-height: 540px;
  overflow: auto;
  position: sticky;
  top: calc(var(--header, 80px) + 12px);
}
.svc-history h2, .indexer-history h2 { font-size: 16px; margin-bottom: 14px }
.svc-main { min-width: 0; display: grid; gap: 16px }
.seo-page .seo-top-bar { display: none }
.recent-row { display: grid; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line) }
.recent-row:last-child { border-bottom: 0 }
.recent-row a { font-weight: 650; text-decoration: none; word-break: break-all }
.recent-row b { font-weight: 700 }
.recent-row small { color: var(--muted); font-size: 12px }

.svc-history .hist-list,
.indexer-history .hist-list,
.recent-list {
  display: grid;
  gap: 0;
}
.svc-history .hist-item.hist-compact,
.indexer-history .hist-item.hist-compact,
.recent-list .hist-item.hist-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.svc-history .hist-item.hist-compact + .hist-item.hist-compact,
.indexer-history .hist-item.hist-compact + .hist-item.hist-compact,
.recent-list .hist-item.hist-compact + .hist-item.hist-compact {
  border-top: 1px solid var(--line);
}
.hist-compact .hist-stack-urls {
  display: grid;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.hist-compact .hist-stack-urls a,
.hist-compact b {
  display: block;
  word-break: break-all;
  font-weight: 650;
  text-decoration: none;
  color: var(--text);
  line-height: 1.3;
}
.hist-compact .hist-stack-urls span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  word-break: break-all;
}
.hist-compact .tiny,
.hist-compact .hist-meta {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.35;
  white-space: nowrap;
  flex: 0 0 auto;
  text-align: right;
}
.sj-sup-img-wrap {
  display: block;
  max-width: 100%;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 6px;
}
.sj-sup-img {
  max-width: 220px;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
  transition: transform .2s ease;
}
.sj-sup-img:hover {
  transform: scale(1.03);
}
button.hist-btn {
  width: 100%;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
button.hist-btn:hover {
  background: rgba(168, 85, 247, .08) !important;
}
.hist-detail { margin-top: 8px }
.seo-detail-grid { display: grid; gap: 6px; margin: 10px 0 14px }
.design-meta { margin-bottom: 10px }
.design-meta p { margin: 0 0 4px }
.design-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center }

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 14px 0 8px;
}
.stat-chip {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0f1619;
}
.stat-chip span { color: var(--muted); font-size: 12px }
.stat-chip b { font-size: 14px; font-weight: 700 }
.stat-chip.link {
  text-decoration: none;
  color: var(--accent);
  align-content: center;
  font-weight: 700;
}
.pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.notif { position: relative }
.notif-btn {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  display: grid; place-items: center; cursor: pointer; position: relative;
}
.notif-dot {
  position: absolute; top: 8px; right: 8px; width: 8px; height: 8px;
  border-radius: 999px; background: #e07a5f; box-shadow: 0 0 0 2px #0b1214;
}
.notif-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 80;
  width: min(340px, calc(100vw - 24px));
  max-height: none; overflow: auto;
  border: 1px solid var(--line); border-radius: 14px;
  background: #12181c; box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.notif-panel header {
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  font-weight: 700; font-size: 13px;
}
.notif-item {
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  display: grid; gap: 6px;
}
.notif-item:last-child { border-bottom: 0 }
.notif-item p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text) }
.notif-item time { color: var(--muted); font-size: 11px }
.notif-list .empty { padding: 16px; color: var(--muted); margin: 0; font-size: 13px }


@keyframes hubReveal {
  from { opacity: 0; transform: translateY(8px) }
  to { opacity: 1; transform: translateY(0) }
}

.svc-card, .index-console, .hub-card, .hist-item {
  animation: hubReveal .12s ease both;
}
.svc-card:nth-child(2), .hub-card:nth-child(2),
.svc-card:nth-child(3), .hub-card:nth-child(3),
.svc-card:nth-child(4), .hub-card:nth-child(4) { animation-delay: 0s }

@media (max-width: 860px) {
  .hub-layout, .indexer-layout, .svc-layout, .wallet-box, .domain-layout, .mine-layout,
  .domain-layout:has(#domain-cart:not([hidden])) { grid-template-columns: 1fr }
  .hub-detail { min-height: 140px; padding: 18px; order: -1 }
  .hub-layout { gap: 14px }
  .hub-nav { gap: 8px }
  .hub-card { padding: 14px 16px }
  .hub-card:hover, .hub-card.is-active { transform: none }
  .svc-history, .indexer-history { position: static; max-height: 280px; order: 2 }
  .svc-main { order: 1 }
  .membership-wallet { grid-template-columns: 1fr; gap: 14px }
  .mbr-action { justify-content: stretch }
  .mbr-action .btn-send { width: 100%; min-width: 0 }
  .wallet-side { min-height: 0 }
  .seo-domain-row { grid-template-columns: 1fr }
  .account-page { width: 100% }
  .account-card { width: 100%; max-width: none }
  .account-hero { flex-wrap: wrap }
  .hist-compact .tiny,
  .hist-compact .hist-meta { white-space: normal; max-width: none; }
  .sj-sup-panel {
    right: 10px; left: 10px; bottom: 80px;
    width: auto; height: min(68vh, 520px);
  }
  .sj-sup-btn { right: 12px; bottom: 12px; width: 52px; height: 52px }
  .sj-sup-form { grid-template-columns: 42px 1fr; gap: 8px }
  .sj-sup-form button[type=submit] { grid-column: 1 / -1; width: 100% }
  .notif-panel { right: -40px }
  .page { padding-bottom: 96px }
  .wrap { width: min(1180px, calc(100% - 20px)) }
}
@media (max-width: 480px) {
  .hub-hello { font-size: 17px }
  .dns-head, .dns-row { grid-template-columns: 1fr 1fr; }
  .dns-head span:nth-child(n+3), .dns-row .dns-ttl, .dns-row .dns-del { display: none }
  .dns-row .dns-value { grid-column: 1 / -1 }
  .mbr-perks { font-size: 12px }
  .credits-chip { font-size: 13px; padding: 6px 10px }
  .nav-hub { padding: 6px 10px; font-size: 13px }
}

