/* The home page's feature spotlights (home/_spotlight) and the drawings in them (home/_art_*).
   The drawings are made of HTML, so they're sharp, translated, and always match the product. */

.spots { display: grid; gap: clamp(72px, 9vw, 120px); }
.spot { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 80px); align-items: center; }
.spot-flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.spot-flip .spot-text { order: 2; }
.spot-text h3 { font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.spot-text > p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--text-body); }
.spot-text .check-list { margin-top: 24px; }
.spot-text .check-list svg { color: var(--pitch); }
@media (max-width: 860px) {
  .spot, .spot-flip { grid-template-columns: minmax(0, 1fr); }
  .spot-flip .spot-text { order: 0; }
}

/* The stage each drawing sits on: a tinted panel with chalk lines. */
.spot-art {
  --stage: var(--pitch-soft);
  position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start;
  padding: clamp(20px, 3.5vw, 40px); border-radius: 20px;
  background:
    repeating-linear-gradient(90deg, transparent 0 79px, rgb(23 115 74 / 0.08) 79px 81px),
    var(--stage);
}
.spot-art-matchday { --stage: #dfe7f2; }
.spot-art-sponsors { --stage: var(--gold-soft); }
.spot-art-languages { --stage: var(--violet-soft); }
.spot-art-privacy { --stage: var(--violet-soft); }

/* The pieces a drawing is made of. Sizes are small and fixed: these are pictures of screens. */
.art-card {
  position: relative; padding: 18px; border-radius: 12px; background: var(--surface); color: var(--text);
  font-size: 13px; line-height: 1.45; box-shadow: 0 14px 34px rgb(27 45 69 / 0.16);
}
.art-card-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.art-field { display: grid; gap: 3px; margin-top: 8px; padding: 8px 10px; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line); }
.art-field span { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.art-field b { font-weight: 600; }
.art-field-select b::after { content: " ▾"; color: var(--text-muted); }
.art-button { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 6px; background: var(--action); color: var(--on-action); font-weight: 700; }
.art-chip { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 10px; border-radius: 999px; background: var(--pitch-soft); color: var(--pitch); font-weight: 700; font-size: 12px; }
.art-marker {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--surface); color: var(--navy); font-weight: 800; font-size: 12px; box-shadow: 0 0 0 2px var(--navy);
}

/* New players: the form, the email it sends, and the inbox it lands in. */
.art-form { grid-column: 1 / 5; grid-row: 1; }
.art-email { grid-column: 3 / 7; grid-row: 2; margin-top: -20px; z-index: 1; border-top: 4px solid var(--pitch); }
.art-email-subject { display: flex; gap: 6px; align-items: center; font-weight: 800; }
.art-email-subject svg { flex: none; color: var(--pitch); }
.art-email-body { margin-top: 6px; color: var(--text-muted); }
.art-inbox { grid-column: 1 / 5; grid-row: 3; margin-top: -14px; }
.art-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--action); color: var(--on-action); font-family: var(--font-body); font-size: 12px; }
.art-inbox-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.art-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--action); flex: none; }
.art-inbox-row:not(:first-of-type) .art-dot { background: var(--line); }
.art-new { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: #fde7e9; color: var(--action); font-size: 11px; font-weight: 800; }

/* Match day: the result over the side in formation. */
.art-match { grid-column: 1 / -1; padding: 0; overflow: hidden; }
.art-match-head { padding: 16px 18px; background: var(--navy); color: var(--on-navy); }
.art-match-kickoff { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.art-match-score { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px; font-family: var(--font-display); font-size: 15px; }
.art-score { display: grid; place-items: center; min-width: 46px; padding: 4px 6px; border-radius: 6px; background: var(--night); color: var(--gold); font-family: var(--font-mono); font-weight: 700; font-size: 28px; }
.art-kit { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--on-navy); flex: none; }
.art-kit-home { background: repeating-linear-gradient(var(--action) 0 4px, var(--on-navy) 4px 7px); }
.art-kit-away { background: repeating-linear-gradient(var(--navy) 0 4px, var(--gold) 4px 7px); }
.art-match-scorers { margin-top: 8px; text-align: center; color: var(--on-navy-body); }
.art-match-scorers span { font-weight: 800; color: var(--on-navy); }
.art-pitch {
  display: grid; gap: 6px; padding: 16px 12px 18px;
  background:
    linear-gradient(transparent calc(50% - 1px), rgb(255 255 255 / 0.45) calc(50% - 1px) calc(50% + 1px), transparent 0),
    repeating-linear-gradient(transparent 0 26px, rgb(0 0 0 / 0.06) 26px 52px),
    var(--pitch);
}
.art-pitch-row { display: flex; justify-content: center; gap: clamp(8px, 3vw, 26px); }
.art-pitch-row:nth-child(7) { justify-content: space-between; padding-inline: 4%; }
.art-pitch .art-marker { box-shadow: 0 0 0 2px var(--on-navy); background: var(--action); color: var(--on-action); }

/* Sponsors: logos by level, and a renewal reminder. */
.art-sponsors { grid-column: 1 / 6; }
.art-tier { margin: 12px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.art-tier-gold { margin-top: 0; color: var(--gold-ink); }
.art-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.art-logo { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 8px; background: var(--ground); font-weight: 700; min-width: 0; }
.art-logo-main { padding: 16px; font-family: var(--font-display); font-size: 17px; background: var(--gold-soft); }
.art-logo-mark { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--action); color: var(--on-action); font-family: var(--font-display); font-weight: 800; }
.art-logo-main .art-logo-mark { width: 40px; height: 40px; background: var(--navy); color: var(--gold); }
.art-logo-mark.is-green { background: var(--pitch); }
.art-logo-mark.is-violet { background: var(--violet); }
.art-logo-mark.is-navy { background: var(--navy); }
.art-toast { grid-column: 3 / 7; margin-top: -28px; display: flex; gap: 12px; align-items: center; background: var(--navy); color: var(--on-navy); z-index: 1; }
.art-toast p { display: grid; gap: 2px; }
.art-toast b { color: var(--gold); }
.art-toast-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); }

