@font-face {
  font-family: "Breathing IQOS";
  src: url("../fonts/breathing-iqos-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.iqos-rtb,
.iqos-rtb-results,
.iqos-rtb *,
.iqos-rtb-results * {
  box-sizing: border-box;
}

.iqos-rtb,
.iqos-rtb-results {
  --text: #fffaf0;
  --muted: rgba(255, 250, 240, 0.78);
  --line: rgba(255, 255, 255, 0.28);
  --glass: rgba(16, 24, 34, 0.25);
  --glass-strong: rgba(16, 24, 34, 0.38);
  --accent: #66e2c7;
  --gold: #ffe79a;
  --orange: #ff843f;
  --button-bg: rgba(255, 255, 255, 0.9);
  --button-bg-hover: #fffaf0;
  --button-text: #202733;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

.iqos-rtb {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 34px 26px 28px;
  background:
    linear-gradient(180deg, rgba(15, 19, 28, 0.08), rgba(15, 19, 28, 0.22)),
    url("../img/repeat-the-beat-bg-desktop.jpg"),
    linear-gradient(135deg, #7581b9 0%, #43beb8 48%, #ff7d2c 100%);
  background-position: center;
  background-size: cover;
}

.iqos-rtb button,
.iqos-rtb input,
.iqos-rtb a {
  font: inherit;
}

.iqos-rtb__game,
.iqos-rtb__board {
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 24px;
  background: rgba(18, 24, 34, 0.16);
  box-shadow: inset 0 0 90px rgba(255, 255, 255, 0.04), 0 26px 90px rgba(20, 25, 34, 0.18);
  backdrop-filter: blur(20px);
}

.iqos-rtb__game {
  min-height: calc(100vh - 62px);
  overflow: hidden;
}

.iqos-rtb__board {
  padding: 24px;
  overflow: auto;
}

.iqos-rtb__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 38px 10px;
}

.iqos-rtb__brand {
  display: grid;
  gap: 4px;
  width: min(360px, 42vw);
}

.iqos-rtb__brand img {
  display: block;
  width: min(100%, 345px);
  height: auto;
}

.iqos-rtb__brand strong {
  color: #fff;
  font-family: "Breathing IQOS", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(34px, 4.1vw, 70px);
  font-weight: 700;
  line-height: 0.78;
  text-shadow: 0 10px 28px rgba(25, 32, 42, 0.18);
}

.iqos-rtb__midi,
.iqos-rtb__level-head button,
.iqos-rtb__play-actions button,
.iqos-rtb__result-actions button,
.iqos-rtb__result-actions a,
.iqos-rtb__button,
.iqos-rtb__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: var(--button-text) !important;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.08), 0 12px 32px rgba(20, 25, 34, 0.16);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.iqos-rtb__midi b,
.iqos-rtb__level-head button *,
.iqos-rtb__play-actions button *,
.iqos-rtb__result-actions button *,
.iqos-rtb__result-actions a *,
.iqos-rtb__button *,
.iqos-rtb__form button * {
  color: inherit !important;
}

.iqos-rtb__midi:hover,
.iqos-rtb__level-head button:hover,
.iqos-rtb__play-actions button:hover,
.iqos-rtb__result-actions button:hover,
.iqos-rtb__result-actions a:hover,
.iqos-rtb__button:hover,
.iqos-rtb__form button:hover,
.iqos-rtb__midi:focus-visible,
.iqos-rtb__level-head button:focus-visible,
.iqos-rtb__play-actions button:focus-visible,
.iqos-rtb__result-actions button:focus-visible,
.iqos-rtb__result-actions a:focus-visible,
.iqos-rtb__button:focus-visible,
.iqos-rtb__form button:focus-visible {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--button-text) !important;
  transform: translateY(-1px);
}

.iqos-rtb__midi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  min-height: 54px;
  padding: 0 22px;
  color: #fffaf0 !important;
  background: rgba(255, 255, 255, 0.18);
}

.iqos-rtb__midi span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5b45;
  box-shadow: 0 0 0 4px rgba(255, 91, 69, 0.18);
}

.iqos-rtb__midi.is-connected span {
  background: #66e2c7;
  box-shadow: 0 0 0 4px rgba(102, 226, 199, 0.18);
}

.iqos-rtb__midi.is-connected {
  background: rgba(255, 255, 255, 0.24);
  color: #fffaf0 !important;
}

.iqos-rtb__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 8px 38px 22px;
}

.iqos-rtb__steps span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 24, 34, 0.12);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.iqos-rtb[data-screen="level"] [data-step="level"],
.iqos-rtb[data-screen="play"] [data-step="play"],
.iqos-rtb[data-screen="result"] [data-step="result"] {
  background: rgba(102, 226, 199, 0.34);
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.12), 0 0 28px rgba(102, 226, 199, 0.14);
}

