/* Choice adventure — large video stage, spells/generated footage, on-video choices */

#panel-adventure.panel.active {
  display: block;
  min-height: calc(100vh - 100px);
}

.adv-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1rem 1.5rem;
  color: #e8e6f0;
}

.adv-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.adv-top h2 {
  margin: 0 0 0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #f0dcc0;
}

.adv-hint {
  margin: 0;
  max-width: 42rem;
  font-size: 0.86rem;
  line-height: 1.4;
  color: rgba(200, 195, 210, 0.8);
}

.adv-player-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 0.85rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .adv-player-row {
    grid-template-columns: 1fr;
  }
}

.adv-stage-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Large video stage */
.adv-player {
  position: relative;
  width: 100%;
  min-height: min(62vh, 560px);
  height: min(62vh, 560px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(200, 160, 100, 0.45);
  background: #08080c;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 18px 50px rgba(0, 0, 0, 0.5);
}

.adv-html-video,
.adv-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #08080c;
}

.adv-html-video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.adv-html-video.is-playing {
  opacity: 1;
  pointer-events: none;
}

.adv-video {
  z-index: 2;
  transition: opacity 0.45s ease;
}

.adv-player.is-live .adv-video {
  opacity: 0;
  pointer-events: none;
}

.adv-player.is-live .adv-html-video.is-playing {
  opacity: 1;
}

.adv-scanlines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 3px
  );
  opacity: 0.28;
  z-index: 2;
}

.adv-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 220, 180, 0.95);
  pointer-events: none;
}

.adv-endings-pill {
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(220, 180, 100, 0.4);
  white-space: nowrap;
}

.adv-media-pill {
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.9;
}

/* Subtitles over video */
.adv-player.is-dragover {
  outline: 3px solid rgba(140, 180, 255, 0.85);
  outline-offset: -3px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 18px 50px rgba(0, 0, 0, 0.5),
    inset 0 0 60px rgba(80, 120, 255, 0.25);
}

.adv-drop-hint {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  z-index: 7;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  border: 1px dashed rgba(160, 190, 255, 0.75);
  background: rgba(16, 24, 48, 0.9);
  color: #dce8ff;
  font-size: 0.9rem;
  pointer-events: none;
  white-space: nowrap;
}

.adv-drop-hint[hidden] {
  display: none !important;
}

.adv-strip-item {
  cursor: grab;
}

.adv-strip-item:active {
  cursor: grabbing;
}

.adv-strip-item.adv-dragging {
  opacity: 0.45;
}

.adv-error-banner {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  top: 2.4rem;
  z-index: 6;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(80, 20, 16, 0.92);
  border: 1px solid rgba(255, 120, 100, 0.5);
  color: #ffd0c8;
  font-size: 0.78rem;
  line-height: 1.35;
  pointer-events: none;
}

.adv-error-banner[hidden] {
  display: none !important;
}

.adv-caption {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 8.5rem;
  z-index: 4;
  max-height: 34%;
  overflow: auto;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  line-height: 1.45;
  color: #f5f0e8;
  white-space: pre-wrap;
  pointer-events: none;
}

/* Choice buttons ON the video */
.adv-overlay-choices {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
}

@media (max-width: 640px) {
  .adv-overlay-choices {
    grid-template-columns: 1fr;
  }
  .adv-caption {
    bottom: 12.5rem;
    font-size: 0.8rem;
  }
  .adv-player {
    min-height: 70vh;
    height: 70vh;
  }
}

.adv-choice {
  min-height: 2.75rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 180, 100, 0.5);
  background: rgba(16, 12, 10, 0.9);
  color: #f8f0e4;
  font: inherit;
  font-size: 0.8rem;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.12s ease, border-color 0.12s ease;
}

.adv-choice:hover:not(:disabled) {
  background: rgba(80, 55, 35, 0.95);
  border-color: rgba(255, 210, 130, 0.75);
}

