/* ============================================================
   guideme.tokyo · Design System
   Noto Serif JP + DM Sans · Minimal Tokyo aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --ff-serif: 'Noto Serif JP', serif;
  --ff-sans:  'DM Sans', system-ui, sans-serif;

  --black:   #0f0f0f;
  --white:   #ffffff;
  --ink:     #1a1a1a;
  --muted:   #888;
  --border:  rgba(0,0,0,0.08);
  --border-m:rgba(0,0,0,0.14);
  --surface: #f8f6f2;
  --surface2:#f2efe9;
  --accent:  #c84b3a;   /* torii red */
  --green:   #27500a;
  --amber:   #7a4a10;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill:100px;

  --nav-h: 56px;
  --bnav-h: 64px;
  --max-w: 480px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--ff-sans); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--ff-sans); }

/* ── Layout wrapper ─────────────────────────────────────────── */
.gm-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ── Navigation ─────────────────────────────────────────────── */
.gm-nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 18px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid var(--border);
}
.gm-logo { display: flex; align-items: center; gap: 9px; }
.gm-logo-mark {
  width: 30px; height: 30px;
  background: var(--ink); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gm-logo-mark span { color: #fff; font-family: var(--ff-serif); font-size: 13px; font-weight: 300; }
.gm-logo-name { font-size: 14px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.2; }
.gm-logo-sub { font-size: 9px; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; }
.gm-nav-actions { display: flex; align-items: center; gap: 10px; }
.gm-nav-link { font-size: 12px; color: var(--muted); }
.gm-btn-pill {
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--radius-pill);
  transition: opacity .15s;
}
.gm-btn-pill:hover { opacity: .85; }
.gm-btn-pill.outline {
  background: transparent; color: var(--ink);
  border: 0.5px solid var(--border-m);
}

/* ── Bottom navigation ──────────────────────────────────────── */
.gm-bnav {
  position: sticky; bottom: 0; z-index: 100;
  height: var(--bnav-h);
  display: flex;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 0.5px solid var(--border);
  padding: 6px 0 10px;
}
.gm-bni {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 0; border-radius: var(--radius-sm);
}
.gm-bni i { font-size: 20px; color: var(--muted); }
.gm-bni i.on, .gm-bni.on i { color: var(--ink); }
.gm-bni span { font-size: 9px; color: var(--muted); letter-spacing: 0.2px; }
.gm-bni.on span, .gm-bni span.on { color: var(--ink); font-weight: 500; }

/* ── Hero ────────────────────────────────────────────────────── */
.gm-hero {
  position: relative; overflow: hidden;
  min-height: 300px;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.gm-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-image: url('/uploads/covers/hero.jpg');
}
.gm-hero-deco {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif); font-size: 140px; font-weight: 300;
  color: rgba(255,255,255,0.05); pointer-events: none; user-select: none;
  line-height: 1;
}
.gm-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
}
.gm-hero-body { position: relative; z-index: 2; padding: 0 18px 22px; }
.gm-hero-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.1); border: 0.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill); padding: 4px 10px; margin-bottom: 10px;
}
.gm-hero-badge span { font-size: 10px; color: rgba(255,255,255,.75); }
.gm-hdot { width: 5px; height: 5px; background: #e84040; border-radius: 50%; }
.gm-hero h1 {
  font-family: var(--ff-serif); font-size: 28px; font-weight: 300;
  color: #fff; line-height: 1.28; margin-bottom: 8px;
}
.gm-hero h1 em { font-style: italic; color: #f5c3a0; }
.gm-hero-sub { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.65; margin-bottom: 18px; }
.gm-hero-cta { display: flex; align-items: center; gap: 10px; }
.gm-btn-hero-prim {
  background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 500;
  padding: 10px 18px; border-radius: var(--radius-pill);
  transition: transform .12s;
}
.gm-btn-hero-prim:hover { transform: scale(1.02); }
.gm-btn-hero-ghost {
  color: rgba(255,255,255,.65); font-size: 13px;
  display: flex; align-items: center; gap: 4px;
}

/* ── Stats bar ───────────────────────────────────────────────── */
.gm-stats-bar {
  display: flex;
  border-bottom: 0.5px solid var(--border);
}
.gm-sbar-item {
  flex: 1; padding: 12px 0; text-align: center;
  border-right: 0.5px solid var(--border);
}
.gm-sbar-item:last-child { border-right: none; }
.gm-sbar-n { font-size: 16px; font-weight: 500; letter-spacing: -0.4px; }
.gm-sbar-l { font-size: 9px; color: var(--muted); letter-spacing: 0.3px; text-transform: uppercase; margin-top: 1px; }

/* ── Search bar ──────────────────────────────────────────────── */
.gm-search-wrap { padding: 14px 16px 10px; }
.gm-search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); padding: 10px 12px; margin-bottom: 8px;
}
.gm-search-box input {
  flex: 1; background: none; border: none; outline: none;
  font-size: 14px; color: var(--ink); font-family: var(--ff-sans);
}
.gm-search-box input::placeholder { color: var(--muted); }
.gm-search-go {
  width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: opacity .15s;
}
.gm-search-go:hover { opacity: .8; }

