:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --text: #282523;
  --muted: #726e68;
  --line: #e5e0d8;
  --coral: #c87568;
  --coral-dark: #9f574e;
  --sage: #7b8d78;
  --champagne: #cdbb9f;
  --shadow: 0 18px 55px rgba(46, 39, 32, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #f3f2ee 100%);
  color: var(--text);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, system-ui,
    sans-serif;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(200, 117, 104, 0.35);
  outline-offset: 3px;
}

.site-shell {
  width: min(1480px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 100vh;
}

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.panel-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.brand-name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.1;
}

.brand-sub,
.panel-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
}

.mobile-nav {
  display: none;
  position: relative;
}

.mobile-nav summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(46, 39, 32, 0.08);
  list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-nav summary span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(240px, calc(100vw - 40px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.mobile-nav-panel a {
  display: block;
  padding: 13px 14px;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav-panel a + a {
  border-top: 1px solid var(--line);
}

.mobile-nav-panel a[aria-current="page"] {
  color: var(--coral-dark);
  background: var(--surface-2);
}

.section-view {
  display: none;
}

.section-view.is-active {
  display: block;
}

.hero {
  padding: 54px 0 72px;
}

.hero-copy {
  max-width: 760px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.96;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.hero-lead {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.45;
  font-weight: 700;
}

.hero-description {
  max-width: 690px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.hero-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-mini-points span,
.mode-status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.method-note {
  max-width: 820px;
  margin: 22px auto 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
}

.method-note-label {
  margin: 0 0 6px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.method-note h2 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.5;
}

.method-note p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.85;
}

.mode-heading {
  display: grid;
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 760px;
  margin: 18px auto 24px;
  color: var(--text);
  text-align: center;
}

.mode-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

.mode-heading h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.mode-card {
  position: relative;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.mode-card-women {
  border-color: rgba(200, 117, 104, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 246, 0.9)),
    var(--surface);
}

.mode-card .portrait {
  order: 2;
  height: 164px;
}

.mode-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.mode-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.82) 36%, rgba(255, 255, 255, 0.2) 70%, rgba(255, 255, 255, 0) 100%);
}

.mode-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

.mode-card-women .mode-photo img {
  object-position: center 18%;
}

.mode-card .mode-content {
  position: relative;
  z-index: 2;
  width: min(58%, 260px);
  padding: 2px 0;
  display: grid;
  min-height: 100%;
  grid-template-rows: auto minmax(68px, auto) minmax(118px, 1fr) auto;
  align-content: start;
}

.mode-card-men {
  border-color: rgba(53, 91, 110, 0.42);
}

.mode-card-men .mode-photo {
  width: 52%;
}

.mode-card-men .mode-photo img {
  object-position: center 18%;
}

.mode-status {
  margin-bottom: 10px;
  background: #f1efeb;
}

.mode-status.is-open {
  border-color: rgba(200, 117, 104, 0.3);
  background: rgba(200, 117, 104, 0.08);
  color: var(--coral-dark);
}

.mode-card h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.mode-card p {
  min-height: 92px;
  color: var(--muted);
  line-height: 1.7;
}

.mode-card .button {
  align-self: end;
  width: fit-content;
}

.mode-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  gap: 8px;
  margin: 16px 0 14px;
}

.mode-photo-thumbs img {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 10px 22px rgba(60, 50, 40, 0.12);
}

.home-preview-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.home-preview-card > p:first-child {
  max-width: 270px;
  margin: 0 auto 20px;
  color: var(--text);
  text-align: center;
  font-weight: 700;
  line-height: 1.9;
}

.preview-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 10px;
  margin-bottom: 16px;
}

.preview-main {
  height: 250px;
}

.preview-main-photo {
  width: 100%;
  height: 250px;
  border-radius: var(--radius);
  background: #fff;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 34px rgba(60, 48, 40, 0.12);
}

.preview-thumbs {
  display: grid;
  gap: 10px;
}

.preview-thumbs img {
  width: 100%;
  height: 76px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
  object-position: center top;
}

.preview-thumbs .portrait {
  height: 76px;
}

.preview-thumbs .face-shape {
  top: 23px;
  width: 28px;
  height: 36px;
}

.preview-thumbs .hair-shape {
  top: 12px;
  width: 50px;
  height: 58px;
}

.home-preview-card h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.home-preview-note {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.home-preview-swatches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-preview-swatches span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.home-preview-swatches span::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 1px solid rgba(40, 37, 35, 0.16);
  border-radius: 50%;
  background: var(--swatch);
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 880px;
  margin: 22px 0 34px;
}

.hero-summary span {
  min-height: 62px;
  padding: 14px 16px;
  border-left: 2px solid rgba(200, 117, 104, 0.42);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero-main-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
  gap: 24px;
}

.mode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mode-card {
  min-height: 300px;
  padding: 26px;
}

.mode-card .mode-content {
  width: min(58%, 300px);
}

.mode-card p {
  min-height: 118px;
}

.mode-photo-thumbs {
  display: none;
}

.home-preview-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.home-preview-card > p:first-child {
  max-width: none;
  margin: 0;
  text-align: left;
}

.home-preview-copy {
  display: grid;
  gap: 8px;
}

.home-preview-kicker {
  margin: 0;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.preview-visuals {
  margin-bottom: 0;
}

.preview-visuals-split {
  grid-template-columns: minmax(0, 1.55fr) minmax(82px, 0.72fr);
  align-items: stretch;
}

.preview-visuals-split .preview-main-photo {
  height: 300px;
}

.preview-visuals-split .preview-thumbs {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.preview-visuals-split .preview-thumbs img {
  height: 100%;
  min-height: 0;
}

.home-preview-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.55;
}

.home-preview-note {
  margin: 0;
}

.home-preview-list {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.home-preview-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.home-preview-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.home-result-preview {
  align-content: start;
}

.preview-result-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(200, 117, 104, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(248, 243, 238, 0.92)),
    var(--surface);
  box-shadow: 0 16px 40px rgba(66, 48, 39, 0.08);
}

.preview-result-head span {
  display: block;
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.preview-result-head strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.35;
}

.preview-result-tags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-result-tags span {
  display: block;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
}

.preview-result-tags b {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-size: 0.72rem;
}

.preview-style-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.86fr));
  gap: 8px;
}

