/* 2026-10-17: karakter-kártya a fejlécben (174-karakter-kartya.js) */
#characterSelect.mx-cc-rejtett { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; overflow: hidden; }
.mx-cc { display: inline-flex; align-items: center; gap: 10px; max-width: 340px; min-width: 0; padding: 4px 12px 4px 4px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--accent-dim, #a8894f); color: var(--text, #2b2116); text-align: left;
  background: linear-gradient(180deg, rgba(255, 250, 238, .92), rgba(240, 226, 196, .92)); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 2px 6px rgba(60, 35, 10, .18); }
.mx-cc[hidden] { display: none; }
.mx-cc:hover:not(:disabled), .mx-cc.nyitva { border-color: var(--accent, #7a4f1d); background: linear-gradient(180deg, #fffaf0, #f3e3c2); color: var(--text, #2b2116); }
.mx-cc-kep { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; object-position: center 18%;
  border: 2px solid #c79a45; box-shadow: 0 0 0 1px #6b4a1e, 0 2px 4px rgba(0, 0, 0, .3); background: #2a1a0c; }
.mx-cc-kep.kicsi { width: 34px; height: 34px; }
.mx-cc-tx { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.15; }
.mx-cc-nev { font-family: var(--font-display, serif); font-size: 1.05rem; color: var(--accent, #7a4f1d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-cc-meta { font-size: .74rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-cc-nyil { margin-left: 2px; font-size: .8rem; opacity: .6; }
.mx-cc-menu { position: fixed; z-index: 5000; width: 320px; max-height: 60vh; overflow: auto; padding: 6px; border-radius: 12px;
  background: var(--panel-raised, #f7eedb); border: 1px solid var(--accent-dim, #a8894f); box-shadow: 0 14px 32px rgba(0, 0, 0, .35); }
.mx-cc-sor { display: flex !important; justify-content: flex-start !important; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; color: var(--text, #2b2116); }
.mx-cc-sor:hover:not(:disabled), .mx-cc-sor.akt { background: rgba(199, 154, 69, .18); color: var(--text, #2b2116); }
.mx-cc-sor.akt .mx-cc-nev { font-weight: bold; }
/* a név+TSz az állapotsávból kikerül (a kártyán van) */
body.mx-cc-on #vitals > .vital:first-child { display: none; }
@media (max-width: 760px) {
  .mx-cc { padding: 3px 10px 3px 3px; max-width: 62vw; gap: 7px; }
  .mx-cc-kep { width: 34px; height: 34px; }
  .mx-cc-nev { font-size: .95rem; } .mx-cc-meta { font-size: .68rem; }
}