.iqos-rtb__screen {
  display: none;
  min-height: calc(100vh - 226px);
  padding: 24px 28px 30px;
}

.iqos-rtb__screen.is-active {
  display: block;
}

.iqos-rtb__screen[data-screen="register"] {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 28px;
  align-items: center;
}

.iqos-rtb__screen[data-screen="register"].is-active {
  display: grid;
}

.iqos-rtb__intro,
.iqos-rtb__form,
.iqos-rtb__level,
.iqos-rtb__hud div,
.iqos-rtb__result-grid div {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.17);
  box-shadow: 0 18px 48px rgba(20, 25, 34, 0.13);
}

.iqos-rtb__intro {
  min-height: 330px;
  padding: 30px;
}

.iqos-rtb__intro p,
.iqos-rtb__eyebrow,
.iqos-rtb__board p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.iqos-rtb__intro h1,
.iqos-rtb__screen h2,
.iqos-rtb__board h2 {
  margin: 10px 0 0;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.02;
}

.iqos-rtb__intro span {
  display: block;
  max-width: 460px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.iqos-rtb__form {
  display: grid;
  gap: 10px;
  padding: 24px;
}

.iqos-rtb__form label {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.iqos-rtb__form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #18202a;
  padding: 0 14px;
}

.iqos-rtb__level-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.17);
}

.iqos-rtb__level-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.iqos-rtb__level-head p {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.iqos-rtb__level-head h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.96;
}

.iqos-rtb__level-head span {
  display: block;
  max-width: 720px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.38;
}

.iqos-rtb__level-head button {
  padding: 0 16px;
}

.iqos-rtb__levels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.iqos-rtb__level {
  min-height: 260px;
  padding: 26px;
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.iqos-rtb__level:hover,
.iqos-rtb__level:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.25);
}

.iqos-rtb__level span,
.iqos-rtb__level small,
.iqos-rtb__level em {
  display: block;
}

.iqos-rtb__level span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.iqos-rtb__level strong {
  display: block;
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
}

.iqos-rtb__level small {
  margin-top: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.iqos-rtb__level em {
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
  line-height: 1.35;
}

.iqos-rtb__screen--play {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 242px);
  padding: 20px 38px 108px;
}

.iqos-rtb__hud,
.iqos-rtb__result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.iqos-rtb__screen--play .iqos-rtb__hud {
  position: absolute;
  left: 38px;
  top: 20px;
  z-index: 5;
  width: min(590px, calc(100% - 500px));
  gap: 18px;
}

.iqos-rtb__hud div,
.iqos-rtb__result-grid div {
  min-height: 96px;
  padding: 18px 20px;
}

.iqos-rtb__screen--play .iqos-rtb__hud div {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.08), 0 18px 44px rgba(20, 25, 34, 0.12);
}

.iqos-rtb__screen--play .iqos-rtb__hud div:nth-child(1) {
  border-color: rgba(255, 139, 229, 0.38);
  background: rgba(135, 92, 205, 0.28);
}

.iqos-rtb__screen--play .iqos-rtb__hud div:nth-child(2) {
  border-color: rgba(148, 174, 255, 0.38);
  background: rgba(78, 102, 178, 0.28);
}

.iqos-rtb__screen--play .iqos-rtb__hud div:nth-child(3) {
  border-color: rgba(102, 226, 199, 0.38);
  background: rgba(51, 146, 162, 0.28);
}

.iqos-rtb__hud span,
.iqos-rtb__result-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.iqos-rtb__hud strong,
.iqos-rtb__result-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  line-height: 1;
}

.iqos-rtb__lanes {
  position: absolute;
  left: 50%;
  top: 210px;
  width: min(1180px, calc(100% - 360px));
  height: min(38vh, 390px);
  min-height: 315px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 12px;
  background: rgba(12, 18, 26, 0.06);
  box-shadow: inset 0 0 74px rgba(255, 255, 255, 0.06), 0 28px 76px rgba(20, 25, 34, 0.13);
  overflow: visible;
  transform: translateX(-50%);
}

.iqos-rtb__lanes::before {
  content: "PD2 MAX DRUM MAP";
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.iqos-rtb__lanes::after {
  display: none;
}

.iqos-rtb__lane {
  position: absolute;
  overflow: hidden;
  width: clamp(92px, 8.6vw, 128px);
  height: clamp(92px, 8.6vw, 128px);
  border: 2px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 18, 26, 0.16) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.22), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 68%);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.12), 0 18px 44px rgba(20, 25, 34, 0.12);
}

.iqos-rtb__lane.is-active {
  border-color: #fff;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--lane-color, var(--accent)) 34%, transparent) 0 34%, transparent 58%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.34), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 68%);
  box-shadow:
    inset 0 0 58px color-mix(in srgb, var(--lane-color, var(--accent)) 28%, transparent),
    0 0 44px color-mix(in srgb, var(--lane-color, var(--accent)) 72%, transparent),
    0 18px 44px rgba(20, 25, 34, 0.12);
}

