/* ─── Base Show ─────────────────────────────────────────── */
.show {
  display: grid;
  grid-template-columns: 6fr 7fr;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: calc(90vh - 18px);
  width: 96vw;
  margin: 2rem auto;
}

.base-show-toolbar {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.base-show-toolbar-creator {
  margin-right: auto;
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dim);
  transition: color 0.15s;
}
.base-show-toolbar a.base-show-toolbar-creator {
  color: var(--gold);
}
.base-show-toolbar:hover .base-show-toolbar-creator {
  animation: flame-of-destruction 10s ease-in-out infinite;
}


.base-show-toolbar a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s;
}
.base-show-toolbar a:last-child { color: var(--red); }
.base-show-toolbar a:last-child:hover { color: var(--red-bright); }
.base-show-toolbar a:hover { color: var(--gold); }


.base-left {
  grid-column: 1;
  grid-row: 2;
  border-right: 1px solid var(--border);
  padding: 1rem;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}


.base-right {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  overflow-y: auto;
  min-height: 0;
}


.base-show-title {
  font-family: var(--font-head-soft);
  font-size: 1.8rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.base-show-special {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  animation: kind-flame 3s ease-in-out infinite;
}
.base-show-special:hover {
  animation: flame-of-destruction 2s ease-in-out infinite;
}


.base-show-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
  flex: 1;
  white-space: pre-wrap;
}


.shared-bellow {
  grid-column: 1 / 3;
  grid-row: 3;
  border-top: 1px solid var(--border);
  padding: 1rem;
}


/* ─── Quest_show Participants ──────────────────────────────────────── */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  height: 8.3rem;
  overflow-y: auto;
}

.participants-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
  position: sticky;
  top: 0;
  z-index: 1;
}

.participants-join {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--gold-dim);
  transition: color 0.15s;
}
.participants-join:hover { color: var(--gold); }

.participant-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.participant-row:hover { 
 animation: stats-box-bleed 1.2s ease-out forwards;
}


.participant-name {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.participant-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--red);
  animation: kind-flame 3s ease-in-out infinite;
}

.participant-role {
  font-family: var(--font-head);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}





/* ─── Post Comments ──────────────────────────────────────────── */
.comments-section {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  max-height: 15.3rem;
  overflow-y: auto;
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
  position: sticky;
  top: 0;
  z-index: 1;
}

.comment-new-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}

.comment-new-identity {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.comment-body-input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.4rem;
  resize: none;
  height: 2.5rem;
}
.comment-body-input:focus { outline: none; border-color: var(--gold-dim); }

.comment-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem;
}

.comment-header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.comment-adventurer {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--text);
}

.comment-body {
  font-family: var(--font-body);
  background-color: var(--gold-shadow);
  font-size: 1rem;
  color: var(--text);
  padding: 0.25rem 0 0 0;
  margin-left: calc(4rem + 0.5rem);
  display: flex;
  align-items: flex-end;
}


.comment-form-body {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-left: calc(4rem + 0.5rem);
  padding-top: 0.25rem;
}
.comment-form-body .normal-btn {
  background-color: none;
  border-color: var(--gold-dim);
  color: var(--gold-dim);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.comment-form-body .normal-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}




/* ─── Base Form ─────────────────────────────────────────── */
.base-delete-btn {
  color: var(--red) !important;
}
.base-delete-btn:hover {
  color: var(--red-bright) !important;
}



.base-form-input {
  background: transparent;
  border: none;
  padding: 0;
  line-height: inherit;
}
.base-form-input:focus { outline: none; }
.base-form-input::placeholder { opacity: 0.4; }


.base-form-title {
  font-family: var(--font-head-soft);
  font-size: 1.8rem;
  color: var(--gold);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.05em;
  margin-top: -0.2rem;
  padding-bottom: 0.58rem;
}

.base-form-special {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border-bottom: none !important;
}
.base-form-special.base-form-input {
  margin-top: 0.10rem;
  margin-bottom: -0.2rem;
}
.base-form-special.base-form-input.super {
  margin-top: 0rem;
  margin-bottom: -0.35rem;
}


.base-form-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text);
  flex: 1;
  resize: none;
  border: none;
  background: transparent;
  padding: 0.5rem 0;
  margin-top: -0.2rem;
  min-height: 0;
}
.base-form-description:focus { outline: none; }
