.fv2-quiz-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  margin:12px 0 4px;
  padding:12px 14px;
  border:1px solid rgba(159,121,48,.22);
  border-radius:16px;
  background:linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,248,234,.82));
  box-shadow:0 8px 20px rgba(57,42,18,.07);
  cursor:pointer;
  font:inherit;
  text-align:left;
  transition:border-color .18s ease, box-shadow .18s ease;
  box-sizing:border-box;
}

.fv2-quiz-trigger:hover{
  border-color:rgba(176,129,54,.5);
  box-shadow:0 12px 26px rgba(57,42,18,.12);
}

.fv2-quiz-trigger__text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:1px;
}

.fv2-quiz-trigger__title{
  display:block;
  font-size:14.5px;
  font-weight:800;
  color:#3d2c14;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.fv2-quiz-trigger__sub{
  display:block;
  font-size:12.5px;
  color:#8a7559;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.fv2-quiz-trigger__go{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:8px 14px;
  border-radius:999px;
  background:#fffdfa;
  border:1.5px solid rgba(194,151,84,.55);
  color:#8c642d;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.fv2-quiz-trigger:hover .fv2-quiz-trigger__go{
  background:#fff5e1;
  border-color:rgba(176,129,54,.8);
}

.fv2-quiz-dialog{
  border:1px solid rgba(199,164,106,.42);
  border-radius:22px;
  padding:0;
  width:min(480px, 94vw);
  background:linear-gradient(165deg, #fffdf8 0%, #fff5e4 100%);
  box-shadow:0 30px 70px rgba(92,69,38,.32);
}

.fv2-quiz-dialog::backdrop{
  background:rgba(46,33,16,.5);
  backdrop-filter:blur(4px);
}

.fv2-quiz{
  padding:20px;
  display:grid;
  gap:14px;
}

.fv2-quiz__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.fv2-quiz__title{
  margin:0;
  font-size:18px;
  font-weight:900;
  color:#3d2c14;
}

.fv2-quiz__progress{
  display:flex;
  gap:6px;
}

.fv2-quiz__dot{
  width:26px;
  height:5px;
  border-radius:999px;
  background:rgba(199,164,106,.25);
  transition:background .25s ease;
}

.fv2-quiz__dot.is-on{
  background:linear-gradient(135deg, #ffb347, #d97706);
}

.fv2-quiz__q{
  margin:0;
  font-size:15.5px;
  font-weight:800;
  color:#5a4a33;
}

.fv2-quiz__options{
  display:grid;
  gap:9px;
}

.fv2-quiz__opt{
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 16px;
  border:1.5px solid rgba(159,121,48,.3);
  border-radius:15px;
  background:#fffdfa;
  color:#3d2c14;
  font-size:14.5px;
  font-weight:700;
  cursor:pointer;
  text-align:left;
  font-family:inherit;
  transition:border-color .15s ease, background .15s ease, transform .15s ease;
}

.fv2-quiz__opt:hover{
  border-color:rgba(166,96,20,.62);
  background:#fff5e1;
  transform:translateY(-1px);
}

.fv2-quiz__opt-emoji{
  font-size:18px;
  flex:0 0 auto;
}

.fv2-quiz__close{
  border:none;
  background:rgba(199,164,106,.18);
  color:#6b4d31;
  border-radius:999px;
  width:28px;
  height:28px;
  cursor:pointer;
  font-weight:700;
}

.fv2-quiz__close:hover{
  background:rgba(199,164,106,.32);
}

.fv2-quiz__back{
  justify-self:start;
  border:none;
  background:none;
  color:#8a7559;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  padding:4px 2px;
  font-family:inherit;
}

.fv2-quiz__back:hover{
  color:#5a4a33;
  text-decoration:underline;
}

.fv2-quiz__result{
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
  padding:6px 0 2px;
}

.fv2-quiz__result-label{
  font-size:12.5px;
  font-weight:800;
  letter-spacing:.08em;
  color:#8c642d;
  text-transform:uppercase;
}

.fv2-quiz__result-avatar{
  width:84px;
  height:84px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(199,164,106,.55);
  box-shadow:0 12px 26px rgba(92,69,38,.22);
  background:#fffdfa;
}

.fv2-quiz__result-avatar--emoji{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:36px;
}

.fv2-quiz__result-name{
  margin:0;
  font-size:20px;
  font-weight:900;
  color:#3d2c14;
}

.fv2-quiz__result-why{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
}

.fv2-quiz__result-chip{
  padding:4px 12px;
  border-radius:999px;
  font-size:12.5px;
  font-weight:800;
  color:#6e5222;
  background:rgba(246,238,223,.95);
  border:1px solid rgba(199,164,106,.45);
}

.fv2-quiz__result-note{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:#8a7559;
}

.fv2-quiz__result-actions{
  display:grid;
  gap:9px;
  width:100%;
  margin-top:4px;
}

.fv2-quiz__result-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 18px;
  border-radius:999px;
  border:1px solid rgba(166,96,20,.68);
  background:linear-gradient(135deg, #ffb347 0%, #f28c28 46%, #d97706 100%);
  color:#fff;
  font-size:15px;
  font-weight:900;
  cursor:pointer;
  font-family:inherit;
  box-shadow:0 14px 28px rgba(231,137,30,.38);
}

.fv2-quiz__result-cta:hover{
  filter:brightness(1.05);
}

.fv2-quiz__result-ghost{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:999px;
  border:1.5px solid rgba(194,151,84,.55);
  background:#fffdfa;
  color:#6b4d31;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  font-family:inherit;
}

.fv2-quiz__result-ghost:hover{
  background:#fff5e1;
}

@media (max-width: 640px){
  .fv2-quiz-trigger{
    align-items:flex-start;
    gap:10px;
    padding:14px 14px 12px;
  }

  .fv2-quiz-trigger__title,
  .fv2-quiz-trigger__sub{
    white-space:normal;
  }

  .fv2-quiz-trigger__go{
    align-self:center;
    padding:8px 12px;
  }

  .fv2-quiz{
    padding:18px 16px;
  }
}
