/* ==============================================
   STG LIVE — MENU + STATS DETAIL
   custom.css — fresh build
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@400;500;600&display=swap');

/* ----------------------------------------------
   SHARED
   ---------------------------------------------- */
#stg-live-menu,
#stg-live-detail {
  font-family: 'Barlow', sans-serif;
  padding: 0 0 24px 0;
}

/* Live pulse dot */
.stg-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  margin-right: 6px;
  vertical-align: middle;
  animation: stg-pulse 1.4s ease-in-out infinite;
}
@keyframes stg-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Status badges */
.stg-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.stg-badge-live     { background: #ff0000; color: #fff; }
.stg-badge-upcoming { background: #2e2c65; color: #c8c6ff; }
.stg-badge-complete { background: #0f6e3a; color: #5dffa0; }

/* Loading / empty state */
.stg-loading {
  padding: 32px 20px;
  text-align: center;
  color: #5a7a99;
  font-size: 14px;
}

/* ----------------------------------------------
   MENU
   ---------------------------------------------- */
.stg-menu {
  background: #0d1b2e;
  min-height: 100%;
}

/* Meet header */
.stg-menu-header {
  background: #0a1525;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stg-menu-meet {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.stg-menu-meet-sub {
  font-size: 13px;
  color: #6a8faa;
  margin-top: 4px;
  font-weight: 500;
}

/* Session block */
.stg-session-block {
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 12px;
  margin-right: 12px;
  background: #132030;
  border: 1px solid rgba(255,255,255,0.06);
}

/* Session header bar */
.stg-session-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stg-session-hdr--live     { background: #1a0a0a; }
.stg-session-hdr--upcoming { background: #110f2a; }
.stg-session-hdr--complete { background: #0f1c2a; }

.stg-session-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #dce8f2;
  letter-spacing: 0.3px;
}
.stg-session-date {
  font-size: 14px;
  color: #a8c4d8;
  margin-top: 3px;
  font-weight: 500;
}

/* Group rows */
.stg-group-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
  /* Reset anchor styles */
  text-decoration: none;
  color: inherit;
}
.stg-group-row:last-child { border-bottom: none; }
.stg-group-row:active     { background: rgba(255,255,255,0.05); }

.stg-group-label {
  font-size: 15px;
  color: #c8dcea;
  font-weight: 500;
  flex: 1;
}
.stg-group-chevron {
  font-size: 22px;
  color: #2e4a63;
  margin-left: 10px;
  line-height: 1;
}

/* ----------------------------------------------
   STATS DETAIL
   ---------------------------------------------- */
.stg-detail {
  background: #0d1b2e;
  min-height: 100%;
}

/* Detail header */
.stg-detail-header {
  background: #0a1525;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stg-detail-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #ffffff;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
.stg-detail-sub {
  font-size: 12px;
  color: #5a7a99;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Filter pills */
.stg-filter-row {
  display: flex;
  gap: 7px;
  padding: 10px 14px;
  background: #0f1e30;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stg-filter-row::-webkit-scrollbar { display: none; }

.stg-filter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: transparent;
  color: #6a8faa;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.stg-filter-btn.active {
  background: #c8102e;
  border-color: #c8102e;
  color: #fff;
}
.stg-filter-btn:active:not(.active) {
  background: rgba(255,255,255,0.06);
}

/* List container */
.stg-detail-list {
  padding: 0;
}

/* Table scroll wrapper */
.stg-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* Athlete table */
.stg-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* Column widths */
.stg-table .th-num  { width: 36px; }
.stg-table .th-evt  { width: 52px; }
.stg-table .th-aa   { width: 64px; }

/* Table header */
.stg-table thead tr {
  background: #1a2d40;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stg-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #a0c0d8;
  padding: 8px 6px;
  text-align: right;
}
.stg-table th.th-num { text-align: center; padding-left: 4px; }

/* Name row — full width name on its own line */
.stg-name-row td { padding-top: 10px; padding-bottom: 2px; }
.stg-name-row.rank-1 { background: rgba(255,215,0,0.04); }
.stg-name-row.rank-2 { background: rgba(180,200,220,0.03); }
.stg-name-row.rank-3 { background: rgba(180,130,70,0.03); }

.stg-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-align: center;
  color: #6a8faa;
  padding: 0 4px;
  vertical-align: top;
  padding-top: 10px;
  width: 36px;
}

/* Medal emoji for top 3 — rendered directly in JS, just size them */
.stg-num.rank-1,
.stg-num.rank-2,
.stg-num.rank-3 { font-size: 28px !important; color: inherit; }


.stg-name-cell {
  padding-left: 6px;
  padding-right: 8px;
  vertical-align: top;
}
.stg-athlete-name {
  font-size: 17px;
  font-weight: 600;
  color: #e8f0f8;
  line-height: 1.2;
}
.stg-athlete-gym {
  font-size: 12px;
  color: #6a8faa;
  font-weight: 500;
  margin-top: 2px;
}

/* Score row — sits directly under name row */
.stg-score-row td { padding-top: 4px; padding-bottom: 6px; }
.stg-score-row.rank-1 { background: rgba(255,215,0,0.05); }
.stg-score-row.rank-2 { background: rgba(180,200,220,0.03); }
.stg-score-row.rank-3 { background: rgba(180,130,70,0.03); }

.stg-score-indent {
  width: 36px;
  padding: 0;
}

.stg-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #e8f0f8;
  text-align: right;
  padding: 0 6px;
  white-space: nowrap;
  vertical-align: middle;
}
.stg-score.pending {
  color: #2e4a63;
  font-weight: 400;
  font-size: 13px;
}

.stg-aa {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 23px;
  font-weight: 900;
  color: #00d4ff;
  text-align: right;
  padding: 0 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.stg-aa.pending {
  color: #2e4a63;
  font-size: 13px;
  font-weight: 400;
}

.stg-rank-sup {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  color: #00d4ff;
  vertical-align: super;
  margin-left: 2px;
  line-height: 1;
}

/* Thin divider between athletes */
.stg-divider-row td {
  padding: 0;
  height: 1px;
  background: rgba(255,255,255,0.04);
}

/* Team results */
.stg-team-row td { padding: 12px 8px; }
.stg-team-name {
  font-size: 15px;
  font-weight: 600;
  color: #c8dcea;
  padding-left: 8px;
}
.stg-team-row.rank-1 { background: rgba(255,215,0,0.05); }
.stg-team-row.rank-2 { background: rgba(180,200,220,0.03); }
.stg-team-row.rank-3 { background: rgba(180,130,70,0.03); }

/* Detail footer */
.stg-detail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  font-size: 13px;
  color: #ffffff;
  font-weight: 600;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 8px;
}

/* ==============================================
   SEARCH BAR
   ============================================== */

#stg-search-wrap {
  background: #0a1525;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 14px;
}

.stg-search-bar {
  display: flex;
  align-items: center;
  background: #162033;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 11px 14px;
  gap: 8px;
}

.stg-search-bar input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #e8f0f8;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 0;
}

.stg-search-bar input::placeholder {
  color: #4a6a8a;
}

.stg-search-icon {
  color: #4a6a88;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
}

#stg-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #e8f0f8;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 11px 0;
  -webkit-appearance: none;
  appearance: none;
}
#stg-search-input::placeholder { color: #3a5a78; }
#stg-search-input::-webkit-search-decoration,
#stg-search-input::-webkit-search-cancel-button { display: none; }

.stg-search-clear {
  color: #4a6a88;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  padding: 4px;
  line-height: 1;
}

/* Search results */
#stg-search-results {
  background: #0d1b2e;
}

