/* Quiet, warm surfaces for the room pad. */
:root { --pad-ink: #343a32; --pad-muted: #65695e; --pad-paper: #f3f0e9; --pad-line: #d9dbd0; }
html, body { background: var(--pad-paper); touch-action: pan-y; }
.bg { background: radial-gradient(ellipse at 4% 12%, #e7e9df, transparent 52%), linear-gradient(120deg, #f4f1eb, #eeece4) !important; }
.bg::after { background: none; }
.hairline { display: none; }
.home { gap: 20px; padding: 156px 56px 80px; grid-template-columns: minmax(240px, 1.1fr) repeat(2, minmax(170px, 1fr)); }
.home #stage { display: block; width: 100%; }
.home #stage .enter { width: 100%; }
.home-center { align-items: stretch; padding-right: 34px; gap: 28px; }
.home-center::before { content: 'VOID ANCHAE'; display: block; color: #65705b; font: 13px/1.5 'Noto Sans KR', sans-serif; letter-spacing: 3px; }
.home #stage .enter { text-align: left !important; }
.home .logo-wrap, .home .ornament, .home #stage .enter > div[style*="height: 40px"], .home .standby-datetime { display: none; }
.home .hotel-title, .home .guest-name { color: var(--pad-ink); font: 400 clamp(34px, 4vw, 52px)/1.3 'Noto Sans KR', sans-serif; letter-spacing: -1.5px; text-shadow: none; margin-bottom: 20px; }
.home .label-welcome { color: #646f5c; font: 14px/1.5 'Noto Sans KR', sans-serif; letter-spacing: .8px; }
.home .standby-sub, .home .guest-stay { color: var(--pad-muted); font: 16px/1.7 'Noto Sans KR', sans-serif; letter-spacing: .2px; }
.home .guest-property { color: #646f5c; font-size: 17px; letter-spacing: 1px; }
.home .welcome-msg { display: block; color: var(--pad-muted); font: 15px/1.85 'Noto Sans KR', sans-serif; margin-top: 22px; max-height: 112px; overflow-y: auto; }
.home .visit-ordinal { color: #646f5c; }
.home .welcome-ornate { justify-content: flex-start; }
.home .welcome-ornate-line { display: none; }
.home .weather-card { margin-top: 28px; justify-content: flex-start; gap: 12px; }
.home .weather-temp { color: var(--pad-ink); font-size: 32px; }
.home .weather-desc-text, .home .weather-feels { color: var(--pad-muted); letter-spacing: .3px; font-size: 13px; }
.tile-col { gap: 16px; }
.tile { position: relative; min-height: 138px; align-items: flex-start; text-align: left; padding: 22px 26px; border-radius: 18px; background: #ffffffb8; border: 1px solid #ffffff; color: var(--pad-ink); box-shadow: 0 3px 12px #3a422b04; }
.tile-ico { width: 27px; height: 27px; color: #6b775f; stroke-width: 1.5; margin-bottom: 5px; }
.tile-label { font-size: 20px; font-weight: 400; }
.tile-description, .wifi-info, .lang-picker .lang-btn { font-weight: 400; }
.tile-description { color: var(--pad-muted); font-size: 13px; line-height: 1.6; }
.tile::after { content: '↗'; position: absolute; right: 22px; top: 20px; font: 20px/1 sans-serif; color: #7b8470; }
.tile:hover, .tile:active { background: #fff; border-color: #b9c2ac; color: var(--pad-ink); transform: translateY(-2px); box-shadow: 0 8px 24px #3a422b09; }
.tile-col-left .tile:first-child { background: #53634c; border-color: #53634c; color: #fff; }
.tile-col-left .tile:first-child .tile-ico, .tile-col-left .tile:first-child::after { color: #e4ebd8; }
.tile-col-left .tile:first-child .tile-description { color: #edf0e8; }
.home-events { padding: 18px 0 0; border: 0; border-top: 1px solid #ced3c5; border-radius: 0; background: none; }
.home-events:hover { background: none; }
.home-events-head { color: #4e5e45; font: 13px/1.5 'Noto Sans KR', sans-serif; letter-spacing: .4px; }
.home-events-more, .home-events-empty, .home-events-loading, .home-evt-name, .home-evt-cat { color: var(--pad-muted); }
.home-evt-date { color: #4e5e45; }
.home-events { max-width: none; }
.home-events:focus-visible { outline: 3px solid #53634c; outline-offset: 5px; }
.home-event-featured { display: grid; grid-template-columns: minmax(76px, .8fr) minmax(0, 1.3fr); gap: 14px; align-items: center; padding: 4px 0 12px; }
.home-event-featured.without-photo { grid-template-columns: minmax(0, 1fr); }
.home-event-photo { width: 100%; height: 140px; object-fit: contain; background: #fff; border-radius: 5px; }
.home-event-photo[hidden] { display: none; }
.home-event-copy { display: flex; flex-direction: column; min-width: 0; gap: 7px; text-align: left; }
.home-event-kicker { color: #4e5e45; font: 12px/1.5 'Noto Sans KR', sans-serif; }
.home-event-title { color: var(--pad-ink); font: 500 16px/1.6 'Noto Sans KR', sans-serif; overflow-wrap: anywhere; }
.home-event-meta { color: var(--pad-muted); font: 12px/1.6 'Noto Sans KR', sans-serif; overflow-wrap: anywhere; }
.home-events .home-evt { flex-wrap: wrap; column-gap: 8px; row-gap: 1px; padding: 8px 0; border-top: 1px solid var(--pad-line); }
.home-events .home-evt-name { white-space: normal; overflow-wrap: anywhere; font-size: 12px; line-height: 1.55; }
.home-events .home-evt-date { min-width: 50px; font: 12px/1.5 'Noto Sans KR', sans-serif; }
#eventsOverlay:not(.active) { visibility: hidden; }
#eventsOverlay .chat-card { width: min(900px, calc(100vw - 32px)); max-width: 900px; }
#eventsOverlay .chat-close { min-width: 48px; min-height: 48px; flex-shrink: 0; }
#eventsOverlay .chat-messages { padding: 16px 24px 28px; }
#eventsOverlay .evt-name { font-size: 18px; line-height: 1.6; color: #ececde; }
#eventsOverlay .evt-meta, #eventsOverlay .evt-desc { color: #d9ddcf; font-size: 14px; line-height: 1.7; }
#eventsOverlay .evt-row { padding: 24px 0; gap: 24px; }
#eventsOverlay .evt-empty, #eventsOverlay .evt-qr-hint { color: #d9ddcf; font-size: 13px; }
.evt-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; margin-top: 16px; }
.evt-photo { min-width: 0; margin: 0; }
.evt-photo-open { display: block; width: 100%; min-height: 48px; padding: 0; border: 1px solid #b8c1ac; border-radius: 5px; background: #fff; cursor: zoom-in; overflow: hidden; }
.evt-photo-open img { display: block; width: 100%; height: 260px; object-fit: contain; }
.evt-photo figcaption, .evt-photo-unavailable { margin-top: 8px; color: #d9ddcf; font: 12px/1.6 'Noto Sans KR', sans-serif; overflow-wrap: anywhere; }
.evt-photo figcaption a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 2px; color: #ececde; text-decoration: underline; text-underline-offset: 3px; }
.evt-photo-open:focus-visible, .evt-photo a:focus-visible { outline: 3px solid #e8d5a3; outline-offset: 4px; }
.lang-picker { top: 38px; right: 56px; gap: 4px; font-family: 'Noto Sans KR', sans-serif; }
.lang-picker .lang-btn { border-radius: 24px; color: #606658; padding: 8px 14px; font-size: 14px; }
.lang-picker .lang-btn.active { background: #e0e5d7; color: #34422e; }
.lang-picker .lang-btn:hover { color: #34422e; background: #e7ebdf; }
.lang-picker .lang-sep { display: none; }
.property-badge { top: 94px; right: 70px; color: #697260; font-size: 11px; letter-spacing: 2px; }
.wifi-card { top: 32px; left: 56px; border: 1px solid #d4d9cc; background: #fafbf5a6; border-radius: 14px; gap: 14px; padding: 12px 18px; }
.wifi-card::before, .wifi-card::after { display: none; }
.wifi-label { color: #4e5e45; font: 12px/1.4 'Noto Sans KR', sans-serif; letter-spacing: 1px; }
.wifi-ssid, .wifi-pass { color: #4b5344; font-size: 13px; }
.wifi-hint { color: #626e55; font-size: 11px; }
.bottom-bar { padding: 20px 56px 24px; background: linear-gradient(transparent, #efeee6 40%); }
.clock-date { color: #697260; font-size: 12px; letter-spacing: .5px; }
.clock-time { color: #4e5e45; font-size: 27px; letter-spacing: 1px; }
.music-btn, .music-btn.muted { color: #697260; min-height: 40px; bottom: 18px; letter-spacing: 1px; }
.music-btn:hover { color: #34422e; }
.home .checkout-card, .home .checkout-card.compact { position: static; width: 100%; background: #e3e8d9; border: 1px solid #c6cfba; border-radius: 14px; padding: 18px; margin: 20px 0 0; backdrop-filter: none; }
.home .checkout-card-title, .home .checkout-card-label, .home .checkout-done-note { color: #34422e; }
.home .checkout-card-desc { color: #58614f; }
.home .checkout-btn { background: #53634c; color: white; border: 0; border-radius: 10px; width: 100%; }
/* Reading and request surfaces keep a dark background with warm neutral accents. */
.guide-overlay { background: #20241f; }
.guide-header { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 26px 36px; border-color: #43483c; }
.guide-header h2 { flex: 1; font: 400 22px/1.5 'Noto Sans KR', sans-serif; color: #ececde; letter-spacing: .5px; }
.guide-close { position: static; border-radius: 10px; border: 1px solid #727b65; background: #353e2f; color: #f0f0e5; letter-spacing: .3px; }
.pad-control { background: #353e2f; color: #f0f0e5; border-color: #727b65; }
.guide-slide-title { color: #e5e9da; font: 400 26px/1.5 'Noto Sans KR', sans-serif; letter-spacing: .5px; text-align: left; }
.guide-slide-content { color: #d9ddcf; font-weight: 300; }
.guide-nav { background: #353e2f; border-color: #727b65; color: #edf0e6; }
.pad-wifi-dialog { background: #f3f0e9; border-color: #d1d6c9; border-radius: 24px; color: #343a32; box-shadow: 0 24px 90px #0004; }
.pad-wifi-dialog::backdrop { background: #20251dbb; }
.pad-wifi-dialog .pad-control { background: #53634c; color: white; min-width: 160px; }
button:focus-visible, [role="button"]:focus-visible { outline-color: #8b9c75; }
@media (max-width: 1000px) and (min-width: 851px) {
 .home { padding-left: 32px; padding-right: 32px; gap: 14px; grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(160px, 1fr)); }
 .home-center { padding-right: 14px; }
 .tile { padding: 20px; }
}
@media (max-width: 850px) {
 .home { padding: 190px 32px 96px; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .home-center { padding: 12px 0 4px; gap: 16px; }
 .home-center::before { font-size: 12px; }
 .home-event-featured { grid-template-columns: 116px minmax(0, 1fr); }
 .home .hotel-title, .home .guest-name { font-size: 36px; margin-bottom: 12px; }
 .home .weather-card { position: static; margin-top: 16px; }
 .home #stage { padding-right: 0; }
 .home .welcome-msg { max-height: 90px; }
 .wifi-card { top: 80px; left: 32px; }
 .lang-picker { top: 16px; right: 24px; }
 .property-badge { right: 38px; top: 90px; }
 .tile { min-height: 146px; padding: 22px; }
 .tile-description { font-size: 14px; }
 .bottom-bar { padding: 20px 32px 24px; }
 .guide-header { padding: 20px; gap: 12px; }
 .guide-header h2 { flex-basis: 100%; }
 .guide-slide { padding: 28px 64px 75px; }
}
@media (max-width: 520px) {
 .home-event-featured { grid-template-columns: 88px minmax(0, 1fr); gap: 10px; }
 .home-event-photo { height: 122px; }
 .home-event-title { font-size: 15px; }
 #eventsOverlay .chat-messages { padding: 12px 16px 24px; }
 #eventsOverlay .evt-row { flex-direction: column; }
 #eventsOverlay .evt-main { width: 100%; }
 #eventsOverlay .evt-qr { width: 148px; align-self: center; }
}
@media (max-height: 650px) and (min-width: 851px) {
 .home { padding-top: 144px; align-items: start; }
 .tile { min-height: 112px; padding: 16px 22px; }
 .tile-ico { width: 22px; height: 22px; margin: 0; }
 .home .weather-card { margin-top: 14px; }
 .home-center { gap: 14px; }
}
