/* Cinzel Decorative : distribution officielle Google Fonts v19, licence SIL OFL 1.1 dans assets/fonts. */
/* latin-ext */
@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cinzel-decorative-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/cinzel-decorative-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/cinzel-decorative-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel Decorative';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/fonts/cinzel-decorative-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Sélection explicite : les corps de texte, messages, valeurs et saisies
   n'héritent jamais de la police décorative. */
:root { --realm-display-font: 'Cinzel Decorative', Georgia, 'Times New Roman', serif; }
:is(#login-title, #player-welcome, #domain-name, #domain-view-title,
    #armorique-title, #buildings-title, #army-title, #inventory-title,
    #quest-title, #quest-npc-title, #tavern-title, #messaging-title,
    #player-profile-title, #player-search-title, #market-title,
    #expedition-title, #confirmation-title, #market-confirm-title,
    #potion-market-confirm-title),
.raid-header h2,
#player-screen > h3,
#player-screen > section > h3 {
  font-family: var(--realm-display-font);
  font-weight: 700;
  letter-spacing: .025em;
  overflow-wrap: anywhere;
}
.building-card h4, .expedition-unit h4,
.inventory-equipment h3, .inventory-potion-detail h3,
.inventory-active-effects h3, #quest-details h3,
#market-dialog .market-content h3, .market-card h3 {
  font-family: var(--realm-display-font);
  font-weight: 400;
  letter-spacing: .015em;
}
#player-screen > dl.stats .dashboard-card dt {
  font-family: var(--realm-display-font);
  font-weight: 700;
  letter-spacing: 0;
}
:is(.social-navigation, .map-view-switch, .auth-choices,
    .inventory-categories, .quest-tabs, .message-tabs, .market-tabs, .raid-tabs) button {
  font-family: var(--realm-display-font);
  font-weight: 700;
  letter-spacing: 0;
}
/* Boutons d'action : police simple conservée pour garder des commandes
   compactes et lisibles, notamment les libellés longs et les boutons +/−. */
/* Libellés courts : typographie décorative sans changement de dimensions. */
#building-list .building-card > button,
.army-card > button,
#confirmation-accept, #confirmation-cancel {
  font-family: var(--realm-display-font);
  font-weight: 400;
  letter-spacing: 0;
}
/* Empêche la largeur intrinsèque des nouveaux libellés d'élargir la grille
   de la page sur les écrans étroits. */
.welcome { min-width: 0; }
/* Les mots des onglets restent entiers ; ils passent sur une autre ligne
   plutôt que d'être comprimés dans trois colonnes sur un petit écran. */
.quest-tabs button { flex-basis: auto; }
/* Inscriptions secondaires : seuls les libellés reçoivent Cinzel 400.
   Les valeurs, champs, descriptions et badges de quantité restent inchangés. */
.typography-label,
#expedition-content .expedition-eyebrow,
#expedition-content .expedition-section-title,
#expedition-content dt,
#quest-details h4,
.inventory-summary > span:not(#inventory-count),
.market-eyebrow {
  font-family: var(--realm-display-font);
  font-weight: 400;
  letter-spacing: 0;
}
#player-screen > dl.stats .dashboard-card dt { font-weight: 400; }
/* Une inscription inline ne doit pas agrandir la hauteur des lignes existantes. */
.typography-label { line-height: 1; }
@media (max-width: 360px) {
  .army-card .typography-label { font-size: .8125rem; }
}
