/* ─── Design tokens (Closers · Dimensional Mode) ─── */
:root {
  --navy: #0f1d5c;
  --navy-deep: #0a1240;
  --navy-ink: #1b2a80;
  --blue: #3d5af1;
  --blue-soft: #8ea2ff;
  --blue-line: #c5cdf5;
  --blue-tint: #eef1ff;
  --yellow: #ffc400;
  --yellow-deep: #f0a500;
  --yellow-pale: #fff3c4;
  --pink: #ff3d8f;
  --paper: #f7f8fd;
  --white: #ffffff;
  --text: #1c2340;
  --muted: #5a6486;
  --font-display: 'Archivo Black', 'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', 'Barlow', sans-serif;
  --font-body: 'Barlow', 'Noto Sans', sans-serif;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--navy-deep);
}

img {
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input {
  border: none;
  font-family: inherit;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ─── Page Wrapper & Background ─── */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, #1c3399 0%, transparent 60%),
    linear-gradient(180deg, #0c1650 0%, #0a1240 45%, #070c2e 100%);
}

.bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(142, 162, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 162, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.15) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.15) 100%);
}

.bg-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(255, 255, 255, 0.045) 18% 26%, transparent 26% 44%, rgba(255, 255, 255, 0.03) 44% 47%, transparent 47% 70%, rgba(255, 196, 0, 0.05) 70% 76%, transparent 76%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

.bg-glow-blue {
  left: calc(50% - 560px);
  top: 120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(61, 90, 241, 0.45) 0%, transparent 70%);
}

.bg-glow-yellow {
  right: calc(50% - 620px);
  top: 260px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 196, 0, 0.22) 0%, transparent 70%);
}

/* ─── Characters (desktop): fixed, slide-in entrance, floating ─── */
.char {
  position: fixed;
  top: 7vh;
  z-index: 2;
  pointer-events: none;
  animation-duration: 1.1s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
  animation-delay: 0.25s;
}

.char-float {
  animation: char-float 4.2s ease-in-out infinite;
  animation-delay: 1.3s;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.char img {
  height: min(86vh, 1100px);
  width: auto;
}

.char-tris {
  right: calc(50% + 380px);
  animation-name: char-in-left;
}

.char-yuria {
  left: calc(50% + 380px);
  animation-name: char-in-right;
}

.char-yuria .char-float {
  animation-delay: 1.9s;
  animation-duration: 4.8s;
}

@keyframes char-in-left {
  from {
    opacity: 0;
    transform: translateX(-60vw);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes char-in-right {
  from {
    opacity: 0;
    transform: translateX(60vw);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes char-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .char,
  .char-float,
  .date-badge,
  .title-line,
  .title-star,
  .header-subtitle,
  .ticket-box {
    animation: none;
  }
}

/* ─── Main Column ─── */
.main-column {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  z-index: 10;
  padding: 0 16px 60px;
}

/* ─── Header ─── */
.header {
  text-align: center;
  padding: 64px 0 0;
}

.date-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border: 1.5px solid rgba(255, 196, 0, 0.7);
  border-radius: 4px;
  background: rgba(10, 18, 64, 0.6);
  color: var(--yellow);
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.08);
  animation: hdr-drop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.date-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  transform: rotate(45deg);
}

.title {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -1px;
  margin: 0 0 14px;
  padding: 0 28px;
}

.title-line {
  display: block;
  font-size: 92px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #ffe45c 58%, #ffb400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(2px 0 0 #1b2a80) drop-shadow(-2px 0 0 #1b2a80) drop-shadow(0 2px 0 #1b2a80) drop-shadow(0 -2px 0 #1b2a80) drop-shadow(0 7px 0 #0a1240) drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
}

.title-line-1 {
  animation: title-in-left 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.title-line-2 {
  font-size: 108px;
  margin-top: -6px;
  animation: title-in-right 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.title-star {
  position: absolute;
  color: var(--yellow);
  font-style: normal;
  text-shadow: 0 0 12px rgba(255, 196, 0, 0.9), 0 0 24px rgba(255, 196, 0, 0.5);
  animation: star-in 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both, twinkle 2.4s ease-in-out infinite;
}

.title-star-1 {
  left: -6px;
  top: 8px;
  font-size: 30px;
  animation-delay: 1s, 1.5s;
}

.title-star-2 {
  right: -10px;
  bottom: 16px;
  font-size: 40px;
  animation-delay: 1.15s, 2.3s;
}

.title-star-3 {
  right: 34px;
  top: -14px;
  font-size: 18px;
  animation-delay: 1.3s, 3s;
}

@keyframes hdr-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hdr-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes title-in-left {
  from {
    opacity: 0;
    transform: translateX(-48px) scale(1.18);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes title-in-right {
  from {
    opacity: 0;
    transform: translateX(48px) scale(1.18);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes star-in {
  from {
    opacity: 0;
    transform: scale(0);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes twinkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.7);
    opacity: 0.55;
  }
}

.header-subtitle {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 1.5px;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 44px;
  animation: hdr-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

.header-subtitle::before,
.header-subtitle::after {
  content: '';
  display: inline-block;
  width: 46px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow));
  vertical-align: middle;
  margin: 0 14px 4px 0;
}

.header-subtitle::after {
  background: linear-gradient(90deg, var(--yellow), transparent);
  margin: 0 0 4px 14px;
}

/* ─── Ticket Box (intro) ─── */
.ticket-box {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto 28px;
  background: var(--white);
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  animation: hdr-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
}

/* side notches */
.ticket-box::before,
.ticket-box::after {
  content: '';
  position: absolute;
  top: 46px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0c1650;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.45);
}

.ticket-box::before {
  left: -13px;
}

.ticket-box::after {
  right: -13px;
}

.ticket-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 28px 12px;
  border-bottom: 2px dashed var(--blue-line);
  margin: 0 12px;
}

.ticket-code {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue);
}

.ticket-label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
}

.ticket-barcode {
  display: inline-block;
  width: 84px;
  height: 22px;
  background:
    repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px);
  opacity: 0.85;
}

.ticket-barcode-light {
  background:
    repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px);
  opacity: 0.7;
}

