.ycid-lq{--accent:#7C745F;--ink:#2E2D2A;--paper:#F7F5F0;margin:auto;color:var(--ink);font-family:inherit}
.ycid-lq *{box-sizing:border-box}.ycid-lq__screen{display:none;min-height:520px;padding:70px 7%;background:var(--paper);border-radius:2px;position:relative;overflow:hidden}
.ycid-lq__screen:after{content:"燕居";position:absolute;right:-8px;bottom:-42px;font-size:150px;font-weight:700;letter-spacing:.08em;color:rgba(124,116,95,.045);pointer-events:none}
.ycid-lq__screen.is-active{display:flex;flex-direction:column;justify-content:center;animation:lqIn .45s ease both}
@keyframes lqIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.ycid-lq__eyebrow,.ycid-lq__count{font-size:13px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:20px}
.ycid-lq__count span{opacity:.5}.ycid-lq h2{font-size:clamp(32px,5vw,58px);line-height:1.2;margin:0 0 22px;font-weight:500;letter-spacing:.02em}
.ycid-lq h3{font-size:clamp(27px,4vw,42px);line-height:1.35;margin:0 0 18px;font-weight:500;max-width:780px}
.ycid-lq p{font-size:17px;line-height:1.9;margin:0 0 28px;max-width:720px;color:#66625a}.ycid-lq__hint{font-size:15px!important;border-left:1px solid var(--accent);padding-left:16px}
.ycid-lq__meta{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 32px}.ycid-lq__meta span{font-size:13px;padding:8px 13px;border:1px solid rgba(46,45,42,.16);border-radius:999px}
.ycid-lq__primary{align-self:flex-start;display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-width:230px;border:0;background:var(--ink);color:#fff;padding:17px 20px;text-decoration:none!important;font:inherit;cursor:pointer;transition:.25s}
.ycid-lq__primary:hover{background:var(--accent);transform:translateY(-2px)}.ycid-lq__primary b{font-size:20px;font-weight:400}
.ycid-lq__progress{height:2px;background:rgba(46,45,42,.12);margin-bottom:16px}.ycid-lq__progress span{display:block;height:100%;width:0;background:var(--accent);transition:width .4s ease}
.ycid-lq__choices{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px;max-width:760px}
.ycid-lq__choices button{position:relative;text-align:left;padding:24px;border:1px solid rgba(46,45,42,.18);background:transparent;color:var(--ink);cursor:pointer;transition:.25s}
.ycid-lq__choices button:hover{border-color:var(--accent);background:#fff;transform:translateY(-2px)}.ycid-lq__choices span{display:block;font-size:24px;margin-bottom:6px}.ycid-lq__choices small{opacity:.6}.ycid-lq__choices b{position:absolute;right:20px;top:50%;font-size:20px;font-weight:400}
.ycid-lq__back,.ycid-lq__restart{align-self:flex-start;margin-top:25px;border:0;background:none;color:#777;cursor:pointer;padding:4px 0;text-decoration:underline;text-underline-offset:4px}
.ycid-lq__checks{display:grid;gap:9px;max-width:780px;margin:8px 0 26px}.ycid-lq__checks label{display:flex;align-items:center;gap:14px;padding:17px 18px;border:1px solid rgba(46,45,42,.15);cursor:pointer;transition:.2s;background:rgba(255,255,255,.28)}
.ycid-lq__checks label:hover,.ycid-lq__checks label:has(input:checked){border-color:var(--accent);background:#fff}.ycid-lq__checks input{position:absolute;opacity:0}
.ycid-lq__checks i{width:20px;height:20px;border:1px solid var(--accent);display:grid;place-items:center;flex:0 0 20px}.ycid-lq__checks input:checked+i:after{content:"✓";font-style:normal;font-size:14px;color:var(--accent)}
.ycid-lq__none{margin-top:6px}.ycid-lq__error{color:#9b493f;font-size:14px;margin:-12px 0 18px}
.ycid-lq__result{text-align:center;align-items:center}.ycid-lq__result p{margin-left:auto;margin-right:auto}.ycid-lq__result .ycid-lq__primary,.ycid-lq__result .ycid-lq__restart{align-self:center}
.ycid-lq__result-icon{width:64px;height:64px;border:1px solid var(--accent);border-radius:50%;display:grid;place-items:center;font-size:28px;color:var(--accent);margin-bottom:22px}.ycid-lq__result-icon--soft{font-family:serif}
.ycid-lq__result-note{max-width:650px;margin:0 auto 28px;padding:20px 25px;border-top:1px solid rgba(46,45,42,.15);border-bottom:1px solid rgba(46,45,42,.15);line-height:1.8}
.ycid-lq__disclaimer{font-size:12px;color:#8b877f;text-align:center;line-height:1.6;padding:14px 20px}
@media(max-width:767px){.ycid-lq__screen{min-height:560px;padding:48px 22px}.ycid-lq__screen:after{font-size:90px}.ycid-lq__choices{grid-template-columns:1fr}.ycid-lq__primary{width:100%}.ycid-lq__meta{gap:6px}.ycid-lq__meta span{font-size:11px}.ycid-lq__checks label{padding:15px 13px}.ycid-lq h2{font-size:34px}.ycid-lq h3{font-size:27px}}

/* Expose border-width and checkbox outline for Elementor controls. */
.ycid-lq__primary{border-style:solid}
.ycid-lq__checks i{border-color:currentColor}

/* v1.1.1: normalize theme/Elementor button defaults while keeping Elementor per-widget color controls authoritative. */
.ycid-lq button.ycid-lq__back,.ycid-lq button.ycid-lq__restart{appearance:none;-webkit-appearance:none;background-color:transparent;border:1px solid transparent;border-radius:0;box-shadow:none;line-height:1.5;font-family:inherit;font-size:inherit;font-weight:inherit;text-transform:none;letter-spacing:normal;transition:color .2s,background-color .2s,border-color .2s}
.ycid-lq button.ycid-lq__back:hover,.ycid-lq button.ycid-lq__restart:hover{background-color:transparent;box-shadow:none}
.ycid-lq button.ycid-lq__back:focus-visible,.ycid-lq button.ycid-lq__restart:focus-visible{outline:2px solid var(--accent);outline-offset:3px}


/* V1.2.0 decorative visual system */
.ycid-lq{--decor-primary:#7C745F;--decor-secondary:#C7BFAE;--decor-soft:#E9E4D9;position:relative}
.ycid-lq__decor{display:none;position:absolute;inset:18px;pointer-events:none;z-index:2;opacity:.65;--decor-scale:100%;overflow:hidden}
.ycid-lq--decor .ycid-lq__decor{display:block}
.ycid-lq__decor svg{position:absolute;fill:none;stroke:var(--decor-primary);stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;transform-origin:center;vector-effect:non-scaling-stroke}
.ycid-lq__decor-house{width:calc(150px * var(--decor-scale) / 100%);height:auto;right:3%;top:7%;opacity:.24}
.ycid-lq__decor-leaf{width:calc(135px * var(--decor-scale) / 100%);height:auto;left:-2%;bottom:5%;stroke:var(--decor-secondary)!important;opacity:.5;transform:rotate(-8deg)}
.ycid-lq__decor-arch{width:calc(170px * var(--decor-scale) / 100%);height:auto;right:-2%;bottom:-3%;stroke:var(--decor-soft)!important;opacity:.75}
.ycid-lq__decor-spark{width:calc(62px * var(--decor-scale) / 100%);height:auto;left:5%;top:8%;stroke:var(--decor-secondary)!important;opacity:.55}
.ycid-lq__screen{z-index:1}
.ycid-lq__screen>*{position:relative;z-index:3}
.ycid-lq__screen:before{content:"";position:absolute;width:230px;height:230px;border:1px solid var(--decor-soft);border-radius:50%;right:-95px;top:-110px;opacity:.5;pointer-events:none}
.ycid-lq__choices button:before,.ycid-lq__checks label:before{content:"";position:absolute;left:0;top:0;width:3px;height:0;background:var(--decor-primary);transition:height .25s ease}
.ycid-lq__choices button:hover:before,.ycid-lq__checks label:hover:before,.ycid-lq__checks label:has(input:checked):before{height:100%}
.ycid-lq__choices button,.ycid-lq__checks label{overflow:hidden}
.ycid-lq__count:after,.ycid-lq__eyebrow:after{content:"";display:inline-block;width:34px;height:1px;background:var(--decor-secondary);vertical-align:middle;margin-left:12px;opacity:.8}
.ycid-lq__result-icon{position:relative}
.ycid-lq__result-icon:before,.ycid-lq__result-icon:after{content:"";position:absolute;border:1px solid var(--decor-secondary);border-radius:50%;inset:-9px;opacity:.35}
.ycid-lq__result-icon:after{inset:-18px;opacity:.18}
.ycid-lq--decor-motion .ycid-lq__decor-house{animation:ycidFloatA 7s ease-in-out infinite}
.ycid-lq--decor-motion .ycid-lq__decor-leaf{animation:ycidFloatB 8s ease-in-out infinite}
.ycid-lq--decor-motion .ycid-lq__decor-spark{animation:ycidPulse 5s ease-in-out infinite}
@keyframes ycidFloatA{0%,100%{translate:0 0}50%{translate:0 7px}}
@keyframes ycidFloatB{0%,100%{translate:0 0;rotate:0deg}50%{translate:4px -6px;rotate:2deg}}
@keyframes ycidPulse{0%,100%{scale:1;opacity:.4}50%{scale:1.08;opacity:.7}}
@media(max-width:767px){.ycid-lq__decor{inset:10px}.ycid-lq__decor-house{width:105px;right:-4%;top:5%}.ycid-lq__decor-leaf{width:90px;left:-8%;bottom:4%}.ycid-lq__decor-arch{width:110px;right:-5%;bottom:-1%}.ycid-lq__decor-spark{width:42px;left:3%;top:4%}.ycid-lq__screen:before{width:150px;height:150px;right:-80px;top:-80px}}
@media(prefers-reduced-motion:reduce){.ycid-lq__decor svg{animation:none!important}}


/* V1.3.0 richer illustrated quiz */
.ycid-lq{--visual-color:#7C745F;--visual-bg:#EFEAE0;--swallow-color:#7C745F}
.ycid-lq__progress{position:relative;border-radius:999px;margin:4px 38px 24px;overflow:visible}
.ycid-lq__progress span{border-radius:999px}
.ycid-lq__swallow{position:absolute;left:clamp(0px,calc(var(--progress,0%) - 18px),calc(100% - 36px));top:50%;width:38px;height:28px;transform:translateY(-52%);transition:left .45s ease;z-index:4;filter:drop-shadow(0 4px 7px rgba(0,0,0,.08))}
.ycid-lq__swallow svg{width:100%;height:100%;overflow:visible}.ycid-lq__swallow path{fill:var(--swallow-color);stroke:none}.ycid-lq__swallow .ycid-lq__swallow-line{fill:none;stroke:var(--paper);stroke-width:1.4;stroke-linecap:round}
.ycid-lq--decor-motion .ycid-lq__swallow{animation:ycidBirdBob 2.2s ease-in-out infinite}
@keyframes ycidBirdBob{0%,100%{transform:translateY(-52%) rotate(-2deg)}50%{transform:translateY(-68%) rotate(2deg)}}

.ycid-lq__hero-visual{display:none;position:absolute!important;right:3%;bottom:1%;width:min(38%,310px);z-index:2!important;opacity:.92}
.ycid-lq--visuals .ycid-lq__hero-visual{display:block}
.ycid-lq__hero-visual svg{width:100%;height:auto}.ycid-lq__hero-visual .line{fill:none;stroke:var(--visual-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ycid-lq__hero-visual .soft{fill:var(--visual-bg);stroke:none}.ycid-lq__hero-visual .fill{fill:var(--visual-color);stroke:none;opacity:.82}.ycid-lq__hero-visual .accent{fill:none;stroke:var(--decor-secondary);stroke-width:2;stroke-linecap:round}
.ycid-lq--visuals [data-screen="0"]{padding-right:38%}.ycid-lq--visuals [data-screen="0"] h2,.ycid-lq--visuals [data-screen="0"] p{max-width:590px}

.ycid-lq__question-visual{display:none;position:absolute!important;right:6%;top:50%;transform:translateY(-50%);width:190px;z-index:2!important;opacity:.94}
.ycid-lq--visuals .ycid-lq__question-visual{display:block}
.ycid-lq__question-visual svg{width:100%;height:auto;overflow:visible}.ycid-lq__question-visual .soft{fill:var(--visual-bg);stroke:none}.ycid-lq__question-visual .line{fill:none;stroke:var(--visual-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ycid-lq__question-visual .accent{fill:none;stroke:var(--decor-secondary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.ycid-lq__question-visual .badge{fill:var(--visual-color);stroke:none}.ycid-lq__question-visual .badge-line{fill:none;stroke:var(--paper);stroke-width:3;stroke-linecap:round}
.ycid-lq--visuals [data-screen="1"],.ycid-lq--visuals [data-screen="2"],.ycid-lq--visuals [data-screen="3"],.ycid-lq--visuals [data-screen="4"],.ycid-lq--visuals [data-screen="5"]{padding-right:30%}
.ycid-lq--visuals .ycid-lq__choices,.ycid-lq--visuals .ycid-lq__checks{max-width:680px}

.ycid-lq__choice-icon{display:grid;width:46px;height:46px;place-items:center;border-radius:14px;background:var(--visual-bg);margin-bottom:14px;color:var(--visual-color);transition:.25s}
.ycid-lq__choice-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ycid-lq__choices button:hover .ycid-lq__choice-icon{transform:translateY(-3px) rotate(-3deg);background:var(--decor-soft)}
.ycid-lq__choices button:nth-child(2):hover .ycid-lq__choice-icon{transform:translateY(-3px) rotate(3deg)}

.ycid-lq__screen[data-screen="1"] .ycid-lq__question-visual:after,
.ycid-lq__screen[data-screen="2"] .ycid-lq__question-visual:after,
.ycid-lq__screen[data-screen="3"] .ycid-lq__question-visual:after,
.ycid-lq__screen[data-screen="4"] .ycid-lq__question-visual:after,
.ycid-lq__screen[data-screen="5"] .ycid-lq__question-visual:after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:var(--decor-secondary);right:4%;top:5%;box-shadow:-152px 128px 0 -4px var(--decor-soft)}
.ycid-lq--decor-motion .ycid-lq__question-visual{animation:ycidVisualFloat 5.5s ease-in-out infinite}
@keyframes ycidVisualFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}

@media(max-width:900px){
  .ycid-lq--visuals [data-screen="0"],.ycid-lq--visuals [data-screen="1"],.ycid-lq--visuals [data-screen="2"],.ycid-lq--visuals [data-screen="3"],.ycid-lq--visuals [data-screen="4"],.ycid-lq--visuals [data-screen="5"]{padding-right:7%}
  .ycid-lq__hero-visual{right:2%;bottom:2%;width:210px;opacity:.18}
  .ycid-lq__question-visual{right:2%;top:12%;transform:none;width:125px;opacity:.18}
}
@media(max-width:767px){
  .ycid-lq__progress{margin:4px 20px 18px}
  .ycid-lq__swallow{width:32px;height:24px}
  .ycid-lq__hero-visual{width:170px;right:-25px;bottom:4%;opacity:.14}
  .ycid-lq__question-visual{width:105px;right:-14px;top:6%;opacity:.14}
  .ycid-lq__choice-icon{width:40px;height:40px;border-radius:12px}
}
@media(prefers-reduced-motion:reduce){.ycid-lq__swallow,.ycid-lq__question-visual{animation:none!important}}