.stg-search-count {
  padding: 10px 14px 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  color: #4a6a88;
  text-transform: uppercase;
}

.stg-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: background 0.12s;
  -webkit-tap-highlight-color: transparent;
}
.stg-search-result:last-child { border-bottom: none; }
.stg-search-result:active { background: rgba(255,255,255,0.05); }

.stg-result-name {
  font-size: 15px;
  font-weight: 600;
  color: #e8f0f8;
  font-family: 'Barlow', sans-serif;
}

.stg-result-meta {
  font-size: 11px;
  color: #6a8faa;
  margin-top: 3px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
}

.stg-search-empty {
  padding: 32px 20px;
  text-align: center;
  color: #4a6a88;
  font-size: 14px;
  font-family: 'Barlow', sans-serif;
}

/* ==============================================
   CONCESSION STAND — #stg-concession
   ============================================== */

.cs-wrap {
  background: #0d1b2e;
  min-height: 100%;
  padding: 0 0 32px;
  font-family: 'Barlow', sans-serif;
}

.cs-header {
  background: #0a1525;
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 14px;
}
.cs-header-icon { font-size: 32px; line-height: 1; }
.cs-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.cs-subtitle {
  font-size: 12px;
  color: #6a8faa;
  font-weight: 500;
  margin-top: 3px;
}

