:is(.header,.terms-header) .shiki-language-picker{position:relative;flex:none;margin:0;border:0;box-shadow:none;background:transparent;color:#26483b;font-family:Arial,sans-serif;font-size:13px;letter-spacing:0;line-height:1.3}
.shiki-language-picker summary{display:flex;align-items:center;justify-content:center;gap:6px;min-width:78px;min-height:44px;padding:6px 8px;list-style:none;cursor:pointer;border:0;border-radius:0;background:transparent;box-shadow:none}
.shiki-language-picker summary::-webkit-details-marker{display:none}
.shiki-language-picker summary::after{display:none!important}
:is(.header,.terms-header) .shiki-language-picker ul{display:block;list-style:none;margin:0;padding:0}
:is(.header,.terms-header) .shiki-language-picker li{display:block;margin:0;padding:0}
.shiki-language-picker summary:focus-visible,.shiki-language-picker :is(a,button[data-lang]):focus-visible{outline:2px solid #315742;outline-offset:2px}
.shiki-language-flag{display:block;flex:none;width:20px;height:15px;object-fit:cover;border:0;box-shadow:none}
.shiki-language-globe{display:block;flex:none;width:20px;height:20px}
:is(.header,.terms-header) .shiki-language-picker nav{display:block;position:absolute;right:0;top:calc(100% + 8px);width:230px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 110px);overflow:auto;padding:6px;background:#fff;border:1px solid #dde4de;border-radius:0;box-shadow:none;z-index:100}
.shiki-language-picker:not([open]) nav{display:none!important}
.shiki-language-picker ul{list-style:none;padding:0;margin:0}
:is(.header,.terms-header) .shiki-language-picker :is(a,button[data-lang]){display:flex;align-items:center;gap:9px;min-height:44px;padding:8px 10px;color:#26483b;text-decoration:none;font-size:13px;line-height:1.4;letter-spacing:0;border:0;white-space:nowrap}
.shiki-language-picker :is(a,button[data-lang]) b{font-size:12px;min-width:43px;font-weight:500}
.shiki-language-picker :is(a,button[data-lang])[aria-current],.shiki-language-picker :is(a,button[data-lang]):hover{background:#edf2ec}
html:not(:lang(ja)):not(:lang(en)) .shiki-copy-mobile{display:none!important}
html:not(:lang(ja)):not(:lang(en)) .shiki-copy-original{display:inline!important}
html:not(:lang(ja)):not(:lang(en)) .shiki-top-mobile-label{display:none!important}
html:not(:lang(ja)):not(:lang(en)) .shiki-top-label{display:block!important;font-size:10px;line-height:1.3}
html:not(:lang(ja)):not(:lang(en)) main h1,
html:not(:lang(ja)):not(:lang(en)) main h2,
html:not(:lang(ja)):not(:lang(en)) main h3,
html:not(:lang(ja)):not(:lang(en)) main h1 span,
html:not(:lang(ja)):not(:lang(en)) main h2 span,
html:not(:lang(ja)):not(:lang(en)) main h3 span{white-space:normal!important;overflow-wrap:anywhere;min-width:0}
html:not(:lang(ja)):not(:lang(en)) .shiki-mobile-booking{font-size:14px;letter-spacing:.03em;padding-left:12px;padding-right:12px}
html:not(:lang(ja)):not(:lang(en)) .desktop-nav{gap:clamp(10px,1.3vw,24px)}
html:not(:lang(ja)):not(:lang(en)) .desktop-nav a{font-size:13px;letter-spacing:0}
@media(max-width:700px){:is(.header,.terms-header) .shiki-language-picker{font-size:12px}.shiki-language-picker summary{min-width:76px;padding:6px}.header .shiki-language-picker nav{right:-38px}:is(.header,.terms-header) .header-actions{gap:8px}}

/* Keep the approved room heading on exactly three lines on phones. */
@media (max-width: 700px) {
  html:lang(ja) body.pdf-layout #rooms .courtyard-prose h2.shiki-has-mobile-copy {
    font-size: clamp(18px, 6vw, 24px);
    letter-spacing: .02em;
    line-height: 1.65;
  }
  html:lang(ja) #rooms .courtyard-prose h2 > .shiki-copy-mobile > span {
    white-space: nowrap;
  }
}

/* Keep these short Japanese facility headings on one line on phones. */
@media (max-width: 700px) {
  html:lang(ja) body.pdf-layout .home-facility-four a:is([href$="#relax-guide"], [href$="#evening"]) h3 {
    font-size: clamp(16px, 5vw, 21px);
    letter-spacing: .02em;
    line-height: 1.65;
    white-space: nowrap;
  }
}

/* Protect the access paragraph's closing phrase at every Japanese viewport. */
html:lang(ja) .shiki-access-ending > .shiki-copy-original { display: none; }
html:lang(ja) .shiki-access-ending > .shiki-copy-mobile { display: inline; }
html:lang(ja) .shiki-access-ending > .shiki-copy-mobile > .shiki-keep-together { white-space: nowrap; }

/* Give the access copy more room while keeping the full courtyard photograph. */
@media (min-width: 901px) {
  body.pdf-layout #access .access-exterior {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: clamp(32px, 4vw, 64px);
  }
  body.pdf-layout #access .access-exterior-copy { min-width: 0; }
}