.ticket-box-body {
  padding: 22px 40px 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.ticket-box-body p {
  text-wrap: balance;
}

.ticket-box-body p+p {
  margin-top: 10px;
}

.ticket-box-body strong {
  color: var(--blue);
  font-weight: 700;
}

.ticket-headline {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
  color: var(--navy);
  margin-bottom: 14px !important;
}

.ticket-outro {
  font-weight: 600;
  color: var(--navy);
}

/* ─── Paper (ticket body) ─── */
.paper {
  position: relative;
  z-index: 2;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  margin: 8px 6% 0;
}


.paper-edge {
  height: 14px;
  background-image: radial-gradient(circle at 10px 0, transparent 7px, var(--paper) 8px);
  background-size: 20px 14px;
  background-repeat: repeat-x;
  border-radius: 6px 6px 0 0;
}

.paper-inner {
  position: relative;
  padding: 18px 32px 44%;
  background:
    linear-gradient(180deg, rgba(61, 90, 241, 0.05), transparent 120px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(61, 90, 241, 0.06) 31px 32px);
}

.paper-divider {
  display: flex;
  align-items: center;
  margin: 34px -32px;
}

.paper-divider-hole {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a1240;
  flex-shrink: 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.4);
}

.paper-divider-hole:first-child {
  margin-left: -14px;
}

.paper-divider-hole:last-child {
  margin-right: -14px;
}

.paper-divider-line {
  flex: 1;
  border-top: 2px dashed var(--blue-line);
  margin: 0 10px;
}

/* ─── Section Card ─── */
.section-card {
  position: relative;
}

.section-head {
  position: relative;
  text-align: center;
  padding: 8px 0 22px;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--navy);
}

.section-head-code {
  position: absolute;
  right: 0;
  top: 12px;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--blue-soft);
}

/* ─── Rewards ─── */
.reward-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.reward-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  border-radius: 10px;
  padding: 18px 20px 16px;
  box-shadow: 0 6px 18px rgba(27, 42, 128, 0.08);
}

.reward-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  border-radius: 0 0 3px 3px;
}

.reward-cond {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}

.reward-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px 18px;
  background: var(--blue-tint);
  border: 1.5px solid var(--blue-line);
  border-radius: 8px;
  margin-bottom: 12px;
}

.reward-item+.reward-item {
  margin-top: -2px;
}

