@font-face {
  font-family: "Delirium";
  src: url("./fonts/fonts/delirium-ncv.ttf") format("truetype");
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/fonts/oswald-400.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/fonts/oswald-500.ttf") format("truetype");
  font-weight: 500;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/fonts/oswald-600.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Oswald";
  src: url("./fonts/fonts/oswald-700.ttf") format("truetype");
  font-weight: 700;
}

@font-face {
  font-family: "Playfair";
  src: url("./fonts/fonts/playfair-400.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Playfair";
  src: url("./fonts/fonts/playfair-400italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

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

html,
body {
  background: #b8b9bd;
  color: #231f20;
  font-family: "Oswald", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 12px;
}

.poster {
  width: 600px;
  height: 889px;
  background: #ebebed;
  border: 1px solid #4e4f53;
  padding: 8px 14px 10px;
  display: grid;
  grid-template-rows: 240px auto 175px auto 155px auto 125px auto 95px;
  overflow: hidden;
}

.rule {
  border: none;
  height: 1px;
  margin: 0;
  background: #8a8a8c;
}

.rule-inner {
  border: none;
  height: 1px;
  margin: 0;
  width: 100%;
  background: #8a8a8c;
}

.rule-left {
  border: none;
  height: 1px;
  margin: 0;
  background: linear-gradient(
    to right,
    #8a8a8c 0,
    #8a8a8c calc(50% - 7px),
    transparent calc(50% - 7px),
    transparent 100%
  );
}

.top-block {
  display: flex;
  align-items: stretch;
}

.mid-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 8px 0 4px;
}

.lower-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 4px 0;
  border-bottom: 1px solid #8a8a8c;
}

.weekly {
  display: flex;
  flex-direction: column;
  padding: 2px 0 4px;
}

.sleep {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0 0;
  margin-top: -100px;
}

.display {
  font-family: "Delirium", sans-serif;
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #231f20;
}

.note {
  font-family: "Playfair", serif;
  font-style: italic;
  font-size: 9px;
  line-height: 1.25;
  color: #231f20;
}

.top-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 6px;
}

.header {
  height: 96px;
  display: flex;
  align-items: center;
  padding: 10px 0 4px;
}

.title {
  font-family: "Delirium", sans-serif;
  font-size: 92px;
  line-height: 0.78;
  font-weight: 400;
  white-space: nowrap;
  transform: scaleY(1.22);
  transform-origin: left center;
  letter-spacing: 0.015em;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 24%;
  max-width: 155px;
  min-width: 130px;
  flex-shrink: 0;
  padding: 2px 2px 2px 0;
  background: #ebebed;
  overflow: hidden;
}

.steps-main {
  writing-mode: vertical-rl;
  transform: rotate(180deg) scaleX(1.25);
  font-family: "Delirium", sans-serif;
  font-size: 96px;
  line-height: 0.7;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.steps-num {
  color: #231f20;
}

.steps-label {
  color: #eddf00;
}

.steps-note {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Playfair", serif;
  font-style: italic;
  font-size: 9px;
  line-height: 1.15;
  color: #555;
  max-height: 95%;
}

.goods {
  display: grid;
  grid-template-columns: max-content max-content max-content;
  align-items: center;
  column-gap: 14px;
  width: 100%;
  padding: 6px 6px 4px 0;
  overflow: hidden;
}

.goods-title {
  font-family: "Delirium", sans-serif;
  font-size: 38px;
  line-height: 0.95;
  transform: scaleY(1.45);
  transform-origin: left center;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #231f20;
}

.food-grid {
  display: grid;
  grid-template-columns: 80px 80px;
  grid-template-rows: 58px 58px;
  gap: 0 2px;
}

.food-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 58px;
}

.food-item img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.goods-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.05;
  margin-left: 4px;
}

.goods-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.goods-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #231f20;
}

.hotspots {
  display: flex;
  flex-direction: column;
}

