/* creator.css — le créateur de personnage (même langage papier / cuir que le reste). */
.creator-screen { background: radial-gradient(ellipse at 35% 50%, rgba(20, 10, 6, 0.15), rgba(20, 10, 6, 0.7)); pointer-events: auto; }
.creator {
  position: absolute; inset: 0; display: flex; gap: 28px; align-items: center; justify-content: center;
  padding: 24px; font-family: var(--pixel); word-spacing: 0.3em; color: var(--ink);
}
.cr-stage { width: 330px; padding: 18px 20px 20px; text-align: center; animation: cr-in 0.35s ease both; }
.cr-kicker {
  display: inline-block; padding: 2px 10px; border-radius: 6px; font-size: 0.75em;
  background: var(--gold); box-shadow: 0 2px 0 var(--gold-d);
}
.cr-title { margin: 8px 0 4px; font-size: 1.6em; font-weight: normal; }
.cr-podium { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cr-view {
  width: 160px; height: 240px; image-rendering: pixelated;
  background: radial-gradient(ellipse at 50% 92%, rgba(232, 176, 72, 0.35), transparent 55%),
              linear-gradient(180deg, #f6ecd4 0%, #e4cfa2 100%);
  border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(78, 39, 22, 0.25);
}
.cr-turn {
  width: 34px; height: 46px; border: none; border-radius: 8px; font-size: 1em; color: var(--ink);
  background: linear-gradient(180deg, #fff, var(--paper-2)); box-shadow: 0 0 0 2px var(--leather), 0 3px 0 2px var(--leather-d);
}
.cr-turn:active { transform: translateY(2px); }
.cr-anims { display: flex; gap: 6px; justify-content: center; margin: 12px 0 8px; }
.cr-anim {
  font: inherit; font-size: 0.72em; padding: 4px 8px; border: none; border-radius: 6px; color: var(--ink-soft);
  background: rgba(78, 39, 22, 0.08); box-shadow: inset 0 0 0 2px rgba(78, 39, 22, 0.18);
}
.cr-anim.on { color: var(--scr-ink); background: var(--scr); box-shadow: 0 0 0 2px var(--leather), 0 0 10px rgba(143, 255, 208, 0.35); }
.cr-id { display: flex; gap: 10px; align-items: center; text-align: left; margin: 6px 0 14px; }
.cr-id p { margin: 0; font-family: var(--serif); font-size: 0.86em; color: var(--ink-soft); word-spacing: normal; line-height: 1.35; }
.cr-face {
  width: 56px; height: 56px; flex: none; image-rendering: pixelated; border-radius: 8px;
  background: #e8d6ae; box-shadow: 0 0 0 2px var(--leather), 0 3px 0 2px var(--leather-d);
}
.cr-actions { display: flex; gap: 10px; justify-content: center; }
.cr-panel {
  width: min(560px, 52vw); max-height: calc(100vh - 60px); overflow: auto; padding: 14px 18px;
  animation: cr-in 0.35s 0.08s ease both;
}
.cr-group + .cr-group { border-top: 2px dashed rgba(78, 39, 22, 0.18); margin-top: 8px; padding-top: 6px; }
.cr-group h3 { margin: 4px 0 6px; font-size: 0.95em; font-weight: normal; color: var(--leather); }
.cr-row { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 8px; margin: 5px 0; }
.cr-label { font-size: 0.72em; color: var(--ink-soft); }
.cr-opts { display: flex; flex-wrap: wrap; gap: 5px; }
.cr-opt { border: none; cursor: pointer; font: inherit; transition: transform 0.08s ease; }
.cr-opt:hover { transform: translateY(-1px); }
.cr-opt.word {
  font-size: 0.7em; padding: 4px 8px; border-radius: 6px; color: var(--ink);
  background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 2px rgba(78, 39, 22, 0.2);
}
.cr-opt.swatch {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--c) 55%, var(--c2) 55%);
  box-shadow: inset 0 0 0 2px rgba(43, 29, 42, 0.55);
}
.cr-opt.word.on { background: var(--gold); box-shadow: 0 0 0 2px var(--leather), 0 2px 0 2px var(--leather-d); }
.cr-opt.swatch.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--leather); transform: scale(1.08); }
@keyframes cr-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .creator { flex-direction: column; overflow: auto; justify-content: flex-start; }
  .cr-panel { width: 100%; max-height: none; }
}
