.session-breakdown > summary {
  min-height: 44px;
}

.result-lower-third {
  text-align: left;
  background: linear-gradient(105deg, #102b3a, #0a131c 58%, #15252d);
  border: 1px solid #ffffff1c;
  border-radius: 10px;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr);
  display: grid;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff14, 0 14px 30px -26px #000;
}

.result-lower-third > div {
  min-width: 0;
  padding: 12px 14px;
}

.result-lower-third > div + div {
  border-left: 1px solid #ffffff1c;
}

.result-lower-third strong {
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 5px;
  font-size: clamp(.9rem, 2.4vw, 1.2rem);
  line-height: 1.05;
  display: block;
  overflow: hidden;
}

.result-lower-third > div:nth-child(2) strong {
  font-size: clamp(1.25rem, 4vw, 2rem);
}

.session-breakdown > summary:focus-visible, .session-finish button:focus-visible, .session-finish a:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

.session-field-event {
  z-index: 2;
  border-left: 3px solid var(--home);
  width: max-content;
  max-width: calc(100% - 28px);
  color: var(--foreground);
  text-align: center;
  pointer-events: none;
  background: linear-gradient(110deg, #102c29f5, #0b1722ed);
  border-radius: 2px;
  padding: 10px 18px;
  animation: .16s ease-out both session-event-in;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
}

.session-field-event[data-tone="negative"] {
  border-color: var(--warn);
  background: linear-gradient(110deg, #3d2024f5, #0b1722ed);
}

.session-field-event[data-tone="neutral"] {
  border-color: var(--muted-foreground);
}

.session-field-event strong {
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.1;
  display: block;
}

.session-field-event span {
  letter-spacing: .06em;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

@keyframes session-event-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .session-field-event, .session-finish *, .session-play-result *, .session-drive-card, .session-drive-card * {
    transition: none !important;
    animation: none !important;
  }

  .session-drive-card > div:hover {
    transform: none;
  }
}

@media (width <= 520px) {
  .result-lower-third {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-lower-third > div:nth-child(2) {
    border-left: 1px solid #ffffff1c;
  }

  .result-lower-third > div:nth-child(3) {
    border-top: 1px solid #ffffff1c;
    border-left: 0;
    grid-column: 1 / -1;
  }
}
