/* Reuse QUEEN's paired-phone grid: 250px phones, 116px gap; 34px gap on mobile. */
/* Interactive trends phone beside the recorded registration flow: two equal 250px phones (frameless .phone-screen). */
.unfurl-registration-pair { grid-template-columns: repeat(2, minmax(0, 250px)); justify-content: center; align-items: start; gap: clamp(16px, 4vw, 48px); }
.unfurl-registration-pair .unfurl-trends-phone { width: 100%; max-width: 250px; aspect-ratio: 640 / 1242; }
.unfurl-registration-pair > video { width: 100%; max-width: 250px; height: auto; }
.unfurl-registration-form { grid-column: 3; }
.unfurl-form-device { container-type: inline-size; position: relative; border-radius: 0; box-shadow: none !important; }
.unfurl-form-status { display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; width: calc(100% - 10px); height: 11.196cqw; margin: 5px auto 0; padding-inline: 6.1cqw; background: #fcf9f5; color: #191718; border-radius: 22px 22px 0 0; font: 600 3.817cqw/1 -apple-system, BlinkMacSystemFont, sans-serif; }
.unfurl-form-status svg { display: block; width: 18.32cqw; height: 4.07cqw; }
.unfurl-form-device > img { display: block; width: calc(100% - 10px); height: auto; margin: 0 auto; border-radius: 0 0 6px 6px; }
.unfurl-form-device-frame { position: absolute; inset: 0 0 auto; height: 216.7939cqw; box-sizing: border-box; border: 4px solid #282425; border-radius: 28px; box-shadow: inset 0 0 0 1px #89817d, 0 0 0 1px #aaa09a, 0 16px 40px -12px rgb(52 41 42 / .22); pointer-events: none; }
.unfurl-form-device-camera { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 38px; height: 9px; border-radius: 10px; background: #191718; }
.unfurl-form-device-home { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 36%; height: 3px; border-radius: 3px; background: #302a2b; }
@media (max-width: 639px) {
  .unfurl-form-status { width: calc(100% - 6px); margin-top: 3px; border-radius: 16px 16px 0 0; }
  .unfurl-form-device > img { width: calc(100% - 6px); border-radius: 0 0 4px 4px; }
  .unfurl-form-device-frame { border-width: 2px; border-radius: 19px; }
  .unfurl-form-device-camera { width: 25px; height: 6px; top: 3px; }
  .unfurl-form-device-home { height: 2px; bottom: 4px; }
}
.unfurl-trends-phone {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 393 / 852;
  overflow: hidden;
  isolation: isolate;
  background: #98594c url("asset/unfurl/unfurl-registration-bloom-background.jpg") center / cover;
  color: #fff;
}
.unfurl-trends-phone::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 10 8 / .42); }
.unfurl-trends-content {
  --u: calc(100cqw / 393);
  height: 100%;
  box-sizing: border-box;
  padding: calc(24 * var(--u)) calc(20 * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: calc(12 * var(--u));
  font-family: "Noto Sans TC", sans-serif;
}
.unfurl-trends-heading h3 { margin: 0; color: rgb(255 255 255 / .8); font: 400 calc(32 * var(--u))/1.4 "Noto Serif TC", serif; }
.unfurl-trends-heading p { margin: calc(12 * var(--u)) 0 0; color: rgb(255 255 255 / .65); font: 400 calc(20 * var(--u))/1.3 Inter, sans-serif; letter-spacing: .18em; }
.unfurl-trends-flower { display: block; flex: none; width: calc(260 * var(--u)); height: calc(260 * var(--u)); margin-inline: auto; }
.unfurl-trends-flower path { fill: transparent; stroke: #fff; stroke-width: .8; opacity: .25; transition: opacity .3s, fill .3s, stroke-width .3s; }
.unfurl-trends-flower path.is-selected { opacity: 1; fill: rgb(255 255 255 / .1); stroke-width: 1.2; }
.unfurl-trends-flower text { fill: #fff; opacity: .5; text-anchor: middle; font: 500 24px Inter, sans-serif; transition: opacity .3s; }
.unfurl-trends-flower text.is-selected { opacity: 1; }
.unfurl-trends-info { height: calc(218 * var(--u)); flex: none; text-align: center; }
.unfurl-trends-name { margin: 0 0 calc(12 * var(--u)); color: rgb(255 255 255 / .65); font: 600 calc(16 * var(--u))/1.3 Inter, sans-serif; letter-spacing: .22em; }
.unfurl-trends-title { margin: 0 0 calc(14 * var(--u)); color: #fff; font: 700 calc(32 * var(--u))/1.4 "Noto Serif TC", serif; }
.unfurl-trends-description { margin: 0; text-align: left; color: rgb(255 255 255 / .85); font-size: calc(16 * var(--u)); line-height: 1.85; font-weight: 500; }
.unfurl-trends-options { flex: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: .5px solid rgb(255 255 255 / .5); border-left: .5px solid rgb(255 255 255 / .25); }
.unfurl-trends-options button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: calc(5 * var(--u)); height: calc(76 * var(--u)); padding: 0; border: 0; border-right: .5px solid rgb(255 255 255 / .25); border-bottom: .5px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .08); color: rgb(255 255 255 / .55); font: 500 calc(15 * var(--u))/1.4 "Noto Sans TC", sans-serif; cursor: pointer; transition: background .25s, color .25s; }
.unfurl-trends-options button span { font: 600 calc(20 * var(--u))/1 Inter, sans-serif; }
.unfurl-trends-options button[aria-pressed="true"] { color: #fff; background: rgb(255 255 255 / .22); }
.unfurl-trends-options button:focus-visible { position: relative; z-index: 1; outline: 2px solid white; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .unfurl-trends-phone * { transition: none !important; } }
.unfurl-trends-flower path, .unfurl-trends-flower text { transition-duration: .7s; transition-timing-function: cubic-bezier(.22,1,.36,1); }
.unfurl-trends-options button { transition-duration: .55s; transition-timing-function: ease; }

.unfurl-pair-controls button:focus-visible { outline: 2px solid #8e6257; outline-offset: 2px; }

.unfurl-pair-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.unfurl-pair-controls button { min-height: 38px; padding: 0 14px; border: 1px solid var(--color-line); border-radius: 999px; background: transparent; color: var(--color-content); font: inherit; font-size: 13px; cursor: pointer; transition: background .25s ease, border-color .25s ease, opacity .25s ease; }
.unfurl-pair-controls button:hover { border-color: var(--color-content); background: color-mix(in srgb, var(--color-content) 5%, transparent); }
.unfurl-pair-controls [data-pair-prev] { width: 38px; padding: 0; }
.unfurl-pair-dots { display: flex; align-items: center; gap: 3px; }
.unfurl-pair-dots button { display: grid; width: 26px; height: 38px; min-height: 38px; padding: 0; place-items: center; border: 0; background: transparent; }
.unfurl-pair-dots button::before { width: 6px; height: 6px; border-radius: 999px; background: var(--color-line); content: ""; transition: width .25s ease, background .25s ease; }
.unfurl-pair-dots button[aria-pressed="true"]::before { width: 18px; background: var(--color-content); }
.unfurl-pair-dots button:hover { border: 0; background: transparent; }
.unfurl-pair-dots button:hover::before { background: var(--color-content-muted); }
[data-quiz-pair] [data-pair-image] { transition: opacity .32s ease; }
[data-quiz-pair].is-changing [data-pair-image] { opacity: .12; }
@media (prefers-reduced-motion: reduce) { [data-quiz-pair] [data-pair-image] { transition: none; } .unfurl-pair-controls button { transition: none; } }
