:root {
  --paper: #f9f9f5;
  --ink: #202328;
  --muted: #535b61;
  --blue: #304ce5;
  --bluedark: #243cbd;
  --lime: #d6fa53;
  --line: #daddd5;
  --mono: 'Courier New', monospace;
  color-scheme: light;
  font-family: Inter, Arial, 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #5f72ee;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1216px, calc(100% - clamp(44px, 9.5vw, 152px)));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 8px;
  top: -140px;
  background: white;
  z-index: 9;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
i[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
svg {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.navrow {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #20232c;
}
.brand img {
  height: 43px;
  width: 43px;
}
.brand span {
  display: grid;
  gap: 4px;
}
.brand b {
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.085em;
}
.brand small {
  font: 700 0.68rem/1 var(--mono);
  letter-spacing: 0.105em;
  color: #4a4c53;
}
nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.8vw, 40px);
}
.navlink,
.adminlink,
.link-btn {
  font-size: 0.94rem;
  text-decoration: none;
  color: #42474e;
}
.navlink.current {
  color: var(--blue);
  font-weight: 650;
}
.navlink:hover,
.link-btn:hover {
  color: var(--blue);
}
.adminlink,
.outline,
.iconbtn {
  border: 1px solid #c7cbc5;
  background: transparent;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.adminlink {
  padding: 11px 17px;
  font-weight: 600;
  color: var(--ink);
}
.adminlink:hover,
.outline:hover,
.iconbtn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f3f4ff;
}
.adminlink svg {
  width: 16px;
  height: 16px;
}
.hero {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: clamp(36px, 5.5vw, 84px);
  align-items: center;
  padding-block: clamp(45px, 4.4vw, 72px) clamp(46px, 4.8vw, 76px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 0.77rem/1.3 var(--mono);
  letter-spacing: 0.09em;
  color: var(--blue);
}
.asterisk {
  font-family: Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 0.8;
}
.hero h1 {
  font-size: clamp(4.65rem, 6.55vw, 6.45rem);
  line-height: 0.97;
  font-weight: 800;
  letter-spacing: -0.07em;
  margin: 23px 0 23px;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 1%;
  right: 2%;
  bottom: -4px;
  height: 7px;
  border-top: 4px solid #c1e747;
  border-radius: 50%;
  transform: rotate(-2deg);
}
.lead {
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.52;
  color: #535961;
  max-width: 380px;
  margin: 0;
}
.hero-action {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn,
.outline,
.subtle {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border-radius: 9px;
  font-weight: 650;
  text-decoration: none;
}
.btn {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
}
.btn:hover {
  background: var(--bluedark);
}
.mainbtn {
  min-height: 53px;
  box-shadow: 0 3px 0 #2339ae;
  padding: 14px 23px;
}
.mainbtn svg {
  height: 17px;
  width: 17px;
}
.time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.91rem;
  white-space: nowrap;
}
.time svg {
  width: 17px;
}
.artboard {
  min-width: 0;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.365;
  background-color: #edf0e9;
  background-image:
    linear-gradient(#d5dbd3 1px, transparent 1px),
    linear-gradient(90deg, #d5dbd3 1px, transparent 1px);
  background-size: 22px 22px;
  border: 1px solid #d3dad0;
  border-radius: 15px;
  overflow: hidden;
}
.poster {
  position: relative;
  width: 83%;
  padding: 9px 9px 0;
  background: #fcfcf6;
  border: 1px solid #74796f;
  transform: rotate(-4deg);
  box-shadow: 5px 6px 0 #28301c25;
}
.city {
  display: block;
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  object-position: 50% 51%;
  border: 1px solid #bec4b9;
}
.tape {
  position: absolute;
  top: -11px;
  left: 39%;
  height: 26px;
  width: 25%;
  background: #d2f954e8;
  z-index: 1;
  transform: rotate(3deg);
  clip-path: polygon(
    1% 0,
    100% 0,
    98% 16%,
    100% 31%,
    98% 50%,
    100% 72%,
    99% 91%,
    100% 100%,
    0 100%,
    2% 83%,
    0 63%,
    2% 43%,
    0 26%
  );
}
.poster-caption {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}
.poster-caption > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 700 clamp(0.7rem, 1vw, 0.85rem) / 1 var(--mono);
  letter-spacing: 0.09em;
}
.poster-caption svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}
.barcode {
  display: block;
  height: 17px;
  width: 57px;
  background: repeating-linear-gradient(
    90deg,
    #222735 0 2px,
    transparent 2px 4px,
    #222735 4px 5px,
    transparent 5px 7px,
    #222735 7px 10px,
    transparent 10px 12px,
    #222735 12px 13px,
    transparent 13px 17px
  );
}
.registration {
  position: absolute;
  color: #717970;
  font: 1.5rem/1 var(--mono);
}
.r1 {
  top: 10px;
  left: 12px;
}
.r2 {
  bottom: 10px;
  right: 12px;
}
.cross {
  position: absolute;
  pointer-events: none;
}
.star1 {
  right: 5%;
  bottom: 5%;
  color: var(--blue);
  font:
    700 clamp(2.7rem, 5vw, 4.7rem) / 1 Arial,
    sans-serif;
  transform: rotate(10deg);
  text-shadow: 2px 2px var(--paper);
}
.how {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  background: #f1f3ee;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.mini-rule {
  display: block;
  background: var(--blue);
  width: 26px;
  height: 5px;
  transform: skew(-21deg);
}
h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.28rem);
  letter-spacing: -0.052em;
  line-height: 1.15;
  margin: 0;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.24;
  letter-spacing: -0.035em;
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.stepcard {
  background: #fbfcf8;
  border: 1px solid #d3d8cf;
  border-radius: 13px;
  padding: 20px 22px 22px;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.card-top small,
.kicker {
  font: 700 0.75rem/1.3 var(--mono);
  letter-spacing: 0.09em;
  color: #5c655e;
}
.icon-chip {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-chip svg {
  width: 22px;
  height: 22px;
}
.periwinkle {
  background: #e2e6ff;
  color: #334bd5;
}
.citron {
  background: #e1f69c;
  color: #374a0c;
}
.apricot {
  background: #fae2cf;
  color: #8b4a26;
}
.stepcard p {
  font-size: 1rem;
  line-height: 1.48;
  color: var(--muted);
  margin: 7px 0 0;
  max-width: 290px;
}
footer {
  border-top: 1px solid var(--line);
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 64px;
  font-size: 0.87rem;
  color: #565d57;
}
.foot b {
  margin: 0 5px;
  color: #9ca494;
}
.link-btn,
.subtle {
  border: 0;
  background: none;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
}
.link-btn svg {
  width: 15px;
}
.inline-error {
  color: #9c2820;
  background: #fff0ed;
  border: 1px solid #efc5bf;
  border-radius: 8px;
  padding: 11px 13px;
  line-height: 1.4;
}
.flow,
.admin-main {
  padding-block: 42px 60px;
}
.flow {
  max-width: 800px;
}
.flow-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.flow-head .kicker {
  color: var(--blue);
}
.stage-track {
  display: flex;
  list-style: none;
  margin: 0 0 23px;
  padding: 0;
  gap: 10px;
}
.stage-track li {
  flex: 1;
  border-top: 4px solid #d6dcd5;
  padding: 10px 0 0;
  color: #596059;
  font-size: 0.9rem;
}
.stage-track .active {
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 16px;
  padding: clamp(22px, 4vw, 40px);
}
.panel > h1,
.admin-main h1 {
  font-size: clamp(2rem, 4.7vw, 3.35rem);
  letter-spacing: -0.06em;
  line-height: 1.08;
  margin: 12px 0;
}
.panel h2 {
  margin: 10px 0 15px;
}
.hint,
.field-desc {
  color: var(--muted);
  line-height: 1.5;
}
.hint {
  margin: 8px 0 22px;
}
.field-desc {
  font-size: 0.9rem;
  margin-top: 6px;
}
.fields {
  display: grid;
  gap: 19px;
  margin: 23px 0;
}
.field {
  display: grid;
  gap: 6px;
  font-weight: 650;
  min-width: 0;
}
.field input,
.field textarea,
.field select,
.search {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b8c0bc;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 46px;
  font-weight: 400;
}
.field textarea {
  resize: vertical;
  min-height: 105px;
}
.field select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, #37424a 50%) calc(100% - 19px)
      51%/6px 6px no-repeat,
    linear-gradient(135deg, #37424a 50%, transparent 50%) calc(100% - 13px)
      51%/6px 6px no-repeat;
  padding-right: 38px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #747b7d;
}
.field small {
  font-weight: 400;
}
.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.choice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid #cbd1cc;
  padding: 13px 14px;
  border-radius: 9px;
  line-height: 1.4;
  cursor: pointer;
}
.choice:has(input:checked) {
  border-color: var(--blue);
  background: #f2f4ff;
}
.choice input,
.agreement input {
  accent-color: var(--blue);
  margin: 0.16em 0 0;
  width: 18px;
  height: 18px;
  flex: none;
}
.choice-list {
  display: grid;
  gap: 9px;
  border: 0;
  padding: 0;
  margin: 0;
}
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  margin: 20px 0 0;
}
.progress {
  display: block;
  width: 100%;
  height: 6px;
  accent-color: var(--blue);
  margin: 14px 0 26px;
}
.review {
  display: grid;
  gap: 0;
  margin: 16px 0;
}
.review > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.review dt {
  color: var(--muted);
  font-size: 0.91rem;
}
.review dd {
  margin: 5px 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.review dd a {
  color: var(--blue);
}
.section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
}
.section-title h3 {
  font-size: 1.15rem;
}
.section-title button {
  color: var(--blue);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  max-width: min(500px, calc(100% - 36px));
  color: var(--ink);
}
dialog::backdrop {
  background: #12132170;
}
.dialog-top,
.toolbar,
.tabbar,
.tablefoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-top {
  margin-bottom: 16px;
}
dialog p {
  line-height: 1.5;
}
.iconbtn {
  width: 41px;
  height: 41px;
  background: #fff;
}
.subtle {
  color: #484f56;
  padding: 8px 5px;
  min-height: 40px;
}
.subtle:hover {
  color: var(--blue);
}
.success {
  text-align: center;
}
.success .icon-chip {
  width: 66px;
  height: 66px;
  border-radius: 18px;
}
.success .icon-chip svg {
  width: 32px;
  height: 32px;
}
.admin-main {
  max-width: 1080px;
}
.login {
  max-width: 490px;
  margin: 32px auto;
}
.admin-main .tabbar {
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  margin: 22px 0;
}
.tabbar button {
  border: 0;
  background: none;
  padding: 14px 12px;
  font-weight: 650;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}
.tabbar .selected {
  border-color: var(--blue);
  color: var(--blue);
}
.tablewrap {
  overflow-x: auto;
}
.datatable {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.datatable th,
.datatable td {
  padding: 13px 9px;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.datatable th {
  font-size: 0.87rem;
  color: var(--muted);
}
.tablefoot {
  margin-top: 18px;
  flex-wrap: wrap;
}
.toolbar {
  flex-wrap: wrap;
}
.search {
  max-width: 360px;
}
.qedit {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px;
  margin: 14px 0;
  background: #fff;
}
.qedit .fields {
  margin: 15px 0 0;
}
.admin-editor-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.muted {
  color: var(--muted);
}
.success-msg {
  color: #345719;
  font-weight: 600;
}
.modal-link {
  color: var(--blue);
}
.small {
  font-size: 0.91rem;
}
.stack {
  display: grid;
  gap: 11px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}
.break {
  overflow-wrap: anywhere;
}
@media (min-width: 1400px) {
  .hero {
    gap: 80px;
  }
  .how {
    padding-block: 43px 56px;
  }
  .stepcard {
    padding: 25px;
  }
}
@media (max-width: 900px) {
  .hero {
    gap: 28px;
  }
  .hero h1 {
    font-size: clamp(4rem, 8vw, 5rem);
  }
  .hero-action {
    gap: 13px;
  }
  .time {
    font-size: 0.85rem;
  }
  .wrap {
    width: calc(100% - 54px);
  }
  .stepcard {
    padding: 17px;
  }
  .artboard {
    aspect-ratio: 1.08;
  }
  .poster {
    width: 87%;
  }
  .cards {
    gap: 12px;
  }
}
@media (max-width: 670px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .navrow {
    height: 66px;
  }
  .navrow nav {
    gap: 16px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand {
    gap: 7px;
  }
  .brand b {
    font-size: 1.4rem;
  }
  .brand small {
    font-size: 0.57rem;
  }
  .stepslink,
  .navlink.current {
    display: none;
  }
  .adminlink {
    font-size: 0.84rem;
    padding: 9px 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 31px;
    padding-top: 36px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: clamp(3.8rem, 14vw, 5.1rem);
    margin-block: 17px 19px;
  }
  .lead {
    max-width: 390px;
    font-size: 1.07rem;
  }
  .hero-action {
    margin-top: 21px;
  }
  .mainbtn {
    min-height: 49px;
  }
  .artboard {
    aspect-ratio: 1.52;
    max-width: 490px;
    width: 100%;
    justify-self: center;
  }
  .poster {
    width: 78%;
    padding: 6px 6px 0;
  }
  .poster-caption {
    height: 30px;
  }
  .tape {
    height: 18px;
    top: -7px;
  }
  .how {
    padding: 26px 0 30px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .stepcard {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 12px;
    position: relative;
    padding: 18px;
  }
  .card-top {
    grid-column: 1;
    grid-row: 1 / 3;
    align-items: flex-start;
    margin: 0;
  }
  .card-top small {
    position: absolute;
    right: 14px;
    top: 16px;
    font-size: 0.65rem;
  }
  .stepcard h3 {
    font-size: 1.08rem;
    padding-right: 52px;
  }
  .stepcard p {
    grid-column: 2;
    max-width: none;
    margin-top: 4px;
    font-size: 0.93rem;
  }
  .foot {
    min-height: 60px;
    font-size: 0.78rem;
  }
  .foot .link-btn {
    font-size: 0.78rem;
  }
  .flow,
  .admin-main {
    padding: 24px 0 38px;
  }
  .panel {
    padding: 20px;
  }
  .stage-track {
    gap: 6px;
  }
  .stage-track li {
    font-size: 0.8rem;
  }
  .datatable th,
  .datatable td {
    font-size: 0.86rem;
    padding: 10px 4px;
  }
  .datatable .hide-sm {
    display: none;
  }
  .tablefoot {
    gap: 6px;
  }
  .toolbar .search {
    max-width: none;
  }
  .toolbar h2 {
    margin-bottom: 4px;
  }
  .admin-main h1 {
    font-size: 2.35rem;
  }
  .navlink {
    font-size: 0.87rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
  }
}
