@font-face{font-family:"Aether Japanese R105";src:url("/developer-handoff-r54/runtime-candidate/deployroot/miora-monuments-r31/fonts/DotGothic16-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:block}
:root{--language-japanese-r105:"Aether Japanese R105","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;--language-primary-font-r137:var(--language-japanese-r105)}
/* Give each translated phrase a coherent script-capable family. Do not mix
   Japanese pixel glyphs with unrelated per-character platform fallbacks. */
html[data-language-r105="zh-Hans"]{--language-primary-font-r137:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif}
html[data-language-r105="ko"]{--language-primary-font-r137:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif}
html[data-language-r105="hi"]{--language-primary-font-r137:"Kohinoor Devanagari","Nirmala UI","Noto Sans Devanagari",system-ui,sans-serif}
html[data-language-r105="ig"]{--language-primary-font-r137:system-ui,sans-serif}
/* Parser-time Japanese handoff holds only lettering until its first full
   translation pass. Keep scene/portrait art, boxes, hit targets and layout. */
html[data-language-pending-r105] :is(.artist-select,.r70-showcase) :is(h1,h2,h3,h4,p,li,dt,dd,figcaption,label,legend,summary,kbd,option,button,a,.panel-caption span,.portrait-pending,.artist-name,.vacant-label,.cursor-tag,.lock-mark,.confirmation-strip,.frame-top span){color:transparent!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
html[data-language-pending-r105] .r70-showcase svg :is(text,tspan){fill:transparent!important;stroke:transparent!important}
.language-switch-r105{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:8px;flex:0 1 auto;max-width:100%;margin:4px 0 0 auto;box-sizing:border-box;font-size:12px;line-height:1.4}
.language-switch-r105__label{margin-right:3px;color:#f6dfc1;font-family:var(--language-primary-font-r137);letter-spacing:0}
.language-switch-r105 select{appearance:none;border:2px solid #d68b43;border-radius:0;background:#201327;box-shadow:inset 0 0 0 2px #40202b;color:#f7e4c8;min-height:40px;padding:6px 10px;font:14px/1.4 var(--language-japanese-r105);letter-spacing:0;cursor:pointer;text-transform:none}
.language-switch-r105 button[aria-pressed="true"]{background:#6d253a;border-color:#f5cc7b;box-shadow:inset 0 0 0 2px #341724}
.language-switch-r105 select:focus-visible{outline:3px solid #afdcee;outline-offset:3px}
.language-pair-r105{display:inline-block;max-inline-size:100%;min-inline-size:0;vertical-align:baseline;white-space:normal}
.language-primary-r105{display:block;white-space:normal;overflow-wrap:break-word}
.language-phrase-unit-r105{display:inline-block;white-space:nowrap}
.language-subtitle-r105{display:block;margin-block-start:3px;font-family:var(--language-japanese-r105);font-size:clamp(12px,.75em,18px);font-weight:400;line-height:1.5;letter-spacing:normal;text-transform:none;white-space:normal;word-break:normal;line-break:strict;overflow-wrap:anywhere;color:#f6dfc1;-webkit-text-fill-color:#f6dfc1}
.r31-bi>.r31-bi-ja,.site-header nav a.r31-bi>.r31-bi-ja{font-size:clamp(12px,.75em,18px)}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) :is(.language-primary-r105,.r31-bi-en,.monument-en,.renzai-label-en-r34){font-family:var(--language-primary-font-r137);letter-spacing:normal;text-transform:none;word-break:normal;line-break:strict;overflow-wrap:anywhere;line-height:1.5}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) :is(svg text,svg tspan){font-family:var(--language-primary-font-r137);letter-spacing:normal}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) .r31-bi>.r31-bi-ja{display:none!important}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) .language-subtitle-r105{display:none!important}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) .language-native-pair-r105>:is(.monument-ja,.renzai-label-ja-r34){display:none!important}
[data-language-sign-japanese-r105]{display:none}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) [data-language-sign-japanese-r105]{display:inline}
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="en"]) [data-language-sign-english-r105]{display:none}
.language-sign-inscription-r105{letter-spacing:normal;text-transform:none}
.language-shop-startup-r105{display:none}
html[data-language-r105].shop-scene-pending-r100 .secondary-page-hero[data-page-art="shop"]::after{content:""}
html[data-language-r105].shop-scene-pending-r100 .secondary-page-hero[data-page-art="shop"]>.language-shop-startup-r105{display:grid;visibility:visible!important;position:absolute;inset:0;z-index:5;place-items:center;pointer-events:none;color:#f5dfb5;font:15px/1.5 "Silkscreen",monospace;letter-spacing:.08em;text-align:center}
@media(max-width:600px){html[data-language-r105].shop-scene-pending-r100 .secondary-page-hero[data-page-art="shop"]>.language-shop-startup-r105{font-size:13px}}
/* ARIA is localized too. Layout must not depend on its former English value. */
.site-header nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;flex:1 1 auto;width:100%;min-width:0;max-width:1100px;align-items:stretch;margin:0}
.site-header nav :is(a.r31-bi,a.r31-bi[aria-current="page"]){display:flex;flex-direction:column;flex:none;width:100%;min-width:0;height:auto;min-height:76px;padding:8px 4px}
.site-header nav a.r31-bi>.r31-bi-ja{overflow-wrap:normal}
.r105-language-compact .language-subtitle-r105{font-size:12px;line-height:1.4}
/* Keep Miora's existing two navigation/focus owners, not the disabled duplicate
   art hit targets. The desktop row reads as captions below the native plaques;
   phone controls keep R85's larger touch layout. ARIA text is never a selector. */
@media(min-width:601px){
  html[data-language-r105] .miora-mobile-nav-r31{gap:clamp(12px,4vw,64px);padding:4px clamp(12px,7.666vw,136px) 8px;background:#020812}
  html[data-language-r105] .miora-mobile-nav-r31 a{gap:2px;min-height:44px;padding:6px 8px;border:0;background:transparent;box-shadow:none;font-size:14px;line-height:1.5}
  html[data-language-r105] .miora-mobile-nav-r31 .monument-en{font-size:14px}
  html[data-language-r105] .miora-mobile-nav-r31 .monument-ja{font-size:12px}
  html[data-language-r105] .miora-mobile-nav-r31 a:is(:hover,:active){background:transparent;color:#fff0bf;text-decoration:underline;text-underline-offset:3px}
  html[data-language-r105] .miora-mobile-nav-r31 a:focus-visible{outline:3px solid #fff0bf;outline-offset:2px}
}
@media(max-width:1000px){.site-header nav{grid-template-columns:repeat(3,minmax(0,1fr));max-width:700px}.language-switch-r105{justify-content:center}}
@media(max-width:600px){.site-header nav{grid-template-columns:repeat(2,minmax(0,1fr));flex:0 1 100%;width:100%;max-width:440px}.site-header nav a.r31-bi:last-child:nth-child(odd){grid-column:1/-1;justify-self:center;width:calc((100% - 8px)/2)}}
@media(max-width:360px){.language-switch-r105{gap:5px}.language-switch-r105 select{font-size:13px;padding:6px 8px}.language-subtitle-r105{font-size:12px}}
@media(prefers-reduced-motion:reduce){.language-switch-r105 select{transition:none;animation:none}}

/* The source English is restored in every single-language mode; hybrid alone
   retains its secondary Japanese captions. Dialogue never hides site artwork. */
html[data-language-r105]:not([data-language-r105="hybrid"]) :is(.language-subtitle-r105,.r31-bi>.r31-bi-ja,.language-native-pair-r105>.monument-ja,.language-native-pair-r105>.renzai-label-ja-r34){display:none!important}
.language-switch-r105 select{max-width:200px;width:200px;min-height:44px;padding:6px 26px 6px 10px;font-family:system-ui,sans-serif;font-size:14px;color-scheme:dark}
.language-dialog-r106{box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;border:3px solid #e3b269;border-radius:0;padding:24px;background:#14111e;color:#f7e4c8;box-shadow:0 0 0 4px #512b3b,0 12px 0 #08060e;font:16px/1.6 system-ui,sans-serif}
.language-dialog-r106::backdrop{background:rgba(3,2,10,.78)}
.language-dialog-r106 h2{margin:0 0 12px;font-size:22px;line-height:1.4;color:#ffdda1}
.language-dialog-r106 p{margin:0 0 16px;overflow-wrap:anywhere}
.language-dialog-r106__target{padding:12px;border:1px solid #54718c;background:#0b1827}
.language-dialog-r106__actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap}
.language-dialog-r106 button{min-height:44px;border:2px solid #d68b43;border-radius:0;background:#392333;color:#f7e4c8;padding:8px 14px;font:inherit;cursor:pointer}
.language-dialog-r106 button:last-child{background:#762a40}
.language-dialog-r106 button:focus-visible{outline:3px solid #b6e5f5;outline-offset:3px}
.language-changing-r106 :is(.language-primary-r105,.r31-bi-en){animation:language-reveal-r106 180ms steps(4,end)}
@keyframes language-reveal-r106{from{opacity:.5}to{opacity:1}}
@media(max-width:1000px){.language-switch-r105{margin:6px auto 0}}
@media(max-width:360px){.language-switch-r105{gap:6px}.language-switch-r105__label{font-size:12px}.language-switch-r105 select{width:180px;max-width:180px}.language-dialog-r106{padding:18px}}
@media(prefers-reduced-motion:reduce){.language-changing-r106 :is(.language-primary-r105,.r31-bi-en){animation:none}}
[data-language-hybrid-tab-r106]{display:none}
html[data-language-r105="hybrid"] [data-language-hybrid-tab-r106]{display:inline}
/* R133: ten full-width Cyrillic glyphs must fit inside their own header frame.
   Retain the authored font, grid, focus ring and 16px ceiling in Russian only. */
html[data-language-r105="ru"] .site-header nav a.r31-bi{container-type:inline-size}
html[data-language-r105="ru"] .site-header nav a.r31-bi>.r31-bi-en{font-size:min(16px,9.5cqi)}
@container renzai-scene-r34 (min-width:1200px){
 html[data-language-r105="hybrid"] .renzai-navigation-r34 .renzai-label-ja-r34{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);background:none;box-shadow:none}
}

/* Native select retains its keyboard/touch owner. Pixel chevron only signals the menu. */
.language-switch-r105 select{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%226%22%3E%3Cpath fill=%22%23f7e4c8%22 d=%22M0 0h12v2h-2v2H8v2H4V4H2V2H0Z%22/%3E%3C/svg%3E");background-position:calc(100% - 10px) 50%;background-size:12px 6px;background-repeat:no-repeat}
@media(forced-colors:active){.language-switch-r105 select{appearance:auto;background-image:none}}

/* Original Japanese decorative subtitles belong to the hybrid and Japanese
   views. They are not translated content in other selected languages. */
html[data-language-r105]:not([data-language-r105="hybrid"]):not([data-language-r105="ja"]) .r70-showcase .jp[lang="ja"]{display:none!important}
