:root {
  --bg: #faf7f2;
  --ink: #2a2420;
  --muted: #7a6f64;
  --line: #e7ddcf;
  --card: #fffdf9;
  --brand: #b5360f;
  --brand-dk: #8d2a0b;
  --gold: #f2cd7e;
  --ok: #2e7d4f;
  --bad: #b23b3b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(60, 40, 20, .08);
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-rd: 15px;
  --fs-base: 16px;
  --fs-lg: clamp(17px, 4.6vw, 21px);
  --fs-xl: clamp(20px, 5.4vw, 23px);
  --fs-2xl: clamp(22px, 5.8vw, 26px);
  --fs-3xl: clamp(26px, 6.8vw, 36px);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.6 -apple-system,
    "Segoe UI",
    "PingFang HK",
    "Microsoft JhengHei",
    system-ui,
    sans-serif;
}
h1,
h2 {
  line-height: 1.2;
  letter-spacing: -.01em;
}
a {
  color: var(--brand);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(250, 247, 242, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-weight: 800;
  letter-spacing: .08em;
}
.brand-lock {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 7px;
  row-gap: 1px;
  padding-right: 10px;
  min-width: 0;
  letter-spacing: normal;
  cursor: pointer;
}
.brand-l1 {
  font-weight: 800;
  font-size: clamp(14px, 3.9vw, 16px);
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--ink);
}
.brand-l2 {
  font-weight: 700;
  font-size: var(--fs-2xs);
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (min-width: 641px) {
  .brand-l1 {
    font-size: 16px;
  }
  .brand-l2 {
    font-size: 12.5px;
    letter-spacing: .1em;
  }
}
.lang {
  flex-shrink: 0;
}
.brand em {
  color: var(--brand);
  font-style: normal;
}
.lang {
  display: flex;
  gap: 4px;
}
.lang-btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--fs-sm);
  cursor: pointer;
}
.lang-btn.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.banner {
  width: 100%;
  line-height: 0;
  background: #cfe6f5;
}
.banner-pic {
  display: block;
  width: 100%;
}
.banner-img {
  display: block;
  width: 100%;
  height: auto;
}
.deadline-strip {
  margin: 0;
  text-align: center;
  background: var(--brand);
  color: #fff;
  padding: 11px 16px;
  font-size: var(--fs-md);
  font-weight: 600;
}
.deadline-strip strong {
  font-weight: 800;
  letter-spacing: .02em;
}
.landing {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}
.design {
  padding: 40px 0 8px;
}
.design h2 {
  font-size: var(--fs-2xl);
  margin: 0 0 22px;
}
.design-art {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 26px;
  display: block;
}
.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 12px 0 8px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.step-n {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--fs-md);
}
.note {
  margin-top: 18px;
  padding: 12px 16px;
  background: #fff6ef;
  border: 1px solid #f0d9c6;
  border-radius: var(--radius);
  color: var(--brand-dk);
  font-size: var(--fs-md);
}
form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-md);
  font-weight: 600;
}
.col-2 {
  grid-column: 1 / -1;
}
input[type=text],
input[type=email],
input[type=date],
input[name] {
  font: inherit;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}
