.gideon-tour-guide {
  position: relative;
  display: block;
  inline-size: var(--tour-guide-size, clamp(54px, 12vw, 68px));
  aspect-ratio: 1;
  flex: none;
  isolation: isolate;
  border-radius: 50%;
}

.gideon-tour-guide-portrait {
  position: absolute;
  inset: 0;
  border: 1px solid #91c9c5;
  border-radius: 50%;
  background: #b9c5c6 url("room-help-character.jpg") 57% 6% / 282% auto no-repeat;
}

.gideon-tour-guide canvas {
  display: none;
  width: 100%;
  height: auto;
}

.gideon-tour-guide[data-guide-ready] {
  border: 1px solid #9b9b9b;
  background: radial-gradient(ellipse at 46% 42%, #ddd 12%, #bcbcbc 60%, #929292 100%);
}

.gideon-tour-guide[data-guide-ready] canvas {
  display: block;
}

.gideon-tour-guide[data-guide-ready] .gideon-tour-guide-portrait {
  display: none;
}

:is(.tour-welcome, .tour-layer, .upgrade-tour) .gideon-tour-guide[data-guide-ready] {
  border-color: #87e3d4;
  background: radial-gradient(ellipse at 45% 39%, #d4f1ec, #89c4ba 72%, #5f9e93);
}

button:is(.tour-launcher, .tour-forward) {
  border-color: #a9f3e7;
  background: #8ee7d8;
  color: #101d21;
  font-weight: 800;
}

button.tour-launcher:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #a9f3e7;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
}

button.tour-launcher::before {
  content: "";
  flex: none;
  width: 10px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

button:is(.tour-launcher, .tour-forward):is(:hover, :focus-visible) {
  border-color: #c6fff5;
  background: #b6f4e9;
  color: #101d21;
}

button:is(.tour-launcher, .tour-forward):focus-visible {
  outline: 2px solid #b6f4e9;
  outline-offset: 3px;
}
