.lead-match{max-width:1120px;margin:0 auto 28px;padding:22px 24px;border:1px solid rgba(184,150,62,.42);background:linear-gradient(125deg,rgba(184,150,62,.09),rgba(255,255,255,.025));color:#f5f5f5;scroll-margin-top:110px}
.lead-match *{box-sizing:border-box}
.lead-match [hidden]{display:none!important}
.lead-match-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}
.lead-match-eyebrow{margin:0 0 6px;color:#e3c28f;font-size:11px;letter-spacing:.16em}
.lead-match h2{margin:0;font-family:"Noto Serif JP",serif;font-size:22px;font-weight:500;line-height:1.6;letter-spacing:.03em}
.lead-match-copy{margin:6px 0 0;font-size:13px;line-height:1.8;color:#e0e0e0}
.lead-match-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;border:1px solid #b8963e;background:#b8963e;color:#080808;font-size:13px;font-weight:700;line-height:1.5;letter-spacing:.04em;text-decoration:none;cursor:pointer;white-space:normal}
.lead-match-button:hover{background:#e3c28f;border-color:#e3c28f}
.lead-match-button:disabled{opacity:.5;cursor:default}
.lead-match-button-secondary{background:transparent;color:#e3c28f;border-color:rgba(184,150,62,.65)}
.lead-match-button-secondary:hover{background:rgba(184,150,62,.12);color:#f5f5f5}
.lead-match button:focus-visible,.lead-match a:focus-visible,.lead-match-option:has(input:focus-visible){outline:2px solid #e3c28f;outline-offset:4px}
.lead-match-option input:focus-visible{outline:2px solid #e3c28f;outline-offset:3px}
.lead-match-intro-actions{flex:0 0 auto;text-align:center}
.lead-match-small{margin:7px 0 0;font-size:11px;line-height:1.8;color:#e0e0e0}
.lead-match-content{margin-top:24px;padding-top:22px;border-top:1px solid rgba(184,150,62,.3)}
.lead-match-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:12px;color:#e3c28f}
.lead-match-close{padding:6px 0 6px 12px;min-height:44px;border:0;background:transparent;color:#e0e0e0;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.lead-match-progress{display:block;width:100%;height:3px;margin:0 0 20px;border:0;appearance:none;background:rgba(184,150,62,.2);accent-color:#e3c28f}
.lead-match-progress::-webkit-progress-bar{background:rgba(184,150,62,.2)}
.lead-match-progress::-webkit-progress-value{background:#e3c28f}
.lead-match-progress::-moz-progress-bar{background:#e3c28f}
.lead-match h3{margin:0;font-family:"Noto Serif JP",serif;font-size:21px;font-weight:500;line-height:1.65;outline:none}
.lead-match-hint{margin:6px 0 16px;font-size:12px;line-height:1.8;color:#e0e0e0}
.lead-match-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 22px;padding:0;border:0;min-width:0}
.lead-match-option{position:relative;display:flex;align-items:center;gap:12px;min-height:58px;padding:14px 16px;border:1px solid rgba(184,150,62,.32);background:rgba(255,255,255,.025);color:#f5f5f5;font-size:14px;line-height:1.6;cursor:pointer}
.lead-match-option.is-selected{border-color:#e3c28f;background:rgba(184,150,62,.13)}
.lead-match-option input{flex:0 0 auto;width:18px;height:18px;margin:0;accent-color:#e3c28f;cursor:pointer}
.lead-match-step-actions{display:flex;justify-content:space-between;gap:12px}
.lead-match-step-actions>.lead-match-button{min-width:112px}
.lead-match-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.lead-match-card{min-width:0;display:flex;flex-direction:column;border:1px solid rgba(184,150,62,.35);background:rgba(0,0,0,.12);padding:16px}
.lead-match-card-head{display:grid;grid-template-columns:80px minmax(0,1fr);gap:13px;align-items:start}
.lead-match-photo{display:block;width:80px;height:104px;object-fit:cover;background:rgba(255,255,255,.05)}
.lead-match-photo-fallback{display:flex;align-items:center;justify-content:center;color:#e3c28f;font-size:28px}
.lead-match-rank{margin:0 0 5px;color:#e3c28f;font-size:11px;line-height:1.5}
.lead-match-name{display:block;margin:0 0 7px;color:#f5f5f5;font-family:"Noto Serif JP",serif;font-size:21px;line-height:1.5;overflow-wrap:anywhere;text-decoration:none}
.lead-match-stats{margin:0;font-size:12px;line-height:1.8;color:#e0e0e0}
.lead-match-reasons{margin:15px 0;padding-left:17px;font-size:12px;line-height:1.9;color:#f5f5f5;overflow-wrap:anywhere}
.lead-match-card-note{margin:0 0 15px;color:#e0e0e0;font-size:11px;line-height:1.8}
.lead-match-differences{margin:0 0 15px;padding:10px;border:1px solid rgba(184,150,62,.35);color:#e0e0e0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.lead-match-differences p{margin:0 0 3px;color:#e3c28f;font-size:11px}
.lead-match-differences ul{margin:0;padding-left:16px}
.lead-match-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto}
.lead-match-card-actions .lead-match-button{padding:10px 6px;font-size:12px}
.lead-match-result-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.lead-match-success-layer{position:fixed;inset:0;z-index:11020;overflow:hidden;pointer-events:none}
.lead-match-success-layer *{box-sizing:border-box}
.lead-match-success-toast{position:absolute;top:calc(16px + env(safe-area-inset-top,0px));left:50%;display:flex;align-items:center;gap:14px;width:max-content;max-width:calc(100% - 32px);padding:16px 12px 16px 20px;border:1px solid rgba(246,216,121,.8);border-radius:16px;background:linear-gradient(120deg,#4c284d,#26213b 70%,#263d3a);box-shadow:0 12px 40px rgba(0,0,0,.38),0 0 24px rgba(246,216,121,.12);color:#fff8e9;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;animation:leadMatchSuccessToast 4.6s ease-out both;will-change:transform,opacity;pointer-events:auto}
.lead-match-success-toast p{margin:0;font-size:16px;font-weight:700;line-height:1.7;letter-spacing:.02em;overflow-wrap:anywhere}
.lead-match-success-icon{display:flex;flex:0 0 34px;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid rgba(246,216,121,.5);border-radius:50%;background:rgba(246,216,121,.12);color:#f6d879;font-size:24px;line-height:1}
.lead-match-success-break{display:none}
.lead-match-success-dismiss{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#fff8e9;font-size:24px;line-height:1;cursor:pointer}
.lead-match-success-dismiss:hover{background:rgba(255,255,255,.1)}
.lead-match-success-dismiss:focus-visible{outline:2px solid #f6d879;outline-offset:2px}
.lead-match-success-particle{position:absolute;top:calc(54px + env(safe-area-inset-top,0px));left:calc(50% + var(--spark-origin));width:6px;height:16px;border-radius:2px;background:var(--spark-color);opacity:0;animation:leadMatchSuccessSpark 1.3s cubic-bezier(.12,.7,.22,1) var(--spark-delay) both}
.lead-match-success-particle.is-dot{width:8px;height:8px;border-radius:50%}
@keyframes leadMatchSuccessToast{0%{opacity:0;transform:translate(-50%,-10px) scale(.96)}6%,88%{opacity:1;transform:translate(-50%,0) scale(1)}100%{opacity:0;transform:translate(-50%,-10px) scale(.98)}}
@keyframes leadMatchSuccessSpark{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}8%{opacity:1}78%{opacity:.9}100%{opacity:0;transform:translate(calc(-50% + var(--spark-x)),calc(-50% + var(--spark-y))) rotate(var(--spark-rotation)) scale(.9)}}
@keyframes leadMatchSuccessToastGentle{0%,100%{opacity:0;transform:translateX(-50%)}6%,88%{opacity:1;transform:translateX(-50%)}}
@keyframes leadMatchSuccessSparkGentle{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}15%{opacity:1}100%{opacity:0;transform:translate(calc(-50% + var(--spark-x)*.3),calc(-50% + var(--spark-y)*.3)) rotate(var(--spark-rotation)) scale(.4)}}
@media(max-width:600px){.lead-match-success-toast{gap:10px;padding:12px 8px 12px 14px;border-radius:14px}.lead-match-success-toast p{font-size:14px}.lead-match-success-break{display:block}.lead-match-success-icon{flex-basis:30px;width:30px;height:30px;font-size:21px}}
@media(prefers-reduced-motion:reduce){.lead-match-success-toast{animation-name:leadMatchSuccessToastGentle}.lead-match-success-particle{animation-name:leadMatchSuccessSparkGentle;animation-duration:.7s}}
.lead-match-error{margin:12px 0;color:#f5f5f5;font-size:14px;line-height:1.8}
.lead-match-error-actions{display:flex;flex-wrap:wrap;gap:12px}
.lead-match-wrapper{padding:0 24px}
.lead-match-has-banner{padding:0}
.lead-match-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0);white-space:nowrap!important;border:0!important}
.lead-match-banner{display:block;width:100%;padding:0;border:0;background:transparent;color:#e3c28f;cursor:pointer;line-height:0;scroll-margin-top:110px}
.lead-match-banner img{display:block;width:100%;height:auto}
.lead-match-banner:disabled{opacity:.5;cursor:default}
.lead-match-banner-fallback{display:block;padding:32px 20px;font-size:22px;line-height:1.8;text-align:center}
.lead-match-has-banner .lead-match-content{margin:0;padding:22px 24px;border-top:0}
html.lead-match-open #lead-line-fab,html.lead-match-open #lead-back-to-top-fab{display:none!important}
@media(max-width:1000px){.lead-match-results{grid-template-columns:1fr}.lead-match-card-head{grid-template-columns:88px minmax(0,1fr)}.lead-match-photo{width:88px;height:114px}.lead-match-card-actions{max-width:420px}.lead-match-card-actions{margin-top:16px}}
@media(max-width:600px){.lead-match-wrapper{padding:0 16px}.lead-match{padding:18px 16px;margin-bottom:24px}.lead-match-intro{display:block}.lead-match h2{font-size:20px}.lead-match-intro-actions{margin-top:15px;display:flex;align-items:center;gap:12px;text-align:left}.lead-match-intro-actions .lead-match-button{padding:11px 15px}.lead-match-small{margin:0}.lead-match-options{grid-template-columns:1fr;gap:8px}.lead-match-option{min-height:54px;padding:12px;font-size:13px}.lead-match h3{font-size:20px}.lead-match-content{margin-top:20px;padding-top:14px}.lead-match-card{padding:12px}.lead-match-card-head{grid-template-columns:68px minmax(0,1fr);gap:12px}.lead-match-photo{width:68px;height:90px}.lead-match-name{font-size:19px}.lead-match-card-note{font-size:11px}.lead-match-result-actions>.lead-match-button{flex:1}.lead-match-step-actions>.lead-match-button{min-width:90px}}
@media(prefers-reduced-motion:no-preference){.lead-match-content{animation:leadMatchAppear .18s ease-out}@keyframes leadMatchAppear{from{opacity:0}to{opacity:1}}}
@media(max-width:600px){.lead-match.lead-match-has-banner{padding:0}.lead-match-has-banner .lead-match-content{padding:16px}}
