/* Halloween Wrapped — readable overlays on busy event arts */

:root {
  --hw-orange: #ff9a1a;
  --hw-orange-deep: #ff6a00;
  --hw-gold: #ffd27a;
  --hw-ink: #fff8ef;
  --hw-muted: #e8d4c0;
  --hw-paper: #f0dfc2;
  --hw-paper-ink: #3a2414;
  --hw-paper-line: rgba(90, 50, 20, 0.18);
  --hw-purple: #5a2a8f;
  --hw-purple-2: #3d1a68;
  --hw-glass: rgba(12, 6, 24, 0.55);
  --hw-glass-edge: rgba(255, 190, 110, 0.38);
}

* { box-sizing: border-box; }

html, body.hw-body {
  margin: 0;
  height: 100%;
  background: #05030a;
  color: var(--hw-ink);
  font-family: Manrope, system-ui, sans-serif;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.hw-app {
  position: relative;
  width: min(100%, 430px);
  height: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #0a0614;
}

@media (min-width: 900px) {
  html, body.hw-body {
    width: 100%;
    height: 100%;
  }

  .hw-app {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

.hw-top {
  position: absolute;
  z-index: 8;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(0.7rem + env(safe-area-inset-top, 0px)) 1rem 0.5rem;
  pointer-events: none;
}

.hw-brand {
  font-family: Cinzel, Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  color: rgba(255, 220, 150, 0.9);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.hw-page {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,246,234,0.82);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.hw-slides { position: absolute; inset: 0; }

.hw-slide {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  padding: calc(2.55rem + env(safe-area-inset-top, 0px)) 0.95rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  background-color: #12081c;
  background-size: cover;
  background-position: center top;
  animation: hwIn 0.4s ease both;
}

.hw-slide.is-on { display: flex; }

/* Scrim: keep faces/castles visible, darken only where copy sits */
.hw-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,2,10,0.62) 0%, rgba(5,2,10,0.18) 18%, transparent 34%),
    linear-gradient(180deg, transparent 48%, rgba(5,2,10,0.35) 72%, rgba(5,2,10,0.82) 100%),
    radial-gradient(120% 70% at 50% 0%, rgba(5,2,10,0.35), transparent 55%);
  pointer-events: none;
}

/* Content column */
.hw-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 24.5rem;
  margin: 0 auto;
  gap: 0.55rem;
}

.hw-content > .hw-spacer { flex: 1 1 auto; min-height: 0.35rem; }

