/* GROUND CONTROL / 2027 — homepage module v3 additions (29 Nov 2026).
   Load AFTER the existing gc27 rules. Adds only new classes; every existing .gc27 rule still applies. */

.gc27-v3 h2 { max-width: 9ch; }

/* secondary link under the form */
.gc27-package-link { display: inline-block; margin-top: 18px; color: #b8b9b5; font: 11px/1 var(--mono); letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid #2c2c2c; padding-bottom: 3px; width: max-content; }
.gc27-package-link:is(:hover, :focus-visible) { color: #f3f3ef; border-color: var(--lime, #39FF14); }

/* the ten calls */
.gc27-label b { color: var(--lime, #39FF14); font-weight: 400; }
.gc27-calls { list-style: none; margin: 0; padding: 0; }
.gc27-calls li + li { border-top: 1px solid #1d1d1d; }
.gc27-calls a { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: baseline; gap: 14px; padding: 11px 0; color: inherit; text-decoration: none; transition: background-color .18s; }
.gc27-calls a:is(:hover, :focus-visible) { background: rgba(57, 255, 20, .027); }
.gc27-calls a:focus-visible { outline: 1px solid #39FF14; outline-offset: 3px; }
.gc27-calls b { color: #f3f3ef; font-size: 14px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; transition: color .18s; }
.gc27-calls a:is(:hover, :focus-visible) b { color: #39FF14; }
.gc27-read { color: #39FF14; font: 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

/* behind every call */
.gc27-locks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: #1d1d1d; border: 1px solid #1d1d1d; }
.gc27-locks li { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: #0c0c0c; }
.gc27-locks span { color: #f3f3ef; font-size: 13px; line-height: 1.3; }
.gc27-locks em { font: normal 9px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #8a8b87; }
.gc27-locks em::before { content: ""; display: inline-block; width: 7px; height: 5px; margin-right: 6px; border: 1px solid currentColor; border-radius: 1px; vertical-align: 0; box-shadow: 0 -3px 0 -1px #0c0c0c, 0 -4px 0 -1px currentColor; }

@media (max-width: 700px) {
  .gc27-calls a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .gc27-calls .gc27-tag { grid-column: 1 / -1; }
  .gc27-locks { grid-template-columns: 1fr; }
}

/* The live rule `.gc27 .gc27-gates li { display: block }` beats [hidden], so closed or
   over-limit dates stayed visible. This makes the JS limit actually apply. */
.gc27 .gc27-gates li[hidden], .gc27 [data-gc27][hidden] { display: none !important; }

/* Fit the release board into the existing homepage frame. */
.gc27-v3 .gc27-calls { display: block; background: transparent; border: 0; }
.gc27-v3 .gc27-label { margin-block: 0 10px; }
.gc27-v3 .gc27-forecast-body { margin-block: 0 14px; font-size: 14px; line-height: 1.45; }
.gc27-v3 .gc27-more { display: inline-block; padding-block: 9px; }
.gc27-v3 .gc-beta-status:not(:empty) { min-height: 20px; }
.gc27-v3 .gc27-gates li:not([hidden]) { display: block; }
.gc27-v3 .gc27-gate b { display: block; }
