/* A single, compact proposal list keeps the word and its support together. */
.live-final.live-refined .live-sentence > .live-section-inner {
  grid-template-rows: minmax(0, 1fr);
}
.live-final.live-refined .live-sentence .live-official-sentence-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
}
.live-final.live-refined .live-sentence .sentence-official-token {
  display: inline-block;
  white-space: nowrap;
  vertical-align: baseline;
}
.live-final.live-refined .live-sentence .live-reading-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
}
.live-final.live-refined .live-sentence .live-reading-chapter {
  display: block;
  margin: 0;
  color: #eee1bb;
  font: 400 clamp(28px, 2.7vw, 38px)/1.1 var(--pluritual-wip-serif, Georgia, serif);
  letter-spacing: -.03em;
  text-align: left;
}
.live-final.live-refined .live-sentence .live-open-work {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 6px 0 6px 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #d3bb80;
  font: 400 11px/1.3 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.live-final.live-refined .live-sentence .live-open-work:focus-visible,
.live-final.live-refined .live-sentence .live-voice-list:focus-visible {
  outline: 2px solid #d3bb80;
  outline-offset: 3px;
}
.live-final.live-refined .live-sentence .live-data-panel {
  container: sentence-proposals / inline-size;
  display: grid;
  align-self: start;
  grid-template-rows: auto minmax(0, 1fr);
  height: fit-content;
  min-height: 0;
  max-height: 100%;
  gap: 14px;
  border: 1px solid #ddc5863b;
  border-radius: 9px;
  background: #0b1719ad;
  box-shadow: none;
}
.live-final.live-refined .live-sentence .live-panel-head {
  padding: 0;
  border: 0;
}
.live-final.live-refined .live-sentence .live-panel-head > span {
  color: #eee2bc;
  font: 400 clamp(22px, 2vw, 28px)/1.15 var(--pluritual-wip-serif, Georgia, serif);
  letter-spacing: -.025em;
  text-transform: none;
}
.live-final.live-refined .live-sentence .live-panel-head > strong {
  color: #c9ba94;
  font: 400 11px/1.2 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.live-final.live-refined .live-sentence .live-sentence-pool-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: transparent;
}
.live-final.live-refined .live-sentence .live-voice-list {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c9ae6759 transparent;
  padding: 0 2px 0 0;
}
.live-final.live-refined .live-sentence .live-voice-group,
.live-final.live-refined .live-sentence .live-voice-group.wild {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.live-final.live-refined .live-sentence .live-voice-group + .live-voice-group {
  margin-top: 12px;
}
.live-final.live-refined .live-sentence .live-voice-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  min-height: 0;
  margin: 0 0 6px;
  color: #c7b58b;
  font: 400 10px/1.3 Arial, sans-serif;
}
.live-final.live-refined .live-sentence .live-voice-group-head h4 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  color: #e1c582;
  font: 600 11px/1.3 Arial, sans-serif;
  letter-spacing: .015em;
}
.live-final.live-refined .live-sentence .live-voice-group-head small {
  color: #b6aa89;
  font: 400 10px/1.3 Arial, sans-serif;
}
.live-final.live-refined .live-sentence .live-voice-group-head > span { white-space: nowrap; }
.live-final.live-refined .live-sentence .live-voice-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: minmax(42px, auto);
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
}
.live-final.live-refined .live-sentence .topw.live-voice-row {
  position: relative;
  display: grid;
  grid-template-columns: 21px minmax(0, 1fr) auto 53px;
  grid-template-rows: auto;
  grid-template-areas: 'rank word voices prob';
  align-items: center;
  gap: 6px;
  width: 100%;
  height: auto;
  min-height: 42px;
  padding: 7px 9px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #d3bc8130;
  border-radius: 5px;
  background: #e1ca8f09;
  box-shadow: none;
}
.live-final.live-refined .live-sentence .topw.live-voice-row::before {
  display: block;
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--voice-chance, 0%);
  max-width: 100%;
  border-radius: 0;
  background: #d7bd7f29;
  pointer-events: none;
  transition: width 350ms ease;
}
.live-final.live-refined .live-sentence .topw.live-voice-row > span { position: relative; }
.live-final.live-refined .live-sentence .topw.live-voice-row::after { display: none; }
.live-final.live-refined .live-sentence .topw.live-voice-row.finalist { background: #e1ca8f12; }
.live-final.live-refined .live-sentence .topw.live-voice-row.first { border-color: #d3bc8170; background: #d5bb8121; }
.live-final.live-refined .live-sentence .topw.live-voice-row.mine { border-color: #d3bc8180; }
.live-final.live-refined .live-sentence .topw.live-voice-row .rk {
  grid-area: rank;
  align-self: center;
  color: #c4ac75;
  font: 400 10px/1 Arial, sans-serif;
  letter-spacing: 0;
}
.live-final.live-refined .live-sentence .topw.live-voice-row .w {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  grid-area: word;
  min-width: 0;
}
.live-final.live-refined .live-sentence .topw.live-voice-row .w-main {
  display: block;
  color: #efe6ca;
  font: 400 21px/1.12 var(--pluritual-wip-serif, Georgia, serif);
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
}
.live-final.live-refined .live-sentence .live-own-voice {
  color: #d7c494;
  font: 400 9px/1.2 Arial, sans-serif;
  letter-spacing: 0;
}
.live-final.live-refined .live-sentence .topw.live-voice-row .vc {
  grid-area: voices;
  color: #bfb596;
  font: 400 10px/1.2 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.live-final.live-refined .live-sentence .topw.live-voice-row .prob-stack {
  grid-area: prob;
  justify-self: end;
  width: auto;
  min-width: 0;
  margin: 0;
}
.live-final.live-refined .live-sentence .topw.live-voice-row .draw-pct,
.live-final.live-refined .live-sentence .topw.live-voice-row .draw-pct strong {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #eee1bb;
  font: 600 11px/1.2 Arial, sans-serif;
}
.live-final.live-refined .live-sentence .live-voice-future-slots {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}
.live-final.live-refined .live-sentence .live-voice-future-slots .live-future-slot {
  display: block;
  height: 30px;
  min-height: 0;
  border: 1px dashed #d5bd8126;
  border-radius: 5px;
  background: #d5bd8104;
}
.live-final.live-refined .live-sentence .live-voice-footnote {
  margin: 9px 0 0;
  color: #c3b592;
  font: 400 10px/1.3 Arial, sans-serif;
}
.live-final.live-refined .live-sentence .live-sentence-pool-card.is-empty { grid-template-rows: auto auto; }
.live-final.live-refined .live-sentence .live-sentence-pool-card.is-empty .live-data-empty { min-height: 0; padding: 12px 0; }
.live-final.live-refined .live-sentence .live-sentence-cartel { align-items: center; padding-top: 8px; margin-top: 8px; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 3px 6px;
}
.live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature > span,
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-panel > span { display: none; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature > strong { font: 400 14px/1.2 var(--pluritual-wip-serif, Georgia, serif); }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature > small { font: 400 10px/1.2 Arial, sans-serif; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 3px 7px;
  max-width: 58%;
  padding: 0;
  border: 0;
  background: transparent;
}
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-panel > small {
  padding: 0;
  color: #b9ac89;
  font: 400 9px/1.2 Arial, sans-serif;
}
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-panel .live-action-status { flex-basis: 100%; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #d7bf8759;
  border-radius: 4px;
  background: transparent;
  color: #d7bf87;
  opacity: 1;
  box-shadow: none;
  font: 400 11px/1.2 Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-decoration: none;
}
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button:hover:not(:disabled),
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button:focus-visible { color: #eee1bb; border-color: #d7bf87a6; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button:focus-visible { outline: 2px solid #d7bf87; outline-offset: 3px; }
.live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button:disabled {
  color: #b9ac89;
  opacity: 1;
  text-decoration: none;
}
@media (max-width: 760px) and (orientation: portrait) {
  .live-final.live-refined .live-sentence-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, .4fr) minmax(0, .6fr);
    gap: 12px;
  }
  .live-final.live-refined .live-sentence .live-official-sentence-card { padding: 12px 12px 6px; }
  .live-final.live-refined .live-sentence .live-reading-head { gap: 8px; margin-bottom: 9px; }
  .live-final.live-refined .live-sentence .live-reading-chapter { font-size: clamp(27px, 7.2vw, 34px); }
  .live-final.live-refined .live-sentence .live-open-work { font-size: 10px; }
  .live-final.live-refined .live-sentence .live-official-line { padding: 0 3px 8px; font-size: clamp(19px, 5.1vw, 23px); line-height: 1.28; }
  .live-final.live-refined .live-sentence .sentence-month-label { margin-bottom: 7px; font-size: 9px; }
  .live-final.live-refined .live-sentence .sentence-month { margin-bottom: 16px; }
  .live-final.live-refined .live-sentence .live-sentence-cartel { padding-top: 3px; margin-top: 3px; }
  .live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature > strong { font-size: 12px; }
  .live-final.live-refined .live-sentence .live-sentence-cartel .live-cartel-signature > small { font-size: 9px; }
  .live-final.live-refined .live-sentence .live-sentence-cartel .live-breath-button { font-size: 10px; }
  .live-final.live-refined .live-sentence .live-data-panel { padding: 12px 11px; gap: 11px; }
  .live-final.live-refined .live-sentence .live-panel-head > span { font-size: 22px; }
  .live-final.live-refined .live-sentence .live-panel-head > strong { font-size: 10px; }
  .live-final.live-refined .live-sentence .topw.live-voice-row { min-height: 42px; padding: 7px 8px; gap: 5px; grid-template-columns: 18px minmax(0, 1fr) auto 48px; }
  .live-final.live-refined .live-sentence .topw.live-voice-row .w-main { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .live-final.live-refined .live-sentence .topw.live-voice-row::before { transition: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .live-final.live-refined .live-sentence-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 14px; }
  .live-final.live-refined .live-sentence .live-reading-head { margin-bottom: 6px; }
  .live-final.live-refined .live-sentence .live-reading-chapter { font-size: 25px; }
  .live-final.live-refined .live-sentence .live-open-work { font-size: 9px; }
  .live-final.live-refined .live-sentence .live-data-panel { padding: 9px; gap: 9px; }
  .live-final.live-refined .live-sentence .topw.live-voice-row .w-main { font-size: 18px; }
}

/* Keep rank, word, support and chance on one line even in a narrow panel. */
@container sentence-proposals (max-width: 420px) {
  .live-final.live-refined .live-sentence .live-voice-rows { grid-auto-rows: 38px; }
  .live-final.live-refined .live-sentence .topw.live-voice-row,
  .live-final.live-refined .live-sentence .topw.live-voice-row.wild-tail {
    grid-template-columns: 18px minmax(0, 1fr) auto 43px;
    grid-template-rows: auto;
    grid-template-areas: 'rank word voices prob';
    gap: 4px;
    padding: 5px 7px;
    min-height: 38px;
    height: 38px;
  }
  .live-final.live-refined .live-sentence .topw.live-voice-row .w { flex-wrap: nowrap; align-items: center; gap: 4px; }
  .live-final.live-refined .live-sentence .topw.live-voice-row .live-own-voice { flex: 0 0 auto; }
  .live-final.live-refined .live-sentence .topw.live-voice-row .w-main {
    font-size: 17px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .live-final.live-refined .live-sentence .topw.live-voice-row .vc { justify-self: end; font-size: 10px; line-height: 1.1; font-variant-numeric: tabular-nums; }
  .live-final.live-refined .live-sentence .topw.live-voice-row .draw-pct,
  .live-final.live-refined .live-sentence .topw.live-voice-row .draw-pct strong { line-height: 1.1; font-variant-numeric: tabular-nums; }
}