@media (min-width: 900px) {
  .hw-slide {
    background-position: center center;
    /* Most PC arts: character left → copy on the right */
    padding: 2.2rem 6% 2rem 46%;
    align-items: stretch;
  }

  .hw-slide::before {
    background:
      linear-gradient(90deg, transparent 0%, transparent 38%, rgba(6,3,12,0.35) 52%, rgba(6,3,12,0.62) 100%),
      linear-gradient(180deg, rgba(6,3,12,0.35) 0%, transparent 22%, transparent 70%, rgba(6,3,12,0.45) 100%);
  }

  .hw-content {
    margin: 0;
    max-width: 30rem;
    justify-content: center;
  }

  /* Scene 5 — compact center column in the orange void */
  .hw-slide--s5 {
    padding: 2rem 22%;
    align-items: center;
  }

  .hw-slide--s5::before {
    background:
      radial-gradient(ellipse 42% 48% at 50% 48%, rgba(8,4,16,0.4), transparent 72%),
      linear-gradient(180deg, rgba(6,3,12,0.2), transparent 28%, transparent 75%, rgba(6,3,12,0.28));
  }

  /* Intro PC — title / lead / CTA on the center axis */
  .hw-slide--s1 {
    padding: 2.2rem 12%;
    align-items: center;
  }

  .hw-slide--s1::before {
    background:
      linear-gradient(180deg, rgba(6,3,12,0.45) 0%, rgba(6,3,12,0.15) 28%, transparent 48%),
      linear-gradient(180deg, transparent 55%, rgba(6,3,12,0.35) 78%, rgba(6,3,12,0.65) 100%),
      radial-gradient(ellipse 55% 50% at 50% 40%, rgba(8,4,16,0.25), transparent 70%);
  }

  .hw-slide--s1 .hw-content {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    max-width: 34rem;
    width: 100%;
  }

  .hw-slide--s1 .hw-lead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 28rem;
  }

  .hw-slide--s1 .hw-cta {
    max-width: 26rem;
  }

  /* Candy PC — center column */
  .hw-slide--s2 {
    padding: 2.2rem 12%;
    align-items: center;
  }

  .hw-slide--s2::before {
    background:
      linear-gradient(180deg, rgba(6,3,12,0.45) 0%, rgba(6,3,12,0.15) 28%, transparent 48%),
      linear-gradient(180deg, transparent 55%, rgba(6,3,12,0.4) 78%, rgba(6,3,12,0.7) 100%),
      radial-gradient(ellipse 55% 50% at 50% 35%, rgba(8,4,16,0.22), transparent 70%);
  }

  .hw-slide--s2 .hw-content {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    max-width: 34rem;
    width: 100%;
  }

  .hw-slide--s2 .hw-purple {
    width: min(100%, 30rem);
    text-align: center;
  }

  .hw-slide--s5 .hw-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
    width: min(100%, 32rem);
    gap: 0.65rem;
    /* PC: exact center of the purple void */
    transform: none;
  }

  .hw-slide--s5 .hw-glow-title {
    font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  }

  .hw-slide--s5 .hw-parchment,
  .hw-slide--s5 .hw-purple {
    width: 100%;
    text-align: left;
  }

  .hw-slide--s5 .hw-parchment {
    padding: 1rem 1.15rem;
  }

  .hw-slide--s5 .hw-prow {
    padding: 0.5rem 0;
    font-size: 1.05rem;
  }

  .hw-slide--s5 .hw-prow__val { font-size: 1.2rem; }

  .hw-slide--s5 .hw-purple {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  /* Title plaque PC — true center of the frame */
  .hw-slide--s7 {
    padding: 2rem 18%;
    align-items: center;
    justify-content: center;
  }

  .hw-slide--s7::before {
    background:
      radial-gradient(ellipse 48% 55% at 50% 50%, rgba(8,4,16,0.4), transparent 70%),
      linear-gradient(180deg, rgba(6,3,12,0.2), transparent 30%, transparent 70%, rgba(6,3,12,0.35));
  }

  .hw-slide--s7 .hw-content {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    justify-content: center;
    max-width: 26rem;
    transform: none;
  }

  .hw-slide--s7 .hw-spacer { display: none; }
  .hw-slide--s7 .hw-plaque { width: min(100%, 24rem); }

  /* Bebop PC — centered column (crew is mid-frame, not left) */
  .hw-slide--s8 {
    padding: 2rem 18%;
    align-items: center;
  }

  .hw-slide--s8::before {
    background:
      linear-gradient(180deg, rgba(6,3,12,0.55) 0%, rgba(6,3,12,0.2) 28%, transparent 48%),
      radial-gradient(ellipse 50% 55% at 50% 28%, rgba(8,4,16,0.45), transparent 70%);
  }

  .hw-slide--s8 .hw-content {
    margin: 0 auto;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 0.4rem;
    max-width: 28rem;
  }

  .hw-slide--s8 .hw-summary {
    margin-top: 0.35rem;
    width: min(100%, 26rem);
    text-align: left;
  }
}

