:root{--paper:#fbf7ef;--ink:#2a1d32;--muted:#665b68;--plum:#542849;--line:#e6dcd0;--serif:Georgia,'Times New Roman',serif;--body:system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-padding-top:1rem}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--body)}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--serif);line-height:1.05;font-weight:normal}
h1{font-size:clamp(3.05rem,6vw,5.75rem);letter-spacing:-.062em;max-width:10ch}
h2{font-size:clamp(2.2rem,4vw,3.55rem);letter-spacing:-.042em}
h3{font-size:1.55rem;letter-spacing:-.023em}
a{color:inherit;text-decoration:none}
button{font:inherit}
button:not(:disabled){cursor:pointer}
:focus-visible{outline:3px solid #a44978;outline-offset:4px}
.wrap{width:min(100% - 3rem,75rem);margin-inline:auto}
.top{border-bottom:1px solid var(--line)}
.top-inner{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:5rem}
.brand{display:flex;align-items:center;gap:.7rem;font-weight:750;font-size:.9rem;letter-spacing:.16em;line-height:1.35}
.brand small{display:block;letter-spacing:0;font-weight:500;font-size:.86rem;color:var(--muted)}
.brand-mark{display:grid;place-items:center;width:2.25rem;height:2.6rem;background:#f1e4ec;color:var(--plum);border-radius:50% 50% 6px 6px;font:1.38rem var(--serif);letter-spacing:0}
.wallet,.points-pill{border:1px solid #deceda;background:#f5eaf0;padding:.55rem .9rem;border-radius:999px;color:var(--plum);white-space:nowrap;font-size:.9rem}
.hero{margin-block:1.55rem 2.7rem;display:grid;grid-template-columns:1.02fr 1fr;overflow:hidden;border-radius:1.3rem;background:#f2e7dd;min-height:29rem}
.hero-copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:1.03rem;padding:clamp(1.65rem,4.5vw,4.4rem)}
.eyebrow{font-size:.87rem;font-weight:750;text-transform:uppercase;letter-spacing:.14em;color:#754063}
.hero-copy>p:not(.eyebrow){color:#554852;max-width:37ch}
.hero-image{position:relative;background:#301f33;min-height:17rem}
.hero-image img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.button{min-height:2.85rem;border-radius:.55rem;padding:.58rem .9rem;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;text-align:center;font-weight:700;line-height:1.25}
.primary{background:var(--plum);color:white}
.primary:hover{background:#6b355b}
.soft{border-color:#cbbeca;background:#fffaf5;color:var(--ink)}
.soft:hover{background:#f3e8ee}
button:disabled{background:#eee9e2;color:#635b63;border:1px solid #ddd4c9}
.muted{color:var(--muted)}
.world-section h2,.section-heading h2{margin-bottom:.45rem}
.world-grid,.reward-grid{display:grid;gap:1rem;margin-top:1.15rem}
.world-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:2.7rem}
.world-card,.reward,.play-panel{border:1px solid var(--line);border-radius:.9rem;padding:1.15rem;background:white}
.world-card{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;min-height:17rem}
.world-card[data-theme="rose"]{background:#f8e8ec}
.world-card[data-theme="green"]{background:#e7f1e9}
.world-card[data-theme="gold"]{background:#f9eed8}
.world-card[data-theme="lilac"]{background:#ece6f4}
.world-card .icon,.reward .icon{font-size:1.6rem;background:#ffffffa8;line-height:1;display:grid;place-items:center;width:2.65rem;height:2.65rem;border-radius:.7rem}
.age{font-weight:750;color:#56445d;font-size:.9rem}
.world-card .description{color:#564d59;flex:1}
.world-card .button{width:100%;justify-content:space-between;gap:.3rem}
.world-card .button span{font-weight:600;font-size:.88rem;white-space:nowrap}
.play-section{padding-bottom:2.7rem}
.play-panel{max-width:49rem;margin-inline:auto;padding:clamp(1.2rem,4vw,2.5rem)}
.play-panel .eyebrow{margin-bottom:.6rem}
.play-panel h2{margin-bottom:.85rem}
.options{display:grid;gap:.6rem;margin-top:1.1rem}
.options button{justify-content:flex-start;text-align:left}
.options button.correct{background:#e3f2e5;color:#244a30;border-color:#89ad8e}
.question-icons{font-size:1.55rem;margin-top:.7rem;letter-spacing:.12em}
.feedback{min-height:1.55em;margin-top:.65rem;color:#754063}
.actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:.85rem}
.rewards-section{background:#f1e8dd;border-top:1px solid var(--line);padding-block:2.1rem 2.5rem}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}
.section-heading .eyebrow{margin-bottom:.45rem}
.reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.reward{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;background:#fffcf7}
.reward .icon{background:#f4ebdf}
.reward-location{color:var(--plum);font-size:.9rem;font-weight:700}
.reward-condition{flex:1}
.reward button{align-self:stretch;margin-top:.35rem}
#notice:not(:empty){margin-top:1rem}
#redeem-description{font-weight:700;margin-bottom:.4rem}
.footer{padding-block:1.25rem;display:flex;justify-content:space-between;gap:.75rem;color:var(--muted);font-size:.9rem}
.footer strong{letter-spacing:.12em;color:var(--plum)}
dialog{max-width:min(31rem,calc(100% - 2rem));padding:1.4rem;border:1px solid var(--line);border-radius:.8rem;background:var(--paper);color:var(--ink)}
dialog h2{font-size:2rem;margin-bottom:.7rem}
dialog::backdrop{background:#211625aa}
@media(max-width:900px){.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:670px){.wrap{width:calc(100% - 1.5rem)}.hero{grid-template-columns:1fr;margin-block:1rem 1.8rem}.hero-image{min-height:13rem;order:-1}.hero-image img{object-position:center 52%}.world-grid{margin-bottom:1.8rem}.world-card{padding:.85rem}.world-card .button{flex-direction:column;align-items:flex-start}.section-heading{align-items:flex-start;flex-direction:column}.reward-grid{grid-template-columns:1fr}}

.age-filters{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.15rem}
.age-filter{background:#fffaf5;border-color:#d7c8d4;color:var(--plum)}
.age-filter:hover{background:#f3e8ee}
.age-filter[aria-pressed="true"]{background:var(--plum);color:white;border-color:var(--plum)}
.catalog-status{margin-top:.75rem;font-size:.9rem}
.world-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.75rem}
.world-card{min-height:15.5rem}
.memory-board,.route-board{display:grid;gap:.5rem;margin:1rem 0}
.memory-board{grid-template-columns:repeat(3,minmax(0,1fr));max-width:24rem}
.memory-card,.route-tile,.route-wall{border:1px solid #c4aebe;border-radius:.55rem;display:grid;place-items:center}
.memory-card{min-height:4.8rem;font-size:2rem;background:#542849;color:white}
.memory-card.face-up{background:#f8e8ec;color:var(--ink)}
.memory-card.matched{background:#e1f1e4;border-color:#83a98e}
.route-board{grid-template-columns:repeat(var(--columns),minmax(0,1fr));max-width:23rem;gap:.35rem}
.route-tile,.route-wall{aspect-ratio:1;min-height:2rem;font-size:1.1rem}
.route-wall{background:#4f414e;border-color:#4f414e}
.route-tile{background:#e9f3ea;color:#244a30;border:1px solid #80a789}
.route-tile:disabled{background:#eee7e1;color:#5b5158}
.route-tile.current{background:#542849;color:white;border-color:#542849}
.route-status{margin-top:.55rem}
.chosen-order,.code-clues{padding-left:1.6rem}
.chosen-order li,.code-clues li{padding-block:.18rem}
.code-form{margin-block:1rem;display:flex;align-items:flex-start;gap:.55rem;flex-wrap:wrap}
.code-form label{font-weight:700;width:100%}
.code-form input{font:inherit;color:var(--ink);background:#fffcf7;border:1px solid #9e8599;border-radius:.55rem;padding:.55rem .7rem;min-height:2.85rem;width:min(100%,13rem)}
details summary{color:var(--plum);font-weight:700;cursor:pointer}
@media(max-width:760px){.world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:470px){.world-grid{grid-template-columns:1fr}.world-card{min-height:0}.world-card .button{flex-direction:row;align-items:center}.age-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-bag-sort] .button{min-height:3.5rem;gap:.6rem}
.sorting-bag{display:grid;place-items:center;width:2.25rem;font-size:1.25rem}
[data-bag-sort] button:nth-child(1) .sorting-bag{font-size:2.1rem}
[data-bag-sort] button:nth-child(3) .sorting-bag{font-size:1.7rem}
.brand>span:last-child{overflow-wrap:anywhere}
.brand-mark.has-logo{background:transparent;width:auto;min-width:2.25rem}
.brand-mark img{display:block;max-width:6rem;max-height:3rem;object-fit:contain}
.hotel-photo{margin-block:0 2rem}
.hotel-photo img{display:block;width:100%;max-height:25rem;object-fit:cover;border-radius:1rem}
.hero-actions{margin-top:0}

/* Keep the voucher entry visible on long guest pages. */
body:has(.guest-tools) .top{position:sticky;top:0;z-index:3;background:var(--paper)}
body:has(.guest-tools) section[id],body:has(.guest-tools) #reward-title{scroll-margin-top:5rem}
.guest-tools{display:flex;align-items:center;justify-content:flex-end;gap:.55rem}
.voucher-trigger{white-space:nowrap;gap:.45rem;color:var(--plum)}
.voucher-trigger span{border-radius:99px;background:#f1e4ec;min-width:1.35rem;padding:.12rem .36rem;text-align:center}
.round-reward{padding:.8rem 1rem;margin-top:1rem;background:#f5eaf0;border-radius:.55rem}
.vouchers{width:min(34rem,calc(100% - 1.5rem));max-width:none;max-height:calc(100dvh - 2rem)}
.voucher-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:.55rem;margin-bottom:1rem}
.voucher-heading h2{margin:0;font-size:clamp(1.75rem,6vw,2.4rem)}
.voucher-heading form{flex-shrink:0}
.voucher-list{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.voucher-card{padding:1rem;border:1px solid #dec9d7;border-radius:.7rem;background:#fffaf5;overflow-wrap:anywhere}
.voucher-card h3{margin:.35rem 0 .55rem}
.voucher-location{font-weight:700;margin-top:.65rem}
.voucher-code{background:#f5eaf0;color:var(--ink);border-radius:.55rem;text-align:center;padding:.65rem;margin-top:.7rem}
.voucher-code span{display:block;font-size:.9rem}
.voucher-code code{font-size:clamp(1.2rem,6vw,2rem);font-weight:750;letter-spacing:.045em;user-select:all}
#voucher-empty .button{margin-top:.75rem}
@media(max-width:510px){
  body:has(.guest-tools) .top-inner{min-height:0;align-items:flex-start;gap:.5rem;flex-direction:column;padding-block:.55rem}
  body:has(.guest-tools) section[id],body:has(.guest-tools) #reward-title{scroll-margin-top:7.2rem}
  .guest-tools{justify-content:space-between;width:100%}
  .voucher-trigger{font-size:.92rem}
}
