/* Dailytrades logo mark — square, non-shrinking, no clip */
.brand-logo {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  width: auto;
  height: auto;
}

.brand-logo--ticker {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.brand-logo--header {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
}

a.header-brand,
a.header-brand:link,
a.header-brand:visited,
a.header-brand:hover,
a.header-brand:active,
a.header-brand:focus {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text, #F7F5F2);
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

a.header-brand:hover {
  opacity: 0.9;
}

a.header-brand span {
  color: inherit;
  text-decoration: none;
}

.brand-logo--sidebar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-left: 8px;
}

.sidebar-logo.brand-logo {
  margin-left: 8px;
}

.tide-graphic {
  position: relative;
}

.tide-graphic-logo {
  position: absolute;
  /* Match original SVG <image x="321" y="71" width="39" height="39"> — top-left anchor */
  left: 61.73%;
  top: 39.44%;
  width: 39px;
  height: 39px;
  min-width: 39px;
  min-height: 39px;
  pointer-events: none;
}

/* BTC badge — HTML overlay so SVG wave stretch (preserveAspectRatio=none) cannot squash it */
.tide-graphic-coin--btc {
  position: absolute;
  left: 34.615%;
  top: 55.556%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #F7931A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: #0A0A0A;
  pointer-events: none;
}