/* Mobile: protect lower character zone; stack copy mid-upper */
@media (max-width: 899px) {
  .hw-slide--s1 .hw-content,
  .hw-slide--s2 .hw-content,
  .hw-slide--s3 .hw-content,
  .hw-slide--s4 .hw-content,
  .hw-slide--s6 .hw-content,
  .hw-slide--s8 .hw-content {
    justify-content: flex-start;
  }

  /* Candy slide — title/number top, purple cards sit on the lower steps */
  .hw-slide--s2 .hw-content {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
  }

  .hw-slide--s2 .hw-spacer {
    flex: 1 1 auto;
    min-height: 1.5rem;
  }

  .hw-slide--s2 .hw-purple:first-of-type {
    margin-top: auto;
  }

  .hw-slide--s2::before {
    background:
      linear-gradient(180deg, rgba(5,2,10,0.58) 0%, rgba(5,2,10,0.15) 20%, transparent 36%),
      linear-gradient(180deg, transparent 55%, rgba(5,2,10,0.45) 78%, rgba(5,2,10,0.78) 100%);
  }

  /* Territories — parchment under title, favorite location at bottom */
  .hw-slide--s3 .hw-content {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }

  .hw-slide--s3 .hw-fav {
    margin-top: auto;
  }

  .hw-slide--s3::before {
    background:
      linear-gradient(180deg, rgba(5,2,10,0.58) 0%, rgba(5,2,10,0.15) 20%, transparent 36%),
      linear-gradient(180deg, transparent 55%, rgba(5,2,10,0.45) 78%, rgba(5,2,10,0.78) 100%);
  }

  /* ToT — parchment under title, purple insight at bottom */
  .hw-slide--s4 .hw-content {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }

  .hw-slide--s4 .hw-purple {
    margin-top: auto;
  }

  .hw-slide--s4::before {
    background:
      linear-gradient(180deg, rgba(5,2,10,0.58) 0%, rgba(5,2,10,0.15) 20%, transparent 36%),
      linear-gradient(180deg, transparent 55%, rgba(5,2,10,0.45) 78%, rgba(5,2,10,0.78) 100%);
  }

  /* Shelly / 4 faces — compact stack only in the center glow */
  .hw-slide--s5 {
    justify-content: center;
    align-items: center;
    padding-top: calc(2.8rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }

  .hw-slide--s5::before {
    background:
      radial-gradient(ellipse 72% 42% at 50% 48%, rgba(10,4,18,0.42), transparent 70%),
      linear-gradient(180deg, rgba(6,3,12,0.35) 0%, transparent 18%, transparent 82%, rgba(6,3,12,0.4) 100%);
  }

  .hw-slide--s5 .hw-content {
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 0 1 auto;
    width: min(100%, 17.2rem);
    max-width: 72vw;
    max-height: none;
    gap: 0.4rem;
    /* Align up toward the center bat under the moon */
    transform: translateY(-40%) scale(0.86);
    transform-origin: center center;
  }

  .hw-slide--s5 .hw-glow-title {
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    margin: 0;
  }

  .hw-slide--s5 .hw-parchment {
    width: 100%;
    padding: 0.55rem 0.7rem;
    text-align: left;
    border-radius: 0.7rem;
  }

  .hw-slide--s5 .hw-prow {
    padding: 0.32rem 0;
    font-size: 0.82rem;
  }

  .hw-slide--s5 .hw-prow__val { font-size: 0.95rem; }

  .hw-slide--s5 .hw-purple {
    width: 100%;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    line-height: 1.3;
    border-radius: 0.65rem;
  }

  /* Title plaque — compact, lower center so the face stays clear */
  .hw-slide--s7 {
    justify-content: flex-end;
    padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
  }

  .hw-slide--s7::before {
    background:
      linear-gradient(180deg, rgba(5,2,10,0.35) 0%, transparent 22%, transparent 48%, rgba(5,2,10,0.4) 72%, rgba(5,2,10,0.72) 100%);
  }

  .hw-slide--s7 .hw-content {
    justify-content: flex-end;
    align-items: center;
    flex: 0 1 auto;
    width: min(100%, 18rem);
    max-width: 78vw;
    gap: 0;
    transform: scale(0.92);
    transform-origin: center bottom;
  }

  .hw-slide--s7 .hw-spacer {
    display: none;
  }

  .hw-slide--s7 .hw-plaque {
    max-width: none;
    width: 100%;
    padding: 0.85rem 0.85rem 0.95rem;
  }

  .hw-slide--s7 .hw-plaque__crown {
    font-size: 2.2rem;
  }

  .hw-slide--s7 .hw-plaque h2 {
    font-size: clamp(1.2rem, 5.2vw, 1.55rem);
    margin: 0.2rem 0 0.4rem;
  }

  .hw-slide--s7 .hw-plaque .hw-lead {
    font-size: 0.82rem;
  }

  /* Bebop finale — keep faces clear: copy stays upper, bottom open */
  .hw-slide--s8 {
    padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  }

  .hw-slide--s8::before {
    background:
      linear-gradient(180deg, rgba(5,2,10,0.7) 0%, rgba(5,2,10,0.35) 22%, rgba(5,2,10,0.08) 42%, transparent 58%),
      linear-gradient(180deg, transparent 70%, rgba(5,2,10,0.25) 100%);
  }

  .hw-slide--s8 .hw-content {
    justify-content: flex-start;
    gap: 0.4rem;
    max-height: 58%;
    flex: 0 1 auto;
  }

  .hw-slide--s8 .hw-summary {
    margin-top: 0.15rem;
    padding: 0.7rem 0.75rem;
    background: rgba(12, 6, 24, 0.72);
  }

  .hw-slide--s8 .hw-summary__head { margin-bottom: 0.35rem; }
  .hw-slide--s8 .hw-summary li { padding: 0.28rem 0; font-size: 0.8rem; }
  .hw-slide--s8 .hw-cta {
    margin-top: 0.45rem;
    padding: 0.72rem 0.85rem;
    font-size: 0.92rem;
  }

  .hw-slide--s8 .hw-avatar {
    width: 2.55rem;
    height: 2.55rem;
    font-size: 1.15rem;
  }
}

@keyframes hwIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hw-glow-title {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 6.4vw, 1.9rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffe7a8 0%, #ffb03a 42%, #ff7a12 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 12px rgba(255, 140, 30, 0.55))
    drop-shadow(0 2px 1px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.9));
}