.reward-hint {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--blue);
}

.package-name {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--blue);
}

/* item row: icons aligned on one line, wrapping on narrow screens */
.item-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 4px;
  width: 100%;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 88px;
}

.item-box {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background: #0f1d3a;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px var(--blue-line), 0 4px 10px rgba(27, 42, 128, 0.15);
  overflow: visible;
}

.item-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* quantity tag on the icon corner */
.item-qty {
  position: absolute;
  right: -8px;
  bottom: -8px;
  min-width: 30px;
  padding: 2px 7px;
  background: linear-gradient(180deg, #ffd23f 0%, var(--yellow) 100%);
  border: 1.5px solid #fff6cc;
  border-radius: 6px;
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.item-name {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  min-height: 2.5em;
  color: var(--text);
  text-align: center;
}

/* hero item: single highlighted reward */
.item-row-hero {
  gap: 14px 28px;
}

.item-row-hero .item {
  width: 240px;
}

.item-hero .item-box {
  width: 96px;
  height: 96px;
  border-radius: 12px;
}

.item-hero .item-qty {
  font-size: 14px;
  padding: 3px 9px;
}

/* costume boxes: same size as other items, wider spacing */
.item-row-sm {
  gap: 14px 14px;
}

.item-row-sm .item {
  width: 104px;
}

.item-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
}

.item-divider::before,
.item-divider::after {
  content: '';
  flex: 1;
  border-top: 1.5px dashed var(--blue-line);
}

.item-sub-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--blue);
  text-align: center;
}

.reward-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pink);
}

.reward-note strong {
  font-weight: 700;
}

/* milestones */
.milestone-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.milestone-wide {
  grid-column: 1 / -1;
}

.milestone-wide .item-row {
  gap: 10px 24px;
}

.item-row-wide {
  gap: 14px 18px;
}

.item-row-wide .item {
  width: 120px;
}

/* lucky draw */
.lucky-draw {
  width: 100%;
  margin-top: 4px;
  padding: 14px 18px 16px;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 196, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.lucky-draw-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cl-coin {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45));
}

.lucky-draw-text {
  text-align: left;
}

.lucky-draw-prize {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--white);
}

.lucky-draw-winners {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
}

.lucky-draw-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--yellow);
  text-align: center;
}

.lucky-draw-note strong {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 6px 10px;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  border-radius: 8px;
}

.milestone .item-row {
  gap: 10px 6px;
}

.milestone .item {
  width: 110px;
}

.milestone-count {
  display: inline-block;
  padding: 3px 12px;
  background: linear-gradient(180deg, #ffd23f 0%, var(--yellow) 100%);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
}

/* ─── Form Row ─── */
.form-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  border-radius: 10px;
}

.form-label {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: var(--navy);
  white-space: nowrap;
}

.form-label::after {
  content: ':';
}

.text-input-wrap,
.code-display-wrap {
  position: relative;
  height: 48px;
  background: var(--paper);
  border-radius: 6px;
  border: 1.5px solid var(--blue-line);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.text-input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 90, 241, 0.2);
}

.text-input,
.code-display {
  position: absolute;
  inset: 0;
  width: 100%;
  background: transparent;
  padding: 0 16px;
  outline: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--text);
}

.text-input::placeholder,
.code-display::placeholder {
  color: rgba(28, 35, 64, 0.38);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.code-display {
  text-transform: uppercase;
  cursor: default;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--blue);
}

.btn-primary {
  height: 48px;
  min-width: 150px;
  padding: 0 26px;
  background: linear-gradient(180deg, #ffd23f 0%, var(--yellow) 55%, var(--yellow-deep) 100%);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 5px 0 #b57a00, 0 8px 18px rgba(240, 165, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #b57a00, 0 10px 22px rgba(240, 165, 0, 0.45);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #b57a00, 0 4px 10px rgba(240, 165, 0, 0.3);
}

/* ─── Notes ─── */
.notes {
  padding: 4px 6px 0;
  margin-bottom: 20px;
}

.notes li {
  position: relative;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.notes li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--blue-soft);
  transform: rotate(45deg);
}

.notes li+li {
  margin-top: 4px;
}

.contrib-info {
  padding: 20px 22px 18px;
  margin-bottom: 18px;
  border: 1.5px solid var(--blue-line);
  border-radius: 10px;
  background: var(--blue-tint);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
}

