#webinar-room .wr-payment-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 7px;
  width: 100%;
}

#webinar-room .wr-payment-row .wr-booking-text {
  height: 100%;
  line-height: 1.25;
}

#webinar-room .wr-marathon .wr-booking-text {
  position: relative;
  overflow: hidden;
  padding-inline: 33px;
  border: 1px solid #234cab;
  background:
    radial-gradient(circle at 12% 22%, #fff8 1px, transparent 2px),
    radial-gradient(circle at 21% 76%, #fff6 1px, transparent 2px),
    radial-gradient(circle at 81% 24%, #fff7 1px, transparent 2px),
    radial-gradient(circle at 90% 80%, #fff8 1px, transparent 2px),
    linear-gradient(112deg, #1a5dbf, #244bb8 62%, #553bb5);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 3px 10px #2548ab46;
}

#webinar-room .wr-marathon-snow {
  position: absolute;
  inset-inline-start: 13px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  color: #e9f4ff;
  font-size: 15px;
  line-height: 1;
}

#webinar-room .wr-marathon-snow:last-child {
  inset-inline-start: auto;
  inset-inline-end: 13px;
  font-size: 12px;
}

#webinar-room .wr-payment-row .wr-booking:hover .wr-booking-text {
  filter: brightness(.96);
}

#webinar-room .wr-guide {
  position: absolute;
  z-index: 18;
  inset-inline-end: max(14px, env(safe-area-inset-right));
  inset-block-end: calc(72px + env(safe-area-inset-bottom));
  display: grid;
  justify-items: end;
  gap: 9px;
  pointer-events: none;
}

#webinar-room.wr-focus .wr-guide,
#webinar-room.wr-keyboard .wr-guide {
  display: none;
}

#webinar-room .wr-guide-card,
#webinar-room .wr-guide-toggle {
  pointer-events: auto;
  box-shadow: 0 7px 26px #173a302b;
}

#webinar-room .wr-guide-card {
  width: min(295px, calc(100vw - 28px));
  max-height: min(220px, calc(var(--wr-height, 100dvh) - 145px));
  overflow: auto;
  padding: 12px 14px 14px;
  border: 1px solid #d6cfba;
  border-radius: 17px 17px 5px 17px;
  background: #fffdf6;
  color: #233e32;
}

#webinar-room .wr-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#webinar-room .wr-guide-heading strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

#webinar-room .wr-guide-heading small {
  display: block;
  color: #506759;
  font-size: 12px;
}

#webinar-room .wr-guide-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin-inline-end: -4px;
  border-radius: 50%;
  color: #315343;
  cursor: pointer;
}

#webinar-room .wr-guide-close:hover {
  background: #eef0e5;
}

#webinar-room .wr-guide-close svg {
  width: 16px;
  height: 16px;
}

#webinar-room .wr-guide-text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

#webinar-room .wr-guide-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 6px;
  color: #1b5b47;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#webinar-room .wr-guide-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 4px 13px 4px 4px;
  border: 1px solid #b4c3a9;
  border-radius: 999px;
  background: #fffdf6;
  color: #173d30;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

#webinar-room .wr-guide-toggle:hover,
#webinar-room .wr-guide-toggle[aria-expanded="true"] {
  background: #eef2e7;
}

#webinar-room .wr-guide-portrait {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
}

#webinar-room .wr-guide-portrait img {
  position: absolute;
  inset-block-start: -16px;
  inset-inline-start: 50%;
  width: 96px;
  height: auto;
  max-width: none;
  transform: translateX(-48.5%);
}

#webinar-room .wr-guide-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 720px), (max-width: 1000px) and (hover: none) and (pointer: coarse) {
  #webinar-room .wr-payment-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