.hw-lead {
  margin: 0;
  max-width: 22rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: rgba(8, 4, 16, 0.55);
  border: 1px solid rgba(255, 180, 100, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 244, 230, 0.95);
  font-size: 0.92rem;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0,0,0,0.65);
}

.hw-spacer { flex: 1; min-height: 0.35rem; }

/* Aged parchment — slight translucency so art peeks through */
.hw-parchment {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.22), transparent 28%),
    linear-gradient(135deg, rgba(246, 231, 200, 0.94), rgba(232, 207, 160, 0.92) 55%, rgba(217, 188, 134, 0.92));
  color: var(--hw-paper-ink);
  box-shadow:
    0 12px 32px rgba(0,0,0,0.42),
    inset 0 0 0 1px rgba(120, 70, 20, 0.28);
  backdrop-filter: blur(2px);
}

.hw-prow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.hw-prow + .hw-prow { border-top: 1px solid var(--hw-paper-line); }

.hw-prow__ico {
  width: 1.35rem;
  text-align: center;
  font-size: 1rem;
  opacity: 0.9;
}

.hw-prow__label { flex: 1; }
.hw-prow__val { font-weight: 800; font-size: 1.05rem; }

/* Purple glass */
.hw-purple {
  margin: 0;
  padding: 0.72rem 0.85rem;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(95, 45, 150, 0.78), rgba(40, 16, 78, 0.82));
  border: 1px solid var(--hw-glass-edge);
  box-shadow: 0 10px 26px rgba(0,0,0,0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f8ecff;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 650;
}

.hw-purple--center { text-align: center; }

