@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700;800&family=Fraunces:opsz,wght@9..144,700;9..144,900&display=swap";
:root {
  --blue: #123f87;
  --deep: #06265b;
  --yellow: #ffd126;
  --pink: #e32f87;
  --green: #70bd43;
  --cyan: #00a8df;
  --orange: #f27624;
  --cream: #fff8e9;
  --ink: #092755;
  --white: #fff;
  --radius: 28px;
  font-family:
    DM Sans,
    sans-serif;
  color: var(--ink);
  background: var(--deep);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--deep);
}
button,
a,
input {
  font: inherit;
}
.app-shell {
  min-height: 100dvh;
  max-width: 520px;
  margin: auto;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
button,
.button {
  border: 0;
  cursor: pointer;
}
.primary,
.secondary,
.button {
  min-height: 58px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 9px #041f492e;
}
.primary:active {
  transform: translateY(3px);
  box-shadow: 0 6px #041f492e;
}
.primary:disabled {
  opacity: 0.6;
}
.secondary {
  background: transparent;
  border: 2px solid rgba(9, 39, 85, 0.16);
  color: var(--ink);
}
svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 8px;
}
h1,
h2 {
  font-family: Fraunces, serif;
  line-height: 0.89;
  letter-spacing: -0.045em;
  margin: 0;
}
h1 em,
h2 em {
  color: var(--pink);
  font-style: italic;
}
.topbar {
  height: 82px;
  background: var(--deep);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 46px 1fr 56px;
  align-items: center;
}
.topbar img {
  width: 112px;
  max-height: 45px;
  object-fit: contain;
  justify-self: center;
}
.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: #ffffff1a;
  display: grid;
  place-items: center;
}
.demo-pill {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--yellow);
  text-align: right;
}
.hero {
  min-height: 100dvh;
  color: #fff;
  background:
    radial-gradient(
      circle at 8% 24%,
      rgba(227, 47, 135, 0.72),
      transparent 22%
    ),
    radial-gradient(
      circle at 95% 52%,
      rgba(112, 189, 67, 0.46),
      transparent 24%
    ),
    linear-gradient(155deg, #0e54a2, var(--deep) 63%);
  padding: 36px 22px 40px;
  position: relative;
}
.hero:before {
  content: "20";
  position: absolute;
  font-family: Fraunces;
  font-size: 26rem;
  font-weight: 900;
  color: #ffffff09;
  top: 130px;
  left: -44px;
  line-height: 0.7;
}
.hero-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  top: -72px;
  right: -80px;
}
.anniversary-seal {
  width: 140px;
  display: block;
  margin: 0 auto 25px;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}
