/* =========================================
   GO — Player-facing public surface styles
   ========================================= */

/* ── Body ── */
.go-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}

/* ── Sticky Top Bar ── */
.go-top-bar {
  display: flex;
  align-items: center;
  padding: 0 1rem;
  height: 48px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
}

.go-top-bar__left,
.go-top-bar__right {
  width: 72px;
  flex-shrink: 0;
}

.go-top-bar__right {
  text-align: right;
}

.go-top-bar__logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.go-top-bar__center {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.go-top-bar__signin {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ── Fixed Bottom Tab Bar ── */
.go-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 56px;
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--gray-200);
  z-index: 50;
  box-sizing: content-box;
}

.go-bottom-bar__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1;
  padding: 6px 0;
  text-decoration: none;
  color: var(--gray-800);
  transition: color 0.15s;
}

.go-bottom-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.go-bottom-bar__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gray-800);
  stroke-width: 1.8;
}

.go-bottom-bar__label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.go-bottom-bar__tab--active {
  color: var(--cyan-500);
}

.go-bottom-bar__tab--active .go-bottom-bar__icon svg {
  stroke: var(--cyan-500);
  stroke-width: 2.2;
}

.go-bottom-bar__tab--active .go-bottom-bar__label {
  font-weight: 700;
}

/* Hide scrollbar on mobile go pages */
@media (max-width: 768px) {
  html:has(.go-body) {
    scrollbar-width: none;
  }
  html:has(.go-body)::-webkit-scrollbar {
    display: none;
  }
}

/* ── League Header ── */
.go-league-header__banner {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.go-league-header__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.go-league-header__banner--default {
  background: linear-gradient(135deg, #0f1722 0%, #1e3a5f 40%, #2a5a8a 70%, #1a4570 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-league-header__watermark {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
}

.go-league-header__info {
  padding: 1rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.go-league-header__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

.go-league-header__meta {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin-top: 0.25rem;
}

.go-league-header__status {
  display: inline-block;
  background: var(--success-soft);
  color: var(--success-dark);
  padding: 1px 6px;
  border-radius: var(--r-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

.go-league-header__status--neutral {
  background: var(--bg-2);
  color: var(--ink-3);
}

/* ── League Section Nav ── */
.go-league-nav {
  display: flex;
  gap: 1.5rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.go-league-nav__link {
  color: var(--ink-3);
  font-weight: 500;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s;
}

.go-league-nav__link:hover {
  color: var(--ink);
}

.go-league-nav__link--active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* ── Flash ── */
.go-flash {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.25rem;
}

.go-flash__notice {
  background: var(--success-soft);
  color: var(--success-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-top: 1rem;
}

.go-flash__alert {
  background: var(--danger-soft);
  color: var(--danger-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-top: 1rem;
}

/* ── Main Content ── */
.go-main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 1.25rem 0;
}

/* ── Footer ── */
.go-footer {
  padding: 2rem 1.25rem;
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-4);
  border-top: 1px solid var(--line-2);
  margin-top: 3rem;
}

/* ── Explore Page ── */
.explore__header {
  padding: 2rem 0 1.25rem;
}

.explore__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.explore__subtitle {
  color: var(--ink-3);
  font-size: var(--text-sm);
  margin-top: 0.25rem;
}

.explore__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}

.explore-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.explore-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.explore-card__banner {
  height: 100px;
  overflow: hidden;
}

.explore-card__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-card__banner-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f1722 0%, #1e3a5f 40%, #2a5a8a 70%, #1a4570 100%);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.explore-card__body {
  padding: 0.75rem;
}

.explore-card__title {
  font-weight: 700;
  color: var(--ink);
  font-size: var(--text-sm);
  margin-bottom: 2px;
}

.explore-card__sport {
  color: var(--ink-3);
  font-size: var(--text-xs);
  margin-bottom: 0.5rem;
}

.explore-card__stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--text-xs);
  color: var(--ink-3);
}

.explore-card__org {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-2);
  font-size: var(--text-xs);
  color: var(--ink-4);
}

/* ── Page Layout ── */
.go-page {
  width: 100%;
  padding: 2rem 0 0;
}

.go-page__header {
  margin-bottom: 1.25rem;
}

.go-page__title {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.go-page__subtitle {
  color: var(--ink-3);
  font-size: var(--text-sm);
  margin-top: 0.25rem;
}

/* ── Empty State ── */
.go-empty {
  text-align: center;
  padding: 4rem 2rem;
}

.go-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.go-empty__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.go-empty__text,
.go-empty__desc {
  color: var(--ink-3);
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
}

/* ── Form Pages (Waitlist, Login stub) ── */
.go-form-page {
  display: flex;
  justify-content: center;
  padding: 3rem 1rem;
}

.go-form-card {
  max-width: 400px;
  width: 100%;
}

.go-form-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin: 0 0 0.5rem;
}

.go-form-card__desc {
  color: var(--ink-3);
  font-size: var(--text-sm);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.go-form-card__notice {
  background: var(--success-soft);
  color: var(--success-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-bottom: 1rem;
  text-align: center;
}

.go-form-card__footer {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-top: 1.5rem;
}

.go-form-card__footer a {
  color: var(--accent);
  text-decoration: none;
}

.go-form__errors {
  background: var(--danger-soft);
  color: var(--danger-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}

.go-form__errors p {
  margin: 0;
}

.go-form__errors p + p {
  margin-top: 0.25rem;
}

.go-form__field {
  margin-bottom: 0.75rem;
}

.go-form__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.go-form__input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--input-border);
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s;
}

.go-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.go-form__submit {
  display: block;
  width: 100%;
  padding: 0.6rem;
  border: none;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-top: 1rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  transition: opacity 0.15s;
}

.go-form__submit:hover {
  opacity: 0.9;
}

/* ── Members-Only Gate ── */
.go-gate {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.go-gate__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.go-gate__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.go-gate__desc {
  font-size: 0.92rem;
  color: var(--ink-3);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.go-gate__btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: opacity 0.15s;
}

.go-gate__btn:hover {
  opacity: 0.9;
}

/* ── My Schedule Controls ── */
.go-sticky-filters {
  position: sticky;
  top: 48px;
  z-index: 30;
  background: var(--bg, #f5f7fa);
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
}

.go-filter-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: stretch;
}

.go-filter-row__team { flex: 1; min-width: 0; max-width: 600px; }
.go-filter-row__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  height: 100%;
}

.go-team-picker__select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.go-group-picker__label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-3);
  white-space: nowrap;
}

