/* VOTYRA visual reference palette and shared controls. */
:root {
  color-scheme: light;
  --v2-paper: #fff8ec;
  --v2-white: #fffdf8;
  --v2-chaos: #ffe4a0;
  --v2-chill: #e5d2fa;
  --v2-feels: #ffd7e3;
  --v2-stars: #d2f4dd;
  --v2-ink: #3d153d;
  --v2-muted: #684960;
  --v2-primary: #652b78;
  --v2-line: #cfb9c7;
  --v2-radius: 18px;
  --v2-space: clamp(12px, 5.13vw, 20px);
  --v2-display: "Arial Rounded MT Bold", ui-rounded, "Nunito", system-ui, "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--v2-paper);
  color: var(--v2-ink);
  font: 16px/1.5 ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
#v2-app { display: flex; flex-direction: column; min-height: 100svh; }
#v2-app main { flex: 1; }
#v2-app main:focus { outline: none; }
#v2-app [hidden] { display: none !important; }
#v2-app :where(h1, h2, h3, p) { overflow-wrap: anywhere; }
#v2-app :where(h1, h2, h3) { margin: 0 0 .45em; line-height: 1.13; letter-spacing: -.025em; }
#v2-app h1 { font-size: clamp(26px, 7vw, 41px); font-weight: 850; }
#v2-app h2 { font-size: clamp(20px, 4.3vw, 28px); font-weight: 800; }
#v2-app p { margin: 0 0 .75em; color: var(--v2-muted); }
#v2-app a { color: inherit; text-underline-offset: 3px; }
#v2-app :where(input, select, textarea, button) { font: inherit; }
#v2-app :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #483eae;
  outline-offset: 3px;
}
#v2-app button { cursor: pointer; }
#v2-app button:disabled { cursor: wait; opacity: .65; }
#v2-app img { display: block; max-width: 100%; }
#v2-app .v2-wide, #v2-app .v2-play-width { width: min(100% - var(--v2-space) * 2, 1000px); margin-inline: auto; }
#v2-app .v2-play-width { max-width: 480px; }
.v2-header { border-bottom: 1px solid var(--v2-line); }
.v2-header-inner, .v2-footer-inner, .v2-nav, .v2-footer nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.v2-header-inner { min-height: 64px; }
.v2-brand { display: inline-flex; align-items: center; gap: 7px; font-size: 23px; font-weight: 900; letter-spacing: -.05em; text-decoration: none; }
.v2-brand span { color: var(--v2-primary); font-size: 26px; }
.v2-nav a { font-size: 14px; font-weight: 750; text-decoration: none; }
.v2-nav a:hover, .v2-inline:hover, .v2-footer a:hover { text-decoration: underline; }
.v2-lang {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  padding: 6px;
  border: 1px solid var(--v2-line);
  border-radius: 12px;
  background: var(--v2-white);
}
.v2-footer { margin-top: 24px; border-top: 1px solid var(--v2-line); color: var(--v2-muted); font-size: 13px; }
.v2-footer-inner { min-height: 72px; padding-block: 12px; flex-wrap: wrap; }
.v2-footer nav { flex-wrap: wrap; }
.v2-plain { border: 0; padding: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.v2-heading { margin-bottom: 18px; }
#v2-app main > .v2-heading { margin-top: 30px; }
.v2-heading .v2-chip { margin-bottom: 10px; }
.v2-heading p:last-child { margin-bottom: 0; }
.v2-solo { margin: 24px auto; }
.v2-panel { padding: var(--v2-space); border: 1.5px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-white); }
.v2-center { text-align: center; }
.v2-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.v2-centered-actions { justify-content: center; }
.v2-result-actions { margin-block: 14px; }
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 8px 14px;
  overflow-wrap: anywhere;
  border: 1.5px solid transparent;
  border-radius: 12px;
  color: var(--v2-ink);
  text-align: center;
  text-decoration: none;
  font-weight: 760 !important;
}
#v2-app .v2-primary { background: var(--v2-primary); color: #fff; }
.v2-primary:hover { filter: brightness(.92); }
.v2-secondary { border-color: var(--v2-line); background: var(--v2-white); }
.v2-secondary:hover, .v2-quiet:hover { background: #f4eadf; }
.v2-danger { border-color: #c78683; background: #fff0ec; color: #8b2421; }
.v2-quiet { justify-content: flex-start; padding-inline: 7px; border-color: transparent; background: transparent; }
.v2-full { width: 100%; }
.v2-inline { display: inline-flex; align-items: center; gap: 4px; font-weight: 750; }
.v2-icon { display: inline-grid; flex: 0 0 auto; place-items: center; line-height: 1; font-weight: 850; }
.v2-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .035em;
}
.v2-ip { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.v2-form, .v2-field { display: grid; gap: 8px; }
.v2-form { gap: 15px; }
.v2-field { font-weight: 700; }
.v2-field :where(input, select, textarea) {
  min-height: 48px;
  width: 100%;
  padding: 9px 10px;
  border: 1.5px solid var(--v2-line);
  border-radius: 10px;
  background: #fff;
  color: var(--v2-ink);
  font-weight: 500;
}
.v2-field textarea { resize: vertical; }
.v2-field small, .v2-radio small, .v2-note { color: var(--v2-muted); font-size: 13px; font-weight: 500; }
.v2-radio-group { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; }
.v2-radio-group legend { margin: 0 0 6px; padding: 0; font-weight: 750; }
.v2-radio {
  display: flex;
  min-height: 48px;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--v2-line);
  border-radius: 10px;
  background: #fff;
}
.v2-radio:has(input:checked) { border-color: var(--v2-primary); background: #f3e7fc; }
.v2-radio:has(input:disabled) { opacity: .6; }
.v2-radio input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--v2-primary); }
.v2-radio small { display: block; margin-top: 3px; }
#v2-app .v2-form-error { color: #9d211c; }
.v2-form-error:empty { display: none; }
.v2-count { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
#v2-app progress { display: block; width: 100%; height: 10px; margin-block: 5px 7px; accent-color: var(--v2-primary); }
.v2-disclosure { margin-top: 14px; padding: 12px 0 0; border-top: 1px solid var(--v2-line); }
.v2-disclosure summary { min-height: 38px; font-weight: 800; cursor: pointer; }
.v2-revenge-links { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--v2-line); }
#v2-app .v2-revenge-links h2 { font-size: 18px; }
.v2-intro-lead { font-weight: 700; }
.v2-vote-error { margin-bottom: 10px; padding: 9px; border: 1px solid #c78683; border-radius: 10px; background: #fff0ec; }
.v2-revenge { margin-top: 14px; }
.v2-dist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.v2-dist li { display: grid; grid-template-columns: 57px minmax(0, 1fr) auto; align-items: center; gap: 7px; font-size: 13px; }
.v2-type-detail { width: min(70%, 160px); margin-inline: auto; }
.v2-loading { padding-block: 45px; text-align: center; }
.v2-toast {
  position: fixed;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 24px);
  padding: 10px 16px;
  border-radius: 11px;
  background: var(--v2-ink);
  color: #fff;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 2px 7px #0003;
}
.v2-toast:empty { display: none; }
.v2-dialog {
  width: min(100% - 24px, 430px);
  max-height: calc(100% - 24px);
  padding: 20px;
  border: 1.5px solid var(--v2-line);
  border-radius: var(--v2-radius);
  background: var(--v2-white);
  color: var(--v2-ink);
}
.v2-dialog::backdrop { background: #28102588; }
.v2-dialog h2 { padding-right: 40px; }
.v2-dialog-x { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: inherit; font-size: 28px !important; }
.v2-dialog-x:hover { background: #f5eae5; }
.v2-poster-preview { width: auto; height: min(50vh, 380px); max-width: 100%; object-fit: contain; margin: 7px auto 12px; }
.v2-clipboard { position: fixed; top: 0; left: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  #v2-app *, #v2-app *::before, #v2-app *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .v2-option:active, .v2-btn:active { transform: none; }
}

/* UI001–UI013. Lettering, silhouettes, and props are composed independently. */
#v2-app {
  --v2-line: var(--v2-ink);
  --v2-muted: var(--v2-ink);
}
#v2-app :is(h1,h2,.v2-brand,.v2-btn,.v2-option,.v2-chip,.v2-type,.v2-type-filter,.v2-nav-step) {
  font-family: var(--v2-display);
}
#v2-app h1 { line-height: 1.03; letter-spacing: -.035em; text-wrap: balance; font-weight: 950; -webkit-text-stroke: .32px currentColor; }
#v2-app .v2-wide { width: min(100% - var(--v2-space) * 2, 1320px); }
#v2-app .v2-play-width { max-width: 500px; }
.v2-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.v2-picture { display: block; min-width: 0; }
.v2-drawn { display: block; width: 1.3em; height: 1.3em; flex: 0 0 auto; }
.v2-header { border: 0; }
.v2-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  min-height: 56px;
  column-gap: 0;
}
#v2-app .v2-brand {
  grid-column: 2;
  justify-self: center;
  background: var(--v2-primary);
  color: #fff;
  border-radius: 100px;
  padding: 3px 19px 5px;
  font-size: 27px;
  line-height: 1.15;
  letter-spacing: -.035em;
}
.v2-header .v2-nav { grid-column: 3; justify-self: end; gap: 22px; }
.v2-header .v2-guide { display: none; }
.v2-header .v2-lang {
  background: transparent;
  border: 0;
  padding: 0;
  min-width: 44px;
  font: 900 16px var(--v2-display);
}
.v2-nav-control {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -5px;
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
}
.v2-nav-control .v2-drawn { width: 30px; height: 30px; }
.v2-menu summary { list-style: none; cursor: pointer; }
.v2-menu summary::-webkit-details-marker { display: none; }
.v2-menu nav {
  position: absolute;
  z-index: 5;
  left: 0;
  top: calc(100% + 5px);
  padding: 9px;
  border: 2px solid;
  border-radius: 13px;
  background: var(--v2-paper);
  box-shadow: 0 4px 0 currentColor;
}
.v2-menu a { display: block; padding: 9px; font-weight: 800; }
.v2-nav-step { grid-column: 3; justify-self: end; font-size: 20px; font-weight: 950; }
.v2-minimal-header { display: grid; place-items: center; padding: 18px var(--v2-space) 5px; }
#v2-app .v2-minimal-header .v2-brand { grid-column: auto; }
#v2-app[data-layout="duo-result"] .v2-brand {
  width: min(100%, 460px);
  text-align: center;
  justify-content: center;
  font-size: clamp(16px, 5.3vw, 25px);
  padding: 10px 12px;
  border: 2px solid var(--v2-ink);
  box-shadow: 0 4px 0 var(--v2-ink);
}
#v2-app .v2-btn {
  min-height: 52px;
  border: 2px solid transparent;
  border-radius: 17px;
  font-weight: 900 !important;
  font-size: 17px;
  line-height: 1.1;
}
#v2-app :is(.v2-primary,.v2-yellow) {
  border-color: var(--v2-ink);
  box-shadow: 0 4px 0 var(--v2-ink);
}
#v2-app .v2-yellow { background: var(--v2-chaos); color: var(--v2-ink); }
#v2-app .v2-secondary { border-color: var(--v2-ink); background: var(--v2-paper); }
#v2-app .v2-text-link {
  display: inline-flex;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
}
#v2-app :is(.v2-primary,.v2-yellow,.v2-option):active { transform: translateY(2px); }
.v2-chip { background: var(--v2-chill); padding: 4px 13px; border-width: 2px; letter-spacing: 0; }
.v2-highlight {
  background: linear-gradient(transparent 73%, #ffdd82 73%, #ffdd82 96%, transparent 96%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.v2-solo { margin: 19px auto 32px; }
.v2-heading { margin-bottom: 15px; }
.v2-panel { background: var(--v2-paper); border-width: 2px; }
.v2-footer { margin-top: 16px; border-color: #3d153d38; }
.v2-footer-inner { min-height: 52px; }

/* UI001 and UI013 */
/* The actual reward sits between the promise and the create action on a phone. */
.v2-hero {
  display: grid;
  grid-template-areas: "copy" "examples" "actions";
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 13px;
  text-align: center;
  padding: 14px 0 24px;
}
.v2-hero-copy { grid-area: copy; min-width: 0; }
#v2-app .v2-hero h1 { font-size: clamp(27px, 8.4vw, 42px); margin: 0 0 10px; }
#v2-app .v2-brand-line { margin: 0 0 6px; font: 800 11px var(--v2-display); letter-spacing: .035em; }
#v2-app .v2-hero-lead { font-weight: 750; font-size: clamp(14px, 4.2vw, 20px); line-height: 1.22; margin: 0 auto 7px; }
.v2-hero-rewards {
  display: grid;
  gap: 3px;
  width: fit-content;
  margin: 7px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 13px;
  line-height: 1.18;
}
.v2-hero-rewards li { display: flex; gap: 7px; align-items: baseline; }
.v2-hero-rewards li::before { content: "✦"; color: var(--v2-primary); }
.v2-examples { grid-area: examples; width: min(100%, 420px); min-width: 0; }
.v2-example-frame { position: relative; padding-inline: 23px; touch-action: pan-y; }
.v2-example-card .v2-result-card { gap: 5px; padding: 9px; min-height: 297px; }
.v2-example-card .v2-card-top .v2-chip { min-height: 21px; padding: 1px 10px; }
.v2-example-card .v2-result-creature { gap: 3px; }
.v2-example-card .v2-single .v2-result-code { font-size: clamp(48px, 20cqi, 78px); }
.v2-example-card .v2-result-stage { align-items: center; height: 158px; }
.v2-example-card .v2-result-stage > .v2-portrait { width: min(80%, calc(143px * var(--portrait-ratio))); }
.v2-example-card .v2-single .v2-result-code { font-size: clamp(43px, 18cqi, 77px); }
.v2-example-card .v2-result-name { font: 900 clamp(13px, 6cqi, 23px)/1.12 var(--v2-display); }
#v2-app .v2-example-card .v2-result-tagline { font-size: clamp(13px, 5cqi, 20px); max-width: 29ch; }
.v2-example-card .v2-bug-row { box-shadow: 1px 2px 0 var(--v2-ink); }
.v2-example-card .v2-bug-row .v2-drawn { width: 23px; height: 23px; }
.v2-example-card .v2-bug-chip { font-size: 13px; }
.v2-example-card .v2-card-bottom { display: none; }
.v2-example-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--v2-ink);
  color: var(--v2-ink);
  background: var(--v2-paper);
  box-shadow: 0 3px 0 var(--v2-ink);
  transform: translateY(-50%);
}
.v2-example-prev { left: 0; }
.v2-example-next { right: 0; }
.v2-example-next svg { transform: scaleX(-1); }
.v2-example-pagination { display: flex; justify-content: center; }
.v2-example-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 35px;
  border: 0;
  padding: 0;
  color: var(--v2-ink);
  background: none;
}
.v2-example-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--v2-paper);
}
.v2-example-dot[aria-current="true"]::before { background: var(--v2-primary); box-shadow: 0 0 0 2px var(--v2-chill); }
#v2-app .v2-example-prompt { font: 900 clamp(15px, 4.4vw, 22px)/1.15 var(--v2-display); margin: 0; }
.v2-hero-art { position: relative; width: 100%; max-width: 430px; justify-self: center; aspect-ratio: 1.08; isolation: isolate; }
.v2-hero-art .v2-picture { position: absolute; }
.v2-hero-yap { width: 65%; left: 16%; top: 21%; z-index: 3; }
.v2-hero-zzz { width: 49%; left: -2%; top: 23%; z-index: 1; }
.v2-hero-loop { width: 49%; right: 3%; top: 9%; z-index: 0; }
.v2-hero-mvp { width: 47%; right: -1%; top: 40%; z-index: 2; }
.v2-speech {
  position: absolute;
  z-index: 4;
  left: 10%;
  top: 3%;
  display: block;
  padding: 9px 16px;
  border: 2px solid;
  border-radius: 52% 48% 44% 46%;
  background: var(--v2-feels);
  transform: rotate(-9deg);
  font: 950 clamp(19px, 5vw, 31px)/1.1 var(--v2-display);
  white-space: nowrap;
}
.v2-speech::before {
  content: "";
  position: absolute;
  left: 39%;
  bottom: -12px;
  width: 14px;
  height: 14px;
  border: solid var(--v2-ink);
  border-width: 0 2px 2px 0;
  background: var(--v2-feels);
  transform: skew(18deg) rotate(37deg);
}
.v2-speech::after { content: "✹"; position: absolute; left: -20px; top: -9px; font-size: 21px; }
.v2-hero-actions { grid-area: actions; width: 100%; justify-content: center; gap: 0; }
#v2-app .v2-hero-actions .v2-primary { min-height: 56px; font-size: clamp(17px, 5vw, 24px); }
@media (max-width: 799px) {
  #v2-app:lang(en) .v2-hero h1 { font-size: clamp(25px, 7.6vw, 37px); }
  #v2-app:lang(en) .v2-example-prompt { font-size: 15px; }
  .v2-example-dot { height: 36px; }
}