.hero h1 {
  font-size: clamp(3.4rem, 15vw, 5.2rem);
  position: relative;
}
.hero h1 em {
  color: var(--yellow);
}
.hero-copy {
  max-width: 380px;
  line-height: 1.55;
  color: #ffffffbf;
  position: relative;
}
.admin-test-banner {
  display: inline-flex;
  position: relative;
  margin: 0 0 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #ffffff24;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.experience-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  position: relative;
}
.experience {
  width: 100%;
  min-height: 94px;
  padding: 14px;
  border-radius: 24px;
  color: #fff;
  display: grid;
  grid-template-columns: 28px 54px 1fr;
  gap: 11px;
  align-items: center;
  text-align: left;
  transition: 0.2s transform;
}
.experience:active {
  transform: scale(0.98);
}
.experience-number {
  font-weight: 800;
  font-size: 0.68rem;
  opacity: 0.58;
  align-self: start;
}
.experience-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #ffffff2e;
}
.experience strong,
.experience small {
  display: block;
}
.experience strong {
  font-family: Fraunces;
  font-size: 1.22rem;
}
.experience small {
  margin-top: 4px;
  opacity: 0.78;
}
.photo-card {
  background: var(--pink);
}
.roulette-card {
  background: var(--orange);
}
.trivia-card {
  background: var(--green);
}
.privacy-note {
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.55;
  margin: 22px 0 0;
}
.page-title {
  padding: 32px 25px 24px;
  background: var(--deep);
  color: #fff;
}
.page-title h2,
.result-heading h2 {
  font-size: 3.4rem;
}
.page-title.compact {
  padding-bottom: 50px;
}
.camera-stage {
  position: relative;
  width: calc(100% - 32px);
  aspect-ratio: 9/16;
  margin: 18px auto;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe9d5, #f7e6ab);
}
.camera-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.is-mirrored {
  transform: scaleX(-1);
}
.camera-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 50px;
}
.camera-placeholder span {
  margin: auto;
  color: var(--blue);
}
.camera-placeholder svg {
  width: 52px;
  height: 52px;
}
.camera-placeholder p {
  font-weight: 700;
}
.camera-stage.is-live .camera-placeholder {
  display: none;
}
.camera-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(5, 44, 95, 0.68),
    transparent 42%,
    transparent 54%,
    rgba(5, 44, 95, 0.86)
  );
}
.camera-overlay img {
  position: absolute;
  width: 28%;
  left: 36%;
  top: 26%;
}
.camera-overlay div {
  position: absolute;
  left: 9.6%;
  right: 19%;
  top: 60%;
  padding: 4.2% 3%;
  border-radius: 18px;
  background: #032853e0;
  text-align: center;
  color: #fff;
}
.camera-overlay strong,
.camera-overlay span {
  display: block;
}
.camera-overlay strong {
  font-family: Fraunces;
  font-size: clamp(0.82rem, 3.6vw, 1.15rem);
}
.camera-overlay span {
  font-size: clamp(0.48rem, 2.1vw, 0.68rem);
  color: var(--yellow);
  margin-top: 4px;
}
.camera-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 22px 24px;
}
.camera-actions .primary {
  flex: 1;
}
.camera-actions.is-live {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
}
.camera-actions.is-live::after {
  content: "";
  width: 58px;
}
.camera-actions.is-live .capture {
  justify-self: center;
}
.square {
  width: 58px;
  padding: 0;
}
.capture {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pink);
  display: grid;
  place-items: center;
}
.capture i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pink);
}
.status {
  text-align: center;
  min-height: 24px;
  padding: 0 20px;
  color: #9d2a65;
}
.result-heading {
  padding: 28px 24px 20px;
}
.photo-result {
  display: block;
  width: calc(100% - 56px);
  margin: 0 auto;
  border-radius: 30px;
  box-shadow: 0 24px 50px #06265b33;
}
.stacked-actions {
  display: grid;
  gap: 12px;
  padding: 25px 28px 10px;
}
.instagram-note {
  text-align: center;
  padding: 0 30px 30px;
  color: #6d7790;
}
.quiz-progress {
  padding: 28px 24px 10px;
}
.quiz-progress span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.quiz-progress div {
  height: 7px;
  background: #e2e5dd;
  border-radius: 8px;
  margin-top: 10px;
  overflow: hidden;
}
.quiz-progress i {
  display: block;
  height: 100%;
  background: var(--pink);
  border-radius: 8px;
}
.question-card {
  padding: 28px 22px;
}
.question-card h2 {
  font-size: 2.35rem;
  line-height: 1.02;
}
.options {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.options button {
  min-height: 68px;
  border-radius: 20px;
  padding: 12px 18px;
  background: #fff;
  box-shadow: 0 7px 22px #06265b14;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 13px;
}
.options span {
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
}
.wheel-wrap {
  position: relative;
  --wheel-size: min(330px, calc(100vw - 32px));
  --label-offset: max(-110px, calc(-30vw + 9.6px));
  width: var(--wheel-size);
  height: var(--wheel-size);
  margin: -30px auto 12px;
}
.wheel-pointer {
  position: absolute;
  z-index: 3;
  top: -7px;
  left: calc(50% - 18px);
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 40px solid var(--pink);
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.2));
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 10px solid white;
  position: relative;
  overflow: hidden;
  background: conic-gradient(
    from -36deg,
    var(--yellow) 0 20%,
    var(--pink) 20% 40%,
    var(--green) 40% 60%,
    var(--cyan) 60% 80%,
    var(--orange) 80%
  );
  box-shadow: 0 18px 40px #05265b47;
  transition: transform 3.2s cubic-bezier(0.12, 0.73, 0.05, 1);
}
.wheel.is-spinning {
  transform: rotate(var(--spin-deg, 1800deg));
}
.wheel > .wheel-label {
  position: absolute;
  width: 40px;
  height: 34px;
  left: calc(50% - 20px);
  top: 50%;
  transform-origin: 20px 17px;
  transform: translateY(-50%) rotate(var(--label-angle))
    translateY(var(--label-offset));
  text-align: center;
  color: var(--ink);
}
.wheel-label b {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin: 0 auto;
  background: #ffffffe6;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 34px;
  box-shadow: 0 3px 8px #05265b2e;
  transform: rotate(var(--label-counter-angle));
}
.wheel-center {
  position: absolute;
  width: clamp(88px, 31.82%, 105px);
  height: clamp(88px, 31.82%, 105px);
  border-radius: 50%;
  background: var(--deep);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 7px solid white;
  display: grid;
  place-items: center;
}
.wheel-center img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.wheel-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 10px;
  padding: 6px 24px 4px;
}
.wheel-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1.15;
}
.wheel-legend span:last-child {
  grid-column: 1/-1;
}
.wheel-legend b {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}
.roulette-copy {
  padding: 8px 28px 40px;
  text-align: center;
}
.roulette-copy p {
  line-height: 1.5;
  color: #6d7790;
}
.roulette-copy .primary {
  width: 100%;
  margin-top: 14px;
}
.prize-result {
  min-height: calc(100dvh - 82px);
  padding: 65px 26px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prize-result h2 {
  font-size: 4.5rem;
  color: var(--pink);
}
.prize-result > p:not(.eyebrow) {
  line-height: 1.6;
  color: #6d7790;
  max-width: 360px;
}
.prize-ticket {
  width: 100%;
  margin: 35px 0 20px;
  padding: 32px 20px;
  background: var(--yellow);
  border-radius: 26px;
  position: relative;
  box-shadow: 0 16px #0927551a;
}
.prize-ticket:before,
.prize-ticket:after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--cream);
  top: 50%;
  transform: translateY(-50%);
}
.prize-ticket:before {
  left: -13px;
}
.prize-ticket:after {
  right: -13px;
}
.prize-ticket small,
.prize-ticket strong,
.prize-ticket span {
  display: block;
}
.prize-ticket strong {
  font-family: Fraunces;
  font-size: 1.8rem;
  margin: 8px;
}
.prize-ticket span {
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-top: 14px;
  border-top: 1px dashed rgba(9, 39, 85, 0.35);
}
.roulette-ticket {
  background: var(--orange);
  color: #fff;
}
.prize-result .primary {
  width: 100%;
  margin-top: auto;
}
.confetti i {
  position: absolute;
  z-index: 5;
  width: 8px;
  height: 18px;
  background: var(--pink);
  left: calc(var(--i) * 6%);
  top: -20px;
  animation: fall 2.8s calc(var(--i) * -0.1s) infinite linear;
}
.confetti i:nth-child(3n) {
  background: var(--yellow);
}
.confetti i:nth-child(3n + 1) {
  background: var(--green);
}
@keyframes fall {
  to {
    transform: translate(30px, 110vh) rotate(500deg);
  }
}
.loading {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  text-align: center;
}
.spinner {
  width: 52px;
  height: 52px;
  border: 7px solid #d9e0e8;
  border-top-color: var(--pink);
  border-radius: 50%;
  margin: auto;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.admin-page {
  background: #f4f6f9;
  max-width: 900px;
}
.admin-login {
  max-width: 430px;
  margin: auto;
  padding: 80px 28px;
}
.admin-login img {
  width: 210px;
  margin-bottom: 55px;
}
.admin-login h2,
.admin-dashboard h2 {
  font-size: 3rem;
}
.admin-login > p {
  line-height: 1.55;
}
.admin-login form {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}
.admin-login label {
  font-weight: 700;
}
.admin-login input {
  width: 100%;
  height: 56px;
  border: 2px solid #dae0e9;
  border-radius: 14px;
  padding: 0 15px;
  margin-top: 8px;
}
.admin-dashboard {
  padding: 35px 24px;
}
.admin-dashboard header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.admin-dashboard header .secondary {
  min-height: 45px;
}
.admin-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e8edf5;
  color: #59677d;
  font-size: 0.76rem;
}
.admin-session button {
  border: 0;
  background: transparent;
  color: var(--pink);
  font-weight: 800;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 35px 0;
}
.metrics article {
  background: #fff;
  padding: 22px;
  border-radius: 20px;
}
.metrics strong,
.metrics span {
  display: block;
}
.metrics strong {
  font-family: Fraunces;
  font-size: 2.5rem;
}
.metrics span {
  color: #758095;
  font-size: 0.82rem;
}
.admin-list {
  display: grid;
  gap: 10px;
}
.admin-prize-group {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #e9eef8;
  border: 2px solid #d7e0f0;
}
.admin-prize-group h3 {
  margin: 0 0 12px;
  font-family: Fraunces, serif;
  font-size: 1.7rem;
  color: var(--ink);
}
.admin-prize-group + .admin-prize-group {
  margin-top: 34px;
  background: #fff4d7;
  border-color: #f2d987;
}
.admin-list form {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
  align-items: start;
}
.admin-list i {
  height: 100%;
  min-height: 76px;
  border-radius: 8px;
}
.admin-list small {
  display: block;
  margin-bottom: 8px;
  color: #7b8494;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-prize-fields label {
  display: grid;
  gap: 5px;
  color: #59677d;
  font-size: 0.72rem;
  font-weight: 700;
}
.admin-prize-fields input[type="text"],
.admin-prize-fields input:not([type]) {
  width: 100%;
}
.admin-prize-fields input {
  min-width: 0;
  height: 42px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 0 10px;
  color: var(--ink);
  background: #fff;
}
.admin-stock-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.admin-active {
  grid-template-columns: 20px 1fr !important;
  align-items: center;
  margin-top: 10px;
}
.admin-active input {
  width: 20px;
  height: 20px;
  padding: 0;
}
.admin-save {
  grid-column: 2;
  min-height: 42px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 800;
}
.admin-save-status {
  grid-column: 2;
  min-height: 18px;
  margin: -5px 0 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}