.go-group-picker__select {
  border: none;
  background: transparent;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  padding: 0.5rem 0;
}

/* ── Date selector (toggle bar) ── */
.go-date-selector {
  position: relative;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1rem;
  user-select: none;
  max-width: 600px;
}

.go-date-selector__adjacent {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-4);
  background: var(--bg-2);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.1s, background 0.1s;
  min-width: 0;
  overflow: hidden;
}

.go-date-selector__adj-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.go-date-selector__adj-arrow {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--ink-4);
  line-height: 1;
}

.go-date-selector__adjacent:hover { color: var(--ink-2); background: var(--bg-3, #e3e8ee); }

.go-date-selector__adjacent--disabled {
  pointer-events: none;
  color: transparent;
}

.go-date-selector__current {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

/* ── Calendar dropdown ── */
.go-date-selector__calendar {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 10px;
  z-index: 20;
  min-width: 260px;
}

.go-date-selector__calendar.is-open { display: block; }

.go-cal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.go-cal__title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.go-cal__nav {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink-3);
  cursor: pointer;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  line-height: 1;
}

.go-cal__nav:hover { background: var(--bg-2); color: var(--ink); }

.go-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  text-align: center;
}

.go-cal__day-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase;
  padding: 4px 0;
}

.go-cal__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  font-size: 0.8rem;
  border-radius: 50%;
  color: var(--ink-4);
}

.go-cal__cell--disabled { cursor: default; }

.go-cal__cell--game {
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  transition: background 0.1s;
}

.go-cal__cell--game:hover {
  background: var(--bg-2);
}

.go-cal__cell--selected {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ── Game card: stacked-row layout ── */
.go-game-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 0.5rem;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  display: flex;
}

.go-game-card--reffing {
  border-left-color: var(--warning);
}

.go-game-card__body {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  background: var(--surface);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.go-game-card.is-actions-open .go-game-card__body {
  transform: translateX(-70%);
}

.go-game-card__body:has(.is-open) {
  z-index: 10;
}

/* Row 1: time, [ref], pipe, location, [icons] */
.go-game-card__row1 {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  color: var(--ink-3);
  margin-bottom: 4px;
  min-width: 0;
}

.go-game-card__time {
  white-space: nowrap;
  flex-shrink: 0;
}

.go-game-card__ref-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--warning-soft);
  color: var(--warning-dark, #D97706);
  flex-shrink: 0;
}

.go-game-card__pipe {
  color: var(--ink-4);
  flex-shrink: 0;
}

.go-game-card__loc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.go-game-card__row1-icons {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  flex-shrink: 0;
}

.go-game-card__note-icon {
  position: relative;
}

.go-game-card__note-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #D97706;
  font-size: 0.75rem;
  padding: 0 2px;
  line-height: 1;
}

.go-game-card__note-popover {
  display: none;
  position: fixed;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  font-size: var(--text-xs);
  color: var(--ink-2);
  white-space: normal;
  min-width: 160px;
  max-width: 280px;
  z-index: 9999;
}

.go-game-card__note-popover.is-open {
  display: block;
}

.go-game-card__note-popover--dark {
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.go-game-card__note-icon--inline {
  color: #D97706;
  font-size: 0.65rem;
  cursor: help;
  margin-left: 4px;
}

.go-game-card__conflict-icon {
  position: relative;
  color: var(--amber-500, #F59E0B);
  font-size: 0.75rem;
  line-height: 1;
}
.go-game-card__conflict-btn {
  background: none;
  border: none;
  padding: 2px;
  color: inherit;
  font-size: inherit;
  cursor: pointer;
  line-height: 1;
}
.go-game-card__conflict-popover {
  display: none;
  position: fixed;
  padding: 6px 10px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 9999;
  box-shadow: var(--shadow);
}
.go-game-card__conflict-popover.is-open {
  display: block;
}

/* Team rows (scored and unscored) */
.go-game-card__team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 24px;
  gap: 4px;
}

.go-game-card__team-info {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}

.go-game-card__team-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.go-game-card__team-name--lose {
  color: var(--ink-3);
  font-weight: 500;
}

.go-game-card__vs {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-4);
  flex-shrink: 0;
  margin-right: 2px;
}

