:root {
  --pink: #ff6b8b;
  --pink-l: #ff9bb3;
  --pink-xl: #ffe6ec;
  --pink-bg: #fdf2f4;
  --ink: #3d3d52;
  --ink2: #6b6b85;
  --ink3: #9d9db5;
  --card: #ffffff;
  --line: #ffe0e7;
  --gold: #d4a55a;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--pink-bg);
  -webkit-font-smoothing: antialiased;
}

body { overflow: hidden; }

.page {
  position: fixed;
  inset: 0;
  display: none;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(170deg, #fff8f9 0%, #fdeef2 55%, #fce9ee 100%);
}
.page.active { display: block; }

/* ==================== 封面 ==================== */
#page-cover { display: none; }
#page-cover.active { display: flex; align-items: center; justify-content: center; }

.cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  padding: 0 30px;
  text-align: center;
}

.cover-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--pink);
  background: rgba(255, 107, 139, .1);
  border: 1px solid rgba(255, 107, 139, .25);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.cover-title {
  font-size: 40px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #ff5c80 0%, #ff8fab 60%, #d977a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.cover-sub {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink2);
  margin-bottom: 32px;
}

.cover-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 40px;
}

.cf {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink2);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 12px;
  text-align: left;
}
.cf span { font-size: 16px; }

.btn-main {
  display: block;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 17px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, #ff6b8b, #ff8fab);
  box-shadow: 0 10px 26px rgba(255, 107, 139, .32);
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
  font-family: inherit;
}
.btn-main:active { transform: scale(.97); box-shadow: 0 6px 16px rgba(255, 107, 139, .28); }
.btn-main:disabled { opacity: .45; box-shadow: none; }

.cover-privacy {
  margin-top: 20px;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--ink3);
  letter-spacing: .3px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
}
.cover-privacy strong { color: #4a9e68; font-size: 12px; }

.cover-deco {
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 155, 179, .3) 0%, rgba(255, 214, 228, 0) 70%);
  top: -140px; right: -160px;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.cover-deco::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 214, .35) 0%, rgba(255, 230, 236, 0) 70%);
  bottom: -200px; left: -220px;
}

/* ==================== 上传 ==================== */
#page-upload, #page-loading, #page-result { padding: calc(env(safe-area-inset-top) + 34px) 22px 40px; }
#page-upload { max-width: 480px; margin: 0 auto; }

.up-head { text-align: center; margin-bottom: 26px; }
.up-step { font-size: 11.5px; letter-spacing: 2px; color: var(--pink); margin-bottom: 10px; }
.up-title { font-size: 25px; font-weight: 800; letter-spacing: .5px; }
.up-sub { font-size: 13px; color: var(--ink3); margin-top: 9px; }

.drop-zone {
  border: 2px dashed rgba(255, 107, 139, .34);
  border-radius: 24px;
  background: rgba(255, 255, 255, .72);
  padding: 54px 20px;
  text-align: center;
  cursor: pointer;
  transition: all .22s;
}
.drop-zone.over {
  border-color: var(--pink);
  background: rgba(255, 107, 139, .07);
  transform: scale(1.012);
}
.dz-icon { font-size: 42px; margin-bottom: 16px; }
.dz-text { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.dz-hint { font-size: 12px; color: var(--ink3); margin-top: 9px; }

.preview-wrap { display: none; }
.preview-wrap.show { display: block; }

.preview-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #f3e7ea;
  box-shadow: 0 14px 38px rgba(180, 120, 140, .18);
  margin-bottom: 18px;
}
.preview-frame img { display: block; width: 100%; max-height: 56vh; object-fit: contain; }

