* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: #fff;
  color: #000;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #fff;
  color: #000;
  line-height: 27px;
  padding: 32px;
  font-size: 16px;
  margin: 0 auto;
}

main {
  max-width: 800px;
  margin: 40px auto;
}

h1,
.title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 19px;
  display: flex;
  justify-content: space-between;
}

h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 10px;
}

h3 {
  font-size: 19px;
  margin-top: 24px;
  margin-bottom: 8px;
}

button {
  cursor: pointer;
  padding: 2px 6px;
}

p {
  margin-bottom: 16px;
}

ul {
  margin-left: 19px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

.ticker-list {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 18px);
  margin-left: -18px;
}

a.ticker-card {
  margin-left: 18px;
  margin-bottom: 18px;
  border: 2px solid #000;
  border-radius: 6px;
  background: #fff;
  padding: 14px 14px 18px;
  color: inherit;
  text-decoration: none;

  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: calc(100% - 18px);
}

@media (min-width: 600px) {
  a.ticker-card {
    width: calc((100% / 2) - 18px);
  }
}

@media (min-width: 960px) {
  a.ticker-card {
    width: calc((100% / 3) - 18px);
  }
}

@media (min-width: 1200px) {
  a.ticker-card {
    width: calc((100% / 4) - 18px);
  }
}

@media (min-width: 1500px) {
  a.ticker-card {
    width: calc((100% / 5) - 18px);
  }
}
.ticker-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ticker-id {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 16px;
}

.ticker-calc {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.65;
  white-space: nowrap;
  margin-top: 0;
  line-height: 14px;
}

.diff {
  white-space: nowrap;
  font: inherit;
  font-weight: 700;
  line-height: 18px;
  text-align: right;
}

.ticker-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;

  font-size: 32px;
  font-weight: 700;
  line-height: 18px;
}

.ticker-bottom .diff {
  font-size: 20px;
}

.currency {
  color: #888;
  font-weight: normal;
}

.diff.positive {
  color: green;
}

.diff.negative {
  color: red;
}

pre {
  display: block;
  padding: 14px;
  border: 2px solid #000;
  border-radius: 6px;
  background: #f7f7f7;
  font-size: 16px;
  word-break: break-all;
}

code {
  background-color: #eee;
  display: inline-block;
  padding: 0 5px;
  font-size: 0.9em;
}

.note {
  border-left: 4px solid #000;
  padding-left: 16px;
  margin: 24px 0;
}

main img {
  max-width: 100%;
  width: 360px;
  float: right;
  border-radius: 12px;
  margin-left: 10px;
}

.info {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.info > * {
  opacity: 0.4;
  transition: all 0.2s ease;
}

.info a {
  color: inherit;
  text-decoration: none;
}

.info a:hover,
.info svg:hover {
  opacity: 1;
}

.deployment {
  display: inline-block;
  letter-spacing: 2px;
  padding: 1px;
  font-size: 7px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 1em;
  text-align: center;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: monospace;
}

.lucide-expand {
  cursor: pointer;
}
