/* Bloom — 白ベース × ローズピンク / Zen Maru Gothic + Noto Sans JP */
:root {
  --rose: #E8537A;
  --rose-deep: #C93A62;
  --rose-soft: #FBE7EC;
  --rose-mist: #FDF3F5;
  --ink: #3B2A31;
  --ink-soft: #8A7880;
  --line: #F1E3E7;
  --card: #FFFFFF;
  --bg: #FFFAF9;
  --gold: #D9A05B;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(201, 58, 98, .07), 0 1px 3px rgba(59, 42, 49, .05);
  --font-body: "Noto Sans JP", sans-serif;
  --font-disp: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 15% -10%, #FDEDF1 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 110%, #FBEFE4 0%, transparent 50%),
    #FAF3F1;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 15px;
}
img { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, textarea, button { font-size: inherit; }

/* ---- phone frame ---- */
.phone {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  box-shadow: 0 0 0 1px rgba(201, 58, 98, .06), 0 24px 80px rgba(59, 42, 49, .10);
  display: flex;
  flex-direction: column;
  padding-bottom: 72px; /* tabbar */
}
.login-body .phone { padding-bottom: 0; }

/* ---- brand / typography ---- */
.brand {
  font-family: var(--font-disp);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--rose);
}
.brand-sm { font-size: 22px; }
.section-title {
  font-family: var(--font-disp);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .08em;
}

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 12px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { font-family: var(--font-disp); font-weight: 700; font-size: 17px; }
.topbar-link { margin-left: auto; font-size: 12px; color: var(--ink-soft); }
.topbar-spacer { margin-left: auto; width: 24px; }
.back-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  background: var(--rose-mist); transition: background .2s;
}
.back-btn:active { background: var(--rose-soft); }
.back-btn svg { width: 18px; height: 18px; }

/* ---- avatars ---- */
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--rose-soft);
}
.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 88px; height: 88px; box-shadow: 0 0 0 3px var(--rose-soft); }