.preview-actions { display: flex; gap: 11px; }
.preview-actions .btn-main { flex: 1.6; }
.btn-ghost {
  flex: 1;
  border: 1.5px solid rgba(255, 107, 139, .3);
  background: rgba(255, 255, 255, .8);
  color: var(--pink);
  border-radius: 999px;
  padding: 16px 0;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.btn-ghost:active { background: rgba(255, 107, 139, .08); }

.tips-box {
  margin-top: 26px;
  padding: 17px 19px;
  background: rgba(255, 255, 255, .6);
  border-radius: 17px;
  border: 1px solid var(--line);
}
.tips-title { font-size: 12.5px; font-weight: 700; color: var(--pink); margin-bottom: 9px; letter-spacing: .5px; }
.tips-item { font-size: 12.5px; line-height: 2.05; color: var(--ink2); }

/* ==================== 分析中 ==================== */
#page-loading.active { display: flex; align-items: center; justify-content: center; }
.loading-inner { width: 100%; max-width: 340px; text-align: center; }

.scan-box {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 34px;
  border-radius: 20px;
  overflow: hidden;
  background: #efe2e6;
  box-shadow: 0 12px 34px rgba(180, 120, 140, .22);
}
.scan-box img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff6b8b, transparent);
  box-shadow: 0 0 14px 3px rgba(255, 107, 139, .55);
  animation: scanMove 1.9s ease-in-out infinite;
}
@keyframes scanMove {
  0% { top: 4%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 96%; opacity: 0; }
}
.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: gridPulse 2.4s ease-in-out infinite;
}
@keyframes gridPulse { 0%, 100% { opacity: .3; } 50% { opacity: .75; } }

.load-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.load-bar {
  height: 5px;
  background: rgba(255, 107, 139, .14);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 15px;
}
.load-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ff9bb3, #ff6b8b);
  transition: width .4s ease;
}
.load-step { font-size: 12.5px; color: var(--ink3); letter-spacing: .5px; min-height: 18px; }

/* ==================== 结果 ==================== */
#page-result { padding: 0; }
.result-scroll {
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 18px calc(env(safe-area-inset-bottom) + 40px);
  max-width: 480px;
  margin: 0 auto;
}

.r-hero {
  position: relative;
  padding: 40px 24px 32px;
  margin: 0 -18px 22px;
  background: linear-gradient(160deg, #ff7d99 0%, #ff9bb3 50%, #f7a8c0 100%);
  color: #fff;
  text-align: center;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}
.r-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
  top: -160px; right: -110px;
}
.r-hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%);
  bottom: -120px; left: -80px;
}

.r-hero-label { font-size: 12px; letter-spacing: 3px; opacity: .9; margin-bottom: 14px; position: relative; }

.r-score {
  position: relative;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(180, 60, 90, .25);
  font-variant-numeric: tabular-nums;
}
.r-score small { font-size: 22px; font-weight: 600; opacity: .85; margin-left: 4px; letter-spacing: 0; }

.r-band {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 7px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #e2557c;
  box-shadow: 0 6px 18px rgba(180, 60, 90, .16);
}

.r-hero-desc {
  position: relative;
  font-size: 13.5px;
  line-height: 2;
  opacity: .96;
  margin-top: 18px;
  padding: 0 6px;
}

.r-photo {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 24px rgba(140, 60, 90, .22);
  margin: 0 auto 18px;
  display: block;
  position: relative;
}

/* 分数线 */
.scale-wrap { margin: 22px auto 0; max-width: 300px; position: relative; }
.scale-track {
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffd7e1, #ffb3c6, #ff8fab, #ff6b8b);
  position: relative;
}
.scale-dot {
  position: absolute;
  top: 50%;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e2557c;
  transform: translate(-50%, -50%);
  box-shadow: 0 3px 10px rgba(120, 40, 70, .3);
  transition: left 1s cubic-bezier(.2, .8, .3, 1);
}
.scale-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10.5px;
  opacity: .8;
  letter-spacing: .5px;
}

/* 通用板块 */
.sec { margin-bottom: 24px; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 14px;
  padding-left: 2px;
}
.sec-title { font-size: 17px; font-weight: 800; letter-spacing: .5px; }
.sec-sub { font-size: 11.5px; color: var(--ink3); }

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 6px 22px rgba(190, 140, 160, .09);
  border: 1px solid rgba(255, 224, 231, .8);
}

/* 五官逐项 */
.dim-item { margin-bottom: 20px; }
.dim-item:last-child { margin-bottom: 0; }
.dim-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.dim-name { display: flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; }
.dim-name i { font-style: normal; font-size: 16px; }
.dim-score {
  font-size: 15px;
  font-weight: 800;
  color: #e2557c;
  font-variant-numeric: tabular-nums;
}
.dim-bar {
  height: 6px;
  background: #fdeef2;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 11px;
}
.dim-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, #ffb3c6, #ff6b8b);
  transition: width .9s cubic-bezier(.2, .8, .3, 1);
}
.dim-text { font-size: 13px; line-height: 2; color: var(--ink2); }

