/* Native strict kinsoku; explicit phrase spans + wbr work without auto-phrase,
   including Safari. The stored Japanese wording is unchanged. */
:lang(ja){line-break:strict}
html[lang="ja"] :is(h1,h2,h3,.ic-card strong){word-break:auto-phrase;overflow-wrap:normal}
html[lang="ja"] .ic-ja-phrase{display:inline-block;white-space:nowrap;max-width:100%;font:inherit;letter-spacing:inherit}
html[lang="ja"] :is(em,i,.world-question,.world-questions){font-style:normal}
html[lang="ja"] :is(em,i):lang(en),html[lang="ja"] :is(em,i):lang(la){font-style:italic}
html[lang="ja"] :is(.eyebrow,.ic-eyebrow,.feature-label p,.hero-art figcaption,.hero-art figcaption *, .ic-type,.ic-badge,.ic-meta,.ic-go,.curio-action,.ic-song ul a,.ic-nav a,.ic-footer nav a){font-size:12px!important;letter-spacing:.025em!important;text-transform:none}
html[lang="ja"] :is(p,figcaption,.map-note,.map-notes){max-width:38em}
html[lang="ja"] .ic-ja-gloss{font-size:15px;line-height:1.7;margin:8px 0 14px;color:#514a3d}
html[lang="ja"] .ic-ja-other-heading{font-size:16px;margin:24px 0 12px;letter-spacing:0}
html[lang="ja"] [data-ic-latest] .ic-cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
html[lang="ja"] .join-section>div{min-width:0}
@media(max-width:360px){html[lang="ja"] .chapter-head .display,html[lang="ja"] .curio-hub-title h1{font-size:34px}}
html[lang="ja"] :is(.chapter-context p,.chapter-context a,.story-switcher button,.ic-chapter-count,.art-label,.world-depth>summary>span,.edition,.dek>a,figcaption strong,.caption,.roles b,.rail a,.section-nav a){font-size:12px!important;letter-spacing:.025em!important}
/* Shared card/tap-target repairs explicitly included in the handover. */
.ic-card img{height:auto;aspect-ratio:16/10;object-fit:cover}
.curio-card>img{height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important;align-self:start}
.ic-footer nav a,.ic-crumbs a{display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box}
.hero-links a,.home-listen a,.song-links a,.listen-links a{display:inline-flex;align-items:center;min-height:44px}
@media(max-width:860px){.ic-card{flex-direction:column}.ic-card img{width:100%;aspect-ratio:16/10;object-fit:cover}.ic-card strong{font-size:24px}.ic-card p{display:block}.ic-card .ic-card-body{box-sizing:border-box;width:100%}}
.ic-ja-hint{display:flex;align-items:center;justify-content:center;gap:20px;padding:8px 16px;background:#151918;color:#f5f1e8;font:14px/1.6 "Hiragino Sans","Yu Gothic",sans-serif}
.ic-ja-hint a{color:inherit;min-height:44px;display:inline-flex;align-items:center}
.ic-ja-hint button{background:transparent;color:inherit;border:1px solid currentColor;min-width:44px;min-height:44px;font-size:24px;cursor:pointer}
.ic-ja-hint :focus-visible{outline:3px solid #e69a34;outline-offset:3px}

@media(min-width:861px){body header.ic-header .ic-menu-contact{display:none!important}}
