/* UNDER THE RUG preview page. Palette and type are the game's own (src/render.js, src/main.js). */
:root {
  --night: #0b0818;
  --wall: #24140c;
  --plum: #1a1030;
  --lava: #ffe9a8;
  --lava-deep: #a8682a;
  --gold: #ffc887;
  --cream: #f3ead8;
  --lilac: #cfc6b8;
  --dim: #a99ab8;
  --font: "Trebuchet MS", "Avenir Next", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 18px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}
a {
  color: var(--gold);
}
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: rgba(11, 8, 24, 0.92);
  border-bottom: 1px solid #2c2440;
  backdrop-filter: blur(6px);
}
.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--lava);
}
.top-cta {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--night);
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 8px;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 8px;
  text-align: center;
}
.kicker {
  color: var(--dim);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}
h1 {
  margin: 0;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(32px, 5.4vw, 58px);
  color: var(--lava);
  text-shadow: 0 3px 0 #5a3410;
}
.sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: #fff;
  margin: 12px auto 16px;
  max-width: 40em;
}
.frame {
  position: relative;
  width: min(100%, 960px);
  aspect-ratio: 3 / 2;
  max-height: 62vh;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  background: var(--plum);
  box-shadow:
    0 0 0 2px #3a3050,
    0 18px 60px rgba(255, 220, 140, 0.18);
}
.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.under {
  color: var(--lilac);
  font-size: 16px;
  max-width: 40em;
  margin: 14px auto 6px;
}
.cta-row {
  margin: 14px 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: center;
  align-items: center;
}
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 19px;
  color: var(--night);
  background: linear-gradient(#fff3c8, #ffd27a);
  padding: 13px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--lava-deep);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--lava-deep);
}
.note {
  color: var(--dim);
  font-size: 15px;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 20px 60px;
}
section {
  padding-top: 34px;
}
h2 {
  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.15;
  color: var(--gold);
  margin: 0 0 12px;
}
p,
li,
dd {
  color: var(--cream);
}
ul,
ol {
  padding-left: 1.2em;
}
li {
  margin: 6px 0;
}
.rooms b {
  color: #fff;
  letter-spacing: 0.02em;
}
figure {
  margin: 22px 0 6px;
}
figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 0 0 1px #3a3050;
}
figcaption {
  color: var(--dim);
  font-size: 14px;
  margin-top: 6px;
}
.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 16px;
}
th,
td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid #2c2440;
}
th {
  color: var(--dim);
  font-weight: 700;
  font-size: 14px;
}
td:not(:first-child),
th:not(:first-child) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
tr.hi td {
  color: #fff;
  background: rgba(255, 210, 122, 0.14);
  font-weight: 700;
}
dl dt {
  font-weight: 800;
  color: #fff;
  margin-top: 18px;
}
dl dd {
  margin: 4px 0 0;
}
.close {
  text-align: center;
  padding-top: 48px;
}
.close p {
  font-size: 20px;
}
.fine {
  color: var(--dim);
  font-size: 14px !important;
}

.desk-only {
  display: inline;
}
.touch-only {
  display: none;
}
@media (hover: none) and (pointer: coarse) {
  .desk-only {
    display: none;
  }
  .touch-only {
    display: inline;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 17px;
  }
  .hero {
    padding: 18px 10px 4px;
  }
  .frame {
    border-radius: 10px;
    aspect-ratio: auto;
    width: 100%;
    height: min(62vh, 540px);
    max-height: none;
  }
  .kicker {
    font-size: 12px;
  }
}

body {
  background: linear-gradient(var(--wall) 0, var(--night) 900px);
}
figure.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
figure.pair figcaption {
  grid-column: 1 / -1;
}
details {
  border: 1px solid #3a3050;
  border-radius: 12px;
  padding: 4px 16px 10px;
  background: rgba(26, 16, 48, 0.6);
}
summary {
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  padding: 10px 0;
}