.go-game-card__vs-inline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-4);
  margin: 0 2px;
  flex-shrink: 0;
}

.go-game-card__elo {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--bg-2);
  padding: 1px 5px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  flex-shrink: 0;
}

/* Scores section: win-indicator + score */
.go-game-card__scores {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

.go-game-card__win-ind {
  width: 32px;
  text-align: center;
  font-size: 0.6rem;
  color: var(--ink-4);
  flex-shrink: 0;
}

.go-game-card__final-tag {
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.go-game-card__score-val {
  width: 24px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.go-game-card__score-val--bold {
  font-weight: 800;
  color: var(--ink);
}


/* ── Action bar (swipe-to-reveal) ── */
.go-game-card__action-bar {
  width: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  cursor: pointer;
  flex-shrink: 0;
  color: var(--ink-4);
  font-size: 10px;
  user-select: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, background 0.15s;
}

.go-game-card__action-bar:hover {
  background: var(--accent-subtle, #EFF6FF);
  color: var(--accent);
}

.go-game-card__action-bar-icon {
  font-size: 10px;
  line-height: 1;
}

.go-game-card__actions {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 70%;
  display: flex;
  align-items: stretch;
  background: var(--bg-2);
  z-index: 1;
}

.go-game-card__action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  padding: 6px 2px;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  text-align: center;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.1s;
}

.go-game-card__action-btn span {
  line-height: 1.15;
}

.go-game-card__action-btn:hover {
  background: var(--accent-subtle, #EFF6FF);
  color: var(--accent);
}

.go-game-card__action-btn svg {
  color: var(--ink-3);
  flex-shrink: 0;
}

/* ── Desktop table view ── */
.go-sched-desktop { display: none; }

.go-sched-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin: 0;
}

.go-sched-table thead th {
  padding: 8px 10px;
  text-align: left;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  font-weight: 700;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}

.go-sched-table__row td {
  padding: 7px 10px;
  border-top: 1px solid var(--line-2);
  vertical-align: middle;
  font-size: var(--text-sm);
}

.go-sched-table__row:hover {
  background: var(--surface-2);
}

.go-sched-table__row--reffing {
  border-left: 3px solid var(--warning);
}

.go-sched-table__time {
  white-space: nowrap;
  color: var(--ink-2);
}

.go-sched-table__location {
  color: var(--ink-3);
  white-space: nowrap;
}

.go-sched-table__team-a,
.go-sched-table__team-b {
  font-weight: 600;
}

.go-sched-table__team-a {
  text-align: right;
}

.go-sched-table__team-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.go-sched-table__score {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.go-sched-table__elo-delta {
  text-align: center;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.go-sched-table__delta {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.go-sched-table__delta--pos {
  color: var(--green-600, #16A34A);
  background: var(--green-50, #F0FDF4);
}

.go-sched-table__delta--neg {
  color: var(--danger);
  background: var(--red-50, #FEF2F2);
}

.go-sched-table__status span {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--ink-4);
}

.go-sched-table__status--completed { color: var(--ink-3); }
.go-sched-table__status--finalized { color: var(--green-600, #16A34A); }

.go-sched-table__icons {
  white-space: nowrap;
  width: 1%;
}

.go-sched-table__actions {
  width: 1%;
  white-space: nowrap;
}

.go-sched-table__action-menu {
  position: relative;
}

.go-sched-table__action-trigger {
  background: none;
  border: none;
  padding: 2px 6px;
  font-size: 1.1rem;
  color: var(--ink-4);
  cursor: pointer;
  line-height: 1;
  border-radius: var(--r-sm);
}

.go-sched-table__action-trigger:hover {
  background: var(--bg-2);
  color: var(--ink);
}

.go-sched-table__action-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 20;
  min-width: 160px;
  padding: 4px 0;
}

.go-sched-table__action-dropdown.is-open {
  display: block;
}

.go-sched-table__action-item {
  display: block;
  padding: 6px 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.go-sched-table__action-item:hover {
  background: var(--bg-2);
}

@media (min-width: 768px) {
  .go-sched-mobile { display: none; }
  .go-sched-desktop { display: block; }
}

/* ── Buttons ── */
.go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}

.go-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.go-btn--primary:hover { opacity: 0.9; }

.go-btn--secondary {
  background: var(--surface);
  color: var(--ink-2);
  border-color: var(--line);
}
.go-btn--secondary:hover { background: var(--bg-2); }

/* ── Submit Score page ── */
.go-submit-score {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}

.go-submit-score__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.go-submit-score__meta {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin: 0 0 0.15rem;
}

.go-submit-score__location {
  font-size: 0.82rem;
  color: var(--ink-3);
  margin: 0 0 0.75rem;
}

.go-submit-score__submitter {
  font-size: 0.82rem;
  color: var(--ink-2);
  margin: 0 0 1rem;
  padding: 0.4rem 0.6rem;
  background: var(--bg-2);
  border-radius: var(--r-sm);
}

.go-submit-score__form { display: flex; flex-direction: column; gap: 1rem; }

.go-submit-score__pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.go-submit-score__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
}

.go-submit-score__side-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}

.go-submit-score__slot--a .go-submit-score__side-label { color: var(--accent); }
.go-submit-score__slot--b .go-submit-score__side-label { color: var(--danger); }

.go-submit-score__team-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.go-submit-score__input {
  width: 64px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.5rem;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
}
.go-submit-score__input:focus {
  outline: none;
  border-color: var(--accent);
}

.go-submit-score__dash {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink-3);
  padding-top: 2rem;
}

.go-submit-score__notes-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 0.25rem;
}

.go-submit-score__notes-field {
  width: 100%;
  min-height: 60px;
  padding: 0.5rem;
  font-size: 0.88rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}

.go-submit-score__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

/* ── View Submissions page ── */
/* ── Score Submissions Timeline ── */
.go-sub-timeline {
  display: flex;
  flex-direction: column;
}

.go-sub-timeline__item {
  display: flex;
  gap: 0.75rem;
}

.go-sub-timeline__rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16px;
  flex-shrink: 0;
}

.go-sub-timeline__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--line);
  flex-shrink: 0;
  margin-top: 4px;
}

.go-sub-timeline__dot--active {
  background: var(--cyan-500);
  box-shadow: 0 0 0 2px var(--cyan-500);
}

.go-sub-timeline__line {
  width: 2px;
  flex: 1;
  background: var(--line);
  margin: 4px 0;
}

.go-sub-timeline__content {
  flex: 1;
  min-width: 0;
  padding-bottom: 1.25rem;
}

.go-sub-timeline__date {
  font-size: var(--text-sm);
  color: var(--ink-3);
  font-weight: 600;
}

.go-sub-timeline__submitter {
  font-size: var(--text-sm);
  color: var(--ink);
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.go-sub-card {
  position: relative;
  background: var(--surface, #fff);
  border: 1px solid var(--line);
  border-radius: var(--r-lg, 12px);
  padding: 0.75rem;
  overflow: hidden;
}

.go-sub-card__active-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px 3px 10px;
  border-bottom-left-radius: var(--r-md, 8px);
  background: var(--cyan-500, #06b6d4);
  color: #fff;
}

.go-sub-card__row-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  align-items: start;
}

.go-sub-card__row-names--badge-inset {
  padding-top: 1.25rem;
}

.go-sub-card__row-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.go-sub-card__team-info {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.go-sub-card__team-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.go-sub-card__score {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

.go-sub-card__notes {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line-2, var(--line));
  font-size: var(--text-xs);
  color: var(--ink-3);
}

.go-view-submissions__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.1rem 0.4rem;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  color: var(--ink-3);
}

.go-view-submissions__role--staff {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.go-view-submissions__role--player {
  background: var(--success-soft);
  color: var(--success-dark);
}

.go-view-submissions__role--referee {
  background: var(--success-soft);
  color: var(--success-dark);
}

.go-view-submissions__empty {
  text-align: center;
  color: var(--ink-3);
  padding: 2rem 0;
  font-size: 0.88rem;
}


.go-load-more {
  display: block;
  width: 100%;
  padding: 0.65rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s;
}

.go-load-more:hover {
  background: var(--bg-2);
}

/* ── My Teams ── */
.go-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
}

.go-section-label--collapsible {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}
.go-section-label--collapsible:hover { color: var(--ink-2); }

.go-section-label__chevron {
  font-size: 0.6rem;
  transition: transform 0.15s;
}
.go-section-label__chevron--open {
  transform: rotate(90deg);
}

.go-schedule-notice-banner {
  padding: 6px 12px;
  margin: -4px 0 12px;
  background: var(--info-soft);
  border-left: 3px solid var(--info);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.4;
}

.go-team-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem;
  margin-bottom: 0.75rem;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.go-team-card:hover {
  box-shadow: var(--shadow);
}

.go-team-card--past {
  opacity: 0.8;
}

.go-team-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.go-team-card__name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.go-team-card__name {
  font-weight: 700;
  color: var(--ink);
}

.go-team-card__role {
  font-size: 0.71rem;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
}

.go-team-card__role--captain {
  background: var(--accent-light);
  color: var(--accent);
}

.go-team-card__role--player {
  background: var(--bg-2);
  color: var(--ink-3);
}

.go-team-card__meta {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 3px;
}

.go-team-card__arrow {
  font-size: 0.85rem;
  color: var(--ink-4);
}

.go-team-card__stats {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-2);
  margin-top: 0.5rem;
}

.go-team-card__stat-label {
  color: var(--ink-3);
}

.go-team-card__stat-value {
  font-weight: 600;
  color: var(--ink);
}

.go-team-card__stat-value--record {
  color: var(--success);
}

/* ── Team Drilldown ── */
.go-back-link {
  margin-bottom: 0.75rem;
}

.go-back-link a {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.go-team-header {
  margin-bottom: 1rem;
}

.go-team-header__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.go-team-header__name {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--ink);
}

.go-team-header__edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--ink-3);
  padding: 4px;
  border-radius: 4px;
}