.iqos-rtb__lane.is-demo {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    inset 0 0 54px rgba(255, 255, 255, 0.22),
    0 0 38px var(--lane-color, var(--accent));
}

.iqos-rtb__lane.is-tested {
  animation: iqos-rtb-hit-pulse 680ms ease;
  border-color: #fff;
  box-shadow:
    inset 0 0 64px color-mix(in srgb, var(--lane-color, var(--accent)) 36%, rgba(255, 255, 255, 0.16)),
    0 0 54px var(--lane-color, var(--accent)),
    0 0 92px color-mix(in srgb, var(--lane-color, var(--accent)) 44%, transparent);
}

@keyframes iqos-rtb-hit-pulse {
  0% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.iqos-rtb__lane::before,
.iqos-rtb__lane::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 86%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.iqos-rtb__lane::before {
  width: 58%;
  height: 58%;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.iqos-rtb__lane::after {
  width: 22%;
  height: 22%;
  background: var(--lane-color, var(--accent));
  box-shadow: 0 0 30px var(--lane-color, var(--accent));
}

.iqos-rtb__lane.is-active::after,
.iqos-rtb__lane.is-demo::after,
.iqos-rtb__lane.is-tested::after {
  width: 42%;
  height: 42%;
  background: url("../img/remix-beat.png") center / contain no-repeat;
  box-shadow: 0 0 48px var(--lane-color, var(--accent));
}

.iqos-rtb__lane[data-lane="crashLeft"] {
  --lane-color: #ff7ab8;
  left: 3%;
  top: 10%;
}

.iqos-rtb__lane[data-lane="hat"] {
  --lane-color: #66e2c7;
  left: 35%;
  top: 10%;
}

.iqos-rtb__lane[data-lane="tomHigh"] {
  --lane-color: #b9fff0;
  right: 35%;
  top: 10%;
}

.iqos-rtb__lane[data-lane="crashRight"] {
  --lane-color: #ff9a5f;
  right: 3%;
  top: 10%;
}

.iqos-rtb__lane[data-lane="cymbalLow"] {
  --lane-color: #ffe79a;
  left: 15%;
  bottom: 13%;
}

.iqos-rtb__lane[data-lane="snare"] {
  --lane-color: #78a7ff;
  left: calc(50% - clamp(46px, 4.3vw, 64px));
  bottom: 13%;
}

.iqos-rtb__lane[data-lane="tomFloor"] {
  --lane-color: #8cff76;
  right: 17%;
  bottom: 13%;
}

.iqos-rtb__lane[data-lane="crashLeft"],
.iqos-rtb__lane[data-lane="crashRight"],
.iqos-rtb__lane[data-lane="cymbalLow"] {
  width: clamp(126px, 12vw, 190px);
  height: clamp(126px, 12vw, 190px);
  background:
    radial-gradient(circle at 31% 30%, rgba(10, 18, 26, 0.18) 0 10%, transparent 11%),
    linear-gradient(24deg, transparent 0 47%, rgba(255, 255, 255, 0.54) 47.4% 48.4%, transparent 48.8%),
    radial-gradient(circle at 50% 78%, rgba(255, 255, 255, 0.2), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03) 68%);
}

.iqos-rtb__lane[data-lane="pedalLeft"],
.iqos-rtb__lane[data-lane="pedalRight"] {
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(84px, 7.2vw, 104px);
  height: clamp(112px, 8.4vw, 136px);
  bottom: clamp(-156px, -9.6vw, -122px);
  border-width: 2px;
  border-color: color-mix(in srgb, var(--lane-color, var(--accent)) 58%, rgba(255, 255, 255, 0.42));
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--lane-color, var(--accent)) 32%, transparent), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(12, 18, 26, 0.14);
  box-shadow:
    inset 0 0 28px rgba(255, 255, 255, 0.08),
    inset 0 -18px 28px rgba(12, 18, 26, 0.08),
    0 18px 38px rgba(20, 25, 34, 0.15);
}

.iqos-rtb__lane[data-lane="pedalLeft"] {
  --lane-color: #66e2c7;
  left: 3.2%;
}

.iqos-rtb__lane[data-lane="pedalRight"] {
  --lane-color: #ffe79a;
  left: calc(3.2% + clamp(96px, 8vw, 120px));
}

.iqos-rtb__lane[data-lane="pedalLeft"]::before,
.iqos-rtb__lane[data-lane="pedalRight"]::before,
.iqos-rtb__lane[data-lane="pedalLeft"]::after,
.iqos-rtb__lane[data-lane="pedalRight"]::after {
  display: none;
}