/* ── Chips ───────────────────────────────────────────────────── */
.gm-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.gm-chips::-webkit-scrollbar { display: none; }
.gm-chip {
  white-space: nowrap; font-size: 11px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  border: 0.5px solid var(--border-m); color: var(--muted);
  background: var(--white); transition: all .12s;
}
.gm-chip:hover, .gm-chip.on {
  background: var(--ink); color: #fff; border-color: var(--ink);
}

/* ── Section headers ─────────────────────────────────────────── */
.gm-sec { padding: 18px 16px 6px; }
.gm-sec-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gm-sec-title { font-size: 14px; font-weight: 500; }
.gm-sec-link { font-size: 12px; color: var(--muted); }
.gm-divider { height: 6px; background: var(--surface); }

/* ── Guide card (horizontal scroll) ────────────────────────── */
.gm-guide-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 6px; }
.gm-guide-scroll::-webkit-scrollbar { display: none; }
.gm-gc {
  min-width: 148px; max-width: 148px; flex-shrink: 0;
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--white);
  transition: transform .12s;
}
.gm-gc:hover { transform: translateY(-2px); }
.gm-gc-img {
  height: 106px; background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.gm-gc-img img { width: 100%; height: 100%; object-fit: cover; }
.gm-gc-av {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 500; color: #888;
}
.gm-gc-lang {
  position: absolute; top: 7px; left: 7px;
  background: rgba(255,255,255,.92); border-radius: 5px;
  padding: 2px 6px; font-size: 9px; font-weight: 500; color: var(--ink);
}
.gm-gc-fav {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
}
.gm-gc-body { padding: 9px 10px 11px; }
.gm-gc-name { font-size: 12px; font-weight: 500; margin-bottom: 1px; }
.gm-gc-spec { font-size: 10px; color: var(--muted); margin-bottom: 6px; line-height: 1.4; }
.gm-gc-ft { display: flex; align-items: center; justify-content: space-between; }
.gm-gc-rating { font-size: 11px; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 2px; }
.gm-gc-price { font-size: 10px; color: var(--muted); }

/* ── Guide card (list) ───────────────────────────────────────── */
.gm-guide-list { padding: 0 16px; }
.gm-gl-card {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 0.5px solid var(--border);
}
.gm-gl-card:last-child { border-bottom: none; }
.gm-gl-img {
  width: 72px; height: 72px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--surface2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 500; color: #888;
}
.gm-gl-img img { width: 100%; height: 100%; object-fit: cover; }
.gm-gl-body { flex: 1; min-width: 0; }
.gm-gl-name { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.gm-gl-spec { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.gm-gl-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.gm-gl-tag {
  font-size: 9px; background: var(--surface);
  border-radius: var(--radius-pill); padding: 2px 7px; color: var(--muted);
}
.gm-gl-ft { display: flex; align-items: center; justify-content: space-between; }
.gm-gl-rating { font-size: 12px; font-weight: 500; color: var(--accent); }
.gm-gl-price { font-size: 12px; font-weight: 500; }

/* ── Categories grid ─────────────────────────────────────────── */
.gm-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 16px; }
.gm-cat {
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: var(--radius-md); padding: 13px 12px;
  display: flex; align-items: center; gap: 10px;
  transition: background .12s;
}
.gm-cat:hover { background: var(--surface2); }
.gm-cat-ico { font-size: 20px; flex-shrink: 0; }
.gm-cat-name { font-size: 12px; font-weight: 500; }
.gm-cat-count { font-size: 10px; color: var(--muted); margin-top: 1px; }

/* ── AI block ────────────────────────────────────────────────── */
.gm-ai {
  margin: 16px 16px 0;
  background: var(--ink); border-radius: var(--radius-xl); padding: 18px;
  position: relative; overflow: hidden;
}
.gm-ai-deco {
  position: absolute; right: -8px; top: -18px;
  font-family: var(--ff-serif); font-size: 84px; font-weight: 300;
  color: rgba(255,255,255,.04); pointer-events: none; user-select: none; line-height: 1;
}
.gm-ai-tag { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #666; margin-bottom: 8px; }
.gm-ai-title { font-family: var(--ff-serif); font-size: 19px; font-weight: 300; color: #fff; line-height: 1.3; margin-bottom: 7px; }
.gm-ai-desc { font-size: 11px; color: #888; line-height: 1.6; margin-bottom: 14px; }
.gm-ai-row { display: flex; gap: 7px; }
.gm-ai-input {
  flex: 1;
  background: rgba(255,255,255,.08); border: 0.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: 10px 11px;
  font-size: 12px; color: #fff; outline: none; font-family: var(--ff-sans);
}
.gm-ai-input::placeholder { color: rgba(255,255,255,.28); }
.gm-ai-send {
  background: #fff; color: var(--ink); border: none;
  border-radius: var(--radius-sm); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform .1s;
}
.gm-ai-send:hover { transform: scale(1.05); }

/* ── How it works ────────────────────────────────────────────── */
.gm-how {
  margin: 16px 16px 0;
  padding: 16px; background: var(--surface); border-radius: var(--radius-xl);
}
.gm-how-title { font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.gm-how-step {
  display: flex; gap: 12px; padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border); margin-bottom: 12px;
}
.gm-how-step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.gm-how-n {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.gm-how-step h4 { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.gm-how-step p { font-size: 10px; color: var(--muted); line-height: 1.55; }

/* ── Guide CTA block ─────────────────────────────────────────── */
.gm-gcta {
  margin: 16px 16px 0;
  border: 0.5px solid var(--border); border-radius: var(--radius-xl);
  padding: 20px 16px; text-align: center;
}
.gm-gcta-jp {
  font-family: var(--ff-serif); font-size: 36px; font-weight: 300;
  color: var(--muted); opacity: .3; margin-bottom: 10px; line-height: 1;
}
.gm-gcta h3 { font-size: 16px; font-weight: 500; margin-bottom: 5px; }
.gm-gcta p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }
.gm-gcta-btn {
  background: var(--ink); color: #fff; border: none;
  border-radius: var(--radius-pill); padding: 11px 22px;
  font-size: 13px; font-weight: 500; width: 100%;
  transition: opacity .15s;
}
.gm-gcta-btn:hover { opacity: .85; }

/* ── Footer ──────────────────────────────────────────────────── */
.gm-footer {
  margin-top: 20px; background: var(--surface); border-top: 0.5px solid var(--border);
  padding: 20px 16px 12px;
}
.gm-footer-brand { font-family: var(--ff-serif); font-size: 18px; font-weight: 300; margin-bottom: 2px; }
.gm-footer-by { font-size: 9px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.gm-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 16px; margin-bottom: 14px; }
.gm-footer-links a { font-size: 11px; color: var(--muted); padding: 2px 0; display: block; }
.gm-footer-links a:hover { color: var(--ink); }
.gm-footer-copy { font-size: 10px; color: var(--muted); padding-top: 12px; border-top: 0.5px solid var(--border); }

/* ── Buttons ─────────────────────────────────────────────────── */
.gm-btn-primary {
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 500; border: none;
  border-radius: var(--radius-lg); padding: 13px;
  width: 100%; transition: opacity .15s;
}
.gm-btn-primary:hover { opacity: .85; }
.gm-btn-secondary {
  background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500;
  border: 0.5px solid var(--border-m);
  border-radius: var(--radius-lg); padding: 11px;
  width: 100%; transition: background .12s;
}
.gm-btn-secondary:hover { background: var(--surface); }

/* ── Form fields ─────────────────────────────────────────────── */
.gm-field { margin-bottom: 12px; }
.gm-label { font-size: 10px; color: var(--muted); letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 5px; display: block; }
.gm-input {
  width: 100%; background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); padding: 11px 13px;
  font-size: 14px; color: var(--ink); outline: none; font-family: var(--ff-sans);
  transition: border-color .15s;
}
.gm-input:focus { border-color: var(--ink); background: var(--white); }
.gm-textarea {
  width: 100%; background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); padding: 11px 13px;
  font-size: 13px; color: var(--ink); outline: none; font-family: var(--ff-sans);
  resize: vertical; min-height: 80px; line-height: 1.55;
}
.gm-textarea:focus { border-color: var(--ink); background: var(--white); }
.gm-select {
  width: 100%; background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); padding: 11px 13px;
  font-size: 13px; color: var(--ink); outline: none; font-family: var(--ff-sans);
  appearance: none;
}

/* ── Status pills ────────────────────────────────────────────── */
.gm-pill { font-size: 10px; padding: 3px 9px; border-radius: var(--radius-pill); display: inline-block; }
.gm-pill-green { background: #EAF3DE; color: var(--green); }
.gm-pill-amber { background: #FAEEDA; color: var(--amber); }
.gm-pill-gray  { background: var(--surface2); color: var(--muted); }
.gm-pill-red   { background: #FCEBEB; color: #791F1F; }
.gm-pill-blue  { background: #E6F1FB; color: #0C447C; }

/* ── Profile page ────────────────────────────────────────────── */
.gm-profile-cover { height: 220px; background: var(--ink); position: relative; overflow: hidden; }
.gm-profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.gm-profile-cover-deco {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-serif); font-size: 130px; font-weight: 300;
  color: rgba(255,255,255,.05); pointer-events: none;
}
.gm-profile-cover-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 55%);
}
.gm-profile-head { padding: 0 16px; margin-top: -28px; position: relative; z-index: 2; }
.gm-profile-av-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.gm-profile-av {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--white); overflow: hidden;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 500; color: #888;
}
.gm-profile-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-profile-name { font-size: 20px; font-weight: 500; letter-spacing: -0.4px; margin-bottom: 3px; }
.gm-profile-handle { font-size: 12px; color: var(--muted); margin-bottom: 10px; }

/* ── Stats row ───────────────────────────────────────────────── */
.gm-stat-row {
  display: flex; border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin: 0 16px 16px;
}
.gm-stat-cell { flex: 1; padding: 12px 0; text-align: center; border-right: 0.5px solid var(--border); }
.gm-stat-cell:last-child { border-right: none; }
.gm-stat-n { font-size: 16px; font-weight: 500; letter-spacing: -0.4px; }
.gm-stat-l { font-size: 9px; color: var(--muted); letter-spacing: 0.3px; text-transform: uppercase; margin-top: 2px; }

/* ── Review cards ────────────────────────────────────────────── */
.gm-rev-card {
  background: var(--surface); border-radius: var(--radius-md);
  padding: 13px; margin-bottom: 8px;
}
.gm-rev-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.gm-rev-av {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--white); border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
}
.gm-rev-name { font-size: 12px; font-weight: 500; margin-bottom: 1px; }
.gm-rev-origin { font-size: 10px; color: var(--muted); }
.gm-rev-stars { font-size: 12px; color: var(--accent); margin-bottom: 5px; }
.gm-rev-text { font-size: 12px; color: var(--ink); line-height: 1.65; }
.gm-rev-date { font-size: 10px; color: var(--muted); margin-top: 5px; }

/* ── Booking panel ────────────────────────────────────────────── */
.gm-book-panel {
  margin: 16px 16px 0;
  background: var(--ink); border-radius: var(--radius-xl); padding: 18px;
}
.gm-book-title { font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 14px; }
.gm-book-price { display: flex; align-items: baseline; gap: 5px; margin-bottom: 14px; }
.gm-book-price-n { font-size: 26px; font-weight: 500; color: #fff; letter-spacing: -0.8px; }
.gm-book-price-u { font-size: 12px; color: #888; }
.gm-book-opts { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.gm-book-opt {
  border: 0.5px solid rgba(255,255,255,.15); border-radius: var(--radius-md);
  padding: 11px 13px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: background .1s;
}
.gm-book-opt:hover { background: rgba(255,255,255,.05); }
.gm-book-opt.selected { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.1); }
.gm-book-opt h4 { font-size: 12px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.gm-book-opt p { font-size: 10px; color: #888; }
.gm-book-opt-price { font-size: 12px; font-weight: 500; color: #fff; }
.gm-book-btn {
  background: #fff; color: var(--ink); border: none;
  border-radius: var(--radius-lg); padding: 14px;
  font-size: 14px; font-weight: 500; width: 100%;
  transition: transform .1s;
}
.gm-book-btn:hover { transform: scale(1.01); }
.gm-book-note { font-size: 10px; color: #666; text-align: center; margin-top: 8px; }

/* ── WhatsApp button ─────────────────────────────────────────── */
.gm-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 10px 16px; padding: 13px;
  background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-lg); font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background .12s;
}
.gm-wa-btn:hover { background: var(--surface2); }
.gm-wa-btn i { font-size: 18px; color: #25d366; }

/* ── Dashboard cards ─────────────────────────────────────────── */
.gm-dash-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 16px 12px; }
.gm-dash-stat { background: var(--surface); border-radius: var(--radius-md); padding: 13px; }
.gm-dash-stat-n { font-size: 22px; font-weight: 500; letter-spacing: -0.5px; }
.gm-dash-stat-l { font-size: 10px; color: var(--muted); margin-top: 2px; }
.gm-dash-stat-d { font-size: 10px; color: var(--green); margin-top: 3px; }

.gm-bk-card { margin: 0 16px 8px; border: 0.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.gm-bk-card-top { display: flex; gap: 10px; padding: 13px; border-bottom: 0.5px solid var(--border); }
.gm-bk-card-av {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--surface2); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: #888;
}
.gm-bk-card-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-bk-card-name { font-size: 13px; font-weight: 500; margin-bottom: 3px; }
.gm-bk-card-sub { font-size: 11px; color: var(--muted); }
.gm-bk-card-status { padding: 6px 13px; display: flex; align-items: center; justify-content: space-between; }
.gm-bk-card-btns { display: flex; gap: 7px; padding: 9px 13px; border-top: 0.5px solid var(--border); }
.gm-bk-card-btn {
  flex: 1; font-size: 11px; padding: 8px; border-radius: var(--radius-sm);
  border: 0.5px solid var(--border-m); background: transparent; color: var(--ink);
  transition: background .12s;
}
.gm-bk-card-btn:hover { background: var(--surface); }
.gm-bk-card-btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.gm-bk-card-btn.primary:hover { opacity: .85; }

/* ── Earnings panel ──────────────────────────────────────────── */
.gm-earn-panel {
  margin: 0 16px 12px; background: var(--ink);
  border-radius: var(--radius-lg); padding: 16px;
}
.gm-earn-label { font-size: 9px; color: #666; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 4px; }
.gm-earn-n { font-size: 28px; font-weight: 500; color: #fff; letter-spacing: -0.8px; margin-bottom: 2px; }
.gm-earn-sub { font-size: 11px; color: #777; margin-bottom: 10px; }
.gm-earn-bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.gm-earn-fill { height: 100%; background: #fff; border-radius: 2px; }

/* ── Admin ────────────────────────────────────────────────────── */
.gm-adm-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-bottom: 0.5px solid var(--border);
}
.gm-adm-row:last-child { border-bottom: none; }
.gm-adm-av {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: #888;
}
.gm-adm-info { flex: 1; min-width: 0; }
.gm-adm-name { font-size: 13px; font-weight: 500; }
.gm-adm-sub { font-size: 10px; color: var(--muted); }
.gm-adm-right { text-align: right; }
.gm-adm-amt { font-size: 12px; font-weight: 500; }

/* ── Auth page ────────────────────────────────────────────────── */
.gm-auth { padding: 28px 20px 24px; }
.gm-auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.gm-auth h1 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 5px; }
.gm-auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.gm-auth-toggle {
  display: flex; background: var(--surface); border-radius: var(--radius-md);
  padding: 3px; margin-bottom: 20px;
}
.gm-auth-toggle button {
  flex: 1; padding: 9px; border-radius: 10px; font-size: 13px; font-weight: 500;
  color: var(--muted); background: transparent; border: none; transition: all .12s;
}
.gm-auth-toggle button.on {
  background: var(--white); color: var(--ink);
  border: 0.5px solid var(--border);
}
.gm-auth-or { display: flex; align-items: center; gap: 10px; margin: 14px 0; }
.gm-auth-or-line { flex: 1; height: 0.5px; background: var(--border); }
.gm-auth-or span { font-size: 10px; color: var(--muted); }
.gm-social-btn {
  width: 100%; padding: 12px; border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); background: var(--white);
  font-size: 13px; font-weight: 500; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 8px; transition: background .12s;
}
.gm-social-btn:hover { background: var(--surface); }

/* ── Booking flow ─────────────────────────────────────────────── */
.gm-progress { display: flex; gap: 5px; padding: 10px 16px; border-bottom: 0.5px solid var(--border); }
.gm-progress-step { flex: 1; height: 3px; border-radius: 2px; background: var(--border); }
.gm-progress-step.done, .gm-progress-step.active { background: var(--ink); }
.gm-progress-label { font-size: 10px; color: var(--muted); white-space: nowrap; padding-top: 4px; }
.gm-calendar { background: var(--surface); border-radius: var(--radius-md); padding: 13px; margin-bottom: 12px; }
.gm-cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gm-cal-month { font-size: 13px; font-weight: 500; }
.gm-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.gm-cal-day-lbl { font-size: 9px; color: var(--muted); padding: 3px 0; }
.gm-cal-day {
  font-size: 12px; padding: 6px 2px; border-radius: var(--radius-sm);
  cursor: pointer; transition: background .1s; color: var(--ink);
}
.gm-cal-day:hover { background: var(--border); }
.gm-cal-day.sel { background: var(--ink); color: #fff; }
.gm-cal-day.na { color: var(--muted); opacity: .4; pointer-events: none; }
.gm-booking-sum { border: 0.5px solid var(--border); border-radius: var(--radius-md); padding: 13px; margin-bottom: 14px; }
.gm-sum-row { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.gm-sum-row.total { font-weight: 500; font-size: 14px; border-top: 0.5px solid var(--border); padding-top: 10px; margin-top: 6px; }

/* ── Messages ────────────────────────────────────────────────── */
.gm-msg-item {
  display: flex; gap: 11px; padding: 12px 16px;
  border-bottom: 0.5px solid var(--border); cursor: pointer;
  transition: background .1s;
}
.gm-msg-item:hover { background: var(--surface); }
.gm-msg-av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--surface2); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #888;
}
.gm-msg-av img { width: 100%; height: 100%; object-fit: cover; }
.gm-msg-unread-dot {
  position: absolute; top: 0; right: 0;
  width: 10px; height: 10px; background: var(--accent);
  border-radius: 50%; border: 2px solid var(--white);
}
.gm-msg-body { flex: 1; min-width: 0; }
.gm-msg-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2px; }
.gm-msg-name { font-size: 13px; font-weight: 500; }
.gm-msg-time { font-size: 10px; color: var(--muted); }
.gm-msg-preview { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-msg-preview.unread { color: var(--ink); font-weight: 500; }

/* ── Chat bubbles ────────────────────────────────────────────── */
.gm-chat-msgs { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.gm-bubble {
  max-width: 74%; padding: 10px 12px; border-radius: 14px;
  font-size: 13px; line-height: 1.55;
}
.gm-bubble.them { background: var(--surface); border-bottom-left-radius: 3px; align-self: flex-start; }
.gm-bubble.me { background: var(--ink); color: #fff; border-bottom-right-radius: 3px; align-self: flex-end; }
.gm-bubble.wa { background: #E8F5E9; color: #1B5E20; border: 0.5px solid #C8E6C9; align-self: flex-start; }
.gm-chat-input {
  display: flex; gap: 7px; padding: 10px 16px; border-top: 0.5px solid var(--border);
}
.gm-chat-input input {
  flex: 1; background: var(--surface); border: 0.5px solid var(--border-m);
  border-radius: var(--radius-md); padding: 10px 13px; font-size: 13px;
  color: var(--ink); outline: none; font-family: var(--ff-sans);
}
.gm-chat-send {
  background: var(--ink); color: #fff; border: none;
  border-radius: var(--radius-md); width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Rating bars ─────────────────────────────────────────────── */
.gm-rating-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.gm-rating-big { font-size: 40px; font-weight: 300; letter-spacing: -1.5px; line-height: 1; }
.gm-rating-bars { flex: 1; }
.gm-rbar-row { display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.gm-rbar-lbl { font-size: 10px; color: var(--muted); width: 8px; text-align: right; }
.gm-rbar-track { flex: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.gm-rbar-fill { height: 100%; background: var(--ink); border-radius: 2px; }
.gm-rating-count { font-size: 10px; color: var(--muted); margin-top: 4px; }

/* ── Toast notifications ─────────────────────────────────────── */
.gm-toast {
  position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; font-size: 13px;
  padding: 11px 18px; border-radius: var(--radius-pill);
  opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 999; white-space: nowrap;
}
.gm-toast.show { opacity: 1; }

/* ── AI match result cards ───────────────────────────────────── */
.gm-match-card {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 10px;
}
.gm-match-card.best { border-width: 1.5px; border-color: var(--ink); }
.gm-match-best-badge {
  background: var(--ink); padding: 5px 12px;
  font-size: 9px; color: #fff; letter-spacing: 1px; text-transform: uppercase;
}
.gm-match-body { padding: 13px; }

/* ── Responsive (PC) ─────────────────────────────────────────── */
@media (min-width: 640px) {
  .gm-hero h1 { font-size: 36px; }
  .gm-profile-cover { height: 280px; }
  .gm-profile-cover-deco { font-size: 180px; }
  .gm-dash-stats { grid-template-columns: repeat(4, 1fr); }
}

/* ── PWA safe area ───────────────────────────────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .gm-bnav { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .3s ease forwards; }
.fade-up-2 { animation: fadeUp .3s .06s ease both; }
.fade-up-3 { animation: fadeUp .3s .12s ease both; }
