:root {
  --bg-main: #0c101d;
  --bg-panel: #13182b;
  --bg-card: #181f38;
  --bg-row-hover: #1e2746;
  --cyan: #38bdf8;
  --red: #f43f5e;
  --red-bg: rgba(244, 63, 94, 0.15);
  --green: #10b981;
  --green-bg: rgba(16, 185, 129, 0.15);
  --yellow: #fbbf24;
  --yellow-bg: rgba(251, 191, 36, 0.15);
  --text-main: #e2e8f0;
  --text-muted: #64748b;
  --border: #232d4b;
  --border-section: #3b4870;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  padding: 10px;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-section);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  user-select: none;
}
.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  box-shadow: 0 0 12px var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.brand-icon svg {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.brand-text {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.brand-sub {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.15;
  color: #5a4e50;
  user-select: none;
}

.session-timers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  margin: 0 auto;
  flex-wrap: wrap;
}
.session-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #11172c;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.session-badge.open {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}
.session-badge.closed {
  border-color: rgba(35, 45, 75, 0.8);
}
.session-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.session-badge.open .session-dot {
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
}
.session-badge.closed .session-dot {
  background: #fbbf24;
}
.session-name {
  color: #94a3b8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.session-badge.open .session-name {
  color: var(--green);
}
.session-time {
  color: var(--text-main);
  min-width: 62px;
  text-align: right;
}
.session-badge.open .session-time {
  color: var(--green);
  min-width: unset;
  text-align: left;
}

@media (max-width: 1240px) {
  .header {
    flex-wrap: wrap;
  }
  .session-timers {
    order: 3;
    width: 100%;
    margin: 4px 0 0 0;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .session-timers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    width: 100%;
  }
  .session-badge {
    justify-content: center;
    padding: 5px 8px;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sound-btn, .info-btn, .settings-btn {
  background: #182038;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.sound-btn:hover, .info-btn:hover, .settings-btn:hover {
  background: #202947;
  color: var(--text-main);
  border-color: var(--cyan);
}
.sound-btn.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

.alert-panels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
@media (max-width: 960px) {
  .alert-panels-grid {
    grid-template-columns: 1fr;
  }
}

.alert-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}
.alert-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.alert-panel-title {
  font-size: 14px;
  font-weight: 600;
  color: #fbbf24;
}
.alert-expand-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1;
}
.alert-expand-btn:hover {
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
}
.alert-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 180px;
  overflow-y: auto;
  transition: max-height 0.35s ease;
}
.alert-list.expanded {
  max-height: 440px;
}
.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  border-left: 3px solid var(--red);
  cursor: pointer;
  transition: background 0.2s;
}
.alert-item:hover {
  background: var(--bg-row-hover);
}
.alert-item.long { border-left-color: var(--green); }
.alert-item.liq-high { border-left-color: #fbbf24 !important; }
.alert-item.session-event { border-left-color: var(--red); color: #fb7185; }
.alert-item.session-event .alert-time, .alert-item.session-event .alert-sym, .alert-item.session-event .alert-badge { color: #fb7185; }
.alert-time { color: #94a3b8; font-size: 12px; min-width: 80px; font-weight: 600; }
.alert-sym { font-weight: 700; color: var(--cyan); }
.alert-badge {
  background: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.table-container {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

tr.header-group th {
  padding: 8px 6px;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 800;
  background: #0e1324;
  border-bottom: 1px solid var(--border);
}

.group-market { color: #f8fafc; }
.group-score { color: #f59e0b; background: rgba(245, 158, 11, 0.08) !important; }
.group-trend { color: #38bdf8; background: rgba(56, 189, 248, 0.05) !important; }
.group-rsi { color: #60a5fa; background: rgba(96, 165, 250, 0.04) !important; }
.group-div { color: #ec4899; background: rgba(236, 72, 153, 0.05) !important; }
.group-fvg { color: #a855f7; background: rgba(168, 85, 247, 0.05) !important; }
.group-vol { color: #fbbf24; background: rgba(251, 191, 36, 0.05) !important; }
.group-sqz { color: #e11d48; background: rgba(225, 29, 72, 0.07) !important; }
.group-ema { color: #eab308; background: rgba(234, 179, 8, 0.07) !important; }
.group-oi { color: #14b8a6; background: rgba(20, 184, 166, 0.06) !important; }
.group-rekt { color: #f43f5e; background: rgba(244, 63, 94, 0.07) !important; }
.group-range { color: #818cf8; background: rgba(129, 140, 248, 0.05) !important; }
.group-fund { color: #34d399; background: rgba(52, 211, 153, 0.05) !important; }
.group-book { color: #a78bfa; background: rgba(167, 139, 250, 0.06) !important; }

tr.header-sub th {
  padding: 7px 6px;
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  background: #11172c;
  border-bottom: 2px solid var(--border-section);
}

td {
  padding: 9px 6px;
  font-size: 12px;
  border-bottom: 1px solid rgba(35, 45, 75, 0.4);
  white-space: nowrap;
  cursor: pointer;
}
tr:hover td {
  background: var(--bg-row-hover);
}

.row-highlight td {
  background: rgba(56, 189, 248, 0.2) !important;
  font-size: 13.2px !important;
  font-weight: 800 !important;
  transition: all 0.3s ease;
}
.row-highlight .symbol-name {
  font-size: 14px !important;
  text-shadow: 0 0 10px var(--cyan);
}
.row-highlight {
  transform: scale(1.01);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 10;
  position: relative;
}

.row-pinned td {
  background: rgba(251, 191, 36, 0.04) !important;
}
.row-pinned .symbol-cell {
  border-left: 3px solid #fbbf24 !important;
}

.sec-div {
  border-right: 2px solid var(--border-section) !important;
}

.search-container {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
  position: relative;
}
.search-input {
  background: #161e36;
  border: 1px solid var(--border);
  color: var(--cyan);
  font-size: 11px;
  padding: 3px 22px 3px 8px;
  border-radius: 4px;
  width: 110px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}
.search-clear {
  display: none;
  position: absolute;
  right: 6px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 11px;
  padding: 2px 4px;
  user-select: none;
}
.search-clear:hover {
  color: var(--cyan);
}

.symbol-cell {
  font-weight: 700;
  color: var(--cyan);
  text-align: left;
  padding-left: 8px;
  white-space: nowrap;
}
.symbol-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.symbol-name {
  color: var(--cyan);
  transition: all 0.15s ease;
}
.symbol-name:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--cyan);
  text-decoration: underline;
}
.pin-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  padding: 2px 3px;
  border-radius: 4px;
  opacity: 0.25;
  transition: opacity 0.15s ease, transform 0.15s ease;
  user-select: none;
}
tr:hover .pin-btn {
  opacity: 0.65;
}
.pin-btn:hover {
  opacity: 1;
  transform: scale(1.2);
}
.pin-btn.active {
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.9));
}

.price-cell { font-weight: 600; text-align: right; padding-right: 10px; }

.val-overbought { color: var(--red); background: var(--red-bg); padding: 2px 5px; border-radius: 4px; font-weight: 600; }
.val-oversold { color: var(--green); background: var(--green-bg); padding: 2px 5px; border-radius: 4px; font-weight: 600; }
.val-neutral { color: var(--cyan); font-weight: 600; }

.tag {
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}
.tag-bull { background: var(--green-bg); color: var(--green); }
.tag-bear { background: var(--red-bg); color: var(--red); }
.tag-spike { background: var(--yellow-bg); color: var(--yellow); animation: pulse 1s infinite alternate; }
.tag-squeeze { background: rgba(225, 29, 72, 0.2); color: #f43f5e; font-weight: 800; }
.tag-score-buy { background: rgba(16, 185, 129, 0.2); color: #10b981; font-weight: 800; border: 1px solid rgba(16, 185, 129, 0.4); }
.tag-score-sell { background: rgba(244, 63, 94, 0.2); color: #f43f5e; font-weight: 800; border: 1px solid rgba(244, 63, 94, 0.4); }

@keyframes pulse { from { opacity: 0.6; } to { opacity: 1; } }

#chart-popup {
  display: none;
  position: absolute;
  width: 440px;
  background: #0f1424;
  border: 1px solid var(--cyan);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95);
  border-radius: 10px;
  z-index: 1000;
  padding: 12px;
  pointer-events: none;
}
#chart-popup, #chart-popup * {
  pointer-events: none !important;
}
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.popup-title {
  font-size: 13px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.popup-tf-label {
  font-size: 11px;
  font-weight: 700;
  color: #0c101d;
  background: var(--cyan);
  padding: 2px 8px;
  border-radius: 4px;
}

#ticker-view { display: none; padding: 20px 10px; text-align: center; }
.tv-callout { font-size: 15px; font-weight: 700; color: var(--cyan); margin-bottom: 6px; }
.tv-subtext { font-size: 12px; color: var(--text-muted); }

#funding-view { display: none; padding: 6px 4px 2px 4px; }
.detail-view { display: none; padding: 4px 2px 2px; }
.detail-empty { color: var(--text-muted); padding: 26px 8px; text-align: center; font-size: 13px; }
.detail-title { color: #94a3b8; font-size: 10px; font-weight: 800; letter-spacing: .6px; margin: 5px 2px 8px; }
.score-chart { width: 100%; height: 180px; display: block; background: rgba(13, 18, 34, .55); border-radius: 6px; }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.detail-card { background: rgba(35,45,75,.35); border: 1px solid rgba(59,72,112,.5); border-radius: 6px; padding: 7px; text-align: center; }
.detail-card-label { color: var(--text-muted); font-size: 10px; font-weight: 700; }
.detail-card-value { font-size: 12px; font-weight: 800; margin-top: 4px; }
.book-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.book-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.book-side-title { font-size: 10px; font-weight: 800; margin-bottom: 3px; }
.book-row { display: grid; grid-template-columns: 1.1fr .8fr 1fr; gap: 3px; font-family: monospace; font-size: 10px; line-height: 17px; border-bottom: 1px solid rgba(35,45,75,.35); }
.fund-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 13px; border-bottom: 1px solid rgba(35, 45, 75, 0.5); }
.fund-row:last-child { border-bottom: none; }
.fund-label { color: #94a3b8; }
.fund-val { font-weight: 700; color: var(--text-main); }
.fund-divider { height: 1px; background: var(--border-section); margin: 6px 0; }

#chart-view {
  position: relative;
}
.popup-wait-loader { inset: 0; border-radius: 10px; }
#modal-candle-container {
  position: relative;
}
.chart-loader {
  display: none;
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 18, 34, 0.88);
  backdrop-filter: blur(3px);
  z-index: 50;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-radius: 8px;
}
.chart-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.chart-loader-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.5px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

#big-modal-backdrop, #info-modal-backdrop, #settings-modal-backdrop, #restart-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
  z-index: 2000;
  align-items: center; justify-content: center;
}
#big-modal-window {
  width: 92vw; height: 88vh;
  background: #0d1222;
  border: 1px solid var(--border-section);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95);
  border-radius: 12px;
  display: flex; flex-direction: column;
  padding: 16px;
  position: relative;
}

#info-modal-window {
  width: 80vw;
  height: 80vh;
  background: #0d1222;
  border: 1px solid var(--cyan);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  position: relative;
}
.info-modal-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.info-card {
  background: #13182b;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}
.info-card h3 {
  color: var(--cyan);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card p {
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.6;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.info-item {
  background: #181f38;
  border: 1px solid rgba(35, 45, 75, 0.6);
  border-radius: 6px;
  padding: 10px 12px;
}
.info-item-head {
  font-weight: 800;
  font-size: 13px;
  color: #fbbf24;
  margin-bottom: 4px;
}
.info-item-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

#settings-modal-window {
  width: 480px;
  max-width: 92vw;
  background: #0d1222;
  border: 1px solid var(--cyan);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  position: relative;
}
.settings-content {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #13182b;
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.settings-row:hover {
  background: #18203a;
  border-color: rgba(56, 189, 248, 0.4);
}
.settings-row-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.settings-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
  cursor: pointer;
}

#restart-modal-backdrop {
  z-index: 3000;
  backdrop-filter: blur(8px);
}
#restart-modal-window {
  width: 420px;
  max-width: 90vw;
  background: #0d1222;
  border: 1px solid var(--cyan);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  position: relative;
  text-align: center;
}
.restart-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}
.restart-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.restart-icon {
  font-size: 38px;
  line-height: 1;
  margin-bottom: 4px;
  animation: pulse 1.5s infinite alternate;
}
.restart-title {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 0.5px;
}
.restart-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}
.restart-timer-box {
  margin-top: 12px;
  background: #11172c;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 18px;
}
#restartTimerVal {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: 1.5px;
}

.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.modal-title-box { display: flex; align-items: center; gap: 12px; }
.modal-symbol { font-size: 20px; font-weight: 800; color: var(--cyan); }
.modal-tf-badge { font-size: 12px; font-weight: 700; color: #0c101d; background: var(--cyan); padding: 3px 10px; border-radius: 4px; }
.modal-controls { display: flex; align-items: center; gap: 8px; }
.modal-tf-btn {
  background: #182038; border: 1px solid var(--border); color: var(--text-muted);
  padding: 4px 10px; font-size: 12px; font-weight: 600; border-radius: 4px; cursor: pointer;
}
.modal-tf-btn.active { background: var(--cyan); color: #0c101d; font-weight: 700; border-color: var(--cyan); }
.modal-close-btn {
  background: rgba(244, 63, 94, 0.15); border: 1px solid rgba(244, 63, 94, 0.4);
  color: var(--red); font-size: 16px; font-weight: 800; width: 28px; height: 28px;
  border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-left: 8px;
}
.modal-close-btn:hover { background: var(--red); color: #fff; }

table.hide-col-vol24 [data-col="vol24"],
table.hide-col-score [data-col="score"],
table.hide-col-trend [data-col="trend"],
table.hide-col-rsi [data-col="rsi"],
table.hide-col-div [data-col="div"],
table.hide-col-fvg [data-col="fvg"],
table.hide-col-vol [data-col="vol"],
table.hide-col-squeeze [data-col="squeeze"],
table.hide-col-ema200 [data-col="ema200"],
table.hide-col-oi [data-col="oi"],
table.hide-col-liq [data-col="liq"],
table.hide-col-range [data-col="range"],
table.hide-col-funding [data-col="funding"],
table.hide-col-book [data-col="book"] {
  display: none !important;
}

@media (max-width: 870px) {
  .table-container { display: none; }
  .mobile-market-list { display: flex; flex-direction: column; gap: 10px; }
}
.mobile-market-list { display: none; }
.mobile-market-toolbar { display: flex; align-items: center; gap: 8px; margin: 2px 0 2px; }
.mobile-market-title { font-weight: 800; font-size: 14px; color: #f8fafc; white-space: nowrap; }
.mobile-search { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #11172c; color: var(--text-main); padding: 9px 10px; font-size: 14px; outline: none; }
.mobile-search:focus { border-color: var(--cyan); }
.mobile-coin-card { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mobile-coin-card:active { background: var(--bg-row-hover); transform: scale(.995); }
.mobile-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mobile-card-symbol { color: var(--cyan); font-size: 16px; font-weight: 800; }
.mobile-pin-btn { margin-left: 5px; padding: 2px 3px; background: transparent; border: 0; cursor: pointer; filter: grayscale(1); opacity: .45; font-size: 14px; }
.mobile-pin-btn.active { filter: none; opacity: 1; }
.mobile-card-pinned { border-color: rgba(56, 189, 248, .65); }
.mobile-card-price { color: #fff; font-size: 15px; font-weight: 800; text-align: right; }
.mobile-card-vol { color: var(--text-muted); font-size: 10px; margin-top: 2px; text-align: right; }
.mobile-card-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 11px; }
.mobile-card-metric { min-width: 0; padding: 6px 4px; text-align: center; border-radius: 6px; background: rgba(35, 45, 75, .35); }
.mobile-card-label { display: block; color: var(--text-muted); font-size: 9px; font-weight: 800; letter-spacing: .3px; margin-bottom: 4px; }
.mobile-card-metric .tag { font-size: 9px; }
.mobile-card-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.mobile-card-footer .mobile-card-metric { display: flex; justify-content: space-between; align-items: center; padding: 7px 8px; }
.mobile-card-footer .mobile-card-label { margin: 0; }
@media (max-width: 870px) { .mobile-market-list { display: flex; } }
.alert-title-group { display: flex; align-items: center; gap: 1px; position: relative; }
.event-log-settings-btn { background: transparent; border: 0; color: #64748b; cursor: pointer; font-size: 16px; line-height: 1; padding: 1px 4px; }
.event-log-settings-btn:hover, .event-log-settings-btn.active { color: var(--cyan); }
.event-log-settings { display: none; position: absolute; top: 23px; left: 0; width: 190px; padding: 9px; background: #11182a; border: 1px solid var(--border-section); border-radius: 7px; box-shadow: 0 12px 30px rgba(0,0,0,.6); z-index: 20; }
.event-log-settings.open { display: block; }
.event-log-settings-title { color: var(--text-muted); font-size: 10px; font-weight: 800; letter-spacing: .5px; margin-bottom: 6px; }
.event-log-settings label { display: flex; align-items: center; gap: 7px; color: var(--text-main); cursor: pointer; font-size: 12px; line-height: 24px; }
.event-log-settings input { accent-color: var(--cyan); }