/* ---- login ---- */
.login-hero {
  position: relative;
  text-align: center;
  padding: 64px 24px 40px;
  background:
    radial-gradient(420px 260px at 50% -40%, #F9D2DD 0%, transparent 70%),
    linear-gradient(175deg, #FDEFF3 0%, var(--bg) 90%);
  overflow: hidden;
}
.login-logo {
  width: 84px; height: 84px; margin: 0 auto 10px;
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(232, 83, 122, .25);
  animation: pop .7s cubic-bezier(.2, 1.4, .4, 1) both;
}
.login-hero .brand { font-size: 40px; line-height: 1.2; }
.login-copy { color: var(--ink-soft); font-size: 13px; margin-top: 8px; }
.login-petals i {
  position: absolute; display: block;
  width: 14px; height: 14px;
  background: var(--rose);
  opacity: .18;
  border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
  animation: float 7s ease-in-out infinite;
}
.login-petals i:nth-child(1) { left: 8%;  top: 18%; }
.login-petals i:nth-child(2) { left: 85%; top: 12%; width: 10px; height: 10px; animation-delay: -2s; }
.login-petals i:nth-child(3) { left: 70%; top: 55%; animation-delay: -4s; }
.login-petals i:nth-child(4) { left: 18%; top: 65%; width: 9px; height: 9px; animation-delay: -1s; }
.login-petals i:nth-child(5) { left: 45%; top: 8%;  width: 8px; height: 8px; animation-delay: -5s; }
.login-petals i:nth-child(6) { left: 92%; top: 70%; animation-delay: -3s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(40deg); }
}
@keyframes pop {
  from { transform: scale(.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.login-sheet { padding: 26px 20px 34px; flex: 1; }
.login-sub {
  font-family: var(--font-disp);
  font-size: 14px; font-weight: 700; color: var(--ink-soft);
  text-align: center; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.login-sub::before, .login-sub::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.user-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.user-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 12px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .15s, box-shadow .15s;
  animation: rise .5s ease both;
  animation-delay: var(--d, 0ms);
}
.user-card:hover, .user-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--rose);
  box-shadow: 0 12px 30px rgba(232, 83, 122, .18);
}
.user-name { font-family: var(--font-disp); font-weight: 700; font-size: 15px; }
.user-bio { font-size: 11px; color: var(--ink-soft); line-height: 1.5; }
.login-note { text-align: center; font-size: 11px; color: var(--ink-soft); margin-top: 20px; }
@keyframes rise {
  from { transform: translateY(14px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---- category tabs ---- */
.cat-tabs {
  display: flex; gap: 8px;
  padding: 12px 18px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  transition: all .2s;
}
.cat.active {
  color: #fff;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(232, 83, 122, .35);
  font-weight: 700;
}

/* ---- feed / cards ---- */
.feed { padding: 12px 14px 24px; display: flex; flex-direction: column; gap: 14px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #FBF1F3;
}
.post-card {
  padding: 14px 14px 10px;
  animation: rise .45s ease both;
  animation-delay: var(--d, 0ms);
}
.post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post-head-txt { display: flex; flex-direction: column; line-height: 1.4; }
.post-name { font-family: var(--font-disp); font-weight: 700; font-size: 14px; }
.post-meta { font-size: 11px; color: var(--ink-soft); }
.cat-chip {
  margin-left: auto;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  letter-spacing: .05em;
}
.cat-skincare { background: #FDECF1; color: var(--rose-deep); }
.cat-makeup   { background: #FDF0E4; color: #B06A22; }
.cat-hair     { background: #EDF3EC; color: #4E7A52; }
.cat-nail     { background: #EFEDF8; color: #6A5AA8; }
.post-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}
.post-body { font-size: 14px; }
.post-body .tag { color: var(--rose); font-weight: 500; }
.post-actions {
  display: flex; align-items: center; gap: 18px;
  padding: 8px 2px 4px;
}
.like-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: none;
  color: var(--ink-soft); font-size: 13px; font-weight: 500;
}
.like-btn .heart {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  transition: transform .2s;
}
.like-btn.liked { color: var(--rose); }
.like-btn.liked .heart { fill: var(--rose); stroke: var(--rose); }
.like-btn.pop .heart { animation: heart-pop .35s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes heart-pop {
  0% { transform: scale(.6); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.comment-link {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-soft); font-size: 13px;
}
.comment-link svg { width: 20px; height: 20px; }
.empty { text-align: center; color: var(--ink-soft); font-size: 13px; padding: 40px 20px; }

/* ---- detail / comments ---- */
.detail { padding: 12px 14px 24px; display: flex; flex-direction: column; gap: 14px; }
.comments { padding: 16px 14px; }
.comment-list { list-style: none; margin: 12px 0 4px; display: flex; flex-direction: column; gap: 14px; }
.comment { display: flex; gap: 10px; }
.comment-main { flex: 1; }
.comment-head { font-size: 12px; font-weight: 700; font-family: var(--font-disp); }
.comment-head time { font-weight: 400; color: var(--ink-soft); margin-left: 6px; font-size: 11px; }
.comment-main p {
  font-size: 13px;
  background: var(--rose-mist);
  border-radius: 4px 14px 14px 14px;
  padding: 8px 12px;
  margin-top: 4px;
}
.comment-form {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
}
.comment-form input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}
.comment-form input:focus { border-color: var(--rose); }
.send-btn {
  width: 38px; height: 38px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(232, 83, 122, .35);
  transition: transform .15s;
}
.send-btn:active { transform: scale(.92); }
.send-btn svg { width: 18px; height: 18px; }

/* ---- new post ---- */
.new-post { padding: 14px; }
.new-form { padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.new-user { display: flex; align-items: center; gap: 10px; }
.new-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  resize: vertical;
  font-family: inherit;
  background: var(--bg);
  outline: none;
  line-height: 1.7;
}
.new-form textarea:focus { border-color: var(--rose); }
.field-label {
  font-family: var(--font-disp);
  font-size: 12px; font-weight: 700; color: var(--ink-soft);
  letter-spacing: .06em;
  margin-bottom: -6px;
}
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg-item input { display: none; }
.seg-item span {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  background: var(--card);
  transition: all .15s;
}
.seg-item input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(232, 83, 122, .3);
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.preset { position: relative; }
.preset input { display: none; }
.preset img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px;
  border: 2.5px solid transparent;
  opacity: .75;
  transition: all .15s;
}
.preset input:checked + img {
  border-color: var(--rose);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(232, 83, 122, .3);
}
.upload-row { font-size: 12px; color: var(--ink-soft); }
.upload-row input { font-size: 12px; }
.upload-row span { display: block; margin-bottom: 4px; }
.form-error { color: var(--rose-deep); font-size: 12px; }
.primary-btn {
  border: none;
  border-radius: 999px;
  padding: 13px;
  font-size: 15px; font-weight: 700;
  font-family: var(--font-disp);
  color: #fff;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  box-shadow: 0 8px 20px rgba(232, 83, 122, .35);
  transition: transform .15s, box-shadow .15s;
}
.primary-btn:active { transform: scale(.98); }

/* ---- chat list ---- */
.chat-list { padding: 8px 14px 24px; display: flex; flex-direction: column; gap: 10px; }
.chat-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--card);
  border: 1px solid #FBF1F3;
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  animation: rise .4s ease both;
  animation-delay: var(--d, 0ms);
  transition: transform .15s;
}
.chat-row:active { transform: scale(.985); }
.chat-row-ai {
  background: linear-gradient(135deg, #FFF6F8 0%, #FDEBF0 100%);
  border: 1.5px solid #F6CFDA;
}
.avatar-wrap { position: relative; flex-shrink: 0; }
.ai-dot {
  position: absolute; right: -2px; bottom: -2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #F79BB4, var(--rose));
  border: 2.5px solid #fff;
}
.chat-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat-row-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ai-label {
  font-size: 10px; font-weight: 700;
  color: var(--rose-deep);
  background: #fff;
  border: 1px solid #F6CFDA;
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}
.chat-time { font-size: 11px; color: var(--ink-soft); flex-shrink: 0; }
.chat-row-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.chat-preview {
  font-size: 12px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.badge {
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10px; font-weight: 700; font-style: normal;
  display: inline-grid; place-items: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(232, 83, 122, .4);
}

/* ---- chat screen ---- */
.chat-topbar { gap: 8px; }
.chat-topbar-txt { display: flex; flex-direction: column; line-height: 1.3; }
.chat-topbar-txt .ai-label { margin: 2px 0 0; align-self: flex-start; }
.chat-screen {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 8px;
  background:
    radial-gradient(500px 300px at 80% 0%, #FDEFF3 0%, transparent 60%),
    var(--bg);
}
.phone:has(.chat-screen) { padding-bottom: 0; height: 100dvh; }
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 78%; display: flex; flex-direction: column; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg.theirs { align-self: flex-start; align-items: flex-start; }
.bubble {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.65;
  border-radius: 18px;
  animation: bubble-in .25s ease both;
  overflow-wrap: anywhere;
}
.msg.mine .bubble {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 14px rgba(232, 83, 122, .25);
}
.msg.theirs .bubble {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 8px rgba(59, 42, 49, .05);
}
@keyframes bubble-in {
  from { transform: translateY(8px) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.msg-time { font-size: 10px; color: var(--ink-soft); margin-top: 3px; padding: 0 4px; }
.bubble.typing { display: flex; gap: 5px; padding: 14px 16px; }
.bubble.typing i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rose);
  opacity: .4;
  animation: blink 1.2s infinite;
}
.bubble.typing i:nth-child(2) { animation-delay: .2s; }
.bubble.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.chat-input {
  position: sticky; bottom: 0;
  display: flex; gap: 8px; align-items: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  background: var(--card);
  outline: none;
}
.chat-input input:focus { border-color: var(--rose); }

/* ---- me page ---- */
.me-page { padding: 0 14px 24px; }
.me-hero {
  text-align: center;
  padding: 26px 16px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.me-name { font-family: var(--font-disp); font-size: 20px; font-weight: 900; }
.me-bio { font-size: 12px; color: var(--ink-soft); max-width: 300px; }
.me-stats { display: flex; gap: 28px; margin-top: 10px; }
.stat { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.stat b { font-family: var(--font-disp); font-size: 18px; color: var(--rose-deep); }
.stat span { font-size: 11px; color: var(--ink-soft); }
.me-section { margin: 6px 4px 10px; }
.me-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.me-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--rose-mist);
}
.me-cell img { width: 100%; height: 100%; object-fit: cover; }
.me-cell-text {
  display: block; padding: 10px; font-size: 10px; color: var(--ink-soft);
}
.me-cell-likes {
  position: absolute; right: 6px; bottom: 6px;
  font-size: 10px; font-weight: 700; color: #fff;
  background: rgba(59, 42, 49, .55);
  border-radius: 999px;
  padding: 2px 8px;
  backdrop-filter: blur(4px);
}

/* ---- tab bar ---- */
.tabbar {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; max-width: 480px;
  display: flex;
  background: color-mix(in srgb, #fff 94%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  z-index: 30;
}
.tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 6px 0 4px;
  font-size: 10px; font-weight: 500;
  color: #B4A2AA;
  border-radius: 12px;
  transition: color .2s;
}
.tab svg { width: 24px; height: 24px; }
.tab.active { color: var(--rose); font-weight: 700; }
.tab-icon-wrap { position: relative; display: inline-flex; }
.tab-icon-wrap .badge {
  position: absolute; top: -4px; right: -10px;
  min-width: 16px; height: 16px; font-size: 9px;
}

/* ================================================================
   v2 — 認証フォーム / サロン / フォロー / 検索 / 通知 / ガイド */

/* ---- login form ---- */
.login-form {
  padding: 18px 16px;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 22px;
}
.login-form .field-label { margin-bottom: 0; }
.login-form input, .text-input {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}
.login-form input:focus, .text-input:focus { border-color: var(--rose); }
.login-form .primary-btn { margin-top: 8px; }
.login-flash {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--rose-deep);
  background: var(--rose-soft);
  border-radius: 999px;
  padding: 8px 14px;
  margin-bottom: 14px;
}
.user-card.selected {
  border-color: var(--rose);
  box-shadow: 0 12px 30px rgba(232, 83, 122, .18);
}

/* ---- salon accent（落ち着いたゴールド/ベージュ） ---- */
.salon-chip {
  display: inline-block;
  font-size: 9px; font-weight: 700;
  letter-spacing: .08em;
  color: #8A6A32;
  background: linear-gradient(135deg, #F7EBD7 0%, #F1DDBC 100%);
  border: 1px solid #E4CBA0;
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
  vertical-align: 2px;
}
.salon-cover {
  width: calc(100% + 28px);
  margin: 0 -14px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
.salon-hero { padding-top: 14px; }
.salon-hero .avatar-xl { margin-top: -58px; box-shadow: 0 0 0 3px #F1DDBC, 0 6px 18px rgba(59, 42, 49, .12); }
.salon-info { padding: 16px 16px 14px; margin-bottom: 14px; }
.salon-tagline {
  font-family: var(--font-disp);
  font-size: 13px; font-weight: 700;
  color: #8A6A32;
  margin: 8px 0 10px;
}
.salon-meta { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.salon-meta div { display: flex; gap: 10px; font-size: 13px; }
.salon-meta dt {
  flex-shrink: 0; width: 62px;
  font-size: 11px; font-weight: 700; color: var(--ink-soft);
  padding-top: 2px;
}
.menu-list { list-style: none; margin-top: 10px; display: flex; flex-direction: column; }
.menu-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 2px;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.menu-item:last-child { border-bottom: none; }
.menu-name small { color: var(--ink-soft); font-size: 10px; margin-left: 6px; }
.menu-price {
  font-family: var(--font-disp); font-weight: 700;
  color: #8A6A32;
  white-space: nowrap;
}

/* ---- profile actions ---- */
.profile-actions { display: flex; gap: 10px; margin-top: 14px; width: 100%; justify-content: center; }
.follow-btn {
  border: none;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px; font-weight: 700;
  font-family: var(--font-disp);
  color: #fff;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-deep) 100%);
  box-shadow: 0 6px 16px rgba(232, 83, 122, .3);
  transition: all .15s;
}
.follow-btn.following {
  color: var(--rose-deep);
  background: var(--card);
  border: 1.5px solid var(--rose);
  box-shadow: none;
}
.consult-btn {
  display: inline-block;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 13px; font-weight: 700;
  font-family: var(--font-disp);
  color: #8A6A32;
  background: linear-gradient(135deg, #F7EBD7 0%, #F1DDBC 100%);
  border: 1px solid #E4CBA0;
  transition: transform .15s;
}
.consult-btn:active { transform: scale(.97); }
.consult-plain {
  color: var(--ink-soft);
  background: var(--card);
  border: 1.5px solid var(--line);
}

/* ---- search ---- */
.search-page { padding: 12px 14px 24px; }
.search-form { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.search-form input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 14px;
  background: var(--card);
  outline: none;
}
.search-form input:focus { border-color: var(--rose); }
.search-users { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.search-page .me-section { margin-top: 18px; }
.empty-sm { padding: 14px 10px; }

/* ---- notifications ---- */
.notif-list { padding: 8px 14px 24px; display: flex; flex-direction: column; gap: 10px; }
.notif-row { align-items: flex-start; }
.notif-unread {
  background: linear-gradient(135deg, #FFF6F8 0%, #FDEBF0 100%);
  border: 1.5px solid #F6CFDA;
}
.notif-icon {
  position: absolute; right: -4px; bottom: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9px; font-style: normal;
  border: 2px solid #fff;
}
.notif-like   { background: var(--rose-soft); color: var(--rose-deep); }
.notif-comment{ background: #FDF0E4; }
.notif-follow { background: #EDF3EC; color: #4E7A52; font-weight: 700; }
.notif-dm     { background: #EFEDF8; color: #6A5AA8; }
.notif-body { font-size: 13px; line-height: 1.6; }
.notif-body b { font-family: var(--font-disp); }
.notif-row .chat-time { display: block; margin-top: 2px; }

/* ---- avatar picker (profile edit) ---- */
.avatar-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.avatar-preset { width: 58px; }
.avatar-preset img { border-radius: 50%; }

/* ---- guide ---- */
.guide-page { padding: 16px 18px 40px; display: flex; flex-direction: column; gap: 14px; }
.guide-lead p { font-size: 13px; color: var(--ink-soft); }
.guide-title { font-family: var(--font-disp); font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.guide-card { padding: 16px 16px 14px; }
.guide-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 12px; }
.guide-table th {
  text-align: left; font-size: 10px; color: var(--ink-soft);
  font-weight: 700; letter-spacing: .06em;
  padding: 4px 6px; border-bottom: 1px solid var(--line);
}
.guide-table td { padding: 7px 6px; border-bottom: 1px dashed var(--line); }
.guide-table tr:last-child td { border-bottom: none; }
.guide-table code, .guide-steps code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  background: var(--rose-mist);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--rose-deep);
}
.guide-steps { margin: 10px 0 2px 18px; font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.guide-note { font-size: 11px; color: var(--ink-soft); margin-top: 10px; }
.guide-foot { text-align: center; }
.guide-cta { text-align: center; }

/* ================================================================
   demo panel（DEMO_MODE時のみ出力・控えめなゴールド系でデモUIと区別） */

.demo-fab {
  position: fixed;
  bottom: calc(86px + env(safe-area-inset-bottom));
  right: max(14px, calc(50% - 226px)); /* phone枠(480px)の内側右下 */
  z-index: 40;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid #E4CBA0;
  background: #FFFDF8;
  color: #8A6A32;
  font-family: var(--font-disp);
  font-size: 11px; font-weight: 700;
  letter-spacing: .05em;
  box-shadow: 0 6px 18px rgba(59, 42, 49, .16);
  transition: transform .15s;
}
.demo-fab:active { transform: scale(.94); }

.demo-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(59, 42, 49, .35);
  display: flex; align-items: flex-end; justify-content: center;
}
.demo-sheet {
  width: 100%; max-width: 480px;
  background: var(--card);
  border-radius: 20px 20px 0 0;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 40px rgba(59, 42, 49, .18);
  animation: sheet-up .25s ease both;
}
@keyframes sheet-up {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.demo-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.demo-sheet-title {
  font-family: var(--font-disp);
  font-size: 13px; font-weight: 700;
  color: #8A6A32;
  letter-spacing: .08em;
}
.demo-close {
  width: 30px; height: 30px;
  border: none; border-radius: 50%;
  background: var(--rose-mist);
  color: var(--ink-soft);
  font-size: 16px; line-height: 1;
}
.demo-sheet-sub {
  font-size: 11px; font-weight: 700;
  color: var(--ink-soft);
  margin: 10px 0 8px;
  letter-spacing: .05em;
}
.demo-acc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-acc {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.demo-acc:active { border-color: var(--rose); }
.demo-acc.current {
  border-color: var(--rose);
  background: var(--rose-mist);
}
.demo-acc-name {
  flex: 1; min-width: 0;
  font-family: var(--font-disp);
  font-size: 12px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.demo-role {
  flex-shrink: 0;
  font-size: 9px; font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-soft);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 7px;
}
.demo-role-salon {
  color: #8A6A32;
  background: linear-gradient(135deg, #F7EBD7 0%, #F1DDBC 100%);
  border-color: #E4CBA0;
}
.demo-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.demo-reset-btn {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px;
  font-size: 12px; font-weight: 700;
  font-family: var(--font-disp);
  color: var(--ink-soft);
  background: var(--card);
}
.demo-guide-link {
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--rose-deep);
  padding: 4px;
}

/* login: guide link under form */
.login-guide-link {
  display: block;
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--rose-deep);
  margin: -10px 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
