:root {
  scroll-padding-top: var(--game-header-height, 0px);
  color-scheme: light;
  --ink: #102e2d;
  --green: #086758;
  --soft: #edf6eb;
  --lime: #c5ef78;
  --line: #cfdad5;
  --muted: #526765;
  --paper: #f4f7f4;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid #25988c;
  outline-offset: 3px;
}
.wrap {
  width: min(1192px, calc(100% - 72px));
  margin-inline: auto;
}
header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #0c302e;
  color: white;
}
.mast,
.brand,
.identity,
nav,
.button,
.signin,
.teamname,
.panelhead,
.pagehead,
.formfoot,
.live,
.panelFoot,
.filters,
.detailhead .eyebrow {
  display: flex;
  align-items: center;
}
.mast {
  min-height: 80px;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  gap: 13px;
  color: #fff;
  text-decoration: none;
}
.mark {
  width: 47px;
  height: 47px;
  background: #f0f9e8;
  border: 1px solid #d3e8c0;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.brand b,
.brand small {
  display: block;
}
.brand b {
  font-size: 24px;
  line-height: 1.14;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand small {
  font-size: 11px;
  color: #c9dcd5;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.signin,
.signout {
  color: #e2efe5;
  font-size: 13px;
  background: transparent;
  border: 1px solid #4d7068;
  border-radius: 7px;
  font-weight: 650;
  text-decoration: none;
  padding: 9px 14px;
}
.signin:hover,
.signout:hover {
  background: #214941;
}
.identity {
  gap: 14px;
  font-weight: 650;
  font-size: 14px;
}
.signout {
  display: grid;
  place-items: center;
  padding: 8px;
}
.navband {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
nav {
  gap: 28px;
  min-height: 51px;
  overflow: auto;
}
nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  align-self: stretch;
  color: var(--muted);
  text-decoration: none;
  padding: 0 2px;
  font-weight: 650;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  border-top: 3px solid transparent;
}
nav a[aria-current] {
  color: var(--green);
  border-bottom-color: var(--green);
}
.game-nav.responsive {
  position: relative;
  overflow: visible;
}
.game-nav > a, .nav-overflow {
  flex: none;
}
.nav-overflow {
  margin-inline-start: auto;
  color: var(--ink);
}
.nav-overflow summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 650;
}
.nav-overflow summary::-webkit-details-marker { display: none; }
.nav-overflow summary:hover, .nav-overflow[open] summary, .nav-dropdown a:hover {
  background: var(--soft);
}
.nav-dots { letter-spacing: 2px; }
.nav-hamburger, .mobile-menu .nav-dots { display: none; }
.mobile-menu .nav-hamburger { display: inline-flex; align-items: center; gap: 8px; }
.mobile-menu .nav-overflow { margin-inline-start: 0; }
.nav-dropdown {
  position: absolute;
  inset-block-start: 100%;
  inset-inline-end: 0;
  min-width: min(220px, 100%);
  max-width: 100%;
  max-height: calc(100dvh - var(--game-header-height, 9rem) - 8px);
  overflow: auto;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px #102e2d24;
}
.mobile-menu .nav-dropdown { inset-inline: 0; }
.nav-dropdown a {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
}
.nav-dropdown a[aria-current] { background: var(--soft); }
main {
  flex: 1;
  padding: 32px 0 45px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 3.7vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.052em;
  font-weight: 650;
  overflow-wrap: anywhere;
}
h2 {
  font-size: 22px;
  font-weight: 680;
  line-height: 1.2;
  letter-spacing: -0.038em;
}
h3 {
  font-size: 15px;
  font-weight: 700;
}
p {
  line-height: 1.55;
}
.hero {
  border-radius: 15px;
  background: #103e37;
  position: relative;
  overflow: hidden;
  color: #f5faee;
  min-height: 220px;
  display: flex;
  align-items: center;
  isolation: isolate;
  border: 1px solid #103e37;
}
.hero-copy {
  padding: 36px 40px;
  position: relative;
  z-index: 2;
  max-width: 75%;
}
.live,
.eyebrow,
.mono,
.rank,
.pts,
.reportlink small,
.panelhead > .mono,
.unlockdetail b {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}
.live,
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.live {
  gap: 8px;
  color: #cdecab;
  margin-bottom: 17px;
}
.live i,
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.hero h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  letter-spacing: -0.06em;
}
.hero p {
  font-size: 15px;
  color: #d0e2d7;
  margin-top: 12px;
}
.radar {
  position: absolute;
  inset: 0 0 0 auto;
  width: 44%;
  overflow: hidden;
  z-index: 0;
  background-image:
    linear-gradient(90deg, #103e37, transparent 45%),
    linear-gradient(#8dce9620 1px, transparent 1px),
    linear-gradient(90deg, #8dce9620 1px, transparent 1px);
  background-size:
    100% 100%,
    25px 25px,
    25px 25px;
}
.scope {
  width: 255px;
  height: 255px;
  position: absolute;
  right: 17%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid #93c8a45e;
  background:
    linear-gradient(0deg, transparent 49.7%, #a6ce9c55 50%, transparent 50.4%),
    linear-gradient(90deg, transparent 49.7%, #a6ce9c55 50%, transparent 50.4%),
    repeating-radial-gradient(
      circle,
      transparent 0 24px,
      #96cda15e 25px,
      transparent 26px 41px
    ),
    conic-gradient(
      from 25deg,
      transparent 0deg,
      #8bcc7720 52deg,
      #a5e69377 53deg,
      transparent 54deg
    );
}
.scope::after,
.scope i {
  content: "";
  position: absolute;
  background: #c9f58e;
  box-shadow: 0 0 0 4px #d4f99f26;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  left: 49%;
  top: 49%;
}
.scope i:nth-child(1) {
  left: 71%;
  top: 35%;
}
.scope i:nth-child(2) {
  left: 25%;
  top: 61%;
  width: 4px;
  height: 4px;
}
.scope i:nth-child(3) {
  left: 61%;
  top: 78%;
  width: 4px;
  height: 4px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 26px;
  gap: 14px;
}
.stats > div {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 19px 21px;
}
.stats strong {
  display: block;
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
}
.stats small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 550;
}
.iconbox {
  display: inline-grid;
  place-items: center;
  background: #edf5e9;
  color: #176151;
  border: 1px solid #dbe7d4;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  flex: none;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(285px, 1fr);
  align-items: start;
  gap: 22px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  min-width: 0;
}
.panelhead {
  justify-content: space-between;
  gap: 12px;
  padding: 22px 24px;
}
.panelhead > .mono {
  font-size: 11px;
}
.scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  background: #f3f6f2;
}
th,
td {
  padding: 14px 14px;
  border-block: 1px solid #e0e7e1;
}
th:first-child,
td:first-child {
  padding-left: 24px;
}
th:last-child,
td:last-child {
  padding-right: 24px;
}
.teamname {
  gap: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.teamicon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.025em;
}
.tint0 {
  color: #32604d;
  background: #e1efde;
}
.tint1 {
  color: #3f5e72;
  background: #e0ebef;
}
.tint2 {
  color: #6a576f;
  background: #eee6f0;
}
.tint3 {
  color: #785b36;
  background: #f2eadd;
}
.rank,
.muted {
  color: var(--muted);
}
.right {
  text-align: right;
}
.mono {
  font-size: 13px;
}
.pts {
  color: var(--green);
  font-weight: 700;
}
.pts small {
  color: var(--muted);
  font-size: 10px;
}
.panelFoot {
  padding: 15px 24px;
  color: var(--muted);
  font-size: 12px;
  gap: 8px;
}
.dot {
  background: #5d8d68;
  width: 6px;
  height: 6px;
}
.access,
.formpanel {
  padding: 24px;
}
.access h2 {
  margin: 17px 0 8px;
}
#access {
  scroll-margin-top: .75rem;
}
#access.highlight-signin {
  border-color: var(--green);
  background-color: var(--soft);
  box-shadow: 0 0 0 3px var(--green);
}
@media (prefers-reduced-motion: no-preference) {
  #access {
    transition: background-color 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
  }
}
.access p,
.formpanel > p,
.empty p,
.hint,
.pagehead p,
.detailhead p {
  color: var(--muted);
  font-size: 14px;
}
.access form,
.access > .button {
  margin-top: 20px;
}
.access button {
  width: 100%;
  justify-content: space-between;
}
.button {
  background: var(--green);
  color: white;
  text-decoration: none;
  border: 1px solid var(--green);
  border-radius: 7px;
  padding: 11px 16px;
  font-weight: 650;
  gap: 9px;
  font-size: 14px;
  justify-content: center;
}
.button:hover {
  background: #075546;
}
.access > .button {
  width: fit-content;
}
label {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 16px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #b6c7bf;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 450;
  font-size: 15px;
  margin-top: 6px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input::placeholder,
textarea::placeholder {
  color: #667871;
}
label small,
.hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
}
.error {
  color: #8b2e30 !important;
  margin: 8px 0;
}
input[aria-invalid="true"] {
  border-color: #8b2e30;
}
#username-error {
  margin: 0;
  color: #8b2e30;
  font-size: 13px;
}
#username-error:not(:empty) {
  margin: -10px 0 16px;
}
.pagehead {
  justify-content: space-between;
  gap: 15px;
  margin: 8px 0 25px;
}
.pagehead p,
.detailhead p {
  margin-top: 9px;
}
.formpanel {
  max-width: 840px;
}
.report-images { display: flex; flex-wrap: wrap; gap: .75rem; }
.report-images img { display: block; width: 9rem; height: 6rem; object-fit: contain; border: 1px solid var(--line); }
.quality-review { margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); }
.quality-review output { font-weight: 650; }
.crumbs { display: flex; align-items: center; gap: .45rem; min-height: 0; margin-bottom: .65rem; color: var(--muted); font-size: .8rem; }
.crumbs a { padding: 0; border: 0; font-size: inherit; text-decoration: underline; }
.edit-report, .regrade-request { margin-top: 1rem; }
.edit-report summary { cursor: pointer; font-weight: 650; }
.edit-report form { margin-top: 1rem; }
.regrade-request .hint { margin-top: .5rem; }
.handbook-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.handbook > section + section { border-top: 1px solid var(--line); padding-top: 1.75rem; }
.handbook h3 { margin-bottom: .5rem; }
.handbook section + section { margin-top: 1.75rem; }
.handbook section p + p { margin-top: .65rem; }
.formpanel > .button,
.formpanel form > .button {
  margin-top: 12px;
}
.formpanel h2 {
  margin-bottom: 16px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.formfoot {
  justify-content: flex-end;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 14px;
}
.filters {
  gap: 6px;
  flex-wrap: wrap;
  padding: 15px 20px;
}
.filters a {
  padding: 7px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  color: var(--muted);
}
.filters a[aria-current] {
  color: #155a48;
  background: #e6f0e2;
  font-weight: 650;
}
.empty {
  padding: 38px 24px;
  text-align: center;
}
.empty h2 {
  font-size: 20px;
  margin: 12px 0 5px;
}
.reportlink {
  display: block;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.reportlink:hover {
  text-decoration: underline;
}
.reportlink small {
  display: block;
  color: var(--green);
  font-size: 10px;
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}
.badge {
  display: inline-block;
  border-radius: 5px;
  padding: 4px 8px;
  background: #e8eeef;
  color: #395861;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.status-accepted {
  color: #205c3a;
  background: #ddf1dd;
}
.status-needs {
  color: #725121;
  background: #faf0cc;
}
.status-rejected {
  color: #813f45;
  background: #f6e3e3;
}
.back {
  display: inline-block;
  margin: 0 0 20px;
  font-size: 13px;
  text-decoration: none;
}
.detailhead {
  margin-bottom: 22px;
}
.eyebrow {
  color: var(--green);
  margin-bottom: 8px;
}
.detailhead h1 {
  font-size: clamp(28px, 3.5vw, 44px);
}
.compact {
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
}
.compact h2 {
  margin: 0;
}
.field {
  margin-top: 18px;
}
.field p,
.unlockdetail p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  color: #425b53;
  margin-top: 5px;
}
.columns .formpanel + .formpanel,
.gridpanel + .gridpanel {
  margin-top: 18px;
}
.award {
  font-size: 28px;
  display: block;
  color: var(--green);
  margin: 10px 0;
}
.hint {
  margin: -8px 0 15px;
}
.gridpanel > .inset {
  padding: 0 24px 22px;
  font-size: 14px;
}
.tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 24px 24px;
}
.tile-pair { display: inline-flex; gap: inherit; }
.tile {
  position: relative;
  width: 37px;
  height: 37px;
  background: #edf2eb;
  color: #728177;
  border: 1px solid #d7e1d5;
  border-radius: 5px;
  display: grid;
  place-items: center;
}
.tile svg {
  width: 14px;
  height: 14px;
}
.unlocked {
  background: #176652;
  color: white;
}
.finder-badge {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #d7eee5;
  color: #155744;
  font-weight: 700;
}
.report-author { display: flex; align-items: center; gap: .55rem; }
.report-author .finder-badge { width: 2rem; flex: none; }
.finder-badge img { width: 100%; height: 100%; object-fit: cover; }
.tile .finder-badge {
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 18px;
  border: 2px solid white;
  font-size: 10px;
  line-height: 1;
}
.tile .finder-badge + .finder-badge { right: 9px; z-index: 1; }
.finding-id {
  display: inline-block;
  vertical-align: .08em;
  padding: .12em .45em;
  border: 1px solid #bfd4c9;
  border-radius: .35em;
  background: #edf4ef;
  color: #295844;
  font: 600 .8em/1.35 ui-monospace, monospace;
}
.finding-tooltip {
  position: fixed;
  z-index: 100;
  pointer-events: none;
  width: max-content;
  max-width: calc(100vw - 16px);
  padding: 5px 9px;
  border-radius: 5px;
  background: #193c32;
  color: white;
  font-size: .82rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.unlockdetail {
  padding: 15px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 4px;
  column-gap: 12px;
  align-items: baseline;
}
.discovery-line { display: flex; align-items: center; gap: .45em; overflow-wrap: anywhere; }
.discovery-line .finder-badge { width: 1.4em; flex: none; font-size: .95em; }
.team-report {
  position: relative;
  grid-column: 1 / -1;
  margin-top: .5rem;
  --report-indent: clamp(1.5rem, 3vw, 2rem);
  padding-inline-start: var(--report-indent);
}
.team-report::before {
  content: "";
  position: absolute;
  inset-inline-start: .35rem;
  top: -.5rem;
  width: calc(var(--report-indent) - .75rem);
  height: 1.15rem;
  border-inline-start: 1px solid #c8d5cf;
  border-bottom: 1px solid #c8d5cf;
}
.team-report h3 { margin: 0 0 .35rem; font-size: .85rem; color: #425b53; }
.team-report a { display: inline-flex; align-items: baseline; gap: 1ch; min-width: 0; text-decoration: none; }
.team-report .finding-id { flex: none; }
.team-report .report-title { text-decoration: underline; overflow-wrap: anywhere; }
.unlockdetail p { grid-column: 1 / -1; }
.unlockdetail b { font-size: 13px; white-space: nowrap; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 0 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 5px;
  background: white;
  z-index: 4;
  padding: 10px;
}
.skip:focus {
  left: 5px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  main {
    padding-top: 20px;
  }
  .mast {
    min-height: 68px;
  }
  .columns {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 190px;
  }
  .hero-copy {
    padding: 25px;
    max-width: 82%;
  }
  .hero p {
    max-width: 340px;
  }
  .radar {
    opacity: 0.52;
    width: 36%;
  }
  .scope {
    right: -100px;
  }
  .stats {
    gap: 8px;
    margin: 12px 0 18px;
  }
  .stats > div {
    padding: 12px;
    gap: 7px;
    align-items: start;
    flex-direction: column;
  }
  .stats .iconbox {
    height: 28px;
    width: 28px;
    border-radius: 7px;
  }
  .stats .iconbox svg {
    width: 15px;
  }
  .stats small {
    font-size: 11px;
  }
  .stats strong {
    font-size: 23px;
  }
  .pagehead {
    align-items: start;
    flex-direction: column;
  }
  .panelhead,
  .access,
  .formpanel {
    padding: 18px;
  }
  nav {
    gap: 16px;
  }
  nav a {
    font-size: 12px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  th,
  td {
    padding: 10px 8px;
  }
  th:first-child,
  td:first-child {
    padding-left: 12px;
  }
  th:last-child,
  td:last-child {
    padding-right: 12px;
  }
  .identity {
    font-size: 12px;
  }
  .teamicon {
    width: 25px;
    height: 25px;
  }
  .teamname {
    gap: 6px;
  }
}
@media (max-width: 390px) {
  .teamicon {
    display: none;
  }
  .scope {
    right: -135px;
  }
  .hero-copy {
    max-width: 95%;
  }
  .signin {
    padding: 7px 9px;
  }
  .brand {
    gap: 8px;
  }
  nav {
    gap: 12px;
  }
}
.suggestions {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
.suggestions legend {
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 5px;
}
.suggestions button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 8px;
  width: 100%;
  border: 1px solid #d5e4d7;
  background: #f1f7ef;
  color: #165e46;
  border-radius: 5px;
  padding: 8px 10px;
  margin-top: 5px;
  font-size: 13px;
}
.suggestions small {
  white-space: nowrap;
}

.signin-links {
  margin: 16px 0;
  font-size: 14px;
}
.signin-choices {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.signin-choices .button {
  min-height: 46px;
  justify-content: space-between;
}
.signin-choices summary.button {
  background: white;
  border-color: var(--line);
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.signin-choices summary:hover {
  background: var(--paper);
}
.signin-choices summary::-webkit-details-marker {
  display: none;
}
.signin-choices summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline: 5px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.signin-choices details[open] > summary::after {
  transform: rotate(225deg);
}
.staff-list {
  list-style: none;
  padding: 0;
}
.staff-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.staff-list summary,
.eye {
  color: var(--green);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.staff-list summary svg,
.eye svg {
  vertical-align: middle;
}
.staff-list details form {
  margin-top: 12px;
}
.team-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 16px;
  margin-top: 16px;
}
.team-panels .formpanel form {
  margin-top: 14px;
}
.key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 18px;
  font-size: 13px;
}
.key-row form {
  margin: 0 !important;
}
.eye {
  background: transparent;
  border: 0;
  padding: 5px;
}
.player-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.player-card h2 {
  margin: 0;
}
.player-avatar,
.avatar-initial {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.avatar-initial {
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--green);
  font-weight: bold;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkline input {
  width: auto;
  margin: 0;
}
.mast-settings-link { display: block; color: inherit; text-decoration: none; border-radius: 4px; }
.mast-settings-link:hover strong, .mast-settings-link:focus-visible strong { text-decoration: underline; text-underline-offset: .15em; }
.round-controls select { margin: 0; min-height: 44px; max-width: 100%; }
.round-controls.tracker-setting input { width: min(30rem, 100%); }
.tracker-setting label { flex: 1 1 18rem; min-width: 0; }
.key-row [data-key-value] { font-family: var(--mono, monospace); overflow-wrap: anywhere; }
.key-row [data-key-error]:empty { display: none; }
.profile-photo {
  margin-top: 18px;
}

.report-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
  max-width: 100%;
  font-size: 14px;
}
.report-share span {
  font-weight: 650;
}
.report-share a {
  grid-row: 2;
  overflow-wrap: anywhere;
}
.report-share button {
  grid-column: 2;
  grid-row: 1 / 3;
}
.report-share small {
  grid-column: 1 / -1;
}
[data-share] [hidden] {
  display: none;
}
.report-preview {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.player-actions,
.preview-notice .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.preview-notice {
  background: #eff4df;
  color: #304c30;
  border-bottom: 1px solid #d2debb;
  font-size: 13px;
}
.preview-notice .wrap {
  justify-content: space-between;
  padding-block: 7px;
}
.sandbox-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.sandbox-address {
  display: grid;
  gap: 4px;
  flex: 1 1 14rem;
  min-width: 0;
  overflow-wrap: anywhere;
}
.sandbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sandbox-actions .button {
  width: auto;
  padding-inline: 12px;
  line-height: 1.4;
  justify-content: center;
}
.sandbox-share small:not(:empty) {
  flex-basis: 100%;
}

.mast-status { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.sandbox-indicator { display: inline-flex; align-items: center; gap: .6em; }
.sandbox-indicator i {
  flex: none; width: 1em; aspect-ratio: 1; border-radius: 50%;
  background: #e85c54; border: 2px solid #99352e; box-shadow: 0 0 0 3px #e85c5426;
}
.sandbox-indicator[data-sandbox-state="ON"] i {
  background: #51d58c; border-color: #20734b; box-shadow: 0 0 0 3px #51d58c26;
}
.sandbox-indicator small { display: block; font-size: .73rem; font-weight: 650; }
.sandbox-indicator strong { display: block; line-height: 1.1; }
.round-clock { display: grid; justify-items: end; gap: 2px; }
.round-clock > span, .aud-hero p { font-size: .73rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.round-clock strong, .aud-count, .aud-points, .aud-rank { font-variant-numeric: tabular-nums; }
.round-clock strong { font-size: 1.45rem; line-height: 1; }
.round-clock small { font-size: .7rem; }
.round-controls { margin-top: 20px; padding: 22px 24px; }
.round-controls form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 15px 0 8px; }
.round-controls label { display: grid; gap: 5px; margin: 0; font-size: .875rem; }
.round-controls form:has(label) :is(input, .button) { min-height: 44px; }
.round-controls input { width: 10rem; margin: 0; }
[data-event-name] { overflow-wrap: anywhere; }
.round-controls input[name="name"] { width: min(28rem, 100%); }
@media (max-width: 600px) {
  .round-controls form:has(label) { display: grid; grid-auto-columns: minmax(0, 1fr); }
  .round-controls [data-start-round] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .round-controls label input { width: 100%; }
  .round-controls form:has(label) .button { grid-column: 1 / -1; }
}
.sandbox-controls .sandbox-indicator { font-size: 2.25rem; gap: .4em; }
.sandbox-controls form { align-items: center; gap: 1.5rem; }
.round-controls p { color: var(--muted); font-size: .875rem; }
.button:disabled { opacity: .6; cursor: default; }
.closed-notice { margin-top: 16px; font-weight: 650; }

body.audience { background: #edf2f8; color: #122e50; }
.audience main { width: min(94%, 1500px); padding-block: clamp(16px, 3vh, 36px); }
.presenting > header { display: none; }
.aud-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 3vw, 48px); border-radius: 16px; background: #102f55; color: #fff; }
.aud-hero p, .aud-hero .round-clock > span { color: #c5dcfa; }
.aud-hero h1 { margin-top: 6px; font-size: clamp(2rem, 3.8vw, 4rem); }
.aud-hero .round-clock { flex-shrink: 0; margin: 0; gap: 8px; }
.aud-hero .round-clock strong { font-size: clamp(2.4rem, 6.5vw, 7rem); letter-spacing: -.045em; }
.aud-panel { margin-top: 18px; border: 1px solid #c6d3e2; border-radius: 14px; background: #fff; overflow: hidden; }
.aud-table thead th { background: #e2ebf5; color: #334e6b; }
.aud-table tbody th { background: transparent; letter-spacing: normal; text-transform: none; font-weight: 650;
  font-size: clamp(1.05rem, 2.2vw, 2rem); color: #17385c; overflow-wrap: anywhere; }
.aud-table :is(th,td) { border-color: #dce5ef; padding: clamp(10px, 1.5vw, 22px); }
.aud-table th:last-child, .aud-points { text-align: right; }
.aud-rank { width: 6%; color: #4a627d; font-weight: 600; }
.aud-table tbody th { width: 40%; }
.aud-points { font-size: clamp(1.3rem, 3vw, 3rem); color: #154e92; font-weight: 730; line-height: 1; }
.aud-findings { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.aud-blocks { display: grid; grid-template-columns: repeat(8, auto); gap: 3px; }
.aud-blocks i, .aud-legend i { width: clamp(8px, 1vw, 16px); aspect-ratio: 1; border-radius: 2px;
  background: transparent; border: 1px solid #9aadc1; display: inline-block; }
:is(.aud-blocks, .aud-legend) i.found { background: #19589f; border-color: #164c89; }
:is(.aud-blocks, .aud-legend) i.bonus { background: #69b5e9; border-color: #3982b7; }
.team-findings { margin-block: 16px; }
.team-findings h2 { margin: 0 0 8px; font-size: 1rem; }
.team-findings .aud-blocks i { width: 11px; background: #edf2eb; border-color: #bccbc1; }
.team-findings .aud-blocks i.found { background: #176652; border-color: #145844; }
.team-findings .aud-blocks i.bonus { background: #69a98c; border-color: #487f66; }
.team-findings .aud-count { color: #425b53; }
.aud-count { color: #425f7b; font-size: clamp(.85rem, 1.3vw, 1.25rem); }
.aud-legend, .aud-legend span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.aud-legend { padding: 12px 20px; gap: 14px; color: #415b75; font-size: .82rem; }
.audience footer a { color: #204e7e; }
.aud-empty { text-align: center; }
@media (max-width: 700px) {
  .mast { flex-wrap: wrap; padding-block: 8px; gap: 8px; }
  .round-clock { margin-right: 0; }
  .aud-hero { flex-wrap: wrap; }
  .aud-hero .round-clock { justify-items: start; }
  .aud-table :is(th,td) { padding: 10px 6px; }
  .aud-blocks { gap: 2px; }
}
@media (min-width: 701px) {
  .presenting:has(.aud-table tbody tr:nth-child(6)) main {
    padding-block: 2vh;
  }
  .presenting:has(.aud-table tbody tr:nth-child(6)) .aud-hero {
    padding-block: clamp(14px, 2.4vh, 30px);
  }
  .presenting:has(.aud-table tbody tr:nth-child(6)) .aud-table :is(th,td) {
    padding-block: clamp(5px, 1vh, 13px);
  }
  .presenting:has(.aud-table tbody tr:nth-child(10)) .aud-points {
    font-size: clamp(1.3rem, 3.8vh, 2.4rem);
  }
  .presenting:has(.aud-table tbody tr:nth-child(10)) .aud-table tbody th {
    font-size: clamp(1.05rem, 3.1vh, 1.8rem);
  }
}

.header-profile { display: inline-flex; align-items: center; gap: .5rem; color: inherit; }
.header-profile img { border-radius: 50%; }

.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.catalog-entry, .edit-diff { border-top: 1px solid var(--line); padding: .65rem 0; }
.catalog-entry summary, .edit-diff summary, .clock-actions summary, .formpanel > summary { cursor: pointer; font-weight: 600; }
.clock-actions { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem; }
.formpanel [data-draft-status] { display: block; color: var(--muted); margin: .5rem 0; }
[data-round-dialog] { max-width: min(30rem, 90vw); border: 1px solid var(--line); border-radius: .75rem; padding: 1.5rem; }
[data-round-dialog]::backdrop { background: rgb(18 36 58 / .5); }
.aud-table tbody th { width: auto; }
.aud-panel { overflow-x: auto; }

.catalog-row { display: inline-flex; width: calc(100% - 1.65rem); vertical-align: middle; align-items: center; justify-content: space-between; gap: .75rem; }
.catalog-gallery { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.catalog-photo { display: inline-flex; align-items: center; vertical-align: middle; }
.catalog-photo img { width: 30px; height: 22px; object-fit: cover; background: #f3f6fa; border: 1px solid #aebaca; border-radius: 3px; transition: width 180ms ease, height 180ms ease; }
.catalog-entry[open] > summary .catalog-photo img, .catalog-compare .catalog-photo img { width: clamp(70px,12vw,160px); height: clamp(50px,8vw,100px); object-fit: contain; }
.catalog-entry { scroll-margin-top: 9rem; }
.catalog-editor { padding: .5rem 1rem; background: #f4f7fb; }
.catalog-transfer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; }
.catalog-transfer summary { cursor: pointer; }
.catalog-compare td { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .catalog-entry[open] .catalog-row { flex-direction: column; align-items: flex-start; }
  .catalog-gallery { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .catalog-photo img { transition: none; } }

.review .field-error:not(:empty) { color: #962e2e; margin: .4rem 0 .75rem; }
.review input[aria-invalid="true"] { border-color: #b43232; }

form:not(:has([name="is_referee"]:checked)) #referee-registration-key,
form:has([name="is_referee"]:checked) .registration-team { display: none; }

.catalog-caption { display: grid; gap: .3rem; overflow-wrap: anywhere; }
.catalog-caption .finding-id { margin-inline-end: .4em; }
.catalog-caption small { color: var(--muted); font-weight: 450; }

@media (min-width: 761px) { .referee-panels.columns .formpanel + .formpanel { margin-top: 0; } }
.sandbox-menu { position: relative; flex: none; }
.sandbox-menu > summary { display: flex; align-items: center; gap: .4rem; cursor: pointer; padding: .6rem; color: var(--muted); font-size: 14px; font-weight: 650; }
.sandbox-menu summary::after { content: "▾"; }
.game-nav a[href="/sandbox/launch"]::after,
.game-nav .sandbox-options a::after { content: " ↗" / ""; }
.sandbox-options { position: absolute; z-index: 4; left: 0; min-width: 12rem; max-height: 55vh; overflow-y: auto; padding: .4rem; background: var(--surface, white); border: 1px solid var(--line); border-radius: .4rem; box-shadow: 0 4px 16px #18372a22; }
.sandbox-options a { display: block; padding: .55rem; }
.sandbox-options hr { border: 0; border-top: 1px solid var(--line); }
.nav-dropdown .sandbox-options { position: static; box-shadow: none; border: 0; }
.sandbox-choices,.roster-members li { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.sandbox-choices { margin-top: .75rem; }
.roster-members { padding: 0; margin: .7rem 0 1rem; list-style: none; }
.roster-members li { cursor: grab; padding: .3rem 0; }
.roster-members .player-avatar,.roster-members .avatar-initial { width: 2rem; height: 2rem; }
[data-drop-team].drop-ready { outline: 3px solid var(--green); }
#move-player-dialog { margin: auto; max-width: min(28rem, 95vw); padding: 1.4rem; border: 1px solid var(--line); border-radius: .7rem; }
#move-player-dialog::backdrop { background: #10251c70; }

.member-grip { color: var(--muted); font-size: 1.15rem; user-select: none; }

.feedback-score, .feedback-identity { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.feedback-form legend { font-weight: 650; padding: 0; margin-bottom: .65rem; }
.feedback-score legend small { font-size: .78rem; color: var(--muted); font-weight: 450; }
.feedback-steps {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
  user-select: none;
}
.feedback-steps::before {
  content: "";
  position: absolute;
  inset-inline: calc(50% / 11);
  top: 15px;
  height: 2px;
  background: #bacbc2;
  z-index: -1;
}
.feedback-steps label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  margin: 0;
  padding: 8px 0;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.feedback-steps input, .feedback-identity input[type="radio"] {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
.feedback-steps label:has(:checked) { color: var(--green); font-weight: 750; }
#feedback-scale { display: flex; justify-content: space-between; gap: .5rem; color: var(--muted); font-size: .8rem; }
.feedback-identity label {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  border: 1px solid var(--line);
  padding: .8rem 1rem;
  border-radius: .5rem;
  margin: 0 0 .45rem;
  cursor: pointer;
}
.feedback-identity label:has(:checked) { border-color: var(--green); background: var(--soft); }
.feedback-identity input[type="radio"] { align-self: center; flex: none; }
.feedback-identity .feedback-author { display: flex; margin-top: .35rem; }
.feedback-identity small { display: block; margin-top: .25rem; }
.stats.feedback-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.feedback-author { display: inline-flex; gap: .5rem; align-items: center; overflow-wrap: anywhere; }
.feedback-author .player-avatar, .feedback-author .avatar-initial { width: 1.75rem; height: 1.75rem; flex: none; }
.feedback-table td { padding-block: .5rem; }
.feedback-answers dt { font-weight: 650; margin-top: 1rem; }
.feedback-answers dd { margin: .3rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.feedback-hero h1 { font-size: clamp(32px, 4vw, 56px); overflow-wrap: anywhere; }
.feedback-hero .button { display: inline-flex; margin-top: 1.15rem; background: #d7edb5; border-color: #d7edb5; color: #153a30; }
.feedback-hero .button:hover { background: white; }
.feedback-ticker { background: #e6f2d8; border-bottom: 1px solid #bbd2ae; color: #183e31; }
.feedback-ticker .wrap { padding-block: .6rem; font-size: .9rem; overflow-wrap: anywhere; }
.feedback-ticker a { font-weight: 700; color: inherit; text-underline-offset: .15em; }
.announcement-options, .announcement-previews { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.announcement-options { gap: 1.5rem; margin-top: 1rem; }
.announcement-options form, .announcement-previews figure { margin: 0; }
.announcement-switch {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .35rem; background: transparent; color: var(--ink); border: 0; border-radius: .4rem;
}
.switch-track { display: flex; align-items: center; padding: 3px; width: 44px; height: 26px; border-radius: 20px; background: #62726e; }
.switch-track::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: white; }
.announcement-switch[aria-checked="true"] .switch-track { background: var(--green); justify-content: flex-end; }
.announcement-previews img { display: block; width: 160px; max-width: 100%; height: auto; border-radius: 5px; border: 1px solid var(--line); }
.announcement-previews figcaption { margin-top: .3rem; font-size: .78rem; color: var(--muted); }

.feedback-participation { border: 0; padding: 0; margin: 0 0 1.5rem; }
.feedback-participation .checkline { margin-bottom: .5rem; }
.feedback-score:disabled .feedback-steps, .feedback-score:disabled #feedback-scale { opacity: .55; }
.feedback-score:disabled .feedback-steps label, .feedback-score:disabled input { cursor: default; }
#score-disabled-reason { margin: .6rem 0 0; font-size: .9rem; }
.feedback-identity:has([value="anonymous"]:checked) .guest-name-field { display: none; }
.feedback-identity .guest-name-field label { border: 0; padding: 0; cursor: auto; }