.iqos-rtb__lane[data-lane="pedalLeft"] .iqos-rtb__lane-label,
.iqos-rtb__lane[data-lane="pedalRight"] .iqos-rtb__lane-label {
  inset: 12px 8px 10px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: 10px;
  color: #fffaf0;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.12;
  text-shadow: 0 8px 18px rgba(12, 18, 26, 0.22);
}

.iqos-rtb__lane[data-lane="pedalLeft"] .iqos-rtb__lane-label span,
.iqos-rtb__lane[data-lane="pedalRight"] .iqos-rtb__lane-label span {
  width: 40px;
  height: 40px;
  border-color: color-mix(in srgb, var(--lane-color, var(--accent)) 72%, rgba(255, 255, 255, 0.45));
  background: rgba(12, 18, 26, 0.18);
  color: #fffaf0;
  font-size: 16px;
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--lane-color, var(--accent)) 24%, transparent), 0 0 18px color-mix(in srgb, var(--lane-color, var(--accent)) 18%, transparent);
}

.iqos-rtb__lane[data-lane="pedalLeft"].is-active,
.iqos-rtb__lane[data-lane="pedalRight"].is-active,
.iqos-rtb__lane[data-lane="pedalLeft"].is-demo,
.iqos-rtb__lane[data-lane="pedalRight"].is-demo,
.iqos-rtb__lane[data-lane="pedalLeft"].is-tested,
.iqos-rtb__lane[data-lane="pedalRight"].is-tested {
  box-shadow:
    inset 0 0 38px color-mix(in srgb, var(--lane-color, var(--accent)) 34%, transparent),
    inset 0 -18px 28px rgba(12, 18, 26, 0.08),
    0 0 52px color-mix(in srgb, var(--lane-color, var(--accent)) 68%, transparent),
    0 18px 38px rgba(20, 25, 34, 0.15);
}

.iqos-rtb__lane-label {
  position: absolute;
  z-index: 4;
  inset: 14px 14px auto;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

.iqos-rtb__lane-label span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(10, 18, 26, 0.2);
}