/* Languages: the admin's side-by-side fields, and the page on a phone. */
.art-admin { grid-column: 1 / -1; grid-row: 1; }
.art-admin-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.art-phone {
  grid-column: 3 / 6; grid-row: 2; margin-top: -14px; z-index: 1; display: grid; gap: 8px; justify-items: start;
  padding: 14px; border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 6px var(--navy), 0 18px 40px rgb(27 45 69 / 0.25); font-size: 13px;
}
.art-phone-switch { display: flex; padding: 3px; border-radius: 999px; background: var(--surface-tint); font-size: 11px; font-weight: 800; }
.art-phone-switch span { padding: 3px 9px; border-radius: 999px; }
.art-phone-switch .is-on { background: var(--navy); color: var(--on-navy); }
.art-phone-title { font-weight: 800; font-size: 16px; }
.art-phone-line { width: 100%; height: 7px; border-radius: 4px; background: var(--surface-tint); }
.art-phone-line.is-short { width: 65%; }
.art-phone .art-button { margin-top: 4px; }

/* Privacy: a team sheet with one player the site doesn't name, and the switch behind it. */
.art-sheet { grid-column: 1 / 6; }
.art-sheet-row, .art-sheet-names { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); justify-items: center; text-align: center; }
.art-sheet-row { padding: 14px 0 8px; border-radius: 8px; background: var(--pitch); }
.art-sheet-row .art-marker { box-shadow: 0 0 0 2px var(--on-navy); }
.art-marker.is-hidden { background: transparent; box-shadow: 0 0 0 2px rgb(255 255 255 / 0.7); outline: 2px dashed rgb(255 255 255 / 0.7); outline-offset: -2px; }
.art-sheet-names { margin-top: 6px; font-weight: 700; font-size: 12px; }
.art-sheet-names .is-hidden { color: var(--violet); }
.art-switch { grid-column: 3 / 7; margin-top: -10px; z-index: 1; border-left: 4px solid var(--violet); }
.art-switch-name { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.art-marker.is-small { width: 28px; height: 28px; font-size: 11px; }
.art-switch-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-weight: 700; }
.art-toggle { position: relative; width: 38px; height: 22px; border-radius: 999px; background: var(--line); }
.art-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / 0.2); }
.art-switch-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--text-muted); font-size: 12px; }

/* On a phone, the pieces stack instead of overlapping. */
@media (max-width: 560px) {
  .spot-art { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .spot-art > * { grid-column: 1 !important; grid-row: auto !important; margin-top: 0 !important; }
  .art-phone { justify-self: center; width: 70%; }
}
