.gp-room-widget {
  --gp-ink: #172033;
  --gp-muted: #647086;
  --gp-accent: #cbea38;
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 17px 0 19px;
  padding: 14px;
  border: 1px solid #dfe4d2;
  border-radius: 13px;
  background:
    radial-gradient(circle at 4% 15%, rgba(203, 234, 56, .16), transparent 34%),
    linear-gradient(135deg, #fbfcf7, #fff);
  box-shadow: 0 10px 30px rgba(23, 32, 51, .06);
  color: var(--gp-ink);
}

.gp-room-widget * {
  box-sizing: border-box;
}

.gp-room-widget__visual {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.gp-room-widget__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gp-room-widget__visual span {
  position: absolute;
  left: 5px;
  bottom: 5px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #171a20;
  color: var(--gp-accent);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}

.gp-room-widget__copy {
  min-width: 0;
}

.gp-room-widget__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #80920f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gp-room-widget__copy h2 {
  margin: 0 0 5px;
  color: var(--gp-ink);
  font-size: 15px;
  line-height: 1.25;
}

.gp-room-widget__copy p {
  margin: 0;
  color: var(--gp-muted);
  font-size: 10px;
  line-height: 1.45;
}

.gp-room-widget__meta {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #6d715f;
  font-size: 8px;
  font-weight: 700;
}

.gp-room-widget__button {
  min-width: 190px;
  min-height: 52px;
  padding: 9px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: var(--gp-accent);
  color: #16191d;
  text-decoration: none;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
  transition: transform .18s ease, background .18s ease;
}

.gp-room-modal-open {
  overflow: hidden;
}

.gp-room-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
}

.gp-room-modal.is-open {
  display: block;
}

.gp-room-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, .72);
  backdrop-filter: blur(7px);
}

.gp-room-modal__panel {
  position: absolute;
  inset: 22px;
  max-width: 1380px;
  margin: auto;
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(0, 0, 0, .34);
  overflow: hidden;
}

.gp-room-modal__head {
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #2e3036;
  background: #121317;
  color: #fff;
}

.gp-room-modal__head > div {
  display: grid;
  gap: 2px;
}

.gp-room-modal__head strong {
  font-size: 13px;
}

.gp-room-modal__head span {
  color: #aeb1b7;
  font-size: 9px;
}

.gp-room-modal__close {
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid #454850;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.gp-room-modal iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #121317;
}

.gp-room-widget__button:hover {
  color: #16191d;
  background: #d9f55b;
  transform: translateY(-1px);
}

.gp-room-widget__button span {
  font-size: 11px;
  font-weight: 900;
}

.gp-room-widget__button small {
  margin-top: 3px;
  opacity: .7;
  font-size: 8px;
}

@media (max-width: 767px) {
  .gp-room-widget {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
  }

  .gp-room-widget__visual {
    width: 62px;
    height: 62px;
  }

  .gp-room-widget__copy h2 {
    font-size: 14px;
  }

  .gp-room-widget__copy p,
  .gp-room-widget__meta {
    display: none;
  }

  .gp-room-widget__button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .gp-room-modal__panel {
    inset: 0;
    border-radius: 0;
  }
}
