:root {
  --bg: #f2f3f7;
  --card: #ffffff;
  --text: #1a2233;
  --muted: #8a93a6;
  --line: #e7eaf0;
  --blue: #2f5af5;
  --blue-dark: #1e3fd0;
  --green: #16a34a;
  --red: #e11d48;
  --pink: #ec4899;
  --orange: #f97316;
  --purple: #7c3aed;
  --radius: 16px;
  --shadow: 0 1px 3px rgba(20, 30, 60, 0.06), 0 4px 16px rgba(20, 30, 60, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

.phone {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 40px rgba(20, 30, 60, 0.08);
}

/* ---------- header ---------- */
.app-header {
  background: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, #2f5af5, #7c3aed);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; font-family: Arial, sans-serif;
}
.logo-text { line-height: 1.1; }
.logo-text .l1 { font-weight: 800; font-size: 17px; letter-spacing: 2px; font-family: Arial, sans-serif; }
.logo-text .l1 span { color: var(--blue); }
.logo-text .l2 { font-size: 8.5px; letter-spacing: 2.5px; color: var(--muted); font-family: Arial, sans-serif; }
.avatar-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; overflow: hidden;
  background: #e7eaf0; color: #aab2c2;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.avatar-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- feed ---------- */
.feed { padding: 14px 12px 110px; display: flex; flex-direction: column; gap: 14px; }

.report-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.08s ease;
}
.report-card:active { transform: scale(0.99); }
.rc-main { display: flex; gap: 12px; padding: 12px; }
.rc-photo {
  position: relative; flex: 0 0 122px; height: 168px;
  border-radius: 12px; overflow: hidden;
}
.rc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-photo .ph-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 10px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
}
.ph-overlay .cast { font-size: 17px; font-weight: 700; }
.ph-overlay .shop { font-size: 11px; opacity: 0.95; }
.ph-overlay .area { font-size: 10px; opacity: 0.8; }
.rc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.rc-title { font-size: 16px; font-weight: 800; line-height: 1.35; }
.rc-excerpt { font-size: 12.5px; color: #5a6478; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.rc-metrics { display: flex; gap: 8px; }
.metric-box {
  flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
  background: #fff; min-width: 0;
}
.metric-box .m-label { font-size: 10.5px; font-weight: 700; margin-bottom: 2px; }
.m-label.high { color: var(--green); }
.m-label.mid { color: var(--blue); }
.m-label.low { color: var(--red); }
.m-label.gray { color: var(--muted); font-weight: 600; }
.metric-box .m-score { font-size: 21px; font-weight: 800; }
.m-score.high { color: var(--green); }
.m-score.mid { color: var(--blue); }
.m-score.low { color: var(--red); }
.m-score small { font-size: 11px; color: var(--muted); font-weight: 600; }
.score-bar { height: 5px; border-radius: 3px; background: #e7eaf0; margin-top: 6px; overflow: hidden; }
.score-bar i { display: block; height: 100%; border-radius: 3px; }
.score-bar.high i { background: var(--green); }
.score-bar.mid i { background: var(--blue); }
.score-bar.low i { background: var(--red); }
.m-price { font-size: 19px; font-weight: 800; display: flex; align-items: baseline; gap: 2px; }
.m-price::before { content: ""; display: inline-block; width: 3px; height: 18px; background: var(--blue); border-radius: 2px; margin-right: 5px; align-self: center; }
.m-price small { font-size: 11px; font-weight: 700; }
.m-note { font-size: 9.5px; color: var(--muted); margin-top: 3px; }

.rc-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-top: 1px solid var(--line);
}
.rc-footer .u-avatar { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #e7eaf0; display: flex; align-items: center; justify-content: center; color: #aab2c2; font-size: 16px; }
.rc-footer .u-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rc-footer .u-name { font-size: 13px; font-weight: 700; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--green);
  border: 1.5px solid var(--green); border-radius: 999px; padding: 2px 9px;
  background: #f0fdf4;
}
.badge-general {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600; color: var(--muted);
  border: 1.5px solid #d4d9e3; border-radius: 999px; padding: 2px 10px;
}
.rc-time { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.rc-actions { margin-left: auto; display: flex; gap: 14px; }
.icon-stat { display: flex; align-items: center; gap: 5px; font-size: 14px; color: #6b7488; font-weight: 600; background: none; border: none; cursor: pointer; }
.icon-stat svg { width: 20px; height: 20px; }
.icon-stat.liked { color: var(--pink); }

/* ---------- fab ---------- */
.fab {
  position: fixed; right: calc(50% - 240px + 20px); bottom: 26px;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #2f5af5, #4c6ef5);
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(47, 90, 245, 0.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 40;
}
.fab svg { width: 26px; height: 26px; }
@media (max-width: 480px) { .fab { right: 20px; } }

/* ---------- sub page (detail) ---------- */
.subnav {
  background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; padding: 12px 16px;
  position: sticky; top: 0; z-index: 30;
}
.subnav .back { color: var(--purple); font-size: 15px; font-weight: 700; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.subnav .sn-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 16px; font-weight: 800; }

.detail-wrap { padding: 14px 12px 90px; display: flex; flex-direction: column; gap: 14px; }

.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 16px; }
.panel-title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.panel-title .star { color: var(--purple); }
.panel-title .sub { font-size: 11.5px; color: var(--muted); font-weight: 600; }

/* donuts */
.donut-row { display: flex; justify-content: space-around; text-align: center; }
.donut-item .d-label { font-size: 12px; color: #4a5468; font-weight: 700; margin-bottom: 10px; }
.donut { position: relative; width: 92px; height: 92px; margin: 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut .d-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.donut .d-emoji { font-size: 17px; line-height: 1; }
.donut .d-val { font-size: 16px; font-weight: 800; }

/* traits */
.trait-row { display: flex; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); gap: 8px; }
.trait-row:last-child { border-bottom: none; }
.trait-name { flex: 0 0 74px; font-size: 13px; font-weight: 700; color: #3c465c; }
.trait-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12px; padding: 7px 14px; border-radius: 999px;
  background: #f1f3f7; color: #8a93a6; font-weight: 600;
}
.chip.on { background: #fce7f3; color: var(--pink); font-weight: 800; }

/* Q&A */
.qa-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa-item:last-child { border-bottom: none; }
.qa-line { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.qa-line:last-child { margin-bottom: 0; }
.qa-ico {
  flex: 0 0 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.qa-ico.q { background: #fce7f3; color: var(--pink); }
.qa-ico.a { background: #eef0f4; color: #8a93a6; }
.qa-q { font-size: 14px; font-weight: 800; padding-top: 3px; }
.qa-a { font-size: 13.5px; color: #6b7488; padding-top: 4px; line-height: 1.6; }

.report-body-text { font-size: 14px; line-height: 1.9; color: #2a3245; white-space: pre-line; }
.body-title { display: flex; gap: 8px; align-items: center; font-size: 15.5px; font-weight: 800; margin-bottom: 12px; }

/* usage data */
.usage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.usage-cell { background: #f4f5f9; border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.usage-ico { font-size: 20px; }
.usage-cell .u-label { font-size: 11px; color: var(--muted); font-weight: 600; }
.usage-cell .u-val { font-size: 14.5px; font-weight: 800; }

/* comments */
.comment-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment-item:last-child { border-bottom: none; }
.comment-head { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.comment-head .cu { font-size: 13px; font-weight: 700; }
.comment-head .ct { font-size: 11px; color: var(--muted); }
.comment-text { font-size: 13.5px; color: #3c465c; line-height: 1.6; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.comment-form input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: 13.5px; outline: none; font-family: inherit;
}
.comment-form input:focus { border-color: var(--blue); }
.comment-form button {
  background: var(--blue); color: #fff; border: none; border-radius: 999px;
  padding: 0 18px; font-size: 13.5px; font-weight: 700; cursor: pointer; font-family: inherit;
}

/* bottom bar */
.detail-bottombar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px;
  background: #fff; border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; padding: 10px 0 16px;
  z-index: 40;
}
.detail-bottombar button {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 12.5px; color: #4a5468; font-weight: 600; font-family: inherit;
}
.detail-bottombar button svg { width: 24px; height: 24px; }
.detail-bottombar .liked { color: var(--pink); }

/* ---------- mypage sheet ---------- */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(15, 22, 40, 0.5);
  z-index: 50; display: flex; align-items: flex-end; justify-content: center;
}
.sheet {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 22px 22px 0 0; padding: 10px 18px 30px;
  animation: slideUp 0.22s ease;
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0.5; } to { transform: none; opacity: 1; } }
.sheet-handle { width: 70px; height: 5px; border-radius: 3px; background: #d9dee8; margin: 4px auto 12px; }
.sheet-close { position: sticky; top: 0; float: right; background: none; border: none; font-size: 22px; color: #4a5468; cursor: pointer; }

.mp-head { display: flex; gap: 16px; align-items: flex-start; margin: 8px 0 18px; }
.mp-avatar { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: #e7eaf0; display: flex; align-items: center; justify-content: center; font-size: 44px; color: #aab2c2; }
.mp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mp-name-row { display: flex; align-items: center; gap: 10px; }
.mp-name { font-size: 21px; font-weight: 800; }
.mp-rank { font-size: 11.5px; background: #eef0f4; color: #6b7488; border-radius: 999px; padding: 3px 10px; font-weight: 700; }
.mp-id { font-size: 13px; color: var(--muted); margin: 6px 0 8px; }
.mp-bio { font-size: 13.5px; line-height: 1.7; white-space: pre-line; }

.mp-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: #f4f5f9; border-radius: 14px; padding: 16px 0; margin-bottom: 20px;
}
.mp-stat { text-align: center; border-right: 1px solid #e2e6ee; }
.mp-stat:last-child { border-right: none; }
.mp-stat .s-label { font-size: 12px; color: #4a5468; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 5px; margin-bottom: 6px; }
.mp-stat .s-val { font-size: 26px; font-weight: 800; }

.mp-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mp-section-head h3 { font-size: 17px; font-weight: 800; }
.mp-section-head .more { font-size: 13px; color: #6b7488; background: none; border: none; cursor: pointer; }

/* ---------- forms (login / post) ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; }
.form-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.form-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.f-group { margin-bottom: 14px; }
.f-label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; color: #3c465c; }
.f-label .req { color: var(--red); font-size: 11px; margin-left: 4px; }
.f-input, .f-select, .f-textarea {
  width: 100%; border: 1px solid #d4d9e3; border-radius: 10px;
  padding: 11px 12px; font-size: 14px; outline: none; font-family: inherit; background: #fff;
}
.f-input:focus, .f-select:focus, .f-textarea:focus { border-color: var(--blue); }
.f-textarea { min-height: 110px; resize: vertical; }
.f-row { display: flex; gap: 10px; }
.f-row > * { flex: 1; }
.btn-primary {
  width: 100%; background: var(--blue); color: #fff; border: none;
  border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 800;
  cursor: pointer; font-family: inherit; margin-top: 6px;
}
.btn-primary:active { background: var(--blue-dark); }
.btn-ghost {
  width: 100%; background: none; border: none; color: var(--blue);
  font-size: 13.5px; font-weight: 700; cursor: pointer; padding: 12px; font-family: inherit;
}
.seg { display: flex; background: #f1f3f7; border-radius: 10px; padding: 4px; margin-bottom: 18px; }
.seg button {
  flex: 1; border: none; background: none; padding: 9px; font-size: 13.5px;
  font-weight: 700; color: #6b7488; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.seg button.on { background: #fff; color: var(--text); box-shadow: 0 1px 4px rgba(20,30,60,.12); }

.trait-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.trait-pick .chip { cursor: pointer; border: none; font-family: inherit; }

.notice {
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8;
  font-size: 12.5px; border-radius: 10px; padding: 10px 12px; line-height: 1.6; margin-bottom: 14px;
}
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 30px;
  background: #1a2233; color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

.empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 40px 0; }

.status-pill { font-size: 11px; font-weight: 700; border-radius: 6px; padding: 3px 8px; }
.status-pill.pub { color: #0d9488; border: 1px solid #5eead4; background: #f0fdfa; }
.status-pill.rev { color: #d97706; border: 1px solid #fcd34d; background: #fffbeb; }
.status-pill.rej { color: #dc2626; border: 1px solid #fca5a5; background: #fef2f2; }

.demo-banner {
  background: linear-gradient(90deg, #1e293b, #334155);
  color: #cbd5e1; font-size: 11px; text-align: center; padding: 6px 10px;
}
.demo-banner a { color: #93c5fd; }

/* ========== v2: Figma 忠実再現 追加スタイル ========== */

/* 認証レポ: カード右側面の青ライン */
.report-card.certified { border-right: 4px solid var(--blue); }

/* ---- 投稿ウィザード ---- */
.wizard-steps {
  display: flex; justify-content: center; gap: 0; padding: 16px 0 10px;
  background: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line);
}
.wstep { display: flex; flex-direction: column; align-items: center; width: 66px; position: relative; }
.wstep .dot {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #e7eaf0; color: #9aa3b5; font-weight: 800; font-size: 14px; z-index: 1;
}
.wstep.on .dot, .wstep.done .dot { background: var(--blue); color: #fff; }
.wstep .wlabel { font-size: 10.5px; color: #9aa3b5; margin-top: 5px; font-weight: 700; }
.wstep.on .wlabel, .wstep.done .wlabel { color: var(--blue); }
.wstep::before {
  content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: #e7eaf0;
}
.wstep:first-child::before { display: none; }
.wstep.on::before, .wstep.done::before { background: var(--blue); }

.wizard-body { padding: 14px 14px 120px; }
.wizard-footer {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 480px; background: #fff; border-top: 1px solid var(--line);
  display: flex; gap: 10px; padding: 12px 14px 18px; z-index: 40;
}
.wizard-footer .btn-back {
  flex: 0 0 96px; border: 1px solid #d4d9e3; background: #fff; border-radius: 10px;
  font-size: 14px; font-weight: 700; color: #3c465c; cursor: pointer; font-family: inherit;
}
.wizard-footer .btn-next {
  flex: 1; background: var(--blue); color: #fff; border: none; border-radius: 10px;
  padding: 13px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.wizard-footer .btn-next:disabled { opacity: .45; }

.wz-section-title { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.wz-section-sub { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.wz-req-note { font-size: 11.5px; color: var(--blue); margin-bottom: 16px; }
.wz-label { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 800; margin: 16px 0 7px; }
.wz-label .req { color: var(--blue); font-size: 12px; }
.wz-input-wrap { position: relative; }
.wz-input-wrap .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #aab2c2; font-size: 14px; }
.wz-input {
  width: 100%; border: 1px solid #d4d9e3; border-radius: 10px; padding: 12px 12px 12px 36px;
  font-size: 14px; outline: none; font-family: inherit; background: #fff;
}
.wz-input.noicon { padding-left: 12px; }
.wz-input:focus { border-color: var(--blue); }
.visit-seg { display: flex; gap: 10px; }
.visit-seg button {
  flex: 1; border: 1.5px solid #d4d9e3; background: #fff; border-radius: 10px; padding: 12px;
  font-size: 13.5px; font-weight: 700; color: #6b7488; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.visit-seg button.on { border-color: var(--blue); color: var(--blue); background: #f4f7ff; }
.visit-seg button .radio { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #c4cad8; }
.visit-seg button.on .radio { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 2.5px #f4f7ff; }
.yen-wrap { display: flex; align-items: center; gap: 8px; }
.yen-wrap .cur { font-size: 15px; color: #6b7488; font-weight: 700; }

.cat-group { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 15px 16px; margin-bottom: 12px; }
.cat-head { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 800; margin-bottom: 12px; }
.cat-head .sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-chips .chip { cursor: pointer; border: 1.5px solid transparent; font-family: inherit; background: #f1f3f7; }
.cat-chips .chip.on { background: #f4f7ff; border-color: var(--blue); color: var(--blue); font-weight: 800; }

.q-block { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 12px; }
.q-group-head {
  display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800;
  border-radius: 12px; padding: 12px 14px; margin: 18px 0 12px;
}
.q-group-head .cnt { font-size: 11px; font-weight: 700; background: #fff; border-radius: 999px; padding: 2px 9px; }
.q-group-head.looks { background: #fdf2f8; color: #be185d; }
.q-group-head.service { background: #fffbeb; color: #b45309; }
.q-group-head.recommend { background: #eff6ff; color: #1d4ed8; }
.q-title { display: flex; gap: 9px; align-items: center; font-size: 13.5px; font-weight: 800; margin-bottom: 12px; }
.q-num {
  flex: 0 0 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; background: #fce7f3; color: var(--pink);
}
.emoji-scale { display: flex; gap: 10px; }
.emoji-scale button {
  flex: 1; max-width: 52px; aspect-ratio: 1; border: 1.5px solid #f0e9d8; background: #fffdf5;
  border-radius: 12px; font-size: 21px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  filter: grayscale(.35); transition: all .12s;
}
.emoji-scale button.on { border-color: var(--orange); background: #fff7ed; filter: none; transform: scale(1.08); }

.free-label { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin: 18px 0 4px; }
.free-q { font-size: 13.5px; font-weight: 800; color: var(--blue); margin: 16px 0 4px; }
.free-hint { font-size: 11.5px; color: var(--muted); margin-bottom: 7px; }
.free-textarea {
  width: 100%; border: 1px solid #d4d9e3; border-radius: 12px; padding: 12px; min-height: 92px;
  font-size: 14px; font-family: inherit; outline: none; resize: vertical; background: #fff;
}
.free-textarea:focus { border-color: var(--blue); }
.char-count { text-align: right; font-size: 11px; color: #aab2c2; margin-top: 3px; }

/* ---- 審査中モーダル ---- */
.center-modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,22,40,.55); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.review-modal {
  background: #fff; border-radius: 20px; padding: 34px 26px 26px; width: 100%; max-width: 320px;
  text-align: center; position: relative; animation: fadeIn .2s ease;
}
.review-modal .close-x { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 20px; color: #6b7488; cursor: pointer; }
.spinner {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  border: 5px solid #e7eaf0; border-top-color: var(--blue); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.review-modal h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.review-modal p { font-size: 13px; color: #6b7488; line-height: 1.7; margin-bottom: 18px; }
.review-modal .mail-note {
  display: flex; gap: 8px; align-items: center; text-align: left; background: #f4f5f9;
  border-radius: 10px; padding: 12px 14px; font-size: 12px; color: #4a5468; font-weight: 600;
}

/* ---- コメントモーダル ---- */
.cmt-modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 420px; max-height: 82vh;
  display: flex; flex-direction: column; animation: fadeIn .2s ease;
}
.cmt-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.cmt-head h2 { font-size: 16px; font-weight: 800; }
.cmt-head button { background: none; border: none; font-size: 19px; color: #6b7488; cursor: pointer; }
.cmt-list { flex: 1; overflow-y: auto; padding: 6px 18px; }
.cmt-item { padding: 13px 0; }
.cmt-row { display: flex; gap: 10px; }
.cmt-avatar {
  flex: 0 0 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.cmt-main { flex: 1; min-width: 0; }
.cmt-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 3px; }
.cmt-meta .nm { font-size: 13px; font-weight: 800; }
.cmt-meta .tm { font-size: 11px; color: var(--muted); }
.badge-mini-v {
  font-size: 9.5px; font-weight: 800; color: #fff; background: var(--green);
  border-radius: 999px; padding: 2px 8px;
}
.badge-mini-g { font-size: 9.5px; font-weight: 700; color: #6b7488; background: #eef0f4; border-radius: 999px; padding: 2px 8px; }
.cmt-text { font-size: 13px; line-height: 1.65; color: #2a3245; }
.cmt-actions { display: flex; gap: 16px; margin-top: 5px; align-items: center; }
.cmt-actions button { background: none; border: none; font-size: 11.5px; color: #6b7488; font-weight: 700; cursor: pointer; font-family: inherit; }
.cmt-like { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #6b7488; }
.cmt-like button { background: none; border: none; cursor: pointer; color: inherit; }
.cmt-like .n { font-size: 11px; font-weight: 700; }
.cmt-like.liked { color: var(--pink); }
.cmt-replies { margin-left: 44px; border-left: 2px solid #eef0f4; padding-left: 12px; }
.cmt-input-row {
  display: flex; gap: 9px; align-items: center; padding: 12px 16px 16px; border-top: 1px solid var(--line);
}
.cmt-input-row .cmt-avatar { flex: 0 0 32px; height: 32px; background: #e7eaf0; color: #aab2c2; }
.cmt-input-row input {
  flex: 1; border: 1px solid var(--line); background: #f7f8fa; border-radius: 999px;
  padding: 10px 16px; font-size: 13px; outline: none; font-family: inherit;
}
.cmt-input-row input:focus { border-color: var(--purple); background: #fff; }
.cmt-input-row .send {
  background: var(--purple); color: #fff; border: none; border-radius: 999px;
  padding: 10px 18px; font-size: 13px; font-weight: 800; cursor: pointer; font-family: inherit;
}
.reply-tag { font-size: 11px; color: var(--purple); font-weight: 700; padding: 0 16px; }

/* ---- 未登録ロック ---- */
.mosaic { position: relative; overflow: hidden; }
.mosaic .mosaic-text { filter: blur(7px); user-select: none; pointer-events: none; }
.lock-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; background: linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.75));
}
.lock-overlay .lock-ico {
  width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 6px 18px rgba(47,90,245,.35);
}
.lock-overlay .lock-msg { font-size: 12.5px; font-weight: 800; color: #1a2233; background: #fff; border-radius: 999px; padding: 6px 14px; box-shadow: var(--shadow); }
.qa-locked { display: flex; align-items: center; gap: 8px; color: #aab2c2; font-size: 12.5px; }
.qa-locked .mini-lock {
  width: 22px; height: 22px; border-radius: 50%; background: #eef0f4; color: #8a93a6;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
}