.hotspot-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  flex: 1;
  max-height: 125px;
  padding-bottom: 2px;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-width: 0;
  gap: 2px;
}

.bar {
  width: 16px;
  background: #eddf00;
}

.bar-label {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.03em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #231f20;
  white-space: nowrap;
  line-height: 1;
}

.hotspot-foot {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 34px;
  margin-top: 4px;
}

.hotspot-foot .display {
  font-size: 24px;
  white-space: nowrap;
  transform: scaleY(1.3);
  transform-origin: left bottom;
}

.hotspot-foot .note {
  max-width: 125px;
  font-size: 9px;
  padding-bottom: 2px;
}

.playlists {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}

.playlists-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.playlists-copy .display {
  font-size: 26px;
  line-height: 0.85;
  margin-bottom: 6px;
  transform: scaleY(1.25);
  transform-origin: left top;
}

.playlist-list {
  list-style: none;
  font-family: "Playfair", serif;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 6px;
}

.playlist-list li {
  white-space: nowrap;
}

.playlists-copy .note {
  font-size: 10px;
}

.pie-wrap {
  position: relative;
  width: 135px;
  height: 135px;
  flex-shrink: 0;
}

.pie-img {
  width: 100%;
  height: 100%;
  display: block;
}

.pie-num {
  position: absolute;
  font-family: "Delirium", sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #231f20;
  transform: translate(-50%, -50%) scaleY(1.25);
}

.n1 {
  left: 72%;
  top: 66%;
}

.n2 {
  left: 27%;
  top: 67%;
}

.n3 {
  left: 31%;
  top: 35%;
}

.n4 {
  left: 50%;
  top: 26%;
}

.n5 {
  left: 65%;
  top: 32%;
}

.transport {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.transport-chart {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-label {
  font-family: "Delirium", sans-serif;
  font-size: 26px;
  line-height: 0.8;
  transform: scaleY(1.35);
  transform-origin: left center;
  white-space: nowrap;
}

.t-bar {
  height: 18px;
  background: #eddf00;
}

.transport-note {
  text-align: center;
  font-size: 9px;
}

.eats {
  border: 1px solid #7a7a7c;
  padding: 5px 8px 8px;
  display: flex;
  flex-direction: column;
}

.eats-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.eats-head .display {
  font-size: 22px;
  white-space: nowrap;
  transform: scaleY(1.25);
  transform-origin: left bottom;
}

.eats-head .note {
  font-size: 11px;
  max-width: 160px;
  padding-bottom: 1px;
  text-align: right;
  line-height: 1.25;
}

.eats-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2px;
  flex: 1;
  width: 100%;
}

.eat-col {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.eat-name {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  height: 100px;
  white-space: nowrap;
  line-height: 1;
}

.stars {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 1.5px;
  margin-bottom: 1px;
  color: #eddf00;
  font-size: 9px;
  line-height: 1;
}

.weekly .display {
  font-size: 28px;
  line-height: 0.82;
  margin-bottom: 6px;
  transform: scaleY(1.3);
  transform-origin: left top;
}

.weekly-chart {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 88%;
  align-self: center;
}

.weekly-chart img {
  width: 100%;
  flex: 1;
  min-height: 50px;
  display: block;
}

.week-axis {
  height: 1px;
  background: #6a6a6c;
}

.week-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding: 0 2px;
}

.week-labels span {
  font-family: "Playfair", serif;
  font-style: italic;
  font-size: 13px;
  color: #231f20;
  line-height: 1.2;
}

.sleep-time {
  font-family: "Delirium", sans-serif;
  font-size: 58px;
  line-height: 0.82;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: scaleY(1.5);
  transform-origin: center center;
}

.sleep-mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  max-width: 180px;
}

.sleep-mid .note {
  font-size: 11px;
  text-align: center;
  color: #231f20;
}

.arrow {
  width: 120px;
  height: auto;
  display: block;
}
