.chart-poster {
  padding: .5rem .5rem .875rem;
  border: 1px solid #e8d6aa;
  border-radius: 8px;
  background: white;
  color: #272119;
  text-align: left;
  scroll-margin-top: 5.5rem;
}

.chart-poster__layout,
.chart-poster__foot {
  display: grid;
  gap: 1.375rem;
}

.chart-poster__board { width: min(100%, 570px); align-self: center; }
.chart-poster__axis {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  font: 600 1rem/1 Georgia, serif;
  font-size: 5.1cqi;
  color: #fff;
  text-shadow: 0 1px 2px #3c2700, 0 0 4px #3c2700aa;
}

.chart-poster__center {
  border: 1px solid #d9a934;
  border-radius: 50%;
  background: #fff8db;
  box-shadow: 0 0 0 2px #fff5cb80;
}

.chart-poster__center::after {
  content: '4. yıldız';
  position: absolute;
  top: calc(100% + 2px);
  font: 600 .625rem/1.2 Inter, sans-serif;
  white-space: nowrap;
  color: #63400b;
  background: #fff8df;
  padding: .125rem .1875rem;
  border-radius: 3px;
}

.chart-poster__frame {
  position: relative;
  min-width: 0;
  border: 3px double #b98226;
  border-radius: 8px;
  background: #fffefa;
}

.chart-poster__ornament,
.chart-poster__lotus {
  display: block;
  width: 3rem;
  aspect-ratio: 1;
  background: url('/assets/star-mandala-v2.png') center var(--lotus-y, 53.8%) / 680% auto no-repeat;
  border-radius: 50%;
}

.chart-poster__ornament {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2rem;
  transform: translate(-50%, -58%);
  box-shadow: 0 0 0 3px #fffefa;
}

.chart-poster__frame > h3 {
  margin: 1rem .625rem .375rem;
  color: #684312;
  text-align: center;
  font: 600 1.0625rem/1.25 "Playfair Display", Georgia, serif;
}

.chart-poster__chakra {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .375rem;
  padding: .5rem .375rem;
  border-top: 1px solid #e7ca8c;
}

.chart-poster__chakra-copy { min-width: 0; }
.chart-poster__chakra h4, .chart-poster__auras h4 {
  color: var(--chakra-ink);
  font: 700 1.0625rem/1.2 Georgia, serif;
  overflow-wrap: anywhere;
}

.chart-poster__chakra p { margin: .125rem 0 .25rem; font-size: .75rem; }
.chart-poster__supports {
  display: flex;
  flex-wrap: wrap;
  gap: .125rem .625rem;
  font-size: .6875rem;
  line-height: 1.4;
}

.chart-poster__supports > div {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
  gap: .125rem .25rem;
}

.chart-poster__supports strong { color: var(--chakra-ink); overflow-wrap: anywhere; }
.chart-poster__badge {
  max-width: 4.125rem;
  padding: .25rem .375rem;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: var(--chakra-ink);
  background: color-mix(in srgb, var(--chakra-ink) 9%, white);
  font-size: .6875rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.chart-poster__badge[data-state='blocked'] { color: #982439; background: #fff0f2; }

.chart-poster__auras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  padding: .5rem .625rem;
  border-top: 1px solid #e7ca8c;
  background: #fffbef;
}

.chart-poster__auras h4 { font-size: .9375rem; margin-bottom: .125rem; }
.chart-poster__foot { margin: 1.5rem 0 0; }
.chart-poster__identity { display: grid; align-content: center; text-align: center; padding: 1.125rem .625rem .75rem; }
.chart-poster__identity h2 { color: #684312; font-size: 1.125rem; }
.chart-poster__name {
  color: #7a2440;
  font: italic 600 1.375rem/1.25 "Playfair Display", Georgia, serif;
  margin-top: .375rem;
  overflow-wrap: anywhere;
}

.chart-poster__numbers dl, .chart-poster__practices ul {
  padding: 0 .75rem .625rem;
  font-size: .8125rem;
  line-height: 1.45;
}

.chart-poster__numbers dl > div { display: flex; justify-content: space-between; gap: .5rem; }
.chart-poster__numbers dd { font-weight: 600; text-align: right; }
.chart-poster__practices li { list-style: disc; margin-left: .875rem; }
.chart-poster__practices li::marker { color: #a47320; }

@media (min-width: 840px) {
  .chart-poster { padding: .75rem 1rem 1rem; }
  .chart-poster__layout { grid-template-columns: minmax(0, 1.5fr) minmax(21rem, 1fr); align-items: center; gap: 1rem; }
  .chart-poster__foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr); gap: .75rem; }
  .chart-poster__numbers { grid-column: 1; grid-row: 1; }
  .chart-poster__identity { grid-column: 2; grid-row: 1; }
  .chart-poster__chakra { grid-template-columns: 3.75rem minmax(0, 1fr) auto; padding: .375rem .5rem; gap: .5rem; }
  .chart-poster__lotus { width: 3.75rem; }
}