.adv-choice:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.adv-choice-other {
  grid-column: 1 / -1;
  border-style: dashed;
  border-color: rgba(160, 180, 255, 0.55);
  background: rgba(20, 24, 44, 0.92);
  color: #d8e4ff;
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
}

.adv-choice-other:hover:not(:disabled) {
  background: rgba(40, 50, 90, 0.95);
  border-color: rgba(180, 200, 255, 0.8);
}

/* Art-path choices: max thumbnail layout after free-text moves */
.adv-overlay-choices.has-art-choices {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem;
  align-items: stretch;
}

.adv-choice-art {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  min-height: 7.5rem;
  background: rgba(10, 10, 16, 0.92);
  border-color: rgba(200, 170, 110, 0.55);
}

.adv-choice-art-img {
  display: block;
  width: 100%;
  height: 5.2rem;
  object-fit: cover;
  background: #121218;
  pointer-events: none;
}

.adv-choice-art-cap {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.35rem 0.45rem 0.45rem;
  text-align: left;
  min-height: 3.1rem;
}

.adv-choice-art-kind {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 190, 160, 0.75);
}

.adv-choice-art-title {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  color: #f5efe4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.adv-choice-art-sub {
  font-size: 0.68rem;
  color: rgba(160, 190, 255, 0.85);
}

.adv-choice-art:hover:not(:disabled) {
  border-color: rgba(255, 210, 130, 0.85);
  background: rgba(28, 22, 18, 0.96);
}

.adv-choice-art:hover:not(:disabled) .adv-choice-art-img {
  filter: brightness(1.08);
}

@media (max-width: 640px) {
  .adv-overlay-choices.has-art-choices {
    grid-template-columns: 1fr;
  }
  .adv-choice-art {
    flex-direction: row;
    min-height: 4.5rem;
  }
  .adv-choice-art-img {
    width: 5.5rem;
    height: 100%;
    min-height: 4.5rem;
    flex: 0 0 5.5rem;
  }
  .adv-choice-art-cap {
    flex: 1;
    justify-content: center;
  }
  .adv-caption {
    bottom: 16rem;
  }
}

/* Filmstrip of spells / generated */
.adv-strip-wrap {
  margin-top: 0.65rem;
}

.adv-strip-label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(180, 170, 160, 0.75);
}

.adv-strip {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.adv-strip-item {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  cursor: grab;
  background: #121218;
  position: relative;
  user-select: none;
  -webkit-user-drag: element;
}

.adv-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adv-strip-item.is-active {
  border-color: rgba(255, 200, 120, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 180, 80, 0.4);
}

.adv-strip-item .adv-strip-kind {
  position: absolute;
  left: 2px;
  bottom: 2px;
  font-size: 0.55rem;
  padding: 0.08rem 0.25rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #eee;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adv-side-slim {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.adv-stat-card {
  border-radius: 10px;
  border: 1px solid rgba(200, 160, 100, 0.28);
  background: linear-gradient(165deg, rgba(28, 22, 18, 0.96), rgba(12, 10, 12, 0.98));
  padding: 0.65rem 0.75rem;
}

.adv-stat-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(220, 180, 120, 0.85);
}

.adv-stats {
  display: grid;
  gap: 0.3rem;
}

.adv-stats > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(210, 200, 190, 0.9);
}

.adv-stats strong {
  color: #f5e0b8;
}

.adv-inv {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: #e0d4c0;
}