.iqos-rtb__note {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: clamp(34px, 4.2vw, 58px);
  height: clamp(34px, 4.2vw, 58px);
  background: url("../img/remix-beat.png") center / contain no-repeat;
  filter: drop-shadow(0 12px 30px rgba(24, 32, 42, 0.2));
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.iqos-rtb__note.is-hit {
  opacity: 0;
  transform: translate(-50%, 92%) scale(1.34) rotate(12deg) !important;
  transition: opacity 180ms ease, transform 180ms ease;
}

.iqos-rtb__note.is-missed {
  opacity: 0.28;
  filter: grayscale(1);
}

.iqos-rtb__hitline {
  display: none;
}

.iqos-rtb__map-title {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 92px;
  width: min(560px, max(360px, calc(100% - 720px)));
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 18, 26, 0.18);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.iqos-rtb__sequence {
  position: absolute;
  z-index: 5;
  left: 50%;
  right: auto;
  top: 138px;
  width: min(620px, max(360px, calc(100% - 760px)));
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  overflow: hidden;
  transform: translateX(-50%);
}

.iqos-rtb__sequence-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 38px;
  min-height: 38px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0.58;
  transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.iqos-rtb__sequence-step span {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  border-radius: 999px;
  background: rgba(16, 24, 34, 0.22);
  color: #fffaf0;
  font-size: 10px;
  font-weight: 950;
}

.iqos-rtb__sequence-step.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.iqos-rtb__sequence-step.is-done {
  opacity: 1;
  border-color: rgba(102, 226, 199, 0.7);
  background: rgba(102, 226, 199, 0.16);
}

.iqos-rtb__sequence-step.is-miss {
  border-color: rgba(255, 132, 63, 0.82);
  background: rgba(255, 132, 63, 0.2);
}

.iqos-rtb__midi-monitor {
  position: absolute;
  z-index: 5;
  left: auto;
  right: 38px;
  top: 20px;
  display: grid;
  width: min(390px, calc(100% - 76px));
  min-height: 96px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(14px);
}

.iqos-rtb__midi-monitor[hidden] {
  display: none;
}

.iqos-rtb__midi-monitor strong {
  font-size: 22px;
  line-height: 1.05;
}

.iqos-rtb__midi-monitor span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.iqos-rtb__calibration-map {
  position: absolute;
  z-index: 5;
  right: 38px;
  top: 132px;
  width: min(390px, calc(100% - 76px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  background: rgba(12, 18, 26, 0.18);
  color: #fff;
  backdrop-filter: blur(14px);
}

.iqos-rtb__calibration-map[hidden] {
  display: none;
}

.iqos-rtb__calibration-map > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.iqos-rtb__calibration-map div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.iqos-rtb__calibration-map span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.iqos-rtb__calibration-map span.is-active {
  border-color: rgba(255, 231, 154, 0.76);
  background: rgba(255, 231, 154, 0.16);
}

.iqos-rtb__calibration-map b {
  font-size: 11px;
  font-weight: 950;
}

.iqos-rtb__calibration-map em {
  color: #ffe79a;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
}

.iqos-rtb.is-testing .iqos-rtb__hud {
  opacity: 0.28;
}

.iqos-rtb.is-testing [data-restart-run] {
  display: none;
}

.iqos-rtb [data-calibration-reset],
.iqos-rtb [data-calibration-next],
.iqos-rtb [data-calibration-save] {
  display: none;
}

.iqos-rtb.is-calibrating [data-restart-run],
.iqos-rtb.is-calibrating [data-start-practice],
.iqos-rtb.is-calibrating [data-start-live],
.iqos-rtb.is-calibrating [data-new-beat] {
  display: none;
}

.iqos-rtb.is-calibrating [data-calibration-reset],
.iqos-rtb.is-calibrating [data-calibration-next],
.iqos-rtb.is-calibrating [data-calibration-save] {
  display: inline-flex;
}

.iqos-rtb__feedback {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 5;
  min-width: 250px;
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 950;
  text-align: center;
  backdrop-filter: blur(14px);
}

.iqos-rtb__feedback[data-type="perfect"] {
  color: var(--accent);
}

.iqos-rtb__feedback[data-type="good"] {
  color: var(--gold);
}

.iqos-rtb__feedback[data-type="miss"] {
  color: var(--orange);
}

.iqos-rtb__countdown {
  position: absolute;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(36, 42, 54, 0.36);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: clamp(84px, 16vw, 180px);
  font-weight: 950;
}

.iqos-rtb__countdown[hidden] {
  display: none;
}

.iqos-rtb__play-actions {
  position: absolute;
  right: 38px;
  bottom: 30px;
  z-index: 5;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: calc(100% - 76px);
  white-space: nowrap;
}

.iqos-rtb__play-actions button {
  min-width: 118px;
  min-height: 54px;
  padding: 0 16px;
}

.iqos-rtb__play-actions [data-start-live] {
  min-width: 158px;
  background: rgba(102, 226, 199, 0.78);
  color: #fffaf0 !important;
  border-color: rgba(255, 255, 255, 0.38);
}

.iqos-rtb__play-actions [data-start-live]:hover,
.iqos-rtb__play-actions [data-start-live]:focus-visible {
  background: rgba(102, 226, 199, 0.92);
  color: #fffaf0 !important;
}

.iqos-rtb.is-demo .iqos-rtb__play-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.iqos-rtb__result-grid {
  max-width: 860px;
  margin-top: 24px;
}

.iqos-rtb__screen[data-screen="result"] h2 {
  font-size: clamp(54px, 9vw, 140px);
}

.iqos-rtb.is-winner .iqos-rtb__screen[data-screen="result"] h2 {
  color: #fff;
  text-shadow: 0 0 34px rgba(255, 231, 154, 0.46);
}

.iqos-rtb__result-message {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 850;
  line-height: 1.18;
}

.iqos-rtb__result-actions {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.iqos-rtb__result-actions button {
  padding: 0 18px;
}

.iqos-rtb__result-actions a {
  padding: 0 18px;
}

.iqos-rtb__board h2 {
  margin-bottom: 20px;
  font-size: 30px;
}

.iqos-rtb__board ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iqos-rtb__board li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 8px 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
}

.iqos-rtb__board li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #61dfcf, #ffe58c);
  color: #18202a;
  font-weight: 950;
}

.iqos-rtb__board li strong,
.iqos-rtb__board li em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iqos-rtb__board li em {
  grid-column: 2 / 4;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.iqos-rtb__board li b {
  color: var(--gold);
}

.iqos-rtb-results {
  width: 100vw;
  min-height: 100vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(15, 19, 28, 0.1), rgba(15, 19, 28, 0.26)),
    url("../img/repeat-the-beat-bg-desktop.jpg"),
    linear-gradient(135deg, #7581b9 0%, #43beb8 48%, #ff7d2c 100%);
  background-position: center;
  background-size: cover;
}

.iqos-rtb-results__hero,
.iqos-rtb-results__table {
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass);
  box-shadow: 0 24px 80px rgba(20, 25, 34, 0.18);
  backdrop-filter: blur(18px);
}

.iqos-rtb-results__hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
}

.iqos-rtb-results__hero h1 {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 1;
  text-align: right;
}

.iqos-rtb-results__table {
  margin-top: 18px;
  padding: 18px;
}

.iqos-rtb-results__table ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.iqos-rtb-results__table li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 180px 150px 130px;
  gap: 12px;
  align-items: center;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
}

.iqos-rtb-results__table li span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #202733;
  font-weight: 950;
}