.contrib-info-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.3px;
  text-align: center;
  color: var(--navy);
}

.contrib-info-lead {
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  margin: 4px 0 14px;
}

.contrib-info-cols {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contrib-info-col {
  position: relative;
  padding: 14px 16px 14px;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  border-radius: 8px;
  color: var(--muted);
}

.contrib-info-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  border-radius: 0 0 3px 3px;
}

.contrib-info-head {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 4px;
}

.contrib-info-col ul {
  margin-top: 8px;
}

.contrib-info-col li {
  position: relative;
  padding-left: 14px;
  color: var(--text);
}

.contrib-info-col li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--yellow);
  transform: rotate(45deg);
}

.contrib-info-tip {
  display: table;
  margin: 14px auto 0;
  padding: 7px 16px;
  background: var(--navy);
  color: var(--yellow);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* contribution box extras */
.contrib-info-head-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contrib-badge {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

/* UNION Watch guide inside the mission column */
.uw-guide {
  margin: 10px 0 14px;
  padding-bottom: 14px;
  border-bottom: 1.5px dashed var(--blue-line);
}

.uw-shot-wrap {
  position: relative;
  max-width: 640px;
  padding-top: 40px;
}

.uw-menu {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
}

/* arrow runs from the label over the strip and lands on the highlighted icon */
.uw-menu-img .uw-pointer {
  position: absolute;
  left: 62%;
  top: 68.5%;
  width: calc(38% + 42px);
  border-top: 2.5px solid #e8571d;
  pointer-events: none;
}

.uw-menu-img .uw-pointer::before {
  content: '';
  position: absolute;
  left: -2px;
  top: -6.5px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 9px solid #e8571d;
}

.uw-menu-img {
  position: relative;
  flex-shrink: 0;
  width: 200px;
}

.uw-menu-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.uw-hl {
  position: absolute;
  border: 2.5px solid #e8571d;
  border-radius: 4px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.uw-hl-menu {
  left: 42%;
  top: 40%;
  width: 19.5%;
  height: 57%;
}

.uw-menu-label {
  margin-left: 46px;
  margin-top: 37px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #e8571d;
  white-space: nowrap;
}

.uw-callout {
  position: absolute;
  right: 4%;
  top: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: #e8571d;
  white-space: nowrap;
}

.uw-callout-arrow {
  position: relative;
  display: block;
  width: 0;
  height: 30px;
  margin-top: 4px;
  border-left: 2.5px solid #e8571d;
}

.uw-callout-arrow::after {
  content: '';
  position: absolute;
  left: -6px;
  bottom: -6px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #e8571d;
}

.uw-shot {
  position: relative;
  max-width: 640px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--blue-line);
}

.uw-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.uw-hl-counter {
  left: 86.3%;
  top: 2.2%;
  width: 11.3%;
  height: 5.6%;
  border-width: 2px;
}

/* generic info block (Discord / eligibility / who can you invite) */
.info-block {
  margin-bottom: 18px;
  padding: 18px 22px 18px;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
}

.info-block-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  padding-left: 12px;
  border-left: 4px solid var(--yellow);
  margin-bottom: 8px;
}

.info-list {
  margin-top: 8px;
}

.info-list li {
  position: relative;
  padding-left: 14px;
}

.info-list li+li {
  margin-top: 4px;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 5px;
  height: 5px;
  background: var(--blue);
  transform: rotate(45deg);
}

.info-list strong {
  color: var(--navy);
}

.info-warn {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(255, 61, 143, 0.06);
  border-radius: 6px;
  color: var(--pink);
}

.info-warn li+li {
  margin-top: 4px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-discord {
  background: #5865f2;
  color: var(--white);
  box-shadow: 0 4px 0 #3b45b8;
}

.btn-event {
  background: linear-gradient(180deg, #ffd23f 0%, var(--yellow) 55%, var(--yellow-deep) 100%);
  color: var(--navy);
  box-shadow: 0 4px 0 #b57a00;
  text-transform: none;
  letter-spacing: 0.3px;
}

/* even more rewards */
.more-rewards {
  margin-top: 6px;
  padding: 22px 22px 22px;
  background: var(--navy);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  box-shadow: inset 0 0 0 1.5px rgba(142, 162, 255, 0.3);
}

.more-rewards-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  color: var(--yellow);
  margin-bottom: 8px;
}

.more-rewards-text {
  text-wrap: balance;
}

.more-rewards-sub {
  display: inline-block;
  margin: 16px 0 12px;
  padding: 3px 12px;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
}

.more-rewards-row {
  gap: 14px 6px;
  margin-bottom: 14px;
}

.more-rewards-row .item {
  width: 94px;
}

.more-rewards .item-name {
  color: var(--white);
}

.item-box-light {
  background: var(--white);
  border-color: var(--white);
}

.item-box-light img {
  object-fit: contain;
  padding: 4px;
}

/* referral code generation note */
.gen-note {
  margin-bottom: 18px;
  padding: 12px 16px;
  background: var(--yellow-pale);
  border-left: 4px solid var(--yellow);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.gen-note p+p {
  margin-top: 4px;
}

.gen-note strong {
  color: var(--navy);
}

/* popup contribution column */
.table-cell.contrib-col {
  font-family: var(--font-cond);
  font-weight: 700;
  color: var(--blue);
}

.table-cell.contrib-col.done {
  color: #1a9a4a;
}

/* ─── Copy Row ─── */
.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.copy-buttons {
  display: flex;
  gap: 10px;
}

.btn-copy {
  height: 42px;
  min-width: 140px;
  padding: 0 18px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 6px;
  box-shadow: 0 4px 0 #060c2e;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.btn-copy:hover:not(:disabled) {
  background: var(--navy-ink);
  transform: translateY(-1px);
}

.btn-copy:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #060c2e;
}

.btn-copy:disabled {
  background: #c9cfe6;
  box-shadow: 0 4px 0 #a9b1d1;
  cursor: not-allowed;
}

.btn-copy.copied {
  background: var(--blue);
  box-shadow: 0 4px 0 #2338b8;
}

.referral-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.referral-label {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.referral-count {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
}

.referral-max {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  color: var(--blue-soft);
  margin-left: 4px;
}

.btn-details {
  height: 38px;
  padding: 0 18px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-details:hover {
  background: var(--navy);
  color: var(--yellow);
}

/* ─── Envelope + Notices ─── */
.envelope-wrap {
  position: relative;
  margin: -42% 4% 0;
}

/* envelope back panel sits behind the letter */
.envelope-back {
  position: absolute;
  z-index: 1;
  left: 1%;
  right: 1%;
  top: 1.5%;
  bottom: 4%;
  border-radius: 8px;
  background: linear-gradient(180deg, #0b1848 0%, #0a1440 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.envelope-figure {
  position: relative;
  z-index: 3;
}

.envelope-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55));
}

.wax-seal {
  position: absolute;
  left: 50%;
  top: 51%;
  width: 13%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.notices {
  position: relative;
  z-index: 4;
  margin-top: -6%;
  background: var(--navy);
  border-radius: 10px;
  padding: 22px 32px 26px;
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(142, 162, 255, 0.25);
}

.notices-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1.5px dashed rgba(142, 162, 255, 0.4);
}

.notices-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--yellow);
}

