/* Tio Gu Trades skin: presentation only. The pattern data and embedded images
   remain in harmonic_patterns_com_imagens_sheet.html unchanged. */
:root {
  --hp-ink: #050706;
  --hp-ink-2: #0a0d0b;
  --hp-ink-3: #101611;
  --hp-text: #f2f5f1;
  --hp-text-2: #aab4ac;
  --hp-text-3: #6f7d72;
  --hp-line: rgba(255, 255, 255, .1);
  --hp-green: #66ff35;
  --hp-green-2: #a5ff5e;
  --hp-cyan: #35ffb1;
  --hp-gold: #d4b872;
  --hp-red: #e25a66;
}

html {
  background: var(--hp-ink);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(102, 255, 53, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 255, 53, .035) 1px, transparent 1px),
    radial-gradient(ellipse 80% 55% at 15% 0%, rgba(102, 255, 53, .1), transparent 62%),
    var(--hp-ink);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: var(--hp-text);
  font-family: "Space Grotesk", "Segoe UI", Arial, sans-serif;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(115deg, transparent 0 3px, rgba(255, 255, 255, .008) 3px 4px);
  mix-blend-mode: screen;
}

.app {
  position: relative;
  max-width: 1540px;
  padding: clamp(24px, 4vw, 62px) clamp(16px, 4vw, 64px) 72px;
}

.app::before {
  position: absolute;
  top: 0;
  right: clamp(16px, 4vw, 64px);
  left: clamp(16px, 4vw, 64px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--hp-green), rgba(102, 255, 53, .08) 46%, transparent);
  box-shadow: 0 0 18px rgba(102, 255, 53, .35);
}

.hp-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 76px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hp-line);
}

.hp-brand {
  display: block;
  width: clamp(170px, 17vw, 236px);
  transition: filter .3s ease;
}

.hp-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-brand:hover {
  filter: drop-shadow(0 0 18px rgba(102, 255, 53, .28));
}

.hp-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hp-nav a,
.hp-lang a {
  color: var(--hp-text-3);
  text-decoration: none;
  transition: color .25s ease, text-shadow .25s ease;
}

.hp-nav a:hover,
.hp-nav a:focus-visible,
.hp-nav a.is-active,
.hp-lang a:hover,
.hp-lang a:focus-visible,
.hp-lang a.lang-active {
  color: var(--hp-green);
  text-shadow: 0 0 14px rgba(102, 255, 53, .34);
}

.hp-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.hp-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .14em;
}

.hp-lang span {
  color: var(--hp-text-3);
}

.hp-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hp-text-3);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hp-online > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-green);
  box-shadow: 0 0 10px rgba(102, 255, 53, .75);
}

.hdr {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hp-line);
}

.hdr h1 {
  max-width: 740px;
  color: var(--hp-text);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: clamp(32px, 4.8vw, 76px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: .9;
  text-transform: uppercase;
}

.hdr p {
  max-width: 420px;
  margin-top: 10px;
  color: var(--hp-text-2);
  font-size: 13px;
  line-height: 1.55;
}

.panel {
  position: relative;
  margin-bottom: 18px;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--hp-line);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(16, 22, 17, .96), rgba(5, 7, 6, .93));
  box-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}

.panel::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 52px;
  height: 1px;
  content: "";
  background: var(--hp-green);
  box-shadow: 0 0 12px rgba(102, 255, 53, .6);
}

.title,
.count,
.fgrp label,
.ml,
.csub,
.targets,
.sep {
  color: var(--hp-text-3);
}

.title {
  margin-bottom: 16px;
  color: var(--hp-green);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .2em;
}

.grid {
  gap: 18px;
}

.fgrp label {
  margin-bottom: 7px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

input[type=number],
select {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  outline: 0;
  background: var(--hp-ink-2);
  color: var(--hp-text);
  transition: border-color .25s ease, box-shadow .25s ease;
}

input[type=number]:focus,
select:focus {
  border-color: var(--hp-green);
  box-shadow: 0 0 0 3px rgba(102, 255, 53, .12);
}

input::placeholder {
  color: #526056;
}

.btn {
  min-height: 40px;
  border: 1px solid var(--hp-green);
  border-radius: 0;
  background: var(--hp-green);
  color: #041003;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--hp-green-2);
  color: #041003;
  transform: translateY(-2px);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--hp-green-2);
  outline-offset: 3px;
}

.count {
  margin: 30px 0 12px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.count span {
  color: var(--hp-text);
}

.cards {
  gap: 18px;
}

.card {
  border: 1px solid var(--hp-line);
  border-radius: 0;
  background: rgba(10, 13, 11, .94);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.card:hover {
  border-color: rgba(102, 255, 53, .55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 0 22px rgba(102, 255, 53, .08);
  transform: translateY(-4px);
}

.ch {
  min-height: 76px;
  padding: 15px 16px 13px;
  border-bottom-color: var(--hp-line);
}

.cname {
  color: var(--hp-text);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-size: 21px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.csub {
  margin-top: 5px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .1em;
}

.badges {
  align-items: flex-end;
}

.badge {
  border-radius: 0;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.badge.cat {
  background: rgba(212, 184, 114, .14);
  color: var(--hp-gold);
}

.badge.dir.bull {
  background: rgba(53, 255, 177, .12);
  color: var(--hp-cyan);
}

.badge.dir.bear {
  background: rgba(226, 90, 102, .14);
  color: #ff8790;
}

.cb {
  padding: 16px;
}

.imgwrap {
  height: 232px;
  margin-bottom: 14px;
  border: 1px solid rgba(102, 255, 53, .16);
  border-radius: 0;
  background:
    linear-gradient(rgba(102, 255, 53, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 255, 53, .04) 1px, transparent 1px),
    #080b09;
  background-size: 32px 32px, 32px 32px, auto;
}

.imgwrap img {
  border-radius: 0;
}

.metrics {
  gap: 9px;
}

.metric {
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 0;
  background: rgba(16, 22, 17, .75);
}

.ml {
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mv {
  color: var(--hp-text);
}

.mv.hi {
  color: var(--hp-green-2);
}

.targets {
  border-top-color: var(--hp-line);
}

.targets strong {
  color: var(--hp-gold);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nr {
  border-color: rgba(102, 255, 53, .35);
  border-radius: 0;
  background: rgba(10, 13, 11, .94);
  color: var(--hp-text-2);
}

@media (max-width: 720px) {
  .app {
    padding: 28px 14px 48px;
  }

  .hp-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 0;
    margin-bottom: 22px;
    padding-bottom: 16px;
  }

  .hp-brand {
    width: 164px;
  }

  .hp-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .hp-header-right {
    gap: 10px;
  }

  .hp-online {
    display: none;
  }

  .hdr {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .hdr h1 {
    font-size: clamp(34px, 12vw, 60px);
  }

  .hdr p {
    max-width: none;
    font-size: 12px;
  }

  .panel {
    padding: 15px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .ch {
    gap: 12px;
  }

  .badges {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .app {
    padding-inline: 12px;
  }

  .hp-brand {
    width: 148px;
  }

  .hp-nav {
    gap: 14px;
    font-size: 8px;
    letter-spacing: .14em;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rr {
    align-items: stretch;
  }

  .ch {
    display: block;
  }

  .badges {
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
