/* v1.131: text no smaller than 12px, for phones. */
/*! The Dream Hotel (v1.47): brass, velvet and starlight. Scoped to .dwx-dream-hotel and the teaser. */
.dwx-dream-hotel { --dwh-brass: #D9B98A; --dwh-brass-dim: rgba(217,185,138,.35); --dwh-velvet: #2A1838; }
.dwx-dream-hotel .dwh-card { background-image:
  radial-gradient(1px 1px at 12% 8%, rgba(255,255,255,.6), transparent 60%), radial-gradient(1px 1px at 78% 5%, rgba(255,255,255,.5), transparent 60%),
  radial-gradient(1.5px 1.5px at 42% 12%, rgba(255,255,255,.5), transparent 60%),
  radial-gradient(700px 420px at 50% -120px, rgba(217,185,138,.16), transparent 70%),
  linear-gradient(180deg, rgba(42,24,56,.35), transparent 60%); }
.dwx-dream-hotel .dwh-center { text-align: center; justify-content: center; }
.dwx-dream-hotel .dwh-gap { margin-top: 18px; }
.dwx-dream-hotel .dwh-loading { min-height: 300px; display: flex; align-items: center; justify-content: center; }

/* Forms */
.dwx-dream-hotel .dwh-label { display: block; font-size: 14px; font-weight: 700; color: var(--dwx-cream); margin: 14px 0 6px; }
.dwx-dream-hotel .dwh-input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--dwx-line-strong); background: var(--dwx-surface); color: var(--dwx-ink); font: inherit; font-size: 16px; }
.dwx-dream-hotel .dwh-input:focus { outline: 2px solid var(--dwh-brass); outline-offset: 1px; border-color: var(--dwh-brass); }
.dwx-dream-hotel .dwh-keyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dwx-dream-hotel .dwh-keyrow .dwh-input { flex: 1 1 220px; }
.dwx-dream-hotel .dwh-keyform { margin-top: 26px; padding-top: 6px; border-top: 1px solid var(--dwx-line); max-width: 560px; }
.dwx-dream-hotel .dwh-keymsg { margin-top: 10px; min-height: 1.4em; color: var(--dwx-cream); }