.notices-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.5;
}

.notices-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--yellow);
  transform: rotate(45deg);
}

.notices-list li+li {
  margin-top: 4px;
}

/* ─── Footer ─── */
.footer {
  text-align: center;
  padding: 44px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo-papaya {
  height: 22px;
  object-fit: contain;
  opacity: 0.75;
}

.logo-closers {
  height: 28px;
  object-fit: contain;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.copyright {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* ─── Details Popup ─── */
.popup-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 16px;
  background: rgba(5, 8, 30, 0.82);
  backdrop-filter: blur(4px);
  animation: fade-in 0.2s ease forwards;
}

.popup-panel {
  position: relative;
  width: 760px;
  max-width: 100%;
  background: var(--paper);
  border-radius: 12px;
  padding: 28px 32px 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(142, 162, 255, 0.4);
  animation: popup-slide-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.popup-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  border-radius: 0 0 4px 4px;
}

.popup-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.popup-header .section-badge {
  margin-bottom: 8px;
}

.popup-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 28px;
  color: var(--navy);
  line-height: 1.1;
}

.btn-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--white);
  border: 1.5px solid var(--blue-line);
  color: var(--navy);
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-close:hover {
  background: var(--navy);
  color: var(--yellow);
  border-color: var(--navy);
}

.details-table {
  border: 1.5px solid var(--blue-line);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.table-body {
  max-height: 46vh;
  overflow-y: auto;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: 60px 1.3fr 1.2fr 1fr;
}

.table-header {
  background: var(--navy);
}

.table-header-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.table-header-cell:last-child {
  border-right: none;
}

.table-row {
  border-top: 1px solid var(--blue-line);
}

.table-row.even {
  background: var(--blue-tint);
}

.table-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-right: 1px solid var(--blue-line);
}