/* The how-to tiles and the sample card each retain their own height. */
.v2-home-lower {
  display: grid;
  align-items: start;
  gap: clamp(26px, 5vw, 62px);
  padding: 28px 0 42px;
  border-top: 2px solid;
}
.v2-how { min-width: 0; }
#v2-app .v2-how h2 { font-size: clamp(26px, 5vw, 39px); }
.v2-how-steps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 12px 0 18px;
  list-style: none;
}
.v2-how-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 4px 9px;
  background: var(--step-paper);
  border: 2px solid var(--v2-ink);
  border-radius: 14px;
  box-shadow: 0 3px 0 var(--v2-ink);
  font: 850 clamp(16px, 4.6vw, 21px)/1.18 var(--v2-display);
}
.v2-step-number {
  display: grid;
  place-items: center;
  background: var(--v2-ink);
  color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.v2-how-steps .v2-picture { align-self: center; }
.v2-sample { min-width: 0; width: min(100%, 450px); justify-self: center; }

/* UI002–UI004 */
/* A personal, unrevealed card shares the invite form before submission. */
.v2-create-screen { text-align: center; margin: 14px auto 32px; max-width: 460px; }
.v2-create-screen .v2-heading { margin-bottom: 15px; }
#v2-app .v2-create-screen h1 { font-size: clamp(25px, 7.4vw, 43px); }
#v2-create-form { gap: 13px; }
#v2-create-form #v2-name { border: 2px solid; background: #fff; font-size: 17px; }
#v2-create-form .v2-radio-group { gap: 8px; text-align: left; }
#v2-create-form legend { text-align: center; font: 950 20px var(--v2-display); }
#v2-create-form .v2-radio { min-height: 51px; padding: 8px 11px; border: 2px solid; border-radius: 13px; background: var(--v2-paper); }
#v2-create-form .v2-radio:has(input:checked) { background: var(--v2-chaos); }
#v2-create-form .v2-radio span { font: 900 16px/1.12 var(--v2-display); }
#v2-create-form button[type="submit"] { min-height: 54px; font-size: clamp(17px, 5vw, 21px); }
.v2-create-preview {
  display: grid;
  justify-items: center;
  gap: 7px;
  isolation: isolate;
  position: relative;
  padding: 13px;
  border: 2px solid var(--v2-ink);
  border-radius: 17px;
  background: var(--v2-chill);
  box-shadow: 0 3px 0 var(--v2-ink);
}
#v2-app .v2-create-preview h2 { margin: 0; padding: 4px 10px; border: 1.5px solid; border-radius: 14px; background: var(--v2-paper); font-size: clamp(14px, 5vw, 21px); }
.v2-create-silhouette { position: relative; isolation: isolate; width: min(100%, 127px); aspect-ratio: 1; display: grid; place-items: center; }
.v2-create-silhouette::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--v2-primary); mask: url("/v2/ip/YAP.webp") center / contain no-repeat; }
@media (max-width: 600px) {
  .v2-create-silhouette::before { mask-image: url("/v2/ip/YAP-420.webp"); }
}
.v2-create-silhouette span { color: var(--v2-paper); font: 950 60px/1 var(--v2-display); text-shadow: 1px 2px var(--v2-ink); }
#v2-app .v2-create-preview p { margin: 0; font-size: 13px; }
#v2-app .v2-create-preview .v2-create-unknown { font-size: 16px; font-weight: 850; }
.v2-create-preview .v2-voters span { width: 35px; height: 35px; font-size: 17px; background: var(--v2-paper); }
.v2-mystery { position: relative; width: min(68%, 220px); aspect-ratio: 1; margin: 4px auto 8px; display: grid; place-items: center; isolation: isolate; }
.v2-mystery-shape {
  width: 76%;
  height: 82%;
  border-radius: 53% 49% 48% 45%;
  background: var(--v2-primary);
  color: var(--v2-paper);
  display: grid;
  place-items: center;
  font: 950 clamp(78px, 27vw, 125px)/1 var(--v2-display);
  position: relative;
}
.v2-mystery-shape::before, .v2-mystery-shape::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: inherit;
}
.v2-mystery-shape::before { width: 28%; height: 21%; left: 37%; top: -9%; border-radius: 65% 35%; transform: rotate(31deg); }
.v2-mystery-shape::after { width: 114%; height: 35%; bottom: 12%; border-radius: 48%; }
.v2-mystery::before, .v2-mystery::after { content:"✹"; position: absolute; font-size: 35px; left: -6%; top: 20%; }
.v2-mystery::after { left: auto; right: -6%; top: 28%; }
.v2-mystery-lock { position: absolute; bottom: -1%; width: 30%; height: 30%; background: var(--v2-chaos); padding: 5px; border: 2px solid; border-radius: 25%; }
.v2-invite-collectible { display: grid; justify-items: center; gap: 5px; padding: 10px 13px 13px; margin: 0 0 12px; border: 2px solid; border-radius: 20px; background: var(--v2-chill); box-shadow: 0 4px 0 var(--v2-ink); }
.v2-invite-collectible > .v2-chip { background: var(--v2-paper); }
.v2-invite-screen .v2-heading { margin-top: 5px; }
#v2-app .v2-invite-screen h1 { font-size: clamp(30px, 9.2vw, 41px); }
.v2-invite-screen .v2-mystery { width: min(57%, 182px); margin-block: 2px 6px; }
.v2-invite-screen .v2-heading { margin-bottom: 10px; }
#v2-app .v2-invite-screen .v2-progress-box p { margin: 0; }
#v2-app .v2-invite-screen .v2-text-link { min-height: 44px; }
#v2-app .v2-invite-screen > .v2-yellow { font-size: 22px; min-height: 54px; }
.v2-invite-message-preview {
  margin: 16px 0 7px;
  padding: 8px 12px;
  border-inline-start: 3px solid var(--v2-primary);
  border-radius: 0 12px 12px 0;
  background: var(--v2-feels);
  text-align: left;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.3;
}
#v2-app .v2-invite-options { gap: 0 5px; }
#v2-app .v2-invite-options .v2-btn { font-size: 13px; min-height: 44px; padding-inline: 7px; }
.v2-invite-url { margin-bottom: 9px; color: var(--v2-muted); text-align: left; font-size: 13px; }
.v2-invite-url summary { display: list-item; padding: 4px 0; cursor: pointer; }
.v2-invite-url input { display: block; width: 100%; padding: 7px; border: 1px solid; border-radius: 7px; background: var(--v2-paper); color: inherit; }
.v2-progress-box { display: grid; justify-items: center; gap: 8px; }
.v2-progress-box .v2-chip { font-size: 19px; padding-inline: 28px; }
.v2-voters { display: flex; gap: 10px; }
.v2-voters span { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid; border-radius: 50%; font-size: 22px; }
.v2-voters .v2-voted { background: var(--v2-primary); border-color: var(--v2-ink); color: var(--v2-paper); }
.v2-invite-screen .v2-actions { justify-content: center; }
#v2-app .v2-locked-control { border-color: var(--v2-primary); background: transparent; color: var(--v2-primary); cursor: default; }
.v2-invite-screen :is(.v2-disclosure,#v2-revenge-links) { text-align: left; }
#v2-revenge-links:empty { display: none; }
.v2-play-intro { margin-top: 23px; }
#v2-app .v2-play-intro h1 { font-size: clamp(32px, 10.25vw, 47px); }
#v2-app .v2-play-punch { font: 950 clamp(29px, 9.5vw, 44px)/1.08 var(--v2-display); display: inline; }
.v2-intro-art { position: relative; isolation: isolate; margin: 14px auto; width: 100%; }
.v2-intro-art .v2-picture { width: min(108%, 385px); margin: auto; position: relative; left: 50%; transform: translateX(-50%); margin-inline: 0; }
.v2-intro-art > span { position: absolute; font-size: 36px; line-height: 1; top: 27%; left: 4%; color: #bf6910; }
.v2-intro-art > span:last-child { left: auto; right: 4%; top: 15%; }
#v2-app .v2-play-intro .v2-intro-lead { margin: 12px auto 22px; font-size: 16px; }
#v2-app .v2-play-intro .v2-primary { font-size: 24px; }

/* UI005–UI007 */
.v2-round { margin-top: 18px; }
#v2-app .v2-round-progress {
  appearance: none;
  height: 15px;
  margin: 0 0 23px;
  border: 2px solid var(--v2-ink);
  border-radius: 22px;
  overflow: hidden;
  background: #f9e8ed;
}
.v2-round-progress::-webkit-progress-bar { background: transparent; }
.v2-round-progress::-webkit-progress-value { background: var(--v2-primary); border-radius: 20px; }
.v2-round-progress::-moz-progress-bar { background: var(--v2-primary); border-radius: 20px; }
#v2-app .v2-round h1 { font-size: clamp(30px, 9.15vw, 42px); }
.v2-question { position: relative; }
.v2-question .v2-heading { margin: 0 0 20px; }
.v2-question small { display: block; font-size: .64em; margin-top: 10px; line-height: 1.16; }
.v2-round-2 .v2-question, .v2-round-3 .v2-question { text-align: center; }
.v2-round-3 .v2-question > .v2-picture { position: absolute; right: 0; bottom: -4px; width: 52px; height: 50px; overflow: hidden; pointer-events: none; }
.v2-round-3 .v2-heading { padding-right: 0; }
#v2-app .v2-round-3 .v2-heading h1 { font-size: clamp(25px, 8.2vw, 39px); padding-inline: 14px; }
.v2-round-3 .v2-question > .v2-picture { right: -4px; bottom: -8px; width: 35px; height: 42px; }
.v2-option-list { display: grid; gap: 12px; margin: 0 0 9px; }
.v2-option {
  width: 100%;
  display: grid;
  align-items: center;
  grid-template-columns: 33% minmax(0, 1fr);
  min-height: clamp(98px, 30vw, 131px);
  gap: 9px;
  padding: 8px;
  border: 2px solid var(--v2-ink);
  border-radius: 17px;
  background: var(--option);
  color: var(--v2-ink);
  box-shadow: 0 4px 0 var(--v2-ink);
  text-align: left;
  font-size: clamp(17px, 5.65vw, 24px) !important;
  font-weight: 900 !important;
  line-height: 1.11;
  overflow-wrap: anywhere;
}
.v2-option-silhouette {
  width: 100%;
  aspect-ratio: 1;
  background: var(--v2-ink);
  mask: var(--silhouette) center / contain no-repeat;
}
.v2-round-2 .v2-option { position: relative; grid-template-columns: minmax(0,1fr); padding: 10px 36% 10px 13px; overflow: hidden; box-shadow: none; }
.v2-choice-art { position: absolute; width: 44%; right: -2%; top: -4%; }
.v2-bugs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v2-bugs .v2-option {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  justify-items: center;
  gap: 3px;
  padding: 7px;
  min-height: clamp(95px, 28vw, 133px);
  text-align: center;
  font-size: clamp(15px, 4.6vw, 20px) !important;
}
.v2-bugs .v2-drawn { width: 55px; height: 55px; }
.v2-round-3 > .v2-text-link { width: 100%; }

/* UI008–UI012 and unlocked reveal */
.v2-roast-screen, .v2-reveal-screen { text-align: center; }
.v2-roast-screen .v2-result-card { margin-bottom: 15px; }
@media (max-width: 600px) {
  .v2-option-silhouette { mask-image: var(--silhouette-mobile, var(--silhouette)); }
}

/* Reusable collectible for the example, individual roast, and official reveal. */
.v2-result-card {
  position: relative;
  container-type: inline-size;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(11px, 3vw, 19px);
  border: 2px solid var(--v2-ink);
  border-radius: 22px;
  background: var(--result-color);
  box-shadow: 0 4px 0 var(--v2-ink);
  text-align: center;
  overflow-wrap: anywhere;
}
.v2-result-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #3d153d35;
  border-radius: 16px;
  pointer-events: none;
}
.v2-card-top, .v2-card-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
}
.v2-card-top > span:first-child {
  background: var(--v2-paper);
  border: 2px solid;
  border-radius: 100px;
  padding: 5px 14px;
  text-transform: uppercase;
  font: 950 15px/1.15 var(--v2-display);
}
.v2-card-top .v2-chip { background: var(--v2-feels); min-height: 22px; padding: 2px 8px; }
.v2-card-bottom { font: 800 11px/1.25 var(--v2-display); }
.v2-card-portraits {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.v2-card-portraits:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.v2-result-creature {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  gap: 5px;
}
.v2-result-creature strong {
  position: relative;
  z-index: 1;
  color: var(--v2-ink);
  font: 950 clamp(26px, 11cqi, 47px)/.98 var(--v2-display);
  letter-spacing: -.05em;
}
.v2-single .v2-result-creature strong {
  font-size: clamp(55px, 24cqi, 99px);
  text-shadow: 0 4px var(--v2-paper);
}
.v2-result-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  width: 100%;
}
.v2-result-stage::before {
  position: absolute;
  inset: 6% 10% 8%;
  content: "";
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, #fff8ecde 0 53%, transparent 54%);
}
.v2-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: var(--portrait-ratio);
}
.v2-portrait > .v2-picture {
  position: absolute;
  top: var(--portrait-top);
  left: var(--portrait-left);
  width: var(--portrait-size);
}
.v2-result-stage > .v2-portrait { width: 77%; }
.v2-card-spark {
  position: absolute;
  z-index: -1;
  font-size: clamp(15px, 8cqi, 35px);
  line-height: 1;
}
.v2-card-spark-left { top: 17%; left: 4%; transform: rotate(-12deg); }
.v2-card-spark-right { right: 3%; bottom: 16%; transform: rotate(14deg); }
.v2-result-team {
  max-width: 100%;
  margin-top: 4px;
  padding: 3px 12px;
  border: 2px solid;
  border-radius: 100px;
  background: var(--camp);
  font: 950 clamp(10px, 4cqi, 16px)/1.15 var(--v2-display);
}
#v2-app .v2-result-tagline {
  max-width: 24ch;
  margin: 0;
  font: 850 clamp(16px, 5.5cqi, 24px)/1.18 var(--v2-display);
}
.v2-bug-row {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  padding: 5px 12px 5px 6px;
  border: 2px solid;
  border-radius: 12px;
  background: var(--v2-chill);
  text-align: left;
  box-shadow: 2px 2px 0 var(--v2-ink);
}
.v2-bug-row .v2-drawn { width: 32px; height: 32px; margin-inline: 2px; }
.v2-bug-row > div { padding-left: 8px; border-left: 1px solid; }
.v2-bug-row b { display: block; font: 800 10px/1.3 var(--v2-display); letter-spacing: .035em; }
.v2-bug-chip { font: 900 16px/1.1 var(--v2-display); }
.v2-bug-chip + .v2-bug-chip::before { content: " · "; }
.v2-roast-screen .v2-card-bottom { display: none; }
.v2-roast-screen .v2-result-name { font: 900 clamp(16px, 6cqi, 26px)/1.12 var(--v2-display); }
#v2-app .v2-roast-disclosure { margin: 14px 0 6px; font-size: 14px; }
.v2-reveal-screen .v2-result-actions { justify-content: center; }
.v2-reveal-screen .v2-result-actions .v2-btn { flex: 1 1 145px; }
@media (prefers-reduced-motion: no-preference) {
  .v2-reveal-screen .v2-result-code {
    animation: v2-reveal-pop 340ms cubic-bezier(.22,.8,.24,1) both;
  }
}
@keyframes v2-reveal-pop {
  0% { opacity: 0; transform: translateY(8px) scale(.94); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.v2-share-strip { justify-content: center; gap: 0; }
.v2-share-strip .v2-text-link { width: 50%; text-decoration: none; }
#v2-app .v2-share-strip .v2-text-link + .v2-text-link { border-left: 1px solid; border-radius: 0; }
.v2-roast-revenge {
  margin-top: 18px;
  padding: 15px;
  border-radius: 20px;
  background: var(--v2-ink);
  color: var(--v2-paper);
}
.v2-roast-revenge-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: start;
}
.v2-roast-revenge-intro img { flex: none; width: 68px; height: 68px; object-fit: contain; }
#v2-app .v2-roast-revenge h2 { margin: 0; font-size: clamp(21px, 6vw, 29px); line-height: 1.12; }
#v2-app .v2-roast-revenge p { margin: 9px 0 15px; color: inherit; }
#v2-app .v2-roast-revenge .v2-yellow { min-height: 50px; }
#v2-app .v2-roast-revenge .v2-text-link { margin-top: 8px; color: inherit; }
#v2-app .v2-revenge-send-hint { margin: 12px 0 2px; }
.v2-duo-result { margin-top: 33px; }
#v2-app .v2-duo-result h1 { font-size: clamp(45px, 15vw, 72px); }
.v2-duo-creatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 31px 0 29px; }
.v2-duo-creatures > div { display: grid; place-items: center; min-width: 0; aspect-ratio: .8; border: 2px solid; border-radius: 18px; overflow: hidden; box-shadow: 0 3px 0 var(--v2-ink); background: var(--camp); }
.v2-duo-creatures .v2-portrait { width: min(92%, calc(116% * var(--portrait-ratio))); }
.v2-duo-card h2 { line-height: 1.1; font-size: clamp(27px, 8vw, 39px) !important; }
#v2-app .v2-duo-card p { font-size: 17px; margin-bottom: 25px; }
#v2-app .v2-duo-result .v2-primary { font-size: 24px; min-height: 60px; }
.v2-type-screen { margin: 24px auto 35px; text-align: center; }
.v2-type-filters, .v2-type-grid { display: grid; gap: 8px; }
.v2-type-filters { grid-template-columns: repeat(4, minmax(0,1fr)); }
.v2-type-filter, .v2-type { border: 2px solid; color: inherit; background: var(--camp); min-width: 0; }
.v2-type-filter { border-radius: 30px; min-height: 39px; font-weight: 950 !important; font-size: clamp(10px, 3.2vw, 16px) !important; padding: 2px; }
.v2-type-filter[aria-pressed="true"] { outline: 2px solid var(--v2-ink); outline-offset: -4px; }
.v2-type-grid { grid-template-columns: repeat(2, minmax(0,1fr)); margin: 14px 0 19px; }
.v2-type { display: flex; flex-direction: column; align-items: center; padding: 4px 5px 9px; border-radius: 15px; line-height: 1.13; font-size: 13px !important; font-weight: 700 !important; }
.v2-type b { font-size: clamp(27px, 8vw, 40px); line-height: 1.0; margin-bottom: 4px; }
.v2-type .v2-picture { width: 100%; }
.v2-locked-screen { padding: 22px 13px; border: 2px solid; border-radius: 23px; background: var(--v2-chill); }
.v2-locked-screen .v2-mystery { width: min(77%, 285px); margin: 14px auto 21px; }
.v2-locked-screen .v2-mystery-shape { background: var(--v2-ink); width: 73%; height: auto; aspect-ratio: .99; align-self: start; margin-top: 4%; border-radius: 50%; }
.v2-locked-screen .v2-mystery-shape::before { display: none; }
.v2-locked-screen .v2-mystery-shape b { margin-top: -18%; }
.v2-locked-screen .v2-mystery-shape::after { bottom: -10%; height: 43%; width: 124%; }
#v2-app .v2-locked-screen h1 { font-size: clamp(28px, 9.1vw, 42px); }
#v2-app .v2-locked-screen .v2-primary { font-size: 23px; }
.v2-locked-count { font: 950 clamp(19px, 6vw, 27px) var(--v2-display); }
#v2-app .v2-unlock-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin: 5px 0 13px;
  padding: 10px;
  background: var(--v2-stars);
  border: 2px solid;
  border-radius: 14px;
  font-weight: 800;
}
.v2-unlock-date .v2-drawn { width: 27px; height: 27px; }

