/* Tryouts — estilos propios de la sección (#view-tryouts, rankings embebidos y ficha). Se carga DESPUÉS de look.css, que sigue
   siendo la única fuente de tokens (colores, radios, tipografía): aquí solo se LEEN, no se redefinen.
   Migrado tal cual desde look.css (piloto de migración progresiva); reglas ordenadas como estaban. */
/* Tryouts */
#view-tryouts .to-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
#view-tryouts .to-filters > label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-dim); flex: 1 1 160px; max-width: 240px; }
#view-tryouts .to-filters > label .mini-select { width: 100%; }
#view-tryouts .to-filters > .mini-btn { align-self: flex-end; }
#view-tryouts .to-list { display: grid; gap: 10px; margin: 12px 0; }
#view-tryouts .to-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 260px); gap: 14px; align-items: start; }
#view-tryouts .to-name { all: unset; cursor: pointer; font: inherit; border-radius: 4px; }
#view-tryouts .to-name:hover { color: var(--gold-text, var(--gold)); text-decoration: underline; }
#view-tryouts .to-name:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
#view-tryouts .to-sheet-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 90; }
#view-tryouts .to-sheet { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(1200px, calc(100vw - 48px)); max-height: calc(100vh - 48px); margin: 0; border-radius: 14px; overflow-y: auto; overflow-x: hidden; z-index: 91; display: grid; gap: 14px; align-content: start; background: var(--bg, #0b0b0c); }
#view-tryouts .to-sheet-head { display: flex; align-items: center; gap: 10px; position: sticky; top: -16px; padding: 4px 0; background: inherit; z-index: 1; }
#view-tryouts .to-sheet-title, #view-tryouts .to-sheet-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
#view-tryouts .to-sheet-title { flex: 1 1 auto; }
#view-tryouts .to-sheet-title strong { min-width: 0; overflow-wrap: anywhere; }
#view-tryouts .to-sheet-actions { margin-left: auto; }
#view-tryouts .to-sheet-head #to-sheet-close { margin-left: auto; }
#view-tryouts .to-sheet-sec { border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 8px; min-width: 0; }
#view-tryouts .to-sheet-sec h4 { margin: 0; }
body.to-sheet-open { overflow: hidden; }
@media (max-width: 700px) {
  #view-tryouts .to-sheet { width: min(1200px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 14px; }
  #view-tryouts .to-sheet-head { top: -14px; flex-wrap: wrap; align-items: flex-start; }
  #view-tryouts .to-sheet-actions { order: 3; flex: 1 0 100%; margin-left: 0; }
  #view-tryouts .to-sheet-actions .primary-btn { flex: 1 1 auto; }
  #view-tryouts .to-eval-table { font-size: 12px; }
  #view-tryouts .to-eval-table td:first-child, #view-tryouts .to-eval-table td:nth-child(2), #view-tryouts .to-eval-table td:nth-child(3) { width: auto; }
  #view-tryouts .to-eval-table td:first-child { display: block; padding-bottom: 2px; }
  #view-tryouts .to-eval-table td:nth-child(2), #view-tryouts .to-eval-table td:nth-child(3) { display: inline; border-bottom: 0; }
  #view-tryouts .to-eval-table td:nth-child(3) { padding-left: 0; }
}
#view-tryouts .to-row .to-invite { font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 10px 0 0; }
#view-tryouts .to-invite-ok { color: var(--green-text, #3fb950); font-weight: 600; }
#view-tryouts .to-next { font-size: 13px; }
#view-tryouts .to-head-counts { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 6px; padding: 6px 0; border-block: 1px solid var(--pw-line); color: var(--ink-2); font-size: 13px; }
#view-tryouts .to-head-counts span { white-space: nowrap; }
#view-tryouts .to-head-counts strong { color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 3px; }
#view-tryouts .to-tabs { display: flex; flex-wrap: nowrap; gap: 6px; max-width: 100%; margin: 0 0 16px; }
#view-tryouts .to-tab { min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--plate-2); color: var(--ink-2); font: inherit; font-weight: 600; cursor: pointer; white-space: normal; overflow-wrap: normal; word-break: normal; line-height: 1.15; }
#view-tryouts .to-tab:hover, #view-tryouts .to-tab:focus-visible { border-color: var(--gold); color: var(--ink); }
#view-tryouts .to-tab.active { border-color: var(--gold); background: var(--accent-soft); color: var(--ink); }
#view-tryouts .to-workspace { display: grid; gap: 14px; min-width: 0; }
#view-tryouts .to-workspace > h3, #view-tryouts .to-workspace > p { margin: 0; }
#view-tryouts .to-workspace > .to-tabs { margin: 0; }
#view-tryouts .to-work-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
#view-tryouts .to-work-head h3, #view-tryouts .to-work-head p { margin: 0; }
#view-tryouts .to-control { display: grid; gap: 16px; }
#view-tryouts .to-control-head, #view-tryouts .to-control-meta, #view-tryouts .to-control-stats, #view-tryouts .to-control-actions { display: flex; align-items: center; gap: 8px; }
#view-tryouts .to-control-head { justify-content: space-between; gap: 16px; }
#view-tryouts .to-control-head h3 { margin: 0 0 4px; }
#view-tryouts .to-control-meta { color: var(--ink-dim); font-size: 12px; flex-wrap: wrap; justify-content: flex-end; }
#view-tryouts .to-control-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
#view-tryouts .to-control-card { display: grid; gap: 2px; min-width: 0; padding: 12px; text-align: left; background: var(--plate); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); cursor: pointer; }
#view-tryouts .to-control-card:hover, #view-tryouts .to-control-card:focus-visible { border-color: var(--gold); background: var(--btn-hover); }
#view-tryouts .to-control-card { min-height: 78px; align-content: center; }
#view-tryouts .to-control-card strong { font-size: 26px; color: var(--gold-text); line-height: 1.1; }
#view-tryouts .to-control-card span { color: var(--ink-2); font-size: 13px; overflow-wrap: anywhere; }
#view-tryouts .to-control-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 12px; align-items: start; }
#view-tryouts .to-control-attention, #view-tryouts .to-control-side { display: grid; gap: 10px; }
#view-tryouts .to-control-attention h4, #view-tryouts .to-control-side h4, #view-tryouts .to-control-attention h5 { margin: 0; }
#view-tryouts .to-control-attention ul, #view-tryouts .to-control-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#view-tryouts .to-control-attention li, #view-tryouts .to-control-side li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; padding: 10px 0; border-top: 1px solid var(--line); }
#view-tryouts .to-control-actions { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
/* «Requiere tu atención»: columnas fijas (nombre | rol | dato | acciones) para que icono, texto y botones queden alineados en todas las filas */
@media (min-width: 561px) {
  #view-tryouts .to-control-attention li { display: grid; grid-template-columns: minmax(90px, 1.3fr) 32px minmax(110px, 1fr) 176px; column-gap: 12px; }
  #view-tryouts .to-control-attention li .to-role-icon { justify-self: center; }
  #view-tryouts .to-control-attention li .to-control-actions { margin-left: 0; justify-self: end; }
}
@media (max-width: 560px) {
  #view-tryouts .to-control-attention li { display: grid; grid-template-columns: minmax(0, 1fr) 28px 104px; column-gap: 8px; }
  #view-tryouts .to-control-attention li .to-role-icon { justify-self: center; }
  #view-tryouts .to-control-attention li .to-control-actions { grid-column: 1 / -1; width: auto; justify-self: start; }
}
#view-tryouts .to-control-side { gap: 12px; }
@media (max-width: 900px) {
  #view-tryouts .to-control-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  #view-tryouts .to-control-head { align-items: flex-start; flex-direction: column; }
  #view-tryouts .to-control-meta { justify-content: flex-start; }
  #view-tryouts .to-control-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #view-tryouts .to-tab { white-space: normal; }
  #view-tryouts .to-control-actions { width: 100%; margin-left: 0; justify-content: flex-start; }
}
#view-tryouts .to-work-grid { display: grid; gap: 8px; }
#view-tryouts .to-work-row { display: grid; grid-template-columns: minmax(120px, 1.5fr) minmax(130px, 1fr) minmax(160px, 2fr) repeat(3, auto); gap: 8px 14px; align-items: center; padding: 12px 16px; }
#view-tryouts .to-eval-row { grid-template-columns: minmax(180px, 1.2fr) minmax(190px, 1.6fr) auto minmax(120px, 1fr) auto; }
#view-tryouts .to-eval-player { display: flex; align-items: center; gap: 8px; min-width: 0; }
#view-tryouts .to-eval-player strong { min-width: 0; overflow-wrap: anywhere; }
#view-tryouts .to-eval-score { width: 44px; height: 44px; display: inline-grid; place-items: center; flex: none; border-radius: 50%; background: var(--accent-soft); border: 2px solid var(--gold); color: var(--gold-text); font-size: 16px; font-weight: 700; }
#view-tryouts .to-role-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: auto; flex: none; color: var(--gold-text); font-size: 18px; line-height: 1; }
#view-tryouts .to-role-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
#view-tryouts .to-role-icon.role-icon-none { color: var(--ink-dim); border: 1px solid var(--line); border-radius: 50%; font-size: 14px; }
#view-tryouts .to-streaming-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--plate-2); color: var(--ink-2); font: inherit; font-size: 12px; cursor: pointer; }
#view-tryouts .to-streaming-toggle > span { box-sizing: border-box; flex: none; width: 34px; height: 20px; padding: 2px; border: 1px solid var(--ink-dim); border-radius: 999px; background: color-mix(in srgb, var(--ink) 14%, transparent); transition: background var(--t), border-color var(--t); }
#view-tryouts .to-streaming-toggle > span::after { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-2); transition: transform var(--t), background var(--t); }
#view-tryouts .to-streaming-toggle.active { border-color: var(--gold); color: var(--gold-text); background: var(--accent-soft); }
#view-tryouts .to-streaming-toggle.active > span { background: var(--gold); border-color: var(--gold); }
#view-tryouts .to-streaming-toggle.active > span::after { transform: translateX(14px); background: var(--gold-ink); }
#view-tryouts .to-eval-info, #view-tryouts .to-inhouse-info { display: grid; gap: 3px; min-width: 0; font-size: 13px; }
#view-tryouts .to-eval-info span, #view-tryouts .to-inhouse-info span { color: var(--ink-2); }
#view-tryouts .to-rating-form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
#view-tryouts .to-rating-form label { display: grid; gap: 4px; font-size: 12px; color: var(--ink-dim); }
#view-tryouts .to-work-row span { color: var(--ink-2); font-size: 13px; }
#view-tryouts .to-compare-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; }
#view-tryouts .to-compare-picks label { display: block; padding: 10px 12px; cursor: pointer; }
#view-tryouts .to-filters > label.to-pending-filter { flex: 0 0 auto; max-width: none; flex-direction: row; align-items: center; align-self: end; gap: 6px; min-height: 36px; font-size: 13px; }
#view-tryouts .to-pending-filter input { width: auto; }
@media (max-width: 780px) {
  #view-tryouts .to-work-row, #view-tryouts .to-eval-row { grid-template-columns: 1fr auto; }
  #view-tryouts .to-work-row span { grid-column: 1 / -1; }
  #view-tryouts .to-eval-info, #view-tryouts .to-inhouse-info { grid-column: 1 / -1; }
  #view-tryouts .to-eval-row > .mini-btn { justify-self: start; }
}
@media (max-width: 600px) {
  #view-tryouts .to-tab { padding: 8px 5px; font-size: 12px; }
}
#view-tryouts .to-interview-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 8px; }
#view-tryouts .to-interview-row p { margin: 0; }
#view-tryouts .to-interview-row .muted { width: 100%; font-size: 12px; }
#view-tryouts .to-interview-row a.mini-btn { display: inline-block; }
#view-tryouts .to-due { color: var(--red-text, #e5484d); font-weight: 600; }
@media print {
  body.to-sheet-open * { visibility: hidden; }
  body.to-sheet-open .to-sheet, body.to-sheet-open .to-sheet * { visibility: visible; }
  body.to-sheet-open .to-sheet { position: absolute; inset: 0 auto auto 0; width: 100%; overflow: visible; background: #fff; color: #000; border: 0; box-shadow: none; }
  body.to-sheet-open { overflow: visible !important; }
  .to-sheet button:not(.to-name), .to-sheet select, .to-sheet .to-game-form, .to-sheet input { display: none !important; }
  body.to-sheet-open .to-sheet { background: #fff !important; }
  .to-sheet, .to-sheet * { color: #111 !important; border-color: #ccc !important; }
  .to-sheet-head { position: static; background: none !important; }
  .to-sheet .badge, .to-sheet .to-score { border-color: #111 !important; }
}
/* Copia de la ficha para el PDF: fuera de pantalla, a ancho fijo, sin botones ni scroll (la misma ficha, no otra plantilla) */
.to-pdf-stage { position: fixed; left: -10000px; top: 0; width: 760px; pointer-events: none; }
.to-pdf-stage .to-pdf { position: static; width: 760px; height: auto; max-height: none; overflow: visible; inset: auto; padding: 20px; }
.to-pdf .to-sheet-head { position: static; }
.to-pdf button:not(.to-name), .to-pdf select, .to-pdf .to-game-form, .to-pdf input { display: none !important; }
.to-pdf .to-name { pointer-events: none; }
#view-tryouts .to-mini { align-self: start; display: grid; gap: 4px; justify-items: end; text-align: right; padding-top: 4px; }
#view-tryouts .to-mini .vz-spark { height: 72px; }
#view-tryouts .to-mini small { font-size: 12px; color: var(--ink-dim); }
#view-tryouts .to-mini.up .vz-spark polyline, #view-tryouts .to-mini.up .vz-dot { stroke: var(--green-text, #3fb950); }
#view-tryouts .to-mini.down .vz-spark polyline, #view-tryouts .to-mini.down .vz-dot { stroke: var(--red-text, #e5484d); }
#view-tryouts .to-row.out { border-left: 3px solid var(--red, #e5484d); }
/* descartado: se queda en la lista; sin opacidad para no bajar el contraste */
#view-tryouts .to-row h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.3; }
#view-tryouts .to-row p { margin: 2px 0; overflow-wrap: anywhere; }
#view-tryouts .to-score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 700; border: 2px solid var(--gold); color: var(--gold-text, var(--gold)); }
#view-tryouts .to-score.none { border-color: var(--line); color: var(--ink-dim); }
#view-tryouts .to-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
#view-tryouts .to-flag { font-size: 12px; color: var(--ink-dim); }
#view-tryouts .to-flag + .to-flag::before { content: "·"; margin-right: 6px; }
#view-tryouts .to-flag.bad { border-color: var(--red, #e5484d); color: var(--red, #e5484d); }
#view-tryouts .to-flag.warn { border-color: var(--cg-anniversary-gold, #D0A000); color: var(--cg-anniversary-gold, #D0A000); font-weight: 600; }
/* Fresh account: aviso dorado, distinto del rojo de actitud */
#view-tryouts .to-row .to-notes { white-space: pre-wrap; font-size: 13px; color: var(--ink-2); margin: 8px 0 0; padding-left: 10px; border-left: 2px solid var(--line-strong); }
#view-tryouts .to-agenda h3 { margin: 0 0 4px; }
#view-tryouts .to-agenda-group { margin-top: 12px; }
#view-tryouts .to-agenda-group h4 { margin: 0 0 4px; }
#view-tryouts .to-agenda-list { list-style: none; margin: 0; padding: 0; }
#view-tryouts .to-agenda-item { display: grid; grid-template-columns: minmax(115px, auto) minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
#view-tryouts .to-agenda-date { font-variant-numeric: tabular-nums; }
#view-tryouts .to-agenda-person { min-width: 0; overflow-wrap: anywhere; }
#view-tryouts .to-agenda-follow { color: var(--ink-dim); font-size: 12px; }
#view-tryouts .to-agenda-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (max-width: 480px) {
  #view-tryouts .to-agenda-item { grid-template-columns: minmax(0, 1fr) auto; }
  #view-tryouts .to-agenda-date { grid-column: 1 / -1; }
}
#view-tryouts .to-actions { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; grid-column: 2 / -1; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
/* en fila, debajo: tarjetas más bajas */
#view-tryouts .to-complete { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 99px; border: 1px dashed var(--line); color: var(--ink-dim); vertical-align: middle; }
#view-tryouts .to-complete.full { border-style: solid; border-color: var(--green-text, #3fb950); color: var(--green-text, #3fb950); }
#view-tryouts .to-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 14px; margin-top: 12px; }
#view-tryouts .to-form label { display: grid; gap: 4px; font-size: 13px; min-width: 0; }
#view-tryouts .to-form .wide { grid-column: 1 / -1; }
#view-tryouts .to-form .to-sync { margin: -4px 0 0; font-size: 12px; }
/* estado de la sincronización de elo: debajo de los 3 campos, a todo el ancho */
#view-tryouts .to-form input, #view-tryouts .to-form select, #view-tryouts .to-form textarea { width: 100%; min-width: 0; }
#view-tryouts .to-inline { display: flex; gap: 6px; }
#view-tryouts .to-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
#view-tryouts .to-checks label { display: flex; align-items: center; gap: 6px; }
#view-tryouts .to-form-actions { display: flex; justify-content: flex-end; gap: 8px; }
#view-tryouts .to-edit-back { position: fixed; inset: 0; z-index: 95; background: rgba(0, 0, 0, .62); }
#view-tryouts .to-edit-modal { position: fixed; z-index: 96; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(920px, calc(100vw - 32px)); max-height: min(860px, calc(100vh - 32px)); overflow: auto; margin: 0; padding: 18px 22px; background: var(--bg, #0b0b0c); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); }
#view-tryouts .to-edit-head { position: sticky; top: -18px; z-index: 1; display: flex; justify-content: space-between; gap: 16px; align-items: start; margin: -18px -22px 12px; padding: 16px 22px 12px; background: var(--bg, #0b0b0c); border-bottom: 1px solid var(--line); }
#view-tryouts .to-edit-head h3, #view-tryouts .to-edit-head p { margin: 0; }
#view-tryouts .to-edit-head p { margin-top: 4px; }
#view-tryouts .to-edit-modal .to-form-actions { position: sticky; bottom: -18px; z-index: 1; padding: 12px 0 0; background: var(--bg, #0b0b0c); }
body.to-edit-open { overflow: hidden; }
@media (max-width: 640px) {
  #view-tryouts .to-row { grid-template-columns: auto minmax(0, 1fr); }
  #view-tryouts .to-mini { grid-column: 1 / -1; max-width: 260px; }
  #view-tryouts .to-edit-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); padding: 14px; }
  #view-tryouts .to-edit-head { top: -14px; margin: -14px -14px 10px; padding: 12px 14px 10px; }
  #view-tryouts .to-edit-modal .to-form-actions { bottom: -14px; }
  #view-tryouts .to-mini:empty { display: none; }
  /* en móvil, sin gráfico no deja hueco (en PC la columna vacía mantiene los botones a la derecha) */
  #view-tryouts .to-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
#view-tryouts .to-about { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; margin: 8px 0 0; font-size: 13px; }
#view-tryouts .to-about > div { display: contents; }
#view-tryouts .to-about dt { color: var(--ink-dim); font-size: 12px; padding-top: 1px; }
#view-tryouts .to-about dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
#view-tryouts .to-games { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; display: grid; gap: 10px; }
#view-tryouts .to-table-wrap { overflow-x: auto; min-width: 0; -webkit-overflow-scrolling: touch; }
#view-tryouts .to-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
#view-tryouts .to-table th, #view-tryouts .to-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
#view-tryouts .to-table td.num { font-variant-numeric: tabular-nums; }
#view-tryouts .to-table .to-why { font-size: 11px; font-weight: 400; color: var(--ink-dim); }
#view-tryouts .to-table td:nth-last-child(2) { white-space: normal; min-width: 140px; }
#view-tryouts .to-eval-table { table-layout: fixed; white-space: normal; width: 100%; }
#view-tryouts .to-eval-table th, #view-tryouts .to-eval-table td { overflow-wrap: anywhere; }
#view-tryouts .to-eval-table td:first-child { width: 30%; }
#view-tryouts .to-eval-table td:nth-child(2) { width: 15%; }
#view-tryouts .to-eval-table td:nth-child(3) { width: 55%; min-width: 0; }
#view-tryouts .to-game-btns { display: flex; gap: 4px; }
#view-tryouts .to-win { color: var(--green, #46a758); font-weight: 700; }
#view-tryouts .to-loss { color: var(--red, #e5484d); font-weight: 700; }
#view-tryouts .to-game-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px 12px; }
#view-tryouts .to-game-form label { display: grid; gap: 4px; font-size: 13px; min-width: 0; }
#view-tryouts .to-game-form .wide { grid-column: 1 / -1; }
#view-tryouts .to-game-form input, #view-tryouts .to-game-form select { width: 100%; min-width: 0; box-sizing: border-box; }
#view-tryouts .to-game-form .to-check { display: flex; align-items: center; gap: 6px; }
#view-tryouts .to-game-form .to-check input { width: auto; }
#view-tryouts .to-rofl-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin: 10px 0; }
#view-tryouts .to-rofl-side h4 { margin: 0 0 6px; }
#view-tryouts .to-rofl-row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 260px); gap: 8px; align-items: center; padding: 4px 0; }
#view-tryouts .to-rofl-who { display: grid; min-width: 0; }
#view-tryouts .to-rofl-who strong, #view-tryouts .to-rofl-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#view-tryouts #to-link { flex: 1; min-width: 0; }
#view-tryouts .signup-page .to-form { margin-top: 12px; }
/* ---- Añadido en la rama de arreglos (v136-v141): tryouts (descartados, gráficos, nota del coach) y logo del equipo ---- */
#view-tryouts .to-trend { font-weight: 800; }
#view-tryouts .to-trend.up { color: var(--green-text, #3fb950); }
#view-tryouts .to-trend.down { color: var(--red-text, #e5484d); }
#view-tryouts .to-out-reason { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; }
#view-tryouts .to-out-reason strong { color: var(--red-text, var(--red, #e5484d)); }
/* Tryouts: gráficos */
#view-tryouts .to-kpis { margin: 12px 0 4px; }
#view-tryouts .to-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 28px; }
#view-tryouts .to-charts section { min-width: 0; }
#view-tryouts .to-charts h4 { margin: 14px 0 0; font-size: 14px; }
#view-tryouts .to-charts h4 small { font-weight: 400; margin-left: 4px; }
#view-tryouts .to-charts .vz-rows { margin-top: 6px; }
/* Las barras usan el acento del equipo (en temas morados/oscuros el gris translúcido de antes casi no se veía); la mejor de cada grupo, a plena intensidad */
#view-tryouts .to-charts .vz-track i { background: color-mix(in srgb, var(--gold) 60%, transparent); }
#view-tryouts .to-charts .vz-row.best .vz-track i { background: var(--gold); }
#view-tryouts .to-charts .vz-row { grid-template-columns: minmax(80px, 130px) minmax(0, 1fr) 56px; gap: 10px; padding: 5px 0; }
#view-tryouts .to-charts .vz-row b { text-align: right; font-variant-numeric: tabular-nums; }
#view-tryouts .to-charts-player { padding: 4px 0 6px; }
#view-tryouts .to-spark { margin-top: 10px; }
#view-tryouts .to-spark .vz-spark { height: 48px; }
@media (max-width: 640px) {
  #view-tryouts .to-charts .vz-row { grid-template-columns: minmax(70px, 100px) minmax(0, 1fr) 48px; }
}
#view-tryouts .vz-track.to-cmp { position: relative; overflow: visible; }
#view-tryouts .vz-track.to-cmp em { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
#view-tryouts .to-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 12px; margin: 6px 0 0; }
#view-tryouts .to-legend-bar { display: inline-block; width: 18px; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 48%, transparent); }
#view-tryouts .to-legend-tick { display: inline-block; width: 2px; height: 14px; border-radius: 2px; background: var(--ink); }
#view-tryouts .to-coach-rate { display: flex !important; align-items: center; gap: 6px; font-size: 13px; }
#view-tryouts .to-form-actions { align-items: center; flex-wrap: wrap; }
#view-tryouts .to-coach-rate select { width: auto !important; min-width: 64px; }
#view-tryouts .to-coach-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 99px; font-family: var(--f-body, inherit); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); border: 1px solid var(--gold); vertical-align: middle; }
#view-tryouts .to-form .to-checks input[type=checkbox] { width: auto; flex: none; }
/* Tryouts: evaluación sobre 100 y comparador */
#view-tryouts .to-score.neg, #view-tryouts .to-eval-total.neg { color: var(--red-text, var(--red)); border-color: var(--red); }
#view-tryouts .to-eval { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 10px; }
#view-tryouts .to-eval-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#view-tryouts .to-eval-total { font-size: 32px; line-height: 1; }
#view-tryouts .to-eval-bar { flex: 1; min-width: 160px; height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
#view-tryouts .to-eval-bar i { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
#view-tryouts .to-eval-rating { margin: 0; }
#view-tryouts .to-eval-table td:nth-child(2) { width: 56px; }
#view-tryouts .to-eval-table tr.pos td:nth-child(2) { color: var(--green); }
#view-tryouts .to-eval-table tr.neg td:nth-child(2), #view-tryouts .to-compare td.neg { color: var(--red-text, var(--red)); }
#view-tryouts .to-eval-sum td { border-top: 2px solid var(--line); }
#view-tryouts .to-compare td.best { font-weight: 700; color: var(--gold-text); }
#view-tryouts .to-cmp-check { display: flex; align-items: center; gap: 6px; font-size: 13px; min-height: 36px; }
#view-tryouts .to-cmp-bar { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-end; margin-left: auto; }
#view-tryouts .to-cmp-check:has(input:checked) { color: var(--accent, var(--gold)); font-weight: 600; }
#view-tryouts .to-rate-label { display: block; font-size: 12px; }
/* Valorar una inhouse: 4 categorías con rúbrica del rol */
#view-tryouts .to-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
#view-tryouts .to-cat { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; display: grid; gap: 6px; min-width: 0; align-self: start; align-content: start; }
#view-tryouts .to-cat legend { font-weight: 700; padding: 0 4px; display: flex; align-items: center; gap: 6px; }
#view-tryouts .to-cat-desc, #view-tryouts .to-cat-pick { margin: 0; font-size: 12px; }
#view-tryouts .to-info { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font: italic 700 12px/1 serif; cursor: pointer; }
#view-tryouts .to-info[aria-expanded="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
#view-tryouts .to-pick { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
#view-tryouts .to-pick label { display: block !important; }
#view-tryouts .to-pick input { position: absolute; opacity: 0; width: 1px !important; height: 1px; }
#view-tryouts .to-pick span { display: grid; place-items: center; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; cursor: pointer; font-variant-numeric: tabular-nums; }
#view-tryouts .to-pick span:hover { border-color: var(--line-strong); background: var(--btn-hover, transparent); }
#view-tryouts .to-pick input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
#view-tryouts .to-pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
#view-tryouts .to-rubric { font-size: 12px; border-left: 3px solid var(--gold); padding: 6px 10px; background: var(--plate-2); border-radius: 6px; }
#view-tryouts .to-rubric p, #view-tryouts .to-rubric ul, #view-tryouts .to-rubric ol { margin: 4px 0; padding-left: 16px; }
#view-tryouts .to-rubric ul { padding-left: 0; list-style: none; }
#view-tryouts .to-scale { columns: 2; column-gap: 16px; list-style: none; padding-left: 0 !important; }
#view-tryouts .to-leader { display: grid; gap: 4px; }
#view-tryouts .to-leader details p { margin: 4px 0 0; font-size: 12px; }
#view-tryouts .to-final { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--plate-2); }
#view-tryouts .to-dirty { margin-right: auto; font-size: 12px; }
#view-tryouts .to-inh-global { margin: 0; }
#view-tryouts .to-inh-global strong { font-size: 26px; }
@media (max-width: 480px) {
  #view-tryouts .to-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #view-tryouts .to-scale { columns: 1; }
}
#view-tryouts .se-decide .to-form-actions { grid-column: 1 / -1; }
/* Rankings por rol */
#view-tryouts .rk-tabs { margin: 12px 0; }
#view-tryouts .rk-card h3 { margin: 0 0 10px; }
/* Partida desplegada de una inhouse (al estilo op.gg): dos tablas, Azul y Rojo, con barra de daño. */
#view-tryouts .to-match { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr)); gap: 12px; padding: 6px 0; }
#view-tryouts .to-eye { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; padding: 4px 8px; }
#view-tryouts .to-match-card { margin-top: 12px; } #view-tryouts .to-match-card h4 { margin: 0 0 6px; }
#view-tryouts .to-match-team { min-width: 0; padding-left: 8px; border-left: 3px solid var(--line); }
#view-tryouts .to-match-team.blue { border-left-color: #3498db; }
#view-tryouts .to-match-team.red { border-left-color: #e74c3c; }
#view-tryouts .to-match-team h5 { margin: 0 0 6px; }
#view-tryouts .to-match-team.won h5 { color: #2ecc71; }
#view-tryouts .to-dmg { position: relative; min-width: 96px; height: 20px; border-radius: 4px; overflow: hidden; background: var(--plate); }
#view-tryouts .to-dmg i { position: absolute; inset: 0 auto 0 0; background: rgba(255, 107, 0, 0.45); }
#view-tryouts .to-dmg span { position: relative; padding: 0 6px; font-size: 12px; font-variant-numeric: tabular-nums; line-height: 20px; }
/* Inhouses: tarjetas con el pentágono de rendimiento (50 = la media). */
#view-inhouses .ih-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
#view-inhouses .ih-card header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
#view-inhouses .rk-pos { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.ih-svg { display: block; width: 100%; max-width: 300px; margin: 8px auto 0; overflow: visible; }
.ih-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.ih-ring.mid { stroke-dasharray: 3 3; }
.ih-area { fill: rgba(255, 107, 0, 0.3); stroke: #ff6b00; stroke-width: 2; }
.ih-dot { fill: #ff6b00; }
.ih-hit { fill: transparent; cursor: help; }
/* Comparar pentágonos de la pestaña Inhouses */
#view-inhouses .ih-compare { margin: 12px 0; }
#view-inhouses .ih-compare header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
#view-inhouses .ih-compare h3 { margin: 0; }
#view-inhouses .ih-cmp-legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
#view-inhouses .ih-cmp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 10px; border-radius: 999px; border: 1px solid var(--c); font-size: 13px; }
#view-inhouses .ih-cmp-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
#view-inhouses .ih-cmp-x { border: 0; background: transparent; color: inherit; font-size: 16px; line-height: 1; padding: 2px 6px; cursor: pointer; }
#view-inhouses .ih-cmp-body { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 16px; align-items: center; }
@media (max-width: 720px) { #view-inhouses .ih-cmp-body { grid-template-columns: minmax(0, 1fr); } }
#view-inhouses .ih-best { font-weight: 800; }
#view-inhouses .ih-cmp-btn.on { border-color: #ff6b00; color: #ff6b00; }
/* Apartado «Drafts» de la pestaña Inhouses */
#view-inhouses .ih-drafts { display: grid; gap: 12px; }
#view-inhouses .ih-draft header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
#view-inhouses .ih-draft-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
#view-inhouses .ih-draft-team { min-width: 0; padding-left: 8px; border-left: 3px solid var(--line); }
#view-inhouses .ih-draft-team.blue { border-left-color: #3498db; }
#view-inhouses .ih-draft-team.red { border-left-color: #e74c3c; }
#view-inhouses .ih-draft-team h5 { margin: 0 0 6px; }
#view-inhouses .ih-draft-team.won h5 { color: #2ecc71; }
#view-inhouses .ih-bans { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
#view-inhouses .ih-bans img { opacity: 0.55; filter: grayscale(0.7); }
#view-inhouses .ih-pick { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.ih-lab { fill: var(--ink-2); font-size: 11px; }
#view-tryouts .rk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#view-tryouts .rk-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--plate); }
#view-tryouts .rk-pos { font-weight: 800; font-size: 18px; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-2); }
#view-tryouts .rk-name { font-weight: 600; min-width: 0; overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#view-tryouts .rk-score { font-variant-numeric: tabular-nums; white-space: nowrap; }
#view-tryouts .rk-score strong { font-size: 18px; }
#view-tryouts .rk-score small { color: var(--ink-dim); margin-left: 2px; }
#view-tryouts .rk-delta { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
#view-tryouts .rk-delta.up { color: var(--green, #2fb36b); border-color: currentColor; }
#view-tryouts .rk-delta.down { color: var(--red-text, #e5484d); border-color: currentColor; }
#view-tryouts .rk-delta.same { color: var(--ink-dim); }
#view-tryouts .rk-delta.new { color: var(--gold-text, var(--gold)); border-color: currentColor; }
#view-tryouts .rk-note { font-size: 11px; font-weight: 700; color: var(--gold-text, var(--gold)); border: 1px dashed currentColor; border-radius: 999px; padding: 1px 7px; }
#view-tryouts .rk-row.podium { border-width: 2px; }
#view-tryouts .rk-row.p1 { border-color: var(--cg-anniversary-gold, #D0A000); background: color-mix(in srgb, var(--cg-anniversary-gold, #D0A000) 12%, var(--plate)); }
#view-tryouts .rk-row.p2 { border-color: #B8BCC6; background: color-mix(in srgb, #B8BCC6 8%, var(--plate)); }
#view-tryouts .rk-row.p3 { border-color: #C07A45; background: color-mix(in srgb, #C07A45 9%, var(--plate)); }
#view-tryouts .rk-row.p1 .rk-pos { color: var(--cg-anniversary-gold, #D0A000); }
#view-tryouts .rk-row.p2 .rk-pos { color: #B8BCC6; }
#view-tryouts .rk-row.p3 .rk-pos { color: #C07A45; }
#view-tryouts .rk-at { margin: 10px 0 0; font-size: 12px; }
@media (max-width: 480px) {
  #view-tryouts .rk-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  #view-tryouts .rk-row .rk-delta { grid-column: 2; justify-self: start; }
  #view-tryouts .rk-row .rk-score { grid-column: 3; grid-row: 1; }
}
@media (max-width: 720px) {
  #view-tryouts .to-sheet, #view-tryouts .to-edit-modal { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
}
@media (max-width: 600px) {
  /* Buscar y Estado son los dos filtros que se usan primero: comparten fila y
     dejan la primera tarjeta visible sin sacrificar tamaño táctil. */
  #view-tryouts .to-filters > label:not(.to-pending-filter) { flex: 1 1 calc(50% - 5px); max-width: none; min-width: 0; }
  #view-tryouts .to-filters > details, #view-tryouts .to-filters > .mini-btn { flex: 1 1 auto; }
  #view-tryouts .to-work-row > .mini-btn, #view-tryouts .to-actions > .mini-btn, #view-tryouts .to-actions > .primary-btn { min-height: 40px; }
  #view-tryouts .to-form-actions > button, #view-tryouts .to-form-actions > .mini-btn { min-height: 40px; }
  #view-tryouts .to-row .to-invite > strong { flex: 1 0 100%; }
  #view-tryouts .to-sheet, #view-tryouts .to-edit-modal { max-height: calc(100dvh - 16px); }
}
/* Pestañas en una sola fila que se desliza (nada de tres filas en móvil) */
/* Tryouts: contadores en una sola línea densa, la cabecera deja de ser un dashboard */
#view-tryouts .page-width .to-workspace > h3:first-child { font-size: 18px; font-weight: 600; margin: 4px 0 2px; }
/* ==== FIN TANDA 2 ==== */
/* ==== TANDA 3 · Tryouts entero (solo #view-tryouts). Bloque aparte, se quita entero. ====
   1) La cabecera deja de gastar 330 px antes del contenido: huecos más cortos entre título, ayuda, contadores y pestañas.
   2) En cada candidato hay UNA acción principal (Ver ficha, con filete dorado, justo tras el estado) y el resto baja de
      volumen; «Borrar» se separa a la derecha y solo se pone rojo al acercarse, para no pulsarlo por error junto a «Editar».
   3) Tarjetas más bajas y con menos aire entre ellas. */
#view-tryouts .page-width .view-head { margin-bottom: 0; }
#view-tryouts .page-width > .view-head + p.muted { margin: 2px 0 8px; }
#view-tryouts .to-tabs { margin-bottom: 4px; }
#view-tryouts .to-workspace { margin-top: 8px; }
#view-tryouts .to-filters { margin: 6px 0 8px; }
#view-tryouts .to-list { gap: 8px; margin: 8px 0; }
#view-tryouts .to-row { padding: 12px 16px; gap: 10px 14px; }
#view-tryouts .to-actions select, #view-tryouts .to-actions [data-to="sheet"]:not([data-sec]) { order: -1; }
#view-tryouts .to-actions [data-to="sheet"]:not([data-sec]) { border: 1px solid var(--gold); color: var(--gold-text); background: color-mix(in srgb, var(--gold) 10%, transparent); font-weight: 600; }
#view-tryouts .to-actions .muted { order: 1; font-size: 12px; }
/* Acciones del candidato siempre visibles; «Borrar» discreto y separado a la derecha */
#view-tryouts .to-actions [data-to="delete"] { order: 2; margin-left: auto; background: none; border-color: transparent; color: var(--ink-dim); }
@media (max-width: 640px) {
  #view-tryouts .to-actions [data-to="delete"] { margin-left: 0; }
}
/* ==== FIN TANDA 3 ==== */
/* ==== TANDA 4 · Tryouts, acabado (solo #view-tryouts). Bloque aparte, se quita entero. ====
   1) Los desplegables-tarjeta (Resumen, Nuevo candidato…) llevan el triángulo en la misma línea que el título, no encima.
   2) Filtros alineados por la base de los controles (antes cada uno flotaba a su altura).
   3) Títulos de panel con aire coherente; el enlace «Ver sesiones» deja de subrayarse dentro del botón dorado.
   4) Foco visible y transiciones breves, respetando prefers-reduced-motion. */
#view-tryouts details.card > summary { display: flex; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; list-style: none; cursor: pointer; }
#view-tryouts details.card > summary::-webkit-details-marker { display: none; }
#view-tryouts details.card > summary::before { content: "▸"; color: var(--ink-dim); font-size: 12px; transition: transform .12s; }
#view-tryouts details.card[open] > summary::before { transform: rotate(90deg); }
#view-tryouts details.card > summary > h3 { margin: 0; }
#view-tryouts details.card > summary > .muted { font-size: 13px; }
#view-tryouts .to-filters { align-items: flex-end; }
#view-tryouts .to-filters > details { align-self: flex-end; min-height: 36px; display: flex; align-items: center; }
#view-tryouts .page-width > p.to-filter-count { margin: 0 0 6px; font-size: 12px; }
#view-tryouts .card > h3, #view-tryouts .card > header h3 { margin: 0 0 10px; }
#view-tryouts .to-work-head { align-items: center; margin-bottom: 4px; }
#view-tryouts a.primary-btn { text-decoration: none; display: inline-flex; align-items: center; }
#view-tryouts .to-tab:focus-visible, #view-tryouts .to-row button:focus-visible, #view-tryouts .to-filters :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  #view-tryouts details.card > summary::before { transition: none; }
}
/* Rankings dentro de Tryouts: su página embebida se alinea con el resto de pestañas (sin sangría doble ni título gigante). */
#view-tryouts #to-rankings .page-width { padding: 0; max-width: none; }
#view-tryouts #to-rankings .page-width > header h2 { font-size: 18px; font-weight: 600; }
#view-tryouts #to-rankings .view-head { align-items: center; margin-bottom: 4px; }
/* Enlaces de texto con el color de acento del tema (antes salían en azul por defecto del navegador, ilegible en oscuro) */
#view-tryouts p a:not(.primary-btn):not(.mini-btn) { color: var(--gold-text); text-underline-offset: 3px; }
/* Si las pestañas no caben (≤ 860 px) se desvanecen por la derecha: indica que se pueden deslizar */
@media (max-width: 860px) {
  #view-tryouts .to-tabs { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 32px), transparent); }
  #view-tryouts .to-tabs::-webkit-scrollbar { display: none; }
}
/* Menos cajas: dentro del cuerpo de la tarjeta, las acciones secundarias son enlaces de texto (invitación, entrevista, motivo…).
   Solo conservan caja el botón principal «Ver ficha» y los controles del pie. */
#view-tryouts .to-main .mini-btn { min-height: 0; padding: 2px 0; border: 0; background: none; color: var(--gold-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--gold-text) 35%, transparent); }
#view-tryouts .to-main .mini-btn:hover { text-decoration-color: currentColor; }
@media (prefers-reduced-motion: reduce) { #view-tryouts .to-streaming-toggle > span, #view-tryouts .to-streaming-toggle > span::after { transition: none; } }
#view-inhouses .ih-edit-f { display: grid; gap: 2px; margin-bottom: 6px; }
#view-inhouses .ih-edit-f input { min-height: 36px; }
#view-inhouses .ih-draft header .mini-btn { margin-left: auto; }
#view-inhouses .ih-draft header .mini-btn + .mini-btn { margin-left: 0; }
#view-inhouses .ih-edit-f textarea { width: 100%; resize: vertical; }
#view-inhouses .ih-sug header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#view-inhouses .ih-sug header .mini-btn { margin-left: auto; }
#view-inhouses .ih-sug.done { opacity: .75; }
#view-inhouses .ih-draft-foot { display: flex; margin-top: 10px; }
#view-inhouses .ih-eye { display: inline-flex; align-items: center; gap: 6px; }
#view-inhouses .ih-st { color: var(--muted, inherit); font-variant-numeric: tabular-nums; }
#view-tryouts .to-dual { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
#view-tryouts .to-dual h5 { margin: 0 0 4px; }
