@font-face {
  font-family: Inter;
  src: url("/assets/fonts/inter-latin-variable.woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Display";
  src: url("/assets/fonts/red-hat-display-latin-variable.woff2");
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --ink: #343c4b;
  --muted: #6b7280;
  --teal: #377f81;
  --accent: #377f81;
  --panel: #fff;
  --bg: #fff;
  --line: #e5e8eb;
  --purple: #88619a;
  --negative: #b45654;
  --heading:
    "Red Hat Display", Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font:
    16px/1.6 Inter,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1 {
  font-size: 48px;
  font-weight: 770;
}
h2 {
  font-size: 32px;
  font-weight: 740;
}
h3 {
  font-size: 22px;
  font-weight: 700;
}
p {
  line-height: 1.7;
  color: var(--muted);
}
a {
  color: var(--teal);
}
button,
input,
select {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:not(:disabled):active {
  transform: translateY(1px);
}
a,
button,
input,
select {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b899cd;
  outline-offset: 4px;
}
button:focus:not(:focus-visible) {
  outline: none;
}
img {
  display: block;
  max-width: 100%;
  object-fit: contain;
}
small {
  font-size: 12px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 100;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
main:focus {
  outline: 0;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid #f0f1f3;
  position: relative;
  z-index: 3;
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  padding: 0 4%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--heading);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.9px;
  white-space: nowrap;
}
.brand-light {
  font-weight: 500;
}
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  transform: rotate(-12deg);
}
.brand-mark i {
  background: #88619a;
  border-radius: 3px 8px 3px 8px;
}
.brand-mark i:nth-child(2) {
  background: #65a589;
  transform: rotate(90deg);
}
.brand-mark i:nth-child(3) {
  background: #5998ad;
  transform: rotate(90deg);
}
.brand-mark i:nth-child(4) {
  background: #d9a74e;
}
.site-header nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 28px;
  margin: auto;
}
.nav-link {
  border: 0;
  border-top: 4px solid transparent;
  padding: 0 0 4px;
  background: none;
  color: #606974;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 550;
}
.nav-link:hover {
  color: var(--teal);
}
.nav-link.selected {
  color: var(--teal);
  border-top-color: var(--teal);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.language {
  background: none;
  border: 0;
  font-size: 14px;
}
.host-btn {
  border: 1px solid #d6e2e3;
  border-radius: 30px;
  padding: 10px 18px;
  color: #397d80;
  background: #fff;
  font-size: 14px;
  white-space: nowrap;
  font-weight: 600;
}
.host-btn:hover,
.host-btn.selected {
  background: #eff7f7;
  border-color: var(--teal);
}
.page-container {
  max-width: 1230px;
  margin: auto;
  padding: 0 5%;
}
.page-container:has(> .page-head) {
  padding-top: 48px;
  padding-bottom: 75px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  min-height: 49px;
  padding: 12px 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.button:hover {
  box-shadow: 0 4px 15px #343c4b0d;
}
.primary {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.primary:hover {
  background: #377f81;
}
.outline {
  color: var(--teal);
  border-color: #c7ddde;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: var(--teal);
  padding: 5px 0;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 550;
}
.text-btn:hover {
  text-decoration: underline;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: #838a94;
  margin-bottom: 12px;
}
.page-head {
  max-width: 850px;
  margin: 0 0 38px;
}
.page-head h1 {
  font-size: 42px;
  margin: 8px 0 20px;
}
.page-head p {
  max-width: 700px;
  font-size: 17px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}
.section-head p {
  margin-top: 12px;
  font-size: 16px;
}
.section-head > .text-btn {
  white-space: nowrap;
}
.section-head > span {
  font-size: 13px;
  color: var(--muted);
}
/* Broad pale-blue panel and angular transitions follow the supplied reference. */
.gathering-hero {
  background: #eef4f7;
  position: relative;
  overflow: hidden;
  padding-top: 52px;
}
.gathering-hero:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  height: 20px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 40%,
    86% 80%,
    65% 35%,
    43% 90%,
    24% 45%,
    12% 80%,
    0 35%
  );
}
.hero-copy {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 5%;
}
.event-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: #7d8b97;
  margin-bottom: 25px;
}
.event-state {
  font-size: 11px;
  letter-spacing: 0;
  padding: 3px 11px;
  border: 1px solid #d4e0e6;
  border-radius: 20px;
  color: #63818b;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 780;
}
.hero-copy > p {
  margin: 22px auto 26px;
  font-size: 19px;
  line-height: 1.65;
  color: #626f7c;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  position: relative;
  z-index: 2;
}
.hero-actions .primary {
  background: #88619a;
  border-color: #88619a;
  min-height: 54px;
  padding: 14px 31px;
}
.hero-actions .primary:hover {
  background: #755286;
}
.people-illustration {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 1120px;
  height: 245px;
  margin: 24px auto -12px;
  padding: 0 4%;
  gap: 0;
}
.hero-person {
  height: 100%;
  width: 19%;
  flex-shrink: 0;
  position: relative;
  margin: 0 -5px;
}
.hero-person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.hero-person-1 {
  height: 90%;
  margin-right: -15px;
}
.hero-person-2 {
  height: 110%;
  z-index: 2;
}
.hero-person-3 {
  height: 96%;
  margin-left: -14px;
}
.hero-person-4 {
  height: 102%;
}
.hero-person-5 {
  height: 90%;
  margin-left: -20px;
}
.hero-ground {
  position: absolute;
  bottom: -1px;
  width: 100%;
  height: 70px;
  background: #e0ecea;
  clip-path: polygon(
    0 70%,
    13% 20%,
    34% 74%,
    53% 27%,
    74% 60%,
    90% 0,
    100% 40%,
    100% 100%,
    0 100%
  );
}
.gathering-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1080px;
  margin: auto;
  padding: 34px 5% 32px;
  border-bottom: 1px solid var(--line);
}
.gathering-stats > div {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 7px;
}
.gathering-stats strong {
  font: 750 31px/1.1 var(--heading);
  color: #506370;
}
.gathering-stats span {
  font-size: 13px;
  color: #84919a;
}
.people-section {
  padding-top: 65px;
  padding-bottom: 65px;
}
.attendee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.attendee-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid #e4e8eb;
  border-radius: 8px;
  text-align: left;
  padding: 12px 15px;
  min-height: 114px;
  overflow: hidden;
}
.attendee-card:hover {
  border-color: color-mix(in srgb, var(--family) 50%, #343c4b);
  background: color-mix(in srgb, var(--family) 3%, white);
  box-shadow: 0 3px 12px #34435506;
}
.attendee-card > img {
  height: 84px;
  width: 57px;
  flex-shrink: 0;
}
.attendee-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.attendee-details > strong {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.attendee-details > span {
  font-size: 11px;
  color: #8a8f99;
  line-height: 1.7;
}
.attendee-card > b {
  font: 700 23px/1.1 var(--heading);
  margin-left: auto;
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
  white-space: nowrap;
}
.attendee-card > b small {
  display: block;
  font:
    400 10px/1.4 Inter,
    sans-serif;
  color: #8c959e;
  margin-top: 6px;
  text-align: right;
}
.family-section {
  background: #f8fafb;
  position: relative;
  padding: 63px 0 60px;
}
.family-section:before {
  content: "";
  position: absolute;
  top: -20px;
  height: 21px;
  background: #f8fafb;
  width: 100%;
  clip-path: polygon(
    0 50%,
    17% 0,
    40% 75%,
    61% 30%,
    80% 100%,
    100% 0,
    100% 100%,
    0 100%
  );
}
.center-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 35px;
}
.center-heading p {
  margin-top: 17px;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.family-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 6px;
  text-align: center;
}
.family-card:hover .family-portraits {
  transform: translateY(-5px);
}
.family-portraits {
  height: 220px;
  display: flex;
  justify-content: center;
  transition: 0.25s;
  background: radial-gradient(
    ellipse at 50% 60%,
    color-mix(in srgb, var(--family) 12%, transparent),
    transparent 68%
  );
}
.family-portraits img {
  width: 65%;
  margin: 0 -9%;
  height: 100%;
  object-fit: contain;
}
.family-portraits img:nth-child(2) {
  transform: scale(0.93);
  transform-origin: bottom;
}
.family-card h3 {
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
  font-size: 25px;
  margin: 14px 0 9px;
}
.family-card p {
  font-size: 14px;
}
.family-card > span {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
  font-size: 13px;
  color: #79818c;
}
.family-card > span b {
  font-size: 20px;
  font-weight: 400;
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
}
.event-bottom {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  padding-top: 60px;
  padding-bottom: 70px;
}
.mini-board .section-head h2 {
  font-size: 28px;
}
.mini-person {
  display: flex;
  align-items: center;
  gap: 19px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.mini-person .rank {
  font: 650 20px var(--heading);
  color: #bec3cb;
}
.mini-person img {
  width: 45px;
  height: 66px;
}
.mini-person > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-person strong {
  font-size: 15px;
  font-weight: 600;
}
.mini-person small {
  font-size: 11px;
  color: #8b929d;
}
.mini-person > b {
  margin-left: auto;
  font: 700 25px var(--heading);
  color: var(--teal);
}
.host-callout {
  border-left: 1px solid var(--line);
  padding: 16px 0 0 45px;
  align-self: center;
}
.host-callout h2 {
  font-size: 30px;
  max-width: 350px;
}
.host-callout p {
  margin: 20px 0 18px;
  line-height: 1.8;
}
.host-callout .eyebrow {
  font-size: 11px;
}
/* Character library */
.filter-bar,
.board-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}
.filter-tabs {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #f4f6f7;
  border-radius: 8px;
  max-width: 100%;
}
.filter-tab {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.filter-tab.active {
  background: white;
  color: var(--teal);
  box-shadow: 0 1px 5px #343c4b12;
}
.type-filter {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.type-filter select {
  width: auto;
  min-height: 42px;
}
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}
.character-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid transparent;
  background: color-mix(in srgb, var(--family) 6%, white);
  border-radius: 8px;
  padding: 20px 15px 27px;
  text-align: center;
}
.character-card:hover {
  border-color: color-mix(in srgb, var(--family) 40%, white);
  transform: translateY(-4px);
  box-shadow: 0 5px 14px #34435508;
}
.character-art {
  height: 165px;
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}
.character-art img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.adult-grid .character-art {
  height: 235px;
}
.character-card > strong {
  font: 750 23px/1.25 var(--heading);
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
  margin-bottom: 8px;
}
.type-pill {
  font-size: 12px;
  letter-spacing: 0.07em;
  color: var(--family, #798391);
  font-weight: 550;
}
.character-card > small {
  font-size: 13px;
  color: #89909a;
  margin-top: 14px;
}
.credit-note {
  font-size: 12px;
  margin-top: 35px;
  line-height: 1.8;
}
.credit-note a {
  white-space: nowrap;
}
.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.team-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.team-card-hero {
  background: color-mix(in srgb, var(--family) 9%, white);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px;
}
.team-card-hero img {
  height: 170px;
  width: 130px;
}
.team-card-hero > span {
  font: 750 24px var(--heading);
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
  margin-top: 12px;
}
.team-card-body {
  padding: 25px 19px;
}
.team-card h2 {
  font-size: 22px;
}
.team-stats {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0 23px;
}
.team-stats > strong {
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
}
.member-list {
  min-height: 190px;
}
.member-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}
.member-list img {
  width: 28px;
  height: 36px;
}
.member-list small {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
}
.team-card .button {
  width: 100%;
  font-size: 13px;
  background: color-mix(in srgb, var(--family) 50%, #343c4b);
  border-color: color-mix(in srgb, var(--family) 50%, #343c4b);
  color: white;
  padding: 10px 12px;
  min-height: 43px;
}
.note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 25px 0;
}
.board-controls .button {
  font-size: 13px;
  min-height: 43px;
}
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  max-width: 740px;
  margin: 20px auto 35px;
}
.podium-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
  position: relative;
}
.podium-person img {
  width: 130px;
  height: 170px;
  margin: 0 0 10px;
}
.podium-0 img {
  width: 160px;
  height: 205px;
}
.podium-medal {
  font-family: var(--heading);
  font-size: 23px;
  color: #ac8a53;
  margin-bottom: 5px;
}
.podium-0 .podium-medal {
  font-size: 32px;
}
.podium-person > strong {
  font: 700 20px var(--heading);
  margin: 12px 0 20px;
  text-align: center;
}
.podium-step {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
  background: #e7f0f3;
  min-height: 98px;
}
.podium-0 .podium-step {
  min-height: 140px;
  background: #e2efe8;
}
.podium-2 .podium-step {
  min-height: 76px;
  background: #f4e9d6;
}
.podium-step b {
  font: 700 32px var(--heading);
}
.podium-step > span {
  font-size: 12px;
  color: var(--muted);
}
.leader-table {
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.leader-row {
  display: grid;
  grid-template-columns: 60px 1fr 130px 80px;
  align-items: center;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  padding: 14px 25px;
}
.leader-row:last-child {
  border: 0;
}
.leader-row .rank {
  font: 650 20px var(--heading);
  color: #9aa2af;
}
.table-heading {
  font-size: 11px;
  letter-spacing: 0.05em;
  background: #f7f9fa;
  color: var(--muted);
  padding-top: 18px;
  padding-bottom: 18px;
}
.leader-name {
  display: flex;
  align-items: center;
  gap: 16px;
}
.leader-name img {
  width: 40px;
  height: 56px;
}
.leader-name > span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.leader-name strong {
  font-size: 15px;
  font-weight: 600;
}
.leader-name small {
  font-size: 12px;
  font-weight: 400;
  color: #9198a3;
}
.leader-row .points {
  text-align: right;
  font: 750 25px var(--heading);
  color: var(--teal);
}
.leader-row > span:last-child {
  text-align: right;
}
.is-me {
  background: #f3f9f7;
}
.presentation .site-header,
.presentation footer {
  display: none;
}
.presentation .page-head {
  text-align: center;
  margin: 0 auto 25px;
}
.presentation .page-head p {
  margin: auto;
}
.presentation .page-container {
  max-width: 1400px;
}
.presentation .podium {
  max-width: 900px;
}
/* Host score controls */
.host-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: -7px 0 30px;
  font-size: 12px;
  color: #9298a2;
}
.host-toolbar .text-btn {
  margin-left: auto;
  font-size: 13px;
}
.session-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: #eaf4ef;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: #4d8268;
}
.session-badge:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #65a589;
  border-radius: 50%;
}
.host-layout {
  display: grid;
  grid-template-columns: 385px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 28px;
}
.panel > h2 {
  font-size: 25px;
  margin-bottom: 25px;
}
.scoring-panel {
  position: static;
}
.scoring-panel form {
  display: grid;
  gap: 20px;
}
.operation-tabs {
  display: flex;
  background: #f3f6f7;
  padding: 4px;
  border-radius: 7px;
  gap: 5px;
}
.operation {
  background: none;
  border: 0;
  border-radius: 5px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 7px;
  color: #878e99;
}
.operation.active {
  background: var(--teal);
  color: #fff;
}
.deduct-mode .operation.active {
  background: var(--negative);
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
}
input,
select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 1px solid #dce1e6;
  border-radius: 5px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}
