/* Study Quest — css/imenik.css (V7.9.1): the Imenik (the realm's Who window), the rename at login, "You logged in somewhere
 * else" and the full roster's note (50 heroes an account). Flat colour, no gradients. */

/* ---- the Imenik window ---- */
.imenik-win { max-width: calc(100vw - 32px); }
.imenik-win .win-body { padding: 10px 14px 10px; }
.imenik-win .win-title { min-width: 250px; padding-left: 40px; padding-right: 40px; text-align: center; overflow: visible; }
.imenik-word { margin: 0 0 8px; font: 400 13px/1.35 var(--cx-font-body, Georgia, serif); color: var(--cx-text-dim, #aea89c); }
.imenik-word b { font-family: var(--cx-font-head, Cinzel, serif); color: var(--cx-gold, #e3b562); font-weight: 700; }
.imenik-tools { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.imenik-search { display: flex; align-items: center; gap: 6px; flex: 1 1 220px; min-width: 0; }
.imenik-search__lbl { font: 700 11.5px/1 var(--cx-font-head, Cinzel, serif); letter-spacing: 0.05em; color: var(--cx-gold, #e3b562); }
.imenik-q { flex: 1; min-width: 0; height: 28px; padding: 2px 8px; font: 400 13.5px/1 var(--cx-font-body, Georgia, serif); color: var(--cx-text, #ebe4d6);
  background: #0c0d0f; border: 1px solid #000; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(176, 122, 60, 0.35); border-radius: 2px; }
.imenik-q:focus { outline: none; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 0 1px #e3b562; }
.imenik-filter { display: flex; gap: 4px; flex-wrap: wrap; }
.imenik-chip { padding: 4px 9px; font: 600 12px/1.1 var(--cx-font-body, Georgia, serif); color: var(--cx-text-dim, #aea89c); cursor: pointer;
  background: #1a1612; border: 1px solid #3a2f22; border-radius: 2px; }
.imenik-chip:hover { color: var(--cx-text, #ebe4d6); border-color: #6b5434; }
.imenik-chip.is-on { color: #1a1206; background: #d9a650; border-color: #f0c879; }
.imenik-table { border: 1px solid rgba(222, 190, 120, 0.22); border-radius: 2px; background: rgba(0, 0, 0, 0.22); }
.imenik-head, .imenik-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 46px minmax(0, 0.9fr) minmax(0, 1.2fr) 116px; align-items: center; column-gap: 8px; padding: 0 8px; }
.imenik-head { border-bottom: 1px solid rgba(222, 190, 120, 0.3); background: #15120e; }
.imenik-th { padding: 6px 0; font: 700 11.5px/1 var(--cx-font-head, Cinzel, serif); letter-spacing: 0.05em; color: var(--cx-gold, #e3b562); text-align: left;
  background: none; border: 0; cursor: pointer; white-space: nowrap; }
.imenik-th:hover, .imenik-th.is-on { color: #f3d58a; }
.imenik-th--act { cursor: default; }
.imenik-arrow { font-style: normal; font-size: 8px; margin-left: 4px; vertical-align: 1px; }
.imenik-rows { max-height: min(48vh, 420px); overflow-y: auto; }
.imenik-row { min-height: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.imenik-row:hover { background: rgba(227, 181, 98, 0.07); }
.imenik-row.is-here .imenik-td--zone { color: #f3d58a; }
.imenik-row.is-away { opacity: 0.72; }
.imenik-td { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 12.5px/1.25 var(--cx-font-body, Georgia, serif); color: var(--cx-text-dim, #aea89c); }
.imenik-td--name { display: flex; align-items: center; gap: 6px; }
.imenik-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; font: 700 13.5px/1.25 var(--cx-font-head, Cinzel, serif); color: var(--cx-text, #ebe4d6); }
.imenik-row.is-party .imenik-name { color: #9cc8ec; }
.imenik-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #5a5148; box-shadow: 0 0 0 1px #000; }
.imenik-dot.is-on { background: #6fbf5a; }
.imenik-flag { flex: none; width: 9px; height: 13px; clip-path: polygon(0 0, 100% 0, 70% 50%, 100% 100%, 0 100%); }
.imenik-td--level { text-align: right; padding-right: 6px; font-weight: 600; color: var(--cx-text, #ebe4d6); }
.imenik-td--zone em { font-style: italic; color: var(--cx-text-faint, #8a8276); }
.imenik-td--act { display: flex; gap: 3px; justify-content: flex-end; }
.imenik-act { width: 26px; height: 24px; padding: 3px; color: #e9dcbf; cursor: pointer; background: #241d15; border: 1px solid #4a3a26; border-radius: 2px; }
.imenik-act svg { width: 16px; height: 16px; display: block; margin: 0 auto; }
.imenik-act:hover { background: #3a2e1e; border-color: #e3b562; color: #fff2d0; }
.imenik-act:disabled { opacity: 0.32; cursor: default; background: #1a1612; border-color: #2c241a; }
.imenik-empty { margin: 0; padding: 14px 10px; font: italic 400 13px/1.35 var(--cx-font-body, Georgia, serif); color: var(--cx-text-dim, #aea89c); }
.imenik-foot { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 0; font: 400 12px/1.3 var(--cx-font-body, Georgia, serif); color: var(--cx-text-faint, #8a8276); }
.imenik-msg { color: #f3d58a; text-align: right; }
.veche-imenik { display: block; width: 100%; margin: 0 0 10px; }
@media (max-width: 640px) {
  .imenik-head, .imenik-row { grid-template-columns: minmax(0, 1.4fr) 34px minmax(0, 1fr) 112px; }
  .imenik-th--zone, .imenik-td--zone { display: none; }
}

/* ---- a new name at login (a name another player had first) ---- */
.hn-rename p { margin: 0 0 10px; line-height: 1.4; }
.hn-rename-in { width: 100%; font: 700 18px/1 var(--cx-font-head, Cinzel, serif); text-align: center; }
.hn-rename-err { min-height: 18px; margin: 6px 0 0 !important; color: #ffb39a; text-align: center; }

/* ---- "You logged in somewhere else" ---- */
.vrata-ended { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 3, 2, 0.82); }
.vrata-ended__win { width: min(460px, 100%); }
.vrata-ended .codex-window__body p { margin: 0 0 10px; line-height: 1.45; }
.vrata-ended__small { color: var(--cx-text-dim, #aea89c); font-size: 13px; }
.vrata-ended .codex-window__foot { display: flex; justify-content: center; padding-bottom: 14px; }

/* ---- the character screen: 50 heroes at most ---- */
.glue-select__create.is-full { opacity: 0.45; cursor: not-allowed; }
.glue-select__full { margin: 6px 0 0; font: 400 12.5px/1.35 var(--cx-font-body, Georgia, serif); color: #ffb39a; text-align: center; }