.admin-help {
  color: #7b8494;
  font-size: 0.8rem;
}
.instagram-note {
  font-weight: 700;
}
.camera-overlay {
  background: none;
}
.camera-overlay:after {
  display: none;
}
.camera-overlay > .camera-anniversary-logo {
  position: absolute;
  z-index: 2;
  width: 21.3%;
  left: 34.54%;
  top: 61.88%;
}
.camera-overlay div {
  z-index: 1;
  left: 9.63%;
  right: 19.26%;
  top: 50%;
  height: 11.46%;
  padding: 3.2% 3% 2%;
}
.camera-overlay strong {
  font-family:
    DM Sans,
    sans-serif;
  font-size: clamp(0.74rem, 3.15vw, 1rem);
  line-height: 1.15;
}
.camera-overlay .camera-brand-logo {
  position: static;
  display: block;
  width: 33.85%;
  height: auto;
  margin: 4% auto 0;
}
.camera-placeholder {
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 29% 24% 12%;
}
.camera-placeholder span {
  margin: 0;
}
.camera-placeholder svg {
  width: clamp(24px, 8vw, 36px);
  height: clamp(24px, 8vw, 36px);
}
.camera-placeholder p {
  max-width: 150px;
  margin: 0;
  font-size: clamp(0.65rem, 2.6vw, 0.82rem);
  line-height: 1.2;
}
.camera-overlay > .campaign-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
[hidden] {
  display: none !important;
}

