/* The language switch and the offer line (work/i18n.py, 10 November 2026). */
.head-right{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px}
.head-right .nav{margin-left:0}
.langs{display:flex;align-items:center;flex:none;font-size:.8rem;letter-spacing:.08em;line-height:1}
.langs a{padding:6px 5px;color:inherit;text-decoration:none;opacity:.62;border-bottom:1px solid transparent}
.langs a + a{border-left:1px solid currentColor;border-left-color:rgba(127,127,127,.45)}
.langs a:hover{opacity:1}
.langs a[aria-current]{opacity:1;color:var(--gold);font-weight:600}
.head-byz .langs a[aria-current]{color:#CBA552}
.head-lab .langs{font-family:var(--mono)}
.head-lab .langs a[aria-current]{color:#9A6D14}
.lang-pill{display:none;position:relative;flex:none}
.lang-pill summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-width:44px;height:40px;padding:0 10px;border:1px solid currentColor;border-radius:20px;font-size:.82rem;letter-spacing:.14em;opacity:.8}
.lang-pill summary::-webkit-details-marker{display:none}
.lang-pill summary::after{content:"";width:0;height:0;margin-left:6px;border:4px solid transparent;border-top-color:currentColor;transform:translateY(2px);display:inline-block}
.lang-pill[open] summary{opacity:1}
.lang-menu{position:absolute;right:0;top:46px;z-index:30;min-width:9.5em;padding:6px 0;background:#151A1F;color:#ECE5D3;border:1px solid rgba(203,165,82,.6);box-shadow:0 8px 24px rgba(0,0,0,.35)}
.head-lab .lang-menu{background:#ECE3CF;color:#1F1B16;border-color:#1F1B16}
.lang-menu a{display:block;padding:9px 16px;color:inherit;text-decoration:none;font-size:1rem}
.lang-menu a[aria-current]{color:#CBA552}
.head-lab .lang-menu a[aria-current]{color:#9A6D14}
.lang-menu a:hover{background:rgba(203,165,82,.14)}
@media (max-width:1240px){.langs{display:none}.lang-pill{display:block}.head-right{display:contents}}
@media (max-width:1360px){.head-lab .langs{display:none}.head-lab .lang-pill{display:block}.head-lab .head-right{display:contents}}
@media (max-width:820px){.lang-pill{margin-left:auto;order:4}.head-row .nav{order:5}}
.lang-offer{display:flex;justify-content:center;align-items:center;gap:14px;flex-wrap:wrap;padding:9px 48px 9px 16px;position:relative;background:#CBA552;color:#151A1F;font-size:.98rem;text-align:center}
.lang-offer a{color:#151A1F;font-weight:600}
.lang-offer button{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;background:none;color:#151A1F;font-size:1.2rem;cursor:pointer}
.i18n-note{max-width:1180px;margin:0 auto;padding:10px clamp(18px,4vw,40px) 0;font-size:.9rem;font-style:italic;opacity:.72}
.i18n-fix{font-size:.9rem;opacity:.8;margin:18px auto 0}
html:lang(ja) body{font-family:"EB Garamond","Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","Noto Serif CJK JP",serif;line-break:strict;word-break:normal}
html:lang(ja) .brand span{letter-spacing:.1em}
html:lang(ja) em,html:lang(ja) i{font-style:normal}
html:lang(ja) body *{font-style:normal!important}
.half-right{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 18px}
.half-right .langs{display:flex!important;font-family:var(--mono);font-size:.75rem;letter-spacing:.06em;color:#1F1B16}
.half-right .langs a[aria-current]{color:#9A6D14}
.home-right{display:flex;align-items:center;gap:14px}
.home-head .lang-pill{display:block!important;margin:0;order:0}
.home-head .lang-pill summary{height:34px;min-width:40px;color:#1F1B16}
.home-head .lang-menu{background:#F3EFE7;color:#1F1B16;border-color:#1F1B16}
.home-head .lang-menu a[aria-current]{color:#9A6D14}
.home-head .wrap{flex-wrap:wrap}
.home-head .brand{white-space:nowrap}
.home-right{margin-left:auto}
.home-right .nav{flex-wrap:nowrap;white-space:nowrap;gap:4px 16px}
