/* Shin Sekai Online — English site
   index.html + style.css, nothing else
   ------------------------------------------------- */

:root {
  --bg: #f2efe6;
  --surface: #fffdf8;
  --surface-2: #ece8db;
  --line: #ded8c8;
  --ink: #1b1914;
  --ink-soft: #45413a;
  --ink-mute: #7d776a;

  --dark: #17150f;
  --dark-2: #211e17;
  --dark-line: rgba(255, 255, 255, .09);
  --on-dark: #ded8c8;
  --on-dark-mute: #8d8778;

  --accent: #7d5230;
  --accent-deep: #5c3a1e;
  --accent-bright: #c99a63;
  --green: #4fc389;

  --max: 1200px;
  --ease: .22s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: Sora, system-ui, sans-serif; letter-spacing: -.02em; margin: 0; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease), background-color var(--ease), border-color var(--ease),
              transform var(--ease), box-shadow var(--ease), letter-spacing var(--ease), opacity var(--ease);
}
a:hover { color: var(--accent-deep); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-mute);
}

/* ============ header ============ */

.masthead {
  position: sticky; top: 0; z-index: 30;
  background: var(--dark);
  color: var(--on-dark);
}

/* utility row */
.util { border-bottom: 1px solid var(--dark-line); font-size: 12.5px; }
.util .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 6px 24px; min-height: 38px; padding-block: 6px;
}
.util-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.util-label { color: var(--on-dark-mute); }
.util strong { color: #fffdf8; font-weight: 600; }
.counts { display: flex; align-items: center; gap: 20px; font-variant-numeric: tabular-nums; }

.status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(79, 195, 137, .18);
}
.status .is-open strong { color: var(--green) !important; font-weight: 600; }

.lang { display: inline-flex; align-items: center; gap: 7px; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; }
.lang .is-current { color: #fffdf8; }
.lang .sep { color: #4a4436; }
.lang a { color: var(--on-dark-mute); }
.lang a:hover { color: #fffdf8; }

.member { display: inline-flex; align-items: center; gap: 14px; }
.member .plain { color: var(--on-dark); }
.member .plain:hover { color: #fffdf8; }

.btn-accent {
  background: var(--accent);
  color: #fff; font-weight: 500;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset;
}
.btn-accent:hover { background: #93623a; color: #fff; transform: translateY(-1px); }
.btn-accent:active { transform: translateY(0); }

/* brand row */
.brand-row .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
}

.logo { display: inline-flex; align-items: baseline; gap: 12px; font-family: Sora, sans-serif; }
.logo-mark {
  font-size: clamp(23px, 2.7vw, 30px); font-weight: 700;
  letter-spacing: -.035em; color: #fffdf8;
}
.logo-sub {
  font-family: Sora, sans-serif;
  font-size: clamp(15px, 1.7vw, 20px); font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-bright);
  transition: letter-spacing var(--ease), color var(--ease);
}
.logo:hover .logo-sub { letter-spacing: .26em; color: #e0bb8c; }

.nav { display: flex; align-items: center; gap: 4px; font-family: Sora, sans-serif; font-size: 14px; font-weight: 500; }
.nav a { color: #a9a394; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: #fffdf8; background: rgba(255, 255, 255, .07); }
.nav a.is-current { color: var(--dark); background: var(--on-dark); }
.nav a.is-current:hover { background: #fffdf8; }

/* ============ mobile drawer (CSS only) ============ */

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.burger {
  display: none;
  width: 46px; height: 46px; flex: 0 0 auto;
  border: 1px solid var(--dark-line); border-radius: 10px;
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: background-color var(--ease), border-color var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, .07); }
.burger span { display: block; width: 19px; height: 1.5px; background: var(--on-dark); border-radius: 2px; }

.scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(23, 21, 15, .6);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(330px, 88vw);
  background: var(--dark);
  color: var(--on-dark);
  padding: 18px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-x {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--dark-line); border-radius: 10px;
  color: var(--on-dark); font-size: 20px; line-height: 1; cursor: pointer;
  transition: background-color var(--ease);
}
.drawer-x:hover { background: rgba(255, 255, 255, .07); }

.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a {
  font-family: Sora, sans-serif; font-weight: 500; font-size: 17px;
  color: #b7b1a2; padding: 14px 14px; border-radius: 10px;
}
.drawer nav a:hover { background: rgba(255, 255, 255, .07); color: #fffdf8; }
.drawer nav a.is-current { color: #fffdf8; background: rgba(255, 255, 255, .1); }

.drawer-foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--dark-line);
  display: flex; flex-direction: column; gap: 10px;
}
.drawer-foot .btn-accent, .btn-ghost {
  text-align: center; padding: 14px; border-radius: 999px;
  font-family: Sora, sans-serif; font-weight: 500;
}
.btn-ghost { border: 1px solid var(--dark-line); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); color: #fffdf8; }

.nav-toggle:checked ~ .scrim { opacity: 1; visibility: visible; }
.nav-toggle:checked ~ .drawer { transform: translateX(0); }

/* ============ intro ============ */

.intro { padding: clamp(44px, 7vw, 84px) 0 clamp(30px, 4vw, 48px); }

.intro-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); opacity: .5; }

.intro h1 {
  font-size: clamp(34px, 5.4vw, 58px);
  font-weight: 600; line-height: 1.04;
  letter-spacing: -.035em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.intro h1 em { font-style: normal; color: var(--accent); }

.lede {
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  line-height: 1.6; color: var(--ink-soft);
  max-width: 60ch; margin: 0; text-wrap: pretty;
}

.jump { display: grid; gap: 12px; }

.jump-link {
  display: block; position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  color: inherit;
}
.jump-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(27, 25, 20, .35);
  color: inherit;
}
.jump-title {
  font-family: Sora, sans-serif; font-weight: 600; font-size: 16.5px;
  color: var(--accent); margin-bottom: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.jump-title .arrow { transition: transform var(--ease); }
.jump-link:hover .arrow { transform: translateX(5px); }
.jump-link p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-mute); }

/* ============ news ============ */

.news-section { padding-bottom: clamp(50px, 7vw, 90px); }

.section-head {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 34px;
}
.section-head h2 {
  font-size: clamp(20px, 2.2vw, 25px); font-weight: 600;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-head h2::before {
  content: ""; width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg);
}
.section-head .rule {
  flex: 1; height: 1px; min-width: 40px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--line) 45%, transparent 100%);
  opacity: .6;
}