.go-team-header__edit-btn:hover {
  color: var(--ink);
  background: var(--bg-2);
}

.go-team-header__icon-edit {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.go-team-header__icon-pencil {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.go-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--line);
}

.go-tabs__tab {
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s;
}

.go-tabs__tab:hover {
  color: var(--ink);
}

.go-tabs__tab--active {
  color: var(--accent);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

.go-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 8px;
  margin-bottom: 1.25rem;
}

.go-stat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px;
  text-align: center;
}

.go-stat-tile__value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.go-stat-tile__value--record {
  color: var(--success);
}

.go-stat-tile__label {
  font-size: 0.71rem;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.go-detail-section__label {
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.go-form-strip {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
}

.go-form-strip__box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.71rem;
  font-weight: 700;
  color: #fff;
}

.go-form-strip__box--win  { background: var(--success); }
.go-form-strip__box--loss { background: var(--danger); }
.go-form-strip__box--draw { background: var(--ink-4); }

.go-roster-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.go-roster-list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 0.85rem;
}

.go-roster-list__row:last-child {
  border-bottom: none;
}

.go-roster-list__name {
  color: var(--ink);
}

.go-roster-list__badge {
  font-size: 0.71rem;
  font-weight: 600;
}

.go-roster-list__badge--captain {
  color: var(--accent);
}

