:root {
  --red: #cf3a22;
  --red-soft: #c5351f;
  --ink: #ffffff;
  --ink-2: #f5f1ea;
  --panel: #fbfaf7;
  --line: rgba(0, 0, 0, 0.1);
  --text: #1c1a18;
  --muted: #7a736b;
  --gold: #a97f3d;
  --shadow: 0 18px 48px -28px rgba(28, 26, 24, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  width: 100%;
  overflow: hidden;
}

.wrap {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 0 22px;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 28px 22px 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(207, 58, 34, 0.12) 0%, rgba(207, 58, 34, 0) 55%),
    radial-gradient(80% 60% at 50% 100%, rgba(169, 127, 61, 0.07) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, #f6f2eb 100%);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero > *:not(.hero-grid) {
  position: relative;
  z-index: 1;
}

.secret,
.dress,
.chip,
.mode,
.ghost,
.clear-history,
.back,
.resign-btn,
.vbtn,
.wbtn {
  user-select: none;
}

.secret {
  display: inline-flex;
  margin-bottom: 26px;
  border: 1px dashed rgba(207, 58, 34, 0.6);
  color: var(--red-soft);
  background: rgba(207, 58, 34, 0.07);
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
}

.logo-badge {
  margin-bottom: 28px;
}

.logo-img {
  height: 86px;
  margin: 0 auto;
  object-fit: contain;
  cursor: pointer;
}

.kicker {
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--red-soft);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}

.h1 {
  max-width: 760px;
  font-size: clamp(40px, 8vw, 66px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.accent {
  color: var(--red);
}

.h1 .accent {
  display: block;
  font-size: clamp(18px, 4vw, 28px);
  letter-spacing: 2px;
  margin-top: 12px;
  font-weight: 700;
}

.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 4vw, 20px);
  white-space: pre-line;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  justify-content: center;
  align-items: center;
  margin: 34px 0 24px;
}