/* The locked door */
.dwx-dream-hotel .dwh-gate { text-align: left; }
.dwx-dream-hotel .dwh-gate-art { position: relative; width: 96px; height: 130px; margin: 0 0 18px; }
.dwx-dream-hotel .dwh-gate-door { position: absolute; inset: 0; border: 2px solid var(--dwh-brass); border-radius: 48px 48px 6px 6px; background: linear-gradient(180deg, #1A2A55, #0A1A3A); box-shadow: inset 0 0 0 8px rgba(1,15,42,.6), inset 0 0 0 9px var(--dwh-brass-dim); }
.dwx-dream-hotel .dwh-gate-door::after { content: ""; position: absolute; right: 18px; top: 64px; width: 8px; height: 8px; border-radius: 50%; background: var(--dwh-brass); }
.dwx-dream-hotel .dwh-gate-lamp { position: absolute; left: 50%; top: -14px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #FCE3B0; box-shadow: 0 0 22px 8px rgba(252,227,176,.35); animation: dwh-flicker 5s ease-in-out infinite; }
@keyframes dwh-flicker { 0%, 100% { opacity: 1; } 45% { opacity: .82; } 50% { opacity: .95; } }

/* Guest book */
.dwx-dream-hotel .dwh-guestbook { display: flex; justify-content: center; }
.dwx-dream-hotel .dwh-book-page { width: 100%; max-width: 520px; padding: 26px 26px 22px; border-radius: 6px 14px 14px 6px; background: linear-gradient(90deg, #E9DCC3, #F4EAD6 12%, #F4EAD6); color: #2B2230; box-shadow: 0 18px 40px -20px rgba(0,0,0,.8), inset 6px 0 10px -6px rgba(0,0,0,.25); }
.dwx-dream-hotel .dwh-book-head { font-family: var(--dwx-serif); font-style: italic; font-size: 1.6rem; color: #6B4E2E; border-bottom: 1px solid rgba(107,78,46,.3); padding-bottom: 6px; margin-bottom: 4px; }
.dwx-dream-hotel .dwh-book-page .dwh-label { color: #2B2230; }
.dwx-dream-hotel .dwh-book-page .dwx-small { color: #5D5260; }
.dwx-dream-hotel .dwh-input-ink { width: 100%; background: transparent; border: 0; border-bottom: 1.5px dashed rgba(107,78,46,.55); border-radius: 0; color: #22305E; font-family: var(--dwx-serif); font-style: italic; font-size: 1.9rem; padding: 4px 2px; }
.dwx-dream-hotel .dwh-input-ink::placeholder { color: rgba(43,34,48,.35); }
.dwx-dream-hotel .dwh-book-page .dwx-btn:not(.dwx-btn-primary) { color: #2B2230; border-color: rgba(43,34,48,.35); }

/* Lobby */
.dwx-dream-hotel .dwh-lobby-top { display: flex; gap: 24px; align-items: center; }
.dwx-dream-hotel .dwh-ring { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; max-width: 640px; }
.dwx-dream-hotel .dwh-hook { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 10px; border: 1px dashed var(--dwx-line-strong); color: var(--dwx-line-strong); font-size: 12px; text-align: center; }
.dwx-dream-hotel .dwh-hook-key svg { width: 44px; height: 18px; display: block; opacity: .35; }
.dwx-dream-hotel .dwh-hook.has-key { border-style: solid; border-color: var(--dwh-brass-dim); background: rgba(217,185,138,.06); color: var(--dwh-brass); }
.dwx-dream-hotel .dwh-hook.has-key .dwh-hook-key svg { opacity: 1; }
.dwx-dream-hotel .dwh-hook.has-key.is-gold { background: rgba(217,185,138,.18); box-shadow: 0 0 18px -4px rgba(217,185,138,.6); }
.dwx-dream-hotel .dwh-hook-word { font-family: var(--dwx-serif); font-style: italic; font-size: 15px; line-height: 1.1; word-break: break-word; }

.dwx-dream-hotel .dwh-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 760px; }
.dwx-dream-hotel .dwh-floor { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 10px 12px; min-height: 64px; border-radius: 12px; border: 1px solid var(--dwx-line); background: var(--dwx-surface); color: var(--dwx-ink); font: inherit; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dwx-dream-hotel .dwh-floor:hover, .dwx-dream-hotel .dwh-floor[aria-pressed="true"] { border-color: var(--dwh-brass); background: var(--dwx-soft); }
.dwx-dream-hotel .dwh-floor-n { grid-row: 1 / 3; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--dwx-line-strong); font-family: var(--dwx-serif); font-weight: 600; font-size: 1.2rem; color: var(--dwx-muted); }
.dwx-dream-hotel .dwh-floor-name { font-size: 13.5px; font-weight: 700; color: var(--dwx-cream); line-height: 1.25; }
.dwx-dream-hotel .dwh-floor-st { font-size: 12px; color: var(--dwx-muted); }
.dwx-dream-hotel .dwh-floor.is-open .dwh-floor-n, .dwx-dream-hotel .dwh-floor.is-new .dwh-floor-n { border-color: var(--dwh-brass); color: var(--dwh-brass); box-shadow: 0 0 14px -2px rgba(217,185,138,.55); }
.dwx-dream-hotel .dwh-floor.is-new .dwh-floor-st { color: var(--dwh-brass); font-weight: 700; }
.dwx-dream-hotel .dwh-floor.is-done .dwh-floor-n { background: var(--dwh-brass); border-color: var(--dwh-brass); color: var(--dwx-bg); }
.dwx-dream-hotel .dwh-floor.is-later, .dwx-dream-hotel .dwh-floor.is-needs { opacity: .62; }
.dwx-dream-hotel .dwh-floor-info { margin-top: 16px; min-height: 60px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--dwx-line); background: rgba(10,26,58,.55); max-width: 760px; }
.dwx-dream-hotel .dwh-floor-info:empty { display: none; }
.dwx-dream-hotel .dwh-fi-name { font-family: var(--dwx-serif); font-size: 1.45rem; color: var(--dwx-cream); margin-bottom: 4px; }
.dwx-dream-hotel .dwh-quick { margin-top: 12px; }

/* The lift dial */
.dwx-dream-hotel .dwh-dial { position: relative; flex: none; width: 150px; height: 82px; overflow: hidden; }
.dwx-dream-hotel .dwh-dial::before { content: ""; position: absolute; left: 0; top: 0; width: 150px; height: 150px; border-radius: 50%; border: 3px solid var(--dwh-brass); background: radial-gradient(circle at 50% 50%, #1A2A55 0 40%, #0A1A3A 70%); box-shadow: inset 0 0 0 7px rgba(1,15,42,.7), inset 0 0 0 8px var(--dwh-brass-dim); }
.dwx-dream-hotel .dwh-dial::after { content: ""; position: absolute; left: 14px; top: 14px; width: 122px; height: 122px; border-radius: 50%; background: repeating-conic-gradient(from -90deg, rgba(217,185,138,.55) 0 1.2deg, transparent 1.2deg 15deg); -webkit-mask: radial-gradient(circle, transparent 0 52px, #000 53px 61px, transparent 62px); mask: radial-gradient(circle, transparent 0 52px, #000 53px 61px, transparent 62px); }
.dwx-dream-hotel .dwh-needle { --a: -80deg; z-index: 1; position: absolute; left: 74px; bottom: 7px; width: 2px; height: 58px; background: var(--dwh-brass); transform-origin: 50% 100%; transform: rotate(var(--a)); transition: transform 2.4s cubic-bezier(.4,.1,.3,1); border-radius: 2px; }
.dwx-dream-hotel .dwh-needle::after { content: ""; position: absolute; left: -5px; bottom: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--dwh-brass); }
.dwx-dream-hotel .dwh-dial-l { position: absolute; left: 12px; bottom: 6px; font-family: var(--dwx-serif); font-weight: 600; color: var(--dwh-brass); font-size: 15px; }
.dwx-dream-hotel .dwh-scene { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px 0; }
.dwx-dream-hotel .dwh-dial-text { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dwh-brass); }
.dwx-dream-hotel .dwh-scene--floor .dwh-dial { opacity: .55; transform: scale(.8); transition: opacity 2s, transform 2s; }
.dwx-dream-hotel .dwh-scene + .dwx-narr { padding-top: 14px; min-height: 340px; }

/* Puzzles: shared */
.dwx-dream-hotel .dwh-task { text-align: center; }
.dwx-dream-hotel .dwh-task-place { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--dwx-lav); }
.dwx-dream-hotel .dwh-task-h { font-family: var(--dwx-serif); font-weight: 500; font-size: clamp(1.5rem, 3.6vw, 2rem); color: var(--dwx-cream); line-height: 1.2; margin: 8px auto 6px; max-width: 30ch; }
.dwx-dream-hotel .dwh-task-help { max-width: 52ch; margin: 0 auto; }
.dwx-dream-hotel .dwh-play { margin: 24px auto 8px; max-width: 680px; }
.dwx-dream-hotel .dwh-task-msg { min-height: 1.6em; font-family: var(--dwx-serif); font-style: italic; font-size: 1.3rem; color: var(--dwh-brass); margin-top: 10px; }

/* 1. Linen */
.dwx-dream-hotel .dwh-sheet { position: relative; width: 220px; height: 150px; margin: 0 auto; display: block; border: 0; padding: 0; background: none; cursor: pointer; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.dwx-dream-hotel .dwh-sheet-cloth { position: absolute; inset: 20px 10px; border-radius: 8px; background: linear-gradient(160deg, #FFFFFF, #E9E4DA); box-shadow: 0 14px 30px -14px rgba(0,0,0,.8); transition: transform 3.6s ease-in-out, inset 3.6s ease-in-out; transform-origin: 50% 100%; }
.dwx-dream-hotel .dwh-sheet.is-in .dwh-sheet-cloth { transform: translateY(-14px) scale(1.06); box-shadow: 0 0 40px -6px rgba(255,255,255,.45); transition-duration: 4s; }
.dwx-dream-hotel .dwh-sheet.is-out .dwh-sheet-cloth { transform: scaleY(.18) translateY(240px); opacity: .7; transition-duration: 3.2s; }
.dwx-dream-hotel .dwh-pile { list-style: none; margin: 14px auto 0; padding: 0; width: 180px; display: flex; flex-direction: column-reverse; gap: 3px; }
.dwx-dream-hotel .dwh-pile li { height: 10px; border-radius: 3px; border: 1px dashed var(--dwx-line-strong); }
.dwx-dream-hotel .dwh-pile li.is-folded { border: 0; background: linear-gradient(90deg, #EDE7DC, #FFFFFF, #EDE7DC); animation: dwh-drop .8s ease; }
@keyframes dwh-drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 2. Clocks */
.dwx-dream-hotel .dwh-face circle:first-child { fill: #0A1A3A; stroke: var(--dwh-brass); stroke-width: 2.5; }
.dwx-dream-hotel .dwh-face .dwh-ticks line { stroke: var(--dwh-brass-dim); stroke-width: 1.5; }
.dwx-dream-hotel .dwh-face .dwh-hand { stroke: var(--dwx-cream); stroke-width: 3.2; stroke-linecap: round; transform-origin: 50px 50px; transition: transform .7s cubic-bezier(.4,.1,.3,1.3); }
.dwx-dream-hotel .dwh-face .dwh-pin { fill: var(--dwh-brass); }
.dwx-dream-hotel .dwh-grand { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 18px; }
.dwx-dream-hotel .dwh-grand svg { width: 120px; height: 120px; }
.dwx-dream-hotel .dwh-grand span { font-family: var(--dwx-serif); font-style: italic; color: var(--dwh-brass); font-size: 1.15rem; }
.dwx-dream-hotel .dwh-clocks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dwx-dream-hotel .dwh-clock { width: 84px; height: 84px; padding: 4px; border-radius: 50%; border: 0; background: none; cursor: pointer; }
.dwx-dream-hotel .dwh-clock svg { width: 100%; height: 100%; display: block; }
.dwx-dream-hotel .dwh-clock.is-set svg { filter: drop-shadow(0 0 10px rgba(217,185,138,.7)); }
.dwx-dream-hotel .dwh-clock.is-set .dwh-hand { stroke: var(--dwh-brass); }

/* 3. Lilies */
.dwx-dream-hotel .dwh-lilies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 360px; margin: 0 auto; }
.dwx-dream-hotel .dwh-lily { aspect-ratio: 1; border-radius: 50%; border: 1px solid #2D4A3A; background: radial-gradient(circle, #1F3A2E 0 30%, #10241C 70%); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: box-shadow .4s, background .4s; }
.dwx-dream-hotel .dwh-lily span { width: 40%; height: 40%; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #C9D6CF; opacity: .45; transition: transform .5s, opacity .5s; }
.dwx-dream-hotel .dwh-lily.is-glow { box-shadow: 0 0 34px 6px rgba(240,236,220,.55); background: radial-gradient(circle, #F4F0E2 0 25%, #355C49 70%); }
.dwx-dream-hotel .dwh-lily.is-glow span, .dwx-dream-hotel .dwh-lily.is-open span { opacity: 1; transform: scale(1.5); background: #FFFFFF; }
.dwx-dream-hotel .dwh-lily.is-open { box-shadow: 0 0 18px 2px rgba(240,236,220,.3); }

/* 4. Lost Property */
.dwx-dream-hotel .dwh-tagform { text-align: left; max-width: 520px; margin: 0 auto; }
.dwx-dream-hotel .dwh-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dwx-dream-hotel .dwh-tags { list-style: none; margin: 18px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dwx-dream-hotel .dwh-ltag { position: relative; padding: 12px 18px 12px 34px; max-width: 240px; background: #C8A878; color: #2B2230; font-family: var(--dwx-serif); font-size: 1.15rem; font-style: italic; text-align: left; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); transition: transform .9s, opacity .9s; }
.dwx-dream-hotel .dwh-ltag-hole { position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--dwx-bg); }
.dwx-dream-hotel .dwh-ltag.is-stamped::after { content: attr(data-stamp); position: absolute; right: 6px; bottom: -6px; padding: 2px 6px; border: 2px solid #8A2F3B; color: #8A2F3B; font-family: var(--dwx-sans); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-8deg); background: rgba(200,168,120,.9); }
.dwx-dream-hotel .dwh-ltag.is-gone { transform: translateY(-30px) scale(.85); opacity: 0; }

/* 5. Chimes */
.dwx-dream-hotel .dwh-chimes { display: flex; justify-content: center; align-items: flex-start; gap: 18px; height: 220px; border-top: 3px solid var(--dwh-brass-dim); padding-top: 0; }
.dwx-dream-hotel .dwh-chime { position: relative; width: 44px; height: 100%; border: 0; background: none; padding: 0; cursor: pointer; }
.dwx-dream-hotel .dwh-chime::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 14px; background: var(--dwx-muted); }
.dwx-dream-hotel .dwh-chime span { position: absolute; left: 50%; top: 14px; width: 16px; margin-left: -8px; height: var(--len); border-radius: 8px; background: linear-gradient(90deg, #8E97A8, #E8ECF2 45%, #9AA3B4); transform-origin: 50% 0; }
.dwx-dream-hotel .dwh-chime.is-ring span { animation: dwh-swing 2.2s ease-out; }
.dwx-dream-hotel .dwh-chime.is-done span { background: linear-gradient(90deg, #B08D55, #F4DFB6 45%, #B08D55); box-shadow: 0 0 14px rgba(217,185,138,.5); }
.dwx-dream-hotel .dwh-chime[disabled] { cursor: default; }
@keyframes dwh-swing { 0% { transform: rotate(0); } 15% { transform: rotate(6deg); } 35% { transform: rotate(-4deg); } 55% { transform: rotate(2deg); } 75% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }

/* 6. Library */
.dwx-dream-hotel .dwh-riddle-n { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dwx-muted); }
.dwx-dream-hotel .dwh-riddle { margin: 8px auto 20px; max-width: 34ch; font-family: var(--dwx-serif); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--dwx-cream); }
.dwx-dream-hotel .dwh-shelf { display: flex; justify-content: center; align-items: flex-end; gap: 10px; height: 190px; padding: 0 10px; border-bottom: 10px solid #4A3424; }
.dwx-dream-hotel .dwh-book { width: 64px; height: var(--h); border: 0; border-radius: 4px 4px 0 0; cursor: pointer; background: linear-gradient(90deg, #3E2A48, #5A3F66 50%, #3E2A48); color: var(--dwx-cream); display: flex; align-items: center; justify-content: center; transition: transform .6s, opacity .6s, box-shadow .3s; }
.dwx-dream-hotel .dwh-book:nth-child(2) { background: linear-gradient(90deg, #233D5E, #34557E 50%, #233D5E); }
.dwx-dream-hotel .dwh-book:nth-child(3) { background: linear-gradient(90deg, #2C4A3A, #3F6650 50%, #2C4A3A); }
.dwx-dream-hotel .dwh-book:nth-child(4) { background: linear-gradient(90deg, #5A3328, #7A4A3A 50%, #5A3328); }
.dwx-dream-hotel .dwh-book span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--dwx-serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.dwx-dream-hotel .dwh-book:hover { transform: translateY(-6px); }
.dwx-dream-hotel .dwh-book.is-right { transform: translateY(-22px); box-shadow: 0 0 22px rgba(217,185,138,.6); }
.dwx-dream-hotel .dwh-book.is-back { opacity: .35; transform: none; cursor: default; }

/* 7. Pool */
.dwx-dream-hotel .dwh-pool { --calm: 0; position: relative; width: min(100%, 420px); aspect-ratio: 16 / 10; margin: 0 auto; border-radius: 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #2E6E93, #12354F 70%); box-shadow: inset 0 0 0 6px rgba(255,255,255,.08), inset 0 0 60px rgba(0,0,0,.5); }
.dwx-dream-hotel .dwh-ripple { position: absolute; left: 50%; top: 55%; width: 40px; height: 16px; margin: -8px 0 0 -20px; border-radius: 50%; border: 1.5px solid rgba(220,240,255,calc(.5 - var(--calm) * .45)); animation: dwh-ripple 5s linear infinite; }
.dwx-dream-hotel .dwh-ripple:nth-child(2) { animation-delay: -1.66s; }
.dwx-dream-hotel .dwh-ripple:nth-child(3) { animation-delay: -3.33s; }
.dwx-dream-hotel .dwh-pool.is-stir .dwh-ripple { border-color: rgba(220,240,255,.7); }
.dwx-dream-hotel .dwh-pool.is-glass .dwh-ripple { animation: none; opacity: 0; }
.dwx-dream-hotel .dwh-pool.is-glass { box-shadow: inset 0 0 0 6px rgba(255,255,255,.08), inset 0 0 80px rgba(160,210,240,.25); }
.dwx-dream-hotel .dwh-pool-n { position: absolute; right: 14px; bottom: 10px; font-family: var(--dwx-serif); font-size: 1.4rem; color: rgba(240,248,255,.7); }
@keyframes dwh-ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(7); opacity: 0; } }

/* 8. Star chart */
.dwx-dream-hotel .dwh-chart { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; border-radius: 16px; background: radial-gradient(ellipse at 50% 40%, #13254D, #071433 75%); border: 1px solid var(--dwx-line); }
.dwx-dream-hotel .dwh-bgstar { fill: rgba(255,255,255,.45); }
.dwx-dream-hotel .dwh-lines line { stroke: var(--dwh-brass); stroke-width: 2; stroke-linecap: round; animation: dwh-draw 1s ease forwards; stroke-dasharray: 200; stroke-dashoffset: 200; }
@keyframes dwh-draw { to { stroke-dashoffset: 0; } }
.dwx-dream-hotel .dwh-star { cursor: pointer; outline: none; }
.dwx-dream-hotel .dwh-star .dwh-hit { fill: transparent; }
.dwx-dream-hotel .dwh-star .dwh-dot { fill: #F0E0C8; transition: r .3s; }
.dwx-dream-hotel .dwh-star text { fill: var(--dwx-muted); font-size: 10px; font-family: var(--dwx-sans); }
.dwx-dream-hotel .dwh-star:focus-visible .dwh-hit { stroke: var(--dwh-brass); stroke-width: 1.5; }
.dwx-dream-hotel .dwh-star.is-on .dwh-dot { fill: var(--dwh-brass); filter: drop-shadow(0 0 5px rgba(217,185,138,.9)); }
.dwx-dream-hotel .dwh-star.is-no { animation: dwh-shake .4s; }
.dwx-dream-hotel .dwh-chart.is-key .dwh-lines line { stroke-width: 3.5; filter: drop-shadow(0 0 6px rgba(217,185,138,.8)); }
@keyframes dwh-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }

/* 9. Kitchen */
.dwx-dream-hotel .dwh-group { text-align: left; margin: 0 0 16px; }
.dwx-dream-hotel .dwh-group legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dwx-lav); margin-bottom: 8px; }
.dwx-dream-hotel .dwh-opts { display: flex; flex-wrap: wrap; gap: 8px; }

/* 10. Gallery */
.dwx-dream-hotel .dwh-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 520px; margin: 0 auto; }
.dwx-dream-hotel .dwh-art { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; background: none; cursor: pointer; perspective: 600px; }
.dwx-dream-hotel .dwh-art > span { position: absolute; inset: 0; border-radius: 6px; backface-visibility: hidden; transition: transform .6s; border: 4px solid #8C6A3E; box-shadow: inset 0 0 0 2px #C9A15A, 0 8px 16px -8px rgba(0,0,0,.8); overflow: hidden; }
.dwx-dream-hotel .dwh-art-back { background: repeating-linear-gradient(45deg, #3A2A1C 0 6px, #33251A 6px 12px); }
.dwx-dream-hotel .dwh-art-front { transform: rotateY(180deg); }
.dwx-dream-hotel .dwh-art-front svg { width: 100%; height: 100%; display: block; }
.dwx-dream-hotel .dwh-art.is-up .dwh-art-back { transform: rotateY(-180deg); }
.dwx-dream-hotel .dwh-art.is-up .dwh-art-front { transform: rotateY(0); }
.dwx-dream-hotel .dwh-art.is-matched > span { box-shadow: inset 0 0 0 2px #F4DFB6, 0 0 16px rgba(217,185,138,.55); }

/* 11. Engine room */
.dwx-dream-hotel .dwh-dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dwx-dream-hotel .dwh-gauge { padding: 14px 10px; border-radius: 14px; border: 1px solid var(--dwx-line); background: var(--dwx-surface); }
.dwx-dream-hotel .dwh-gauge svg { width: 100%; max-width: 150px; height: auto; display: block; margin: 0 auto; }
.dwx-dream-hotel .dwh-arc, .dwx-dream-hotel .dwh-arc-on { fill: none; stroke-width: 8; stroke-linecap: round; }
.dwx-dream-hotel .dwh-arc { stroke: var(--dwx-line); }
.dwx-dream-hotel .dwh-arc-on { stroke: var(--dwh-brass); transition: stroke-dasharray .8s; }
.dwx-dream-hotel .dwh-gneedle { stroke: var(--dwx-cream); stroke-width: 2.5; stroke-linecap: round; transform-origin: 60px 64px; transition: transform .8s cubic-bezier(.4,.1,.3,1.2); }
.dwx-dream-hotel .dwh-gauge-v { font-family: var(--dwx-serif); font-size: 2rem; color: var(--dwx-cream); line-height: 1; margin-top: 4px; }
.dwx-dream-hotel .dwh-gauge-name { font-size: 13px; font-weight: 700; color: var(--dwx-muted); margin: 4px 0 8px; }
.dwx-dream-hotel .dwh-gauge input[type="range"] { width: 100%; accent-color: var(--dwh-brass); direction: rtl; }
.dwx-dream-hotel .dwh-gauge.is-zero { border-color: var(--dwh-brass-dim); box-shadow: 0 0 18px -6px rgba(217,185,138,.6); }

/* 12. The room with no number */
.dwx-dream-hotel .dwh-door { position: relative; width: 170px; height: 240px; margin: 0 auto 20px; border: 3px solid var(--dwh-brass); border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #2A1838, #1A1030); box-shadow: inset 0 0 0 10px rgba(1,15,42,.5), inset 0 0 0 11px var(--dwh-brass-dim); transition: box-shadow 2s, background 2s; }
.dwx-dream-hotel .dwh-plate { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); max-width: 140px; padding: 4px 12px; border-radius: 4px; background: linear-gradient(180deg, #E7CC96, #B8945A); color: #2B2230; font-family: var(--dwx-serif); font-style: italic; font-weight: 600; font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dwx-dream-hotel .dwh-keyhole { position: absolute; right: 26px; top: 128px; width: 12px; height: 20px; }
.dwx-dream-hotel .dwh-keyhole::before { content: ""; position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: #05091A; }
.dwx-dream-hotel .dwh-keyhole::after { content: ""; position: absolute; left: 3px; top: 8px; border: 3px solid transparent; border-bottom: 12px solid #05091A; }
.dwx-dream-hotel .dwh-door.is-open { background: linear-gradient(180deg, #FCE7BE, #E1B877); box-shadow: 0 0 60px 10px rgba(252,231,190,.45); }
.dwx-dream-hotel .dwh-ringkeys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dwx-dream-hotel .dwh-rkey { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; padding: 8px 8px 6px; border-radius: 10px; border: 1px solid var(--dwh-brass-dim); background: transparent; color: var(--dwh-brass); cursor: pointer; font: inherit; }
.dwx-dream-hotel .dwh-rkey svg { width: 42px; height: 16px; transition: transform .6s; }
.dwx-dream-hotel .dwh-rkey span { font-family: var(--dwx-serif); font-style: italic; font-size: 14px; }
.dwx-dream-hotel .dwh-rkey[aria-pressed="true"] { background: rgba(217,185,138,.16); border-color: var(--dwh-brass); }
.dwx-dream-hotel .dwh-rkey[aria-pressed="true"] svg { transform: rotate(90deg); }

/* The key, and the choice afterwards */
.dwx-dream-hotel .dwh-keybox { text-align: center; }
.dwx-dream-hotel .dwh-bigkey { width: 180px; margin: 0 auto 8px; color: var(--dwh-brass); animation: dwh-arrive 2.4s ease; }
.dwx-dream-hotel .dwh-bigkey svg { width: 100%; height: auto; filter: drop-shadow(0 0 12px rgba(217,185,138,.5)); }
.dwx-dream-hotel .dwh-bigkey.is-gold { color: #F4D58A; }
.dwx-dream-hotel .dwh-bigkey.is-gold svg { filter: drop-shadow(0 0 22px rgba(244,213,138,.85)); }
@keyframes dwh-arrive { from { opacity: 0; transform: translateY(14px) rotate(-8deg); } to { opacity: 1; transform: none; } }
.dwx-dream-hotel .dwh-tag { display: inline-flex; flex-direction: column; gap: 2px; padding: 12px 26px; margin: 4px auto 18px; background: #EFE3C9; color: #2B2230; border-radius: 6px; box-shadow: 0 10px 22px -12px rgba(0,0,0,.8); }
.dwx-dream-hotel .dwh-tag span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6B4E2E; }
.dwx-dream-hotel .dwh-tag strong { font-family: var(--dwx-serif); font-style: italic; font-weight: 600; font-size: 2rem; line-height: 1.1; }
.dwx-dream-hotel .dwh-tag em { font-size: 14px; color: #5D5260; }
.dwx-dream-hotel .dwh-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; margin: 18px auto 0; }
.dwx-dream-hotel .dwh-choice .dwx-choice { text-align: center; }
.dwx-dream-hotel .dwh-choice .dwx-choice span { display: block; margin-top: 6px; font-family: var(--dwx-sans); font-style: normal; font-size: 13.5px; color: var(--dwx-muted); line-height: 1.4; }

.dwx-dream-hotel .dwh-end .dwh-ring { margin: 20px 0 14px; }
.dwx-dream-hotel .dwh-end.is-asleep { opacity: .75; }

/* The teaser card */
.dwh-teaser-app { max-width: 820px; margin: 28px auto 0; }
.dwh-teaser { display: flex; gap: 26px; align-items: center; padding: 26px 28px; border-radius: 18px; border: 1px solid rgba(217,185,138,.45); color: var(--dwx-ink);
  background: radial-gradient(120% 140% at 0% 0%, rgba(217,185,138,.14), rgba(217,185,138,0) 60%), linear-gradient(160deg, #0F1E44, #010F2A); box-shadow: 0 24px 60px -30px rgba(0,0,0,.7); }
.dwh-teaser-art { flex: none; width: 90px; height: auto; color: #D9B98A; }
.dwh-teaser-body { min-width: 0; }
.dwh-teaser-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #D9B98A; }
.dwh-lock { font-size: 13px; }
.dwh-teaser-h { margin: 0 0 8px; padding: 0; font-family: var(--dwx-serif); font-weight: 500; font-size: 2rem; line-height: 1.1; color: #F0E0C8; }
.dwh-teaser-h em { color: #D9B98A; }
.dwh-teaser-text { margin: 0; color: #B9B2AC; max-width: 56ch; }
.dwh-teaser .dwx-row { margin-top: 16px; }

@media (max-width: 700px) {
  .dwx-dream-hotel .dwh-panel { grid-template-columns: repeat(2, 1fr); }
  .dwx-dream-hotel .dwh-ring { grid-template-columns: repeat(4, 1fr); }
  .dwx-dream-hotel .dwh-lobby-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dwx-dream-hotel .dwh-choice { grid-template-columns: 1fr; }
  .dwx-dream-hotel .dwh-gallery { grid-template-columns: repeat(3, 1fr); }
  .dwx-dream-hotel .dwh-dials { grid-template-columns: 1fr; max-width: 260px; margin: 0 auto; }
  .dwx-dream-hotel .dwh-chimes { gap: 10px; }
  .dwx-dream-hotel .dwh-book { width: 54px; }
  .dwh-teaser { flex-direction: column; align-items: flex-start; padding: 22px 20px; gap: 14px; }
  .dwh-teaser-art { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .dwx-dream-hotel *, .dwx-dream-hotel *::before, .dwx-dream-hotel *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .dwx-dream-hotel .dwh-ripple { animation: none; }
}
