/* Identités en comparaison : chargement local, limité à /identites-da et /proposition-da. */
@font-face{font-family:"RT Lora";src:url('/assets/fonts/identities/Lora.ttf') format('truetype');font-weight:400 700;font-display:swap}
@font-face{font-family:"RT Lora";src:url('/assets/fonts/identities/Lora-Italic.ttf') format('truetype');font-weight:400 700;font-style:italic;font-display:swap}
@font-face{font-family:"RT Source Sans";src:url('/assets/fonts/identities/SourceSans3.ttf') format('truetype');font-weight:200 900;font-display:swap}
@font-face{font-family:"RT Source Sans";src:url('/assets/fonts/identities/SourceSans3-Italic.ttf') format('truetype');font-weight:200 900;font-style:italic;font-display:swap}
@font-face{font-family:"RT Fell";src:url('/assets/fonts/identities/IMFellEnglish.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:"RT Alegreya Sans";src:url('/assets/fonts/identities/AlegreyaSans-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:"RT Alegreya Sans";src:url('/assets/fonts/identities/AlegreyaSans-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
@font-face{font-family:"RT Fraunces";src:url('/assets/fonts/identities/Fraunces.ttf') format('truetype');font-weight:100 900;font-display:swap}
[data-identity=a]{--rune-title:"Rune Cinzel",Georgia,serif;--rune-prose:"RT Lora",Georgia,serif;--rune-ui:"RT Source Sans","Segoe UI",sans-serif;--title-weight:500;--brand-weight:600;--title-tracking:.005em}
[data-identity=b]{--rune-title:"RT Fell",Georgia,serif;--rune-prose:"Rune Alegreya",Georgia,serif;--rune-ui:"RT Alegreya Sans","Segoe UI",sans-serif;--title-weight:400;--brand-weight:400;--title-tracking:0}
[data-identity=c]{--rune-title:"RT Fraunces",Georgia,serif;--rune-prose:"RT Source Sans","Segoe UI",sans-serif;--rune-ui:"RT Source Sans","Segoe UI",sans-serif;--title-weight:550;--brand-weight:650;--title-tracking:-.025em}
.identity-mark{width:46px;height:46px;flex-shrink:0;color:#d5bb7e;overflow:visible}
.identity-wordmark{font-family:var(--rune-title);font-weight:var(--brand-weight);font-size:29px;line-height:1.1;letter-spacing:var(--title-tracking);color:#f1e7cb}
[data-identity=c] .identity-wordmark{font-variation-settings:"SOFT" 65,"WONK" 1;font-optical-sizing:auto}
.identity-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px max(16px,calc((100vw - 1264px)/2));background:#0e211b;border-bottom:1px solid #66755055;color:#d9dfca;font:13px/1.3 "Segoe UI",sans-serif}
.identity-tools [role=group]{display:flex;flex-wrap:wrap;gap:6px}.identity-tools button{background:transparent;border:1px solid #64745a;color:#d9dfca;padding:8px 12px;border-radius:3px;min-height:38px;font:inherit}.identity-tools button[aria-pressed=true]{background:#314d38;border-color:#d0b57b;color:#f6e6ba}.identity-tools a{color:#d9dfca;text-underline-offset:4px;white-space:nowrap}.identity-tools button:disabled{opacity:.45}.identity-tools button b{color:#dfc48c;margin-right:5px}
/* Rôles complets : titres / lecture / commandes et chiffres. */
.prod-art[data-identity]{font-family:var(--rune-ui);font-size:16px}
.prod-art[data-identity] :is(button,input,select,textarea,label,.eyebrow,.tag,.fine-print,.avatar,.pa-display small,.mystery-note .eyebrow){font-family:var(--rune-ui)}
.prod-art[data-identity] :is(h1,h2,h3,.chapter strong,.map-toolbar strong,.stage-number,.scene-title,.place-label strong){font-family:var(--rune-title);font-weight:var(--title-weight);letter-spacing:var(--title-tracking)}
.prod-art[data-identity] :is(.quest-prose p,.quest-testimony,.quest-clue p,.nelle-prose,.building-desc,.mystery-note p,.activity-item p){font-family:var(--rune-prose)}
.prod-art[data-identity] :is(.resource,.pa-display,.conversion strong,.village-pa strong,.number-field input,.material-line strong,.step-count,.map-inspection,.progress-label){font-family:var(--rune-ui);font-variant-numeric:lining-nums tabular-nums}
.prod-art[data-identity] .topbar .shell{gap:28px}
.prod-art[data-identity] .brand{gap:9px;flex-shrink:0}
.prod-art[data-identity] .brand>.identity-wordmark{font-family:var(--rune-title);font-size:27px;font-weight:var(--brand-weight);color:#f1e7cb;letter-spacing:var(--title-tracking)}
.prod-art[data-identity] .nav{gap:2px}
.prod-art[data-identity] .nav button{font-family:var(--rune-ui);font-size:16px;font-weight:400;padding-inline:14px;gap:8px;position:relative}
.prod-art[data-identity] .nav button[aria-current=page]{font-weight:700;background:linear-gradient(0deg,#d6ba7b12,transparent 70%)}
.prod-art[data-identity] .nav button:hover{background-color:#c4ca9b0b;color:#f5e8c6}
.prod-art[data-identity] .nav .identity-icon{width:24px;height:24px;display:block;flex-shrink:0}
.prod-art[data-identity] .profile{font-size:14px;gap:10px}.prod-art[data-identity] .profile .link-button{font-size:13px}
.prod-art[data-identity] .page-heading h1{font-size:38px;line-height:1.2}
.prod-art[data-identity] .quest-prose p{font-size:18px;line-height:1.6;text-wrap:pretty}
.prod-art[data-identity=b] .quest-prose p{font-size:20px;line-height:1.6}
.prod-art[data-identity=c] .quest-prose p{font-size:19px;line-height:1.6}
.prod-art[data-identity] .activity-item h3{font-size:17px;line-height:1.35}
.prod-art[data-identity] .activity-item p{font-size:16px;line-height:1.5}
.prod-art[data-identity] .primary,.prod-art[data-identity] .secondary{font-size:14px}
.prod-art[data-identity] .place-label strong{font-size:12px}
/* Les outils de comparaison gardent leur typographie neutre. */
.prod-art[data-identity] :is(.appearance-tools,.identity-tools) button{font-family:"Segoe UI",sans-serif}
@media(max-width:1170px) and (min-width:761px){.prod-art[data-identity] .topbar .shell{gap:18px;padding-inline:24px}.prod-art[data-identity] .brand>.identity-wordmark{font-size:24px}.prod-art[data-identity] .identity-mark{width:39px;height:39px}.prod-art[data-identity] .nav button{padding-inline:9px;font-size:15px;gap:6px}.prod-art[data-identity] .profile{gap:7px}}
@media(max-width:900px) and (min-width:761px){.prod-art[data-identity] .topbar .shell{gap:14px;padding-inline:18px}.prod-art[data-identity] .brand>.identity-wordmark{font-size:21px}.prod-art[data-identity] .identity-mark{width:32px;height:32px}.prod-art[data-identity] .nav button{padding-inline:7px;font-size:14px;gap:4px}.prod-art[data-identity] .nav .identity-icon{width:20px;height:20px}.prod-art[data-identity] .profile{flex-direction:column;gap:0}.prod-art[data-identity] .profile .link-button{padding:3px 0}}
@media(max-width:760px){
 .identity-tools{padding:8px 12px;gap:8px;flex-wrap:wrap;font-size:11px}.identity-tools [role=group]{flex:1;gap:4px}.identity-tools button{padding:7px 8px;flex:1;min-height:38px}.identity-tools button .identity-long{display:none}.identity-tools a{font-size:11px}
 .prod-art[data-identity] .topbar .shell{gap:0 12px}.prod-art[data-identity] .brand{gap:7px}.prod-art[data-identity] .brand>.identity-wordmark{font-size:25px}.prod-art[data-identity] .identity-mark{width:37px;height:37px}
 .prod-art[data-identity] .nav{height:auto;min-height:63px}
 .prod-art[data-identity] .nav:has(#nav-quests) button{flex-direction:column;justify-content:center;gap:4px;font-size:13px;padding:9px 3px 8px;min-height:63px}.prod-art[data-identity] .nav:has(#nav-quests) .identity-icon{display:block;width:23px;height:23px}
 .prod-art[data-identity] .nav .news-dot{position:absolute;top:8px;right:calc(50% - 20px)}
 .prod-art[data-identity] .page-heading h1{font-size:29px}.prod-art[data-identity] .place-label strong{font-size:10px}
 .prod-art[data-identity] .quest-prose p{font-size:17px;line-height:1.55}.prod-art[data-identity=b] .quest-prose p{font-size:19px}.prod-art[data-identity=c] .quest-prose p{font-size:18px}
}
@media(max-width:360px){.prod-art[data-identity] .village-layout{grid-template-columns:minmax(0,1fr)}.prod-art[data-identity] .material-deposit{margin-left:0}.prod-art[data-identity] .stage{padding:14px}}
