/* Prom Quiz page module. Hero is .pq (in the page). The quiz is .pq-app (appended to body by promquiz.js). */

.pq, .pq *, .pq-app, .pq-app * { box-sizing: border-box; }
.pq, .pq-app {
  --pq-ink: #1b0b2e;
  --pq-night: #0b0420;
  --pq-plum: #2a0b4a;
  --pq-berry: #5a136b;
  --pq-pink: #ff4fa3;
  --pq-gold: #ffd36e;
  --pq-lilac: #b98cff;
  --pq-white: #ffffff;
  --pq-sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --pq-serif: "Playfair Display", Georgia, serif;
  font-family: var(--pq-sans);
  -webkit-font-smoothing: antialiased;
}
.pq h2, .pq h3, .pq h4, .pq p, .pq-app h3, .pq-app h4, .pq-app p { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; }
.pq button, .pq-app button, .pq-app input { font-family: inherit; }
.pq-app button { margin: 0; border: 0; background: none; color: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; line-height: 1.2; box-shadow: none; }
.pq-app button:disabled { cursor: default; }
.pq-app a { text-decoration: none; }
.pq-app img { max-width: 100%; border: 0; }
.pq-app [hidden] { display: none !important; }
.pq-ico { display: inline-flex; line-height: 0; }

/* ---------- Hero ---------- */

