/* TradeBox metal katmanı: logodaki aynalı 3D çelik (sol) + bakır (sağ) renk dili, kullanıcı ve yönetici panelinde ortak. */
:root {
  --m-black: #030507;
  --m-ink: #070b0e;
  --m-card-a: #0f171c;
  --m-card-b: #080c0f;
  --m-steel-hi: #f1f8fb;
  --m-steel: #b4cedb;
  --m-steel-mid: #6f97ab;
  --m-steel-deep: #27495a;
  --m-teal: #35b3cc;
  --m-cu-hi: #ffdcc0;
  --m-cu: #c99a78;
  --m-cu-mid: #b36a38;
  --m-cu-deep: #6a361b;
  --m-text: #dce9ef;
  --m-muted: #a2bac7;
  --m-line: rgb(150 190 210 / 20%);
  --m-chrome: linear-gradient(165deg, #f4fafd 0%, #bcd4e0 17%, #6f97ab 42%, #27495a 50%, #4f7b90 58%, #a9c6d4 82%, #e6f2f8 100%);
  --m-copper: linear-gradient(165deg, #efd7c3 0%, #cfa07d 17%, #a2704d 42%, #5c3925 50%, #8e5d41 58%, #c9a186 82%, #eedac8 100%);
  --m-chrome-text: linear-gradient(180deg, #ffffff 0%, #e6f1f7 44%, #a4c4d4 51%, #dcebf3 60%, #ffffff 100%);
  --m-copper-text: linear-gradient(180deg, #f8eadf 0%, #ebcdb2 44%, #c4936f 51%, #e6c8ad 60%, #f8ede3 100%);
  --m-chrome-btn: linear-gradient(180deg, #a3c2d1 0%, #6f93a7 44%, #2f5163 51%, #4d778c 100%);
  --m-split: linear-gradient(100deg, #cfe3ee 0%, #6f97ab 24%, #2b5568 46%, #5c3925 54%, #a2704d 76%, #deba9f 100%);
  --m-edge: linear-gradient(135deg, #b9d3e0 0%, #3f6a7e 34%, #1a2328 50%, #6e4529 66%, #d9b497 100%);
  --m-shadow: 0 18px 42px rgb(0 0 0 / 55%), 0 2px 6px rgb(0 0 0 / 40%);
  --m-bevel: inset 0 1px 0 rgb(255 255 255 / 14%), inset 0 -1px 0 rgb(0 0 0 / 70%);
}

/* Zemin */
html body:has(.app-shell),
html body:has(.auth-card),
html:has(.auth-card),
html body:has(.admin-shell),
html:has(.admin-shell),
html:has(.app-shell) {
  color: var(--m-text) !important;
  background:
    radial-gradient(900px 620px at 0% 0%, rgb(77 140 168 / 24%), transparent 62%),
    radial-gradient(900px 640px at 100% 100%, rgb(170 112 76 / 21%), transparent 60%),
    linear-gradient(115deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #020406, #0a1116 48%, #0e0a08) fixed !important;
  background-attachment: fixed !important;
}

/* Yan menü */
html body .sidebar,
html body .admin-sidebar {
  border-right: 1px solid transparent !important;
  border-image: linear-gradient(180deg, #b9d3e0, #2a4a59 40%, #6d3b1e 70%, #f1b68a) 1 !important;
  background:
    linear-gradient(180deg, rgb(110 170 195 / 14%), transparent 28%),
    linear-gradient(180deg, #091016, #05080b 60%, #0b0807) !important;
  box-shadow: 10px 0 36px rgb(0 0 0 / 55%), inset -1px 0 0 rgb(255 255 255 / 6%) !important;
}
html body .sidebar .nav-item:not(.admin-only),
html body .admin-sidebar .nav-item,
html body .sidebar .nav-item {
  color: #d6e6ee !important;
  border: 1px solid rgb(170 205 222 / 16%) !important;
  background: linear-gradient(135deg, rgb(120 175 198 / 13%), rgb(8 12 15 / 85%) 55%, rgb(160 108 72 / 11%)) !important;
  box-shadow: var(--m-bevel), 0 4px 10px rgb(0 0 0 / 35%) !important;
  text-shadow: 0 1px 2px rgb(0 0 0 / 70%);
}
html body .sidebar .nav-item:hover,
html body .admin-sidebar .nav-item:hover {
  border-color: rgb(196 224 238 / 42%) !important;
  background: linear-gradient(135deg, rgb(130 190 215 / 22%), rgb(10 15 19 / 85%) 55%, rgb(205 125 70 / 20%)) !important;
}
html body .sidebar .nav-item.active,
html body .admin-sidebar .nav-item.active {
  color: #fff !important;
  border-color: rgb(235 248 253 / 60%) !important;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 26%), transparent 46%, rgb(0 0 0 / 22%)),
    var(--m-split) !important;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 70%), 0 0 18px rgb(110 180 210 / 30%), var(--m-bevel) !important;
  text-shadow: 0 1px 3px rgb(0 0 0 / 75%);
}
html body .nav-icon,
html body .sidebar .nav-icon {
  color: #eaf5fa !important;
  background: linear-gradient(160deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 4%)) !important;
  border: 1px solid rgb(200 225 238 / 24%) !important;
}
html body :is(.nav-section, .sidebar-label, .nav-heading, .section-eyebrow) {
  color: #8fb0c0 !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

/* Üst çubuk */
html body .app-shell .topbar,
html body .admin-topbar,
html body .admin-main > header {
  border-bottom: 1px solid transparent !important;
  border-image: var(--m-edge) 1 !important;
  background: linear-gradient(180deg, rgb(20 30 36 / 94%), rgb(6 9 12 / 94%)) !important;
  box-shadow: 0 10px 30px rgb(0 0 0 / 50%), inset 0 1px 0 rgb(255 255 255 / 8%) !important;
  backdrop-filter: blur(14px) !important;
}
html body :is(.brand-name, .breadcrumbs strong, .icon-button) {
  color: var(--m-steel-hi) !important;
}
html body :is(.breadcrumbs, .breadcrumbs span, .crumb-separator) {
  color: var(--m-muted) !important;
}

/* Kartlar: siyah cam + çelik/bakır aynalı çerçeve */
html body .app-shell :is(.panel, .stat-card, .activity-card, .user-signal-board, .insight-panel, .income-panel, .market-panel, .signals-panel, .timeframe-panel, .live-chart-card, .help-card, .glass-state),
html body .admin-main :is(.glass, .panel, .metric, .card) {
  border: 1px solid transparent !important;
  color: var(--m-text) !important;
  background:
    linear-gradient(90deg, rgb(130 190 215 / 70%), rgb(200 150 118 / 70%)) top / 100% 2px no-repeat padding-box,
    linear-gradient(112deg, rgb(255 255 255 / 9%) 0 34%, rgb(255 255 255 / 0%) 34.3%) padding-box,
    radial-gradient(420px 220px at 100% 0%, rgb(170 112 76 / 12%), transparent 70%) padding-box,
    radial-gradient(420px 220px at 0% 0%, rgb(90 150 180 / 12%), transparent 70%) padding-box,
    linear-gradient(160deg, var(--m-card-a), var(--m-card-b)) padding-box,
    var(--m-edge) border-box !important;
  box-shadow: var(--m-shadow), var(--m-bevel) !important;
}
html body .app-shell :is(.stat-card, .panel):hover {
  box-shadow: 0 22px 48px rgb(0 0 0 / 60%), 0 0 26px rgb(110 170 200 / 14%), var(--m-bevel) !important;
}

/* Metin */
html body .app-shell,
html body .admin-shell {
  color: var(--m-text);
}
html body :is(.app-shell, .admin-shell) :is(h1, h2, h3, h4) {
  color: transparent !important;
  background: var(--m-chrome-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 70%));
}
html body :is(.app-shell, .admin-shell) :is(p, span, small, label, li, td, th, dd, dt, em, div):not([class*="badge"]):not([class*="pill"]):not(.nav-count) {
  color: inherit;
}
html body :is(.app-shell, .admin-shell) :is(.stat-heading, .stat-foot, .page-subtitle, .panel-kicker, .eyebrow, .workspace-label, .muted, small, .market-volume, .live-chart-footer, .income-disclaimer, .insight-disclaimer, .rule-performance-note, .exchange-label, .help-card p) {
  color: var(--m-muted) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}
html body .app-shell :is(.stat-value, .outcomes-value, .market-price, .coin-price, .stat-card > strong, .stat-card > div:not(.stat-heading):not(.stat-foot) strong),
html body .admin-main .metric strong {
  color: transparent !important;
  background: var(--m-chrome-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 70%));
}
html body .admin-main .metric.copper strong,
html body .app-shell .stat-card:nth-child(even) :is(.stat-value, strong) {
  background: var(--m-copper-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
html body :is(.app-shell, .admin-shell) strong {
  color: #eaf4f9;
}
html body :is(.app-shell, .admin-shell) a:not(.nav-item):not(.button):not([class*="button"]) {
  color: var(--m-cu);
}

/* Düğmeler: aynalı bakır birincil, çelik ikincil */
html body :is(.button-primary, .btn-primary, .primary-button),
html body .market-mode-switch button.active,
html body .market-mode-switch button[aria-pressed="true"] {
  color: #1a0d05 !important;
  border: 1px solid rgb(240 220 205 / 55%) !important;
  background: var(--m-copper) !important;
  box-shadow: 0 10px 24px rgb(0 0 0 / 50%), 0 0 18px rgb(180 125 90 / 28%), inset 0 1px 0 rgb(255 255 255 / 55%), inset 0 -2px 3px rgb(50 30 18 / 55%) !important;
  text-shadow: 0 1px 0 rgb(240 222 206 / 55%);
}
html body :is(.button-primary, .btn-primary, .primary-button):hover {
  filter: brightness(1.1) saturate(1.1);
}
html body :is(.button-quiet, .export-button, .chart-open-button, .install-app-button, .telegram-launch, .notification-button, .icon-button, .market-refresh),
html body .market-mode-switch button {
  color: #e6f2f8 !important;
  border: 1px solid rgb(185 215 232 / 34%) !important;
  background: var(--m-chrome-btn) !important;
  box-shadow: 0 6px 16px rgb(0 0 0 / 45%), inset 0 1px 0 rgb(255 255 255 / 40%), inset 0 -1px 2px rgb(0 0 0 / 55%) !important;
  text-shadow: 0 1px 2px rgb(0 0 0 / 80%);
}
html body :is(.button-quiet, .export-button, .chart-open-button, .install-app-button, .telegram-launch, .notification-button, .icon-button, .market-refresh):hover {
  filter: brightness(1.12);
}
html body :is(button, .button):disabled {
  filter: grayscale(.55) brightness(.7);
}

/* Form alanları */
html body :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="file"]),
html body .search-field,
html body .filter-field :is(input, select) {
  color: #eaf4f9 !important;
  border: 1px solid rgb(150 190 210 / 30%) !important;
  background: linear-gradient(180deg, #05090c, #0b1318) !important;
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 70%), 0 1px 0 rgb(255 255 255 / 7%) !important;
}
html body :is(input, select, textarea)::placeholder {
  color: #6f8896 !important;
}
html body :is(input, select, textarea):focus {
  outline: none !important;
  border-color: #6fb7d1 !important;
  box-shadow: inset 0 2px 5px rgb(0 0 0 / 70%), 0 0 0 3px rgb(80 160 190 / 28%) !important;
}
html body select option {
  color: #eaf4f9;
  background: #0a1116;
}

/* Rozetler ve hap şekilleri */
html body :is(.membership-pill, .live-pill, .connection-badge, .telegram-linked, .bot-state, .rule-status) {
  color: #e8f4f9 !important;
  border: 1px solid rgb(185 215 232 / 34%) !important;
  background: linear-gradient(135deg, rgb(120 180 205 / 22%), rgb(8 12 15 / 90%) 55%, rgb(200 125 70 / 20%)) !important;
  box-shadow: var(--m-bevel) !important;
}
html body .nav-count {
  color: #1a0d05 !important;
  background: var(--m-copper) !important;
}

/* Profil, destek, liste satırları */
html body :is(.profile-button, .workspace-switcher, .market-row, .candle-spark-item, .breakdown-list > *, .signal-state-list > *) {
  color: var(--m-text) !important;
  border: 1px solid rgb(150 190 210 / 20%) !important;
  background: linear-gradient(135deg, rgb(120 175 198 / 10%), rgb(8 12 15 / 80%) 55%, rgb(160 108 72 / 9%)) !important;
  box-shadow: var(--m-bevel) !important;
}
html body :is(.profile-avatar, .top-avatar, .workspace-avatar, .coin-icon) {
  color: #1a0d05 !important;
  background: var(--m-copper) !important;
  box-shadow: 0 2px 6px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 55%) !important;
}

/* Tablolar */
html body :is(.table-wrap, .fill-table-wrap) {
  border: 1px solid rgb(150 190 210 / 22%) !important;
  background: rgb(4 7 9 / 70%) !important;
}
html body table {
  color: var(--m-text) !important;
}
html body th {
  color: var(--m-steel) !important;
  background: linear-gradient(180deg, rgb(120 170 195 / 18%), rgb(8 12 15 / 90%)) !important;
  border-bottom: 1px solid rgb(185 215 232 / 26%) !important;
}
html body td {
  color: var(--m-text) !important;
  border-bottom: 1px solid rgb(150 190 210 / 12%) !important;
}
html body tbody tr:hover td {
  background: rgb(120 175 198 / 8%) !important;
}

/* Kaydırma çubuğu */
html body ::-webkit-scrollbar { width: 11px; height: 11px; }
html body ::-webkit-scrollbar-track { background: #05080a; }
html body ::-webkit-scrollbar-thumb { border: 2px solid #05080a; border-radius: 8px; background: linear-gradient(180deg, #8fb4c6, #3b6477 50%, #8c6446); }

/* Giriş ekranı */
html body :is(.auth-screen, .login-screen, .auth-card, .login-card, [aria-label*="giriş"]) {
  color: var(--m-text);
}

/* Marka: ?apa logosu */
html body .sidebar {
  padding-top: 128px !important;
}
html body .sidebar .brand {
  height: 96px !important;
  background: url("/assets/brand/tradebox-tbs-anchor.png?v=5") center top / auto 70px no-repeat !important;
}
html body .sidebar .brand::after,
html body .admin-brand-text {
  content: "TradeBoxStrateji";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: transparent;
  background: linear-gradient(90deg, #e4f1f8 0 50%, #dcb89b 50% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 1px 2px rgb(0 0 0 / 80%));
}
html body .admin-sidebar .brand {
  position: relative;
  flex-direction: column;
  align-items: center;
  height: 98px;
  margin-bottom: 22px;
}
html body .admin-sidebar .brand img {
  width: 64px;
  height: 69px;
}
html body .admin-brand-text {
  position: static;
  margin-top: 4px;
  background-clip: text;
}
html body .auth-logo,
html body .login-logo img {
  filter: drop-shadow(0 8px 18px rgb(0 0 0 / 60%));
}

/* ?kinci tur: kalan a??k/teal ??eler */
html body .app-shell :is(.activity-card, .stat-card, .glass-state) > strong,
html body .app-shell .stat-card strong:first-of-type {
  color: transparent !important;
  background: var(--m-chrome-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 70%));
}
html body .app-shell :is(.activity-card, .stat-card, .glass-state):nth-child(even) > strong {
  background: var(--m-copper-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}
html body .app-shell :is(.nav-label, .workspace-label, .footer, .footer span, .footer-status, p) {
  color: var(--m-muted) !important;
}
html body .app-shell .help-card strong {
  color: var(--m-steel-hi) !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}
html body .app-shell .help-card button,
html body .app-shell .help-link {
  color: #1a0d05 !important;
  border: 1px solid rgb(240 220 205 / 55%) !important;
  background: var(--m-copper) !important;
  box-shadow: 0 8px 18px rgb(0 0 0 / 50%), inset 0 1px 0 rgb(255 255 255 / 55%), inset 0 -2px 3px rgb(50 30 18 / 55%) !important;
}
html body :is(.trend-negative, .market-change.negative) { color: #ff7d89 !important; }
html body :is(.trend-positive, .market-change.positive) { color: #5fe0b0 !important; }
html body :is(.live-timeframes button, .timeframe-buttons button, button.selected, button.text-link) {
  color: #dcecf4 !important;
  border: 1px solid rgb(185 215 232 / 26%) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 12%), rgb(0 0 0 / 30%)), #101a20 !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%) !important;
}
html body :is(.live-timeframes button.selected, button.selected) {
  color: #1a0d05 !important;
  background: var(--m-copper) !important;
}
html body :is(.app-shell, .admin-shell) select option {
  color: #eaf4f9 !important;
  background: #0a1116 !important;
}
html body :is(.app-shell, .admin-shell) a.text-link,
html body .app-shell button.text-link {
  color: var(--m-cu) !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ???nc? tur: piyasa sat?rlar?, grafik d??mesi */
html body .app-shell :is(.market-row, .market-row.selected, .market-row:hover) {
  color: var(--m-text) !important;
  border-color: rgb(150 190 210 / 20%) !important;
}
html body .app-shell .market-row.selected {
  background: linear-gradient(90deg, rgb(185 128 92 / 30%), rgb(8 12 15 / 88%) 40%, rgb(120 175 198 / 14%)) !important;
  box-shadow: inset 4px 0 0 var(--m-cu), 0 0 22px rgb(185 128 92 / 18%), var(--m-bevel) !important;
}
html body .app-shell :is(.market-row small, .market-volume, .coin-name small) { color: var(--m-muted) !important; }
html body .app-shell :is(.market-row strong, .coin-price, .market-row .market-price) {
  color: #f1f8fb !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  filter: none !important;
}
html body .app-shell .chart-open-button {
  color: #fff !important;
  font-weight: 800;
}

/* Bilgi / uyar? kutular? */
html body :is(.app-shell, .admin-shell) :is([class*="notice"], [class*="disclaimer"], [class*="explanation"], [class*="note"], [class*="hint"], .insight-note, .callout) {
  color: var(--m-text) !important;
  border: 1px solid rgb(150 190 210 / 22%) !important;
  background: linear-gradient(135deg, rgb(120 175 198 / 11%), rgb(6 10 13 / 88%) 58%, rgb(160 108 72 / 10%)) !important;
  box-shadow: var(--m-bevel) !important;
}
html body :is(.app-shell, .admin-shell) :is([class*="notice"], [class*="disclaimer"], [class*="explanation"], [class*="note"], [class*="hint"]) * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}
html body :is(.table-pagination, .pagination) button {
  color: #e6f2f8 !important;
  background: var(--m-chrome-btn) !important;
}

/* Diyaloglar */
html body dialog,
html body dialog:is([id], [class]):is([id], [class]),
html body [role="dialog"] {
  color: var(--m-text) !important;
  border: 1px solid transparent !important;
  background:
    linear-gradient(112deg, rgb(255 255 255 / 9%) 0 30%, rgb(255 255 255 / 0%) 30.3%) padding-box,
    linear-gradient(160deg, #101a20, #070b0e) padding-box,
    var(--m-edge) border-box !important;
  box-shadow: 0 30px 80px rgb(0 0 0 / 75%), 0 0 40px rgb(100 160 190 / 14%), var(--m-bevel) !important;
}
html body dialog::backdrop,
html body dialog:is([id], [class])::backdrop {
  background: rgb(0 0 0 / 68%) !important;
  backdrop-filter: blur(5px);
}
html body :is(dialog, [role="dialog"]) :is(p, span, label, small, div) { color: inherit; }
html body :is(dialog, [role="dialog"]) strong { color: #f1f8fb !important; -webkit-text-fill-color: currentColor !important; background: none !important; }
html body :is(dialog, [role="dialog"]) :is(p, small, label) { color: var(--m-muted) !important; }

/* Y?netim paneli bile?enleri */
html body .admin-main :is(.status, .pill, .badge) {
  color: #dcecf4 !important;
  border: 1px solid rgb(185 215 232 / 34%) !important;
  background: linear-gradient(180deg, rgb(255 255 255 / 14%), transparent 55%), #101a20 !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%) !important;
}
html body .admin-main :is(.status.copper, .pill.pending, .pill.expired, .pill.paused) {
  color: #e8cdb5 !important;
  border-color: rgb(205 160 130 / 45%) !important;
  background: linear-gradient(180deg, rgb(210 165 135 / 20%), transparent 55%), #1a120c !important;
}
html body .admin-main :is(.pill.running, .pill.active, .status.support-ready) {
  color: #8cf0c6 !important;
  border-color: rgb(95 224 176 / 45%) !important;
  background: linear-gradient(180deg, rgb(95 224 176 / 18%), transparent 55%), #0c1814 !important;
}
html body .admin-main :is(.pill.offline, .pill.disabled) {
  color: #9fb2bd !important;
}
html body .admin-main .badge {
  color: #1a0d05 !important;
  background: var(--m-copper) !important;
}
html body .admin-main :is(.notification-item, .empty, .membership-cell, .trade-line, .check, .strategy-field, .strategy-group, .check-grid > *) {
  color: var(--m-text) !important;
  border: 1px solid rgb(150 190 210 / 20%) !important;
  background: linear-gradient(135deg, rgb(120 175 198 / 10%), rgb(6 10 13 / 86%) 58%, rgb(160 108 72 / 9%)) !important;
  box-shadow: var(--m-bevel) !important;
}
html body .admin-main :is(.notification-item small, .empty, small) { color: var(--m-muted) !important; }
html body .admin-main :is(.notification-item b, .notification-item a) { color: #f1f8fb !important; }
html body .admin-main .button-danger {
  color: #ffe2e2 !important;
  border: 1px solid rgb(255 140 140 / 45%) !important;
  background: linear-gradient(180deg, #d96a6a 0%, #a23333 46%, #5e1818 52%, #8e2a2a 100%) !important;
  box-shadow: 0 8px 18px rgb(0 0 0 / 50%), inset 0 1px 0 rgb(255 255 255 / 40%) !important;
}

html body .admin-main .spot-rule-grid > div {
  border: 1px solid rgb(150 190 210 / 22%) !important;
  background: linear-gradient(135deg, rgb(120 175 198 / 12%), rgb(6 10 13 / 88%) 58%, rgb(160 108 72 / 11%)) !important;
  box-shadow: var(--m-bevel) !important;
}
html body .admin-main .spot-rule-grid span { color: var(--m-steel) !important; }
html body .admin-main .spot-rule-grid strong {
  color: transparent !important;
  background: var(--m-copper-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html body .admin-main .spot-rule-grid small { color: var(--m-muted) !important; }

/* Giri? kartlar? */
html body :is(.login-card, .auth-card, .admin-login .glass) {
  border: 1px solid transparent !important;
  color: var(--m-text) !important;
  background:
    linear-gradient(90deg, rgb(130 190 215 / 70%), rgb(200 150 118 / 70%)) top / 100% 2px no-repeat padding-box,
    linear-gradient(112deg, rgb(255 255 255 / 9%) 0 34%, rgb(255 255 255 / 0%) 34.3%) padding-box,
    radial-gradient(420px 220px at 100% 0%, rgb(170 112 76 / 12%), transparent 70%) padding-box,
    radial-gradient(420px 220px at 0% 0%, rgb(90 150 180 / 12%), transparent 70%) padding-box,
    linear-gradient(160deg, var(--m-card-a), var(--m-card-b)) padding-box,
    var(--m-edge) border-box !important;
  box-shadow: 0 30px 80px rgb(0 0 0 / 70%), 0 0 40px rgb(100 160 190 / 12%), var(--m-bevel) !important;
}
html body :is(.login-card, .auth-card) :is(label, p, small, span) { color: var(--m-muted) !important; -webkit-text-fill-color: currentColor !important; }
html body :is(.login-card, .auth-card) :is(h1, h2) {
  color: transparent !important;
  background: var(--m-chrome-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html body :is(.login-card, .auth-card) .eyebrow {
  color: var(--m-cu) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
html body :is(.admin-login, .auth-screen, .auth-shell, .auth-page) {
  color: var(--m-text);
}

html body .auth-screen {
  background:
    radial-gradient(900px 620px at 0% 0%, rgb(77 140 168 / 24%), transparent 62%),
    radial-gradient(900px 640px at 100% 100%, rgb(170 112 76 / 21%), transparent 60%),
    linear-gradient(135deg, #020406, #0a1116 48%, #0e0a08) !important;
}

/* Mobil gezinme */
html body .mobile-navigation {
  border-top: 1px solid transparent !important;
  border-image: var(--m-edge) 1 !important;
  background: linear-gradient(180deg, rgb(20 30 36 / 96%), rgb(4 7 9 / 98%)) !important;
  box-shadow: 0 -10px 30px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 8%) !important;
}
html body .mobile-navigation > * {
  color: #c4d9e4 !important;
  border: 1px solid transparent !important;
  background: none !important;
  box-shadow: none !important;
  text-shadow: none;
  filter: none !important;
}
html body .mobile-navigation > .active {
  color: #1a0d05 !important;
  border-color: rgb(240 220 205 / 50%) !important;
  background: var(--m-copper) !important;
  box-shadow: 0 6px 14px rgb(0 0 0 / 50%), inset 0 1px 0 rgb(255 255 255 / 50%) !important;
}
html body .mobile-navigation svg { color: inherit !important; stroke: currentColor; }
html body .mobile-install-app {
  color: #1a0d05 !important;
  border: 1px solid rgb(240 220 205 / 55%) !important;
  background: var(--m-copper) !important;
  box-shadow: 0 10px 24px rgb(0 0 0 / 55%), inset 0 1px 0 rgb(255 255 255 / 55%), inset 0 -2px 3px rgb(50 30 18 / 50%) !important;
  text-shadow: 0 1px 0 rgb(240 222 206 / 55%);
}

/* Canl? destek sohbeti */
html body .support-messages {
  border: 1px solid rgb(150 190 210 / 22%) !important;
  background: linear-gradient(180deg, #05090c, #0a1116) !important;
  box-shadow: inset 0 3px 8px rgb(0 0 0 / 70%) !important;
}
html body .support-bubble.is-support {
  color: #eaf4f9 !important;
  border: 1px solid rgb(185 215 232 / 26%) !important;
  background: var(--m-chrome-btn) !important;
  text-shadow: 0 1px 2px rgb(0 0 0 / 70%);
}
html body .support-bubble.is-mine {
  color: #1a0d05 !important;
  border: 1px solid rgb(240 220 205 / 45%) !important;
  background: var(--m-copper) !important;
  text-shadow: 0 1px 0 rgb(240 222 206 / 50%);
}
html body .support-bubble small { color: inherit !important; opacity: .75; }
html body .support-upload {
  color: #e6f2f8 !important;
  border: 1px solid rgb(185 215 232 / 34%) !important;
  background: var(--m-chrome-btn) !important;
}
html body .support-file-preview {
  color: var(--m-muted) !important;
  background: rgb(120 175 198 / 12%) !important;
}

/* ?? i?e kartlar */
html body .app-shell :is(.income-metrics > article, .income-metrics > div, .insights-grid > article, .timeframe-breakdown > *, .rule-performance, .rule-performance-summary > *) {
  color: var(--m-text) !important;
  border: 1px solid rgb(150 190 210 / 24%) !important;
  background:
    linear-gradient(112deg, rgb(255 255 255 / 7%) 0 34%, rgb(255 255 255 / 0%) 34.3%),
    linear-gradient(135deg, rgb(120 175 198 / 12%), rgb(6 10 13 / 90%) 58%, rgb(160 108 72 / 11%)) !important;
  box-shadow: var(--m-bevel), 0 8px 20px rgb(0 0 0 / 40%) !important;
}
html body .app-shell .income-metrics > article > strong,
html body .app-shell .income-metrics > article > div:not(:first-child):not(:last-child) {
  color: transparent !important;
  background: var(--m-chrome-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
html body .app-shell .income-metrics > article > :is(div, span) { color: var(--m-muted); }

html body :is(.app-shell, .admin-shell) :is(.panel-kicker, .section-eyebrow, .eyebrow, .panel-header > div > span:first-child) {
  color: var(--m-cu) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html body .admin-shell .admin-sidebar .brand .admin-brand-text {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  text-decoration: none !important;
  background: linear-gradient(90deg, #e4f1f8 0 50%, #dcb89b 50% 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Mobil ?st ?ubuk: tek s?ra kontrol, alt?nda ?yelik bilgisi */
@media (max-width: 640px) {
  html body .app-shell .topbar { gap: 6px !important; padding: 8px 12px !important; align-items: center; justify-content: space-between; }
  html body .app-shell .topbar .breadcrumbs { display: none !important; }
  html body .app-shell .topbar .membership-pill { order: 10; flex: 1 1 100%; justify-content: center; margin: 2px 0 0; font-size: 11px; }
  html body .app-shell .topbar .market-mode-switch { order: 1; }
  html body .app-shell .topbar .live-pill { order: 2; margin-left: auto; padding: 6px 9px; font-size: 10px; }
  html body .app-shell .topbar .notification-button { order: 3; }
  html body .app-shell .topbar .top-avatar { order: 4; }
}