.my-prizes-link { width: 100%; margin-top: 10px; padding: 10px; color: #fff; background: transparent; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.prize-qr { width: min(210px, 62vw); margin: 18px auto; border-radius: 18px; padding: 12px; background: #fff; box-shadow: 0 12px 32px rgba(9, 39, 85, 0.16); }
.prize-qr svg { display: block; width: 100%; height: auto; }
.instagram-share { min-height: 66px; border-radius: 22px; padding: 10px 22px; color: #fff; background: linear-gradient(115deg, #7137ed, #e52f86 58%, #f36f2c); font-weight: 800; box-shadow: 0 10px 22px #c82f7c35; display:flex; align-items:center; justify-content:center; gap:12px; }
.instagram-share svg { width:27px; height:27px; flex:0 0 auto; fill:none; stroke:currentColor; stroke-width:1.8; }
.instagram-share .instagram-dot { fill:currentColor; stroke:none; }
.instagram-share span { display:flex; flex-direction:column; align-items:flex-start; line-height:1.05; font-size:1rem; }
.instagram-share small { margin-bottom:4px; font-size:.64rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; opacity:.82; }
.my-prizes-page { background: #f7f9fc; }
.recovered-prizes { display: grid; gap: 14px; padding: 0 20px 38px; }
.recovered-prize { border: 1px solid rgba(9, 39, 85, 0.1); border-radius: 24px; padding: 22px; background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(9, 39, 85, 0.07); }
.recovered-prize.is-redeemed { opacity: 0.72; }
.recovered-status { display: inline-block; border-radius: 999px; padding: 6px 10px; color: #337b1a; background: #eaf7e5; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.recovered-prize.is-redeemed .recovered-status { color: #68758a; background: #edf0f4; }
.recovered-prize h3 { margin: 14px 0 8px; font-family: Fraunces, serif; font-size: 1.7rem; }
.recovered-prize code { color: #123f87; font-size: 1rem; font-weight: 800; }
.recovered-prize p { color: #718097; font-size: 0.84rem; line-height: 1.45; }
.empty-prizes { padding: 46px 24px; text-align: center; }
.empty-prizes strong { font-family: Fraunces, serif; font-size: 1.8rem; }
.empty-prizes p { margin: 12px 0 24px; color: #718097; }
@media (min-width: 700px) {
  body {
    padding: 24px;
  }
  .app-shell {
    min-height: calc(100dvh - 48px);
    border-radius: 34px;
    box-shadow: 0 30px 80px #0000004d;
  }
}
@media (max-width: 600px) {
  .home-page {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }
  .home-page .hero {
    height: 100dvh;
    min-height: 0;
    padding: clamp(12px, 2dvh, 22px) 18px 10px;
  }
  .home-page .anniversary-seal {
    width: clamp(76px, 12dvh, 105px);
    margin-bottom: clamp(6px, 1dvh, 12px);
  }
  .home-page .hero .eyebrow {
    font-size: 0.6rem;
    margin-bottom: 4px;
  }
  .home-page .hero h1 {
    font-size: clamp(2.7rem, 7.2dvh, 3.65rem);
    line-height: 0.85;
  }
  .home-page .hero-copy {
    display: none;
  }
  .home-page .experience-list {
    gap: clamp(6px, 1dvh, 10px);
    margin-top: clamp(12px, 2dvh, 20px);
  }
  .home-page .experience {
    min-height: clamp(66px, 10dvh, 82px);
    padding: 9px 11px;
    border-radius: 19px;
    grid-template-columns: 21px 45px 1fr;
    gap: 9px;
  }
  .home-page .experience-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
  }
  .home-page .experience strong {
    font-size: clamp(1rem, 2.5dvh, 1.15rem);
  }
  .home-page .experience small {
    font-size: 0.7rem;
    margin-top: 1px;
  }
  .home-page .privacy-note {
    display: none;
  }
  .result-page {
    min-height: 100dvh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .result-page .topbar {
    height: 64px;
    padding: 10px 16px;
  }
  .result-page .topbar img {
    max-height: 38px;
    width: 100px;
  }
  .result-page .result-heading {
    padding: 10px 20px 7px;
  }
  .result-page .result-heading .eyebrow {
    display: none;
  }
  .result-page .result-heading h2 {
    font-size: 2.15rem;
    line-height: 1;
  }
  .result-page .result-heading br {
    display: none;
  }
  .result-page .photo-result {
    width: min(calc(100% - 44px), calc((100dvh - 282px) * 0.5625));
    border-radius: 20px;
    box-shadow: 0 12px 30px #06265b29;
  }
  .result-page .stacked-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 16px 6px;
  }
  .result-page .stacked-actions .primary,
  .result-page .stacked-actions .secondary,
  .result-page .stacked-actions .instagram-share {
    min-height: 52px;
    padding: 0 10px;
    font-size: 0.82rem;
  }
  .result-page .stacked-actions .instagram-share { min-height:60px; }
  .result-page .instagram-note {
    font-size: 0.78rem;
    line-height: 1.25;
    margin: 5px 0 0;
    padding: 0 18px calc(24px + env(safe-area-inset-bottom));
  }
  .photo-page .topbar,
  .roulette-page .topbar {
    height: 64px;
    padding: 10px 16px;
  }
  .photo-page .topbar img,
  .roulette-page .topbar img {
    max-height: 38px;
    width: 100px;
  }
  .photo-page .page-title {
    padding: 14px 22px 12px;
  }
  .photo-page .page-title h2 {
    font-size: 2.35rem;
    line-height: 0.9;
  }
  .photo-page .page-title .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 5px;
  }
  .photo-page .camera-stage {
    width: min(calc(100% - 32px), calc((100dvh - 300px) * 0.5625));
    margin: 10px auto;
    border-radius: 24px;
  }
  .photo-page .camera-actions {
    padding: 0 16px 10px;
    gap: 9px;
  }
  .photo-page .camera-actions .primary {
    min-height: 54px;
  }
  .photo-page .camera-actions .square {
    width: 54px;
    min-height: 54px;
  }
  .photo-page .camera-actions.is-live {
    grid-template-columns: 54px 1fr 54px;
  }
  .photo-page .camera-actions.is-live::after {
    width: 54px;
  }
  .photo-page .capture {
    width: 62px;
    height: 62px;
  }
  .photo-page .capture i {
    width: 46px;
    height: 46px;
  }
  .photo-page .status {
    margin: 0;
    min-height: 0;
  }
  .roulette-page .page-title.compact {
    padding: 18px 24px 35px;
  }
  .roulette-page .page-title h2 {
    font-size: 2.65rem;
  }
  .roulette-page .wheel-wrap {
    width: 300px;
    height: 300px;
    margin: -25px auto 5px;
  }
  .roulette-page .wheel {
    position: relative;
    left: auto;
    top: auto;
    margin: 0;
    transform: none;
  }
  .roulette-page .wheel.is-spinning {
    transform: rotate(var(--spin-deg, 1800deg));
  }
  .roulette-page .wheel-pointer {
    top: -5px;
  }
  .roulette-page .wheel-legend {
    gap: 5px 9px;
    padding: 3px 22px;
  }
  .roulette-page .wheel-legend span {
    font-size: 0.65rem;
  }
  .roulette-page .wheel-legend b {
    flex-basis: 21px;
    height: 21px;
  }
  .roulette-page .roulette-copy {
    padding: 3px 24px 15px;
  }
  .roulette-page .roulette-copy p {
    font-size: 0.78rem;
    line-height: 1.3;
    margin: 8px auto;
    max-width: 330px;
  }
  .roulette-page .roulette-copy .primary {
    min-height: 54px;
    margin-top: 10px;
  }
}
@media (max-width: 380px) and (max-height: 700px) {
  .home-page .hero {
    padding: 14px 16px 12px;
    min-height: 100dvh;
  }
  .home-page .anniversary-seal {
    width: 76px;
    margin-bottom: 7px;
  }
  .home-page .hero .eyebrow {
    font-size: 0.56rem;
    margin-bottom: 4px;
  }
  .home-page .hero h1 {
    font-size: 2.75rem;
    line-height: 0.84;
  }
  .home-page .hero-copy {
    display: none;
  }
  .home-page .experience-list {
    gap: 7px;
    margin-top: 14px;
  }
  .home-page .experience {
    min-height: 68px;
    padding: 8px 10px;
    border-radius: 18px;
    grid-template-columns: 20px 43px 1fr;
    gap: 8px;
  }
  .home-page .experience-icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }
  .home-page .experience-icon svg {
    width: 20px;
  }
  .home-page .experience strong {
    font-size: 1rem;
  }
  .home-page .experience small {
    font-size: 0.7rem;
    margin-top: 1px;
  }
  .home-page .privacy-note {
    display: none;
  }
  .photo-page .page-title {
    padding: 10px 20px 9px;
  }
  .photo-page .page-title h2 {
    font-size: 2rem;
  }
  .photo-page .page-title .eyebrow {
    display: none;
  }
  .photo-page .camera-stage {
    width: min(calc(100% - 32px), calc((100dvh - 235px) * 0.5625));
    margin: 7px auto;
  }
  .roulette-page .page-title.compact {
    padding: 10px 22px 27px;
  }
  .roulette-page .page-title h2 {
    font-size: 2.15rem;
  }
  .roulette-page .page-title .eyebrow {
    display: none;
  }
  .roulette-page .wheel-wrap {
    width: 250px;
    height: 250px;
    margin: -20px auto 2px;
  }
  .roulette-page .wheel {
    transform: none;
  }
  .roulette-page .wheel.is-spinning {
    transform: rotate(var(--spin-deg, 1800deg));
  }
  .roulette-page .wheel-legend {
    grid-template-columns: 1fr 1fr;
    padding: 2px 18px;
  }
  .roulette-page .roulette-copy p {
    display: none;
  }
  .roulette-page .roulette-copy {
    padding: 3px 20px 10px;
  }
  .trivia-page .topbar {
    height: 64px;
    padding: 10px 16px;
  }
  .trivia-page .topbar img {
    max-height: 38px;
    width: 100px;
  }
  .trivia-page .quiz-progress {
    padding: 10px 18px 5px;
  }
  .trivia-page .quiz-progress span {
    font-size: 0.64rem;
  }
  .trivia-page .quiz-progress div {
    height: 5px;
    margin-top: 5px;
  }
  .trivia-page .question-card {
    padding: 12px 18px;
  }
  .trivia-page .question-card .eyebrow {
    display: none;
  }
  .trivia-page .question-card h2 {
    font-size: 1.72rem;
    line-height: 0.98;
  }
  .trivia-page .options {
    gap: 7px;
    margin-top: 14px;
  }
  .trivia-page .options button {
    min-height: 52px;
    padding: 7px 12px;
    border-radius: 15px;
    font-size: 0.86rem;
  }
  .trivia-page .options span {
    flex-basis: 32px;
    height: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
