/* 4.58 · Ficha del día de partido, coches y «Mi temporada». Usa los colores del tema elegido. */
dialog.ficha458 {
  width: 100%;
  max-width: 560px;
  height: 100%;
  max-height: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: var(--t-bg, #071526);
  color: var(--t-text, #f5f1e8);
  overscroll-behavior: contain;
}
dialog.ficha458::backdrop {
  background: #000a;
}
.ficha458-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px;
  background: var(--t-bg, #071526);
  border-bottom: 1px solid var(--t-edge, #3d5566);
}
.ficha458-body {
  padding: 14px 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ficha458-head h2 {
  margin: 4px 0;
  font-size: 1.7em;
  line-height: 1.05;
}
.ficha458-when {
  margin: 0;
  font-size: 1.1em;
  font-weight: 700;
  color: var(--t-text, #f5f1e8) !important;
}
.ficha458-offline {
  margin: 0;
  padding: 10px 12px;
  background: #ffd46c;
  color: #1d1600 !important;
  font-weight: 700;
}
.ficha458-box {
  padding: 14px;
  margin: 0;
}
.ficha458-box h3 {
  margin: 0 0 10px;
}
.ficha458-map,
.ficha458-box > a.btn {
  display: inline-block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 800;
}
.ficha458-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ficha458-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 40px;
  border-bottom: 1px solid var(--t-edge, #3d5566);
}
.ficha458-num {
  font-weight: 800;
  text-align: center;
}
.ficha458-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ficha458-reply {
  font-size: 0.9em;
}
.ficha458-car {
  padding: 10px 12px;
  margin: 0 0 10px;
  border: 1px solid var(--t-edge, #3d5566);
}
.ficha458-car p {
  margin: 4px 0 8px;
}
.ficha458-car-mine {
  border-width: 3px;
}
.ficha458-offer {
  display: grid;
  gap: 6px;
  margin-top: 6px;
}
.ficha458-offer summary {
  font-weight: 800;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.ficha458-offer[open] {
  display: grid;
}
.ficha458-offer input,
.ficha458-offer select {
  min-height: 44px;
  font-size: 16px;
}
.ficha458-msg {
  margin: 8px 0 0;
  font-weight: 700;
}
.ficha458-foot {
  display: grid;
  gap: 8px;
}
.ficha458-open,
.ficha458-shortcut {
  min-height: 44px;
  margin-top: 8px;
}
.ficha458-shortcut {
  display: block;
  width: calc(100% - 24px);
  margin: 10px 12px;
  text-align: left;
  font-weight: 800;
}
.temporada458-img {
  width: 100%;
  height: auto;
  border: 2px solid var(--t-edge, #3d5566);
}
