* { box-sizing: border-box; }
    body { margin: 0; background: #f7f0e6; color: #3b2113; font-family: Inter, system-ui, sans-serif; }
    a { color: inherit; text-decoration: none; }
    header { background: linear-gradient(180deg, #361c0e, #241209); color: white; box-shadow: 0 8px 28px #24110933; }
    nav { max-width: 1200px; margin: auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
    .brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; font-weight: 900; }
    .nav-links { display: flex; align-items: center; gap: 20px; font-size: .9rem; font-weight: 800; }
    .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #ffffff66; border-radius: 6px; padding: 12px 18px; background: #3b2113; color: white; font: inherit; font-weight: 800; cursor: pointer; }
    main { max-width: 1440px; margin: auto; padding: 56px 24px 72px; }
    .room-detail-main { width: 100%; max-width: 948px; margin-inline: auto; }
    .intro { text-align: center; margin-bottom: 32px; }
    .eyebrow { margin: 0 0 12px; color: #8a532d; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 900; }
    h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 0 0 16px; }
    .intro p:last-child { line-height: 1.7; }
    .room-gallery { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 16px; width: 100%; max-width: 900px; margin: 0 auto; }
    .room-photo { flex: 0 0 calc((100% - 32px) / 3); min-width: 0; position: relative; display: block; overflow: hidden; border-radius: 12px; background: #241109; box-shadow: 0 16px 40px #3b211326; }
    .room-photo img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; transition: transform .3s ease; }
    .room-photo span { position: absolute; inset: auto 0 0; padding: 32px 12px 12px; background: linear-gradient(transparent, #180c06e6); color: white; font-size: .85rem; line-height: 1.4; font-weight: 800; }
    a:focus-visible, button:focus-visible { outline: 3px solid #d8a13d; outline-offset: 4px; }
    html.room-gallery-open, html.room-gallery-open body { overflow: hidden; }
    dialog { position: fixed; inset: 0; width: calc(100% - 32px); max-width: 1100px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 16px; border: 1px solid #ffffff55; border-radius: 14px; background: #1c110b; color: white; overflow: auto; box-shadow: 0 24px 90px #0008; }
    dialog::backdrop { background: #0c0704eb; }
    .lightbox-toolbar, .lightbox-caption, .lightbox-navigation { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
    .lightbox-toolbar { margin-bottom: 12px; }
    .lightbox-toolbar h2 { margin: 0; font-size: 1rem; }
    .lightbox-close { font-size: 1.6rem; padding: 4px 14px; }
    figure { margin: 0; }
    #roomPhoto { display: block; width: 100%; height: clamp(100px, calc(100vh - 240px), 740px); height: clamp(100px, calc(100dvh - 240px), 740px); object-fit: contain; background: #120c08; touch-action: pan-y pinch-zoom; }
    .lightbox-caption { padding: 16px 0; font-weight: 700; }
    #roomCounter { color: #f6c65b; white-space: nowrap; }
    @media (hover: hover) { .room-photo:hover img { transform: scale(1.035); } .button:hover { background: #70401f; } }
    @media (max-width: 600px) {
      nav { padding: 16px; }
      .nav-links { gap: 16px; }
      main { padding: 36px 16px 48px; }
      .room-gallery { gap: 12px; }
      .room-photo { flex-basis: calc((100% - 12px) / 2); }
      dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 12px; }
      .lightbox-navigation .button { flex: 1; padding: 12px 8px; font-size: .9rem; }
    }
    @media (prefers-reduced-motion: reduce) { .room-photo img { transition: none; } }

    .room-note { max-width: 640px; margin: 32px auto; padding: 28px; border: 1px solid #3b211326; border-radius: 12px; background: #fffaf3; text-align: center; line-height: 1.7; }
    .room-booking { display: flex; justify-content: center; margin-top: 32px; }
    .room-detail-main .room-booking { width: 100%; margin: 32px auto 0; text-align: center; }
    .room-booking .button { min-height: 52px; padding: 14px 28px; }
    @media (max-width: 600px) { .room-booking .button { width: 100%; max-width: 320px; } }
    .room-switcher { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 36px auto 0; }
    .room-switcher a { padding: 12px 16px; border: 1px solid #3b211340; border-radius: 6px; font-size: .9rem; font-weight: 700; }
    .room-switcher a[aria-current="page"] { background: #3b2113; color: white; }
    .tour-page { min-height: 100vh; background: radial-gradient(ellipse at 50% 0, #70401f55, transparent 40%), linear-gradient(180deg, #3b2113, #241109); color: #fffaf3; }
    .tour-page .nav-links { max-width: 100%; flex-wrap: wrap; gap: 12px; }
    .tour-main { max-width: 1200px; }
    .tour-main > .intro { max-width: 800px; margin: 16px auto 48px; }
    .tour-main h1 { max-width: 20ch; margin: 0 auto 20px; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.12; }
    .tour-main > .intro > p:last-of-type { max-width: 58ch; margin: 0 auto; color: #fffaf3cc; font-size: 1.05rem; line-height: 1.8; }
    .tour-main .eyebrow { color: #f6c65b; }
    .tour-shortcuts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
    .tour-shortcuts a { padding: 12px 18px; border: 1px solid #f6c65b66; border-radius: 6px; font-size: .9rem; font-weight: 700; }
    .tour-shortcuts a:first-child { background: #f6c65b; color: #3b2113; }
    .tour-section { margin-top: 48px; padding-top: 32px; border-top: 1px solid #ffffff24; scroll-margin-top: 24px; }
    .tour-section h2 { margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); }
    .tour-section > p { margin: 12px 0 0; color: #fffaf3bb; line-height: 1.7; }
    .door-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 24px; margin-top: 28px; }
    .door-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; height: 100%; overflow: hidden; border: 1px solid #ffffff30; border-radius: 12px; background: #241109; box-shadow: 0 16px 40px #0003; transition: transform .2s ease, border-color .2s ease; }
    .door-visual { display: block; position: relative; width: 100%; aspect-ratio: 1; }
    .door-crop { display: block; position: absolute; top: 10px; left: 50%; width: calc(54% - 10.8px); height: calc(100% - 20px); transform: translateX(-50%); overflow: hidden; }
    .door-card img { display: block; position: absolute; top: 0; left: var(--door-offset, 0%); width: var(--door-width, 100%); max-width: none; height: 101.992%; object-fit: fill; }
    .door-crop-1 { --door-width: 196.923%; --door-offset: -96.923%; }
    .door-crop-2 { --door-width: 153.546%; --door-offset: -26.950%; }
    .door-crop-3 { --door-width: 197.683%; }
    .door-crop-4 { --door-width: 193.939%; --door-offset: -93.939%; }
    .door-crop-5 { --door-width: 162.724%; --door-offset: -32.975%; }
    .door-crop-6 { --door-width: 195.420%; }
    .door-label { display: grid; grid-template-rows: 1.5rem 2.6rem 2.6rem; align-items: center; gap: 4px; padding: 16px 10px; text-align: center; }
    .door-label strong { display: block; font-size: 1rem; line-height: 1.4; }
    .door-label span { display: block; margin: 0; color: #f6c65b; font-size: .8rem; line-height: 1.4; }
    .door-label .room-type { color: #fffaf3bb; line-height: 1.5; }
    .room-video-section { max-width: 900px; margin: 0 auto 36px; }
    .room-video-section h2 { margin: 0 0 18px; font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; }
    .room-detail-video { display: block; width: 100%; max-height: 70vh; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; background: #120c08; box-shadow: 0 16px 40px #3b211326; }
    @media (hover: hover) and (pointer: fine) { .door-card:hover { transform: translateY(-5px); border-color: #f6c65b; } }
    @media (max-width: 1100px) { .door-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
    @media (max-width: 600px) { .door-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; } .door-label { padding: 12px 8px; } .tour-main > .intro { margin-top: 0; margin-bottom: 32px; } .tour-section { margin-top: 32px; padding-top: 24px; } }
    @media (prefers-reduced-motion: reduce) { .door-card { transition: none; } .door-card:hover { transform: none; } }
