:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    sans-serif;
  color: #173c34;
  background: #f6f5ef;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  border-bottom: 1px solid #dedfd5;
  background: #fafaf5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-decoration: none;
  color: inherit;
}
.brand b {
  display: block;
  font-size: 19px;
  letter-spacing: 3px;
}
.brand-icon {
  font-size: 52px;
  line-height: 1;
}
.local-badge,
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 700;
}
.local-badge {
  background: #e8ece3;
  padding: 9px 12px;
  border-radius: 20px;
}
main {
  max-width: 1150px;
  margin: auto;
  padding: 40px 30px 120px;
}
h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -2px;
  margin: 12px 0 14px;
  line-height: 1.08;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
}
h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
p {
  line-height: 1.6;
  color: #64736b;
  margin: 8px 0 20px;
}
.eyebrow {
  color: #7c8964;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #173f35;
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  margin: 26px 0 30px;
}
.hero-copy {
  padding: 40px;
}
.hero h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -1.5px;
}
.hero p {
  color: #c4d2c4;
  max-width: 320px;
}
.hero .eyebrow {
  color: #c8dca0;
}
.hero-art {
  position: relative;
  background: #214b3f;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-art svg {
  width: 95%;
  transform: rotate(-9deg);
  opacity: 0.9;
}
.hero-art .art-label {
  position: absolute;
  bottom: 23px;
  right: 25px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #d0dfbd;
}
.button,
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  padding: 12px 18px;
  background: #173f35;
  color: white;
  font-weight: 650;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
}
.button.light {
  background: #dbeaaf;
  color: #1a3d32;
}
.secondary {
  background: #e9ede3;
  color: #244b3c;
}
.danger {
  background: #f5e8e1;
  color: #8b3a2a;
}
.text-button {
  background: transparent;
  color: #416b48;
  padding: 6px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid #dde1d5;
  background: #fffef9;
  border-radius: 16px;
  padding: 23px;
}
.card .symbol {
  display: grid;
  place-items: center;
  background: #edf1e4;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 24px;
}
.card p {
  font-size: 14px;
}
.card a {
  color: #284e3b;
  font-weight: 700;
  text-decoration: none;
}
.section {
  margin-top: 32px;
}
.muted {
  color: #788378;
  font-size: 13px;
}
.team-picker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-picker select {
  max-width: 210px;
}
.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.field {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #265b45;
  border-radius: 20px;
  overflow: hidden;
  touch-action: none;
}
.field svg {
  width: 100%;
  height: 100%;
  display: block;
}
.marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  padding: 0;
  background: #eff1c8;
  color: #143b31;
  border: 2px solid #fff7d7;
  box-shadow: 0 4px 8px #102f3540;
  font-size: 12px;
  touch-action: none;
  cursor: grab;
}
.marker:active {
  cursor: grabbing;
  background: #ffcf80;
}
.marker:focus-visible {
  outline: 3px solid #ffb74f;
  outline-offset: 3px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 16px 0 7px;
}
input,
select,
textarea {
  font: inherit;
  border: 1px solid #ced6c8;
  border-radius: 8px;
  background: #fffefb;
  color: #193e33;
  padding: 12px;
  width: 100%;
  font-size: 16px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
select {
  width: auto;
  max-width: 100%;
}
.roster {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.roster li {
  display: grid;
  grid-template-columns: 22px 36px 1fr 32px 32px;
  gap: 7px;
  align-items: center;
  border-top: 1px solid #e7e9df;
  padding: 8px 0;
}
.roster input {
  padding: 9px;
  font-size: 14px;
  min-width: 0;
}
.roster button {
  min-height: 32px;
  padding: 4px;
  background: #edf0e7;
  color: #244535;
}
.position {
  font-size: 11px;
  font-weight: 750;
}
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}
.item h3 {
  font-size: 16px;
}
.item p {
  font-size: 13px;
  margin: 4px 0;
}
.tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #687e4b;
  display: block;
  margin-bottom: 8px;
}
.empty {
  border: 1px dashed #c9d2c0;
  border-radius: 16px;
  text-align: center;
  padding: 35px;
}
.filters {
  margin: 22px 0;
  display: flex;
  gap: 8px;
}
.filters button {
  background: #e6ebdf;
  color: #33543d;
}
.filters button.active {
  background: #173f35;
  color: white;
}
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fcfcf6f5;
  backdrop-filter: blur(12px);
  border-top: 1px solid #dce1d3;
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
  z-index: 5;
}
nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #7b8678;
  text-decoration: none;
  font-size: 11px;
  min-width: 60px;
}
nav span {
  font-size: 24px;
  line-height: 26px;
}
nav a.active {
  color: #173f35;
  font-weight: 750;
}
#notice {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: #193f35;
  color: white;
  border-radius: 10px;
  z-index: 10;
  max-width: 90%;
  box-shadow: 0 5px 25px #0002;
}
#notice:empty {
  display: none;
}
.form-card {
  max-width: 540px;
  margin-top: 25px;
}
.team-list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.hint {
  font-size: 12px;
  margin: 12px 0;
}
.board-header h1 {
  font-size: 36px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #b28427;
  outline-offset: 4px;
}
@media (max-width: 650px) {
  header {
    height: 73px;
    padding: 0 20px;
  }
  .local-badge {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
  .brand {
    font-size: 11px;
  }
  .brand b {
    font-size: 15px;
  }
  main {
    padding: 25px 18px 110px;
  }
  h1 {
    letter-spacing: -1px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-top: 23px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero-art {
    height: 160px;
  }
  .hero-art svg {
    width: 65%;
    position: absolute;
    top: -30px;
  }
  .hero-art .art-label {
    bottom: 14px;
    font-size: 9px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 20px;
  }
  .card .symbol {
    float: left;
    margin: 0 16px 15px 0;
  }
  .card p {
    margin-bottom: 10px;
  }
  .board-layout {
    grid-template-columns: 1fr;
  }
  .board-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .team-picker {
    width: 100%;
    justify-content: space-between;
  }
  .team-picker select {
    flex: 1;
    max-width: none;
  }
  nav {
    gap: 0;
    justify-content: space-around;
  }
  .item {
    flex-wrap: wrap;
  }
  .marker {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
  .section {
    margin-top: 25px;
  }
}
