/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --bg: #050713;
  --panel: #111721;
  --panel2: #151d2a;
  --text: #edf2f7;
  --muted: #8aa0b8;
  --border: #273246;
  --gold: #e4b94a;
  --green: #9be564;
  --red: #ff5b68;
  --blue: #2da8ff;
  --pink: #ff5aa5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at top, #13244a 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
.header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(6, 9, 26, 0.78);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo { font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.badge { border: 1px solid #886f26; padding: 8px 12px; border-radius: 999px; color: var(--gold); background: #24252c; }
.main { padding: 28px 32px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(720px, 1fr)); grid-gap: 22px; gap: 22px; }
.card {
  background: linear-gradient(180deg, rgba(17,23,33,0.92) 0%, rgba(10,13,25,0.96) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.32);
}
.setup-card.bullish { box-shadow: 0 0 0 1px rgba(155,229,100,0.14), 0 24px 80px rgba(0,0,0,0.32); }
.setup-card.bearish { box-shadow: 0 0 0 1px rgba(45,168,255,0.18), 0 24px 80px rgba(0,0,0,0.32); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.7; }
.score-pill { border: 1px solid #886f26; color: var(--gold); border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 900; background: #191a22; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 8px 14px; gap: 8px 14px; margin-top: 12px; }
.row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.value { font-weight: 800; color: var(--text); }
.value.good { color: var(--green); }
.value.danger { color: var(--red); }
.button {
  background: var(--gold);
  color: #0a0d12;
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}
.controls { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
input, select {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
}
.empty { color: var(--muted); padding: 40px; border: 1px dashed var(--border); border-radius: 18px; text-align: center; }
img.chart { width: 100%; border-radius: 16px; border: 1px solid #1c4771; display: block; background: #050713; }
.phase-badge { margin-top: 14px; text-align: center; font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); }
.coin-search { position: relative; display: flex; gap: 8px; }
.suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  list-style: none;
  padding: 6px 0;
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
}
.suggestions li {
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}
.suggestions li:hover { background: var(--panel2); }
.analyze-banner {
  padding: 10px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(228,185,74,0.06);
  font-size: 14px;
}
.pattern-filter { position: relative; }
.filter-toggle {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  min-width: 140px;
  text-align: left;
}
.filter-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  z-index: 20;
  min-width: 180px;
  max-height: 360px;
  overflow-y: auto;
}
.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
}
.filter-item:hover { background: var(--panel2); }
.filter-item.all { font-weight: 700; color: var(--gold); }
.filter-item input[type="checkbox"] { accent-color: var(--gold); }
.filter-divider { height: 1px; background: var(--border); margin: 4px 8px; }
@media (max-width: 780px) {
  .grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .lightbox-inner { max-height: 95vh; }
}

img.chart.clickable { cursor: pointer; transition: filter 0.15s; max-height: 450px; object-fit: contain; }
img.chart.clickable:hover { filter: brightness(1.12); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.88);
  display: grid;
  place-items: center;
  padding: 24px;
}
.lightbox-inner {
  max-width: min(1400px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--gold);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 80px rgba(228,185,74,0.15);
}
.close-btn {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  float: right;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 5;
}
.close-btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-chart { width: 100%; border-radius: 14px; border: 1px solid #1c4771; display: block; }
.lightbox-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}
.lightbox-meta { display: grid; grid-gap: 4px; gap: 4px; flex: 1 1; min-width: 220px; }
.lightbox-meta strong { font-size: 15px; }
.lightbox-meta span { color: var(--muted); font-size: 12px; }
.lightbox-levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}
.lightbox-levels b { color: var(--text); }
.lightbox-levels b.danger { color: var(--red); }
.lightbox-levels b.good { color: var(--green); }
.tg-send-btn {
  background: var(--gold);
  color: #0a0d12;
  border: 0;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}
.tg-msg { color: var(--gold); font-size: 13px; font-weight: 700; }