/* ── Roster tab (captain management) — card layout ── */
.go-roster-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1rem;
}
.go-roster-card {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--line-2);
}
.go-roster-card:last-child { border-bottom: none; }
.go-roster-card__body { flex: 1; min-width: 0; }
.go-roster-card__name-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.go-roster-card__name {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.go-roster-card__email {
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.go-roster-card__details {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--ink-3);
  margin-top: 2px;
}
.go-roster-card__sep { color: var(--ink-4); }
.go-roster-card__action {
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.go-roster-card__action .action-dropdown { display: inline-block; }
.go-roster-card__action .action-trigger { font-size: 1.1rem; padding: 4px 6px; }

.go-roster-table__status { font-size: 0.71rem; font-weight: 600; }
.go-roster-table__status--joined { color: var(--success); }
.go-roster-table__status--pending { color: var(--warning); }
.go-roster-table__status--expired { color: var(--danger); }
.go-roster-table__status--neutral { color: var(--ink-4); }

@media (max-width: 768px) {
  .go-roster-card { padding: 0.75rem; }
  .go-roster-card__action .action-menu { right: 0; left: auto; }
}

.go-roster-add-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0.75rem;
}
.go-roster-add-form__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 0.5rem;
}
.go-roster-add-form__row--3col { grid-template-columns: 1fr 1fr 1fr; }
.go-roster-add-form__label {
  display: block; font-size: 0.65rem; font-weight: 600; color: var(--ink-3);
  text-transform: uppercase; margin-bottom: 3px;
}
.go-roster-add-form__input {
  width: 100%; padding: 0.35rem 0.5rem;
  border: 1px solid var(--line); border-radius: 4px;
  font-size: 0.82rem; color: var(--ink);
}
.go-roster-add-form__actions { margin-top: 0.5rem; }

/* ── Games tab ── */
.go-game-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.5rem;
  background: var(--surface);
}

.go-game-result__teams {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.go-game-result__team {
  color: var(--ink-2);
}

.go-game-result__team--winner {
  font-weight: 700;
  color: var(--ink);
}

.go-game-result__score {
  font-weight: 700;
  color: var(--ink);
}

.go-game-result__elo-delta {
  font-size: 0.78rem;
  font-weight: 600;
}

.go-game-result__elo-delta--pos {
  color: var(--success);
}

.go-game-result__elo-delta--neg {
  color: var(--danger);
}

/* ── Opponents tab ── */
.go-opponent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 0.5rem;
  background: var(--surface);
}

.go-opponent-row__name {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.85rem;
}

.go-opponent-row__record {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.go-opponent-row__stat {
  font-weight: 600;
  color: var(--ink-2);
}

.go-opponent-row__games {
  color: var(--ink-4);
}

/* ── Profile ── */

.go-profile-section {
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--surface);
}

.go-profile-section__header {
  padding: 0.6rem 1rem;
  background: var(--bg-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--card-border);
}

.go-profile-section__body {
  padding: 1.25rem;
}

.go-profile-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.go-profile-hint {
  font-size: var(--text-xs);
  color: var(--ink-4);
  margin-top: 4px;
}

.go-profile-avatar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 4px;
}

.go-profile-avatar__img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.go-profile-avatar__initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-base);
}

