/* Yukon lineup card. Hidden unless body.lineup-card-seat.
   Page chrome only. The printed card CSS lives in yukon_lineup_card.js. */
@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Anton&family=Archivo+Black&family=Barlow+Condensed:ital,wght@0,700;0,800;1,700;1,800&family=Bebas+Neue&family=Black+Ops+One&family=Exo+2:ital,wght@0,800;1,800&family=Francois+One&family=Oswald:wght@700&family=PT+Sans+Narrow:wght@700&family=Passion+One:wght@700;900&family=Rajdhani:wght@700&family=Roboto+Condensed:ital,wght@0,700;1,700&family=Russo+One&family=Source+Serif+4:ital,opsz,wght@0,8..60,600;0,8..60,900;1,8..60,600;1,8..60,900&family=Squada+One&family=Staatliches&family=Teko:wght@600;700&family=Titillium+Web:ital,wght@0,700;0,900;1,700&family=Yanone+Kaffeesatz:wght@700&display=swap");

body.lineup-card-seat #nav-lineup-card-btn.yukon-gameday-only {
  display: flex !important;
  width: 100%;
  justify-content: flex-start;
}

/* Lock this desk to the space above the school ticker. */
body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-shell {
  height: calc(100dvh - 72px);
  max-height: calc(100dvh - 72px);
  min-height: 0;
  overflow: hidden;
}

body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-sidebar {
  height: 100%;
  overflow: auto;
}

body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .sidebar-quote-card,
body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .sidebar-version {
  flex-shrink: 0;
}

body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-main {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 12px 16px 10px;
}

body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-main-inner {
  height: 100%;
  min-height: 0;
  max-width: none;
  overflow: hidden;
}

body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-footer {
  display: none;
}

body.lineup-card-seat #lineup-card-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  color: #111827;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

body.lineup-card-seat #lineup-card-page .ylc-command {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  width: min(100%, 1120px);
  min-height: 58px;
  padding: 8px 10px 8px 16px;
  background: #14181f;
  color: #fff;
  border: 1px solid #14181f;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(16, 20, 27, 0.12);
}

body.lineup-card-seat #lineup-card-page .ylc-command-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

body.lineup-card-seat #lineup-card-page .ylc-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c0f280;
}

body.lineup-card-seat #lineup-card-page .ylc-command h1 {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-ack {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #d5dbe3;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

body.lineup-card-seat #lineup-card-page .ylc-command-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

body.lineup-card-seat #lineup-card-page .ylc-command-actions button,
body.lineup-card-seat #lineup-card-page .ylc-setup button,
body.lineup-card-seat #lineup-card-page .ylc-roster-box-head button,
body.lineup-card-seat #lineup-card-page #lineup-card-roster-save {
  height: 34px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  border-radius: 8px;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

body.lineup-card-seat #lineup-card-page .ylc-command-actions button:hover,
body.lineup-card-seat #lineup-card-page .ylc-setup button:hover,
body.lineup-card-seat #lineup-card-page .ylc-roster-box-head button:hover {
  background: #f8fafc;
  border-color: #d1d5db;
}

body.lineup-card-seat #lineup-card-page .ylc-print,
body.lineup-card-seat #lineup-card-page #lineup-card-roster-save,
body.lineup-card-seat #lineup-card-page #lineup-card-setup-save {
  background: #111827 !important;
  color: #fff !important;
  border-color: #111827 !important;
}

body.lineup-card-seat #lineup-card-page .ylc-print:hover,
body.lineup-card-seat #lineup-card-page #lineup-card-roster-save:hover,
body.lineup-card-seat #lineup-card-page #lineup-card-setup-save:hover {
  background: #000 !important;
}

body.lineup-card-seat #lineup-card-page .ylc-command .ylc-command-actions button {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

body.lineup-card-seat #lineup-card-page .ylc-command .ylc-command-actions button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-command .ylc-print {
  background: #fff !important;
  color: #14181f !important;
  border-color: #fff !important;
}

body.lineup-card-seat #lineup-card-page .ylc-command .ylc-print:hover {
  background: #f3f4f6 !important;
}

body.lineup-card-seat #lineup-card-page #lineup-card-setup-save {
  margin: 0 14px;
}

body.lineup-card-seat #lineup-card-page .ylc-workspace {
  flex: 1;
  min-height: 0;
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 420px);
  gap: 12px;
  align-items: stretch;
}

body.lineup-card-seat #lineup-card-page .ylc-side {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.lineup-card-seat #lineup-card-page .ylc-setup,
body.lineup-card-seat #lineup-card-page .ylc-roster-box,
body.lineup-card-seat #lineup-card-page .ylc-canvas {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