.table-cell:last-child {
  border-right: none;
}

.table-cell.no-col {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}

.table-cell.empty {
  color: rgba(28, 35, 64, 0.35);
}

.popup-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--blue);
  line-height: 1.5;
}

/* ─── Result Popup ─── */
.result-popup-backdrop {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 16px;
  background: rgba(5, 8, 30, 0.86);
  backdrop-filter: blur(6px);
  animation: fade-in 0.2s ease forwards;
}

.result-popup-panel {
  position: relative;
  width: 480px;
  max-width: 100%;
  background: var(--paper);
  border-radius: 12px;
  border-top: 5px solid var(--yellow);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  animation: popup-slide-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  overflow: hidden;
}

.result-popup-panel.error {
  border-top-color: var(--pink);
}

.result-popup-body {
  padding: 34px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.result-popup-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-popup-icon.success {
  background: var(--yellow-pale);
  color: var(--yellow-deep);
  border: 2px solid var(--yellow);
}

.result-popup-icon.error {
  background: rgba(255, 61, 143, 0.1);
  color: var(--pink);
  border: 2px solid rgba(255, 61, 143, 0.5);
}

.result-popup-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--navy);
  line-height: 1.1;
}

.result-popup-message {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 380px;
}

.result-popup-btn {
  margin-top: 6px;
  height: 46px;
  min-width: 150px;
  padding: 0 28px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--navy);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffd23f 0%, var(--yellow) 55%, var(--yellow-deep) 100%);
  box-shadow: 0 4px 0 #b57a00;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.result-popup-btn.error {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 0 #060c2e;
}

