:root {
  --bg: #F6F1EA;
  --surface: #FFFEFC;
  --ink: #2E2420;
  --ink-soft: #7A6B5D;
  --accent: #7C2F2E;
  --line: #E4D9CB;
}

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

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tour-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 28px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.tour-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.back:hover {
  text-decoration: underline;
}

.back svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.tour-title {
  min-width: 0;
}

.tour-title h1 {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.tour-title p {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 2px 0 0;
}

.tour-open {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  background: var(--bg);
}

.tour-open:hover {
  border-color: var(--ink);
}

.tour-frame {
  flex: 1;
  min-height: 0;
  position: relative;
  background: #1a1412;
}

.tour-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 560px) {
  .tour-title p {
    display: none;
  }

  .tour-open {
    display: none;
  }
}