body.lineup-card-seat #lineup-card-page .ylc-setup {
  flex: 0 1 auto;
  max-height: 58%;
  overflow: hidden;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.lineup-card-seat #lineup-card-page .ylc-panel-head,
body.lineup-card-seat #lineup-card-page .ylc-roster-box-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 10px 14px;
  background: #14181f;
  color: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-setup-fields {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 0;
}

body.lineup-card-seat #lineup-card-page .ylc-setup h2,
body.lineup-card-seat #lineup-card-page .ylc-roster-box h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box-head button {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box-head button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-wm {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-head,
body.lineup-card-seat #lineup-card-page .ylc-wm-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-head span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-show {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-slider {
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-slider input[type="range"] {
  width: 100%;
}

body.lineup-card-seat #lineup-card-page .ylc-wm-actions button {
  height: 30px;
}

body.lineup-card-seat #lineup-card-page .ylc-color-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

body.lineup-card-seat #lineup-card-page .ylc-setup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

body.lineup-card-seat #lineup-card-page .ylc-type-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  gap: 8px;
}

body.lineup-card-seat #lineup-card-page .ylc-setup label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

body.lineup-card-seat #lineup-card-page .ylc-setup input[type="text"],
body.lineup-card-seat #lineup-card-page .ylc-setup textarea,
body.lineup-card-seat #lineup-card-page .ylc-setup select,
body.lineup-card-seat #lineup-card-page .ylc-roster-edit input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  background: #fafbfc;
  color: #111827;
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0;
  text-transform: none;
}

body.lineup-card-seat #lineup-card-page .ylc-setup textarea {
  min-height: 44px;
  resize: vertical;
}

body.lineup-card-seat #lineup-card-page #lineup-card-word,
body.lineup-card-seat #lineup-card-page #lineup-card-footer {
  text-transform: uppercase;
}

body.lineup-card-seat #lineup-card-page .ylc-setup select {
  height: 34px;
  cursor: pointer;
}

body.lineup-card-seat #lineup-card-page .ylc-setup input[type="text"]:focus,
body.lineup-card-seat #lineup-card-page .ylc-setup textarea:focus,
body.lineup-card-seat #lineup-card-page .ylc-setup select:focus,
body.lineup-card-seat #lineup-card-page .ylc-roster-edit input:focus {
  outline: 2px solid rgba(17, 24, 39, 0.12);
  border-color: #111827;
  background: #fff;
}

body.lineup-card-seat #lineup-card-page .ylc-setup input[type="file"] {
  width: 100%;
  min-width: 0;
  font-size: 0;
  color: transparent;
}

body.lineup-card-seat #lineup-card-page .ylc-setup input[type="file"]::file-selector-button {
  margin: 0;
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: #111827;
  cursor: pointer;
}

body.lineup-card-seat #lineup-card-page .ylc-color-row label {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fafbfc;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

body.lineup-card-seat #lineup-card-page .ylc-setup input[type="color"] {
  width: 28px;
  height: 22px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box-labels,
body.lineup-card-seat #lineup-card-page .ylc-roster-edit {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 28px;
  gap: 6px;
  align-items: center;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box-labels {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-box-labels,
body.lineup-card-seat #lineup-card-page .ylc-roster-rows,
body.lineup-card-seat #lineup-card-page #lineup-card-roster-save {
  margin-left: 14px;
  margin-right: 14px;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-rows {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
  padding-right: 2px;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-remove {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

body.lineup-card-seat #lineup-card-page .ylc-roster-remove:hover {
  background: #f3f4f6;
  color: #111827;
}

body.lineup-card-seat #lineup-card-page #lineup-card-roster-save {
  width: 100%;
  margin-top: 2px;
}

body.lineup-card-seat #lineup-card-page .ylc-canvas {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.lineup-card-seat #lineup-card-page .ylc-stage {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 22px 20px 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(17, 24, 39, 0.035), transparent 52%),
    #f6f7f9;
}

@media (max-width: 900px) {
  body.lineup-card-seat:has(#lineup-card-page:not(.screen-hidden)) .app-shell {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  body.lineup-card-seat #lineup-card-page {
    height: auto;
    overflow: visible;
  }

  body.lineup-card-seat #lineup-card-page .ylc-command,
  body.lineup-card-seat #lineup-card-page .ylc-workspace {
    width: 100%;
  }

  body.lineup-card-seat #lineup-card-page .ylc-workspace,
  body.lineup-card-seat #lineup-card-page .ylc-field-grid,
  body.lineup-card-seat #lineup-card-page .ylc-color-row {
    grid-template-columns: 1fr;
  }

  body.lineup-card-seat #lineup-card-page .ylc-stage {
    height: 72vh;
  }

  body.lineup-card-seat #lineup-card-page .ylc-command {
    flex-wrap: wrap;
  }
}