.go-profile-avatar__actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.go-profile-avatar__upload {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.go-profile-avatar__input {
  display: none;
}

.go-profile-avatar__remove {
  font-size: var(--text-xs);
  color: var(--ink-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.go-profile-btn {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  border: none;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  transition: opacity 0.15s;
}

.go-profile-btn:hover {
  opacity: 0.9;
}

.go-profile-btn--secondary {
  background: var(--surface);
  color: var(--ink-2);
  border: 1px solid var(--card-border);
}

.go-profile-btn--secondary:hover {
  background: var(--bg-2);
  opacity: 1;
}

.go-profile-subsection {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--card-border);
}

.go-profile-subsection:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.go-profile-subsection__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.go-profile-subsection__count {
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--ink-3);
}

.go-profile-sessions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.go-profile-session {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.5rem;
  font-size: var(--text-sm);
  border-radius: var(--r-sm);
}

.go-profile-session__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.go-profile-session__agent {
  color: var(--ink-2);
}

.go-profile-session__current {
  font-size: var(--text-xs);
  color: var(--success);
  font-weight: 600;
}

.go-profile-session__date {
  font-size: var(--text-xs);
  color: var(--ink-4);
}

.go-profile-session__revoke {
  font-size: var(--text-xs);
  color: var(--danger);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.go-profile-session__revoke:hover {
  text-decoration: underline;
}

/* ── Profile Sign Out ── */
.go-profile-signout {
  text-align: center;
  padding: 1.5rem 0;
}

.go-profile-signout__btn {
  width: 100%;
  max-width: 400px;
}

/* ── Invite Card ── */
.go-invite-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.go-invite-card__row {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-light, var(--border));
}
.go-invite-card__row:last-child { border-bottom: none; }
.go-invite-card__label {
  font-weight: 600;
  color: var(--ink-3);
  font-size: var(--text-sm);
}
.go-invite-card__value {
  font-weight: 500;
  color: var(--ink);
}

/* ── ELO Chip ── */
.go-elo-chip {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--bg-2);
  color: var(--ink-3);
  border-radius: 10px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}

