/* RPG por turnos (demo): perfil del personaje (/rpg) y combate de práctica contra la IA (/rpg/practica). */

.rpg-wrap { max-width: 1200px; margin: 0 auto; padding: 20px 16px 48px; }
.rpg-wrap [hidden] { display: none !important; }

/* ------------------------------------------------------------ piezas comunes */
.rpg-hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.rpg-hero h1 { margin: 0 0 4px; font-size: 26px; }
.rpg-hero p { margin: 0; color: var(--text-dim); max-width: 640px; }
.rpg-tag { font-size: 12px; vertical-align: middle; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: #1b1408; font-weight: 700; }

.rpg-panel { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.rpg-panel h2 { margin: 0 0 10px; font-size: 17px; }
.rpg-panel h3 { margin: 4px 0 10px; font-size: 15px; color: var(--accent); }
.rpg-empty { text-align: center; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rpg-note { color: var(--text-dim); font-size: 13px; margin: 4px 0 10px; }
.rpg-error { color: #f0a08f; font-size: 13px; margin: 8px 0 0; }

.rpg-btn {
  appearance: none; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text);
  border-radius: 8px; padding: 9px 12px; font: inherit; font-weight: 600; cursor: pointer;
  text-align: center; text-decoration: none; white-space: nowrap; display: inline-block;
}
.rpg-btn:hover:not(:disabled) { border-color: var(--accent-2); }
.rpg-btn:disabled { opacity: .45; cursor: default; }
.rpg-btn.primary { background: var(--accent-2); border-color: var(--accent-2); color: #0f150b; }
.rpg-btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.rpg-btn.danger:hover:not(:disabled) { border-color: #c1503a; color: #f0a08f; }
.rpg-btn.small { padding: 5px 10px; font-size: 13px; }

.rpg-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.rpg-field > span { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.rpg-field input[type="text"] {
  background: var(--bg); border: 1px solid var(--border); color: var(--text); border-radius: 8px; padding: 9px 10px; font: inherit;
}
.rpg-field input[type="range"] { width: 100%; accent-color: var(--accent-2); }

.pj-av {
  --c: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%; font-size: 20px;
  background: color-mix(in srgb, var(--c) 55%, #111); box-shadow: 0 0 0 2px var(--c);
}
.pj-av.big { width: 64px; height: 64px; font-size: 34px; }

.rpg-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: #2b1a14; border: 1px solid #c1503a; color: #f6d2c8; padding: 10px 16px; border-radius: 10px; max-width: 90vw;
}

/* ------------------------------------------------------------ elegir clase */
.class-pick { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.class-pick.inline { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.class-opt {
  --c: var(--accent); display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg-elevated); cursor: pointer;
}
.class-opt input { position: absolute; opacity: 0; pointer-events: none; }
.class-opt:has(input:checked) { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); background: color-mix(in srgb, var(--c) 14%, var(--bg-elevated)); }
.class-opt:has(input:focus-visible) { outline: 2px solid var(--accent-2); }
.co-icon { font-size: 24px; }
.co-txt { display: flex; flex-direction: column; min-width: 0; }
.co-txt small { color: var(--text-dim); font-size: 12px; line-height: 1.3; }

/* ------------------------------------------------------------ perfil */
.rpg-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 16px; align-items: start; }
.rpg-side { display: flex; flex-direction: column; gap: 16px; }
.pj-list { display: flex; flex-direction: column; gap: 6px; }
.pj-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font: inherit; text-align: left;
}
.pj-item input { position: absolute; opacity: 0; pointer-events: none; }
.pj-item.active, .pj-item:has(input:checked) { border-color: var(--accent-2); box-shadow: inset 0 0 0 1px var(--accent-2); }
.pj-info { display: flex; flex-direction: column; min-width: 0; }
.pj-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-info small { color: var(--text-dim); }

.rpg-sheet { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border-color: color-mix(in srgb, var(--c) 50%, var(--border)); }
.sh-name { flex: 1 1 200px; min-width: 0; }
.sh-name h2 { margin: 0; font-size: 22px; }
.sh-name span { color: var(--text-dim); font-size: 13px; }
.sh-level { flex: 1 1 200px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.sh-level small { color: var(--text-dim); }
.sh-level input { accent-color: var(--accent-2); }
.sh-actions { display: flex; gap: 8px; align-items: center; }

.sheet-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }

/* Muñeco de equipo: ranuras a izquierda y derecha, arma bajo la figura (como la ficha de WoW). */
.doll { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); gap: 8px; }
.doll-col { display: flex; flex-direction: column; gap: 6px; }
.doll-mid {
  --c: var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 6px; border-radius: 12px; border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%), var(--bg);
}
.doll-fig { display: flex; justify-content: center; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); }
.doll-fig canvas { display: block; max-width: 100%; height: auto !important; }
.doll-hp, .doll-papm { font-size: 12px; color: var(--text-dim); text-align: center; }
.doll-hp { font-size: 14px; color: var(--text); font-weight: 700; }
.doll-mid .slot { width: 100%; }

.slot {
  --r: var(--border); display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 8px; border-radius: 9px;
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); cursor: pointer; font: inherit; text-align: left;
}
.slot.full { border-color: color-mix(in srgb, var(--r) 70%, var(--border)); box-shadow: inset 3px 0 0 var(--r); }
.slot.sel { outline: 2px solid var(--accent-2); outline-offset: 1px; }
.slot-ico { font-size: 22px; width: 28px; text-align: center; flex: none; opacity: .9; }
.slot:not(.full) .slot-ico { opacity: .35; font-size: 16px; }
.slot-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.slot-txt small { color: var(--text-dim); font-size: 11px; }
.slot-txt strong { font-size: 13px; color: var(--r); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slot-txt em { font-size: 12px; color: var(--text-dim); font-style: normal; }

/* Pestañas de la ficha, como las de la ventana de personaje de WoW: solapas que se apoyan en el panel. */
.sheet-tabs { display: flex; gap: 4px; margin-bottom: -16px; padding: 0 10px; border-bottom: 1px solid var(--border); position: relative; z-index: 1; }
.sheet-tab {
  display: flex; align-items: center; gap: 6px; padding: 9px 16px 8px; margin-bottom: -1px; border: 1px solid var(--border);
  border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--bg); color: var(--text-dim);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.sheet-tab span { font-size: 16px; filter: grayscale(.6); }
.sheet-tab:hover { color: var(--text); }
.sheet-tab.on {
  background: var(--bg-card); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  border-bottom: 1px solid var(--bg-card); box-shadow: inset 0 2px 0 var(--accent);
}
.sheet-tab.on span { filter: none; }
.sheet-page { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.doll-note { margin: 10px 0 0; }

/* Bolsa: rejilla de casillas cuadradas (el borde es el color de la rareza) y, al lado, el recuadro del objeto. */
.bag-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.bag-filtros { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.bag-f {
  padding: 5px 9px; border-radius: 99px; border: 1px solid var(--border); background: var(--bg-elevated);
  color: var(--text-dim); font: inherit; font-size: 12px; cursor: pointer;
}
.bag-f:hover { color: var(--text); }
.bag-f.on { color: var(--text); border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--bg-elevated)); }
.bag-puesto { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; font-size: 13px; }
.bag-puesto > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; border-radius: 8px; background: var(--bg); }
.bag-grid {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; padding: 8px; border-radius: 10px;
  background: #0e130b; border: 1px solid var(--border); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .5);
}
.bag-cell {
  --r: var(--border); position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  padding: 0; border-radius: 7px; border: 2px solid color-mix(in srgb, var(--r) 75%, transparent);
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--r) 22%, #1d2618), #141b10); cursor: pointer; font: inherit;
}
.bag-cell:hover { border-color: var(--r); transform: translateY(-1px); }
.bag-cell.sel { outline: 2px solid var(--accent); outline-offset: 1px; }
.bag-cell.vacia { border: 1px solid color-mix(in srgb, var(--border) 60%, transparent); background: rgba(255, 255, 255, .02); cursor: default; }
.bc-ico { font-size: clamp(18px, 3.2vw, 26px); line-height: 1; }
.bag-cell.locked .bc-ico { filter: grayscale(1) brightness(.6); }
.bc-lock {
  position: absolute; right: 2px; bottom: 1px; font-size: 10px; font-weight: 700; color: #f0a08f;
  text-shadow: 0 1px 2px #000;
}
.bag-nada { margin: 0 0 8px; }
.bag-toggle { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--text-dim); cursor: pointer; }
.bag-detail { position: sticky; top: 12px; }
.bag-empty { text-align: center; color: var(--text-dim); font-size: 13px; padding: 18px 6px; }
.bag-empty span { font-size: 34px; opacity: .6; }
.bd-card { --r: var(--border); }
.bd-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.bd-ico {
  flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 26px;
  border-radius: 8px; border: 2px solid var(--r); background: #141b10;
}
.bd-head strong { display: block; color: var(--r); font-size: 15px; }
.bd-head small { color: var(--text-dim); font-size: 12px; }
.bd-stats { list-style: none; margin: 0 0 6px; padding: 0; font-size: 13px; color: #cfe3bd; }
.bd-atk { margin: 0 0 6px; font-size: 12px; color: #cfe3bd; }
.bd-cmp { margin: 8px 0; padding: 8px 10px; border-radius: 8px; background: var(--bg); font-size: 13px; }
.bd-cmp small { color: var(--text-dim); }
.bd-cmp ul { list-style: none; margin: 4px 0 0; padding: 0; }
.bd-cmp p { margin: 4px 0 0; color: var(--text-dim); }
.bd-cmp .up { color: #8ef06a; }
.bd-cmp .down { color: #f0a08f; }
.bd-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-btns small { font-weight: 400; opacity: .8; }
.item-bad { font-size: 12px; color: #f0a08f; }

.stat-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 12px; }
.stat-table th, .stat-table td { padding: 4px 6px; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); text-align: right; }
.stat-table th:first-child { text-align: left; font-weight: 500; color: var(--text-dim); }
.stat-table thead th { color: var(--text-dim); font-weight: 600; font-size: 12px; }
.stat-table .up { color: #8ef06a; }
.stat-table .down { color: #f0a08f; }

.pts-head { margin-bottom: 8px; }
.pts-head small { color: var(--text-dim); }
.pts-row { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.pts-row > span { flex: 1; font-size: 13px; }
.pts-row small { color: var(--text-dim); }
.pts-val { width: 36px; text-align: center; }

.spell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.spell { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 10px; padding: 10px; font-size: 13px; }
.spell p { margin: 6px 0; color: var(--text-dim); }
.spell ul, .spell-info ul { margin: 0 0 6px; padding-left: 18px; }
.spell small, .spell-info small { color: var(--text-dim); }
.spell-head, .si-head { display: flex; align-items: center; gap: 8px; }
.spell-ico { font-size: 22px; }
.spell-pa { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: #23406b; color: #cfe2ff; }

/* ------------------------------------------------------------ preparar combate */
.fight-setup { max-width: 860px; margin: 0 auto; }
.fight-setup h1 { margin: 0 0 14px; font-size: 22px; }
.setup-pjs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.setup-lvl { max-width: 360px; }
.setup-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ combate */
.fight { display: flex; flex-direction: column; gap: 12px; }
.fight-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: stretch; }
.unit-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.uc-head { display: flex; align-items: center; gap: 8px; }
.uc-name { display: flex; flex-direction: column; min-width: 0; }
.uc-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uc-name small { color: var(--text-dim); }
.hp { position: relative; height: 20px; border-radius: 6px; background: #1a1a1a; overflow: hidden; border: 1px solid #000; }
.hp span { position: absolute; inset: 0 auto 0 0; background: linear-gradient(#7be05a, #4fae36); transition: width .3s; }
.unit-card.right .hp span { background: linear-gradient(#f0705a, #c1503a); }
.hp em { position: relative; display: block; text-align: center; font-style: normal; font-size: 12px; font-weight: 700; line-height: 20px; text-shadow: 0 1px 2px #000; }
.uc-shield { color: #9fd3ff; }
.uc-stats { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text-dim); }
.uc-states { display: flex; flex-wrap: wrap; gap: 4px; min-height: 4px; }
.st { font-size: 11px; padding: 2px 6px; border-radius: 6px; }
.st.good { background: rgba(111, 174, 74, .2); color: #b8f59a; }
.st.bad { background: rgba(160, 90, 220, .2); color: #d9a6ff; }
.st small { opacity: .7; }

.turn-box { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 150px; text-align: center; }
.turn-label { font-weight: 700; font-size: 16px; }
.turn-label.warn { color: #f0a08f; }
.turn-n { font-size: 12px; color: var(--text-dim); }

.fight-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 12px; align-items: stretch; }
.stage-box {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  background: radial-gradient(ellipse at 50% 40%, #233619 0%, #141d10 75%);
}
.stage { width: 100%; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.stage canvas { display: block; margin: 0 auto; }
.fight-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
/* Habilidad y registro comparten un panel con pestañas tan alto como el tablero: su contenido no lo estira
   (contain: size), así que cambiar de hechizo no mueve nada. */
.side-tabs { display: flex; flex-direction: column; flex: 1; min-height: 300px; contain: size; padding-top: 8px; }
.st-tabs { display: flex; gap: 4px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.st-tabs button {
  position: relative; flex: 1; padding: 6px 8px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  background: none; color: var(--text-dim); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.st-tabs button:hover { color: var(--text); }
.st-tabs button.on { color: var(--accent); border-bottom-color: currentColor; }
.st-tabs button.nuevo::after {
  content: ''; position: absolute; top: 5px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.side-tabs > [role="tabpanel"] { flex: 1; min-height: 0; overflow: auto; }
.spell-info { font-size: 13px; }
.spell-info p { margin: 6px 0; color: var(--text-dim); }
.fight-log ol { list-style: none; margin: 0; padding: 0; font-size: 12px; color: var(--text-dim); }
.fight-log li { padding: 3px 0; border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent); }
.fight-log li:first-child { color: var(--text); }

.fight-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
}
.res-box { display: flex; gap: 12px; font-size: 14px; }
.spellbar { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.sb-spell {
  position: relative; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--border); cursor: pointer;
  background: var(--bg-elevated); font-size: 24px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.sb-spell:hover:not(.off) { border-color: var(--accent-2); }
.sb-spell.sel { border-color: #3d8ee8; box-shadow: 0 0 0 2px #3d8ee8; }
.sb-spell.off { filter: grayscale(1); opacity: .45; }
.sb-pa { position: absolute; right: 2px; bottom: 1px; font-size: 11px; font-weight: 700; color: #cfe2ff; text-shadow: 0 1px 2px #000; }
.sb-key { position: absolute; left: 4px; top: 1px; font-size: 10px; color: var(--text-dim); }
.sb-cd {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 18px; font-weight: 700;
}
.fight-help { font-size: 12px; color: var(--text-dim); margin: 0; }

.fight-result { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8, 12, 6, .65); }
.fr-box { text-align: center; background: var(--bg-card); border: 1px solid var(--accent); border-radius: 14px; padding: 20px 26px; }
.fr-ico { font-size: 44px; }
.fr-box h2 { margin: 6px 0 2px; }
.fr-box p { margin: 0 0 12px; color: var(--text-dim); }
.fr-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.fr-xp { font-size: 22px; font-weight: 800; color: #ffd34d !important; margin: 4px 0 6px !important; }
.fr-list { text-align: left; margin: 0 0 12px; padding-left: 18px; font-size: 14px; }

/* ------------------------------------------------------------ varios enemigos */
.unit-card.multi { gap: 4px; padding: 6px; }
.unit-card.multi .uc-one { padding: 4px 2px; border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.unit-card.multi .uc-one:last-child { border-bottom: 0; }
.unit-card.multi .uc-stats, .unit-card.multi .uc-states:empty { display: none; }
.unit-card.multi .pj-av { width: 28px; height: 28px; font-size: 15px; }
.unit-card.multi .hp { height: 16px; margin-top: 4px; }
.unit-card.multi .hp em { line-height: 16px; font-size: 11px; }
.uc-one.dead { opacity: .4; }

/* ------------------------------------------------------------ ficha dentro del juego (?embed=1) */
.rpg-hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rpg-embed { background: #1a2414; }
.rpg-embed .rpg-wrap { padding: 12px; max-width: none; }
.rpg-embed .rpg-layout { grid-template-columns: minmax(0, 1fr); }
.rpg-embed .rpg-side, .rpg-embed .sh-actions { display: none; }

/* ------------------------------------------------------------ móvil */
@media (max-width: 900px) {
  .rpg-layout, .sheet-grid, .fight-main, .bag-layout { grid-template-columns: minmax(0, 1fr); }
  .bag-detail { position: static; }
  .side-tabs { flex: none; height: 220px; min-height: 0; }
}
@media (max-width: 600px) {
  .sheet-tabs { padding: 0 4px; }
  .sheet-tab { flex: 1; justify-content: center; padding: 8px 6px; font-size: 13px; }
  .bag-f span { display: none; }
  .doll { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .doll-mid { grid-column: 1 / -1; grid-row: 1; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .doll-mid .slot { flex: 1 1 100%; }
  .doll-fig canvas { max-height: 130px; width: auto !important; }
  .fight-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .turn-box { grid-column: 1 / -1; grid-row: 1; }
  .sb-spell { width: 46px; height: 46px; font-size: 21px; }
  .pts-row { flex-wrap: wrap; }
}

/* Nahual: formas y en qué forma se lanza cada hechizo */
.spell-formas { display: inline-block; margin: 2px 0 4px; padding: 1px 8px; border-radius: 999px; font-size: 12px; background: rgba(79, 224, 200, 0.14); color: #4fe0c8; }
.formas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.forma-card { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(79, 224, 200, 0.35); background: rgba(79, 224, 200, 0.06); }
.forma-card strong { margin-left: 6px; }
.forma-card p { margin: 6px 0 0; font-size: 13px; color: var(--text-dim); }

/* Modo prueba (/rpg?prueba=1): aviso de que nada se guarda */
.rpg-prueba { margin-bottom: 16px; border: 1px dashed #e0a040; background: rgba(242, 201, 76, .1); line-height: 1.5; }
.rpg-prueba a { font-weight: 700; }
