/* Face-shape check (/ja/hairstyles/face-shape-check). Loaded after guide-v3-stack; markup in FaceCheckShell.vue. */
.fc-sample {margin:0;text-align:center}
.fc-sample img {display:block;width:100%;max-width:340px;height:auto;margin:0 auto;border-radius:var(--ht-radius-photo);box-shadow:var(--ht-shadow-photo);background:white}
/* The conditions, one plain line under the measuring button: body size, no frame. */
.fc-conditions {margin:12px 0 0;font-size:15px;font-weight:400;line-height:1.6;color:var(--ht-color-ink);text-align:center;text-wrap:balance}
.fc-conditions span {white-space:nowrap}
.upload-help .fc-conditions+.tryon-notice {margin-top:4px;text-align:center}
@media (max-width:760px) {.fc-sample img {max-width:clamp(220px,calc((100svh - 360px) * .75),340px)}}

/* Measuring: the photo with a scanning band, then the measured lines drawn over it. */
.fc-stage {position:relative;width:min(100%,320px);margin:0 auto 18px;border-radius:var(--ht-radius-photo);overflow:hidden;box-shadow:var(--ht-shadow-photo);background:#fff}
.fc-svg {display:block;width:100%;height:auto}
.fc-stage.scanning::after {content:"";position:absolute;left:0;right:0;height:22%;top:-22%;background:linear-gradient(180deg,#28758b00,#28758b38 70%,#ffffffb0 92%,#28758b00);animation:fc-scan 1.6s ease-in-out infinite}
@keyframes fc-scan {to {top:100%}}
.fc-lines polygon,.fc-lines line {fill:none;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:fc-draw .8s ease-out forwards}
.fc-contour {stroke:#28758b}
.fc-axis {stroke:#fff;filter:drop-shadow(0 0 1.5px #0009);animation-delay:.35s!important}
.fc-axis-late {animation-delay:.6s!important}
.fc-dot {fill:#fff;stroke:#28758b;stroke-width:2;opacity:0;animation:fc-dot .3s .8s ease-out forwards}
.fc-still .fc-lines polygon,.fc-still .fc-lines line {animation:none;stroke-dashoffset:0}
.fc-still .fc-dot {animation:none;opacity:1}
@keyframes fc-draw {to {stroke-dashoffset:0}}
@keyframes fc-dot {to {opacity:1}}

/* Result */
#fc-result {text-align:left;max-width:560px;margin:0 auto}
#fc-result>.eyebrow {text-align:center;margin-bottom:6px}
.fc-label {text-align:center;font-size:clamp(28px,7.4vw,40px);line-height:1.3;margin:0}
.fc-note {text-align:center;margin:6px 0 0;font-size:15px;color:var(--ht-color-muted)}
.fc-measured {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:center;margin-top:20px}
.fc-face {border-radius:var(--ht-radius-card);overflow:hidden;background:#fff;box-shadow:0 8px 24px #263a5014}
.fc-face svg {display:block;width:100%;height:auto;aspect-ratio:3/4}
.fc-stats {margin:0;display:grid;gap:12px}
.fc-stats dt {font-size:12px;letter-spacing:.08em;color:var(--ht-color-muted)}
.fc-stats dd {margin:2px 0 0;display:flex;flex-direction:column}
.fc-stats strong {font:700 22px/1.2 var(--ht-font-display)}
.fc-stats span {font-size:13px;line-height:1.5;color:var(--ht-color-muted)}
.fc-band {margin-top:22px}
.fc-band-title {font-size:13px;font-weight:700;margin:0 0 8px}
.fc-band-bar {position:relative;display:grid;grid-template-columns:13fr 9fr 13fr;height:14px;border-radius:999px;overflow:visible}
.fc-zone {background:#d9e7ee}
.fc-zone:first-child {border-radius:999px 0 0 999px}
.fc-zone:nth-child(3) {border-radius:0 999px 999px 0}
.fc-zone-mid {background:#b5d3df}
.fc-marker {position:absolute;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:#28758b;border:3px solid #fff;box-shadow:0 1px 6px #0004}
.fc-band-labels {list-style:none;padding:0;margin:6px 0 0;display:grid;grid-template-columns:13fr 9fr 13fr;font-size:12px;color:var(--ht-color-muted);text-align:center}
.fc-band-labels li:first-child {text-align:left}
.fc-band-labels li:last-child {text-align:right}

.fc-proposals-block {margin-top:36px;padding-top:28px;border-top:1px solid #cfe1ea}
.fc-proposals-title {text-align:center;font-size:clamp(22px,5.6vw,30px);margin:0}
.fc-proposals-title {margin-bottom:18px}
.fc-proposals {list-style:none;padding:0;margin:0;display:grid;gap:14px}
.fc-proposal {position:relative;display:grid;grid-template-columns:118px minmax(0,1fr);gap:14px;align-items:start;background:#fff;border-radius:var(--ht-radius-card);padding:10px;box-shadow:0 6px 18px #263a5012}
.fc-proposal img {width:100%;height:auto;aspect-ratio:2/3;object-fit:cover;border-radius:8px;background:var(--ht-color-soft)}
.fc-proposal .v3-badge {top:16px;left:16px}
.fc-proposal-text strong {display:block;font-size:17px;line-height:1.4;margin-top:2px}
.fc-proposal-text p {font-size:13.5px;line-height:1.7;color:var(--ht-color-muted);margin:6px 0 10px}
.fc-try {width:100%;min-height:44px;font-size:14px}
.fc-avoid {margin:14px 0 0;font-size:14px;color:var(--ht-color-muted)}
#fc-tryon-progress {margin-top:22px;text-align:center}
#fc-result #result {margin-top:26px}

.fc-guides-block {margin-top:36px}
.fc-guides-block h3 {font-size:19px;margin:0 0 12px}
.fc-guides {list-style:none;padding:0;margin:0;display:grid;gap:10px}
.fc-guides a {display:flex;flex-direction:column;gap:2px;padding:14px 16px;border:1px solid var(--ht-color-line);border-radius:var(--ht-radius-card);background:#fff;color:inherit;text-decoration:none}
.fc-guides a strong {font-size:15px}
.fc-guides a strong::after {content:" →";color:#28758b}
.fc-guides a span {font-size:13px;line-height:1.6;color:var(--ht-color-muted)}
.fc-used {text-align:center}
.fc-used-last {font-weight:700;font-size:16px;color:var(--ht-color-ink)!important}
.fc-used-guides {margin-top:24px;text-align:left}

@media (max-width:380px) {
  .fc-proposal {grid-template-columns:96px minmax(0,1fr)}
  .fc-measured {grid-template-columns:1fr 1fr;gap:12px}
}
@media (prefers-reduced-motion:reduce) {
  .fc-stage.scanning::after {animation:none;top:0;height:100%;background:#28758b18}
  .fc-lines polygon,.fc-lines line {animation:none;stroke-dashoffset:0}
  .fc-dot {animation:none;opacity:1}
}