.m {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.m-b {
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: 0;
  font-weight: 700;
}

.m-s {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}

.sep {
  width: 1px;
  height: 36px;
  background: var(--line);
}

.count {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.c {
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  min-width: 76px;
}

.c-b {
  display: block;
  font-size: clamp(28px, 7vw, 42px);
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.c-s {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.dress {
  margin-top: 28px;
  display: inline-flex;
  border: 1px solid var(--red);
  color: var(--red-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-cta,
.submit-btn,
.btn.primary,
.add-btn,
.spin-btn,
.wbtn.primary {
  background: var(--red);
  color: #fff;
}

.hero-cta {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 15px 36px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 2px;
  font-weight: 700;
  box-shadow: 0 18px 44px -20px rgba(207, 58, 34, 0.9);
}

.band {
  padding: 72px 0;
  background: linear-gradient(180deg, #f5f1ea 0, #ffffff 72px);
}

.band.tight {
  padding: 54px 0;
}

.band.alt {
  background: linear-gradient(180deg, #ffffff 0, #f5f1ea 72px);
}

.sec-tag {
  color: var(--red-soft);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.sec-title {
  font-size: clamp(32px, 7vw, 52px);
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 16px;
  white-space: pre-line;
  line-height: 1.18;
}

.sec-sub {
  color: var(--muted);
  font-size: 16px;
  white-space: pre-line;
}

.intro-p {
  white-space: pre-line;
}

.intro-p + .intro-p {
  margin-top: 14px;
}

.pillars,
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.pillar,
.card,
.signup,
.signup-done,
.sponsor,
.panel,
.bar,
.row,
.rec,
.stat,
.modal-card,
.win-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pillar {
  padding: 28px 26px;
}

.p-n {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.p-t {
  font-size: 26px;
  margin-bottom: 8px;
  letter-spacing: 0;
  font-weight: 700;
}

.p-p {
  color: var(--muted);
  font-size: 15px;
}

.timeline {
  margin-top: 32px;
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red), rgba(207, 58, 34, 0.15));
}

.tl-item {
  position: relative;
  padding: 0 0 24px 28px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 4px rgba(207, 58, 34, 0.12);
}

.tl-time {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0;
  margin-bottom: 4px;
}

.tl-dur {
  display: inline-flex;
  margin-left: 8px;
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 1px 8px;
  border-radius: 999px;
}

.tl-h {
  font-size: 21px;
  margin-bottom: 5px;
  letter-spacing: 0;
  font-weight: 600;
}

.tl-p {
  color: var(--muted);
  font-size: 15px;
}

.card {
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff, #f3eee6);
}

.card-ix {
  position: absolute;
  right: 16px;
  top: 2px;
  font-size: 86px;
  color: rgba(0, 0, 0, 0.05);
  font-weight: 800;
  line-height: 1;
}

.card-en {
  position: relative;
  font-size: 11px;
  color: var(--red-soft);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 700;
}

.card-t {
  position: relative;
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: 0;
  font-weight: 700;
}

.card-li {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 8px;
}

.sponsors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.sponsor {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
}

.sponsor-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.secret-note {
  margin-top: 14px;
  color: var(--red-soft);
  font-size: 14px;
}

.signup {
  margin-top: 32px;
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.lbl {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--muted);
}

.field-hint {
  font-size: 13px;
  color: var(--muted);
}

.inp,
.add-inp {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 15px;
  color: var(--text);
  font-size: 16px;
  height: 52px;
  outline: none;
}

.inp:focus,
.add-inp:focus {
  border-color: rgba(207, 58, 34, 0.55);
  box-shadow: 0 0 0 3px rgba(207, 58, 34, 0.1);
}

.stepper {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.st-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 25px;
  background: transparent;
}

.st-val {
  width: 64px;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.chip,
.mode {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

.chip.on,
.mode.active {
  border-color: var(--red);
  background: rgba(207, 58, 34, 0.16);
  color: var(--text);
  font-weight: 700;
}

.submit-btn {
  grid-column: 1 / -1;
  min-height: 58px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 18px 42px -20px rgba(207, 58, 34, 0.9);
}

.signup-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.signup-note .b {
  color: var(--gold);
}

.signup-done {
  margin-top: 32px;
  text-align: center;
  border-color: rgba(207, 58, 34, 0.4);
  padding: 54px 28px;
}

.big {
  font-size: 48px;
  margin-bottom: 12px;
}

.done-h {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 700;
}

.done-p {
  color: var(--muted);
  font-size: 16px;
}

.resign-btn {
  display: inline-flex;
  margin-top: 24px;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1px;
  background: #fff;
}

.closing {
  padding: 92px 0;
  text-align: center;
  background:
    radial-gradient(90% 60% at 50% 38%, rgba(207, 58, 34, 0.15), transparent 62%),
    linear-gradient(180deg, #ffffff 0, #f5f1ea 120px);
}

.q {
  font-size: clamp(28px, 7vw, 44px);
  line-height: 1.4;
  letter-spacing: 0;
  white-space: pre-line;
  padding: 0 22px;
}

.q .accent {
  color: var(--red);
}

.sign {
  color: var(--muted);
  letter-spacing: 3px;
  font-size: 13px;
  margin-top: 26px;
}

.footer {
  padding: 48px 22px;
  text-align: center;
  background: var(--ink-2);
}

.footer-logo {
  height: 44px;
  margin: 0 auto 14px;
  cursor: pointer;
}

.f-p {
  color: var(--muted);
  font-size: 13px;
}

.f-en {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 11px;
  margin-top: 6px;
  color: #8b8278;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.72);
}

.modal.show {
  display: flex;
}

.modal-card,
.win-card {
  position: relative;
  max-width: 640px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.modal-card {
  background: var(--ink-2);
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 8px;
  color: var(--muted);
  font-size: 34px;
  line-height: 1;
  background: transparent;
}

.m-tag {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.m-h {
  font-size: 30px;
  margin-bottom: 18px;
  letter-spacing: 0;
  font-weight: 700;
}

.addr {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.addr-b {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.addr-s,
.rb-p {
  color: var(--muted);
  font-size: 14px;
}

.rb-h {
  font-size: 16px;
  margin-bottom: 7px;
  font-weight: 700;
}

.rb-tip {
  margin-top: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.guide-imgs {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-img {
  width: 100%;
  border-radius: 8px;
  background: #f0ece4;
  cursor: pointer;
}

.toast-center {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: #000;
  color: #fff;
  border: 1px solid var(--red);
  padding: 18px 26px;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
  min-width: min(320px, 72vw);
  max-width: 84vw;
  line-height: 1.5;
  white-space: pre-line;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.7);
}

.toast-center.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 36px;
}

.brand-b {
  font-size: 19px;
  letter-spacing: 0;
  font-weight: 700;
}

.brand-s {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 1px;
}

.btn.danger {
  color: #c0392b;
}

.body {
  min-height: calc(100vh - 78px);
  padding: 0 22px 32px;
  background: #fff;
}

.admin-inner,
.vote-inner,
.lottery-inner {
  width: min(100%, 900px);
  margin: 0 auto;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 28px 0 18px;
}

.stat {
  padding: 18px;
}

.stat-b {
  display: block;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
  font-weight: 700;
}

.stat-s {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 8px;
}

.games-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.gtag {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  color: var(--muted);
}

.gtag-b {
  color: var(--red-soft);
  font-weight: 700;
}

.rec {
  padding: 18px;
  margin-bottom: 14px;
}

.rec-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.rec-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.rec-no {
  color: var(--muted);
  font-size: 13px;
}

.rec-name {
  font-size: 20px;
  font-weight: 700;
}

.rec-count {
  color: var(--red-soft);
  font-size: 14px;
  font-weight: 600;
}

.del {
  color: #8b8278;
  font-size: 18px;
  padding: 0 5px;
  background: transparent;
}

.rec-phone {
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0;
  margin-top: 5px;
}

.rec-row {
  font-size: 14px;
  color: var(--text);
  margin-top: 7px;
}

.rec-k {
  display: inline-block;
  color: var(--muted);
  margin-right: 7px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.pill {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.pill.on {
  border-color: var(--red);
  background: rgba(207, 58, 34, 0.16);
  color: var(--text);
}

.rec-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.rec-tag {
  font-size: 13px;
  color: var(--muted);
}

.rec-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.empty {
  text-align: center;
  padding: 72px 20px;
  color: var(--muted);
}

.empty-big {
  font-size: 50px;
  margin-bottom: 12px;
}

.empty-sub {
  margin-top: 8px;
  font-size: 13px;
}

.vp,
.lp {
  min-height: 100vh;
  padding: 28px 22px 64px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(207, 58, 34, 0.1) 0%, rgba(207, 58, 34, 0) 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f2eb 100%);
}

.head {
  text-align: center;
  margin: 4px 0 28px;
}

.head-logo {
  height: 48px;
  margin: 0 auto 14px;
}

.kk {
  color: var(--red-soft);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

.page-title {
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 8px;
  line-height: 1.15;
}

.sub {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
  white-space: pre-line;
  line-height: 1.6;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.bar-t {
  font-size: 16px;
}

.bar-t .hl {
  color: var(--gold);
  font-size: 26px;
  font-weight: 800;
}

.bar-s {
  font-size: 13px;
  color: var(--muted);
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.row.mine {
  border-color: var(--red);
  background: rgba(207, 58, 34, 0.08);
}

.rank {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
}

.rank-1 {
  background: #cf3a22;
  color: #fff;
}

.rank-2 {
  background: #a97f3d;
  color: #fff;
}

.rank-3 {
  background: #d8c4a0;
  color: #3a342d;
}

.info {
  flex: 1;
  min-width: 0;
}

.name {
  font-size: 18px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.cnt {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.vbtn {
  flex: 0 0 auto;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 700;
}

.vbtn.mine-btn,
.vbtn.switch {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}

.vbtn.mine-btn {
  border-color: var(--red);
  color: var(--red);
  font-weight: 700;
}

.modes {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-bottom: 28px;
}

.wheel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wheel-frame {
  position: relative;
  width: min(74vw, 360px);
  height: min(74vw, 360px);
  transition: opacity 0.25s ease;
}

.wheel-frame::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 5px solid rgba(216, 196, 160, 0.28);
  box-shadow: 0 28px 78px -42px rgba(207, 58, 34, 0.7);
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--gold);
}

.spin-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 86px;
  height: 86px;
  border-radius: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 35%, #e0563f, #a82b18);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 18px 36px -16px rgba(207, 58, 34, 0.6);
}

.spin-btn.off {
  filter: grayscale(0.6) brightness(0.75);
}

.hint {
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0;
}

.panel {
  padding: 22px;
  margin-top: 28px;
}

.panel-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 14px;
}

.panel-h .cnt {
  font-size: 13px;
  color: var(--muted);
  font-weight: 400;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  margin-bottom: 14px;
}

.item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.item-t {
  flex: 1;
  font-size: 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.item-del {
  color: #8b8278;
  font-size: 17px;
  padding: 0 4px;
  background: transparent;
}

.add-row {
  display: flex;
  gap: 8px;
}

.add-btn {
  border-radius: 8px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}

.ghost {
  margin-top: 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  background: transparent;
}

.people-note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  white-space: pre-line;
}

.people-note .hl {
  color: var(--gold);
  font-weight: 700;
}

.history {
  margin-top: 28px;
}

.history-h {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hrow-b {
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

.hrow-s {
  color: var(--muted);
  font-size: 12px;
}

.history-empty {
  color: #8b8278;
  font-size: 14px;
}

.clear-history {
  margin-top: 18px;
  text-align: center;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 9px 0;
  background: transparent;
}

.back {
  margin: 28px auto 0;
  display: block;
  width: min(100%, 420px);
  text-align: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
}

.win-card {
  max-width: 520px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(170deg, #fffdf9, #f4eee2);
  border: 1px solid rgba(169, 127, 61, 0.45);
}

.win-logo {
  height: 52px;
  margin: 0 auto 14px;
}

.lab {
  color: var(--red-soft);
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 12px;
}

.win-name {
  font-size: clamp(38px, 10vw, 64px);
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 800;
  word-break: break-word;
}

.win-sub {
  color: var(--muted);
  font-size: 15px;
}

.win-actions {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.wbtn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
}

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  overflow: hidden;
}

.cf {
  position: absolute;
  top: -20px;
  width: 9px;
  height: 14px;
  opacity: 0.9;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0.6;
  }
}

.loading {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

@media (max-width: 720px) {
  .hero {
    min-height: 96vh;
    justify-content: flex-start;
    padding-top: 24px;
  }

  .pillars,
  .cards,
  .signup,
  .sponsors,
  .stats {
    grid-template-columns: 1fr;
  }

  .field.full,
  .submit-btn,
  .signup-note {
    grid-column: auto;
  }

  .signup {
    padding: 22px;
  }

  .sponsors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sep {
    display: none;
  }

  .bar,
  .row {
    align-items: flex-start;
    flex-direction: column;
  }

  .vbtn {
    width: 100%;
    text-align: center;
  }

  .rec-time {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
