/*
 * "Start a game" card in the hero of the game score calculators
 * (partials/game-start.blade.php + js/tools/game-start.js).
 */
.gs-card { margin-top: 12px; background: #fffdf9; border-radius: 22px; padding: clamp(16px, 3vw, 22px); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 0 0 1px rgba(59, 48, 43, 0.06), 0 18px 40px rgba(59, 48, 43, 0.07); max-width: 720px; }
.gs-head { display: flex; flex-direction: column; gap: 2px; }
.gs-title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: #2e2018; }
.gs-text { margin: 0; font-size: 14px; line-height: 1.5; color: #7a6a5c; }
.gs-continue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 14px; border-bottom: 1px solid #e5ddd2; }
.gs-continue[hidden] { display: none; }
.gs-or { font-size: 14px; color: #7a6a5c; }
.gs-names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px 12px; }
.gs-name { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gs-name .nk-input { height: 46px; font-size: 16px; }
.gs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.gs-spacer { flex: 1 1 0; }
.gs-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.gs-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #8b5e3c; text-decoration: none; white-space: nowrap; }
.gs-link:hover { text-decoration: underline; }
.gs-btn { border: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 14px 24px; border-radius: 999px; }
.gs-btn--primary { background: #ffb900; color: #2e2018; }
.gs-btn:focus-visible, .gs-link:focus-visible { outline: 2px solid #8b5e3c; outline-offset: 2px; }
.gs-name .nk-icon-btn:disabled { opacity: 0.3; cursor: default; }
/* Phones: "Add a player", then the full-width Start button, then both jump links on one row. */
@media (max-width: 560px) {
  .gs-spacer { display: none; }
  .gs-actions [data-gs-start] { flex: 1 1 100%; order: 2; }
  .gs-links { order: 3; flex: 1 1 100%; justify-content: space-between; gap: 0 12px; }
  .gs-link { font-size: 13px; }
}
/* Visually hidden label (the name fields show the same text as a placeholder). */
.gs-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