.cs-grid {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cs-card {
  background: #132030;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}

.cs-card-header {
  background: #0f1e30;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cs-card-icon { font-size: 18px; line-height: 1; }
.cs-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8830a;
}

.cs-card-body { padding: 6px 0; }

.cs-row {
  display: flex;
  align-items: baseline;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: cs-fadein 0.35s ease both;
}
.cs-row:last-child { border-bottom: none; }

@keyframes cs-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cs-item-name {
  font-size: 18px;
  color: #c8dcea;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.cs-dots {
  flex: 1;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  margin: 0 8px 4px;
  min-width: 16px;
}
.cs-item-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #00d4ff;
  white-space: nowrap;
  flex-shrink: 0;
}

.cs-footer {
  margin: 6px 12px 0;
  background: #0f1e30;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
}
.cs-thank {
  font-size: 14px;
  color: #6a8faa;
  font-weight: 500;
  margin-bottom: 6px;
}
.cs-club {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: #e8830a;
  letter-spacing: 0.5px;
}
.cs-boost {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #00d4ff;
  letter-spacing: 3px;
  margin-top: 4px;
}

/* ==============================================
   STG SHARE SHEET
   ============================================== */

#stg-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stg-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.stg-share-panel {
  position: relative;
  background: #132030;
  border-radius: 20px 20px 0 0;
  padding: 12px 16px 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.stg-share-handle {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 0 auto 18px;
}

.stg-share-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 3px;
}

.stg-share-sub {
  font-size: 13px;
  color: #6a8faa;
  margin-bottom: 20px;
  font-family: 'Barlow', sans-serif;
}

.stg-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stg-share-item {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.stg-share-item span {
  display: block;
  font-size: 11px;
  color: #c8dcea;
  font-family: 'Barlow', sans-serif;
  margin-top: 6px;
}

.stg-share-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  font-family: serif;
  transition: transform 0.1s;
}
.stg-share-icon:active { transform: scale(0.92); }

.stg-share-link-row {
  background: #0a1525;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.stg-share-url {
  flex: 1;
  font-size: 13px;
  color: #6a8faa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: 'Barlow', sans-serif;
}

.stg-share-copy {
  background: #00d4ff;
  color: #0a1525;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.stg-share-cancel {
  width: 100%;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 12px;
  color: #e8f0f8;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ==============================================
   CONCESSION — PAYMENTS ACCEPTED
   ============================================== */

.cs-payment {
  margin: 0 12px 14px;
  background: #0f1e30;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 14px 16px;
}

.cs-payment-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8830a;
  margin-bottom: 12px;
}

.cs-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-pay-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 12px;
}

.cs-pay-pill span {
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  color: #c8dcea;
  font-weight: 500;
  white-space: nowrap;
}