@media (min-width: 800px) {
  #v2-app[data-layout="home"] .v2-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 65px;
    border-bottom: 2px solid;
  }
  #v2-app[data-layout="home"] .v2-menu { display: none; }
  #v2-app[data-layout="home"] .v2-brand { grid-column: 1; justify-self: start; }
  #v2-app[data-layout="home"] .v2-nav { grid-column: 2; }
  #v2-app[data-layout="home"] .v2-guide { display: block; font: 900 18px var(--v2-display); }
  .v2-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, .91fr);
    grid-template-areas: "copy examples" "actions examples";
    justify-items: start;
    align-items: end;
    column-gap: clamp(26px, 6vw, 84px);
    row-gap: 21px;
    min-height: min(52vw, 720px);
    padding: 28px 0 43px;
    text-align: left;
  }
  #v2-app .v2-hero h1 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 17px; text-wrap: pretty; }
  #v2-app .v2-brand-line { margin-bottom: 11px; font-size: 15px; }
  #v2-app .v2-hero-lead { margin: 0 0 10px; font-size: clamp(17px, 2.25vw, 30px); }
  .v2-hero-rewards { margin: 0; gap: 6px; font-size: clamp(15px, 1.5vw, 20px); }
  .v2-hero-actions { align-self: start; max-width: 460px; justify-content: flex-start; }
  .v2-examples { align-self: center; justify-self: center; width: min(100%, 487px); text-align: center; }
  .v2-example-card .v2-result-card { min-height: 478px; gap: 8px; padding: 13px; }
  .v2-example-card .v2-result-stage { height: 255px; }
  .v2-example-card .v2-result-stage > .v2-portrait { width: min(78%, calc(248px * var(--portrait-ratio))); }
  .v2-example-card .v2-bug-chip { font-size: 16px; }
  .v2-speech { font-size: clamp(22px, 3vw, 34px); padding: 10px 18px; }
  .v2-create-screen { max-width: 840px; margin-top: 52px; }
  #v2-create-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 30px; align-items: start; }
  #v2-create-form > :not(.v2-create-preview) { grid-column: 1; }
  .v2-create-preview { grid-column: 2; grid-row: 1 / span 6; align-self: start; }
  .v2-create-silhouette { width: min(100%, 225px); }
  .v2-create-silhouette span { font-size: 94px; }
  .v2-home-lower { grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); max-width: 1040px; margin-inline: auto; }
}

#v2-app:not([data-layout="home"]) #v2-main { min-height: calc(100svh - 56px); }

.v2-discovery { margin: 0 auto 30px; padding-top: 14px; border-top: 1px solid #3d153d35; }
.v2-discovery p { line-height: 1.45; }
.v2-discovery nav { font-weight: 750; line-height: 2; }
.v2-analytics-choice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; padding: 5px 0 14px; font-size: 12px; }
.v2-analytics-choice button, .v2-analytics-choice a { min-height: 24px; }