.iqos-rtb-results__table li strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iqos-rtb-results__table li em,
.iqos-rtb-results__table li small {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.iqos-rtb-results__table li b {
  color: var(--gold);
  font-size: 24px;
  text-align: right;
}

.iqos-rtb-results__empty {
  margin: 0;
  padding: 28px;
  color: var(--muted);
  font-size: 20px;
  text-align: center;
}

@media (orientation: landscape) and (min-width: 700px) and (max-width: 1400px) and (max-height: 900px) {
  .iqos-rtb__screen--play {
    min-height: 560px;
    padding: 14px 22px 92px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud {
    left: 22px;
    top: 14px;
    width: calc(100% - 44px);
    gap: 8px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud div {
    min-height: 66px;
    padding: 10px 12px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud span {
    font-size: 10px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud strong {
    font-size: 22px;
  }

  .iqos-rtb__map-title {
    left: 22px;
    top: 96px;
    width: calc(100% - 44px);
    min-height: 30px;
    padding: 5px 12px;
    font-size: 10px;
    transform: none;
  }

  .iqos-rtb__sequence {
    left: 22px;
    top: 134px;
    width: calc(100% - 44px);
    min-height: 34px;
    gap: 5px;
    transform: none;
  }

  .iqos-rtb__sequence-step {
    min-width: 32px;
    min-height: 32px;
    padding: 4px;
  }

  .iqos-rtb__sequence-step span {
    min-width: 23px;
    min-height: 23px;
    font-size: 9px;
  }

  .iqos-rtb__lanes {
    left: 22px;
    top: 178px;
    width: calc(100% - 44px);
    height: 280px;
    min-height: 250px;
    transform: none;
  }

  .iqos-rtb__lanes::before {
    top: 10px;
    font-size: 11px;
  }

  .iqos-rtb__lane {
    width: clamp(70px, 8vw, 96px);
    height: clamp(70px, 8vw, 96px);
  }

  .iqos-rtb__lane[data-lane="crashLeft"],
  .iqos-rtb__lane[data-lane="crashRight"] {
    width: clamp(92px, 12vw, 136px);
    height: clamp(92px, 12vw, 136px);
  }

  .iqos-rtb__lane[data-lane="crashLeft"] {
    left: 2%;
    top: 15%;
  }

  .iqos-rtb__lane[data-lane="hat"] {
    left: 30%;
    top: 13%;
  }

  .iqos-rtb__lane[data-lane="tomHigh"] {
    right: 30%;
    top: 13%;
  }

  .iqos-rtb__lane[data-lane="crashRight"] {
    right: 2%;
    top: 15%;
  }

  .iqos-rtb__lane[data-lane="snare"] {
    left: calc(50% - clamp(35px, 4vw, 48px));
    bottom: 12%;
  }

  .iqos-rtb__lane-label {
    font-size: 11px;
  }

  .iqos-rtb__lane-label span {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .iqos-rtb__midi-monitor {
    right: 22px;
    top: 14px;
    width: 370px;
    min-height: 82px;
    padding: 14px 16px;
  }

  .iqos-rtb__midi-monitor strong {
    font-size: 18px;
  }

  .iqos-rtb__midi-monitor span {
    font-size: 11px;
  }

  .iqos-rtb__calibration-map {
    right: 22px;
    top: 112px;
    width: 370px;
    max-height: 260px;
    padding: 12px 14px;
    overflow: auto;
  }

  .iqos-rtb__calibration-map > strong {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .iqos-rtb__calibration-map div {
    gap: 6px;
  }

  .iqos-rtb__calibration-map span {
    min-height: 30px;
    padding: 6px 8px;
  }

  .iqos-rtb__calibration-map b,
  .iqos-rtb__calibration-map em {
    font-size: 10px;
  }

  .iqos-rtb__feedback {
    left: 22px;
    bottom: 16px;
    width: min(330px, calc(100% - 700px));
    min-width: 210px;
    min-height: 38px;
    padding: 5px 12px;
    font-size: 13px;
    transform: none;
  }

  .iqos-rtb__play-actions {
    right: 22px;
    bottom: 14px;
    max-width: calc(100% - 330px);
    gap: 7px;
  }

  .iqos-rtb__play-actions button {
    min-width: 96px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
  }

  .iqos-rtb__play-actions [data-start-live] {
    min-width: 124px;
  }

  .iqos-rtb.is-testing:not(.is-calibrating) .iqos-rtb__screen--play .iqos-rtb__hud,
  .iqos-rtb.is-testing:not(.is-calibrating) .iqos-rtb__map-title,
  .iqos-rtb.is-testing:not(.is-calibrating) .iqos-rtb__sequence,
  .iqos-rtb.is-testing:not(.is-calibrating) .iqos-rtb__lanes {
    width: calc(100% - 430px);
  }

  .iqos-rtb.is-testing:not(.is-calibrating) .iqos-rtb__lanes {
    height: 270px;
  }
}

@media (max-width: 980px) {
  .iqos-rtb {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(15, 19, 28, 0.08), rgba(15, 19, 28, 0.22)),
      url("../img/repeat-the-beat-bg-mobile.jpg"),
      linear-gradient(160deg, #7581b9 0%, #43beb8 50%, #ff7d2c 100%);
    background-position: center top;
    background-size: cover;
  }

  .iqos-rtb__screen[data-screen="register"].is-active,
  .iqos-rtb__levels {
    grid-template-columns: 1fr;
  }

  .iqos-rtb-results {
    background:
      linear-gradient(180deg, rgba(15, 19, 28, 0.1), rgba(15, 19, 28, 0.26)),
      url("../img/repeat-the-beat-bg-mobile.jpg"),
      linear-gradient(160deg, #7581b9 0%, #43beb8 50%, #ff7d2c 100%);
    background-position: center top;
    background-size: cover;
  }

  .iqos-rtb-results__hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .iqos-rtb-results__hero h1 {
    text-align: left;
  }

  .iqos-rtb-results__table li {
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .iqos-rtb-results__table li em,
  .iqos-rtb-results__table li small {
    grid-column: 2 / 4;
  }
}

@media (max-width: 640px) {
  .iqos-rtb {
    padding: 10px;
  }

  .iqos-rtb__top,
  .iqos-rtb__level-head,
  .iqos-rtb__result-actions {
    flex-direction: column;
  }

  .iqos-rtb__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 16px;
  }

  .iqos-rtb__hud,
  .iqos-rtb__result-grid {
    grid-template-columns: 1fr;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    left: 14px;
    top: 10px;
    width: calc(100% - 28px);
    gap: 6px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud div {
    min-height: 58px;
    padding: 10px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud span {
    font-size: 10px;
  }

  .iqos-rtb__screen--play .iqos-rtb__hud strong {
    font-size: 22px;
  }

  .iqos-rtb__screen--play {
    min-height: 650px;
  }

  .iqos-rtb__lanes {
    top: 230px;
    width: calc(100% - 28px);
    height: 280px;
    min-height: 280px;
  }

  .iqos-rtb__lanes::after {
    display: none;
  }

  .iqos-rtb__map-title {
    top: 122px;
    width: calc(100% - 28px);
    min-height: 30px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .iqos-rtb__sequence {
    left: 14px;
    right: 14px;
    top: 158px;
    justify-content: flex-start;
    min-height: 58px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .iqos-rtb__sequence-step {
    min-width: 46px;
    flex: 0 0 auto;
  }

  .iqos-rtb__sequence-step span {
    min-width: 22px;
    min-height: 22px;
    font-size: 9px;
  }

  .iqos-rtb__midi-monitor {
    left: 14px;
    right: auto;
    top: 76px;
    width: calc(100% - 28px);
    min-height: 54px;
  }

  .iqos-rtb__feedback {
    left: 14px;
    right: 14px;
    bottom: 76px;
    min-width: 0;
    min-height: 38px;
    font-size: 16px;
    transform: none;
  }

  .iqos-rtb__play-actions {
    left: 14px;
    right: 14px;
    bottom: 18px;
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
  }

  .iqos-rtb__play-actions button {
    min-width: 0;
    flex: 1 1 120px;
  }

  .iqos-rtb__lane {
    width: clamp(58px, 14vw, 82px);
    height: clamp(58px, 14vw, 82px);
  }

  .iqos-rtb__lane[data-lane="crashLeft"],
  .iqos-rtb__lane[data-lane="crashRight"],
  .iqos-rtb__lane[data-lane="cymbalLow"] {
    width: clamp(82px, 21vw, 118px);
    height: clamp(82px, 21vw, 118px);
  }

  .iqos-rtb__lane[data-lane="crashLeft"] {
    left: 2%;
    top: 14%;
  }

  .iqos-rtb__lane[data-lane="hat"] {
    left: 31%;
    top: 12%;
  }

  .iqos-rtb__lane[data-lane="tomHigh"] {
    right: 31%;
    top: 12%;
  }

  .iqos-rtb__lane[data-lane="crashRight"] {
    right: 2%;
    top: 14%;
  }

  .iqos-rtb__lane[data-lane="cymbalLow"] {
    left: 10%;
    bottom: 12%;
  }

  .iqos-rtb__lane[data-lane="snare"] {
    left: calc(50% - clamp(29px, 7vw, 41px));
    bottom: 16%;
  }

  .iqos-rtb__lane[data-lane="tomFloor"] {
    right: 12%;
    bottom: 12%;
  }

  .iqos-rtb__lane[data-lane="pedalLeft"],
  .iqos-rtb__lane[data-lane="pedalRight"] {
    width: 72px;
    height: 96px;
    bottom: -112px;
    border-radius: 9px;
  }

  .iqos-rtb__lane[data-lane="pedalLeft"] {
    left: 3%;
  }

  .iqos-rtb__lane[data-lane="pedalRight"] {
    left: calc(3% + 84px);
  }

  .iqos-rtb__lane[data-lane="pedalLeft"] .iqos-rtb__lane-label,
  .iqos-rtb__lane[data-lane="pedalRight"] .iqos-rtb__lane-label {
    inset: 10px 6px 8px;
    gap: 7px;
    font-size: 12px;
  }

  .iqos-rtb__lane[data-lane="pedalLeft"] .iqos-rtb__lane-label span,
  .iqos-rtb__lane[data-lane="pedalRight"] .iqos-rtb__lane-label span {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .iqos-rtb__lane-label {
    font-size: 10px;
  }

  .iqos-rtb__lane-label span {
    width: 24px;
    height: 24px;
  }

  .iqos-rtb__hitline {
    left: 14px;
    right: 14px;
    bottom: 124px;
  }
}

@media (orientation: landscape) and (min-width: 700px) and (max-width: 1400px) and (max-height: 900px) {
  .iqos-rtb.is-calibrating .iqos-rtb__screen--play {
    min-height: 540px;
    padding: 14px 24px 78px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__screen--play .iqos-rtb__hud {
    display: none;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__midi-monitor {
    left: 24px;
    right: auto;
    top: 12px;
    width: calc(44% - 32px);
    min-height: 78px;
    padding: 12px 16px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__midi-monitor strong {
    font-size: 20px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__midi-monitor span {
    font-size: 11px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map {
    left: auto;
    right: 24px;
    top: 12px;
    width: calc(56% - 32px);
    max-height: 118px;
    padding: 12px 14px;
    overflow: auto;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map > strong {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map span {
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 9px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map b,
  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map em {
    font-size: 10px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__map-title {
    left: 24px;
    top: 106px;
    width: calc(100% - 48px);
    min-height: 30px;
    padding: 5px 12px;
    font-size: 10px;
    transform: none;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__sequence {
    left: 24px;
    top: 144px;
    width: calc(100% - 48px);
    min-height: 34px;
    justify-content: center;
    gap: 6px;
    transform: none;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__sequence-step {
    min-width: 34px;
    min-height: 34px;
    padding: 4px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__sequence-step span {
    min-width: 24px;
    min-height: 24px;
    font-size: 9px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lanes {
    left: 24px;
    top: 190px;
    width: calc(100% - 48px);
    height: 260px;
    min-height: 250px;
    transform: none;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lanes::before {
    top: 10px;
    font-size: 11px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane {
    width: clamp(70px, 8vw, 100px);
    height: clamp(70px, 8vw, 100px);
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="crashLeft"],
  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="crashRight"] {
    width: clamp(104px, 13vw, 148px);
    height: clamp(104px, 13vw, 148px);
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="crashLeft"] {
    left: 3%;
    top: 15%;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="hat"] {
    left: 34%;
    top: 13%;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="tomHigh"] {
    right: 34%;
    top: 13%;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="crashRight"] {
    right: 3%;
    top: 15%;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane[data-lane="snare"] {
    left: calc(50% - clamp(35px, 4vw, 50px));
    bottom: 8%;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane-label {
    font-size: 11px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__lane-label span {
    width: 25px;
    height: 25px;
    font-size: 10px;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__feedback {
    left: 24px;
    bottom: 16px;
    width: min(310px, calc(100% - 640px));
    min-width: 220px;
    min-height: 44px;
    padding: 6px 14px;
    font-size: 15px;
    transform: none;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__play-actions {
    left: auto;
    right: 24px;
    bottom: 16px;
    max-width: calc(100% - 370px);
    gap: 7px;
    flex-wrap: nowrap;
    justify-content: flex-end;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__play-actions button {
    min-width: 104px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (orientation: landscape) and (min-width: 700px) and (max-width: 980px) and (max-height: 760px) {
  .iqos-rtb.is-calibrating .iqos-rtb__midi-monitor {
    width: calc(42% - 28px);
  }

  .iqos-rtb.is-calibrating .iqos-rtb__calibration-map {
    width: calc(58% - 28px);
  }

  .iqos-rtb.is-calibrating .iqos-rtb__feedback {
    width: 230px;
    min-width: 0;
  }

  .iqos-rtb.is-calibrating .iqos-rtb__play-actions {
    max-width: calc(100% - 290px);
  }

  .iqos-rtb.is-calibrating .iqos-rtb__play-actions button {
    min-width: 92px;
    padding: 0 10px;
    font-size: 12px;
  }
}