/* shared media placeholder */
.shot {
  position: relative;
  background: linear-gradient(158deg, #e9e4d5 0%, #ddd7c5 100%);
  border-radius: 12px;
  overflow: hidden;
  display: grid; place-items: center;
  text-align: center; padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(27, 25, 20, .09);
  transition: box-shadow var(--ease), transform var(--ease);
}
.shot span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #8a8475;
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.5) 0 2px, transparent 2px 9px);
  opacity: .5; pointer-events: none;
}

/* featured post */
.featured {
  display: grid; gap: clamp(22px, 3.5vw, 40px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 2.6vw, 28px);
  margin-bottom: 44px;
  transition: box-shadow var(--ease);
}
.featured:hover { box-shadow: 0 20px 44px -28px rgba(27, 25, 20, .4); }
.featured .shot { aspect-ratio: 16 / 10; }
.tag {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); border: 1px solid rgba(125, 82, 48, .35);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 16px;
}
.featured h3 {
  font-size: clamp(23px, 2.8vw, 31px); font-weight: 600; line-height: 1.15;
  margin-bottom: 14px;
}
.featured p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); text-wrap: pretty; }

.byline { display: flex; align-items: center; gap: 10px; }
.byline .who { color: var(--ink); font-weight: 500; }
.byline .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }

/* post list */
.news-list { display: flex; flex-direction: column; }

.post {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.post:last-child { border-bottom: 1px solid var(--line); }
.post .shot { aspect-ratio: 16 / 10; }
.post:hover .shot { box-shadow: inset 0 0 0 1px rgba(125, 82, 48, .5); }
.post h3 { font-size: 19.5px; font-weight: 600; line-height: 1.25; margin-bottom: 10px; }
.post p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.68; color: var(--ink-soft); text-wrap: pretty; max-width: 66ch; }

/* ============ footer ============ */

.site-footer { background: var(--dark); color: var(--on-dark-mute); }

