/* GNOL — subject · one question · list answers */

#view-gnol.view {
  display: none;
  padding: 0 !important;
  background: transparent;
}
#view-gnol.view.active {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 480px;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 48px !important;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
  overflow: hidden;
}

.gnol {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.gnol-who {
  flex-shrink: 0;
  padding: 10px 20px 0;
  min-height: 36px;
}
.gnol-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gnol-tabs button {
  background: none;
  border: none;
  padding: 6px 0 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--txt3);
  cursor: pointer;
  position: relative;
}
.gnol-tabs button.is-on { color: var(--txt); }
.gnol-tabs button.is-on::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--txt);
}
.gnol-who-row {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.gnol-who-row::-webkit-scrollbar { display: none; }
.gnol-who-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.gnol-who-chip b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.gnol-who-chip i {
  display: block;
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.6px;
  color: var(--txt3);
}
.gnol-who-chip.is-main b { font-size: 15px; }
.gnol-who-vs {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  color: var(--txt3);
  letter-spacing: 1px;
}

.gnol-mark {
  width: 3px;
  height: 22px;
  flex-shrink: 0;
}
.gnol-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 10px;
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.gnol-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 12px;
  scrollbar-width: none;
}
.gnol-body::-webkit-scrollbar { display: none; }

.gnol-trail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
  opacity: 0.4;
}
.gnol-trail em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 0.4px;
  color: var(--txt2);
}
.gnol-trail span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.gnol-q {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--txt);
  margin-bottom: 22px;
}

.gnol-search { display: block; margin: 0 0 8px; }
.gnol-search-i {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--txt);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 0;
  outline: none;
}
.gnol-search-i::placeholder { color: rgba(232, 236, 244, 0.22); }
.gnol-search-i:focus { border-bottom-color: rgba(255, 255, 255, 0.35); }

.gnol-list { display: flex; flex-direction: column; }
.gnol-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  color: inherit;
  cursor: pointer;
}
.gnol-list .gnol-row:first-child { border-top: none; }
.gnol-row.is-on b { color: #e4d7ff; }
.gnol-row-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gnol-row-txt b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.gnol-row-txt i {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  color: var(--txt3);
}
.gnol-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--purple);
  width: 16px;
  flex-shrink: 0;
}

.gnol-lock {
  margin-top: 12px;
  width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--bg0);
  background: var(--txt);
  border: none;
  padding: 12px;
  cursor: pointer;
}
.gnol-lock:disabled { opacity: 0.2; cursor: default; }

.gnol-bar {
  flex-shrink: 0;
  padding: 8px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.gnol-steer { display: flex; gap: 16px; }
.gnol-steer button,
.gnol-links button {
  background: none;
  border: none;
  padding: 6px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--txt3);
  cursor: pointer;
}
.gnol-links { display: flex; gap: 12px; min-width: 0; }
.gnol-links button { color: var(--txt2); }

.gnol-empty {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  color: var(--txt3);
  padding: 16px 0;
}
