#lore-language{display:flex;justify-content:flex-end;gap:6px;padding:8px max(16px,calc((100% - 1200px)/2));background:#080c15;color:#eee4d3;position:relative;z-index:80;font:600 14px/1.4 system-ui,sans-serif}#lore-language a{display:inline-flex;align-items:center;min-height:40px;padding:6px 14px;border:1px solid #877247;border-radius:7px;color:#e8d09a;text-decoration:none}#lore-language a[aria-current=page]{background:#e3c78b;color:#14101a}html[lang=ja] body{font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;line-height:1.8}html[lang=ja] h1,html[lang=ja] h2,html[lang=ja] h3{font-family:inherit;line-height:1.45;letter-spacing:.015em}html[lang=ja] button,html[lang=ja] .button,html[lang=ja] nav a{white-space:normal;line-height:1.5;letter-spacing:normal}html[lang=ja] .eyebrow,html[lang=ja] .kicker{letter-spacing:.08em}html[lang=ja] .mobile-nav a{font-size:13px}html[lang=ja] input,html[lang=ja] select,html[lang=ja] textarea{font-size:16px}
/* Recovered Japanese original LORE sheets, fitted within the existing approved holder. */
html[lang=ja] .card-preview.ultra-front::before{content:"";position:absolute;left:9%;top:21%;width:82%;aspect-ratio:341/447;background:url('/locales/cards/lyra.webp') 95.0% 12%/450.44% 229.08% no-repeat;border-radius:8px;pointer-events:none}
html[lang=ja] .slab-back-print{background-image:url('/locales/cards/lyra.webp');background-size:450.44% 223.58%;background-position:95.06% 92.93%}
/* Japanese title stays in the label's text column, underneath the approved UV logo layer. */
html[lang=ja] .approved-inset-label::before,html[lang=ja] .slab-back-label::before,html[lang=ja] .label-preview::before{content:'ライラ\Aプリズム\A00001';white-space:pre;position:absolute;left:37%;top:13%;width:29%;height:76%;display:flex;align-items:center;justify-content:center;text-align:center;font:600 clamp(5px,1.3vw,13px)/1.45 'Yu Gothic',Meiryo,sans-serif;color:#fff2bc;background:radial-gradient(ellipse,#302013,#110d10);border-radius:45%;pointer-events:none}

.lore-japanese-transcript{margin:16px 0;padding:16px;border:1px solid #aa8dbb;border-radius:12px;background:#171020;color:#fff;line-height:1.8}.lore-japanese-transcript summary{cursor:pointer;font-weight:700}.lore-japanese-transcript button{background:transparent;border:0;color:inherit;text-align:left;font:inherit;cursor:pointer;padding:8px;width:100%}.lore-japanese-transcript button:hover,.lore-japanese-transcript button:focus-visible{background:#352441;outline:2px solid #cba7e4}
/* Japanese homepage: readable, single-line navigation and a compact masthead. */
html[lang=ja] .lp-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
html[lang=ja] .lp-nav>a,html[lang=ja] .lp-nav summary{display:flex;align-items:center;justify-content:center;white-space:nowrap;word-break:keep-all;min-height:44px;padding:8px 4px;font-size:13px}
html[lang=ja] .lp-dock a{white-space:nowrap;letter-spacing:0}
@media(max-width:760px){html[lang=ja] #lore-language{padding:5px 16px}html[lang=ja] #lore-language a{min-height:36px;padding:4px 12px}html[lang=ja] .lp-header{gap:8px;padding:8px 16px}html[lang=ja] .lp-brand img{width:108px}html[lang=ja] .lp-brand>span:last-child{font-size:18px}html[lang=ja] .lp-logo-home small{font-size:12px}html[lang=ja] .lp-nav{width:100%}html[lang=ja] .lp-dock a{font-size:12px;padding:12px 2px}}
@media(max-width:360px){html[lang=ja] .lp-nav>a,html[lang=ja] .lp-nav summary{font-size:12px}}

/* Six header actions must fit as separate touch targets on phones. */
@media(max-width:760px){
 html[lang=ja] .lp-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;width:100%}
 html[lang=ja] .lp-nav>a,html[lang=ja] .lp-nav summary{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:center;padding:10px 6px;min-height:44px}
 html[lang=ja] .lp-nav details{min-width:0}
 html[lang=ja] .lp-dock{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding-left:8px;padding-right:8px}
 html[lang=ja] .lp-dock a{min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;font-size:11px;line-height:1.4;display:flex;align-items:center;justify-content:center;padding:10px 3px}
 html[lang=ja] .lp-brand .lp-tcg-brand{min-width:0;flex:1;text-align:right}
 html[lang=ja] header .lp-brand .lore-tcg-wordmark{width:100%!important;max-width:100%!important}
 html[lang=ja] .phone-install h2{font-size:clamp(24px,6vw,34px)}
}