/* 颜值类型 */
.type-card {
  background: linear-gradient(155deg, #fff5f7, #fff);
  border: 1px solid rgba(255, 179, 198, .5);
  text-align: center;
  padding: 28px 22px;
}
.type-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--pink);
  background: rgba(255, 107, 139, .09);
  padding: 5px 15px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.type-name {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ff5c80, #d977a3);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.type-desc { font-size: 13.5px; line-height: 2.05; color: var(--ink2); text-align: left; margin-bottom: 18px; }
.type-traits { display: flex; flex-direction: column; gap: 9px; text-align: left; }
.tt-item {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink);
  padding: 11px 14px;
  background: rgba(255, 255, 255, .8);
  border-left: 3px solid var(--pink-l);
  border-radius: 0 11px 11px 0;
}

/* 参考明星 */
.star-card {
  background: linear-gradient(150deg, #fffaf0, #fff);
  border: 1px solid rgba(212, 165, 90, .32);
  text-align: center;
  padding: 26px 22px;
}
.star-label { font-size: 11.5px; letter-spacing: 2px; color: var(--gold); margin-bottom: 12px; }
.star-name {
  font-family: 'Noto Serif SC', 'Songti SC', serif;
  font-size: 20px;
  font-weight: 700;
  color: #8a6a35;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.star-note { font-size: 12.5px; line-height: 1.95; color: #8a7a5f; }

/* 妆容建议 */
.makeup-group { margin-bottom: 18px; }
.makeup-group:last-child { margin-bottom: 0; }
.mg-title {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--pink);
  background: rgba(255, 107, 139, .09);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 11px;
}
.mg-item {
  font-size: 13px;
  line-height: 2;
  color: var(--ink2);
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.mg-item::before {
  content: '';
  position: absolute;
  left: 2px; top: 13px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--pink-l);
}

/* 优势与提升 */
.sx-block { margin-bottom: 22px; }
.sx-block:last-child { margin-bottom: 0; }
.sx-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.sx-dot { width: 7px; height: 7px; border-radius: 50%; }
.sx-dot.good { background: #5cb87a; }
.sx-dot.grow { background: #e0a15c; }
.sx-name { color: var(--ink); }
.sx-score { font-size: 12px; color: var(--ink3); font-weight: 500; }
.sx-text { font-size: 13px; line-height: 2; color: var(--ink2); padding-left: 15px; }
.sx-do {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.95;
  color: #8a6a35;
  background: rgba(255, 250, 240, .9);
  border-radius: 12px;
  padding: 11px 14px;
  margin-left: 15px;
}

/* 底部 */
.r-foot { text-align: center; padding: 16px 10px 10px; }
.foot-share { font-size: 12.5px; color: var(--ink2); line-height: 2; margin-bottom: 18px; }
.btn-again {
  display: block;
  width: 100%;
  border: 1.5px solid rgba(255, 107, 139, .35);
  background: rgba(255, 255, 255, .85);
  color: var(--pink);
  border-radius: 999px;
  padding: 15px 0;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 12px;
}
.disclaimer { font-size: 11px; line-height: 1.9; color: var(--ink3); padding: 0 8px; }

/* 入场动画 */
.fade { opacity: 0; transform: translateY(16px); animation: fadeUp .55s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ==================== v2 新板块 ==================== */
.r-quote {
  position: relative;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 16px;
  opacity: .96;
}

.sec-sub-inline {
  font-size: 12px;
  color: var(--ink3);
  margin: -8px 2px 12px;
}

/* chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row.center { justify-content: center; margin-bottom: 14px; }
.chip {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--line);
  color: var(--ink2);
  white-space: nowrap;
}
.chip.pink { background: rgba(255, 143, 171, .14); border-color: rgba(255, 143, 171, .4); color: #e2557c; }
.chip.primary { background: linear-gradient(135deg, #ff6b8b, #d977a3); border: none; color: #fff; font-weight: 700; padding: 7px 16px; }
.chip.soft { background: rgba(255, 179, 198, .22); border-color: rgba(255, 143, 171, .38); color: #c95878; }
.chip.fill { background: linear-gradient(135deg, #b58ae6, #9d6fe0); border: none; color: #fff; }

/* 键值行（label + 内容） */
.kv-line { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin-top: 14px; }
.kv-line.col { flex-direction: column; gap: 6px; }
.kv-line .kl {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  padding-top: 5px;
}
.kv-line .chip-row { flex: 1; }
.kv-line .mg-item { margin-bottom: 2px; }

/* 明星匹配卡 */
.star-card2 { margin-bottom: 14px; padding: 18px; }
.star-card2:last-child { margin-bottom: 0; }
.sc-top { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.sc-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe3ec, #ffc9d8);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #d977a3;
  flex-shrink: 0;
}
.sc-main { flex: 1; }
.sc-name { font-size: 16.5px; font-weight: 800; }
.sc-sim { font-size: 13px; color: var(--ink2); margin-top: 3px; }
.sc-sim strong { color: #b46ee0; font-size: 16px; font-weight: 800; margin-left: 2px; }
.sc-desc { font-size: 13px; line-height: 1.9; color: var(--ink2); margin-bottom: 4px; }

/* 国际审美卡 */
.region-card { margin-bottom: 14px; padding: 19px; }
.region-card:last-child { margin-bottom: 0; }
.rg-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.rg-name { font-size: 16px; font-weight: 800; }
.rg-score { font-size: 24px; font-weight: 800; color: #b46ee0; font-variant-numeric: tabular-nums; }
.rg-score small { font-size: 12px; color: var(--ink3); font-weight: 500; }
.rg-desc { font-size: 12.5px; line-height: 1.85; color: var(--ink2); margin-bottom: 2px; }

/* 五官部位详解 */
.part-block {
  padding: 17px 0 15px;
  border-bottom: 1px dashed var(--line);
}
.part-block:first-child { padding-top: 2px; }
.part-block:last-child { border-bottom: none; padding-bottom: 4px; }
.pb-head { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.pb-head i { font-style: normal; font-size: 19px; }
.pb-name { font-size: 15.5px; font-weight: 800; }
.pb-desc { font-size: 13px; line-height: 1.95; color: var(--ink2); margin: 11px 0 12px; }
.pb-sec { padding-left: 12px; border-left: 3px solid var(--pink-l); margin-bottom: 11px; }
.pb-sec:last-child { margin-bottom: 0; }
.pb-sec.beauty { border-left-color: #b58ae6; }
.pb-label { font-size: 12px; font-weight: 700; color: #e2557c; margin-bottom: 5px; }
.pb-sec.beauty .pb-label { color: #9d6fe0; }
.pb-li { font-size: 12.8px; line-height: 2; color: var(--ink2); }

/* 皮相 / 骨相 网格 */
.kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.kv { background: #faf4f6; border-radius: 13px; padding: 12px 14px; }
.kv-label { font-size: 11px; color: var(--ink3); margin-bottom: 5px; }
.kv-value { font-size: 14.5px; font-weight: 700; color: var(--ink); }

.sec3-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 16px 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--pink-l);
}
.sec3-label.good { color: #4a9e68; border-left-color: #5cb87a; }
.sec3-label.warn { color: #d07840; border-left-color: #e0a15c; }
.check-li { font-size: 13px; line-height: 2.1; color: #3f7a54; padding-left: 4px; }
.warn-li { font-size: 13px; line-height: 2.1; color: #a5643a; padding-left: 4px; }

.ratio-box {
  background: rgba(181, 138, 230, .09);
  border-radius: 13px;
  padding: 13px 15px;
  font-size: 12.8px;
  line-height: 2;
  color: var(--ink2);
}
.ratio-box strong { color: var(--ink); font-weight: 700; }

/* 化妆建议分段 */
.mk-sec { margin-bottom: 20px; }
.mk-sec:last-child { margin-bottom: 0; }
.mk-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mk-title::before { content: '●'; color: #b46ee0; font-size: 9px; }
.mk-sub { font-size: 11px; color: var(--ink3); margin-bottom: 12px; letter-spacing: 1px; }
.mk-group { margin-bottom: 12px; }
.mk-glabel { font-size: 12px; font-weight: 700; color: #b46ee0; margin-bottom: 4px; }

/* 发型建议 */
.hair-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
  background: #faf4f6;
  border-radius: 13px;
  padding: 13px 15px;
  margin-bottom: 9px;
}
.hair-item:last-child { margin-bottom: 0; }
.hair-idx {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b58ae6, #9d6fe0);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 360px) {
  .cover-title { font-size: 34px; }
  .r-score { font-size: 64px; }
  .cover-feats { gap: 8px; }
  .cf { font-size: 12px; padding: 11px 10px; }
}
