/* FR.oral (js/game/oral.js): « Parler », speaking practice (shadowing, conversation, TCF tasks). Word marks in the
   --g-*-ink tokens with an underline, so the comparison never relies on colour alone. */
.or-page {
  max-width: 44rem;
}
.or-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.8rem;
}
.or-bar,
.or-top,
.or-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.or-bar {
  margin: 0.4rem 0 0.9rem;
}
.or-bar .g-spacer,
.or-top .g-spacer {
  flex: 1;
}
.or-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}
.or-note {
  margin-bottom: 0.9rem;
}
.or-hide input,
.or-self input {
  margin-right: 0.3rem;
}
.or-target {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.2rem 0 0;
}
.or-tr {
  margin: 0;
}
.or-rec.on {
  animation: or-pulse 1.2s ease-in-out infinite;
}
.or-rm .or-rec.on {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .or-rec.on {
    animation: none;
  }
}
@keyframes or-pulse {
  50% {
    box-shadow: 0 0 0 0.35rem color-mix(in oklab, var(--error) 35%, transparent);
  }
}
.or-clock {
  font-variant-numeric: tabular-nums;
  margin-left: 0.3rem;
}
.or-live {
  min-height: 1.5rem;
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-left: 3px solid var(--main);
  background: var(--sub-alt);
  border-radius: 0.4rem;
}
.or-res {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--g-edge);
}
.or-res p {
  margin: 0;
}
.or-score b {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  margin-right: 0.3rem;
}
.or-score.or-ok b {
  color: var(--g-ok-ink);
}
.or-score.or-mid b {
  color: var(--g-coin-ink);
}
.or-score.or-low b {
  color: var(--g-err-ink);
}
.or-diff {
  font-size: 1.2rem;
  line-height: 1.8;
}
.or-w {
  display: inline-block;
  padding: 0 0.15rem;
  border-bottom: 3px solid transparent;
}
.or-w.or-ok {
  color: var(--g-ok-ink);
  border-bottom-color: var(--g-ok);
}
.or-w.or-close {
  color: var(--g-coin-ink);
  border-bottom: 3px dotted var(--g-coin);
}
.or-w.or-miss {
  color: var(--g-err-ink);
  border-bottom: 3px dashed var(--error);
}
.or-w.or-extra {
  color: var(--g-gloss);
  text-decoration: line-through;
}
.or-legend .or-w {
  font-size: 0.85rem;
}
.or-ask {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.or-owl {
  font-size: 2rem;
  line-height: 1;
}
.or-bubble {
  flex: 1;
  padding: 0.6rem 0.8rem;
  background: var(--sub-alt);
  border-radius: 0.8rem;
}
.or-bubble p {
  margin: 0;
}
.or-q {
  font-size: 1.25rem;
  font-weight: 600;
}
.or-chks,
.or-slips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.or-chk.ok {
  color: var(--g-ok-ink);
}
.or-chk.no {
  color: var(--g-gloss);
}
.or-slips s {
  color: var(--g-err-ink);
}
.or-tag {
  display: inline-block;
  padding: 0 0.45rem;
  margin: 0.1rem 0.15rem 0 0;
  border: 1px solid var(--g-edge);
  border-radius: 1rem;
}
.or-tip {
  margin: 0;
}
.or-model {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.6rem 0.8rem;
  border: 1px dashed var(--g-edge);
  border-radius: 0.6rem;
}
.or-self {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid var(--g-edge);
  border-radius: 0.6rem;
  padding: 0.5rem 0.8rem;
  margin: 0;
}
.or-sets,
.or-tasks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr));
  gap: 0.5rem;
}
.or-set,
.or-task {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-align: left;
  white-space: normal;
}
.or-set {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
}
.or-set-ic {
  font-size: 1.6rem;
}
.or-set-n {
  display: block;
}
.or-sum {
  width: 100%;
  border-collapse: collapse;
}
.or-sum td {
  padding: 0.3rem 0.4rem;
  border-bottom: 1px solid var(--g-edge);
}
.or-sum td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.or-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