.file-field {
  margin-top: 16px;
}
.hint {
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-xs);
}
.file-status {
  margin: 10px 0 0;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ok);
}
.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-weight: 400;
  font-size: var(--fs-md);
}
.consent input {
  margin-top: 3px;
}
.progress {
  margin-top: 16px;
}
.progress-bar {
  height: 8px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width .2s;
}
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  margin-top: 20px;
}
.btn-primary:hover {
  background: var(--brand-dk);
}
.btn-primary:disabled {
  opacity: .6;
  cursor: progress;
}
.btn-lg {
  padding: 15px 36px;
  font-size: 17px;
  margin-top: 0;
}
.btn-ghost {
  background: var(--card);
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover {
  background: #fff3ec;
}
dialog.sheet {
  border: 0;
  border-radius: 18px;
  padding: 24px;
  width: min(680px, calc(100% - 28px));
  max-height: 90vh;
  box-shadow: 0 24px 70px rgba(40, 25, 12, .28);
  color: var(--ink);
}
dialog.sheet::backdrop {
  background: rgba(40, 25, 12, .45);
  backdrop-filter: blur(2px);
}
dialog.sheet h2 {
  font-size: var(--fs-xl);
  margin: 0 0 18px;
  padding-right: 28px;
}
.sheet-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
dialog.sheet form {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}
.qa-body details:first-child {
  margin-top: 0;
}
.success-panel {
  text-align: center;
  padding: 16px 8px 8px;
}
.success-check {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e3f1e8;
  color: var(--ok);
  font-size: 34px;
  display: grid;
  place-items: center;
}
.success-panel h3 {
  margin: 0 0 8px;
  font-size: var(--fs-xl);
}
.success-panel p {
  color: var(--muted);
  margin: 0 auto 16px;
  max-width: 380px;
}
.form-msg {
  margin: 14px 0 0;
  font-size: var(--fs-md);
  font-weight: 600;
}
.form-msg.ok {
  color: var(--ok);
}
.form-msg.err {
  color: var(--bad);
}
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}
summary {
  font-weight: 600;
  cursor: pointer;
}
details p {
  color: var(--muted);
  font-size: var(--fs-rd);
  margin: 10px 0 2px;
}
.foot {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.fineprint {
  max-width: 640px;
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.fineprint .fine {
  margin: 0 0 10px;
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--muted);
}
.fineprint .fine:last-child {
  margin-bottom: 0;
}
.fineprint a {
  color: var(--brand);
  text-decoration: underline;
}
@media (max-width: 560px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.btn-sm {
  padding: 9px 16px;
  font-size: var(--fs-md);
}
.addr-head {
  grid-column: 1 / -1;
  margin: 8px 0 -4px;
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.opt {
  font-weight: 400;
  font-style: normal;
  color: var(--muted);
  font-size: var(--fs-xs);
}
.consent-hint {
  grid-column: 1 / -1;
  margin: 16px 0 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.travel {
  margin-top: 8px;
}
.travel > .addr-head {
  margin: 0 0 4px;
}
.travel-note {
  margin: 0 0 4px;
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.5;
}
.travel-remark {
  margin: 0 0 12px;
  font-size: var(--fs-2xs);
  color: var(--muted);
  line-height: 1.5;
}
.travel-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px 12px;
  margin: 0 0 12px;
}
.travel-group:last-child {
  margin-bottom: 0;
}
.travel-group legend {
  padding: 0 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-dk);
}
.travel .radio {
  flex-direction: row;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: var(--fs-md);
  padding: 5px 2px;
  cursor: pointer;
}
.travel .radio input {
  margin: 0;
  flex: 0 0 auto;
  accent-color: var(--brand);
  width: 17px;
  height: 17px;
}
#submit-btn {
  display: block;
  margin: 20px auto 0;
  min-width: min(320px, 100%);
}
.prizes {
  padding: 28px 0 10px;
}
.prizes-title {
  text-align: center;
  font-size: var(--fs-3xl);
  color: var(--brand-dk);
  margin: 0 0 20px;
  letter-spacing: .01em;
  word-break: keep-all;
}
.pass {
  --pad: 18px;
  position: relative;
  color: #fff7ee;
  border-radius: 16px;
  overflow: hidden;
  padding: 20px var(--pad) 18px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>"),
    radial-gradient(130% 95% at 10% -5%, rgba(255, 236, 200, .18), transparent 55%),
    linear-gradient(158deg, #c94a16 0%, #b5360f 46%, #8d2a0b 100%);
  box-shadow: 0 14px 34px rgba(141, 42, 11, .28);
}
@media (min-width: 640px) {
  .pass {
    --pad: 26px;
    padding: 26px var(--pad) 22px;
  }
}
.pass > * {
  position: relative;
  z-index: 1;
}
.pass-plane {
  position: absolute;
  z-index: 0;
  right: -26px;
  top: -18px;
  width: clamp(120px, 34vw, 170px);
  height: auto;
  opacity: .09;
  transform: rotate(42deg);
}
.pass-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.pass-tier b {
  font-size: var(--fs-md);
  letter-spacing: .14em;
  color: var(--gold);
}
.pass-tier span {
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: .9;
  white-space: nowrap;
}
.pass-desc {
  margin: 10px 0 0;
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.5;
  max-width: 34ch;
  word-break: keep-all;
}
.pass-tear {
  position: relative;
  margin: 15px calc(var(--pad) * -1) 12px;
  border-top: 2px dashed rgba(255, 247, 238, .42);
}
.pass-tear::before,
.pass-tear::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
}
.pass-tear::before {
  left: -10px;
}
.pass-tear::after {
  right: -10px;
}
.pass-value {
  margin: 0;
}
.pass-value strong {
  font-size: clamp(18px, 5.4vw, 25px);
  color: var(--gold);
  letter-spacing: .01em;
  white-space: nowrap;
}
.minor-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (max-width: 560px) {
  .minor-list {
    gap: 10px;
  }
}
.minor {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}
.minor-tier {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  font-size: var(--fs-xs);
  color: var(--brand-dk);
}
.minor-tier span:last-child {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: normal;
  white-space: nowrap;
}
.minor-desc {
  margin: 6px 0 3px;
  font-weight: 600;
  font-size: var(--fs-rd);
  line-height: 1.45;
}
.minor-value {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--brand-dk);
}
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity .5s ease,
    transform .5s ease,
    box-shadow .25s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.minor.rv:hover,