.pq { margin: 0 auto; padding: 28px 16px; max-width: 1200px; }
.pq-hero {
  position: relative; overflow: hidden; border-radius: 28px; color: var(--pq-white);
  padding: 44px 26px 40px; display: grid; gap: 28px; align-items: center;
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(255, 79, 163, 0.55) 0%, rgba(255, 79, 163, 0) 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(185, 140, 255, 0.55) 0%, rgba(185, 140, 255, 0) 60%),
    linear-gradient(160deg, var(--pq-night) 0%, var(--pq-plum) 55%, var(--pq-berry) 100%);
  box-shadow: 0 24px 60px -24px rgba(42, 11, 74, 0.65);
}
.pq-orb { position: absolute; border-radius: 50%; filter: blur(40px); opacity: 0.55; pointer-events: none; }
.pq-orb-a { width: 280px; height: 280px; right: -60px; top: -80px; background: var(--pq-pink); animation: pq-float 9s ease-in-out infinite; }
.pq-orb-b { width: 220px; height: 220px; left: -60px; bottom: -70px; background: var(--pq-lilac); animation: pq-float 11s ease-in-out infinite reverse; }
.pq-twinkle, .pq-sky span {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 44% 14%, #ffe7a3 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 36%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 90% 72%, #ffe7a3 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 50%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 6% 88%, #fff 50%, transparent 51%);
  animation: pq-twinkle 4s ease-in-out infinite;
}
.pq-hero-copy { position: relative; z-index: 1; max-width: 560px; }
.pq .pq-kicker {
  display: inline-block; margin: 0; padding: 9px 18px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.14em !important; text-transform: uppercase !important;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3);
}
.pq .pq-title {
  margin: 16px 0 12px; font-family: var(--pq-serif); font-style: italic; font-weight: 900;
  font-size: clamp(38px, 7vw, 68px); line-height: 1.08; padding: 0 0.16em 0.2em 0;
  background: linear-gradient(100deg, #ffffff 0%, #ffe7a3 30%, #ffffff 48%, #ffc6e6 70%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
  animation: pq-shine 6s linear infinite;
}
.pq-intro { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); max-width: 460px; }
.pq .pq-start {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border: 0; border-radius: 999px;
  font-size: 18px; font-weight: 700; color: var(--pq-ink); cursor: pointer;
  background: linear-gradient(100deg, var(--pq-gold), #fff3cf 45%, var(--pq-pink) 120%);
  box-shadow: 0 10px 30px -8px rgba(255, 79, 163, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: pq-pulse 2.6s ease-in-out infinite;
}
.pq .pq-start:hover { transform: translateY(-2px) scale(1.03); }
.pq .pq-start:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.pq .pq-meta { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.pq-hero-cards { position: relative; height: 230px; display: none; }
.pq-hero-cards span {
  position: absolute; top: 50%; left: 50%; width: 150px; height: 200px; margin: -100px 0 0 -75px; border-radius: 14px;
  background: #fff; padding: 10px 10px 34px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
}
.pq-hero-cards span::before {
  content: ""; display: block; height: 100%; border-radius: 8px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 40%), linear-gradient(160deg, var(--pq-lilac), var(--pq-pink));
}
.pq-hero-cards span:nth-child(1) { transform: translateX(-90px) rotate(-12deg); animation: pq-bob 5s ease-in-out infinite; }
.pq-hero-cards span:nth-child(2) { transform: translateX(90px) rotate(10deg); animation: pq-bob 5s ease-in-out 0.6s infinite; }
.pq-hero-cards span:nth-child(2)::before { background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 40%), linear-gradient(160deg, var(--pq-gold), #ff7a59); }
.pq-hero-cards span:nth-child(3) { transform: translateY(-10px) rotate(-2deg); z-index: 1; animation: pq-bob 5s ease-in-out 1.2s infinite; }
.pq-hero-cards span:nth-child(3)::before { background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.6), transparent 40%), linear-gradient(160deg, #3b1d6e, #c2188f); }

@media (min-width: 860px) {
  .pq-hero { grid-template-columns: 1.2fr 1fr; padding: 64px 56px; }
  .pq-hero-cards { display: block; }
}

/* Look tiles: her first tap is a dress */
.pq-hero.has-looks .pq-hero-copy { max-width: 640px; }
.pq .pq-look-label { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pq-gold); }
.pq-looks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pq-looks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
.pq-looks-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 480px; }
.pq .pq-look { display: block; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.pq-look-photo {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.pq-look-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.pq .pq-look:hover .pq-look-photo { transform: translateY(-3px); border-color: var(--pq-gold); }
.pq .pq-look:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 16px; }
.pq-look-name { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.pq .pq-start-link {
  margin: 14px 0 0; padding: 6px 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.pq .pq-start-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.pq .pq-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.pq .pq-steps li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pq .pq-steps b { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; background: var(--pq-gold); color: var(--pq-ink); }
.pq .pq-steps + .pq-meta { margin-top: 12px; }

/* Sample share card: what she gets at the end */
.pq-hero-payoff { position: relative; z-index: 1; display: flex; justify-content: center; }
.pq-mock {
  width: 100%; max-width: 300px; padding: 22px 18px 18px; border-radius: 24px; text-align: center; color: #fff;
  background: linear-gradient(160deg, #2a0610 0%, #8c0f2e 60%, #e0475b 120%); border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); transform: rotate(3deg);
}
.pq .pq-mock-kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; opacity: 0.9; }
.pq .pq-mock-name { margin-top: 6px; font-family: var(--pq-serif); font-style: italic; font-weight: 900; font-size: 30px; line-height: 1.1; color: #ffe7a3; }
.pq-mock-pics { display: flex; justify-content: center; align-items: flex-end; gap: 6px; margin: 16px 0 12px; }
.pq-mock-pics span { position: relative; flex: 0 1 30%; aspect-ratio: 3 / 4; overflow: hidden; padding: 4px 4px 12px; border-radius: 8px; background: #fff; }
.pq-mock-pics span:nth-child(1) { transform: rotate(-6deg); }
.pq-mock-pics span:nth-child(3) { transform: rotate(6deg); }
.pq-mock-pics span.is-me { flex-basis: 36%; z-index: 1; box-shadow: 0 0 0 3px var(--pq-gold); }
.pq-mock-pics img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: 4px; }
.pq-mock-pics i {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 999px;
  font-style: normal; font-size: 10px; font-weight: 700; background: linear-gradient(100deg, var(--pq-gold), var(--pq-pink)); color: var(--pq-ink);
}
.pq .pq-mock-foot { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; opacity: 0.9; }
@media (max-width: 859px) {
  .pq-hero-payoff { order: 2; }
  .pq-mock { max-width: 260px; }
}

/* ---------- Overlay shell ---------- */

html.pq-lock, html.pq-lock body { overflow: hidden !important; }
.pq-app {
  position: fixed; inset: 0; z-index: 2147483000; display: none; color: var(--pq-white);
  background: linear-gradient(165deg, var(--pq-night) 0%, var(--pq-plum) 55%, var(--pq-berry) 100%);
  line-height: 1.4; font-size: 16px; text-align: left;
}
.pq-app.is-open { display: block; animation: pq-in 0.35s ease both; }
.pq-app.is-results { background: linear-gradient(165deg, var(--pc1, var(--pq-night)) 0%, var(--pc2, var(--pq-plum)) 70%, var(--pc3, var(--pq-berry)) 140%); }
.pq-sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.pq-sky .pq-sky-b { transform: scale(1.6) translate(10%, 6%); animation-delay: 1.3s; }
.pq-sky .pq-sky-c { transform: scale(2.2) translate(-8%, -4%); animation-delay: 2.6s; opacity: 0.7; }
.pq-frame { position: relative; height: 100%; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.pq-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 6px; padding-top: max(14px, env(safe-area-inset-top)); }
.pq-app .pq-iconbtn {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); color: #fff; transition: background 0.15s ease, transform 0.15s ease;
}
.pq-app .pq-iconbtn:hover { background: rgba(255, 255, 255, 0.24); transform: scale(1.06); }
.pq-progress { flex: 1 1 auto; min-width: 0; }
.pq-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.pq-bar i {
  display: block; height: 100%; width: 4%; border-radius: inherit;
  background: linear-gradient(90deg, var(--pq-gold), var(--pq-pink), var(--pq-lilac)); background-size: 200% 100%;
  transition: width 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2); animation: pq-shine 3s linear infinite;
}
.pq-app .pq-stage { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; color: rgba(255, 255, 255, 0.75); }
.pq-count { min-height: 26px; padding: 2px 16px 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.pq-count b { display: inline-block; font-size: 16px; color: var(--pq-gold); margin-right: 2px; }
.pq-count.is-bump b { animation: pq-pop 0.4s ease; }
.pq-body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 16px 24px; outline: none; }
.pq-foot {
  display: flex; gap: 10px; padding: 12px 16px; padding-bottom: max(14px, env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(11, 4, 32, 0.85), rgba(11, 4, 32, 0));
}
.pq-foot:empty { display: none; }
.pq-foot > * { flex: 1 1 0; }

/* ---------- Buttons ---------- */

.pq-app .pq-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 24px; border-radius: 999px;
  font-size: 17px; font-weight: 700; color: var(--pq-ink);
  background: linear-gradient(100deg, var(--pq-gold), #fff3cf 45%, var(--pq-pink) 130%);
  box-shadow: 0 10px 28px -10px rgba(255, 79, 163, 0.8); transition: transform 0.15s ease, opacity 0.15s ease;
}
.pq-app .pq-primary:hover:not(:disabled) { transform: translateY(-2px); }
.pq-app .pq-primary:active:not(:disabled) { transform: scale(0.97); }
.pq-app .pq-primary:disabled { opacity: 0.45; box-shadow: none; }
.pq-app .pq-primary.pq-small { min-height: 40px; padding: 8px 18px; font-size: 14px; flex: 0 0 auto; }
.pq-app .pq-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 20px; border-radius: 999px;
  font-size: 16px; font-weight: 600; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}
.pq-app .pq-ghost:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.pq-app .pq-link { display: block; margin: 14px auto 0; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--pq-gold); text-decoration: underline; text-underline-offset: 3px; }
.pq-app .pq-primary:focus-visible, .pq-app .pq-ghost:focus-visible, .pq-app .pq-iconbtn:focus-visible, .pq-app .pq-pill:focus-visible,
.pq-app .pq-size:focus-visible, .pq-app .pq-chip:focus-visible, .pq-app .pq-opt-main:focus-visible, .pq-app .pq-nope:focus-visible,
.pq-app .pq-wish:focus-visible, .pq-app .pq-link:focus-visible, .pq-app .pq-match-link:focus-visible { outline: 3px solid var(--pq-gold); outline-offset: 2px; }

/* ---------- Question heading ---------- */

.pq-head { text-align: center; margin: 8px auto 22px; max-width: 560px; }
.pq-emoji { display: inline-block; font-size: 44px; line-height: 1; margin-bottom: 8px; animation: pq-wiggle 1.6s ease-in-out infinite; }
.pq-app .pq-q { font-family: var(--pq-serif); font-style: italic; font-weight: 900; font-size: clamp(28px, 6vw, 40px); line-height: 1.1; color: #fff; }
.pq-app .pq-sub { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Sizes and budget ---------- */

.pq-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 520px; margin: 0 auto; }
.pq-app .pq-size {
  min-height: 56px; border-radius: 16px; font-size: 18px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.15s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.15s ease;
}
.pq-app .pq-size:hover { background: rgba(255, 255, 255, 0.2); }
.pq-app .pq-size[aria-pressed="true"] {
  color: var(--pq-ink); border-color: transparent; transform: scale(1.06);
  background: linear-gradient(135deg, var(--pq-gold), #fff1c4 50%, #ffb2d9);
  box-shadow: 0 8px 22px -8px rgba(255, 211, 110, 0.9);
}
.pq-app .pq-size.is-none { opacity: 0.35; }
.pq-budget { max-width: 560px; margin: 22px auto 0; text-align: center; }
.pq-app .pq-budget-label { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.pq-budget-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pq-app .pq-bchip {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.22); transition: background 0.15s ease;
}
.pq-app .pq-bchip:hover { background: rgba(255, 255, 255, 0.2); }
.pq-app .pq-bchip[aria-pressed="true"] { color: var(--pq-ink); border-color: transparent; background: linear-gradient(135deg, var(--pq-gold), #ffb2d9); }
.pq-app .pq-bchip:focus-visible { outline: 3px solid var(--pq-gold); outline-offset: 2px; }
.pq-app .pq-size-status { min-height: 20px; margin-top: 16px; text-align: center; font-size: 14px; font-weight: 600; color: var(--pq-gold); }
.pq-chips { display: grid; gap: 12px; max-width: 460px; margin: 0 auto; }
.pq-app .pq-chip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-radius: 20px; text-align: left;
  background: rgba(255, 255, 255, 0.1); border: 1.5px solid rgba(255, 255, 255, 0.22); color: #fff;
  transition: transform 0.15s cubic-bezier(0.3, 1.6, 0.5, 1), background 0.15s ease;
}
.pq-app .pq-chip:hover { background: rgba(255, 255, 255, 0.2); transform: translateX(4px); }
.pq-chip b { font-size: 19px; }
.pq-chip small { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.pq-app .pq-chip[aria-pressed="true"] { background: linear-gradient(135deg, var(--pq-gold), #ffb2d9); color: var(--pq-ink); transform: scale(1.03); }
.pq-app .pq-chip[aria-pressed="true"] small { color: rgba(27, 11, 46, 0.7); }

/* ---------- Option cards ---------- */

.pq-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .pq-options { grid-template-columns: repeat(4, 1fr); } }
.pq-opt { position: relative; animation: pq-rise 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2) both; }
.pq-opt:nth-child(2) { animation-delay: 0.04s; }
.pq-opt:nth-child(3) { animation-delay: 0.08s; }
.pq-opt:nth-child(4) { animation-delay: 0.12s; }
.pq-opt:nth-child(5) { animation-delay: 0.16s; }
.pq-opt:nth-child(6) { animation-delay: 0.2s; }
.pq-opt:nth-child(7) { animation-delay: 0.24s; }
.pq-opt:nth-child(8) { animation-delay: 0.28s; }
.pq-app .pq-opt-main {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 20px; padding: 0;
  background: linear-gradient(160deg, rgba(185, 140, 255, 0.5), rgba(255, 79, 163, 0.5));
  border: 3px solid rgba(255, 255, 255, 0.16); transition: transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.pq-app .pq-opt-main:hover { transform: translateY(-3px) rotate(-0.6deg); }
.pq-opt-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 0.4s ease, filter 0.3s ease; }
.pq-opt-main:hover .pq-opt-img { transform: scale(1.05); }
.pq-opt-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 12px 12px; text-align: left; color: #fff;
  background: linear-gradient(0deg, rgba(11, 4, 32, 0.9) 0%, rgba(11, 4, 32, 0.55) 60%, rgba(11, 4, 32, 0) 100%);
}
.pq-opt-label b { display: block; font-size: 15px; line-height: 1.2; }
.pq-opt-label small { display: block; margin-top: 3px; font-size: 12px; color: var(--pq-gold); font-weight: 600; }
.pq-opt-heart {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; align-items: center; justify-content: center;
  background: rgba(11, 4, 32, 0.45); color: #fff; transition: transform 0.25s cubic-bezier(0.3, 1.8, 0.5, 1), background 0.2s ease;
}
.pq-opt.is-love .pq-opt-main { border-color: var(--pq-gold); box-shadow: 0 0 0 4px rgba(255, 211, 110, 0.35), 0 14px 30px -10px rgba(255, 79, 163, 0.8); transform: scale(1.02); }
.pq-opt.is-love .pq-opt-heart { background: var(--pq-pink); transform: scale(1.18); }
.pq-opt.is-love .pq-opt-heart svg { fill: #fff; }
.pq-app .pq-nope {
  position: absolute; top: 10px; left: 10px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(11, 4, 32, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3);
}
.pq-app .pq-nope:hover { background: rgba(11, 4, 32, 0.8); }
.pq-opt.is-nope .pq-opt-main { border-color: rgba(255, 255, 255, 0.1); transform: scale(0.96); }
.pq-opt.is-nope .pq-opt-img { filter: grayscale(1) brightness(0.45); }
.pq-opt.is-nope .pq-opt-label b { text-decoration: line-through; text-decoration-thickness: 2px; }
.pq-app .pq-opt.is-nope .pq-nope { background: #fff; color: var(--pq-ink); }
.pq-opt.is-shake { animation: pq-shake 0.45s ease; }

.pq-burst { position: absolute; top: 27px; right: 27px; width: 0; height: 0; pointer-events: none; }
.pq-burst i {
  position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--pq-gold);
  animation: pq-burst 0.6s ease-out forwards; transform: rotate(var(--a)) translateY(0);
}
.pq-burst i:nth-child(even) { background: var(--pq-pink); }
.pq-wish .pq-burst { top: 50%; right: 50%; }

/* ---------- Loading and reveal ---------- */

.pq-loading, .pq-reveal { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.pq-ball {
  position: relative; width: 120px; height: 120px; border-radius: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.0) 0 12px, rgba(0, 0, 0, 0.18) 12px 14px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0 12px, rgba(0, 0, 0, 0.18) 12px 14px),
    radial-gradient(circle at 34% 30%, #ffffff 0%, #d9d2ff 18%, #9a86d9 46%, #4a2a7a 80%);
  box-shadow: 0 0 60px rgba(255, 211, 110, 0.45), 0 0 120px rgba(255, 79, 163, 0.35);
  animation: pq-spin 3.2s linear infinite;
}
.pq-loading-line { font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, 0.9); }
.pq-reveal-kicker { font-family: var(--pq-serif); font-style: italic; font-weight: 700; font-size: 30px; color: #fff; }
.pq-drum { display: flex; gap: 12px; }
.pq-drum span { width: 18px; height: 18px; border-radius: 50%; background: var(--pq-gold); animation: pq-drum 0.9s ease-in-out infinite; }
.pq-drum span:nth-child(2) { background: var(--pq-pink); animation-delay: 0.15s; }
.pq-drum span:nth-child(3) { background: var(--pq-lilac); animation-delay: 0.3s; }

/* ---------- Results ---------- */

.pq-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); font-weight: 600;
}
.pq-card {
  position: relative; overflow: hidden; max-width: 420px; margin: 4px auto 18px; padding: 30px 22px 24px; border-radius: 28px; text-align: center; color: #fff;
  background: linear-gradient(160deg, var(--pc1) 0%, var(--pc2) 60%, var(--pc3) 120%);
  border: 1px solid rgba(255, 255, 255, 0.35); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6);
}
.pq-card.is-flip { animation: pq-flip 0.8s cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
.pq-card-glow {
  position: absolute; top: 0; bottom: 0; left: -50%; right: -50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 62%);
  animation: pq-sweep 3.6s ease-in-out 0.8s infinite;
}
.pq-app .pq-card-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.pq-app .pq-card-name {
  margin: 10px 0 8px; font-family: var(--pq-serif); font-style: italic; font-weight: 900; font-size: clamp(40px, 10vw, 54px); line-height: 1.08; padding: 0 0.16em 0.2em;
  background: linear-gradient(180deg, #ffffff 0%, #ffe7a3 55%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
  filter: drop-shadow(0 4px 18px rgba(255, 214, 120, 0.45));
}
.pq-app .pq-card-tag { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.pq-card-pics { position: relative; height: 210px; margin: 22px 0 18px; }
.pq-polaroid {
  position: absolute; top: 0; left: 50%; width: 128px; height: 190px; margin-left: -64px; padding: 7px 7px 26px; border-radius: 8px; background: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55);
}
.pq-polaroid img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; border-radius: 4px; display: block; }
.pq-polaroid:nth-child(1) { transform: translateX(-62%) rotate(-10deg); z-index: 2; }
.pq-polaroid:nth-child(2) { transform: translateX(62%) rotate(9deg); z-index: 1; }
.pq-polaroid:nth-child(3) { transform: translateY(8px); z-index: 3; }
.pq-polaroid:only-child { transform: rotate(-3deg); }
.pq-card-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pq-card-chips span { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.5); }

.pq-share { max-width: 520px; margin: 0 auto 28px; text-align: center; }
.pq-app .pq-share-title { font-weight: 700; font-size: 16px; margin-bottom: 12px; }
.pq-preview { display: block; width: 96px; margin: 0 auto 14px; border-radius: 12px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.6); border: 2px solid rgba(255, 255, 255, 0.6); }
.pq-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pq-app .pq-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.35); transition: background 0.15s ease, transform 0.15s ease;
}
.pq-app .pq-pill:hover:not(:disabled) { background: rgba(255, 255, 255, 0.24); color: #fff; transform: translateY(-1px); }
.pq-app .pq-pill:disabled { opacity: 0.5; }
.pq-app .pq-hint { min-height: 20px; margin-top: 10px; font-size: 13px; color: var(--pq-gold); font-weight: 600; }
.pq-brand { display: inline-flex; gap: 4px; }
.pq-app .pq-sharebtn {
  background: linear-gradient(100deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(214, 41, 118, 0.9);
}

.pq-app .pq-section { margin: 8px 0 14px; font-family: var(--pq-serif); font-style: italic; font-weight: 900; font-size: 26px; color: #fff; }
.pq-matches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
@media (min-width: 640px) { .pq-matches { grid-template-columns: repeat(3, 1fr); } }
.pq-match { position: relative; border-radius: 20px; overflow: hidden; background: #fff; color: var(--pq-ink); box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.7); animation: pq-rise 0.45s ease both; }
.pq-app .pq-match-link { display: block; color: var(--pq-ink); }
.pq-match-photo { position: relative; display: block; aspect-ratio: 3 / 4; background: #f3eef8; overflow: hidden; }
.pq-match-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; transition: transform 0.4s ease; }
.pq-match-link:hover .pq-match-photo img { transform: scale(1.05); }
.pq-badge {
  position: absolute; left: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--pq-gold); color: var(--pq-ink); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.pq-match-copy { display: block; padding: 10px 12px 14px; }
.pq-match-title { display: block; font-size: 14px; line-height: 1.25; }
.pq-match-num { display: block; font-size: 12px; color: #6b5b7b; margin-top: 2px; }
.pq-match-price { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; color: #c2188f; }
.pq-match-price s { color: #8d7f9a; font-weight: 500; font-size: 13px; }
.pq-why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pq-why i { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #f6e8ff; color: #5a136b; }
.pq-app .pq-wish {
  position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92); color: #c2188f; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: transform 0.25s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.pq-app .pq-wish.is-on { transform: scale(1.12); background: var(--pq-pink); color: #fff; }
.pq-app .pq-wish.is-on svg { fill: #fff; }
.pq-tail { display: grid; gap: 10px; max-width: 460px; margin: 0 auto 20px; }
.pq-app .pq-share-note { margin-top: 6px; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, 0.7); }

/* ---------- Try-on on match cards ---------- */

.pq-match-photo.is-working::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 70%), rgba(27, 11, 46, 0.35);
  background-size: 220% 100%, auto; animation: pq-shine 1.4s linear infinite;
}
.pq-wait-tag, .pq-me-tag {
  position: absolute; left: 8px; top: 8px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.pq-wait-tag { top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; background: #fff; color: var(--pq-ink); }
.pq-me-tag { background: linear-gradient(100deg, var(--pq-gold), var(--pq-pink)); color: var(--pq-ink); }
.pq-match-photo.is-me img { animation: pq-in 0.5s ease both; }
.pq-tryrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0 10px 12px; }
.pq-tryrow[hidden] { display: none; }
.pq-app .pq-try {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(100deg, #c2188f, #7b3fe4); transition: transform 0.15s ease, opacity 0.15s ease;
}
.pq-app .pq-try:hover:not(:disabled) { transform: translateY(-1px); color: #fff; }
.pq-app .pq-try:disabled { opacity: 0.45; }
.pq-app .pq-try.is-alt { color: var(--pq-ink); background: #f3eaf9; }
.pq-app .pq-try.is-wait { color: #5d4d6e; background: #f3eaf9; font-weight: 600; }
.pq-app .pq-try-icon { flex: 0 0 38px; padding: 0; color: var(--pq-ink); background: #f3eaf9; }
.pq-app .pq-pick {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; font-weight: 700; line-height: 1; color: #7b3fe4;
  background: #fff; border: 2px dashed #c9b3dc; transition: transform 0.2s cubic-bezier(0.3, 1.8, 0.5, 1);
}
.pq-app .pq-pick.is-on { color: var(--pq-ink); border: 2px solid transparent; background: linear-gradient(135deg, var(--pq-gold), #ffb2d9); transform: scale(1.06); }
.pq-app .pq-tryerr { flex: 1 1 100%; font-size: 12px; line-height: 1.35; color: #c0123c; }
.pq-app .pq-try:focus-visible, .pq-app .pq-pick:focus-visible, .pq-app .pq-switch:focus-visible, .pq-app .pq-slot-x:focus-visible { outline: 3px solid var(--pq-gold); outline-offset: 2px; }

/* ---------- Starring me ---------- */

.pq-starme {
  display: flex; align-items: center; gap: 14px; max-width: 420px; margin: -4px auto 20px; padding: 12px 16px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3);
}
.pq-starme[hidden] { display: none; }
.pq-app .pq-switch {
  position: relative; flex: 0 0 52px; width: 52px; height: 30px; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.25);
  transition: background 0.2s ease;
}
.pq-app .pq-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.pq-app .pq-switch[aria-checked="true"] { background: linear-gradient(100deg, var(--pq-gold), var(--pq-pink)); }
.pq-app .pq-switch[aria-checked="true"]::after { transform: translateX(22px); }
.pq-starme-copy b { display: block; font-size: 15px; }
.pq-starme-copy small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.pq-polaroid.is-me { box-shadow: 0 0 0 3px var(--pq-gold), 0 18px 34px -10px rgba(0, 0, 0, 0.6); }
.pq-starme-copy { flex: 1 1 auto; min-width: 0; }
.pq-app .pq-fill { flex: 0 0 auto; padding: 8px 12px; font-size: 12px; }

/* ---------- Help me pick ---------- */

.pq-lineup { margin: 0 0 28px; padding: 18px 16px 16px; border-radius: 26px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.28); }
.pq-lineup[hidden] { display: none; }
.pq-app .pq-lineup .pq-section { margin: 0 0 4px; }
.pq-app .pq-lineup-sub { margin-bottom: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.pq-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.pq-slot { min-width: 0; animation: pq-rise 0.4s ease both; }
.pq-slot-photo { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, 0.12); border: 2px solid rgba(255, 255, 255, 0.2); }
.pq-slot-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.pq-slot.is-done .pq-slot-photo { border-color: var(--pq-gold); box-shadow: 0 0 0 3px rgba(255, 211, 110, 0.3); }
.pq-slot.is-working .pq-slot-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 70%), rgba(27, 11, 46, 0.35);
  background-size: 220% 100%, auto; animation: pq-shine 1.4s linear infinite;
}
.pq-slot.is-empty .pq-slot-photo { border-style: dashed; display: flex; align-items: center; justify-content: center; }
.pq-slot-num {
  position: absolute; top: 8px; left: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: var(--pq-ink); background: linear-gradient(135deg, var(--pq-gold), #ffb2d9);
}
.pq-slot-hint { padding: 0 10px; font-size: 12px; text-align: center; color: rgba(255, 255, 255, 0.7); }
.pq-app .pq-slot-x {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(11, 4, 32, 0.55);
}
.pq-app .pq-slot-name { margin-top: 6px; font-size: 12px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pq-app .pq-slot-err { margin-top: 2px; font-size: 11px; line-height: 1.3; color: #ffc2cf; }
.pq-lineup-actions { justify-content: flex-start; }
.pq-app .pq-vote { background: linear-gradient(100deg, #d62976, #962fbf); border-color: transparent; }
.pq-app .pq-lineup-status { margin-top: 10px; font-size: 12px; color: rgba(255, 255, 255, 0.75); }

/* ---------- Save to account ---------- */

.pq-save { max-width: 520px; margin: 0 auto 28px; padding: 18px; border-radius: 22px; text-align: center; background: rgba(255, 255, 255, 0.08); border: 1px dashed rgba(255, 255, 255, 0.45); }
.pq-save[hidden] { display: none; }
.pq-app .pq-save-title { font-size: 17px; font-weight: 700; }
.pq-app .pq-save-copy { margin: 4px 0 12px; font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.pq-save .pq-primary.pq-small { min-height: 42px; }
.pq-ts { position: absolute; left: 50%; bottom: 96px; z-index: 7; transform: translateX(-50%); }
.pq-ts:empty { display: none; }

/* ---------- Lead sheet ---------- */

.pq-sheet { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: center; background: rgba(11, 4, 32, 0.6); animation: pq-in 0.2s ease both; }
.pq-sheet-panel {
  position: relative; width: 100%; max-width: 480px; max-height: 92%; overflow-y: auto; margin: 0; padding: 30px 22px 24px; padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; color: var(--pq-ink); background: linear-gradient(180deg, #fff 0%, #fff6fb 100%); text-align: center;
  animation: pq-up 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
@media (min-width: 640px) { .pq-sheet { align-items: center; } .pq-sheet-panel { border-radius: 28px; } }
.pq-app .pq-sheet-panel .pq-q { color: var(--pq-ink); font-size: 30px; }
.pq-app .pq-sheet-panel .pq-sub { color: #5d4d6e; margin-bottom: 16px; }
.pq-app .pq-sheet-x { position: absolute; top: 12px; right: 12px; background: #f1e8f7; color: var(--pq-ink); }
.pq-app .pq-sheet-x:hover { background: #e6d7f0; }
.pq-field { display: block; margin: 0 0 12px; text-align: left; }
.pq-field span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 600; color: #5d4d6e; }
.pq-app .pq-field input {
  display: block; width: 100%; height: 52px; margin: 0; padding: 0 16px; border-radius: 14px; border: 2px solid #e6d7f0; background: #fff;
  font-size: 16px; color: var(--pq-ink); box-shadow: none; outline: none;
}
.pq-app .pq-field input:focus { border-color: var(--pq-pink); }
.pq-app .pq-error { min-height: 20px; margin: 4px 0 10px; font-size: 14px; font-weight: 600; color: #c0123c; }
.pq-sheet-panel .pq-primary { width: 100%; }
.pq-app .pq-fine { margin-top: 10px; font-size: 11px; color: #8d7f9a; }
.pq-captcha:empty { display: none; }

/* ---------- Try-on sheet ---------- */

.pq-upload {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 170px; padding: 16px;
  border-radius: 20px; border: 2px dashed #d9c3ea; background: #fbf5ff; color: #5d4d6e; cursor: pointer; transition: border-color 0.15s ease;
}
.pq-upload:hover { border-color: var(--pq-pink); }
.pq-upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.pq-upload:focus-within { border-color: var(--pq-pink); box-shadow: 0 0 0 3px rgba(255, 79, 163, 0.25); }
.pq-upload-preview { display: block; max-height: 220px; max-width: 100%; border-radius: 12px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }
.pq-upload-hint { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #7b3fe4; }
.pq-upload-hint b { font-size: 15px; color: var(--pq-ink); }
.pq-upload-hint small { font-size: 12px; color: #8d7f9a; }
.pq-upload.has-photo .pq-upload-hint .pq-ico, .pq-upload.has-photo .pq-upload-hint small { display: none; }
.pq-upload.has-photo .pq-upload-hint b { font-size: 13px; color: #7b3fe4; }
.pq-app .pq-tip { margin: 10px 0 12px; font-size: 13px; color: #5d4d6e; }
.pq-consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 4px; text-align: left; font-size: 13px; line-height: 1.4; color: var(--pq-ink); cursor: pointer; }
.pq-app .pq-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #c2188f; }
.pq-app .pq-left { margin-top: 8px; font-size: 12px; font-weight: 600; color: #7b3fe4; }
.pq-app .pq-fine a { color: #7b3fe4; text-decoration: underline; }

/* ---------- Toast and confetti ---------- */

.pq-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
.pq-toast {
  position: absolute; left: 50%; bottom: 96px; z-index: 6; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 14px;
  font-size: 14px; font-weight: 600; color: var(--pq-ink); background: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.25s ease; text-align: center;
}
.pq-toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Motion ---------- */

@keyframes pq-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pq-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pq-rise { from { transform: translateY(18px) scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pq-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-20px, 24px); } }
@keyframes pq-twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.35; } }
@keyframes pq-shine { from { background-position: 0% 50%; } to { background-position: 220% 50%; } }
@keyframes pq-pulse { 0%, 100% { box-shadow: 0 10px 30px -8px rgba(255, 79, 163, 0.7), 0 0 0 0 rgba(255, 211, 110, 0.5); } 50% { box-shadow: 0 10px 30px -8px rgba(255, 79, 163, 0.7), 0 0 0 12px rgba(255, 211, 110, 0); } }
@keyframes pq-bob { 0%, 100% { margin-top: -100px; } 50% { margin-top: -112px; } }
@keyframes pq-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg) scale(1.05); } 75% { transform: rotate(8deg) scale(1.05); } }
@keyframes pq-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes pq-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(5px); } }
@keyframes pq-burst { to { transform: rotate(var(--a)) translateY(-34px) scale(0.3); opacity: 0; } }
@keyframes pq-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes pq-drum { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes pq-flip { 0% { transform: perspective(900px) rotateY(-80deg) scale(0.8); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes pq-sweep { 0% { transform: translateX(-60%); } 60%, 100% { transform: translateX(60%); } }

/* ---------- Desktop: use the width ---------- */

@media (min-width: 1024px) {
  .pq-frame { max-width: 1240px; }
  .pq-top { padding: 18px 32px 8px; }
  .pq-body { padding: 14px 32px 32px; }
  .pq-foot { justify-content: center; padding: 14px 32px 18px; }
  .pq-foot > * { flex: 0 1 300px; }
  .pq-head { max-width: 760px; margin-bottom: 28px; }
  .pq-sizes { grid-template-columns: repeat(7, 1fr); max-width: 820px; gap: 12px; }
  .pq-chips { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
  .pq-options { grid-template-columns: repeat(4, 1fr); max-width: 1040px; margin: 0 auto; gap: 18px; }

  .pq-results { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 40px; align-items: start; }
  .pq-res-side .pq-card { margin-top: 0; }
  .pq-res-side .pq-share, .pq-res-side .pq-save { max-width: none; }
  .pq-res-side .pq-save { margin-bottom: 0; }
  .pq-res-main .pq-matches { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pq-res-main .pq-tail { grid-template-columns: 1fr 1fr; max-width: none; }
  .pq-slots { gap: 16px; }
  .pq-lineup { padding: 22px 22px 18px; }
}
@media (min-width: 1360px) {
  .pq-frame { max-width: 1320px; }
  .pq-res-main .pq-matches { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Light themes: Store brand, Editorial, Boutique ----------
   .pq-lt goes on the hero section and the overlay. Each theme only sets the --lt-* values.
   Store brand gets --lt-accent, --lt-accent-text, --lt-on-accent, --lt-soft and --lt-ink inline from Art Direction,
   and leaves --lt-head and --lt-body unset so text inherits the site fonts. */

.pq.pq-lt, .pq-app.pq-lt {
  --lt-bg: #ffffff; --lt-surface: #ffffff; --lt-soft: #f3f3f3; --lt-ink: #1f1f1f; --lt-muted: #66615c; --lt-line: #e2e2e2; --lt-rule: #cfcfcf;
  --lt-accent: #222222; --lt-accent-text: #222222; --lt-on-accent: #ffffff; --lt-btn: var(--lt-accent); --lt-on-btn: var(--lt-on-accent);
  --lt-radius: 12px; --lt-btn-radius: 8px;
  --lt-q-style: normal; --lt-q-weight: 700; --lt-name-style: normal; --lt-name-weight: 700;
  --pq-serif: var(--lt-head); --pq-sans: var(--lt-body);
  --pq-ink: var(--lt-ink); --pq-gold: var(--lt-accent-text); --pq-pink: var(--lt-accent); --pq-lilac: var(--lt-accent);
  font-family: var(--lt-body);
}
.pq.pq--editorial, .pq-app.pq--editorial {
  --lt-head: "Bodoni Moda", Didot, "Bodoni 72", "Times New Roman", serif;
  --lt-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --lt-bg: #ffffff; --lt-surface: #ffffff; --lt-soft: #f2f0ed; --lt-ink: #111111; --lt-muted: #5c5c5c; --lt-line: #dcdcdc; --lt-rule: #111111;
  --lt-accent: #b3122e; --lt-accent-text: #b3122e; --lt-on-accent: #ffffff; --lt-btn: #111111; --lt-on-btn: #ffffff;
  --lt-radius: 0px; --lt-btn-radius: 0px;
  --lt-q-weight: 500; --lt-name-style: italic; --lt-name-weight: 500;
}
.pq.pq--boutique, .pq-app.pq--boutique {
  --lt-head: "Cormorant Garamond", Cormorant, Garamond, Georgia, serif;
  --lt-body: "Jost", Futura, "Helvetica Neue", Arial, sans-serif;
  --lt-bg: #f7f2ec; --lt-surface: #fffdf9; --lt-soft: #efe6dc; --lt-ink: #3a2f28; --lt-muted: #85776b; --lt-line: #e2d6c8; --lt-rule: #cdbba8;
  --lt-accent: #a0675f; --lt-accent-text: #8f5a52; --lt-on-accent: #ffffff; --lt-btn: #3a2f28; --lt-on-btn: #fffdf9;
  --lt-radius: 16px; --lt-btn-radius: 999px;
  --lt-q-weight: 600; --lt-name-style: italic; --lt-name-weight: 500;
}

/* Hero */
.pq.pq-lt .pq-hero { color: var(--lt-ink); background: var(--lt-soft); box-shadow: none; border-radius: var(--lt-radius); }
.pq.pq-lt .pq-hero:not(.has-photos) { grid-template-columns: 1fr; }
.pq.pq-lt .pq-logo { display: block; width: auto; max-width: 200px; max-height: 52px; margin: 0 0 18px; }
.pq.pq-lt .pq-kicker { padding: 0; border: 0; border-radius: 0; background: none; color: var(--lt-accent-text); font-size: 12px; letter-spacing: 0.18em !important; }
.pq.pq-lt .pq-title {
  font-family: var(--pq-serif); font-style: var(--lt-q-style); font-weight: var(--lt-q-weight); font-size: clamp(34px, 6vw, 58px); line-height: 1.05; padding: 0;
  background: none; -webkit-text-fill-color: currentColor; color: var(--lt-ink); animation: none;
}
.pq.pq-lt .pq-intro { color: var(--lt-muted); }
.pq.pq-lt .pq-start {
  padding: 15px 30px; border-radius: var(--lt-btn-radius); font-size: 16px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--lt-btn); color: var(--lt-on-btn); box-shadow: none; animation: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.pq.pq-lt .pq-start:hover { transform: none; opacity: 0.88; }
.pq.pq-lt .pq-start:focus-visible { outline: 2px solid var(--lt-ink); outline-offset: 3px; }
.pq.pq-lt .pq-meta { color: var(--lt-muted); }
.pq.pq-lt .pq-look-label { color: var(--lt-accent-text); }
.pq.pq-lt .pq-look-photo { border: 1px solid var(--lt-line); border-radius: var(--lt-radius); background: var(--lt-surface); }
.pq.pq-lt .pq-look:hover .pq-look-photo { transform: none; border-color: var(--lt-ink); }
.pq.pq-lt .pq-look:focus-visible { outline-color: var(--lt-ink); }
.pq.pq-lt .pq-start-link { color: var(--lt-ink); }
.pq.pq-lt .pq-steps b { background: var(--lt-btn); color: var(--lt-on-btn); }
.pq.pq-lt .pq-mock { color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.4); transform: none; }
.pq.pq-lt .pq-mock-kicker { color: var(--lt-accent-text); }
.pq.pq-lt .pq-mock-name { color: var(--lt-ink); font-style: var(--lt-name-style); font-weight: var(--lt-name-weight); }
.pq.pq-lt .pq-mock-pics span { padding: 0; background: var(--lt-soft); border-radius: var(--lt-radius); transform: none; }
.pq.pq-lt .pq-mock-pics span.is-me { box-shadow: 0 0 0 2px var(--lt-accent); }
.pq.pq-lt .pq-mock-pics img { border-radius: 0; }
.pq.pq-lt .pq-mock-pics i { background: var(--lt-btn); color: var(--lt-on-btn); border-radius: var(--lt-btn-radius); }
.pq.pq-lt .pq-mock-foot { color: var(--lt-muted); }

/* Overlay */
.pq-app.pq-lt, .pq-app.pq-lt.is-results { color: var(--lt-ink); background: var(--lt-bg); }
.pq-app.pq-lt .pq-sky { display: none; }
.pq-app.pq-lt .pq-iconbtn { background: transparent; color: var(--lt-ink); border: 1px solid var(--lt-line); }
.pq-app.pq-lt .pq-iconbtn:hover { background: var(--lt-soft); transform: none; }
.pq-app.pq-lt .pq-bar { height: 4px; background: var(--lt-soft); }
.pq-app.pq-lt .pq-bar i { background: var(--lt-btn); animation: none; }
.pq-app.pq-lt .pq-stage, .pq-app.pq-lt .pq-count { color: var(--lt-muted); }
.pq-app.pq-lt .pq-count b { color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-foot { background: var(--lt-bg); border-top: 1px solid var(--lt-line); }

/* Buttons */
.pq-app.pq-lt .pq-primary { border-radius: var(--lt-btn-radius); font-weight: 600; background: var(--lt-btn); color: var(--lt-on-btn); box-shadow: none; transition: opacity 0.2s ease, transform 0.2s ease; }
.pq-app.pq-lt .pq-primary:hover:not(:disabled) { transform: none; opacity: 0.88; }
.pq-app.pq-lt .pq-ghost { border-radius: var(--lt-btn-radius); color: var(--lt-ink); background: transparent; border: 1px solid var(--lt-rule); }
.pq-app.pq-lt .pq-ghost:hover { background: var(--lt-soft); color: var(--lt-ink); }
.pq-app.pq-lt .pq-link { color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-pill { border-radius: var(--lt-btn-radius); color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-rule); }
.pq-app.pq-lt .pq-pill:hover:not(:disabled) { background: var(--lt-soft); color: var(--lt-ink); transform: none; }
.pq-app.pq-lt .pq-sharebtn, .pq-app.pq-lt .pq-vote { background: var(--lt-btn); color: var(--lt-on-btn); border-color: var(--lt-btn); box-shadow: none; }

/* Questions */
.pq-app.pq-lt .pq-emoji { display: none; }
.pq-app.pq-lt .pq-q { color: var(--lt-ink); font-style: var(--lt-q-style); font-weight: var(--lt-q-weight); }
.pq-app.pq-lt .pq-sub { color: var(--lt-muted); }
.pq-app.pq-lt .pq-size, .pq-app.pq-lt .pq-chip { color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-size { font-weight: 600; }
.pq-app.pq-lt .pq-size:hover, .pq-app.pq-lt .pq-chip:hover { background: var(--lt-soft); transform: none; }
.pq-app.pq-lt .pq-size[aria-pressed="true"], .pq-app.pq-lt .pq-chip[aria-pressed="true"] { color: var(--lt-on-btn); background: var(--lt-btn); border-color: var(--lt-btn); box-shadow: none; transform: none; }
.pq-app.pq-lt .pq-chip small { color: var(--lt-muted); }
.pq-app.pq-lt .pq-budget-label { color: var(--lt-muted); }
.pq-app.pq-lt .pq-bchip { color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-btn-radius); }
.pq-app.pq-lt .pq-bchip:hover { background: var(--lt-soft); }
.pq-app.pq-lt .pq-bchip[aria-pressed="true"] { color: var(--lt-on-btn); background: var(--lt-btn); border-color: var(--lt-btn); }
.pq-app.pq-lt .pq-size-status { color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-chip[aria-pressed="true"] small { color: inherit; opacity: 0.8; }
.pq-app.pq-lt .pq-opt-main { background: var(--lt-soft); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-opt-main:hover { transform: none; }
.pq-app.pq-lt .pq-opt-label { background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.36) 60%, rgba(0, 0, 0, 0) 100%); }
.pq-app.pq-lt .pq-opt-label small { color: rgba(255, 255, 255, 0.86); }
.pq-app.pq-lt .pq-opt-heart { background: rgba(255, 255, 255, 0.94); color: var(--lt-ink); }
.pq-app.pq-lt .pq-opt.is-love .pq-opt-main { border-color: var(--lt-btn); box-shadow: 0 0 0 2px var(--lt-btn); transform: none; }
.pq-app.pq-lt .pq-opt.is-love .pq-opt-heart { background: var(--lt-accent); color: var(--lt-on-accent); transform: none; }
.pq-app.pq-lt .pq-opt.is-love .pq-opt-heart svg { fill: currentColor; }
.pq-app.pq-lt .pq-nope { background: rgba(255, 255, 255, 0.94); color: var(--lt-ink); border: 0; }
.pq-app.pq-lt .pq-nope:hover { background: #ffffff; }
.pq-app.pq-lt .pq-opt.is-nope .pq-nope { background: var(--lt-ink); color: #ffffff; }
.pq-app.pq-lt .pq-opt.is-nope .pq-opt-main { border-color: var(--lt-line); }

/* Loading */
.pq-app.pq-lt .pq-ball { width: 52px; height: 52px; background: none; border: 2px solid var(--lt-line); border-top-color: var(--lt-btn); box-shadow: none; animation: pq-spin 0.9s linear infinite; }
.pq-app.pq-lt .pq-loading-line { color: var(--lt-ink); font-weight: 500; }
.pq-app.pq-lt .pq-reveal-kicker { color: var(--lt-ink); font-style: var(--lt-name-style); font-weight: var(--lt-name-weight); }
.pq-app.pq-lt .pq-drum span { width: 10px; height: 10px; background: var(--lt-ink); }

/* Results */
.pq-app.pq-lt .pq-banner { background: var(--lt-soft); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-card { color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: none; }
.pq-app.pq-lt .pq-card.is-flip { animation: pq-in 0.5s ease both; }
.pq-app.pq-lt .pq-card-glow { display: none; }
.pq-app.pq-lt .pq-card-kicker { font-size: 12px; letter-spacing: 0.22em; color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-card-name {
  font-style: var(--lt-name-style); font-weight: var(--lt-name-weight); line-height: 1.02; padding: 0;
  background: none; -webkit-text-fill-color: currentColor; color: var(--lt-ink); filter: none;
}
.pq-app.pq-lt .pq-card-tag { color: var(--lt-muted); }
.pq-app.pq-lt .pq-card-pics { height: auto; display: flex; justify-content: center; align-items: flex-end; gap: 8px; }
.pq-app.pq-lt .pq-polaroid {
  position: relative; top: auto; left: auto; flex: 0 1 31%; width: auto; height: auto; margin: 0; padding: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--lt-radius); background: var(--lt-soft); box-shadow: none; transform: none;
}
.pq-app.pq-lt .pq-polaroid img { border-radius: 0; }
.pq-app.pq-lt .pq-polaroid:nth-child(1) { order: 1; }
.pq-app.pq-lt .pq-polaroid:nth-child(3) { order: 2; }
.pq-app.pq-lt .pq-polaroid:nth-child(2) { order: 3; }
.pq-app.pq-lt .pq-polaroid.is-me { box-shadow: 0 0 0 2px var(--lt-accent); }
.pq-app.pq-lt .pq-card-chips span { color: var(--lt-ink); background: transparent; border: 1px solid var(--lt-line); border-radius: var(--lt-btn-radius); }
.pq-app.pq-lt .pq-preview { border: 1px solid var(--lt-line); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.35); }
.pq-app.pq-lt .pq-section { color: var(--lt-ink); font-style: var(--lt-q-style); font-weight: var(--lt-q-weight); }
.pq-app.pq-lt .pq-match { color: var(--lt-ink); background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); box-shadow: none; }
.pq-app.pq-lt .pq-match-link { color: var(--lt-ink); }
.pq-app.pq-lt .pq-match-photo { background: var(--lt-soft); }
.pq-app.pq-lt .pq-badge { background: var(--lt-btn); color: var(--lt-on-btn); border-radius: var(--lt-btn-radius); box-shadow: none; }
.pq-app.pq-lt .pq-match-num, .pq-app.pq-lt .pq-match-price s { color: var(--lt-muted); }
.pq-app.pq-lt .pq-match-price { color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-why i { background: var(--lt-soft); color: var(--lt-ink); border-radius: var(--lt-btn-radius); }
.pq-app.pq-lt .pq-wish { background: rgba(255, 255, 255, 0.95); color: var(--lt-ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14); }
.pq-app.pq-lt .pq-wish.is-on { background: var(--lt-accent); color: var(--lt-on-accent); transform: none; }
.pq-app.pq-lt .pq-wish.is-on svg { fill: currentColor; }
.pq-app.pq-lt .pq-share-note { color: var(--lt-muted); }

/* Try-on, Starring me, Help me pick, Save */
.pq-app.pq-lt .pq-match-photo.is-working::after, .pq-app.pq-lt .pq-slot.is-working .pq-slot-photo::after {
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 70%), rgba(255, 255, 255, 0.35);
  background-size: 220% 100%, auto;
}
.pq-app.pq-lt .pq-wait-tag { color: var(--lt-ink); border-radius: var(--lt-btn-radius); }
.pq-app.pq-lt .pq-me-tag { background: var(--lt-btn); color: var(--lt-on-btn); border-radius: var(--lt-btn-radius); }
.pq-app.pq-lt .pq-try { border-radius: var(--lt-btn-radius); color: var(--lt-on-btn); background: var(--lt-btn); }
.pq-app.pq-lt .pq-try:hover:not(:disabled) { transform: none; color: var(--lt-on-btn); opacity: 0.88; }
.pq-app.pq-lt .pq-try.is-alt, .pq-app.pq-lt .pq-try.is-alt:hover:not(:disabled), .pq-app.pq-lt .pq-try.pq-try-icon { color: var(--lt-ink); background: var(--lt-soft); }
.pq-app.pq-lt .pq-try.is-wait { color: var(--lt-muted); background: var(--lt-soft); }
.pq-app.pq-lt .pq-pick { color: var(--lt-ink); background: var(--lt-surface); border: 1px dashed var(--lt-rule); }
.pq-app.pq-lt .pq-pick.is-on { color: var(--lt-on-btn); background: var(--lt-btn); border: 1px solid var(--lt-btn); transform: none; }
.pq-app.pq-lt .pq-starme { background: var(--lt-soft); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-starme-copy small { color: var(--lt-muted); }
.pq-app.pq-lt .pq-switch { background: var(--lt-rule); }
.pq-app.pq-lt .pq-switch[aria-checked="true"] { background: var(--lt-btn); }
.pq-app.pq-lt .pq-lineup { background: var(--lt-soft); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-lineup-sub, .pq-app.pq-lt .pq-slot-hint, .pq-app.pq-lt .pq-lineup-status { color: var(--lt-muted); }
.pq-app.pq-lt .pq-slot-photo { background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-slot.is-empty .pq-slot-photo { border-style: dashed; border-color: var(--lt-rule); }
.pq-app.pq-lt .pq-slot.is-done .pq-slot-photo { border-color: var(--lt-btn); box-shadow: 0 0 0 1px var(--lt-btn); }
.pq-app.pq-lt .pq-slot-num { color: var(--lt-on-btn); background: var(--lt-btn); }
.pq-app.pq-lt .pq-slot-err { color: #b3122e; }
.pq-app.pq-lt .pq-save { background: var(--lt-surface); border: 1px solid var(--lt-line); border-radius: var(--lt-radius); }
.pq-app.pq-lt .pq-save-copy { color: var(--lt-muted); }

/* Sheets and toast */
.pq-app.pq-lt .pq-sheet { background: rgba(0, 0, 0, 0.45); }
.pq-app.pq-lt .pq-sheet-panel { color: var(--lt-ink); background: var(--lt-surface); border-radius: var(--lt-radius) var(--lt-radius) 0 0; }
@media (min-width: 640px) { .pq-app.pq-lt .pq-sheet-panel { border-radius: var(--lt-radius); } }
.pq-app.pq-lt .pq-sheet-panel .pq-sub, .pq-app.pq-lt .pq-field span, .pq-app.pq-lt .pq-tip, .pq-app.pq-lt .pq-fine { color: var(--lt-muted); }
.pq-app.pq-lt .pq-sheet-x { color: var(--lt-ink); background: var(--lt-soft); }
.pq-app.pq-lt .pq-sheet-x:hover { background: var(--lt-line); }
.pq-app.pq-lt .pq-field input { border: 1px solid var(--lt-rule); border-radius: var(--lt-radius); color: var(--lt-ink); background: #ffffff; }
.pq-app.pq-lt .pq-field input:focus { border-color: var(--lt-ink); }
.pq-app.pq-lt .pq-fine a, .pq-app.pq-lt .pq-left, .pq-app.pq-lt .pq-upload-hint, .pq-app.pq-lt .pq-upload.has-photo .pq-upload-hint b { color: var(--lt-accent-text); }
.pq-app.pq-lt .pq-upload { border: 1px dashed var(--lt-rule); border-radius: var(--lt-radius); background: var(--lt-soft); color: var(--lt-muted); }
.pq-app.pq-lt .pq-upload:hover { border-color: var(--lt-ink); }
.pq-app.pq-lt .pq-upload:focus-within { border-color: var(--lt-ink); box-shadow: 0 0 0 3px var(--lt-line); }
.pq-app.pq-lt .pq-upload-hint b, .pq-app.pq-lt .pq-consent { color: var(--lt-ink); }
.pq-app.pq-lt .pq-upload-hint small { color: var(--lt-muted); }
.pq-app.pq-lt .pq-consent input { accent-color: var(--lt-btn); }
.pq-app.pq-lt .pq-toast { color: var(--lt-bg); background: var(--lt-ink); border-radius: var(--lt-radius); }

/* Store brand: flat and photo first, with the store accent as a thin top rule */
.pq-app.pq--brand .pq-card { border-top: 4px solid var(--lt-accent); }
.pq.pq--brand .pq-title, .pq-app.pq--brand .pq-q, .pq-app.pq--brand .pq-card-name { letter-spacing: -0.01em; }
.pq-app.pq--brand .pq-card-chips span { border-color: transparent; background: var(--lt-soft); }

/* Editorial: black and white with one accent, thin rules, square corners */
.pq.pq--editorial .pq-hero { background: var(--lt-bg); border-top: 3px solid var(--lt-ink); border-bottom: 1px solid var(--lt-ink); padding-left: 4px; padding-right: 4px; }
@media (min-width: 860px) { .pq.pq--editorial .pq-hero { padding: 56px 0; } }
.pq.pq--editorial .pq-title { font-size: clamp(40px, 7vw, 76px); letter-spacing: -0.01em; }
.pq.pq--editorial .pq-start, .pq-app.pq--editorial .pq-primary { font-size: 14px; text-transform: uppercase; letter-spacing: 0.14em; }
.pq.pq--editorial .pq-mock { border: 0; border-top: 3px solid var(--lt-ink); border-bottom: 1px solid var(--lt-ink); box-shadow: none; }
.pq.pq--editorial .pq-steps b { border-radius: 0; }
.pq-app.pq--editorial .pq-q { font-size: clamp(30px, 6vw, 46px); }
.pq-app.pq--editorial .pq-card { border: 0; border-top: 3px solid var(--lt-ink); border-bottom: 1px solid var(--lt-ink); }
.pq-app.pq--editorial .pq-card-name { font-size: clamp(44px, 11vw, 60px); }
.pq-app.pq--editorial .pq-card-chips span { border: 0; padding: 2px 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.pq-app.pq--editorial .pq-section { padding-top: 12px; border-top: 1px solid var(--lt-ink); font-size: 28px; }
.pq-app.pq--editorial .pq-lineup { background: transparent; border: 0; border-top: 1px solid var(--lt-ink); border-bottom: 1px solid var(--lt-ink); padding-left: 0; padding-right: 0; }
.pq-app.pq--editorial .pq-lineup .pq-section { border-top: 0; padding-top: 0; }
.pq-app.pq--editorial .pq-match { border: 0; }
.pq-app.pq--editorial .pq-stage, .pq-app.pq--editorial .pq-card-kicker { letter-spacing: 0.24em; }

/* Boutique: warm neutrals, arches, soft motion */
.pq.pq--boutique .pq-hero { background: var(--lt-surface); border: 1px solid var(--lt-line); }
.pq.pq--boutique .pq-title { font-size: clamp(38px, 6.5vw, 66px); line-height: 1.02; }
.pq.pq--boutique .pq-look-photo, .pq.pq--boutique .pq-mock-pics span, .pq-app.pq--boutique .pq-polaroid { border-radius: 999px 999px 0 0; }
.pq.pq--boutique .pq-look:hover .pq-look-photo { transform: translateY(-2px); }
.pq.pq--boutique .pq-mock { outline: 1px solid var(--lt-line); outline-offset: -8px; }
.pq.pq--brand .pq-mock { border-top: 4px solid var(--lt-accent); }
.pq.pq--boutique .pq-start:hover, .pq-app.pq--boutique .pq-primary:hover:not(:disabled) { transform: translateY(-1px); opacity: 0.92; }
.pq-app.pq--boutique .pq-opt-main:hover { transform: translateY(-2px); }
.pq-app.pq--boutique .pq-q { font-size: clamp(32px, 6.5vw, 46px); }
.pq-app.pq--boutique .pq-card { outline: 1px solid var(--lt-line); outline-offset: -10px; }
.pq-app.pq--boutique .pq-card-name { font-size: clamp(46px, 11vw, 62px); }
.pq-app.pq--boutique .pq-polaroid { flex-basis: 29%; }
.pq-app.pq--boutique .pq-polaroid:nth-child(3) { flex-basis: 34%; aspect-ratio: 3 / 4.4; }
.pq-app.pq--boutique .pq-section { font-size: 30px; }

@media (prefers-reduced-motion: reduce) {
  .pq *, .pq-app, .pq-app * { animation: none !important; transition: none !important; }
}