.hw-candy-row {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.hw-candy-num {
  margin: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(2.6rem, 13vw, 3.6rem);
  font-weight: 800;
  line-height: 0.95;
  background: linear-gradient(180deg, #ffe7a8, #ff9a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter:
    drop-shadow(0 0 18px rgba(255, 140, 30, 0.55))
    drop-shadow(0 2px 2px rgba(0,0,0,0.75));
}

.hw-candy-unit {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.4rem;
  margin: 0;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(8, 4, 16, 0.5);
  border: 1px solid rgba(255, 180, 90, 0.28);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--hw-gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

@media (max-width: 899px) {
  .hw-candy-unit {
    font-size: 1rem;
    padding: 0.22rem 0.55rem;
  }
}

.hw-fav {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(45, 18, 80, 0.72);
  border: 1px solid rgba(180, 120, 255, 0.4);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hw-fav__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c9a6ff;
  font-weight: 800;
}

.hw-fav__name {
  margin: 0.25rem 0 0;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.05rem;
  color: var(--hw-gold);
}

.hw-fav__meta {
  margin: 0.2rem 0 0;
  color: var(--hw-muted);
  font-size: 0.85rem;
}

.hw-records { display: grid; gap: 0.38rem; margin: 0; }

.hw-rec {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.75rem;
  border-radius: 0.65rem;
  background: linear-gradient(90deg, rgba(90, 40, 150, 0.82), rgba(28, 12, 55, 0.78));
  border: 1px solid rgba(255, 180, 90, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.84rem;
  font-weight: 650;
  color: #f5e9ff;
}

.hw-rec b {
  margin-left: auto;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.05rem;
  color: var(--hw-gold);
}

.hw-plaque {
  margin: 0;
  text-align: center;
  padding: 1.1rem 1rem 1.2rem;
  border-radius: 0.9rem;
  background:
    linear-gradient(180deg, rgba(255,180,80,0.2), transparent 42%),
    linear-gradient(160deg, rgba(58, 36, 18, 0.92), rgba(18, 10, 6, 0.9) 60%, rgba(10, 6, 4, 0.92));
  border: 2px solid rgba(255, 180, 70, 0.55);
  box-shadow:
    0 0 40px rgba(255, 120, 20, 0.28),
    0 16px 40px rgba(0,0,0,0.45),
    inset 0 0 30px rgba(255, 140, 40, 0.08);
  backdrop-filter: blur(6px);
  max-width: 22rem;
  width: 100%;
}

.hw-plaque__crown {
  font-size: 2.7rem;
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(255, 160, 40, 0.7));
}

.hw-plaque__kicker {
  margin: 0.3rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hw-orange);
  font-weight: 800;
}

.hw-plaque h2 {
  margin: 0.3rem 0 0.5rem;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.35rem, 5.8vw, 1.8rem);
  background: linear-gradient(180deg, #ffe7a8, #ff9a1a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hw-plaque .hw-lead {
  margin: 0;
  background: transparent;
  border: 0;
  padding: 0;
  backdrop-filter: none;
  color: rgba(255, 230, 200, 0.92);
  font-size: 0.88rem;
  max-width: none;
}

.hw-summary {
  margin-top: auto;
  padding: 0.95rem;
  border-radius: 1rem;
  background: rgba(12, 6, 24, 0.82);
  border: 1px solid rgba(255, 170, 70, 0.42);
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hw-summary__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.hw-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: linear-gradient(145deg, #6b2bb5, #ff8a1f);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  border: 2px solid var(--hw-gold);
  overflow: hidden;
  flex: 0 0 auto;
}

.hw-avatar img { width: 100%; height: 100%; object-fit: cover; }

.hw-summary__name {
  margin: 0;
  font-weight: 800;
  font-size: 1.05rem;
}

.hw-summary__title {
  margin: 0.12rem 0 0;
  color: var(--hw-orange);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.hw-summary li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.38rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.86rem;
  color: var(--hw-muted);
}

.hw-summary li strong { color: var(--hw-ink); font-weight: 800; }

.hw-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.15rem;
  padding: 0.88rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb14a, #ff7a12 55%, #ff5c00);
  color: #2a1206;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  box-shadow:
    0 10px 28px rgba(255, 110, 0, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.35);
}

.hw-cta:active { transform: scale(0.985); }

.hw-hint {
  position: absolute;
  z-index: 7;
  left: 0; right: 0;
  bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,246,234,0.4);
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
  pointer-events: none;
}

.hw-loading {
  margin: auto;
  text-align: center;
  color: var(--hw-muted);
  padding: 2rem;
}
