/* NFO viewer modal — era-styled overlay matching the profile/status dialogs,
 * with a classic NFO interior: light monospace art on black, whitespace
 * preserved, horizontal scroll allowed for wide ASCII/ANSI art. */

.nfo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.nfo-overlay.hidden { display: none; }

.nfo-dialog {
  width: 720px;
  max-width: 94vw;
  max-height: 88vh;
  background: var(--bg-panel);
  border: 2px outset var(--border-raised-light);
  display: flex;
  flex-direction: column;
}

.nfo-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-outer);
  padding: 4px 8px;
  color: var(--text-cyan);
  font-weight: 700;
  letter-spacing: 1px;
  /* dirnames can be long — keep the close button in view */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  gap: 8px;
}
.nfo-titlebar > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.nfo-close {
  background: var(--bg-toolbar);
  border: 2px outset var(--border-raised-light);
  color: var(--text-bright);
  width: 22px;
  height: 20px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}
.nfo-close:active { border-style: inset; }

/* Classic NFO interior: black field, light text, monospace, no wrapping so the
 * art keeps its exact columns; both scroll axes available for big NFOs. */
.nfo-body {
  margin: 0;
  padding: 12px 14px;
  background: #000;
  color: #d6d6d6;
  font-family: "Lucida Console", "Consolas", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.2;
  white-space: pre;
  overflow: auto;
  flex: 1 1 auto;
  min-height: 120px;
}

.nfo-empty {
  color: var(--text-dim);
  font-style: italic;
}

/* ★ marker in the file listing: a release/.nfo row that carries authentic
 * scene art. Gold so it reads as "treasure here, open it" against the dir
 * listing without shouting over the [NUKED]/[INCOMPLETE] status colours. */
.nfo-star {
  color: #ffcc33;
  text-shadow: 0 0 3px rgba(255, 204, 51, 0.5);
  font-size: 11px;
}
.file-row.nfo-file .col-name {
  color: #ffe08a;
  cursor: pointer;
}