input::placeholder {
  color: #a0a6af;
}
input:focus,
select:focus {
  border-color: var(--teal);
}
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}
.field-row {
  display: grid;
  grid-template-columns: minmax(135px, 0.85fr) minmax(0, 1fr);
  gap: 15px;
}
.recipient-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f5f9f9;
  border-radius: 6px;
  padding: 12px 16px;
}
.recipient-preview img {
  width: 54px;
  height: 74px;
}
.recipient-preview > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.recipient-preview strong {
  font-size: 16px;
  font-weight: 650;
}
.recipient-preview div > span {
  font-size: 12px;
  color: var(--muted);
}
.recipient-preview b {
  font-size: 17px;
  color: var(--teal);
  margin-left: 7px;
  font-weight: 700;
}
.direction-mark {
  font: 500 34px var(--heading);
  color: var(--teal);
  margin-left: auto;
}
.deduct-mode .direction-mark {
  color: var(--negative);
}
.deduct-mode .recipient-preview {
  background: #fcf5f4;
}
#award-points {
  font-size: 26px;
  font-family: var(--heading);
  font-weight: 700;
  padding: 9px 15px;
}
.point-presets {
  display: flex;
  gap: 7px;
  margin-top: -10px;
}
.preset {
  background: white;
  border: 1px solid #dce2e4;
  border-radius: 5px;
  padding: 7px 0;
  flex: 1;
  font-size: 13px;
  color: #747f89;
}
.preset:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #f1f8f7;
}
.submit-award {
  border-radius: 5px;
  font-size: 16px;
  justify-content: space-between;
  padding: 14px 20px;
}
.submit-award span {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.deduct-mode .submit-award {
  background: var(--negative);
  border-color: var(--negative);
}
.form-hint {
  font-size: 12px;
  line-height: 1.7;
  margin-top: -7px;
}
.host-right {
  min-width: 0;
}
.recipient-board .section-head {
  margin-bottom: 20px;
}
.recipient-board .eyebrow {
  font-size: 10px;
}
.recipient-board h2 {
  font-size: 26px;
}
.recipient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 30px;
}
.recipient-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.recipient-card:hover,
.recipient-card.selected {
  border-color: var(--teal);
  background: #f1f8f7;
}
.recipient-card img {
  width: 55px;
  height: 70px;
}
.recipient-card strong {
  font-size: 12px;
  line-height: 1.5;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-weight: 550;
  margin: 9px 0 5px;
}
.recipient-card > span {
  font: 700 22px var(--heading);
  color: var(--teal);
}
.recipient-card small {
  font:
    400 10px Inter,
    sans-serif;
  color: #929aa5;
}
.ledger {
  padding: 24px;
}
.ledger h2 {
  font-size: 24px;
}
.ledger .section-head {
  margin: 0;
}
.ledger .section-head > span {
  font-size: 12px;
}
.ledger-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.ledger-item:last-child {
  border: 0;
  padding-bottom: 0;
}
.ledger-points {
  font: 700 24px var(--heading);
  color: var(--teal);
  min-width: 53px;
}
.ledger-points.negative {
  color: var(--negative);
}
.ledger-item strong {
  font-size: 14px;
}
.ledger-item p {
  font-size: 12px;
  margin: 4px 0;
}
.ledger-item small {
  font-size: 11px;
  color: #939aa3;
}
.ledger-item > .text-btn,
.ledger-item > small {
  margin-left: auto;
  font-size: 12px;
}
.ledger-item.undone {
  opacity: 0.5;
}
.undone .ledger-points {
  text-decoration: line-through;
}
.empty {
  text-align: center;
  padding: 25px 5px;
}
.empty h3 {
  font-size: 22px;
}
.empty p {
  font-size: 14px;
  margin: 15px 0;
}
.empty .button {
  margin-top: 15px;
}
/* Onboarding and profile */
dialog {
  width: min(660px, calc(100% - 32px));
  max-height: 90dvh;
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 90px #222f3f22;
}
dialog::backdrop {
  background: #202e43a6;
  backdrop-filter: blur(6px);
}
dialog h2 {
  font-size: 32px;
  margin: 12px 0 18px;
}
dialog p {
  font-size: 15px;
}
dialog > p {
  margin: 15px 0 20px;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  border: 0;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 27px;
  color: #88909c;
  line-height: 1;
}
.modal-close:hover {
  background: #f1f3f5;
}
.join-modal {
  width: min(810px, calc(100% - 32px));
}
.join-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 28px;
}
.join-progress > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #9aa1aa;
}
.join-progress b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
}
.join-progress .current,
.join-progress .complete {
  color: var(--teal);
}
.join-progress .current b,
.join-progress .complete b {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.join-intro {
  text-align: center;
  margin-bottom: 28px;
}
.join-intro > img {
  width: 100px;
  height: 140px;
  margin: 0 auto 20px;
}
.join-intro p {
  max-width: 510px;
  margin: auto;
}
.join-intro h2 {
  font-size: 33px;
}
.join-intro .eyebrow {
  font-size: 11px;
}
#join-basics {
  display: grid;
  gap: 22px;
  max-width: 520px;
  margin: auto;
}
#join-basics .note {
  margin: 0;
}
.optional {
  font-size: 12px;
  color: var(--muted);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 27px;
}
legend {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 12px;
}
legend > span {
  font-size: 12px;
  color: #9aa2ae;
  margin-right: 8px;
}
.quiz-option {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f9fbfb;
  padding: 15px;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 400;
}
.quiz-option:has(:checked) {
  border-color: var(--teal);
  background: #eef8f6;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}
.form-actions .primary {
  margin-left: auto;
}
.result-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: color-mix(in srgb, var(--family) 9%, white);
  border-radius: 7px;
  margin-bottom: 28px;
}
.result-banner img {
  width: 90px;
  height: 125px;
}
.result-banner h2 {
  font-size: 29px;
  margin: 7px 0 12px;
}
.result-banner p {
  font-size: 14px;
}
.result-banner .eyebrow {
  color: color-mix(in srgb, var(--family) 50%, #343c4b);
  margin-bottom: 0;
}
.join-picker h3 {
  margin-bottom: 17px;
}
.join-picker .filter-tabs {
  margin-bottom: 22px;
  max-width: 100%;
  width: fit-content;
}
.join-picker .filter-tab {
  font-size: 12px;
  padding: 8px 13px;
}
.join-picker .avatar-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding: 3px 7px 8px 3px;
  margin-bottom: 25px;
}
.join-picker .character-card {
  padding: 9px 6px 14px;
}
.join-picker .character-art {
  height: 95px;
  margin-bottom: 7px;
}
.join-picker .adult-grid .character-art {
  height: 125px;
}
.join-picker .character-card strong {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.join-picker .character-card small {
  display: none;
}
.join-picker .type-pill {
  font-size: 10px;
}
.character-card.chosen {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.choice-check {
  position: absolute;
  right: 7px;
  top: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  background: var(--teal);
  color: white;
  font-size: 12px;
}
.profile-card {
  text-align: center;
}
.profile-card > img {
  width: 165px;
  height: 230px;
  margin: 0 auto 18px;
}
.profile-card > h2 {
  margin-bottom: 9px;
}
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 42px;
  margin: 30px 0;
}
.profile-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-stats strong {
  font: 750 26px var(--heading);
}
.profile-stats span {
  font-size: 13px;
  color: var(--muted);
}
.profile-card .text-btn {
  display: flex;
  margin: 15px auto 0;
  width: fit-content;
}
blockquote {
  padding: 16px;
  margin: 25px 0 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 15px;
}
.reference-item {
  display: block;
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.reference-item h3 {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  margin-bottom: 12px;
}
.reference-item p {
  font-size: 14px;
}
.reference-item:hover h3 {
  text-decoration: underline;
}
footer {
  max-width: 1280px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding: 28px 5% 32px;
  color: #969da8;
  font-size: 12px;
}
footer > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  font: 750 21px var(--heading);
  text-decoration: none;
  color: #727b8a;
}
footer .text-btn {
  font-size: 12px;
  color: #858f9c;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  border-radius: 7px;
  padding: 15px 22px;
  background: #39495a;
  color: white;
  font-size: 14px;
  box-shadow: 0 5px 25px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  z-index: 99;
}
#toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}
/* Distinct positive and negative feedback, with exact totals after animation. */
.score-feedback {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  width: 330px;
  background: white;
  border: 1px solid #cddeda;
  border-top: 4px solid var(--teal);
  border-radius: 10px;
  box-shadow: 0 14px 60px #263d4e2b;
  padding: 24px;
  overflow: hidden;
  animation: feedback-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  --score-color: var(--teal);
}
.score-feedback.deduction {
  border-top-color: var(--negative);
  --score-color: var(--negative);
  animation: deduct-in 0.4s ease-out;
}
.feedback-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--score-color);
  letter-spacing: 0.07em;
  font-weight: 650;
}
.feedback-close {
  border: 0;
  background: transparent;
  color: #9ca4ad;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.feedback-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 13px;
}
.feedback-body img {
  width: 90px;
  height: 122px;
  animation: character-rise 0.6s ease-out;
}
.deduction .feedback-body img {
  animation: none;
}
.feedback-body > div {
  flex: 1;
  min-width: 0;
}
.feedback-body strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.feedback-delta {
  font: 800 56px/1.2 var(--heading);
  color: var(--score-color);
  letter-spacing: -0.06em;
  animation: points-pop 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.deduction .feedback-delta {
  animation: points-down 0.65s ease-out;
}
.feedback-total {
  font-size: 12px;
  color: #9aa2ad;
  margin-top: 5px;
}
.feedback-total b {
  font-size: 16px;
  color: var(--ink);
  margin-left: 5px;
}
.feedback-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.feedback-sparks i {
  position: absolute;
  left: var(--x);
  bottom: 30%;
  height: 5px;
  width: 5px;
  background: var(--score-color);
  border-radius: 2px;
  opacity: 0;
  animation: spark-rise 0.95s var(--delay) ease-out;
}
.score-tick {
  color: var(--teal) !important;
  animation: score-glow 0.8s ease-out;
}
.score-tick.negative {
  color: var(--negative) !important;
}
.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 101;
  overflow: hidden;
}
.confetti i {
  position: absolute;
  left: var(--x);
  top: -20px;
  width: 7px;
  height: 12px;
  animation: confetti 2.6s var(--delay) forwards ease-out;
}
@keyframes confetti {
  to {
    transform: translateY(110vh) rotate(var(--rotation));
    opacity: 0.15;
  }
}
@keyframes feedback-in {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes deduct-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes character-rise {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes points-pop {
  0% {
    transform: scale(0.65);
    opacity: 0;
  }
  65% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes points-down {
  0% {
    transform: translateY(-15px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes spark-rise {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0);
  }
  25% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-95px) rotate(180deg);
  }
}
@keyframes score-glow {
  0%,
  100% {
    text-shadow: none;
  }
  40% {
    text-shadow: 0 0 14px #42939544;
  }
}
@media (min-width: 1500px) {
  .people-illustration {
    height: 275px;
    max-width: 1250px;
  }
  .gathering-hero {
    padding-top: 62px;
  }
  .hero-copy h1 {
    font-size: 58px;
  }
  .hero-copy > p {
    font-size: 20px;
  }
  .header-inner {
    height: 95px;
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 20px;
    padding: 0 4%;
  }
  .site-header nav {
    gap: 19px;
  }
  .nav-link {
    font-size: 13px;
  }
  .header-actions {
    gap: 14px;
  }
  .host-btn {
    font-size: 13px;
    padding: 10px 14px;
  }
  .brand {
    font-size: 22px;
  }
  .attendee-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .attendee-card {
    gap: 9px;
    padding: 10px;
  }
  .attendee-card > img {
    width: 44px;
    height: 74px;
  }
  .attendee-details > strong {
    font-size: 14px;
  }
  .attendee-details > span {
    font-size: 10px;
  }
  .attendee-card > b {
    font-size: 21px;
  }
  .family-portraits {
    height: 195px;
  }
  .host-layout {
    grid-template-columns: 345px minmax(0, 1fr);
    gap: 24px;
  }
  .scoring-panel {
    padding: 22px;
  }
  .recipient-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .event-bottom {
    gap: 45px;
  }
  .host-callout {
    padding-left: 30px;
  }
  .mini-board .section-head {
    flex-wrap: wrap;
  }
  .teams-grid {
    gap: 16px;
  }
  .team-card h2 {
    font-size: 20px;
  }
  .team-card-body {
    padding: 22px 15px;
  }
  .member-list > div {
    font-size: 12px;
  }
  .member-list small {
    font-size: 9px;
  }
  .avatar-grid {
    gap: 18px;
  }
  .adult-grid .character-art {
    height: 205px;
  }
  .character-card > strong {
    font-size: 21px;
  }
}
@media (max-width: 860px) {
  .header-inner {
    height: auto;
    padding: 19px 5% 0;
    flex-wrap: wrap;
    gap: 15px;
  }
  .brand {
    font-size: 25px;
  }
  .header-actions {
    margin-left: auto;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 30px;
    min-height: 54px;
    justify-content: center;
    overflow: auto;
  }
  .nav-link {
    border-top: 0;
    border-bottom: 3px solid transparent;
    padding: 0;
    font-size: 14px;
  }
  .nav-link.selected {
    border-bottom-color: var(--teal);
    border-top: 0;
  }
  .hero-copy h1 {
    font-size: 44px;
  }
  .gathering-hero {
    padding-top: 44px;
  }
  .people-illustration {
    height: 205px;
    margin-top: 32px;
  }
  .attendee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .attendee-card {
    padding: 12px 15px;
  }
  .attendee-card > img {
    width: 54px;
    height: 83px;
  }
  .attendee-details > span {
    font-size: 11px;
  }
  .attendee-card > b {
    font-size: 23px;
  }
  .family-grid {
    gap: 14px;
  }
  .family-portraits {
    height: 163px;
  }
  .family-card h3 {
    font-size: 22px;
  }
  .family-card p {
    font-size: 12px;
  }
  .family-card > span {
    font-size: 12px;
    gap: 10px;
  }
  .event-bottom {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .mini-person {
    gap: 12px;
  }
  .mini-person img {
    width: 35px;
    height: 57px;
  }
  .mini-person strong {
    font-size: 14px;
  }
  .mini-person small {
    font-size: 10px;
  }
  .mini-board .section-head h2 {
    font-size: 25px;
  }
  .host-callout h2 {
    font-size: 27px;
  }
  .host-callout p {
    font-size: 14px;
  }
  .host-callout {
    padding-left: 25px;
  }
  .host-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
  }
  .host-toolbar {
    flex-wrap: wrap;
    gap: 8px 13px;
  }
  .host-toolbar > span:nth-child(2) {
    order: 3;
    width: 100%;
    font-size: 11px;
  }
  .recipient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .recipient-board h2 {
    font-size: 23px;
  }
  .recipient-board .section-head > span {
    display: none;
  }
  .field-row {
    grid-template-columns: minmax(125px, 0.85fr) minmax(0, 1fr);
    gap: 10px;
  }
  .ledger {
    padding: 20px;
  }
  .ledger-item {
    gap: 10px;
  }
  .ledger-points {
    font-size: 21px;
    min-width: 43px;
  }
  .ledger-item .text-btn {
    font-size: 11px;
  }
  .ledger-item strong {
    font-size: 12px;
  }
  .ledger-item p {
    font-size: 11px;
  }
  .ledger-item small {
    font-size: 10px;
  }
  .ledger .section-head {
    flex-wrap: wrap;
    gap: 6px;
  }
  .avatar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .team-card-body {
    padding: 25px;
  }
  .team-card h2 {
    font-size: 24px;
  }
  .member-list > div {
    font-size: 14px;
  }
  .member-list small {
    font-size: 12px;
  }
  .team-card-hero img {
    height: 175px;
  }
  .team-stats {
    font-size: 14px;
  }
  .team-card .button {
    font-size: 14px;
  }
  .leader-row {
    grid-template-columns: 43px 1fr 80px 65px;
    gap: 15px;
    padding: 13px 20px;
  }
  footer {
    align-items: flex-start;
    font-size: 11px;
    gap: 18px;
  }
  footer > div {
    gap: 13px;
    flex-wrap: wrap;
  }
  .type-filter {
    font-size: 12px;
  }
  .filter-tab {
    font-size: 13px;
    padding: 9px 13px;
  }
  .page-head h1 {
    font-size: 38px;
  }
  .page-head p {
    font-size: 16px;
  }
}
@media (max-width: 650px) {
  .host-layout {
    grid-template-columns: 1fr;
  }
  .scoring-panel {
    position: static;
  }
  .recipient-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .host-right {
    margin-top: 14px;
  }
  .recipient-board .section-head > span {
    display: block;
  }
  .scoring-panel {
    padding: 27px;
  }
  .field-row {
    grid-template-columns: minmax(125px, 0.85fr) minmax(0, 1fr);
  }
  .ledger-item strong {
    font-size: 14px;
  }
  .ledger-item p {
    font-size: 13px;
  }
  .ledger-item small {
    font-size: 12px;
  }
  .ledger-points {
    font-size: 25px;
    min-width: 58px;
  }
  .ledger-item {
    gap: 16px;
  }
  .ledger .section-head {
    flex-wrap: nowrap;
  }
  .ledger-item .text-btn {
    font-size: 13px;
  }
  .event-bottom {
    grid-template-columns: 1fr;
  }
  .host-callout {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 28px 0 0;
  }
  .host-callout h2 {
    font-size: 29px;
    max-width: none;
  }
  .host-callout p {
    font-size: 16px;
  }
  .mini-board .section-head {
    flex-wrap: nowrap;
  }
  .mini-person img {
    width: 45px;
    height: 70px;
  }
  .mini-person small {
    font-size: 12px;
  }
  .mini-person strong {
    font-size: 15px;
  }
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 22px;
  }
  .family-portraits {
    height: 210px;
  }
  .family-card h3 {
    font-size: 26px;
  }
  .family-card p {
    font-size: 14px;
  }
  .family-card > span {
    font-size: 13px;
  }
  .gathering-stats {
    gap: 20px;
  }
  .gathering-stats span {
    font-size: 12px;
  }
  .avatar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .character-card > strong {
    font-size: 22px;
  }
  .filter-bar {
    flex-wrap: wrap;
    gap: 18px;
  }
  .type-filter {
    font-size: 14px;
  }
  .filter-tabs {
    width: 100%;
    justify-content: space-between;
  }
  .filter-tab {
    font-size: 14px;
  }
  .page-head h1 {
    font-size: 36px;
  }
  .page-container:has(> .page-head) {
    padding-top: 35px;
  }
  .page-head {
    margin-bottom: 29px;
  }
  footer {
    flex-direction: column;
    gap: 20px;
  }
  footer > div {
    font-size: 12px;
  }
  .score-feedback {
    width: 300px;
    bottom: 20px;
    right: 20px;
  }
}
@media (max-width: 480px) {
  h2 {
    font-size: 28px;
  }
  .header-inner {
    padding: 17px 6% 0;
    gap: 15px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    height: 27px;
    width: 27px;
  }
  .header-actions {
    gap: 12px;
  }
  .host-btn {
    font-size: 12px;
    padding: 9px 13px;
  }
  .language {
    font-size: 13px;
  }
  .site-header nav {
    gap: 23px;
    min-height: 49px;
    justify-content: flex-start;
  }
  .nav-link {
    font-size: 12px;
    flex-shrink: 0;
  }
  .gathering-hero {
    padding-top: 37px;
  }
  .hero-copy {
    padding: 0 6%;
  }
  .event-meta {
    font-size: 9px;
    gap: 10px;
    letter-spacing: 0.06em;
    margin-bottom: 23px;
  }
  .event-state {
    font-size: 9px;
    padding: 3px 8px;
  }
  .hero-copy h1 {
    font-size: 37px;
    line-height: 1.2;
    letter-spacing: -0.045em;
  }
  .hero-copy > p {
    font-size: 16px;
    margin: 18px auto 23px;
  }
  .hero-actions {
    gap: 14px;
    flex-direction: column;
  }
  .hero-actions .primary {
    font-size: 15px;
    min-height: 49px;
    padding: 12px 28px;
  }
  .hero-actions .text-btn {
    font-size: 13px;
  }
  .people-illustration {
    height: 158px;
    width: 130%;
    max-width: none;
    margin: 32px -15% -9px;
    padding: 0;
    gap: 0;
  }
  .hero-person {
    width: 20%;
  }
  .hero-person-1 {
    margin-right: -14px;
  }
  .hero-person-3 {
    margin-left: -15px;
  }
  .hero-person-5 {
    margin-left: -10px;
  }
  .hero-ground {
    height: 45px;
  }
  .gathering-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 9%;
    row-gap: 25px;
    border-bottom: 1px solid var(--line);
  }
  .gathering-stats > div {
    gap: 5px;
  }
  .gathering-stats strong {
    font-size: 27px;
  }
  .gathering-stats span {
    font-size: 12px;
  }
  .page-container {
    padding-left: 6%;
    padding-right: 6%;
  }
  .people-section {
    padding-top: 39px;
    padding-bottom: 42px;
  }
  .section-head {
    align-items: flex-start;
    gap: 17px;
    flex-wrap: wrap;
    margin-bottom: 25px;
  }
  .section-head h2 {
    font-size: 27px;
  }
  .section-head p {
    font-size: 14px;
    margin-top: 13px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  .section-head .button {
    font-size: 13px;
    padding: 10px 18px;
    min-height: 42px;
  }
  .attendee-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .attendee-card {
    padding: 10px 15px;
    min-height: 96px;
    gap: 16px;
  }
  .attendee-card > img {
    height: 72px;
    width: 54px;
  }
  .attendee-details > strong {
    font-size: 15px;
  }
  .attendee-details > span {
    font-size: 12px;
  }
  .attendee-card > b {
    font-size: 25px;
  }
  .attendee-card > b small {
    font-size: 11px;
  }
  .family-section {
    padding: 42px 0;
  }
  .center-heading h2 {
    font-size: 29px;
  }
  .center-heading p {
    font-size: 14px;
    margin-top: 17px;
  }
  .center-heading {
    margin-bottom: 23px;
  }
  .family-grid {
    gap: 30px 14px;
  }
  .family-portraits {
    height: 170px;
  }
  .family-card h3 {
    font-size: 23px;
  }
  .family-card p {
    font-size: 12px;
  }
  .family-card > span {
    font-size: 12px;
    margin-top: 13px;
  }
  .event-bottom {
    padding-top: 38px;
    padding-bottom: 40px;
    gap: 34px;
  }
  .mini-board .section-head {
    gap: 15px;
    flex-wrap: wrap;
  }
  .mini-board .section-head h2 {
    font-size: 28px;
  }
  .mini-board .text-btn {
    font-size: 13px;
  }
  .host-callout h2 {
    font-size: 29px;
  }
  .host-callout .eyebrow {
    font-size: 10px;
  }
  .host-callout p {
    font-size: 15px;
  }
  .mini-person {
    gap: 15px;
  }
  .mini-person small {
    font-size: 11px;
  }
  .page-head h1 {
    font-size: 34px;
    line-height: 1.2;
    margin: 9px 0 18px;
  }
  .page-head p {
    font-size: 15px;
  }
  .filter-bar {
    margin-bottom: 22px;
  }
  .filter-tabs {
    gap: 0;
    padding: 3px;
  }
  .filter-tab {
    font-size: 12px;
    padding: 10px 8px;
  }
  .type-filter {
    font-size: 12px;
  }
  .type-filter select {
    font-size: 13px;
  }
  .avatar-grid {
    gap: 18px 12px;
  }
  .character-card {
    padding: 12px 9px 20px;
  }
  .character-art {
    height: 120px;
    margin-bottom: 15px;
  }
  .adult-grid .character-art {
    height: 170px;
  }
  .character-card > strong {
    font-size: 19px;
  }
  .character-card small {
    font-size: 11px;
    line-height: 1.5;
    margin-top: 11px;
  }
  .type-pill {
    font-size: 11px;
  }
  .credit-note {
    font-size: 11px;
  }
  .teams-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .team-card {
    display: grid;
    grid-template-columns: 118px 1fr;
  }
  .team-card-hero {
    padding: 25px 8px;
    justify-content: flex-start;
  }
  .team-card-hero img {
    height: 152px;
    width: 104px;
  }
  .team-card-hero > span {
    font-size: 20px;
    text-align: center;
  }
  .team-card-body {
    padding: 24px 17px;
  }
  .team-card h2 {
    font-size: 22px;
  }
  .team-stats {
    font-size: 11px;
    margin: 15px 0 20px;
  }
  .member-list {
    min-height: 0;
  }
  .member-list > div {
    font-size: 12px;
    gap: 8px;
    margin-bottom: 12px;
  }
  .member-list img {
    height: 33px;
    width: 22px;
  }
  .member-list small {
    font-size: 9px;
  }
  .team-card .button {
    font-size: 12px;
    min-height: 41px;
    padding: 9px 12px;
  }
  .board-controls {
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
  }
  .board-controls .filter-tabs {
    width: auto;
  }
  .board-controls .button {
    font-size: 11px;
    min-height: 38px;
    padding: 8px 12px;
  }
  .board-controls .filter-tab {
    font-size: 12px;
    padding: 8px 10px;
  }
  .podium {
    gap: 12px;
    margin: 10px auto 25px;
  }
  .podium-person img {
    height: 115px;
    width: 88px;
  }
  .podium-0 img {
    height: 142px;
    width: 105px;
  }
  .podium-medal {
    font-size: 18px;
  }
  .podium-0 .podium-medal {
    font-size: 28px;
  }
  .podium-person > strong {
    font-size: 16px;
    margin: 5px 0 16px;
  }
  .podium-step {
    min-height: 78px;
  }
  .podium-0 .podium-step {
    min-height: 105px;
  }
  .podium-2 .podium-step {
    min-height: 62px;
  }
  .podium-step b {
    font-size: 26px;
  }
  .podium-step > span {
    font-size: 11px;
  }
  .leader-row {
    grid-template-columns: 28px 1fr 54px;
    gap: 10px;
    padding: 12px 10px;
  }
  .leader-row > :nth-child(3) {
    display: none;
  }
  .leader-name {
    gap: 9px;
  }
  .leader-name img {
    width: 28px;
    height: 44px;
  }
  .leader-name strong {
    font-size: 13px;
  }
  .leader-name small {
    font-size: 10px;
  }
  .leader-row .points {
    font-size: 23px;
  }
  .leader-row .rank {
    font-size: 16px;
  }
  .table-heading {
    font-size: 9px;
    letter-spacing: 0;
  }
  .host-toolbar {
    padding: 14px;
    gap: 10px;
  }
  .host-toolbar .text-btn {
    font-size: 12px;
  }
  .session-badge {
    font-size: 11px;
    padding: 5px 9px;
  }
  .host-toolbar > span:nth-child(2) {
    font-size: 10px;
  }
  .scoring-panel {
    padding: 23px;
  }
  .scoring-panel > h2 {
    font-size: 27px;
  }
  .operation {
    font-size: 13px;
    padding: 12px 8px;
  }
  .field-row {
    grid-template-columns: minmax(125px, 0.85fr) minmax(0, 1fr);
    gap: 12px;
  }
  .recipient-preview {
    padding: 12px 14px;
  }
  .recipient-preview img {
    width: 51px;
    height: 73px;
  }
  .recipient-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .recipient-card {
    padding: 14px 7px;
  }
  .recipient-card img {
    height: 77px;
    width: 59px;
  }
  .recipient-card strong {
    font-size: 12px;
  }
  .recipient-card > span {
    font-size: 23px;
  }
  .recipient-board .section-head {
    flex-wrap: nowrap;
  }
  .recipient-board .section-head > span {
    font-size: 12px;
  }
  .recipient-board h2 {
    font-size: 26px;
  }
  .ledger {
    padding: 23px;
  }
  .ledger h2 {
    font-size: 24px;
  }
  .ledger-item {
    gap: 13px;
  }
  .ledger-points {
    font-size: 23px;
    min-width: 49px;
  }
  .ledger-item strong {
    font-size: 13px;
  }
  .ledger-item p {
    font-size: 12px;
  }
  .ledger-item small {
    font-size: 10px;
  }
  .ledger-item .text-btn {
    font-size: 12px;
  }
  .score-feedback {
    width: calc(100% - 36px);
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }
  .feedback-body img {
    height: 102px;
    width: 76px;
  }
  .feedback-delta {
    font-size: 49px;
  }
  .feedback-body {
    margin-top: 7px;
  }
  .feedback-top {
    font-size: 10px;
  }
  dialog,
  .join-modal {
    width: calc(100% - 20px);
    max-height: 94dvh;
    padding: 36px 23px 27px;
    border-radius: 10px;
  }
  dialog h2 {
    font-size: 28px;
  }
  dialog p {
    font-size: 14px;
  }
  .join-progress {
    gap: 7px;
    padding-bottom: 20px;
  }
  .join-progress > span {
    flex-direction: column;
    align-items: flex-start;
    font-size: 10px;
    gap: 6px;
  }
  .join-progress b {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }
  .join-intro > img {
    width: 85px;
    height: 115px;
  }
  .join-intro h2 {
    font-size: 29px;
  }
  .join-intro p {
    font-size: 14px;
  }
  .join-intro .eyebrow {
    font-size: 10px;
  }
  .form-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .form-actions .button {
    font-size: 13px;
    padding: 11px 19px;
  }
  .form-actions .text-btn {
    font-size: 12px;
  }
  .result-banner {
    gap: 15px;
    padding: 17px;
  }
  .result-banner img {
    width: 66px;
    height: 105px;
    flex-shrink: 0;
  }
  .result-banner h2 {
    font-size: 24px;
  }
  .result-banner p {
    font-size: 12px;
  }
  .result-banner .eyebrow {
    font-size: 11px;
  }
  .join-picker .filter-tabs {
    width: 100%;
  }
  .join-picker .filter-tab {
    font-size: 11px;
    padding: 8px;
  }
  .join-picker .avatar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: 320px;
    gap: 9px;
  }
  .join-picker .character-art {
    height: 75px;
  }
  .join-picker .adult-grid .character-art {
    height: 104px;
  }
  .join-picker .character-card strong {
    font-size: 12px;
  }
  .join-picker .type-pill {
    font-size: 10px;
  }
  .choice-check {
    width: 18px;
    height: 18px;
    right: 4px;
    top: 5px;
    font-size: 10px;
  }
  .profile-card > img {
    height: 205px;
    width: 145px;
  }
  .profile-stats {
    gap: 28px;
  }
  .profile-stats strong {
    font-size: 23px;
  }
  .profile-stats span {
    font-size: 12px;
  }
  legend {
    font-size: 14px;
  }
  .quiz-option {
    font-size: 13px;
    padding: 14px;
  }
  .note {
    font-size: 12px;
  }
  .presentation .page-container {
    padding-top: 25px;
  }
  .presentation .page-head h1 {
    font-size: 32px;
  }
  .presentation .page-head p {
    font-size: 13px;
  }
  footer {
    padding: 23px 6%;
    font-size: 11px;
  }
  footer > div {
    font-size: 11px;
    gap: 12px;
  }
  .footer-brand {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Scoring workflow and shareable views */
.nav-link,
.host-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 15px;
}
.page-kicker .eyebrow {
  margin-bottom: 0;
}
.share-view {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  color: var(--teal);
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.share-view:hover {
  background: #f0f7f6;
  border-color: #b8d4cf;
}
.share-view svg {
  width: 17px;
  height: 17px;
}
.event-meta .share-view {
  background: transparent;
  border-color: #cedfe3;
  font-size: 11px;
  padding: 5px 9px;
}
.event-meta {
  flex-wrap: wrap;
}
.board-caption {
  margin: -12px 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.scoring-panel form {
  gap: 14px;
}
.scoring-panel > h2 {
  margin-bottom: 18px;
}
.recipient-preview {
  padding: 10px 14px;
}
.recipient-preview img {
  height: 62px;
  width: 47px;
}
.point-presets {
  margin-top: -6px;
}
.preset.active {
  background: #edf5f3;
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
  font-weight: 650;
}
.deduct-mode .preset.active {
  color: var(--negative);
  background: #fbf2f1;
  border-color: var(--negative);
  box-shadow: inset 0 0 0 1px var(--negative);
}
.score-projection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.projected-values {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 550 18px var(--heading);
  font-variant-numeric: tabular-nums;
}
.projected-values b {
  color: var(--teal);
  font-size: 23px;
  font-weight: 750;
}
.deduct-mode .projected-values b {
  color: var(--negative);
}
.score-validation {
  font-size: 12px;
  color: #994541;
  line-height: 1.5;
  margin: -6px 0 0;
}
.score-validation:empty {
  display: none;
}
.score-details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
}
.score-details summary span {
  color: var(--muted);
  font-size: 11px;
  margin-left: 5px;
  font-weight: 400;
}
.score-details-body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.submit-award .submit-label {
  font-family: Inter, "PingFang SC", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  text-align: left;
  overflow-wrap: anywhere;
}
.submit-award {
  gap: 12px;
  min-height: 52px;
}
.submit-award:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
[data-score-target] {
  font-variant-numeric: tabular-nums;
}
.presentation .page-kicker {
  justify-content: center;
}
.presentation .board-caption {
  text-align: center;
}
@media (max-width: 600px) {
  .page-kicker {
    gap: 9px;
    align-items: flex-start;
  }
  .page-kicker .eyebrow {
    font-size: 10px;
    padding-top: 7px;
  }
  .share-view {
    font-size: 11px;
    padding: 6px 9px;
  }
  .event-meta {
    justify-content: center;
    gap: 10px;
  }
  .event-meta .share-view span {
    display: none;
  }
  .event-meta .share-view {
    border: 0;
    padding: 0;
  }
  .scoring-panel {
    padding: 21px;
  }
  .board-caption {
    font-size: 12px;
    line-height: 1.6;
  }
}