.cs-pay-paypal {
  background: rgba(0,48,135,0.25);
  border-color: rgba(0,112,186,0.35);
}
.cs-pay-paypal span { color: #6ab4e8; font-weight: 600; }

.cs-pay-venmo {
  background: rgba(0,130,180,0.18);
  border-color: rgba(0,160,210,0.3);
}
.cs-pay-venmo span { color: #5bc8f5; font-weight: 600; }

/* Tie indicator */
.stg-tie {
  font-size: 14px;
  font-weight: 900;
  color: #e8830a;
  margin-left: 1px;
  vertical-align: baseline;
}

/* Score tie star indicator */
.stg-star {
  font-size: 14px;
  font-weight: 900;
  color: #ffffff;
  margin-left: 1px;
  vertical-align: super;
  line-height: 1;
}

/* ==============================================
   AB COUNTDOWN
   ============================================== */

#stg-ab-countdown {
  margin: 8px 12px 14px;
  background: linear-gradient(135deg, #0f1e30, #1a2f4a);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 12px;
  padding: 14px 16px;
  text-align: center;
}

.stg-cd-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #00d4ff;
  margin-bottom: 8px;
}

.stg-cd-timer {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 36px;
  color: #ffffff;
  letter-spacing: 3px;
  line-height: 1;
}

/* ==============================================
   COMING SOON CARD (SI 2027)
   ============================================== */
.stg-coming-soon {
  margin: 12px;
  background: #0f1e30;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
}
.stg-coming-icon {
  font-size: 42px;
  margin-bottom: 12px;
}
.stg-coming-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #e8f0f8;
  margin-bottom: 8px;
}
.stg-coming-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  color: #6a8faa;
  line-height: 1.5;
}

/* ==============================================
   SCRATCH SCORE — strikethrough 0
   ============================================== */
.stg-scratch {
  text-decoration: line-through;
  text-decoration-color: #ff4444;
  text-decoration-thickness: 2px;
  color: #6a8faa;
  font-size: inherit;
}