.preview-style {
  position: relative;
  display: grid;
  min-height: 140px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-style.is-main {
  min-height: 178px;
}

.preview-style img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.preview-style small {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
}

.preview-color-block {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.preview-color-block p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 800;
}

.preview-color-dots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.preview-color-dots span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.preview-color-dots span::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(40, 37, 35, 0.16);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.preview-order-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(200, 117, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.catalog-shell {
  max-width: 1480px;
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 54px 0 38px;
}

.catalog-hero-copy {
  max-width: 660px;
}

.catalog-hero-copy h1 {
  margin-bottom: 18px;
}

.catalog-hero-copy p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  line-height: 1.9;
}

.catalog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-hero-board {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.82fr);
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 12px;
  min-height: 430px;
}

.catalog-hero-board img {
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 18px 48px rgba(55, 45, 38, 0.1);
}

.catalog-hero-main {
  grid-row: 1 / -1;
}

.catalog-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 6px 0 24px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 140, 96, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(70, 56, 45, 0.08);
}

.catalog-toolbar > div:first-child {
  display: grid;
  gap: 2px;
}

.catalog-gender-tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.76);
}

.catalog-toolbar strong {
  color: var(--text);
  font-size: 0.95rem;
}

#catalog-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.catalog-filters button,
.catalog-gender-tabs button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.catalog-filters button.is-active,
.catalog-gender-tabs button.is-active {
  border-color: rgba(200, 117, 104, 0.42);
  background: rgba(200, 117, 104, 0.1);
  color: var(--coral-dark);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 72px;
}

.catalog-note {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid rgba(184, 140, 96, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 246, 240, 0.9)),
    var(--surface);
}

.catalog-note h2 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.45;
}

.catalog-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(184, 140, 96, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(70, 56, 45, 0.08);
}

.catalog-card button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.catalog-card button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: transform 220ms ease;
}

.catalog-card button:hover img {
  transform: scale(1.025);
}

.catalog-card button span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.catalog-card-main {
  aspect-ratio: 4 / 5;
}

.catalog-card-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.catalog-card-thumbs button {
  aspect-ratio: 1 / 1;
}

.catalog-card-copy {
  display: grid;
  gap: 8px;
  padding: 2px 2px 0;
}

.catalog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.catalog-card-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(200, 117, 104, 0.22);
  border-radius: 999px;
  background: rgba(200, 117, 104, 0.07);
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.catalog-card h2 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
}

.catalog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.catalog-load-more .button {
  min-width: 180px;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.men-diagnosis-page {
  --men-bg: #eef4f7;
  --men-surface: #ffffff;
  --men-surface-2: #f6f9fb;
  --men-text: #20262b;
  --men-muted: #63717a;
  --men-line: #d8e3e9;
  --men-blue: #5f7f99;
  --men-blue-dark: #36586f;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--men-bg) 46%, #e8eff3 100%);
  color: var(--men-text);
}

.men-diagnosis-page .site-header {
  color: var(--men-text);
}

.men-diagnosis-page .brand-sub,
.men-diagnosis-page .header-nav a,
.men-diagnosis-page .section-label {
  color: var(--men-muted);
}

.men-diagnosis-page .button.primary {
  background: var(--men-blue);
}

.men-diagnosis-page .button.primary:hover {
  background: var(--men-blue-dark);
}

.men-diagnosis-page .button.secondary:hover {
  border-color: rgba(95, 127, 153, 0.46);
}

.men-diagnosis-page [hidden] {
  display: none !important;
}

.men-shell {
  max-width: 1320px;
}

.men-diagnosis-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 24px;
  align-items: center;
  padding: 54px 0 58px;
  text-align: center;
}

.men-diagnosis-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

.men-diagnosis-hero p {
  max-width: 680px;
  margin-right: auto;
  margin-bottom: 24px;
  margin-left: auto;
  color: var(--men-muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.9;
}

.men-diagnosis-hero .button {
  margin-right: auto;
  margin-left: auto;
}

.men-hero-preview {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(95, 127, 153, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(41, 58, 70, 0.11);
}

.men-hero-preview img {
  width: 100%;
  height: min(42vw, 430px);
  display: block;
  border: 1px solid var(--men-line);
  border-radius: var(--radius);
  background: var(--men-surface-2);
  object-fit: cover;
  object-position: center top;
}

.men-hero-preview div {
  padding: 12px;
  border: 1px dashed rgba(95, 127, 153, 0.36);
  border-radius: var(--radius);
  background: var(--men-surface-2);
}

.men-hero-preview span,
.men-hero-preview small {
  display: block;
  color: var(--men-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.men-hero-preview strong {
  display: block;
  margin: 4px 0;
  font-size: 1.08rem;
}

.men-diagnosis-app {
  display: grid;
  grid-template-columns: 220px minmax(620px, 1fr) 320px;
  gap: 24px;
  padding: 20px 0 64px;
}

.men-step-panel,
.men-question-panel,
.men-result-head,
.men-result .result-card {
  border: 1px solid var(--men-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(41, 58, 70, 0.1);
}

.men-step-panel {
  position: sticky;
  top: 18px;
  align-self: start;
  padding: 20px;
}

.men-step-panel > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--men-blue-dark);
}

.men-step-panel ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.men-step-panel li {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--men-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.men-step-panel li span {
  width: 23px;
  height: 23px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--men-line);
  border-radius: 50%;
  background: var(--men-surface);
  font-size: 0.72rem;
}

.men-step-panel li.is-current {
  color: var(--men-text);
  font-weight: 800;
}

.men-step-panel li.is-current span,
.men-step-panel li.is-done span {
  border-color: var(--men-blue);
  background: var(--men-blue);
  color: #fff;
}

.men-question-panel {
  padding: clamp(22px, 4vw, 44px);
  overflow: hidden;
}

.men-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--men-muted);
  font-weight: 800;
}

.men-progress .progress-track span {
  background: var(--men-blue);
}

.men-question-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.3;
}

.men-question-panel > p {
  max-width: 760px;
  color: var(--men-muted);
  line-height: 1.8;
}

.men-quiz-illustration {
  background: #f6f9fb;
}

.men-quiz-illustration img {
  object-fit: cover;
}

.men-karte-panel .section-label,
.men-karte-panel .karte-row.is-filled strong::before {
  color: var(--men-blue-dark);
}

.men-karte-panel .karte-row.is-filled {
  border-color: rgba(95, 127, 153, 0.28);
  background: #f6f9fb;
}

.men-karte-panel .karte-row.is-filled strong::before {
  border-color: var(--men-blue);
  background: var(--men-blue);
}

.men-options-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.men-option {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px 44px 18px 18px;
  border: 1px solid var(--men-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--men-text);
  text-align: left;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.men-option.has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
  gap: 14px;
  padding: 16px 44px 18px 16px;
  text-align: center;
}

