.game-schedule-field { display: grid; gap: 7px; min-width: 0; font-weight: 700; color: #4e5e8c; }
.game-schedule-field > span { display: block; }
.game-schedule-field input,.game-schedule-field select,.game-schedule-field textarea { box-sizing: border-box; width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid #c6cbe0; border-radius: 7px; background: #fff; color: #172047; font: inherit; }
.game-schedule-field textarea { resize: vertical; font-weight: 400; }
.game-schedule-start { color: #805674; font-weight: 700; line-height: 1.4; }
/* Give the start time the full strip width, including at narrow card sizes. */
.play-shell .play-active-table tbody .play-active-row.is-scheduled { grid-template-areas: "identity players status" "start start start"; }
.play-shell .play-active-table tbody .play-active-row.is-scheduled > td:nth-child(3) { display: block; grid-area: start; margin: 5px -4px 0 0; padding: 6px 10px; text-align: left; background: color-mix(in srgb, var(--play-accent, #d85b98) 14%, white); border-top: 1px solid color-mix(in srgb, var(--play-accent, #d85b98) 30%, #e6e2e8); }
.play-shell .play-active-row.is-scheduled .game-schedule-start { display: block; white-space: nowrap; font: 700 15px/1.35 "Barlow Semi Condensed", Arial, sans-serif; color: color-mix(in srgb, var(--play-accent, #d85b98) 20%, #172047); }
.game-schedule-help { color: #69738b; font-size: 14px; line-height: 1.5; }
.game-schedule-feedback { color: #85516b; font-size: 15px; }
.game-schedule-feedback:empty { display: none; }
.game-schedule-dialog { box-sizing: border-box; width: min(480px, calc(100vw - 28px)); max-height: calc(100dvh - 32px); padding: 0; border: 2px solid #cbbbd6; border-radius: 16px; color: #172047; background: #fff; box-shadow: 0 18px 60px #17204730; font-family: "Barlow Semi Condensed", Arial, sans-serif; }
.game-schedule-dialog::backdrop { background: #17204760; backdrop-filter: blur(3px); }
.game-schedule-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; background: #fff1f8; border-bottom: 1px solid #e7d6e4; }
.game-schedule-dialog-head h2 { margin: 0; font-size: 24px; }
.game-schedule-close { border: 0; background: none; color: #805674; font: 28px/1 Arial; cursor: pointer; }
.game-schedule-dialog-body { padding: 20px 22px; }
.game-schedule-dialog-body h3 { margin: 0 0 8px; font-size: 24px; }
.game-schedule-dialog-body p { margin: 10px 0 16px; }
.game-schedule-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.game-schedule-primary,.game-schedule-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border: 1px solid #b985a6; border-radius: 7px; font: 700 16px/1.3 "Barlow Semi Condensed",Arial,sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.game-schedule-primary { background: #f9cee3; color: #62324f; box-shadow: 0 2px 0 #d9b6cd; }
.game-schedule-secondary { background: #fff; color: #805674; }
.game-schedule-primary:hover,.game-schedule-secondary:hover { background: #fff0f8; }
.game-schedule-primary:disabled { opacity: .6; cursor: wait; }
.game-schedule-admin-form { display: grid; grid-template-columns: 1.1fr .5fr 1.2fr auto; gap: 14px; align-items: end; }
.game-schedule-admin-form input,.game-schedule-admin-form select,.game-schedule-admin-form button { height: 46px; }
.game-schedule-list { display: grid; gap: 12px; margin-top: 20px; }
.game-schedule-admin-card,.game-schedule-outcome { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px; border: 1px solid #ddd5e6; border-radius: 10px; background: #fffbfe; }
.game-schedule-admin-card h3 { margin: 0; font-size: 21px; }.game-schedule-admin-card p { margin: 7px 0; }
.game-schedule-admin-card summary { cursor: pointer; color: #526695; font-weight: 700; }.game-schedule-admin-card details p { max-width: 650px; }
.game-schedule-outcomes { display: grid; gap: 8px; margin: 14px 0; }.game-schedule-outcomes[hidden] { display: none; }
.game-schedule-outcome { justify-content: flex-start; flex-wrap: wrap; padding: 12px 16px; font-size: 14px; }.game-schedule-outcome a { margin-left: auto; }
@media(max-width:850px){.game-schedule-admin-form{grid-template-columns:1fr 1fr;}.game-schedule-admin-card{align-items:flex-start;}.game-schedule-admin-card>.game-schedule-secondary{font-size:14px;}}
@media(max-width:480px){.game-schedule-admin-form{grid-template-columns:1fr;}.game-schedule-admin-card{flex-direction:column;}.game-schedule-dialog-head{padding:14px 18px;}.game-schedule-dialog-body{padding:18px;}}

@media(max-width:700px) {
  .play-shell .play-active-table tbody .play-active-row.is-scheduled { grid-template-areas: "identity status" "players status" "start start"; row-gap: 4px; }
  .play-shell .play-active-table tbody .play-active-row.is-scheduled > td:nth-child(2) { position: static; width: auto; margin-left: calc(var(--play-row-size) + 8px); padding-bottom: 7px; text-align: left; }
  .play-shell .play-active-row.is-scheduled .game-schedule-start { font-size: 13px; }
  .play-shell .play-active-table tbody .play-active-row.is-scheduled > td:nth-child(3) { margin-top: 0; margin-right: -7px; }
  .play-shell .play-active-row.is-scheduled .play-active-game-lockup { min-height: 64px; }
}