.pass.rv:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(60, 40, 20, .16);
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.sheet[open] {
    animation: sheet-in .26s cubic-bezier(.2, .8, .25, 1);
  }
  dialog.sheet[open]::backdrop {
    animation: fade-in .26s ease;
  }
  .qa-wrap.qa-grow {
    animation: qa-grow .42s cubic-bezier(.22, .61, .36, 1);
  }
  .qa-body summary::after {
    transition: transform .25s ease, margin-top .25s ease;
  }
  .btn {
    transition:
      background-color .18s ease,
      color .18s ease,
      border-color .18s ease,
      transform .15s ease,
      box-shadow .2s ease;
  }
  .btn-lg:hover {
    transform: translateY(-1px);
  }
  .btn:active {
    transform: translateY(0) scale(.99);
  }
  .lang-btn {
    transition:
      background-color .15s ease,
      color .15s ease,
      border-color .15s ease;
  }
  .file-status {
    animation: fade-up .25s ease;
  }
  .form-msg.ok,
  .form-msg.err {
    animation: fade-up .22s ease;
  }
  .success-check {
    animation: check-pop .45s cubic-bezier(.2, 1.4, .4, 1);
  }
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes qa-grow {
  from {
    grid-template-rows: 0fr;
    opacity: .3;
  }
  to {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
@keyframes check-pop {
  0% {
    opacity: 0;
    transform: scale(.5);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.qa-wrap {
  display: grid;
  grid-template-rows: 1fr;
}
.qa-inner {
  min-height: 0;
  overflow: clip;
}
.qa-body summary {
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.qa-body summary::-webkit-details-marker {
  display: none;
}
.qa-body summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -7px;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
}
.qa-body details[open] > summary::after {
  transform: rotate(225deg);
  margin-top: -3px;
}
.qa-period {
  margin: 0 0 14px;
  font-size: var(--fs-md);
  color: var(--brand-dk);
  font-weight: 600;
}
.qa-body ul {
  margin: 8px 0 10px;
  padding-left: 20px;
  color: var(--muted);
  font-size: var(--fs-rd);
}
.qa-body li {
  margin-bottom: 6px;
}
.qa-body details p strong {
  color: var(--ink);
}
.tnc-sheet[open] {
  display: flex;
  flex-direction: column;
}
.tnc-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 2px 2px 0;
  color: var(--ink);
  font-size: var(--fs-rd);
  line-height: 1.6;
}
.tnc-body h4 {
  margin: 20px 0 6px;
  font-size: var(--fs-base);
  color: var(--brand-dk);
}
.tnc-body p {
  margin: 0 0 10px;
}
.tnc-lead {
  font-size: var(--fs-base);
}
.tnc-body .tnc-ol,
.tnc-body .tnc-ul {
  margin: 0 0 10px;
  padding-left: 22px;
}
.tnc-body .tnc-ol li,
.tnc-body .tnc-ul li {
  margin-bottom: 6px;
}
.tnc-updated {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.tnc-body p,
.tnc-body h4,
.tnc-body .tnc-ol,
.tnc-body .tnc-ul {
  max-width: 62ch;
}
.qa-inner p,
.qa-inner ul {
  max-width: 62ch;
}
.tnc-progress {
  flex: 0 0 auto;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0 10px;
}
.tnc-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--brand);
  transition: width .12s linear;
}
.tnc-agree {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}
.tnc-scrollhint {
  margin: 0 0 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--brand);
  text-align: center;
}
.tnc-agree-controls {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease;
}
.tnc-agree-controls.is-open {
  max-height: 280px;
  opacity: 1;
}
.tnc-agree-label {
  margin: 0 0 12px;
}
.tnc-agree .btn {
  width: 100%;
  margin-top: 0;
}