.adv-inv li {
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.adv-inv-empty {
  color: rgba(160, 150, 140, 0.7);
  font-style: italic;
}

.adv-log-label {
  margin: 0.15rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(160, 155, 170, 0.75);
}

.adv-log {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(200, 195, 210, 0.85);
  min-height: 2.5rem;
}

.adv-btn {
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(200, 160, 100, 0.4);
  background: #5a4030;
  color: #fff8f0;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.adv-btn:hover {
  background: #6a4c38;
}

.adv-btn-ghost {
  background: transparent;
  color: rgba(220, 200, 180, 0.9);
}

.adv-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

.adv-modal[hidden] {
  display: none !important;
}

.adv-modal-card {
  width: min(420px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(160, 180, 255, 0.35);
  background: linear-gradient(165deg, #1a1c28, #101018);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.adv-modal-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #d8e4ff;
}

.adv-modal-hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(190, 198, 220, 0.85);
}

.adv-custom-input {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 4.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0e1018;
  color: #eef0f8;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.4;
}

.adv-custom-input:focus {
  outline: none;
  border-color: rgba(140, 170, 255, 0.55);
}

.adv-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

/* —— Diagnostic prompt (moderation inspect / edit) —— */
.adv-diag {
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 160, 220, 0.35);
  background: rgba(12, 14, 24, 0.92);
  padding: 0.55rem 0.75rem 0.85rem;
}

.adv-diag-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #d4dcff;
  user-select: none;
}

.adv-diag-summary::-webkit-details-marker {
  display: none;
}

.adv-diag-summary::before {
  content: "▸";
  display: inline-block;
  transition: transform 0.12s ease;
  color: rgba(160, 180, 255, 0.75);
}

.adv-diag[open] .adv-diag-summary::before {
  transform: rotate(90deg);
}

.adv-diag-meta {
  font-weight: 500;
  font-size: 0.78rem;
  color: rgba(180, 190, 220, 0.75);
}

.adv-diag-meta.is-ok {
  color: #8fd9a8;
}

.adv-diag-meta.is-warn {
  color: #e8c36a;
}

.adv-diag-meta.is-danger {
  color: #ff9a8a;
}

.adv-diag-hint {
  margin: 0.55rem 0 0.65rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(180, 188, 210, 0.82);
}

.adv-diag-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.adv-diag-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.35rem;
  font-size: 0.8rem;
  color: #c8d0e8;
  cursor: pointer;
}

/* Moderation rewrite table */
.adv-rewrite-wrap {
  margin: 0 0 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.9);
  overflow: hidden;
}

.adv-rewrite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.adv-rewrite-table[hidden] {
  display: none !important;
}