.footer-top {
  display: grid; gap: 28px 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  padding-block: 44px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo { pointer-events: none; }
.footer-brand p { margin: 0; font-size: 13.5px; max-width: 44ch; line-height: 1.55; }

.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  margin: 0 0 2px; font-family: "IBM Plex Mono", monospace; font-weight: 500;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #5f594c;
}
.footer-col a { color: #b7b1a2; font-size: 14px; }
.footer-col a:hover { color: #fffdf8; }

.footer-legal { border-top: 1px solid var(--dark-line); }
.footer-legal .wrap {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  padding-block: 18px;
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: #5f594c;
}

/* ============ responsive ============ */

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: flex; }
  .intro-grid { grid-template-columns: minmax(0, 1fr); }
  .lede { max-width: 68ch; }
  .post { grid-template-columns: 210px minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .masthead { position: static; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .post { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 26px 0; }
  .post .shot, .featured .shot { aspect-ratio: 16 / 9; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .util .wrap { row-gap: 8px; }
  .counts { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* thumbnails off */
.no-shots .shot { display: none; }
.no-shots .featured { grid-template-columns: minmax(0, 1fr); }
.no-shots .post { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .no-shots .post { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================
   Pages internes (site anglais /en/)
   ===================================================== */

/* vraies images dans les blocs .shot */
.shot.has-image { padding: 0; background: var(--surface-2); }
.shot.has-image::after { display: none; }
.shot.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* les visuels d'actualité ne font que 238 px de large :
   on limite la colonne de l'article à la une pour éviter le flou */
.featured { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }

/* ---------- squelette de page ---------- */
.page { padding: clamp(38px, 5vw, 64px) 0 clamp(50px, 7vw, 90px); }
.page-head { margin-bottom: clamp(26px, 3.4vw, 42px); }
.page-head h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 600;
  letter-spacing: -.03em; line-height: 1.08; margin-bottom: 14px; text-wrap: balance;
}
.page-head .lede { max-width: 68ch; }
.page-section { margin-top: clamp(34px, 4.5vw, 56px); }

.prose { max-width: 72ch; }
.prose p { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.68; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(19px, 2.1vw, 23px); font-weight: 600; margin: 34px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 26px 0 10px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- blocs ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: clamp(18px, 2.2vw, 26px);
}
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.panel p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.65; }
.panel p:last-child { margin-bottom: 0; }
.panel .role {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: 8px;
}
.panel-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* ---------- messages ---------- */
.notice {
  border-radius: 12px; padding: 14px 18px; margin-bottom: 22px;
  font-size: 15px; border: 1px solid; line-height: 1.55;
}
.notice-error { background: #fbecec; border-color: #e2bcbc; color: #7c2d2d; }
.notice-ok    { background: #eaf6f0; border-color: #b8ddc9; color: #22593d; }
.notice-info  { background: var(--surface-2); border-color: var(--line); color: var(--ink-soft); }
.notice ul { margin: 8px 0 0; padding-left: 18px; }
.notice li { margin-bottom: 4px; }
.notice a { color: inherit; text-decoration: underline; }

/* ---------- état vide / à venir ---------- */
.empty-state {
  text-align: center; background: var(--surface);
  border: 1px dashed var(--line); border-radius: 16px;
  padding: clamp(40px, 6vw, 76px) 24px;
}
.empty-state .eyebrow { justify-content: center; }
.empty-state h2 { font-size: clamp(21px, 2.4vw, 26px); font-weight: 600; margin-bottom: 10px; }
.empty-state p { margin: 0 auto; max-width: 52ch; color: var(--ink-mute); }

/* ---------- tableaux ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%; border-collapse: collapse; font-size: 14.5px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.data-table th {
  text-align: left; font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
  background: var(--surface-2); padding: 12px 14px; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong { color: var(--ink); font-weight: 600; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table img.mob { display: block; image-rendering: pixelated; }
.muted { color: var(--ink-mute); }
.plus { color: #2f7a55; font-weight: 500; }

/* ---------- badges d'élément ---------- */
.elem {
  display: inline-block; font-family: "IBM Plex Mono", monospace;
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap;
}
.elem-water { color: #2c6284; border-color: #a9c8da; background: #e8f2f8; }
.elem-fire  { color: #9a4423; border-color: #e0bba7; background: #fbeee7; }
.elem-earth { color: #6a5124; border-color: #d8c69c; background: #f8f1e0; }
.elem-plant { color: #3f6b32; border-color: #b6d2ac; background: #eef6ea; }

/* ---------- formulaires ---------- */
.form { max-width: 470px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 6px; }
.form-row .hint { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 6px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 11px 13px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(125, 82, 48, .13); }
.form input.is-error { border-color: #c07272; background: #fdf7f7; }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; color: #a33f3f; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-aside { margin-top: 26px; font-size: 14.5px; color: var(--ink-mute); }

button.btn-accent {
  font: inherit; font-size: 15px; font-weight: 500;
  border: 0; cursor: pointer; padding: 10px 22px; border-radius: 999px;
  background: var(--accent); color: #fff;
  transition: background-color var(--ease), transform var(--ease);
}
button.btn-accent:hover { background: #93623a; transform: translateY(-1px); }
button.btn-accent:active { transform: translateY(0); }

.btn-line {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  background: var(--surface);
}
.btn-line:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- onglets (page Download) ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tabs a {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 8px 18px; font-size: 14.5px; color: var(--ink-soft);
}
.tabs a:hover { border-color: var(--accent); color: var(--accent); }
.tabs a.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- galerie de captures ---------- */
.gallery {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.gallery a {
  display: block; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  aspect-ratio: 4 / 3;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery a:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(27, 25, 20, .4); }

/* ---------- document intégré (Google Docs) ---------- */
.doc-frame { width: 100%; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }

/* ---------- espace membre ---------- */
.member-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: clamp(24px, 3vw, 34px);
}
.member-bar a {
  border: 1px solid var(--line); background: var(--surface);
  border-radius: 999px; padding: 8px 18px; font-size: 14.5px; color: var(--ink-soft);
}
.member-bar a:hover { border-color: var(--accent); color: var(--accent); }
.member-bar a.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }

.char-block { margin-top: clamp(30px, 4vw, 46px); }
.char-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.char-head h2 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 600; }
.char-head .mono { color: var(--ink-mute); }
.sub-head {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
  margin: 26px 0 10px;
}

.meter {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  width: 110px; height: 8px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); overflow: hidden;
}
.meter span { display: block; height: 100%; }
.meter-hp span { background: #b5563f; }
.meter-mp span { background: #3f6bb5; }

/* ---------- responsive des pages internes ---------- */
@media (max-width: 1000px) {
  .featured { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .featured { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .form { max-width: none; }
}
