:root {
  --ink: #302945;
  --muted: #756d86;
  --violet: #6551d8;
  --lilac: #efeaff;
  --coral: #ff896e;
  --lime: #e5f29c;
  --paper: #fffefc;
  --line: #e4deed;
  --display: "Jua", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", sans-serif;
}
.character {
  height: auto;
}
.connection-ribbon {
  position: relative;
}
.connection-ribbon:before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #c9bee6;
  top: 18px;
}
.connection-node {
  position: relative;
  border: 0;
  background: transparent;
  padding: 2px;
  min-height: 58px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  min-width: 32px;
}
.connection-node small {
  font-size: 9px;
  color: var(--muted);
}
.connection-node[aria-pressed="true"] small {
  color: var(--violet);
  font-weight: 800;
}
.connection-node[aria-pressed="true"] > span {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
.connection-node.match > span {
  background: var(--violet);
  color: white;
  border: 0;
}
.connection-ribbon > .connection-node.match {
  background: transparent;
}
.connection-node:not(.match) > span {
  background: var(--lilac);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
img {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10;
  background: var(--ink);
  color: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 88px;
  max-width: 1240px;
  padding: 0 40px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 25px;
  letter-spacing: -1.6px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 4px;
}
.brand-dot {
  color: var(--coral);
  font-size: 25px;
  line-height: 1;
}
.lab-label {
  font-size: 12px;
  font-weight: 700;
  border-left: 1px solid var(--line);
  padding-left: 25px;
}
.lab-label span {
  color: var(--muted);
  font-size: 10px;
  margin-left: 10px;
  font-weight: 400;
}
.motion-button {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 7px 13px;
  min-height: 40px;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.motion-button span {
  color: var(--violet);
  margin-left: 8px;
}
.site-footer {
  max-width: 1160px;
  margin: 80px auto 0;
  padding: 25px 0 30px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
#app:focus {
  outline: none;
}
.home {
  max-width: 1160px;
  margin: auto;
}
.hero {
  padding: 68px 0 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 45px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--violet);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 82px;
  letter-spacing: -4px;
  line-height: 1.04;
  margin: 19px 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.title-aside {
  display: inline-block;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -1px;
  background: var(--lime);
  padding: 9px 15px;
  transform: rotate(-9deg);
  vertical-align: middle;
  margin-left: 12px;
  border-radius: 50%;
}
.hero-desc {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 27px;
  word-break: keep-all;
}
.hero-desc strong {
  color: var(--ink);
  font-weight: 600;
}
.hero .button {
  width: 100%;
  max-width: 355px;
}
.micro-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
  display: flex;
  gap: 18px;
}
.micro-meta span + span:before {
  content: "·";
  margin-right: 18px;
}
.button {
  min-height: 56px;
  background: var(--violet);
  border: 1px solid transparent;
  color: white;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.16s,
    background 0.16s;
  box-shadow: 0 5px 0 #4c3ca7;
}
.button:hover {
  background: #5744c4;
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #4c3ca7;
}
.button .arrow {
  margin-left: auto;
  font-size: 22px;
  font-weight: 400;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
  font-size: 13px;
}
.button.kakao {
  background: #fee500;
  color: #241d13;
  box-shadow: none;
  width: 100%;
}
.button.kakao:hover {
  background: #f6dc00;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
  color: var(--muted);
  padding: 12px;
  min-height: 44px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
  font-weight: 800;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
}
.duo-scene {
  height: 450px;
  background: var(--lilac);
  border-radius: 38px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.duo-scene:before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #d4cbea;
  border-radius: 50%;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
}
.duo-scene:after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed #d7ceeb;
  border-radius: 26px;
  z-index: -1;
}
.scene-label {
  position: absolute;
  top: 24px;
  left: 30px;
  font-size: 10px;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 1px;
}
.scene-count {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 10px;
  color: var(--muted);
}
.character {
  position: absolute;
  width: 57%;
  bottom: 45px;
  will-change: transform;
  animation: breathe 4.8s ease-in-out infinite;
}
.character.me {
  left: -10px;
  z-index: 2;
}
.character.you {
  right: -6px;
  animation-delay: -2s;
  animation-duration: 5.5s;
}
.bubble {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border-radius: 18px;
  padding: 11px 17px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 3px 0 #ddd5ed;
  animation: bubble-in 0.5s both 0.5s;
  white-space: nowrap;
}
.bubble:after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--paper);
  position: absolute;
  bottom: -5px;
  left: 23px;
  transform: rotate(45deg);
}
.bubble.a {
  top: 90px;
  left: 33px;
  transform: rotate(-6deg);
}
.bubble.b {
  top: 112px;
  right: 38px;
  transform: rotate(5deg);
  animation-delay: 0.7s;
}
.scene-name {
  position: absolute;
  bottom: 31px;
  text-align: center;
  width: 50%;
  font-size: 11px;
  font-weight: 700;
}
.scene-name.a {
  left: 0;
}
.scene-name.b {
  right: 0;
}
.scene-name i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  margin-right: 6px;
}
.scene-name.b i {
  background: var(--violet);
}
.scene-spark {
  position: absolute;
  font-family: var(--display);
  font-size: 43px;
  color: var(--violet);
  top: 47%;
  left: 46%;
  transform: rotate(12deg);
  z-index: 3;
}
.scene-tag {
  position: absolute;
  right: 22px;
  bottom: 84px;
  z-index: 3;
  background: var(--lime);
  font-family: var(--display);
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 7px;
  transform: rotate(-8deg);
}
.how-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 56px;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 28px;
}
.how-step:first-child {
  padding-left: 0;
}
.how-step + .how-step {
  border-left: 1px solid var(--line);
}
.step-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lilac);
  color: var(--violet);
  font-family: var(--display);
  font-size: 16px;
  flex-shrink: 0;
}
.how-step strong {
  display: block;
  font-size: 13px;
}
.how-step small {
  color: var(--muted);
  font-size: 10px;
}
.peek-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.peek-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.peek-card h3 {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.6px;
  margin: 12px 0 20px;
}
.peek-card .options {
  gap: 10px;
}
.peek-card .option {
  font-size: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 12px;
}
.peek-card .option span {
  width: 25px;
  height: 25px;
  font-size: 10px;
}
.demo-feedback {
  min-height: 30px;
  font-size: 12px;
  margin-top: 14px;
  color: var(--violet);
  font-weight: 600;
}
.teaser-card {
  background: #f8f5ff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.teaser-card .tiny-duo {
  height: 120px;
  display: flex;
  justify-content: center;
  margin-top: -12px;
}
.tiny-duo img {
  height: 135px;
  object-fit: contain;
}
.teaser-card h3 {
  text-align: center;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
  margin: 4px 0;
}
.teaser-card p {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.teaser-card .text-button {
  margin-top: auto;
  color: var(--violet);
}
.page-shell {
  max-width: 640px;
  margin: 52px auto 0;
  padding: 0 20px;
  animation: enter 0.35s both;
}
.page-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.back-button {
  border: 0;
  background: transparent;
  padding: 8px 0;
  min-height: 44px;
  font-size: 12px;
  color: var(--muted);
}
.page-top .eyebrow {
  letter-spacing: 1px;
}
.form-scene {
  height: 220px;
  background: var(--lilac);
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  margin: 24px 0;
}
.form-scene img {
  height: 230px;
  position: absolute;
  bottom: -30px;
}
.form-scene img:first-child {
  left: 70px;
  transform: rotate(-9deg);
}
.form-scene img:last-child {
  right: 70px;
  transform: rotate(9deg);
}
.form-heading {
  font-family: var(--display);
  font-size: 39px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -1px;
}
.form-desc {
  color: var(--muted);
  font-size: 13px;
  margin: 13px 0 26px;
  word-break: keep-all;
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 24px 0 10px;
}
.name-input {
  width: 100%;
  border: 1px solid #d6cee6;
  padding: 16px 18px;
  border-radius: 13px;
  background: white;
  min-height: 56px;
  font-size: 16px;
  color: var(--ink);
}
.name-input::placeholder {
  color: #9991a8;
}
.form-note {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}
.relationship-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-bottom: 28px;
}
.relation-button {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 2px;
  background: white;
  font-size: 12px;
  min-height: 48px;
}
.relation-button[aria-pressed="true"] {
  background: var(--lilac);
  border-color: var(--violet);
  color: var(--violet);
  font-weight: 800;
}
.page-shell .button {
  width: 100%;
}
.privacy-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
  margin-top: 17px;
  word-break: keep-all;
}
.form-error {
  font-size: 12px;
  color: #af3527;
  min-height: 24px;
  margin: 5px 0;
}
.invite-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--lilac);
  border-radius: 30px;
  padding: 7px 13px;
  font-size: 11px;
  color: var(--violet);
  font-weight: 700;
  margin-bottom: 15px;
}
.quiz-shell {
  max-width: 700px;
  margin: 40px auto 0;
  padding: 0 24px;
}
.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 15px;
}
.quiz-meta strong {
  font-size: 15px;
  color: var(--violet);
}
.progress-track {
  height: 5px;
  background: var(--lilac);
  border-radius: 8px;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  background: var(--violet);
  transition: width 0.25s;
}
.quiz-card {
  animation: enter 0.28s both;
  margin-top: 35px;
}
.question-label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  color: var(--violet);
  font-weight: 700;
}
.question-label span {
  background: var(--lilac);
  padding: 4px 9px;
  border-radius: 7px;
}
.question-scene {
  color: var(--muted);
  font-size: 12px;
  margin: 20px 0 12px;
}
.question-title {
  font-family: var(--display);
  font-size: 36px;
  line-height: 1.35;
  font-weight: 400;
  word-break: keep-all;
  letter-spacing: -0.6px;
}
.question-prompt {
  margin-top: 12px;
  font-size: 13px;
}
.quiz-mascot {
  display: flex;
  align-items: center;
  height: 98px;
  margin: 12px 0 5px;
  gap: 2px;
}
.quiz-mascot img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.quiz-mascot span {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 8px 13px;
  font-size: 11px;
  background: white;
}
.options {
  display: grid;
  gap: 13px;
}
.option {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 80px;
  padding: 17px 20px;
  border: 1px solid #d9d1e7;
  border-radius: 17px;
  background: white;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  transition:
    background 0.15s,
    transform 0.15s,
    border-color 0.15s;
}
.option > span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.option:hover,
.option.selected {
  border-color: var(--violet);
  background: #f4f0ff;
  transform: translateY(-2px);
}
.option.selected > span {
  background: var(--violet);
  color: white;
  border-color: var(--violet);
}
.quiz-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  margin-top: 22px;
}
.quiz-foot button {
  padding: 8px 0;
}
.quiz-foot p {
  margin-left: auto;
}
.quiz-card.is-leaving {
  opacity: 0.5;
  transform: translateY(-3px);
}
.ticket {
  background: var(--lilac);
  border: 1px solid #ded4fa;
  border-radius: 27px;
  padding: 30px;
  margin: 25px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ticket .ticket-mascot {
  width: 180px;
  margin: -8px auto;
}
.ticket h2 {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
}
.ticket p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.ticket-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.ticket-tags span {
  background: white;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 10px;
  transform: rotate(-2deg);
}
.ticket-tags span:nth-child(even) {
  transform: rotate(3deg);
}
.ticket-stamp {
  position: absolute;
  right: 22px;
  top: 22px;
  border: 1.5px solid var(--violet);
  padding: 4px 9px;
  border-radius: 5px;
  transform: rotate(10deg);
  color: var(--violet);
  font-family: var(--display);
  font-size: 12px;
}
.stack-actions {
  display: grid;
  gap: 12px;
}
.helper {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
  word-break: keep-all;
}
.quiet-box {
  padding: 18px 21px;
  background: #f6f4f9;
  border-radius: 15px;
  margin-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.quiet-box strong {
  color: var(--ink);
}
.result-shell {
  max-width: 740px;
  margin: 35px auto 0;
  padding: 0 20px;
}
.demo-banner {
  background: var(--lime);
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 11px;
  text-align: center;
  margin-bottom: 18px;
}
.relationship-card {
  background: var(--lilac);
  border: 1px solid #ddd3f6;
  border-radius: 30px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.result-identities {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  margin: 13px 0 18px;
}
.result-identities > span {
  padding: 5px 13px;
  background: #fff9;
  border-radius: 30px;
  max-width: 42%;
  overflow-wrap: anywhere;
}
.result-identities b {
  color: var(--violet);
  font-weight: 400;
}
.result-title {
  font-family: var(--display);
  font-size: 45px;
  letter-spacing: -1px;
  line-height: 1.12;
  font-weight: 400;
}
.result-subtitle {
  font-size: 12px;
  margin-top: 13px;
  color: var(--muted);
}
.result-pair {
  height: 217px;
  position: relative;
  max-width: 430px;
  margin: 10px auto 0;
}
.result-pair img {
  position: absolute;
  bottom: 12px;
  width: 54%;
  z-index: 2;
}
.result-pair img:first-child {
  left: -9px;
  transform: rotate(-5deg);
}
.result-pair img:nth-child(2) {
  right: -9px;
  transform: rotate(5deg);
}
.score-badge {
  position: absolute;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%) rotate(-7deg);
  z-index: 3;
  border: 3px solid var(--paper);
  background: var(--lime);
  border-radius: 50%;
  width: 91px;
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 2px 0 #d0cbda;
}
.score-badge strong {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
}
.score-badge small {
  font-size: 9px;
  margin-top: 3px;
}
.connection-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 0 0;
}
.connection-ribbon span {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px dashed #a499bd;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #716182;
  animation: pop 0.3s both;
  animation-delay: calc(var(--i) * 60ms);
}
.connection-ribbon .match {
  background: var(--violet);
  border: 0;
  color: white;
}
.connection-legend {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.result-shell > .stack-actions {
  margin: 22px 0 35px;
}
.reveal-box {
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 25px;
  margin-top: 26px;
}
.reveal-box h2 {
  font-size: 20px;
  letter-spacing: -0.6px;
  margin: 8px 0 18px;
}
.answer-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.answer-half {
  background: #fff0e9;
  border-radius: 15px;
  padding: 16px;
}
.answer-half.friend {
  background: var(--lilac);
}
.answer-half small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.answer-half strong {
  font-size: 13px;
  line-height: 1.7;
}
.reveal-comment {
  font-family: var(--display);
  font-size: 16px;
  color: var(--violet);
  margin-top: 17px;
  text-align: center;
}
.all-answers {
  margin-top: 26px;
}
.all-answers summary {
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 0;
  min-height: 44px;
}
.answer-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.answer-row .mark {
  color: var(--violet);
  padding-top: 3px;
}
.answer-row strong {
  font-size: 12px;
}
.answer-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.result-disclaimer {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  margin-top: 25px;
}
.error-illustration {
  display: block;
  width: 200px;
  margin: 0 auto 15px;
}
.error-page {
  text-align: center;
}
.error-page .button {
  margin-top: 26px;
}
dialog {
  border: 0;
  max-width: 480px;
  width: calc(100% - 28px);
  max-height: 90dvh;
  border-radius: 25px;
  padding: 25px;
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
  box-shadow: 0 24px 100px #30294540;
}
dialog::backdrop {
  background: #30294580;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: sheet-in 0.24s both;
}
.share-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.share-head h2 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin-top: 5px;
}
.share-head .eyebrow {
  font-size: 9px;
}
.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.kakao-preview {
  background: #dce4e9;
  padding: 18px;
  border-radius: 17px;
}
.chat-context {
  font-size: 10px;
  color: #5c6c78;
  display: block;
  margin-bottom: 12px;
}
.chat-card {
  max-width: 310px;
  margin: auto;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px #00000008;
}
.chat-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1200/630;
  background: var(--lilac);
}
.chat-body {
  padding: 15px;
}
.chat-body strong {
  font-size: 13px;
  line-height: 1.5;
  display: block;
}
.chat-body p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 13px;
}
.chat-body > span {
  display: block;
  text-align: center;
  background: #f3f3f3;
  padding: 9px;
  font-size: 11px;
  border-radius: 4px;
}
.share-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
#share-status {
  min-height: 32px;
  font-size: 10px;
  margin: 13px 0 8px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
  max-width: 90%;
  text-align: center;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  padding: 60px;
  text-align: center;
}
@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes bubble-in {
  from {
    opacity: 0;
    translate: 0 9px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}
@keyframes sheet-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1400px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 68px;
  }
  .duo-scene {
    height: 475px;
  }
}
@media (max-width: 1240px) {
  .home {
    padding: 0 40px;
  }
  .site-footer {
    margin-left: 40px;
    margin-right: 40px;
  }
  .hero {
    gap: 26px;
  }
  .hero h1 {
    font-size: 72px;
  }
  .duo-scene {
    height: 420px;
  }
  .bubble {
    font-size: 12px;
  }
  .bubble.a {
    left: 25px;
  }
  .bubble.b {
    right: 25px;
    top: 113px;
  }
}
@media (max-width: 820px) {
  .site-header {
    height: 70px;
    padding: 0 22px;
    gap: 18px;
  }
  .lab-label {
    padding-left: 18px;
  }
  .lab-label span {
    display: none;
  }
  .home {
    padding: 0 24px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 45px 0;
  }
  .hero h1 {
    font-size: 58px;
  }
  .title-aside {
    font-size: 16px;
    padding: 8px 11px;
  }
  .hero-desc {
    font-size: 13px;
  }
  .duo-scene {
    height: 340px;
    border-radius: 28px;
  }
  .character {
    bottom: 35px;
    width: 62%;
  }
  .character.me {
    left: -17px;
  }
  .character.you {
    right: -17px;
  }
  .bubble.a {
    top: 65px;
    left: 15px;
  }
  .bubble.b {
    top: 102px;
    right: 14px;
  }
  .bubble {
    padding: 9px 12px;
    font-size: 11px;
  }
  .scene-name {
    bottom: 25px;
    font-size: 9px;
  }
  .scene-tag {
    bottom: 65px;
    right: 15px;
    font-size: 10px;
  }
  .scene-spark {
    font-size: 32px;
  }
  .scene-label,
  .scene-count {
    font-size: 8px;
    top: 20px;
  }
  .scene-label {
    left: 20px;
  }
  .scene-count {
    right: 20px;
  }
  .how-step {
    padding-left: 13px;
    gap: 10px;
  }
  .how-step strong {
    font-size: 11px;
  }
  .how-step small {
    font-size: 9px;
  }
  .step-num {
    width: 29px;
    height: 29px;
  }
  .peek-card {
    padding: 22px;
  }
  .section-heading h2 {
    font-size: 20px;
  }
  .site-footer {
    margin: 55px 24px 0;
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 65px;
    padding: 0 20px;
    gap: 14px;
  }
  .brand {
    font-size: 22px;
  }
  .lab-label {
    font-size: 10px;
    padding-left: 14px;
  }
  .motion-button {
    font-size: 8px;
    padding: 6px 9px;
    min-height: 36px;
  }
  .home {
    padding: 0 22px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 34px 0 26px;
    gap: 24px;
    position: relative;
    align-items: stretch;
  }
  .hero-copy {
    text-align: center;
    display: contents;
  }
  .hero .eyebrow {
    text-align: center;
    font-size: 9px;
  }
  .hero h1 {
    font-size: 62px;
    line-height: 1.02;
    margin: -5px 0 -6px;
    text-align: center;
    letter-spacing: -3px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em {
    margin-left: 8px;
  }
  .title-aside {
    position: absolute;
    top: 85px;
    right: 4px;
    font-size: 14px;
    transform: rotate(10deg);
  }
  .hero-desc {
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    margin: 0 0 -9px;
    order: 1;
  }
  .hero .duo-scene {
    order: 2;
    height: 287px;
    border-radius: 26px;
  }
  .hero .hero-actions {
    order: 3;
    margin-top: -6px;
  }
  .hero .button {
    max-width: none;
    min-height: 57px;
  }
  .micro-meta {
    justify-content: center;
    font-size: 10px;
    margin-top: 12px;
  }
  .duo-scene:before {
    width: 260px;
    height: 260px;
    top: 50%;
  }
  .character {
    bottom: 26px;
    width: 59%;
  }
  .character.me {
    left: 0;
  }
  .character.you {
    right: -2px;
  }
  .bubble.a {
    top: 51px;
    left: 23px;
  }
  .bubble.b {
    top: 73px;
    right: 22px;
  }
  .scene-tag {
    bottom: 56px;
    right: 23px;
    font-size: 10px;
    padding: 5px 9px;
  }
  .scene-name {
    bottom: 19px;
  }
  .scene-spark {
    top: 41%;
  }
  .scene-label {
    font-size: 8px;
    top: 17px;
    left: 23px;
  }
  .scene-count {
    top: 17px;
    right: 23px;
  }
  .how-strip {
    padding: 19px 0;
    margin-bottom: 32px;
    gap: 0;
  }
  .how-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding-left: 14px;
  }
  .how-step:first-child {
    padding-left: 1px;
  }
  .how-step strong {
    font-size: 10px;
    letter-spacing: -0.2px;
  }
  .how-step small {
    font-size: 8px;
    display: block;
    margin-top: 3px;
  }
  .step-num {
    width: 23px;
    height: 23px;
    font-size: 12px;
  }
  .peek-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-heading {
    align-items: start;
    gap: 8px;
    margin-bottom: 17px;
  }
  .section-heading h2 {
    font-size: 19px;
  }
  .section-heading p {
    font-size: 9px;
    margin-top: 5px;
  }
  .peek-card {
    padding: 23px;
  }
  .peek-card h3 {
    font-size: 17px;
  }
  .teaser-card .tiny-duo {
    height: 123px;
  }
  .site-footer {
    font-size: 9px;
    gap: 20px;
    margin-top: 40px;
    padding: 20px 0;
  }
  .page-shell {
    margin-top: 22px;
  }
  .page-top {
    margin-bottom: 18px;
  }
  .form-heading {
    font-size: 33px;
  }
  .form-desc {
    font-size: 12px;
    margin-top: 11px;
  }
  .form-scene {
    height: 180px;
    margin: 22px 0;
  }
  .form-scene img {
    height: 205px;
    bottom: -35px;
  }
  .form-scene img:first-child {
    left: 18px;
  }
  .form-scene img:last-child {
    right: 15px;
  }
  .quiz-shell {
    margin-top: 24px;
    padding: 0 22px;
  }
  .quiz-card {
    margin-top: 27px;
  }
  .question-title {
    font-size: 30px;
  }
  .question-scene {
    font-size: 11px;
    margin-top: 19px;
  }
  .question-prompt {
    font-size: 12px;
  }
  .quiz-mascot {
    height: 92px;
  }
  .option {
    font-size: 12px;
    min-height: 79px;
    padding: 15px;
    gap: 12px;
  }
  .quiz-foot {
    font-size: 9px;
  }
  .quiz-foot .back-button {
    font-size: 11px;
  }
  .result-shell {
    margin-top: 22px;
  }
  .relationship-card {
    padding: 24px 16px;
    border-radius: 25px;
  }
  .result-title {
    font-size: 36px;
  }
  .result-subtitle {
    font-size: 11px;
  }
  .result-identities {
    font-size: 11px;
    gap: 8px;
  }
  .result-pair {
    height: 187px;
    margin-top: 14px;
  }
  .result-pair img {
    width: 56%;
    bottom: 17px;
  }
  .score-badge {
    width: 75px;
    height: 75px;
    bottom: 20px;
  }
  .score-badge strong {
    font-size: 24px;
  }
  .score-badge small {
    font-size: 8px;
  }
  .connection-ribbon {
    gap: 6px;
  }
  .connection-ribbon span {
    width: 27px;
    height: 27px;
    font-size: 9px;
  }
  .connection-legend {
    font-size: 9px;
  }
  .reveal-box {
    padding: 20px;
  }
  .reveal-box h2 {
    font-size: 17px;
  }
  .answer-pair {
    gap: 9px;
  }
  .answer-half {
    padding: 13px;
  }
  .answer-half strong {
    font-size: 11px;
  }
  .answer-half small {
    font-size: 9px;
  }
  .reveal-comment {
    font-size: 14px;
  }
  .ticket {
    padding: 25px 16px;
  }
  .ticket h2 {
    font-size: 25px;
  }
  .ticket-tags span {
    font-size: 9px;
  }
  dialog {
    padding: 21px;
  }
  .share-head h2 {
    font-size: 21px;
  }
  .share-head .eyebrow {
    font-size: 8px;
  }
  .share-secondary .button {
    padding: 12px;
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .hero h1 {
    font-size: 54px;
  }
  .title-aside {
    right: -3px;
    top: 79px;
  }
  .hero .duo-scene {
    height: 267px;
  }
  .lab-label {
    font-size: 9px;
  }
  .scene-spark {
    top: 46%;
  }
  .result-pair {
    height: 170px;
  }
  .connection-ribbon {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .character {
    will-change: auto;
  }
}
body.reduce-motion *,
body.reduce-motion *:before,
body.reduce-motion *:after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
body.reduce-motion .character {
  will-change: auto;
}