.adv-rewrite-table th,
.adv-rewrite-table td {
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.adv-rewrite-table th {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(180, 190, 220, 0.75);
  background: rgba(20, 24, 40, 0.95);
  font-weight: 600;
}

.adv-rewrite-table tbody tr.is-high {
  background: rgba(90, 28, 22, 0.45);
}

.adv-rewrite-table tbody tr.is-med {
  background: rgba(70, 52, 14, 0.4);
}

.adv-rewrite-table tbody tr:last-child td {
  border-bottom: none;
}

.adv-rewrite-risk {
  display: inline-block;
  min-width: 2.6rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.adv-rewrite-risk.high {
  background: rgba(255, 90, 70, 0.35);
  color: #ffc8c0;
  border: 1px solid rgba(255, 120, 100, 0.55);
}

.adv-rewrite-risk.med {
  background: rgba(240, 180, 50, 0.3);
  color: #ffe6a8;
  border: 1px solid rgba(230, 180, 80, 0.55);
}

.adv-rewrite-word {
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 600;
  color: #f0e8e0;
  word-break: break-word;
}

.adv-rewrite-word em {
  font-style: normal;
  font-weight: 500;
  opacity: 0.65;
  font-size: 0.72rem;
  margin-left: 0.25rem;
}

.adv-rewrite-cell {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 10rem;
}

.adv-rewrite-input {
  width: 100%;
  box-sizing: border-box;
  min-width: 8rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0c0e16;
  color: #e8ecf8;
  font: inherit;
  font-size: 0.8rem;
}

.adv-rewrite-input:focus {
  outline: none;
  border-color: rgba(140, 170, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(140, 170, 255, 0.25);
}

.adv-rewrite-input.is-risk {
  border-color: rgba(230, 180, 80, 0.75);
  box-shadow: 0 0 0 1px rgba(230, 180, 50, 0.25);
}

.adv-rewrite-input.is-risk-high {
  border-color: rgba(255, 100, 80, 0.85);
  box-shadow: 0 0 0 1px rgba(255, 80, 60, 0.3);
}

.adv-rewrite-input::placeholder {
  color: rgba(160, 170, 200, 0.45);
}

.adv-rewrite-warn {
  font-size: 0.72rem;
  line-height: 1.3;
  color: #ffe6a8;
}

.adv-rewrite-warn.is-ok {
  color: #8fd9a8;
}

.adv-rewrite-warn.is-warn {
  color: #ffe6a8;
}

.adv-rewrite-warn.is-danger {
  color: #ffb0a4;
}

.adv-rewrite-warn[hidden] {
  display: none !important;
}

.adv-residual-risk {
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  line-height: 1.4;
  color: #e8ecf8;
  background: rgba(16, 20, 32, 0.95);
}

.adv-residual-risk.is-ok {
  border-color: rgba(100, 180, 120, 0.45);
  background: rgba(16, 40, 28, 0.75);
  color: #c8f0d4;
}

.adv-residual-risk.is-warn {
  border-color: rgba(230, 180, 80, 0.55);
  background: rgba(50, 40, 12, 0.85);
  color: #ffe8b8;
}

.adv-residual-risk.is-danger {
  border-color: rgba(255, 120, 100, 0.55);
  background: rgba(60, 20, 16, 0.88);
  color: #ffd4cc;
}

.adv-residual-risk[hidden] {
  display: none !important;
}

.adv-residual-note {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  opacity: 0.85;
}

.adv-diag-buzz.is-risk {
  border-color: rgba(230, 180, 80, 0.75) !important;
}

.adv-rewrite-empty {
  margin: 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  color: #8fd9a8;
}

.adv-rewrite-empty[hidden] {
  display: none !important;
}

.adv-diag-field-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.45rem 0 0.3rem;
  font-size: 0.78rem;
  color: rgba(190, 198, 220, 0.9);
}

.adv-diag-chars {
  font-variant-numeric: tabular-nums;
  color: rgba(160, 170, 200, 0.75);
}

.adv-diag-chars.is-warn {
  color: #e8c36a;
}

.adv-diag-chars.is-danger {
  color: #ff9a8a;
}

.adv-hl-wrap {
  position: relative;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0c14;
  min-height: 10rem;
  overflow: hidden;
}

.adv-hl-wrap-sm {
  min-height: 5.5rem;
}

.adv-hl-layer,
.adv-hl-input {
  margin: 0;
  padding: 0.6rem 0.7rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 10rem;
  border: none;
  font: 0.8rem/1.45 ui-monospace, "Cascadia Code", Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.adv-hl-wrap-sm .adv-hl-layer,
.adv-hl-wrap-sm .adv-hl-input {
  min-height: 5.5rem;
}

.adv-hl-layer {
  position: absolute;
  inset: 0;
  overflow: auto;
  color: transparent;
  pointer-events: none;
  z-index: 1;
  background: transparent;
}

.adv-hl-input {
  position: relative;
  z-index: 2;
  display: block;
  resize: vertical;
  background: transparent;
  color: #e8ecf8;
  caret-color: #e8ecf8;
  outline: none;
}

.adv-hl-input:focus {
  box-shadow: inset 0 0 0 1px rgba(140, 170, 255, 0.45);
}

.adv-hl-mark {
  border-radius: 3px;
  color: transparent;
}

.adv-hl-mark.high {
  background: rgba(255, 80, 60, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 100, 80, 0.35);
}

.adv-hl-mark.med {
  background: rgba(240, 180, 40, 0.4);
  box-shadow: 0 0 0 1px rgba(230, 170, 50, 0.3);
}

.adv-diag-buzz {
  width: 100%;
  box-sizing: border-box;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0c14;
  color: #e8ecf8;
  font: 0.8rem/1.35 ui-monospace, Consolas, monospace;
}

.adv-diag-buzz:focus {
  outline: none;
  border-color: rgba(140, 170, 255, 0.5);
}

.adv-diag-last {
  margin: 0.65rem 0 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: rgba(200, 160, 150, 0.9);
  word-break: break-word;
}