.men-option-visual {
  display: grid;
  min-height: 150px;
  place-items: center;
  border-radius: calc(var(--radius) - 2px);
  background: var(--men-surface-2);
  overflow: hidden;
}

.men-option-visual img {
  display: block;
  width: min(100%, 138px);
  height: 146px;
  object-fit: contain;
}

.men-option-copy {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.men-option strong {
  font-size: 1rem;
  line-height: 1.45;
}

.men-option > span:not(.option-check):not(.men-option-visual):not(.men-option-copy),
.men-option-copy > span {
  color: var(--men-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.men-option:hover,
.men-option.is-selected {
  border-color: rgba(95, 127, 153, 0.56);
  box-shadow: 0 16px 34px rgba(41, 58, 70, 0.12);
}

.men-option.is-selected {
  background: linear-gradient(180deg, rgba(246, 249, 251, 0.98), #fff);
}

.men-option.is-selected .option-check {
  border-color: var(--men-blue);
  background: var(--men-blue);
}

.men-result {
  padding: 24px 0 68px;
}

.men-result-head {
  padding: clamp(24px, 4vw, 44px);
}

.men-result-head h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
}

.men-result-head p {
  max-width: 780px;
  color: var(--men-muted);
  line-height: 1.85;
}

.men-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.men-style-card,
.men-result .order-card {
  grid-column: span 2;
}

.men-placeholder-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.men-placeholder-shots .style-candidate {
  width: 100%;
}

.men-style-candidate {
  display: grid;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(95, 127, 153, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.men-angle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(88px, 0.48fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.men-photo-slot,
.men-photo-fallback {
  display: grid;
  min-height: 220px;
  place-items: center;
  padding: 14px;
  border: 1px dashed rgba(95, 127, 153, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(246, 249, 251, 0.96), rgba(228, 238, 244, 0.86)),
    var(--men-surface-2);
  text-align: center;
}

.men-photo-slot:first-child,
.men-photo-shot:first-child .men-photo-fallback {
  min-height: 300px;
}

.men-photo-slot span,
.men-photo-slot strong,
.men-photo-slot small,
.men-photo-fallback span,
.men-photo-fallback strong,
.men-photo-fallback small {
  display: block;
}

.men-photo-slot span,
.men-photo-fallback span {
  color: var(--men-blue);
  font-size: 0.72rem;
  font-weight: 800;
}

.men-photo-slot strong,
.men-photo-fallback strong {
  color: var(--men-muted);
  font-size: 0.9rem;
}

.men-photo-slot small,
.men-photo-fallback small {
  max-width: 100%;
  color: var(--men-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.men-photo-shot {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(95, 127, 153, 0.24);
  border-radius: var(--radius);
  background: var(--men-surface-2);
}

.men-photo-shot-front {
  grid-row: span 2;
  min-height: 300px;
}

.men-photo-shot img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  background: var(--men-surface-2);
}

.men-photo-shot-front img {
  min-height: 300px;
}

.men-photo-shot-side,
.men-photo-shot-back {
  min-height: 146px;
}

.men-photo-shot-side img,
.men-photo-shot-back img {
  min-height: 146px;
}

.men-candidate-copy span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(95, 127, 153, 0.26);
  border-radius: 999px;
  color: var(--men-blue-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.men-candidate-copy h4 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  line-height: 1.45;
}

.men-candidate-copy p {
  margin: 0;
  color: var(--men-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.men-photo-shot figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(21, 39, 52, 0.74);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.men-photo-shot img:not([src]),
.men-photo-shot img[src=""] {
  display: none;
}

.men-photo-shot img:not([src]) + figcaption,
.men-photo-shot img[src=""] + figcaption {
  display: none;
}

.men-placeholder-shots .men-photo-shot img:not([src]) ~ .men-photo-fallback,
.men-placeholder-shots .men-photo-shot img[src=""] ~ .men-photo-fallback {
  display: grid;
}

.men-placeholder-shots .men-photo-fallback {
  display: none;
}

.men-photo-plan-card {
  grid-column: span 2;
}

.men-needed-photos,
.men-photo-plan-item ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.men-needed-photos li,
.men-photo-plan-item li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid var(--men-line);
  border-radius: var(--radius);
  background: var(--men-surface-2);
}

.men-needed-photos strong,
.men-photo-plan-item span {
  color: var(--men-blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.men-needed-photos code,
.men-photo-plan-item code {
  color: var(--men-text);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.men-photo-plan {
  display: grid;
  gap: 22px;
  padding: 10px 0 78px;
}

.men-photo-plan > div:first-child {
  max-width: 760px;
}

.men-photo-plan h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.men-photo-plan p {
  color: var(--men-muted);
  line-height: 1.8;
}

.men-photo-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.men-photo-plan-item {
  padding: 16px;
  border: 1px solid var(--men-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.men-photo-plan-item h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.men-photo-plan-item p {
  margin: 0;
  font-size: 0.82rem;
}

.men-result .result-swatches span::before {
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.portrait {
  position: relative;
  height: 172px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(236, 229, 218, 0.88)),
    var(--surface-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 54px;
  border-radius: 60% 60% 0 0;
  background: #d4b79c;
  opacity: 0.45;
}

.face-shape {
  position: absolute;
  left: 50%;
  top: 48px;
  width: 58px;
  height: 74px;
  transform: translateX(-50%);
  border-radius: 44% 44% 48% 48%;
  background: #e6c6ad;
  box-shadow: inset 0 -10px 18px rgba(128, 86, 61, 0.12);
  z-index: 2;
}

.hair-shape {
  position: absolute;
  left: 50%;
  top: 22px;
  width: 96px;
  height: 114px;
  transform: translateX(-50%);
  z-index: 1;
}

.hair-shape-women {
  border-radius: 50% 50% 46% 46%;
  background: linear-gradient(150deg, #3c2a25, #8a5d46 62%, #b28468);
}

.hair-shape-men {
  top: 32px;
  height: 62px;
  border-radius: 48% 52% 40% 40%;
  background: linear-gradient(150deg, #252729, #53645e);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.button.primary {
  background: var(--coral);
  color: #fff;
}

.button.primary:hover {
  background: var(--coral-dark);
}

.button:not(:disabled):active {
  transform: translateY(1px);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.button.secondary:hover {
  border-color: rgba(200, 117, 104, 0.42);
  box-shadow: 0 8px 20px rgba(46, 39, 32, 0.07);
}

.button.ghost {
  background: #eef0ec;
  color: #6b7469;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.preview-strip span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
}

.home-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.home-detail h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article {
  position: relative;
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.detail-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 18px;
  border-top: 2px dotted #9d9992;
}

.detail-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--champagne);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.detail-grid h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.detail-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.face-guide-entry {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(560px, 1.38fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
}

.face-guide-entry-head {
  display: grid;
  align-content: center;
}

.face-guide-entry-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.45;
}

.face-guide-entry-head p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.face-guide-entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.face-guide-entry-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 4px 14px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: inherit;
  text-decoration: none;
}

.face-guide-entry-card:hover {
  border-color: rgba(200, 117, 104, 0.36);
  background: rgba(255, 255, 255, 0.9);
}

.face-guide-entry-card img {
  grid-row: 1 / -1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f4f0eb;
  object-fit: contain;
}

.face-guide-entry-card span {
  color: var(--coral-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.face-guide-entry-card h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.45;
}

.face-guide-entry-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

.face-guide-entry-card-wide {
  grid-column: span 2;
  grid-template-columns: 96px minmax(0, 1fr);
}

.face-guide-entry-card-wide img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center top;
}

.privacy-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(205, 187, 159, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(205, 187, 159, 0.22), rgba(255, 255, 255, 0.78));
}

.privacy-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(159, 87, 78, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--coral-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.privacy-strip p {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.7;
}

.privacy-strip a {
  color: var(--coral-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.diagnosis-view {
  grid-template-columns: 220px minmax(680px, 1fr) 320px;
  gap: 28px;
  padding: 20px 0 48px;
  min-width: 0;
}

.diagnosis-view.is-active {
  display: grid;
}

.step-panel,
.question-panel,
.karte-panel,
.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.step-panel {
  padding: 20px;
  align-self: start;
  position: sticky;
  top: 20px;
}

.step-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.step-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
}

.step-list li.is-current {
  color: var(--text);
  font-weight: 700;
}

.step-list li.is-current .step-dot,
.step-list li.is-done .step-dot {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.question-panel {
  padding: clamp(22px, 4vw, 42px);
  overflow: hidden;
}

.mobile-progress {
  display: none;
}

.quiz-intro {
  display: grid;
  gap: clamp(18px, 3vw, 26px);
  margin: 0 0 24px;
}

.quiz-copy {
  width: min(100%, 680px);
  min-width: 0;
  margin: 0 auto;
}

.question-heading p {
  font-weight: 500;
}

.quiz-illustration {
  width: min(100%, 680px);
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fffaf6;
}

.quiz-illustration img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.question-heading h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
}

.question-heading p {
  color: var(--muted);
  line-height: 1.75;
}

.question-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.options-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.option-button {
  position: relative;
  width: 100%;
  min-height: 128px;
  display: block;
  padding: 18px 44px 18px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  text-align: center;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.option-button.has-visual {
  min-height: 250px;
  display: grid;
  grid-template-rows: 150px auto;
  gap: 14px;
  padding: 16px 44px 18px 16px;
}

.option-button[data-visual^="decollete"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-button[data-visual^="amount"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-button[data-visual^="curl"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-button[data-visual^="bangs"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-button[data-visual^="skin"].has-visual {
  min-height: 286px;
  grid-template-rows: 184px auto;
}

.option-button[data-visual^="eyes"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-button[data-visual^="natural_hair"].has-visual {
  min-height: 250px;
  grid-template-rows: 150px auto;
}

.option-check {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 4px var(--surface);
  z-index: 3;
}

.option-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 2px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.option-visual img {
  width: min(100%, 148px);
  height: 148px;
  display: block;
  object-fit: contain;
}

.option-button[data-visual^="decollete"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="decollete"] .option-visual img {
  width: min(100%, 132px);
  height: 144px;
}

.option-button[data-visual^="amount"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="amount"] .option-visual img {
  width: min(100%, 138px);
  height: 146px;
}

.option-button[data-visual^="curl"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="curl"] .option-visual img {
  width: min(100%, 138px);
  height: 146px;
}

.option-button[data-visual^="bangs"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="bangs"] .option-visual img {
  width: min(100%, 138px);
  height: 146px;
}

.option-button[data-visual^="skin"] .option-visual {
  min-height: 184px;
}

.option-button[data-visual^="skin"] .option-visual img {
  width: min(100%, 142px);
  height: 178px;
}

.option-button[data-visual^="eyes"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="eyes"] .option-visual img {
  width: min(100%, 150px);
  height: 148px;
  object-fit: contain;
}

.option-button[data-visual^="natural_hair"] .option-visual {
  min-height: 150px;
}

.option-button[data-visual^="natural_hair"] .option-visual img {
  width: min(100%, 164px);
  height: 132px;
  object-fit: contain;
}

.option-copy {
  display: grid;
  gap: 7px;
  align-content: start;
  min-width: 0;
}

.option-button strong {
  display: block;
  margin: 0;
  padding: 0 6px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.option-copy > span {
  display: block;
  padding: 0 4px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.option-button.is-selected {
  border-color: var(--coral);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf7 100%);
  box-shadow:
    0 0 0 3px rgba(200, 117, 104, 0.13),
    0 12px 28px rgba(46, 39, 32, 0.08);
}

.option-button.is-selected .option-visual {
  background: transparent;
}

.option-button.is-selected .option-check {
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: inset 0 0 0 4px #fff8f6;
}

.option-button.is-selected .option-check::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.option-button.is-selected::after {
  content: "選択中";
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(200, 117, 104, 0.12);
  color: var(--coral-dark);
  font-size: 0.72rem;
  font-weight: 700;
  z-index: 4;
}

.option-button:not(.has-visual).is-selected {
  padding-top: 38px;
}

.option-button:not(.has-visual) .option-copy {
  min-height: 72px;
  place-content: center;
}

.option-button:hover {
  border-color: rgba(200, 117, 104, 0.5);
  box-shadow: 0 10px 26px rgba(46, 39, 32, 0.07);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.text-button {
  display: inline-flex;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.karte-panel {
  align-self: start;
  min-width: 0;
  overflow: hidden;
  padding: 22px;
  position: sticky;
  top: 20px;
}

.karte-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.karte-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.mini-swatches {
  display: flex;
  gap: 6px;
}

.mini-swatches span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(40, 37, 35, 0.16);
  border-radius: 50%;
  background: var(--swatch);
}

.karte-rows {
  display: grid;
  gap: 10px;
}

.karte-row {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 250, 247, 0.74);
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.karte-row.is-filled {
  border-color: rgba(200, 117, 104, 0.28);
  background: #fff8f6;
  box-shadow: 0 8px 20px rgba(46, 39, 32, 0.05);
}

.karte-row strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  font-size: 0.88rem;
}

.karte-row strong::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid var(--champagne);
  border-radius: 50%;
  background: transparent;
}

.karte-row.is-filled strong::before {
  border-color: var(--coral);
  background: var(--coral);
}

.karte-row span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.karte-row.is-empty span {
  color: #8d8880;
}

.mini-preview {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.portrait.small {
  height: 76px;
}

.portrait.small .face-shape {
  top: 25px;
  width: 28px;
  height: 36px;
}

.portrait.small .hair-shape {
  top: 13px;
  width: 48px;
  height: 55px;
}

.mini-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.result-view {
  padding: 34px 0 70px;
}

.result-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  padding: 34px 36px;
  border: 1px solid rgba(184, 140, 96, 0.24);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 92% 20%, rgba(200, 117, 104, 0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #fffaf8 56%, #f6f1ea 100%);
  box-shadow: 0 22px 58px rgba(80, 60, 45, 0.12);
}

.result-hero h2 {
  max-width: 860px;
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  line-height: 1.14;
}

.result-hero p {
  max-width: 740px;
  color: var(--muted);
  line-height: 1.85;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 820px;
  margin-top: 18px;
}

.result-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.84rem;
}

.result-tags span:first-child {
  flex-basis: 100%;
  border-color: rgba(200, 117, 104, 0.34);
  background: rgba(200, 117, 104, 0.06);
}

.result-tags strong {
  color: var(--coral-dark);
  font-size: 0.76rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.result-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(184, 140, 96, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.result-card h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  letter-spacing: 0;
}

.subheading {
  margin: 18px 0 0;
  color: var(--text);
  font-size: 0.95rem;
}

.result-card p,
.result-details {
  color: var(--muted);
  line-height: 1.85;
}

.result-paragraph {
  display: block;
}

.result-paragraph + .result-paragraph {
  margin-top: 0.85em;
}

.note-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  position: relative;
  padding: 11px 12px 11px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.feature-result,
.order-card,
.visual-result,
.color-result,
.skeleton-result,
.product-card {
  grid-column: span 2;
}

.product-card {
  display: none;
}

.visual-result {
  display: grid;
  gap: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 240, 0.92)),
    var(--surface);
}

.style-candidates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.style-candidate {
  display: grid;
  min-width: 0;
  grid-template-rows: auto auto;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(184, 140, 96, 0.2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 34px rgba(70, 56, 45, 0.08);
}

.style-candidate h4 {
  margin: 4px 0 8px;
  font-size: 1.08rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.candidate-length {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(200, 117, 104, 0.26);
  border-radius: 999px;
  background: rgba(200, 117, 104, 0.08);
  color: var(--coral-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.style-candidate p {
  min-height: 68px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hair-point-visual figure {
  max-width: min(100%, 560px);
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(200, 117, 104, 0.2);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 30px rgba(70, 56, 45, 0.08);
}

.hair-point-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hair-point-visual figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (min-width: 921px) {
  .skeleton-result .hair-point-visual figure {
    max-width: 50%;
  }

  .men-skeleton-result .hair-point-visual figure {
    max-width: 64%;
  }
}

.angle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.angle-main,
.angle-thumb,
.angle-catalog {
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 232, 221, 0.82)),
    var(--surface);
  overflow: hidden;
}

.angle-main {
  min-height: 292px;
  aspect-ratio: 3 / 4;
  grid-row: span 3;
}

.angle-thumb {
  min-height: 76px;
  aspect-ratio: 4 / 3;
}

.angle-catalog {
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.color-result,
.skeleton-result {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(252, 248, 244, 0.92)),
    var(--surface);
}

.wearable-swatches {
  margin-bottom: 14px;
}

.angle-label {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 4;
  padding: 3px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0;
}

.feature-result {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 242, 234, 0.9)),
    var(--surface);
}

.order-card {
  border-color: rgba(200, 117, 104, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 250, 248, 0.96), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.order-card p {
  padding: 16px 18px;
  border: 1px solid rgba(200, 117, 104, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  font-weight: 400;
}

.share-card {
  display: grid;
  grid-column: span 2;
  gap: 22px;
  padding: 32px;
  border-color: rgba(200, 117, 104, 0.28);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.96), transparent 32%),
    linear-gradient(145deg, rgba(255, 253, 250, 0.98), rgba(250, 244, 237, 0.92)),
    var(--surface);
  box-shadow: 0 20px 52px rgba(70, 56, 45, 0.12);
}

.share-card-heading {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.share-card-heading h3 {
  margin: 0;
  color: var(--coral-dark);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  letter-spacing: 0.08em;
}

.share-card-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.share-heading-icon {
  color: var(--coral-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.share-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.share-button {
  display: inline-flex;
  min-width: 0;
  min-height: 78px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(184, 140, 96, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88)),
    var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(70, 56, 45, 0.08);
}

.share-button:hover {
  border-color: rgba(200, 117, 104, 0.48);
  box-shadow: 0 16px 34px rgba(70, 56, 45, 0.12);
  transform: translateY(-1px);
}

.share-button strong,
.share-button small {
  display: block;
}

.share-button small {
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.share-button-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(200, 117, 104, 0.1);
  color: var(--coral-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.share-button-arrow {
  margin-left: auto;
  font-size: 2rem;
  line-height: 1;
}

.share-native {
  grid-column: 1 / -1;
  min-height: 92px;
  border-color: rgba(200, 117, 104, 0.42);
  background:
    linear-gradient(135deg, #d98a76, #c96f63),
    var(--coral);
  color: #fff;
  font-size: 1.12rem;
  box-shadow: 0 18px 36px rgba(200, 117, 104, 0.3);
}

.share-native .share-button-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.5rem;
}

.share-x .share-button-icon {
  background: #fff;
  color: #111;
  font-size: 1.5rem;
}

.share-line {
  border-color: rgba(6, 199, 85, 0.34);
  background: linear-gradient(135deg, #25d366, #06c755);
  color: #fff;
}

.share-line .share-button-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.share-image {
  color: var(--text);
}

.share-note {
  min-height: 0;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(200, 117, 104, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 246, 0.78);
  color: var(--muted);
  line-height: 1.75;
}

.share-note strong,
.share-note span {
  display: block;
}

.share-note strong {
  color: var(--text);
  font-size: 1rem;
}

.share-note.is-copied {
  color: var(--sage);
  font-weight: 800;
}

.style-visual-face {
  position: relative;
  width: 126px;
  height: 164px;
}

.style-face {
  position: absolute;
  left: 50%;
  top: 42px;
  width: 64px;
  height: 82px;
  transform: translateX(-50%);
  border-radius: 44% 44% 48% 48%;
  background: #e6c6ad;
  z-index: 2;
}

.style-hair {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 104px;
  height: 132px;
  transform: translateX(-50%);
  border-radius: 50% 50% 42% 42%;
  background: linear-gradient(150deg, #30231f, #825a45 62%, #b28468);
  z-index: 1;
}

.style-visual-face.short .style-hair {
  top: 26px;
  width: 98px;
  height: 82px;
  border-radius: 48% 52% 42% 42%;
}

.style-visual-face.medium .style-hair {
  height: 132px;
}

.style-visual-face.long .style-hair {
  top: 10px;
  width: 112px;
  height: 152px;
  border-radius: 48% 48% 36% 36%;
}

.style-visual-face.side .style-face {
  width: 44px;
  border-radius: 48% 36% 44% 46%;
}

.style-visual-face.back .style-face {
  display: none;
}

.style-visual-face.back .style-hair {
  width: 92px;
}

.angle-thumb .style-visual-face {
  width: 66px;
  height: 70px;
}

.angle-thumb .style-face {
  top: 24px;
  width: 32px;
  height: 40px;
}

.angle-thumb .style-hair {
  top: 12px;
  width: 52px;
  height: 58px;
}

.angle-thumb .style-visual-face.short .style-hair {
  top: 20px;
  width: 54px;
  height: 40px;
}

.angle-thumb .style-visual-face.long .style-hair {
  top: 8px;
  width: 56px;
  height: 68px;
}

.angle-thumb .style-visual-face.back .style-hair {
  width: 50px;
}

.angle-main img,
.angle-thumb img,
.angle-catalog img {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.angle-catalog {
  aspect-ratio: auto;
  border: 0;
  background: transparent;
}

.catalog-composite {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.catalog-shot {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 232, 221, 0.82)),
    var(--surface);
  aspect-ratio: 4 / 5;
}

.catalog-zoom-trigger {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}

.catalog-zoom-trigger:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: -4px;
}

.catalog-shot-front {
  grid-row: 1 / span 2;
}

.catalog-shot img,
.angle-catalog .catalog-shot img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}

.catalog-shot figcaption {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
}

.has-catalog-lightbox {
  overflow: hidden;
}

.catalog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
}

.catalog-lightbox.is-open {
  display: grid;
}

.catalog-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(35, 29, 25, 0.72);
  cursor: zoom-out;
}

.catalog-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 560px);
  max-height: min(88vh, 760px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.catalog-lightbox-image {
  display: block;
  width: 100%;
  max-height: min(88vh, 760px);
  object-fit: contain;
  background: #fff;
}

.catalog-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(40, 37, 35, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.result-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.result-swatches span {
  min-width: 116px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.84rem;
}

.result-swatches span::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 1px solid rgba(40, 37, 35, 0.16);
  border-radius: 50%;
  background: var(--swatch);
}

.result-details {
  display: grid;
  grid-template-columns: minmax(140px, auto) 1fr;
  gap: 8px 14px;
  margin: 0;
}

.result-details dt {
  color: var(--text);
  font-weight: 700;
}

.result-details dd {
  margin: 0;
}

.save-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.save-row span {
  color: var(--coral-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.save-row span.is-copied {
  color: var(--sage);
}

.result-bottom-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.item-placeholders {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.item-placeholders span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.result-method-note {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.result-method-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.92rem;
}

.result-method-note p {
  margin: 0;
}

.site-footer {
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.site-footer p {
  margin: 0;
}

.footer-references {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-references h2 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.92rem;
}

.footer-references ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-references a {
  color: var(--muted);
  text-decoration-color: rgba(139, 111, 81, 0.35);
  text-underline-offset: 3px;
}

.footer-references a:hover {
  color: var(--accent-strong);
}

@media (max-width: 1280px) {
  .site-shell {
    width: min(100% - 32px, 1180px);
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .men-options-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .men-diagnosis-app {
    grid-template-columns: 190px minmax(0, 1fr) 280px;
    gap: 18px;
  }

  .diagnosis-view {
    grid-template-columns: 190px minmax(0, 1fr) 280px;
    gap: 18px;
  }

  .options-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-grid,
  .men-result-grid {
    grid-template-columns: 1fr;
  }

  .feature-result,
  .order-card,
  .visual-result,
  .color-result,
  .skeleton-result,
  .product-card,
  .share-card,
  .men-style-card,
  .men-result .order-card,
  .men-result .share-card {
    grid-column: auto;
  }

  .style-candidates {
    grid-template-columns: 1fr;
  }

  .share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-native {
    grid-column: span 2;
  }
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100% - 28px, 720px);
  }

  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .catalog-hero-board {
    min-height: 320px;
  }

  .catalog-toolbar {
    position: static;
    display: grid;
    align-items: start;
  }

  .catalog-filters {
    justify-content: flex-start;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-note {
    position: static;
  }

  .men-diagnosis-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .men-hero-preview img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .men-diagnosis-app {
    grid-template-columns: 1fr;
  }

  .men-step-panel {
    position: static;
  }

  .men-karte-panel {
    position: static;
  }

  .men-step-panel ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .men-result-grid {
    grid-template-columns: 1fr;
  }

  .men-style-card,
  .men-result .order-card,
  .men-result .share-card,
  .men-photo-plan-card {
    grid-column: auto;
  }

  .men-photo-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-summary {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .hero-summary span {
    min-height: 0;
  }

  .site-header {
    height: 70px;
  }

  .header-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero {
    padding: 26px 0 48px;
  }

  .hero-main-grid {
    grid-template-columns: 1fr;
  }

  .mode-heading {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 14px 0 18px;
    text-align: left;
  }

  .mode-heading span {
    display: none;
  }

  .mode-grid {
    grid-template-columns: 1fr;
  }

  .mode-card {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(128px, 0.42fr) 1fr;
    min-height: 176px;
    padding: 18px;
  }

  .mode-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 188px;
    border-radius: var(--radius);
  }

  .mode-card-men .mode-photo {
    width: 100%;
  }

  .mode-photo img {
    object-position: center 22%;
  }

  .mode-photo::after {
    background: linear-gradient(180deg, transparent 46%, rgba(255, 255, 255, 0.74));
  }

  .mode-card .mode-content {
    width: auto;
  }

  .mode-photo-thumbs {
    grid-template-columns: repeat(3, 46px);
  }

  .mode-photo-thumbs img {
    width: 46px;
    height: 46px;
  }

  .mode-card p {
    min-height: auto;
  }

  .home-preview-card {
    display: grid;
  }

  .home-detail {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .face-guide-entry {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid article:not(:last-child)::after {
    display: none;
  }

  .privacy-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .privacy-strip a {
    grid-column: 2;
  }

  .portrait {
    height: 128px;
  }

  .diagnosis-view.is-active {
    display: block;
  }

  .men-diagnosis-app {
    display: block;
    padding-top: 20px;
  }

  .step-panel,
  .men-step-panel {
    display: none;
  }

  .question-panel,
  .men-question-panel {
    padding: 18px;
  }

  .quiz-intro {
    gap: 16px;
    margin-bottom: 22px;
  }

  .quiz-illustration {
    aspect-ratio: 16 / 9;
  }

  .quiz-copy {
    width: 100%;
  }

  .mobile-progress {
    display: block;
    margin-bottom: 22px;
  }

  .mobile-progress-top {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
  }

  .progress-track {
    height: 4px;
    margin: 10px 0 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #ebe7df;
  }

  .progress-track span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--coral);
    transition: width 0.2s ease;
  }

  .step-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .step-chips span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 0.78rem;
  }

  .step-chips span.is-current {
    border-color: var(--coral);
    color: var(--coral-dark);
    font-weight: 700;
  }

  .karte-panel {
    position: static;
    margin-top: 14px;
    padding: 18px;
  }

  .men-karte-panel {
    position: static;
    margin-top: 14px;
    padding: 18px;
  }

  .karte-rows {
    grid-template-columns: 1fr;
  }

  .options-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .men-options-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .option-button {
    min-height: 112px;
    padding: 12px 38px 12px 12px;
    text-align: left;
  }

  .option-button.has-visual,
  .option-button[data-visual^="decollete"].has-visual,
  .option-button[data-visual^="amount"].has-visual,
  .option-button[data-visual^="curl"].has-visual,
  .option-button[data-visual^="bangs"].has-visual,
  .option-button[data-visual^="eyes"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
  }

  .men-option.has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
    padding: 12px 38px 12px 12px;
    text-align: left;
  }

  .men-option-visual {
    min-height: 104px;
  }

  .men-option-visual img {
    width: min(100%, 92px);
    height: 102px;
  }

  .option-button[data-visual^="skin"].has-visual {
    min-height: 150px;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
  }

  .option-button[data-visual^="natural_hair"].has-visual {
    min-height: 132px;
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
  }

  .option-visual,
  .option-button[data-visual^="decollete"] .option-visual,
  .option-button[data-visual^="amount"] .option-visual,
  .option-button[data-visual^="curl"] .option-visual,
  .option-button[data-visual^="bangs"] .option-visual,
  .option-button[data-visual^="eyes"] .option-visual,
  .option-button[data-visual^="natural_hair"] .option-visual {
    min-height: 92px;
  }

  .option-visual img {
    width: min(100%, 92px);
    height: 92px;
  }

  .option-button[data-visual^="decollete"] .option-visual img {
    width: min(100%, 78px);
    height: 88px;
  }

  .option-button[data-visual^="amount"] .option-visual img,
  .option-button[data-visual^="curl"] .option-visual img,
  .option-button[data-visual^="bangs"] .option-visual img,
  .option-button[data-visual^="eyes"] .option-visual img {
    width: min(100%, 82px);
    height: 88px;
    object-fit: contain;
  }

  .option-button[data-visual^="skin"] .option-visual {
    min-height: 104px;
  }

  .option-button[data-visual^="skin"] .option-visual img {
    width: min(100%, 82px);
    height: 102px;
  }

  .option-button[data-visual^="natural_hair"] .option-visual img {
    width: min(100%, 96px);
    height: 76px;
  }

  .option-copy {
    gap: 4px;
  }

  .option-button strong {
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.38;
  }

  .option-copy > span {
    padding: 0;
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .mini-preview {
    display: none;
  }

  .quiz-actions {
    position: sticky;
    bottom: 0;
    margin: 22px -18px -18px;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
  }

  .text-button {
    margin-bottom: 74px;
  }

  .quiz-actions .button {
    flex: 1;
  }

  .result-hero {
    display: block;
    padding: 24px;
  }

  .result-tags {
    gap: 7px;
  }

  .result-tags span {
    flex: 1 1 190px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }

  .feature-result,
  .order-card,
  .visual-result,
  .color-result,
  .skeleton-result,
  .product-card {
    grid-column: auto;
  }

  .visual-result {
    grid-template-columns: 1fr;
  }

  .style-candidates {
    grid-template-columns: 1fr;
  }

  .men-placeholder-shots {
    grid-template-columns: 1fr;
  }

  .angle-main {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .angle-thumb {
    min-height: 82px;
  }
}

@media (max-width: 560px) {
  .site-shell {
    width: min(100% - 20px, 420px);
  }

  .catalog-hero {
    padding-top: 18px;
  }

  .catalog-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .catalog-hero-actions {
    display: grid;
  }

  .catalog-hero-actions .button {
    width: 100%;
  }

  .catalog-hero-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .catalog-hero-main {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .catalog-hero-board img:not(.catalog-hero-main) {
    aspect-ratio: 1 / 1;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    padding: 12px;
  }

  .catalog-filters button {
    flex: 1 1 auto;
  }

  .men-diagnosis-hero {
    padding-top: 18px;
  }

  .men-diagnosis-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .men-options-list,
  .men-step-panel ol {
    grid-template-columns: 1fr;
  }

  .men-option {
    min-height: 0;
  }

  .men-placeholder-shots {
    grid-template-columns: 1fr;
  }

  .men-angle-grid {
    grid-template-columns: minmax(0, 1fr) minmax(82px, 0.48fr);
    gap: 8px;
  }

  .men-photo-shot-front,
  .men-photo-shot-front img {
    min-height: 236px;
  }

  .men-photo-shot-side,
  .men-photo-shot-back,
  .men-photo-shot-side img,
  .men-photo-shot-back img {
    min-height: 114px;
  }

  .men-photo-slot,
  .men-photo-slot:first-child {
    min-height: 170px;
  }

  .men-photo-plan-grid {
    grid-template-columns: 1fr;
  }

  .men-needed-photos li,
  .men-photo-plan-item li {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.95rem;
  }

  .hero-lead {
    font-size: 1.22rem;
  }

  .mode-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .mode-card .mode-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .mode-photo-thumbs {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
  }

  .mode-card .button {
    margin-right: auto;
    margin-left: auto;
  }

  .mode-photo {
    height: 210px;
  }

  .mode-card-men .mode-photo {
    width: 100%;
  }

  .mode-card .portrait::after {
    height: 36px;
  }

  .mode-card .face-shape {
    top: 30px;
    width: 44px;
    height: 56px;
  }

  .mode-card .hair-shape {
    top: 13px;
    width: 76px;
    height: 82px;
  }

  .mode-card .hair-shape-men {
    top: 24px;
    height: 48px;
  }

  .mode-card p {
    min-height: auto;
  }

  .preview-strip span {
    font-size: 0.8rem;
  }

  .home-result-preview {
    padding: 18px;
  }

  .preview-result-card {
    padding: 14px;
  }

  .preview-result-tags,
  .preview-color-dots {
    grid-template-columns: 1fr;
  }

  .preview-style-row {
    grid-template-columns: 1fr 1fr;
  }

  .preview-style.is-main {
    grid-column: 1 / -1;
    min-height: 132px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .face-guide-entry-grid,
  .face-guide-entry-card {
    grid-template-columns: 1fr;
  }

  .face-guide-entry-card-wide {
    grid-column: auto;
  }

  .face-guide-entry-card img {
    grid-row: auto;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .privacy-strip a {
    grid-column: auto;
  }

  .question-panel,
  .karte-panel,
  .result-card,
  .result-hero {
    border-radius: 0;
  }

  .quiz-intro {
    gap: 14px;
    margin-bottom: 20px;
  }

  .quiz-illustration {
    aspect-ratio: 16 / 9.6;
  }

  .quiz-copy {
    width: 100%;
  }

  .options-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .option-button {
    min-height: 112px;
    padding: 12px 38px 12px 12px;
    text-align: left;
  }

  .option-button.has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: center;
    gap: 10px;
  }

  .option-visual {
    min-height: 94px;
  }

  .option-visual img {
    width: min(100%, 92px);
    height: 92px;
  }

  .option-button[data-visual^="decollete"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .option-button[data-visual^="amount"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .option-button[data-visual^="curl"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .option-button[data-visual^="bangs"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .option-button[data-visual^="skin"].has-visual {
    min-height: 150px;
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .option-button[data-visual^="eyes"].has-visual {
    min-height: 132px;
    grid-template-columns: 94px minmax(0, 1fr);
  }

  .option-button[data-visual^="natural_hair"].has-visual {
    min-height: 132px;
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .option-button[data-visual^="decollete"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="decollete"] .option-visual img {
    width: min(100%, 78px);
    height: 88px;
  }

  .option-button[data-visual^="amount"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="amount"] .option-visual img {
    width: min(100%, 82px);
    height: 90px;
  }

  .option-button[data-visual^="curl"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="curl"] .option-visual img {
    width: min(100%, 82px);
    height: 90px;
  }

  .option-button[data-visual^="bangs"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="bangs"] .option-visual img {
    width: min(100%, 82px);
    height: 90px;
  }

  .option-button[data-visual^="skin"] .option-visual {
    min-height: 104px;
  }

  .option-button[data-visual^="skin"] .option-visual img {
    width: min(100%, 82px);
    height: 102px;
  }

  .option-button[data-visual^="eyes"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="eyes"] .option-visual img {
    width: min(100%, 82px);
    height: 88px;
    object-fit: contain;
  }

  .option-button[data-visual^="natural_hair"] .option-visual {
    min-height: 92px;
  }

  .option-button[data-visual^="natural_hair"] .option-visual img {
    width: min(100%, 96px);
    height: 76px;
  }

  .option-copy {
    gap: 4px;
  }

  .option-button strong {
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.38;
  }

  .option-copy > span {
    padding: 0;
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .option-check {
    right: 10px;
    top: 10px;
  }

  .option-button.is-selected::after {
    top: 10px;
    left: 10px;
    font-size: 0.68rem;
  }

  .option-button:not(.has-visual).is-selected {
    padding-top: 36px;
  }

  .result-details {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .result-tags span {
    flex-basis: 100%;
    justify-content: space-between;
  }

  .style-candidate {
    padding: 12px;
  }

  .style-candidate {
    gap: 12px;
  }

  .style-candidate h4 {
    font-size: 1rem;
    line-height: 1.45;
  }

  .style-candidate p {
    min-height: 0;
  }

  .angle-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .angle-catalog {
    width: 100%;
    min-height: 0;
  }

  .angle-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 250px;
    aspect-ratio: 4 / 3;
  }

  .angle-thumb {
    min-width: 0;
    min-height: 78px;
  }

  .angle-label {
    right: 5px;
    bottom: 5px;
    font-size: 0.56rem;
  }

  .result-swatches span {
    min-width: 0;
    flex: 1 1 160px;
  }

  .note-list li {
    padding: 10px 11px 10px 30px;
    font-size: 0.86rem;
  }

  .note-list li::before {
    left: 12px;
  }

  .item-placeholders {
    grid-template-columns: 1fr;
  }

  .save-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .save-row .button {
    width: 100%;
  }

  .share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share-native {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .share-card {
    padding: 22px 18px;
  }

  .share-actions {
    grid-template-columns: 1fr;
  }

  .share-native {
    grid-column: auto;
  }

  .share-button {
    min-height: 68px;
    padding: 14px 16px;
  }

  .share-button-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
  }

  .site-header,
  .site-footer,
  .result-bottom-actions,
  .save-row,
  .share-card,
  .product-card {
    display: none !important;
  }

  .site-shell {
    width: 100%;
  }

  .section-view {
    display: none !important;
  }

  #result-view {
    display: block !important;
    padding: 0;
  }

  .result-hero,
  .result-card {
    box-shadow: none;
    break-inside: avoid;
  }

  .result-grid {
    display: block;
  }

  .result-card {
    margin-bottom: 14px;
    padding: 16px;
    border-color: #ddd;
  }

  .style-candidates {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .style-candidate {
    padding: 10px;
    break-inside: avoid;
  }

  .angle-grid {
    grid-template-columns: 1fr;
  }

  .angle-main {
    min-height: 110px;
    aspect-ratio: 4 / 3;
    grid-row: auto;
  }

  .angle-thumb {
    display: none;
  }

  .note-list li {
    padding: 8px 10px 8px 26px;
    background: #fff;
  }

  .note-list li::before {
    top: 15px;
  }
}