/* Centered countdown variant for SI 2027 scores tab */
.stg-countdown-centered {
  text-align: center;
  margin: 16px 12px;
  background: linear-gradient(135deg, #0f1e30, #1a2f4a);
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 12px;
  padding: 20px 16px;
}
.stg-countdown-centered .stg-cd-label {
  text-align: center;
}
.stg-countdown-centered .stg-cd-timer {
  text-align: center;
}

/* ==============================================
   GYM POC PORTAL STYLES
   ============================================== */

/* Base wrap */
.poc-wrap {
  padding: 16px 14px 100px;
  max-width: 600px;
  margin: 0 auto;
}

/* Login */
.poc-logo { font-size: 56px; text-align: center; margin-bottom: 12px; }
.poc-login-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 28px; color: #fff; text-align: center; margin-bottom: 4px; }
.poc-login-sub { font-size: 13px; color: #6a8faa; text-align: center; margin-bottom: 28px; }

/* Form elements */
.poc-form { display: flex; flex-direction: column; }
.poc-label { font-size: 12px; font-weight: 700; color: #6a8faa; letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 5px; margin-top: 12px; }
.poc-input {
  background: #162033;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #e8f0f8;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
  margin-bottom: 4px;
  -webkit-appearance: none;
}
.poc-input:focus { outline: none; border-color: #00d4ff; }
.poc-select { cursor: pointer; }
.poc-textarea { resize: vertical; min-height: 120px; }
.poc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.poc-form-checks { margin-top: 8px; gap: 20px; }
.poc-check-label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #e8f0f8; cursor: pointer; }
.poc-check-label input[type=checkbox] { width: 18px; height: 18px; accent-color: #00d4ff; }

/* Buttons */
.poc-btn {
  display: block;
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.poc-btn-primary { background: #00d4ff; color: #0a1525; }
.poc-btn-secondary { background: #1a2f4a; color: #00d4ff; border: 1px solid #00d4ff; }
.poc-btn-ghost { background: transparent; color: #6a8faa; border: 1px solid rgba(255,255,255,0.1); }
.poc-btn-sm { width: auto; display: inline-block; padding: 8px 16px; font-size: 13px; margin-top: 0; }
.poc-btn-danger { background: #e74c3c; color: #fff; }

/* Dashboard */
.poc-dash-header { background: linear-gradient(135deg, #0f1e30, #1a3050); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.poc-dash-gym { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; color: #fff; }
.poc-dash-contact { font-size: 13px; color: #6a8faa; margin-top: 2px; }
.poc-admin-badge { display: inline-block; margin-top: 8px; background: #00d4ff; color: #0a1525; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 10px; letter-spacing: 0.5px; }

/* Meet cards */
.poc-meet-card { background: #132030; border-radius: 14px; padding: 16px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,0.07); }
.poc-meet-card-hdr { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.poc-meet-card-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; color: #fff; }
.poc-meet-card-date { font-size: 12px; color: #6a8faa; margin-top: 2px; }

/* Badges */
.poc-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 10px; white-space: nowrap; letter-spacing: 0.5px; }
.poc-badge-upcoming { background: rgba(0,212,255,0.15); color: #00d4ff; }
.poc-badge-complete { background: #0f6e3a; color: #5dffa0; }
.poc-badge-scratch   { background: #5c1a1a; color: #ff6b6b; }

/* Balance */
.poc-balance-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.poc-balance-item { background: #0d1b2a; border-radius: 8px; padding: 10px; text-align: center; }
.poc-balance-label { font-size: 11px; color: #6a8faa; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.poc-balance-amt { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 20px; color: #fff; margin-top: 4px; }
.poc-paid { color: #5dffa0; }
.poc-owed { color: #ff6b6b; }
.poc-clear { color: #5dffa0; }

/* Countdown on dashboard */
.poc-countdown { background: linear-gradient(135deg, #0f1e30, #1a2f4a); border: 1px solid rgba(0,212,255,0.2); border-radius: 10px; padding: 12px 16px; text-align: center; margin-bottom: 12px; }
.poc-cd-label { font-size: 11px; font-weight: 700; color: #00d4ff; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 4px; }
.poc-cd-timer { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 28px; color: #fff; letter-spacing: 2px; }

/* Section titles */
.poc-section-title { font-size: 11px; font-weight: 700; color: #6a8faa; text-transform: uppercase; letter-spacing: 0.8px; margin: 14px 0 8px; }

/* Deadlines */
.poc-deadlines { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.poc-deadline-row { display: flex; justify-content: space-between; align-items: center; background: #0d1b2a; border-radius: 8px; padding: 10px 12px; }
.poc-deadline-row.poc-deadline-past { opacity: 0.5; }
.poc-deadline-label { font-size: 13px; font-weight: 700; color: #e8f0f8; }
.poc-deadline-desc { font-size: 11px; color: #6a8faa; margin-top: 2px; }
.poc-deadline-date { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; color: #00d4ff; white-space: nowrap; margin-left: 8px; }

/* Docs */
.poc-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.poc-doc-btn { background: #1a2f4a; border: 1px solid rgba(0,212,255,0.2); color: #00d4ff; border-radius: 8px; padding: 8px 14px; font-size: 13px; font-weight: 700; text-decoration: none; display: inline-block; }

/* Meet actions */
.poc-meet-actions { display: flex; gap: 8px; margin-top: 12px; }
.poc-meet-actions .poc-btn { margin-top: 0; }

/* Lock notice */
.poc-lock-notice { background: rgba(231,76,60,0.1); border: 1px solid rgba(231,76,60,0.3); border-radius: 8px; color: #ff6b6b; font-size: 12px; font-weight: 700; padding: 8px 12px; margin-top: 10px; }

/* Roster */
.poc-roster-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.poc-roster-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; color: #fff; }
.poc-roster-count { font-size: 13px; color: #6a8faa; }

/* Gymnast cards */
.poc-gymnast-card { background: #132030; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.06); }
.poc-gymnast-hdr { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.poc-gymnast-name { font-weight: 700; font-size: 16px; color: #fff; }
.poc-gymnast-meta { font-size: 12px; color: #6a8faa; margin-top: 2px; }
.poc-gymnast-actions { display: flex; align-items: center; gap: 8px; }
.poc-gymnast-details { display: flex; flex-wrap: wrap; gap: 6px; }
.poc-detail { background: #0d1b2a; border-radius: 6px; padding: 3px 9px; font-size: 12px; color: #a0b4c8; }
.poc-senior { color: #00d4ff; border: 1px solid #00d4ff; background: transparent; }

/* Form */
.poc-form-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 24px; color: #fff; margin-bottom: 16px; }
.poc-contact-sub { font-size: 13px; color: #6a8faa; margin-bottom: 16px; }

/* Misc */
.poc-loading { text-align: center; color: #6a8faa; padding: 40px; font-size: 15px; }
.poc-empty { text-align: center; color: #6a8faa; padding: 32px; font-size: 14px; }
.poc-err { color: #ff6b6b; font-size: 13px; padding: 8px 0; }
