@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 400; font-display: swap; src: url("../../../brand/fonts/zenkaku-400.woff2") format("woff2"); }
@font-face { font-family: "Zen Kaku Gothic New"; font-weight: 700; font-display: swap; src: url("../../../brand/fonts/zenkaku-700.woff2") format("woff2"); }

:root {
  --ink: #1f1a17; --sub: #6b625c; --line: #ebe6e1; --soft: #f6f3f0; --bg: #fff;
  --accent: #e2532d; --accent-soft: #fdeee8; --ok: #2f7a4f;
  --tab-h: 60px; --head-h: 52px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Zen Kaku Gothic New", system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
  font-size: 15px; line-height: 1.6; color: var(--ink); background: #ece7e2;
  word-break: auto-phrase; line-break: strict; overflow-wrap: anywhere;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.nw { white-space: nowrap; }
svg.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
svg.i.sm { width: 18px; height: 18px; }

/* スマホ枠：PCでは中央に390×844、スマホ幅では全画面 */
.phone { position: relative; width: 100%; height: 100dvh; background: var(--bg); overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 520px) and (min-height: 700px) {
  body { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px 0; }
  .phone { width: 390px; height: 844px; height: min(844px, calc(100dvh - 40px)); border-radius: 36px; box-shadow: 0 0 0 10px #1f1a17, 0 24px 60px rgba(0,0,0,.25); }
}
.screen { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; position: relative; }
.screen.no-tab { padding-bottom: 0; }


/* ヘッダー */
.head { position: sticky; top: 0; z-index: 500; height: var(--head-h); display: flex; align-items: center; gap: 4px; padding: 0 8px 0 14px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.head h1 { font-size: 17px; margin: 0; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.head.back { padding-left: 2px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.icon-btn:active { background: var(--soft); }
.logo { height: 32px; width: auto; }
.logo-text { font-weight: 700; font-size: 21px; letter-spacing: .01em; color: var(--accent); }
.brand { flex: 1; display: flex; align-items: center; }

/* 下タブ */
.tabbar { height: var(--tab-h); display: flex; border-top: 1px solid var(--line); background: #fff; flex: 0 0 auto; }
.tabbar a, .tabbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 11px; color: var(--sub); white-space: nowrap; }
.tabbar a.on, .tabbar button.on { color: var(--ink); font-weight: 700; }
.tabbar .tab-post .plus { width: 44px; height: 32px; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }
.tabbar .tab-post { color: var(--accent); }

/* 切替（セグメント） */
.tabs-line { display: flex; border-bottom: 1px solid var(--line); position: sticky; top: var(--head-h); background: #fff; z-index: 400; }
.tabs-line button { flex: 1; min-height: 44px; font-size: 15px; color: var(--sub); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-line button.on { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

/* チップ */
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: 0 0 auto; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; white-space: nowrap; background: #fff; display: inline-flex; align-items: center; gap: 4px; }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.ac { background: var(--accent-soft); border-color: transparent; color: #b23a17; }
.chip.small { min-height: 26px; padding: 0 9px; font-size: 13px; }
.chip-row { padding-top: 5px; padding-bottom: 5px; }
.chip-label { font-size: 13px; color: var(--sub); padding: 0 14px; margin-top: 6px; }

/* アバター・称号 */
.av { width: 36px; height: 36px; border-radius: 50%; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.av.lg { width: 76px; height: 76px; font-size: 30px; }
.av.md { width: 44px; height: 44px; font-size: 18px; }
.title-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; line-height: 1; padding: 4px 7px; border-radius: 6px; background: var(--accent-soft); color: #b23a17; font-weight: 700; white-space: nowrap; }

/* 投稿カード */
.post { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.post-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.post-head .who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.post-head .name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.carousel { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 5; background: var(--soft); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.slide img, .slide .ph-fb { width: 100%; height: 100%; object-fit: cover; }
.dots { display: flex; justify-content: center; gap: 5px; flex: 1; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #d6cfc9; }
.dots i.on { background: var(--accent); }
.count-pill { position: absolute; top: 10px; right: 10px; background: rgba(31,26,23,.7); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 99px; }
.ph-fb { display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 700; color: #fff; font-size: 18px; }
.post-body { padding: 0 14px; }
.shop-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.shop-link { font-weight: 700; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
.meta { font-size: 13px; color: var(--sub); }
.rate { display: flex; align-items: center; gap: 8px; margin-top: 2px; flex-wrap: wrap; }
.stars { color: var(--accent); letter-spacing: 1px; font-size: 15px; white-space: nowrap; }
.stars .off { color: #e2d9d2; }
.verdict { font-size: 13px; padding: 2px 9px; border-radius: 99px; white-space: nowrap; }
.verdict.again { background: var(--accent-soft); color: #b23a17; }
.verdict.recommend { background: #e6f2ea; color: var(--ok); }
.verdict.once { background: var(--soft); color: var(--sub); }
.text { margin: 6px 0 0; }
.text.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.more { color: var(--sub); font-size: 14px; min-height: 32px; }
.tagline { font-size: 14px; color: #3d5f96; margin-top: 2px; display: flex; flex-wrap: wrap; gap: 0 8px; }
.tagline .tg { color: inherit; font-size: 14px; min-height: 28px; }
.actions { display: flex; align-items: center; gap: 0; padding: 2px 4px 0; }
.act { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; min-width: 44px; padding: 0 8px; font-size: 14px; }
.act.on.like { color: var(--accent); }
.act.on.like svg { fill: var(--accent); }
.act.on.save svg { fill: var(--ink); }
.act.static { cursor: default; color: var(--sub); }
.actions .date { margin-left: auto; font-size: 13px; color: var(--sub); padding-right: 8px; }

/* 共通の箱 */
.sec { padding: 14px; }
.sec h2 { font-size: 16px; margin: 0 0 8px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 700; white-space: nowrap; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:disabled { background: #efc1b3; }
.btn.line { border: 1px solid var(--ink); }
.btn.ghost { color: var(--sub); }
.btn.block { width: 100%; }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.follow { background: var(--ink); color: #fff; }
.btn.follow.on { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.empty { padding: 40px 20px; text-align: center; color: var(--sub); }
.toast { position: absolute; left: 50%; bottom: calc(var(--tab-h) + 20px); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 950; width: max-content; max-width: 340px; text-align: center; }

/* 進捗バー */
.prog { display: flex; flex-direction: column; gap: 5px; padding: 10px 0; }
.prog + .prog { border-top: 1px solid var(--line); }
.prog .row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.prog .row b { font-weight: 700; }
.bar { height: 8px; background: var(--soft); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }

/* 探す */
.explore-top { position: sticky; top: 0; background: #fff; z-index: 450; padding-top: 0; border-bottom: 1px solid var(--line); }
.filter-toggle { margin-left: auto; }
.map { width: 100%; height: 470px; background: var(--soft); }
.map.small { height: 220px; border-radius: 12px; overflow: hidden; }
.map.mid { height: 330px; }
.pin { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; color: #fff; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); border: 6px solid transparent; border-top: 7px solid #fff; border-bottom: 0; }
.pin .gi { width: 19px; height: 19px; }
.pin.sel { width: 40px; height: 40px; box-shadow: 0 0 0 3px rgba(226,83,45,.35), 0 2px 6px rgba(0,0,0,.4); }
.pin.sel .gi { width: 24px; height: 24px; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; padding: 8px 14px; font-size: 13px; color: var(--sub); }
.legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.legend i { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.legend i .gi { width: 13px; height: 13px; }
.map-wrap { position: relative; }
.map-card { position: absolute; left: 10px; right: 10px; bottom: 26px; z-index: 600; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.map-card .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.map-card .info { flex: 1; min-width: 0; }
.map-card .nm { font-weight: 700; }
.thumb img, .thumb .ph-fb { width: 100%; height: 100%; object-fit: cover; font-size: 12px; }
.person { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.person .info { flex: 1; min-width: 0; }
.person .nm { font-weight: 700; }
.attrib { font-size: 12px; }

/* マイページ・人 */
.profile { padding: 14px; }
.profile .top { display: flex; gap: 14px; align-items: center; }
.profile .nm { font-size: 19px; font-weight: 700; line-height: 1.3; }
.profile .handle { color: var(--sub); font-size: 14px; }
.profile .bio { margin: 10px 0 0; }
.stats { display: flex; margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; }
.stats div { flex: 1; text-align: center; padding: 8px 0; font-size: 13px; color: var(--sub); }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; color: var(--ink); font-size: 17px; }
.went-box { margin-top: 10px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: #8f2e12; }
.went-box b { font-size: 18px; color: var(--accent); }
.title-btn { margin-top: 4px; display: inline-flex; align-items: center; gap: 2px; min-height: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.grid3 a { aspect-ratio: 1 / 1; overflow: hidden; display: block; position: relative; background: var(--soft); }
.grid3 img, .grid3 .ph-fb { width: 100%; height: 100%; object-fit: cover; font-size: 12px; }

/* お知らせ */
.week { margin: 14px; padding: 14px; border-radius: 14px; background: var(--ink); color: #fff; }
.week h2 { font-size: 15px; margin: 0 0 10px; font-weight: 700; }
.week .nums { display: flex; }
.week .nums div { flex: 1; font-size: 13px; color: #d8cfc8; }
.week .nums b { display: block; font-size: 22px; color: #fff; }
.ntf { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: flex-start; }
.ntf .ic { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ntf .t { flex: 1; min-width: 0; }
.ntf .ago { font-size: 13px; color: var(--sub); }
.ntf.went { background: #fff8f5; }
.ntf .thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; }

/* 店ページ */
.shop-hero .slides { aspect-ratio: 16 / 10; }
.shop-head { padding: 12px 14px; }
.shop-head .nm { font-size: 21px; font-weight: 700; margin: 0; line-height: 1.35; }
.big-star { font-size: 26px; font-weight: 700; }
.sub-h { font-size: 15px; font-weight: 700; margin: 4px 14px 0; padding: 12px 0 4px; }

/* 投稿 */
.form-sec { padding: 14px; border-bottom: 1px solid var(--line); }
.form-sec h2 { font-size: 16px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.form-sec h2 .n { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.opt3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.opt3 button { min-height: 64px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; line-height: 1.3; padding: 6px 2px; }
.opt3 button.on { border-color: var(--ink); background: var(--soft); font-weight: 700; }
.opt3.opt2 { grid-template-columns: repeat(2, 1fr); }
.input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fff; }
textarea.input { min-height: 96px; resize: vertical; }
.pick-list button { display: flex; width: 100%; align-items: center; gap: 10px; text-align: left; min-height: 52px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.pick-list .nm { font-weight: 700; }
.chosen { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 12px; margin-top: 10px; }
.chosen .info { flex: 1; min-width: 0; }
.photos-edit { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.pe { flex: 0 0 auto; width: 104px; }
.pe .img { width: 104px; height: 104px; border-radius: 10px; overflow: hidden; position: relative; }
.pe .img img, .pe .img .ph-fb { width: 100%; height: 100%; object-fit: cover; font-size: 12px; }
.pe .no { position: absolute; top: 4px; left: 4px; background: rgba(31,26,23,.75); color: #fff; font-size: 12px; border-radius: 6px; padding: 1px 6px; }
.pe .ctl { display: flex; justify-content: space-between; }
.pe .ctl button { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.pe .ctl button:disabled { opacity: .25; }
.add-photo { flex: 0 0 auto; width: 104px; height: 104px; border: 1.5px dashed #cfc6be; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 13px; color: var(--sub); text-align: center; line-height: 1.3; }
.star-in { display: flex; gap: 4px; }
.star-in button { width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #e2d9d2; }
.star-in button.on { color: var(--accent); }
.submit-bar { position: sticky; bottom: 0; background: #fff; padding: 10px 14px; border-top: 1px solid var(--line); z-index: 450; }
.hint { font-size: 13px; color: var(--sub); margin-top: 6px; }
.err { font-size: 14px; color: #b23a17; margin-top: 6px; }

/* 投稿完了 */
.done-hero { text-align: center; padding: 26px 14px 14px; }
.done-hero .ok { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.done-hero h1 { font-size: 21px; margin: 10px 0 2px; }
.share-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.share-row .info { flex: 1; min-width: 0; }
.share-row .nm { font-weight: 700; }
.share-row .ds { font-size: 13px; color: var(--sub); line-height: 1.5; }
.done-mark { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; min-height: 36px; padding: 0 10px; white-space: nowrap; }
.svc { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex: 0 0 auto; }

/* 称号 */
.radio-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); min-height: 56px; width: 100%; text-align: left; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfc6be; flex: 0 0 auto; position: relative; }
.radio.on { border-color: var(--accent); }
.radio.on::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.radio-row .lv { margin-left: auto; font-size: 13px; color: var(--sub); white-space: nowrap; }

/* ランキング */
.rank-row { display: flex; align-items: center; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.rank-row .no { width: 26px; text-align: center; font-weight: 700; font-size: 16px; flex: 0 0 auto; }
.rank-row .no.top { color: var(--accent); }
.rank-row .info { flex: 1; min-width: 0; }
.rank-row .nm { font-weight: 700; line-height: 1.3; }
.rank-row .sc { text-align: right; font-size: 13px; color: var(--sub); white-space: nowrap; }
.rank-row .sc b { display: block; font-size: 16px; color: var(--ink); }
.rank-row.me { background: var(--accent-soft); }
.rank-me { position: sticky; bottom: 0; z-index: 450; border-top: 2px solid var(--accent); background: #fff; }
.rank-me .rank-row { border-bottom: 0; background: var(--accent-soft); }

/* 設定・取り込み */
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); min-height: 56px; width: 100%; text-align: left; }
.list-row .info { flex: 1; min-width: 0; }
.list-row .nm { font-weight: 700; }
.list-row .ds { font-size: 13px; color: var(--sub); }
.cand { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.cand .thumb { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex: 0 0 auto; }
.check { width: 24px; height: 24px; border-radius: 6px; border: 2px solid #cfc6be; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: #fff; }
.check.on { background: var(--accent); border-color: var(--accent); }
.note-box { padding: 12px; border-radius: 10px; background: var(--soft); font-size: 14px; }



/* ===== v2 ===== */
.pin-wrap { padding-bottom: 8px; cursor: pointer; }
.maplibregl-ctrl-attrib { font-size: 11px; }
.maplibregl-map { font-family: inherit; }
.post-head .name-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.post-head .where { font-size: 13px; color: var(--sub); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-head .who { flex: 1; }
.rec-label { font-size: 12px; color: var(--sub); white-space: nowrap; }
.likes { font-size: 14px; }
.likes b { font-weight: 700; }
.shop-link { font-size: 15px; }

.guest-line { display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; color: var(--sub); border-bottom: 1px solid var(--line); }
.guest-line span { flex: 1; min-width: 0; }
.guest-line a { color: var(--accent); font-weight: 700; font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }

.hscroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 14px; }
.hscroll::-webkit-scrollbar { display: none; }
.stories { padding: 10px 14px 8px; border-bottom: 1px solid var(--line); gap: 12px; }
.story { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; flex: 0 0 auto; }
.story .ring { width: 64px; height: 64px; border-radius: 50%; padding: 2.5px; background: linear-gradient(135deg, #f0a24a, var(--accent) 60%, #b8336a); display: flex; align-items: center; justify-content: center; }
.story .ring .av { border: 2.5px solid #fff; }
.story .ring.add { background: var(--soft); color: var(--ink); }
.av.st { width: 59px; height: 59px; font-size: 22px; }
.story .nm { font-size: 12px; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.insert { padding: 12px 0 14px; border-bottom: 1px solid var(--line); background: #fbf9f7; }
.insert-h { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; }
.insert-h button { min-height: 32px; }
.ucard { flex: 0 0 auto; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ucard > a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ucard .nm { font-weight: 700; }
.ucard .title-badge { max-width: 134px; overflow: hidden; text-overflow: ellipsis; }
.ucard .btn { margin-top: 4px; width: 100%; }
.scard { flex: 0 0 auto; width: 150px; }
.scard .thumb { width: 150px; height: 150px; border-radius: 10px; overflow: hidden; }
.scard .nm { font-weight: 700; margin-top: 6px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scard .meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 探す */
.search-top { position: sticky; top: 0; z-index: 450; background: #fff; padding: 10px 0 6px; border-bottom: 1px solid var(--line); }
.sbox { margin: 0 14px; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px 0 12px; border-radius: 12px; background: var(--soft); color: var(--sub); }
.sbox input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--ink); font-size: 15px; height: 100%; }
.sbox input::-webkit-search-cancel-button { display: none; }
.sbox:focus-within { box-shadow: 0 0 0 2px var(--ink) inset; }
.sclear { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.chip.term { background: var(--ink); color: #fff; border-color: var(--ink); gap: 2px; padding-right: 8px; }

/* チャンネル（頭を詰める） */
.profile { padding: 12px 14px 10px; }
.av.pf { width: 64px; height: 64px; font-size: 26px; }
.pf-r { min-width: 0; flex: 1; }
.pf-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pf-name .nm { font-size: 18px; font-weight: 700; line-height: 1.3; }
.title-btn { margin-top: 0; min-height: 28px; }
.stats-inline { display: flex; gap: 14px; margin-top: 4px; font-size: 13px; color: var(--sub); white-space: nowrap; }
.stats-inline b { color: var(--ink); font-size: 15px; margin-right: 3px; }
.profile .bio { margin: 8px 0 0; font-size: 14px; }
.ch-filter { padding: 8px 0; border-bottom: 1px solid var(--line); }
.rk-top { padding-top: 8px; border-bottom: 1px solid var(--line); }

/* 登録シート */
.sheet-wrap { position: absolute; inset: 0; z-index: 960; display: flex; align-items: flex-end; }
.sheet-back { position: absolute; inset: 0; background: rgba(31,26,23,.45); }
.sheet { position: relative; width: 100%; background: #fff; border-radius: 18px 18px 0 0; padding: 10px 20px 26px; animation: up .22s ease-out; }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
.grip { width: 40px; height: 4px; border-radius: 2px; background: #ddd5ce; margin: 0 auto 14px; }
.sheet-logo { height: 30px; margin: 0 auto 10px; }
.sheet .logo-text { display: block; text-align: center; margin-bottom: 10px; }
.sheet-t { font-size: 17px; font-weight: 700; text-align: center; margin: 0 0 4px; }

/* 登録 */
.signup { padding: 14px 24px 30px; }
.signup-logo { height: 60px; margin: 10px auto 14px; }
.signup .logo-text { display: block; text-align: center; font-size: 28px; margin: 10px 0 14px; }
.signup-lead { text-align: center; font-size: 20px; font-weight: 700; line-height: 1.5; margin: 0 0 16px; }
.signup-pts { list-style: none; padding: 14px; margin: 0 0 20px; background: var(--soft); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.signup-pts li { display: flex; gap: 8px; align-items: flex-start; }
.signup-pts svg { color: var(--accent); margin-top: 2px; }
.sso { border: 1px solid #d6cfc9; margin-bottom: 10px; gap: 10px; min-height: 48px; }
.sso.dark { background: #111; color: #fff; border-color: #111; }
.sso-ic { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.sso-ic.g { background: #fff; color: #1a73e8; border: 1px solid #d6cfc9; }
.sso-ic.a { width: 14px; height: 16px; border-radius: 50% 50% 45% 45%; background: #fff; }
.ob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 14px 20px; }
.ob { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; text-align: left; font-size: 14px; line-height: 1.3; }
.ob.on { border-color: var(--ink); background: var(--soft); font-weight: 700; box-shadow: 0 0 0 1px var(--ink) inset; }

/* ===== v3 ===== */
/* アバター＝得意ジャンルのアイコン */
.av { position: relative; }
.av .avi { width: 58%; height: 58%; color: #fff; }
.av-badge { position: absolute; right: -3px; bottom: -3px; width: 42%; height: 42%; min-width: 14px; min-height: 14px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; color: #fff; }
.av-badge .avb { width: 70%; height: 70%; }
.story .ring .av .av-badge { border-width: 2px; }
/* ベルの未読 */
.bell { position: relative; flex: 0 0 44px; }
.bell .badge { position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; line-height: 16px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; text-align: center; border: 2px solid #fff; box-sizing: content-box; }
/* 地域の選択 */
.region-btn { display: inline-flex; align-items: center; gap: 2px; min-height: 36px; padding: 0 8px 0 6px; border-radius: 99px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ink); }
.region-btn svg { width: 16px; height: 16px; }
.region-btn svg:first-child { color: var(--accent); }
.head .region-btn { background: var(--soft); margin-right: 2px; }
.region-btn.in-line { background: #fff; border: 1px solid var(--line); flex: 0 0 auto; }
.guest-line { padding: 6px 10px 6px 14px; color: var(--ink); font-size: 13px; line-height: 1.45; }
.sheet.tall { max-height: 82%; display: flex; flex-direction: column; }
.here-btn { gap: 6px; margin-bottom: 12px; }
.sheet-sub { font-size: 13px; color: var(--sub); margin: 2px 0 6px; }
.rg-list { overflow-y: auto; flex: 1; min-height: 120px; }
.rg-row { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 4px; border-bottom: 1px solid var(--line); text-align: left; }
.rg-row span:first-child { flex: 1; font-weight: 700; }
.rg-row.on { color: var(--accent); }
.ls-rows { max-height: 260px; overflow-y: auto; }
.ls-row { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); text-align: left; }
.ls-row .ls-nm { flex: 1; font-weight: 700; }
.ls-new { color: var(--accent); font-weight: 700; border-bottom: 0; }
/* 探す：タブ・条件・地図・特集 */
/* ピンの星の札 */
.pin-rt { position: absolute; left: 70%; top: -9px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 5px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.3); white-space: nowrap; font-family: inherit; }
.pin.sel .pin-rt { background: var(--ink); color: #fff; }
/* 店ページの2つのボタン */
.shop-btns { display: flex; gap: 8px; margin-top: 10px; }
.shop-btns .btn { flex: 1; }
/* マイリスト */
.ml-tabs { gap: 6px; padding: 10px 14px 8px; border-bottom: 1px solid var(--line); }
.mlt { flex: 0 0 auto; min-height: 38px; padding: 0 14px; border-radius: 99px; background: var(--soft); font-size: 14px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; color: var(--sub); }
.mlt.on { background: var(--ink); color: #fff; }
.mlt .cnt { font-size: 12px; font-weight: 400; opacity: .8; }
.mlt.add { background: #fff; border: 1px dashed #cfc6be; color: var(--accent); font-weight: 700; }
.ml-filter { padding: 8px 0; border-bottom: 1px solid var(--line); }
.ml-filter .chip svg { width: 14px; height: 14px; }
.ml-opts { padding: 8px 14px 0; }
.ml-note { margin: 8px 14px 0; }
.ml-row { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ml-row .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.ml-row .info { flex: 1; min-width: 0; }
.ml-row .nm { font-weight: 700; }
.rec-who { color: #b23a17; }
.rate-tag { flex: 0 0 auto; min-width: 48px; text-align: center; font-weight: 700; font-size: 14px; padding: 5px 8px; border-radius: 10px; background: var(--accent-soft); color: #b23a17; }
.rate-tag.none { background: var(--soft); color: var(--sub); }
.fab-float { position: absolute; right: 16px; bottom: calc(var(--tab-h) + 16px); z-index: 700; display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.28); white-space: nowrap; }
.fab-float.raised { bottom: calc(var(--tab-h) + 122px); }

/* ===== v4 ===== */
.req, .opt { font-size: 11px; font-weight: 700; line-height: 1; padding: 3px 6px; border-radius: 4px; margin-left: 2px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--soft); color: var(--sub); font-weight: 400; }
.sub-q { font-size: 14px; font-weight: 700; margin: 12px 0 8px; }
.btn.primary:disabled { background: #efc1b3; cursor: not-allowed; }
.scene-line { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.scene { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--soft); color: var(--sub); white-space: nowrap; }
.verdict.hof { background: #1f1a17; color: #fff; }
.verdict.normal { background: var(--soft); color: var(--sub); }
.ch-lbl { flex: 0 0 auto; align-self: center; font-size: 12px; color: var(--sub); padding: 0 2px 0 4px; white-space: nowrap; }
.chip.ghost { border-color: transparent; color: var(--sub); text-decoration: underline; }
.cond-opts { padding: 10px 14px 2px; }
.insert.disc { background: #fff; padding-bottom: 0; }
.insert.disc .insert-h { padding-bottom: 8px; }
.snack { position: absolute; left: 12px; right: 12px; bottom: calc(var(--tab-h) + 12px); z-index: 950; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 12px; background: var(--ink); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.3); animation: up .22s ease-out; transition: opacity .3s; }
.snack span { flex: 1; font-weight: 700; }
.snack button { min-height: 40px; padding: 0 12px; border-radius: 8px; color: #ffb59c; font-weight: 700; white-space: nowrap; }
.snack.out { opacity: 0; }
.share-post { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.share-post .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.share-post .info { min-width: 0; flex: 1; }
.share-post .nm { font-weight: 700; }
.share-post .meta { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-row { align-items: flex-start; }
.share-row .btn, .share-row .done-mark { margin-top: 2px; }
.tl-link { display: block; text-align: left; font-size: 13px; color: #3d5f96; text-decoration: underline; margin-top: 6px; min-height: 32px; }
.tl-form { display: flex; gap: 6px; margin-top: 6px; }
.tl-form .input { min-height: 40px; padding: 8px 10px; font-size: 14px; }

.thumb-icon { width: 100%; height: 100%; aspect-ratio: 1/1; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.thumb-icon .gi { width: 40%; height: 40%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* v3：DBつき。AIユーザーの札・写真なしの札・出典 */
.av-ai { position: absolute; right: -3px; bottom: -3px; box-sizing: content-box; height: 14px; padding: 0 4px; border-radius: 5px; background: #3a3330; color: #fff; font-size: 10px; font-weight: 700; line-height: 14px; white-space: nowrap; border: 1.5px solid #fff; }
.av.md .av-ai, .av.st .av-ai, .av.pf .av-ai, .av.lg .av-ai { height: 17px; line-height: 17px; font-size: 11.5px; padding: 0 5px; }
.story .ring .av .av-ai { right: -1px; bottom: -1px; }
.ph-none { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ph-none .gi { width: 34%; height: 34%; max-width: 64px; max-height: 64px; }
.text { white-space: pre-line; }
.ai-label { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: #efeae6; color: #4f4741; font-weight: 700; white-space: nowrap; }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.src-btn { display: inline-flex; align-items: center; gap: 1px; font-size: 12px; color: var(--sub); min-height: 28px; padding: 0 0 0 8px; white-space: nowrap; }
.src-btn .i { width: 14px; height: 14px; transition: transform .15s; }
.src-btn.on .i { transform: rotate(180deg); }
.src-list { margin: 2px 0 0; padding-left: 1.2em; font-size: 12px; line-height: 1.6; color: var(--sub); }
.src-list a { color: var(--sub); text-decoration: underline; word-break: break-all; }
.slide { position: relative; }
.g-credit { position: absolute; right: 6px; bottom: 6px; max-width: 80%; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-credit a { color: #fff; text-decoration: underline; }
.map.small iframe { width: 100%; height: 100%; border: 0; display: block; }
.shop-src { margin: 8px 0 0; font-size: 12px; }
.shop-src a { color: var(--sub); text-decoration: underline; }
.g-search { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 44px; margin-top: 6px; padding: 0 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink); font-size: 14px; text-align: left; }
.g-search:disabled { opacity: .5; }
.g-results > button { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 48px; padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.g-note { margin: 4px 0 0; text-align: right; }
.gph:empty { aspect-ratio: 4 / 5; background: #f3efeb; }
.g-slide { background: #f3efeb; }
.actions { position: relative; }
.actions .dots { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; pointer-events: none; }
.actions .dots + .act { margin-left: auto; }
/* 複数枚の写真：下の中央にドットを重ねる。クレジットは左上へ（ドット・枚数と重ならない） */
.car-dots { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; gap: 5px; padding: 5px 8px; border-radius: 99px; background: rgba(0,0,0,.32); pointer-events: none; }
.car-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); }
.car-dots i.on { background: #fff; }
.g-credit { top: 8px; left: 8px; right: auto; bottom: auto; max-width: calc(100% - 76px); }
/* 投稿の下：いいね行の右に日付。出典は続きを読むの中。タグの行にジャンル・予算 */
.likes-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.likes-row .date { font-size: 12px; color: var(--sub); white-space: nowrap; margin-left: auto; }
.src-list { margin: 4px 0 0; padding: 0; font-size: 12px; line-height: 1.6; color: var(--sub); }
.tg-meta { margin-left: 8px; font-size: 12px; color: var(--sub); }
.av .avimg { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.guard-t { line-height: 1.5; margin: 6px 0 18px; }
/* 登録のあとの2画面：ステッパー・名前・アイコン */
.stepper { padding: 14px 24px 12px; border-bottom: 1px solid var(--line); }
.stepper ol { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
.stepper .st { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--sub); font-size: 12px; line-height: 1.3; white-space: nowrap; }
/* 線：前の段の中心〜この段の中心。点の縁から6pxあける */
.stepper .st + .st::before { content: ""; position: absolute; top: 11px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; border-radius: 1px; background: var(--line); }
.stepper .st.on::before, .stepper .st.done::before { background: var(--accent); }
.stepper .st-dot { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--sub); }
.stepper .st.on { color: var(--ink); font-weight: 700; }
.stepper .st.on .st-dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper .st.done { color: var(--ink); }
.stepper .st.done .st-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.stepper .st-dot .i { width: 14px; height: 14px; }
.st-remain { margin: 10px 0 0; text-align: center; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--accent); }
/* 登録の2画面目・地域を変更シート：地域を選ぶ部品 */
.pl { padding: 12px 14px 20px; }
.pl-lead { margin: 0 0 10px; font-size: 15px; line-height: 1.5; word-break: auto-phrase; }
.pl-cur { display: flex; align-items: center; gap: 10px; padding: 8px 12px; margin-bottom: 10px; border: 1.5px solid var(--accent); border-radius: 12px; background: var(--accent-soft); }
.pl-cur-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pl-cur-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.pl-cur-l { font-size: 11px; font-weight: 700; color: #b23a17; }
.pl-cur-tx b { font-size: 16px; }
.pl-cur-tx .meta { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl .here-btn { margin-bottom: 10px; }
.pl-q { margin: 0 0 12px; }
.pl .sheet-sub { margin: 0 0 6px; }
.pl-areas { display: flex; flex-wrap: wrap; gap: 8px 6px; padding: 0; }
.pl-areas .chip { min-height: 34px; padding: 0 11px; }
.pl-areas .chip .n { margin-left: 2px; font-size: 12px; color: var(--sub); font-weight: 400; }
.pl-areas .chip.on .n { color: rgba(255,255,255,.75); }
.pl-beta { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 12.5px; line-height: 1.6; color: var(--sub); }
.pl-beta .i { flex: none; width: 15px; height: 15px; margin-top: 2px; }
.pl-none { margin: 4px 0 0; line-height: 1.6; }
.pl .rg-list { flex: none; min-height: 0; overflow: visible; }
.rg-row.rg2 { min-height: 56px; }
.rg-row .rg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.rg-row .rg-tx b { font-size: 15px; }
.rg-row .rg-tx .meta { font-size: 12px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-bar { display: flex; flex-direction: column; gap: 2px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.pl-later { min-height: 36px; font-size: 14px; font-weight: 400; }
.phone.kb-open .pl-bar { display: none; }
/* 中身が短いときも、主ボタンは画面の下に置く */
.screen:has(> .pl-bar) { display: flex; flex-direction: column; }
.screen:has(> .pl-bar) > * { flex-shrink: 0; }
.screen:has(> .pl-bar) > .pl { flex: 1 0 auto; }
.sheet.tall .pl-sheet { flex: 1; min-height: 0; overflow-y: auto; padding: 0; }
/* 地域で絞る画面で、その地域の投稿が0件 */
.rg-empty { padding: 32px 20px; text-align: center; color: var(--sub); }
.rg-empty p { margin: 0 0 12px; }
.rg-empty .btn { color: var(--ink); }
.ob-name { display: flex; gap: 8px; }
.ob-name .input { flex: 1; }
.ob-avs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.ob-av { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 50%; border: 2px solid transparent; padding: 2px; cursor: pointer; }
.ob-av.on { border-color: var(--accent); }
.ob-av .av.md { width: 100%; height: 100%; }
.ob-up { border: 2px dashed var(--line); color: var(--sub); }
.ob-up.on { border-style: solid; border-color: var(--accent); }
.ob-up-ic .i { width: 22px; height: 22px; }

/* ---------- 06 マイページ・称号画面 ---------- */
.title-badge.base { background: var(--soft); color: var(--sub); }
.pf-name .title-badge { max-width: 100%; }
.map-empty { position: absolute; top: 10px; left: 10px; right: 10px; z-index: 5; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.96); border-radius: 12px; padding: 8px 8px 8px 12px; box-shadow: 0 2px 10px rgba(0,0,0,.14); font-size: 13px; }
.map-empty span { flex: 1; min-width: 0; }
.map-empty .btn { flex: 0 0 auto; }
.tt { padding-bottom: 24px; }
.tt-intro { margin: 12px 14px 0; font-size: 14px; line-height: 1.7; }
.tt-now { margin: 14px 14px 0; padding: 16px; border-radius: 14px; background: var(--accent-soft); text-align: center; }
.tt-now .lbl { font-size: 12px; color: var(--sub); }
.tt-now .big { margin-top: 6px; font-size: 22px; font-weight: 700; line-height: 1.35; color: #b23a17; display: inline-flex; align-items: center; gap: 6px; word-break: auto-phrase; }
.tt-now .big svg.i { width: 24px; height: 24px; flex: 0 0 auto; }
.tt-now.base { background: var(--soft); }
.tt-now.base .big { color: var(--ink); }
.tt-goals { padding: 0 14px; }
.tt-goal { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 64px; }
.tt-goal .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 15px; }
.tt-goal .need { color: var(--accent); font-weight: 700; font-size: 14px; text-align: right; }
.tt-goal .meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--sub); }
.tt-goal .meta svg.i.sm { width: 16px; height: 16px; }
.tt-goal.first .btn { margin-top: 6px; }
.radio-row .lv-chip { margin-left: auto; }

/* 07 絞り込み：マイページの頭・称号・マイリストの空・探す */
.title-btn { min-height: 44px; margin: -8px 0; }
.pf-sub { margin-top: 6px; display: flex; gap: 14px; font-size: 13px; color: var(--sub); white-space: nowrap; overflow: hidden; }
.pf-sub span { display: inline-flex; align-items: center; gap: 3px; }
.pf-sub b { color: var(--ink); font-size: 14px; }
.pf-sub b.ac { color: var(--accent); }
.pf-sub svg.i.sm { width: 15px; height: 15px; }
.pnext { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) 56px auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 44px;
  padding: 8px 12px; border-radius: 10px; background: var(--soft); font-size: 13px; }
.pnext .pn-h { grid-column: 1; font-size: 11px; color: var(--sub); line-height: 1.4; }
.pnext .pn-l { grid-column: 1; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; }
.pnext .bar { grid-column: 2; grid-row: 1 / 3; height: 6px; background: #fff; }
.pnext .pn-r { grid-column: 3; grid-row: 1 / 3; color: var(--accent); font-weight: 700; white-space: nowrap; }
.pnext.first { grid-template-columns: minmax(0, 1fr); }
.tt-now { padding: 14px 16px; }
.tt-goal { gap: 8px; min-height: 56px; }
.tt-goal .row b { min-width: 0; }
.tt-goal.first .btn { margin-top: 4px; }
.ml-empty { padding: 56px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--sub); font-size: 14px; line-height: 1.6; }
.ml-empty-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--ink); }
.ml-empty-ic svg.i { width: 26px; height: 26px; }
.ml-empty p { margin: 0; }
.ex-filter { padding: 8px 14px 2px; gap: 8px; }
.ex-filter .chip { min-height: 36px; font-size: 14px; }
.ex-filter .chip .cl { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-filter .chip svg { width: 14px; height: 14px; }
.sub-opts { padding-top: 6px; border-top: 1px dashed var(--line); margin: 8px 14px 0; padding-left: 0; padding-right: 0; }
.cond-go { padding: 10px 14px 4px; }
.ex-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 14px; font-size: 13px; color: var(--sub); min-height: 44px; border-bottom: 1px solid var(--line); }
.ex-meta a { display: inline-flex; align-items: center; color: var(--ink); font-weight: 700; min-height: 44px; }
.ex-meta a svg.i.sm { width: 16px; height: 16px; }
.ex-res-h { padding: 14px 14px 4px; font-size: 13px; color: var(--sub); font-weight: 700; }
.ex-shop { display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 6px 14px; border-bottom: 1px solid var(--line); }
.ex-shop .nm { font-weight: 700; }
.ex-more { padding: 16px 14px 24px; text-align: center; }
/* ホームのAI投稿に出す Google の写真（1枚だけ。読み込めてから差し込む） */
.g-feed .slides { aspect-ratio: 4 / 3; }
.g-wait .slides { overflow: hidden; }

/* 写真の読み込み中 */
.slide .spin { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 探すの結果：2列のタイル */
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; padding: 12px 14px 16px; }
.ex-tile { display: block; color: inherit; text-decoration: none; min-width: 0; }
.ex-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); }
.ex-img img, .ex-img .ph-none { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.ex-img .ph-none .gi { width: 40%; height: 40%; }
.ex-cap { padding: 6px 2px 0; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ex-cap b { font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-cap span { font-size: 12px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-cap .ex-st { color: var(--accent); font-weight: 700; }
.ex-img { position: relative; }
.ex-img .spin { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 3px solid rgba(0,0,0,.12); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }

/* 店の詳細：外のサイト */
.ext-links { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ext-links .ext-h { font-size: 13px; color: var(--sub); margin-right: 2px; }
.ext-links .btn { gap: 4px; text-decoration: none; }
.ext-links .btn .i { width: 14px; height: 14px; opacity: .6; }
/* マイリストの行 */
.ml-row a { color: inherit; text-decoration: none; }
.ml-row .nm { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ml-row .ml-st { margin-left: 8px; color: #b23a17; font-weight: 700; }
.ml-row .ml-from { display: inline-flex; align-items: center; gap: 2px; margin-top: 3px; font-size: 12px; color: var(--accent); }
.ml-row .ml-from .i { width: 12px; height: 12px; }
.ml-row .thumb img, .ml-row .thumb .ph-none { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.actions.bottom { padding: 0 4px 6px; }
.svc.xs { width: 20px; height: 20px; border-radius: 5px; font-size: 11px; margin-right: 2px; }
.ext-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ext-links .ext-h { grid-column: 1 / -1; margin: 0; }
.ext-links .btn { justify-content: center; }

/* 投稿カード：スリムな組み（操作24px・店の行1行・感想に「…続き」・タグの行の右に日付・段の間8px） */
.post { padding-bottom: 8px; }
.post-head { padding: 8px 14px 6px; }
.actions { padding: 2px 6px 0; min-height: 0; }
.act { min-height: 38px; min-width: 38px; padding: 0 6px; gap: 3px; font-size: 13px; }
.act .i { width: 24px; height: 24px; }
.act .lk { font-weight: 700; color: var(--ink); }
.actions.bottom { padding: 0 6px 0; margin-top: 2px; }
.post-body { padding: 0 14px; display: flex; flex-direction: column; gap: 4px; }
.carousel + .actions + .post-body, .g-feed + .actions + .post-body { margin-top: 0; }
.shop-line { display: flex; align-items: baseline; gap: 6px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.shop-line b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.shop-line .st { color: var(--accent); font-weight: 700; font-size: 14px; white-space: nowrap; }
.shop-line .ar { color: var(--sub); font-size: 13px; white-space: nowrap; }
.shop-line .verdict { font-size: 12px; padding: 1px 8px; align-self: center; }
.text { margin: 0; line-height: 1.6; font-size: 15px; }
.text.clamp { max-height: 3.2em; }
.feed-post .text.clamp { -webkit-line-clamp: 3; max-height: 4.8em; }
.text.clamp.fitting { -webkit-line-clamp: unset; display: block; }
.more-in { display: inline; padding: 0; min-height: 0; font: inherit; color: var(--sub); background: none; border: 0; }
.tagline { display: flex; align-items: baseline; gap: 8px; margin: 0; font-size: 13px; }
.tagline .tags { display: flex; flex-wrap: wrap; gap: 0 8px; min-width: 0; flex: 1; }
.tagline .tg { font-size: 13px; min-height: 0; padding: 0; }
.tagline .date { margin-left: auto; font-size: 12px; color: var(--sub); white-space: nowrap; flex: 0 0 auto; }
.scene-line { margin-top: 0; }
/* 投稿の詳細へ：感想（…続きを含む）とコメントのアイコンから */
.text-link { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: rgba(0,0,0,.04); }
.text-link .more-in { color: var(--sub); }
.cm-all { font-size: 13px; color: var(--sub); text-decoration: none; }
a.act { color: inherit; text-decoration: none; }
.post-lead { margin: 0; padding: 10px 14px 0; font-size: 13px; color: var(--sub); }
/* 名前の横の称号の札：名前より明確に小さく控えめに（称号の画面の大きな表示は対象外） */
.title-badge { font-size: 11px; font-weight: 500; padding: 2px 6px; gap: 2px; border-radius: 5px; line-height: 1.3; }
.title-badge .i { width: 11px; height: 11px; }
/* ホームのヘッダー：「食のSNS」入りのロゴを38px（ヘッダーは52pxのまま。「食」が読めて、主張しすぎない高さ） */
.logo.tag { height: 38px; }