.result-popup-btn:active {
  transform: translateY(3px);
  box-shadow: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popup-slide-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ─── Toast ─── */
.toast-container {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(15, 29, 92, 0.96);
  border: 1.5px solid rgba(255, 196, 0, 0.6);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  animation: toast-in 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.toast-out {
  animation: toast-out 0.22s ease-in forwards;
}

.toast-icon {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.toast-icon svg {
  display: block;
}

.toast-text {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.8px;
  color: var(--white);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* ─── Shake Animation ─── */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-6px);
  }

  40%,
  80% {
    transform: translateX(6px);
  }
}

.shake-anim {
  animation: shake 0.4s ease;
  border-color: var(--pink) !important;
  box-shadow: 0 0 0 3px rgba(255, 61, 143, 0.25) !important;
}

/* ─── Tablet: hide side characters when they would overlap ─── */
@media (max-width: 1400px) {

  .char-tris,
  .char-yuria {
    display: none;
  }
}

/* ─── Tablet / small desktop ─── */
@media (max-width: 860px) {
  .milestone-row {
    grid-template-columns: 1fr 1fr;
  }

  .milestone-wide {
    grid-column: 1 / -1;
  }
}

/* ─── MOBILE (< 640px) ─── */
@media (max-width: 639px) {

  .bg-glow,
  .bg-beams {
    display: none;
  }

  .main-column {
    padding: 0 10px 40px;
  }

  .header {
    padding-top: 36px;
  }

  .date-badge {
    font-size: 12px;
    letter-spacing: 1.2px;
    padding: 6px 12px;
    margin-bottom: 14px;
  }

  .title {
    padding: 0 12px;
    margin-bottom: 8px;
  }

  .title-line {
    font-size: 52px;
  }

  .title-line-2 {
    font-size: 62px;
    margin-top: -2px;
  }

  .title-star-1 {
    font-size: 18px;
    top: 2px;
  }

  .title-star-2 {
    font-size: 24px;
    bottom: 8px;
  }

  .title-star-3 {
    font-size: 12px;
    right: 20px;
  }

  .header-subtitle {
    font-size: 17px;
    letter-spacing: 1px;
    margin-bottom: 28px;
  }

  .header-subtitle::before,
  .header-subtitle::after {
    width: 20px;
    margin: 0 8px 3px 0;
  }

  .header-subtitle::after {
    margin: 0 0 3px 8px;
  }

  .ticket-box {
    margin-bottom: 18px;
  }

  .ticket-box::before,
  .ticket-box::after {
    width: 20px;
    height: 20px;
    top: 38px;
  }

  .ticket-box::before {
    left: -10px;
  }

  .ticket-box::after {
    right: -10px;
  }

  .ticket-box-top {
    padding: 12px 10px 10px;
    gap: 8px;
  }

  .ticket-code {
    display: none;
  }

  .ticket-label {
    font-size: 11px;
    letter-spacing: 1.5px;
  }

  .ticket-barcode {
    width: 56px;
    height: 16px;
  }

  .ticket-box-body {
    padding: 16px 16px 20px;
    font-size: 14px;
  }

  .ticket-headline {
    font-size: 19px;
  }

  .paper {
    margin-left: 3%;
    margin-right: 3%;
  }

  .paper-inner {
    padding: 12px 12px 44%;
  }

  .paper-divider {
    margin: 26px -14px;
  }

  .section-title {
    font-size: 32px;
  }

  .section-head-code {
    display: none;
  }

  .reward-card {
    padding: 14px 12px 12px;
  }

  .reward-cond {
    font-size: 16px;
  }

  .reward-item {
    padding: 14px 6px 16px;
  }

  .item-row {
    gap: 14px 2px;
  }

  .item,
  .item-row-sm .item {
    width: 84px;
  }

  .item-name {
    font-size: 13px;
  }

  .item-row-sm {
    gap: 14px 6px;
  }

  .milestone .item {
    width: 96px;
  }

  .item-row-wide .item {
    width: 96px;
  }

  .lucky-draw {
    padding: 12px 12px 14px;
  }

  .lucky-draw-prize {
    font-size: 22px;
  }

  .reward-note,
  .item-sub-note {
    font-size: 13.5px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 12px;
  }

  .form-label {
    font-size: 17px;
  }

  .btn-primary {
    width: 100%;
  }

  .code-display {
    font-size: 20px;
  }

  .notes li {
    font-size: 13.5px;
  }

  .contrib-info {
    padding: 14px 14px 12px;
    font-size: 13.5px;
  }

  .contrib-info-title {
    font-size: 19px;
  }

  .contrib-info-cols {
    gap: 10px;
  }

  .uw-menu-img {
    width: 150px;
  }

  .uw-menu-label {
    margin-top: 25px;
  }

  .contrib-badge {
    width: 36px;
    height: 36px;
  }

  .info-block {
    padding: 14px 14px 14px;
    font-size: 13.5px;
  }

  .info-block-title {
    font-size: 18px;
  }

  .more-rewards {
    padding: 18px 12px;
    font-size: 13.5px;
  }

  .more-rewards-title {
    font-size: 22px;
  }

  .more-rewards-row .item {
    width: 90px;
  }

  .btn-link {
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .copy-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .copy-buttons {
    width: 100%;
  }

  .btn-copy {
    flex: 1;
    min-width: 0;
  }

  .referral-info {
    justify-content: space-between;
  }

  .referral-label {
    font-size: 13px;
  }

  .notices {
    padding: 16px 14px 18px;
  }

  .notices-title {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .notices-list li {
    font-size: 13.5px;
  }

  .footer {
    padding: 32px 0 10px;
  }

  .logo-papaya {
    height: 18px;
  }

  .logo-closers {
    height: 22px;
    padding-left: 18px;
  }

  .copyright {
    font-size: 11px;
  }

  .popup-panel {
    padding: 22px 16px 20px;
  }

  .popup-title {
    font-size: 22px;
  }

  .table-header,
  .table-row {
    grid-template-columns: 40px 1.4fr 1fr 0.9fr;
  }

  .table-header-cell,
  .table-cell {
    font-size: 12px;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
  }

  .table-header-cell {
    letter-spacing: 0.5px;
  }
}