/* ── Roster preview badges ── */
.go-roster-list__badge--joined {
  background: var(--success-light, #e8f5e9);
  color: var(--success, #2e7d32);
}
.go-roster-list__badge--pending {
  background: var(--bg-2);
  color: var(--ink-3);
}
.go-roster-list__more a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.go-roster-list__more a:hover {
  text-decoration: underline;
}

/* ── Game result status ── */
.go-game-result__status {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: auto;
}
.go-game-result__status--completed {
  background: var(--success-light, #e8f5e9);
  color: var(--success, #2e7d32);
}
.go-game-result__status--finalized {
  background: var(--bg-2);
  color: var(--ink-3);
}

/* ── Go Page Mobile ── */
@media (max-width: 768px) {
  .go-page { padding-top: 0.75rem; }
  .go-page .team-header { position: static; }

  .go-page .stat-grid { display: none !important; }

  .go-page .opponents-layout .stat-tile__v { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   Scoreboard — full-screen layout
   ═══════════════════════════════════════════════════════════════════ */

.scoreboard-body {
  margin: 0; padding: 0;
  overflow: hidden;
  background: #111827;
  -webkit-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/* ── Config ── */

.go-scoreboard-config {
  max-width: 400px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}
.go-scoreboard-config__back {
  margin-bottom: 0.75rem;
}
.go-scoreboard-config__back a {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}
.go-scoreboard-config h1 {
  font-size: 1.25rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}
.go-scoreboard-config__detail {
  font-size: 0.78rem;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 0.25rem;
}
.go-scoreboard-config__scorer {
  font-size: 0.8rem;
  color: var(--ink-3);
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}
.go-scoreboard-config__pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: stretch;
  margin-bottom: 0.75rem;
}
.go-scoreboard-config__slot {
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.6rem 0.4rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.go-scoreboard-config__slot--left {
  border-color: #2563EB;
  background: rgba(37, 99, 235, 0.12);
}
.go-scoreboard-config__slot--right {
  border-color: #DC2626;
  background: rgba(239, 68, 68, 0.12);
}
.go-scoreboard-config__sidelabel {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.go-scoreboard-config__slot--left .go-scoreboard-config__sidelabel {
  color: #2563EB;
}
.go-scoreboard-config__slot--right .go-scoreboard-config__sidelabel {
  color: #DC2626;
}
.go-scoreboard-config__teamname {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
  flex: 1;
}
.go-scoreboard-config__startpts {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0.4rem 0.25rem;
  border-radius: 6px;
  background: var(--white, #fff);
  -moz-appearance: textfield;
}
.go-scoreboard-config__startpts::-webkit-inner-spin-button,
.go-scoreboard-config__startpts::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.go-scoreboard-config__slot--left .go-scoreboard-config__startpts {
  border: 2px solid #2563EB;
  color: #2563EB;
}
.go-scoreboard-config__slot--right .go-scoreboard-config__startpts {
  border: 2px solid #DC2626;
  color: #DC2626;
}
.go-scoreboard-config__swap {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-3);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
}
.go-scoreboard-config__series {
  font-size: 0.8rem;
  color: var(--ink-3);
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.go-scoreboard-config__start {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.go-scoreboard-config__warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--r-md);
  padding: 0.75rem;
  margin-bottom: 1rem;
  text-align: center;
}
.go-scoreboard-config__warning strong {
  display: block;
  margin-bottom: 0.25rem;
}
.go-scoreboard-config__warning p {
  font-size: 0.8rem;
  color: var(--ink-2);
  margin: 0.15rem 0;
}

.go-scoreboard-config__pwa-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--r-md);
  padding: 0.6rem 0.75rem;
  margin-bottom: 1rem;
}
.go-scoreboard-config__pwa-hint p {
  flex: 1;
  font-size: 0.8rem;
  color: var(--ink-2);
  margin: 0;
}
.go-scoreboard-config__pwa-hint button {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}

/* ── Live Board ── */

.scoreboard {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.scoreboard__half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.scoreboard__half--left  { background: #2563EB; }
.scoreboard__half--right { background: #DC2626; }

.scoreboard__score {
  font-size: min(30vw, 15rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 3px 20px rgba(0,0,0,0.25);
  pointer-events: none;
}
.scoreboard__team {
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
  pointer-events: none;
  max-width: 90%;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Top-left: location + time (centered on left half) */
.scoreboard__info {
  position: absolute;
  top: 6px; left: 0; width: 50%;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  z-index: 5;
  pointer-events: none;
  text-align: center;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
.scoreboard__info-line {
  line-height: 1.4;
}

/* Top-center: timer pill (3 rows) */
.scoreboard__timer {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  color: #1f2937;
  padding: 6px 20px 4px;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.scoreboard__timer-clock {
  font-size: 16px;
  line-height: 1.3;
}
.scoreboard__timer-elapsed {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 16px;
  color: #4b5563;
  line-height: 1.3;
}
.scoreboard__timer-stopwatch {
  width: 14px; height: 14px;
  stroke: #6b7c93;
  flex-shrink: 0;
}
.scoreboard__timer-arrow {
  font-size: 10px;
  color: #9ca3af;
  line-height: 1;
  margin-top: 1px;
  letter-spacing: 0.2em;
}

/* Top-right: sync + logo (centered on right half) */
.scoreboard__sync-area {
  position: absolute;
  top: 6px; right: 0; width: 50%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 0.75rem;
  box-sizing: border-box;
}
.scoreboard__sync {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.scoreboard__logo {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}
.scoreboard__logo strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.scoreboard__sync-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.scoreboard__sync-dot--ok      { background: #10B981; box-shadow: 0 0 4px #10B981; }
.scoreboard__sync-dot--offline { background: #EF4444; box-shadow: 0 0 4px #EF4444; }
.scoreboard__sync-dot--syncing { background: #F59E0B; }

/* Bottom-center: swap */
.scoreboard__swap {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #4b5563;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  z-index: 10;
}

/* Expandable controls panel (drops down from timer) */
.scoreboard__panel {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: min(420px, 90vw);
  background: rgba(255,255,255,0.96);
  border-radius: 0 0 12px 12px;
  padding: 2rem 1.25rem 1.25rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 20;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.scoreboard__backdrop {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 15;
}
.scoreboard--panel-open .scoreboard__backdrop { display: block; }
.scoreboard--panel-open .scoreboard__panel {
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.scoreboard__panel-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #1f2937;
  text-align: center;
}
.scoreboard__panel-meta {
  font-size: 0.75rem;
  color: #6b7c93;
  text-align: center;
  margin-bottom: 0.15rem;
}
.scoreboard__panel-location {
  font-size: 0.75rem;
  color: #6b7c93;
  text-align: center;
  margin-bottom: 0.5rem;
}
.scoreboard__panel-clock {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 0.25rem;
}
.scoreboard__panel-timer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 0.75rem;
}
.scoreboard__panel-timer-row [data-scoreboard-target="panelTimer"] {
  display: inline-block;
  width: 56px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.scoreboard__panel-stopwatch {
  width: 16px; height: 16px;
  stroke: #6b7c93;
  flex-shrink: 0;
}
.scoreboard__panel-pause {
  border-radius: 50%;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  margin-left: 4px;
  border: 1.5px solid #2563EB;
  background: #fff;
  color: #2563EB;
}
.scoreboard__panel-pause--playing {
  background: #2563EB;
  color: #fff;
}
.scoreboard__panel-pause svg {
  width: 14px; height: 14px;
}
.scoreboard__panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.scoreboard__panel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.scoreboard__panel-btn--submit {
  background: #2563EB;
  color: #fff;
}
.scoreboard__panel-btn--discard {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #6b7c93;
}
.scoreboard__panel-notes textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem;
  font-size: 0.8rem;
  resize: vertical;
  font-family: inherit;
}
.scoreboard__panel-notes label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7c93;
  display: block;
  margin-bottom: 0.25rem;
}

/* Tap feedback flash */
.scoreboard__half--flash {
  opacity: 0.85;
  transition: opacity 0.08s;
}

/* Score progression */
.go-score-progression__back {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--ink-3);
  text-decoration: none;
  margin-bottom: 0.75rem;
}
.go-score-progression__header {
  text-align: center;
  margin-bottom: 1rem;
}
.go-score-progression__location {
  font-size: var(--text-sm);
  color: var(--ink-3);
  margin: 0;
}
.go-score-progression__card {
  background: var(--surface, #fff);
  border-radius: var(--r-lg, 12px);
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.go-score-progression__chart { margin-bottom: 1rem; }
.score-progression-controls {
  display: flex; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap;
}
.score-progression-controls .segmented__btn { font-size: 0.8rem; padding: 0.25rem 0.75rem; }
.score-progression-help {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-2);
  border-radius: var(--r-md);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.score-progression-help__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink-3);
  opacity: 0.6;
}
.go-score-progression__picker {
  margin-top: 0.75rem;
  text-align: left;
}
.go-score-progression__picker-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-3);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.go-score-progression__picker-select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.6rem;
  font-size: var(--text-sm);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  padding-right: 2rem;
}

/* ── Elo chips on go. portal ──
   Semantic classes (.stat-badge--elo-prior, --elo-after, --elo-delta-pos/neg)
   are defined in elo.css. No Go-specific overrides needed. */

/* ═══ Manage surface (epic 0031) ═══ */

/* Sticky second row under the 48px top bar: season picker + quick actions */
.go-manage-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.45rem 1rem 0.6rem;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 48px;
  z-index: 49;
}

.go-manage-bar__picker { flex: 1; min-width: 0; }

.go-manage-bar__picker-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.go-manage-bar__picker-btn--static { cursor: default; }

.go-manage-bar__picker-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.go-manage-bar__picker-org { color: var(--gray-500); font-weight: 500; }
.go-manage-bar__caret { color: var(--gray-500); flex-shrink: 0; }

.go-manage-bar__plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.35);
}

/* Menus open via the shared dropdown controller (which overrides position
   inline). The CSS anchors them under their trigger as a fallback, and the
   max-height keeps long season lists from spanning the viewport — an
   unclamped menu taller than the screen made the flip logic bottom-anchor it. */
.go-manage-bar__picker,
.go-manage-bar__actions { position: relative; }

.go-manage-bar__menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 250px;
  max-width: calc(100vw - 16px);
  max-height: min(60vh, 420px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.18);
  padding: 4px;
  z-index: 60;
}
.go-manage-bar__menu--actions { left: auto; right: 0; }
.go-manage-bar__menu.is-open { display: block; }

.go-manage-bar__menu-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
.go-manage-bar__menu-item:hover { background: var(--gray-50); }
.go-manage-bar__menu-item.is-current { background: var(--accent-light); }

.go-manage-bar__menu-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.go-manage-bar__menu-text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-500);
}

/* Quick-action landing state: dismissible filter pill */
.go-manage-filter-row { margin-bottom: 0.6rem; }

.go-manage-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}
.go-manage-filter-pill__clear {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.7;
  padding: 0 0.15rem;
}

/* ── Manage ▸ Create Game (epic 0031 §7) ── */

.go-create-game { max-width: 560px; margin: 0 auto; }

.go-create-game__period-chip {
  margin-top: 0.35rem;
  font-size: var(--text-xs, 0.75rem);
  font-weight: 600;
  color: var(--accent);
}
.go-create-game__period-chip:empty { display: none; }
.go-create-game__period-chip.is-warning { color: var(--danger); }

.go-create-game__score-toggle {
  display: inline-block;
  margin: 0.5rem 0;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.go-create-game__score {
  border: 1px dashed var(--gray-200);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}
.go-create-game__score.is-hidden { display: none; }
.go-create-game__score-hint {
  font-size: var(--text-xs, 0.75rem);
  color: var(--gray-500);
  margin: 0.25rem 0 0;
}

.go-create-game__footer {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.go-create-game__btn {
  flex: 1;
  padding: 0.6rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.go-create-game__btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.go-create-game__btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Landing highlight: Create Game redirects to the schedule anchored at the
   new card's dom id. */
.go-game-card:target {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Manage tab row + Summary cards (epic 0031 PR 4) ── */

.go-manage-tabs {
  display: flex;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 0.9rem;
}
.go-manage-tabs__tab {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0;
  border-radius: 6px;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
}
.go-manage-tabs__tab.is-active {
  background: #fff;
  color: var(--gray-800);
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.1);
}

.go-msum-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}
.go-msum-card__title {
  font-size: var(--text-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}
.go-msum-card__cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.go-msum-stats { display: flex; gap: 1rem; margin-bottom: 0.4rem; }
.go-msum-stat { flex: 1; }
.go-msum-stat__num { font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.go-msum-stat__label {
  font-size: var(--text-xs, 0.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

.go-msum-meta { font-size: var(--text-sm, 0.875rem); color: var(--gray-600, #425466); margin: 0.25rem 0 0; }
.go-msum-meta__soft { color: var(--gray-500); font-weight: 400; }

.go-msum-attn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: var(--text-sm, 0.875rem);
}
.go-msum-attn:last-child { border-bottom: none; }
.go-msum-attn__link { color: inherit; text-decoration: none; font-weight: 600; }
.go-msum-attn__link:hover { color: var(--accent); }
.go-msum-attn__count {
  padding: 0 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--text-xs, 0.75rem);
  background: var(--warning-soft, #fef3c7);
  color: #b45309;
}

.go-msum-progress {
  height: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
  margin: 0.35rem 0;
}
.go-msum-progress__fill { height: 100%; background: var(--accent); border-radius: 999px; }

/* Neutral cards (Manage: viewer is on neither team) show full matchups —
   never truncate team names; wrap onto more rows and let the card grow. */
.go-game-card--neutral .go-game-card__team-info {
  flex-wrap: wrap;
  overflow: visible;
}
.go-game-card--neutral .go-game-card__team-name {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Summary ▸ per-pool tiles (epic 0031 follow-up) */
.go-msum-block-teams {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.go-msum-block-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm, 0.875rem);
  font-weight: 600;
}
