/* ===== Uramimi（うらみみ） デザイン ===== */
:root {
  --sky: #cdeeff;           /* ロゴの背景の水色 */
  --sky-mid: #a9d6f0;
  --sky-deep: #5b8fb8;      /* 見出しなどの青 */
  --sky-pale: #f1faff;      /* ページの背景 */
  --pink: #f5aabb;          /* ロゴのピンク */
  --pink-strong: #dd6584;   /* 白文字ボタン用 */
  --pink-soft: #ffe6ec;
  --pink-pale: #fff6f8;
  --cream: #fdf5e1;
  --cream-deep: #f1dfb3;
  --panel: #ffffff;
  --text: #4a4350;
  --muted: #968e9c;
  --line: #e7eef4;
  --lavender: #8b72cf;
  --lavender-soft: #f0ebfb;
  --good: #3f9e7a;
  --good-soft: #e3f5ee;
  --normal: #b08a2e;
  --normal-soft: #fbf3dc;
  --bad: #d14b5c;
  --bad-soft: #fde6e9;
  --radius: 20px;
  --shadow: 0 3px 14px rgba(91, 143, 184, 0.10);
  --font: "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.75; color: var(--text);
  background: var(--sky-pale); min-height: 100vh; word-break: break-word; overflow-wrap: anywhere;
}
body.has-fixed-ad { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
a { color: var(--sky-deep); }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 12px; }

/* ===== ヘッダー（下が波の形） ===== */
.site-header { position: relative; background: var(--sky); padding-bottom: 14px; }
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background: radial-gradient(circle at 12px 0, var(--sky) 11px, transparent 12px) 0 0 / 24px 14px repeat-x,
              var(--sky-pale);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; padding-top: 10px; padding-bottom: 4px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--sky-deep); }
.logo-mark { width: 48px; height: 48px; display: block; border-radius: 12px; flex: none; }
.logo-words { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-family: "Avenir Next", "Montserrat", "Helvetica Neue", "Hiragino Sans", sans-serif; font-weight: 700; font-size: 26px; letter-spacing: 0.02em; color: #2d3550; }
.tagline { font-size: 11px; font-weight: 700; line-height: 1.5; color: var(--sky-deep); margin-top: 2px; }
.search { display: flex; flex: 1 1 260px; max-width: 440px; background: #fff; border-radius: 999px; box-shadow: 0 2px 0 var(--sky-mid); overflow: hidden; }
.search input { flex: 1; min-width: 0; border: none; padding: 10px 16px; font: inherit; font-size: 16px; color: var(--text); outline: none; background: transparent; }
.search button { border: none; background: var(--pink-strong); color: #fff; padding: 0 16px; cursor: pointer; display: flex; align-items: center; }

/* ===== レイアウト ===== */
.layout { display: grid; grid-template-columns: 1fr; gap: 16px; padding-top: 14px; padding-bottom: 20px; }
.panel { background: var(--panel); padding: 16px 14px; border-radius: var(--radius); box-shadow: var(--shadow); }
.center-card { text-align: center; padding: 30px 16px; }
.big-emoji { font-size: 40px; margin: 0; }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border: none; padding: 10px 22px; font: inherit; font-weight: 700; font-size: 14px;
  text-decoration: none; cursor: pointer; min-height: 44px; border-radius: 999px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--pink-strong); color: #fff; box-shadow: 0 3px 0 #c24d6c; }
.btn-primary:hover { background: #d05578; }
.btn-primary:disabled { background: #eab0bf; box-shadow: none; cursor: default; }
.btn-ghost { background: #fff; color: var(--pink-strong); border: 2px solid var(--pink); }
.btn-small { padding: 6px 16px; min-height: 36px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-post {
  width: 100%; background: var(--pink-strong); color: #fff; font-size: 16px; min-height: 58px;
  border-radius: 999px; box-shadow: 0 4px 0 #c24d6c;
}
.btn-post .plus { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--pink-strong); font-size: 18px; margin-right: 6px; }
.link-btn { background: none; border: none; color: var(--lavender); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 4px; }

/* ===== トップ：人気／新着の切りかえ ===== */
.big-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--cream); border-radius: 999px; margin-bottom: 12px; }
.big-tab {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: #a8915c;
}
.big-tab.active { background: #fff; color: var(--pink-strong); box-shadow: 0 2px 6px rgba(221, 101, 132, 0.18); }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--sky-deep); text-decoration: none; border: 1.5px solid var(--sky-mid); }
.chip.active { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.search-note { font-size: 13px; margin: 0 0 6px; }

/* ===== トップ：一覧 ===== */
.topic-list { list-style: none; margin: 0; padding: 0; }
.topic { border-top: 1px solid var(--line); }
.topic-link { display: flex; gap: 12px; align-items: center; padding: 12px 4px; text-decoration: none; color: inherit; border-radius: 14px; }
.topic-link:hover { background: var(--pink-pale); }
.topic-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.topic-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.cmt { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.cmt .ico { color: var(--sky-mid); }
.topic-title { color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.5; margin-top: 2px; }
.topic-link:hover .topic-title { color: var(--pink-strong); }
.topic-domain { color: var(--muted); font-size: 12px; margin-top: 1px; }
.empty { list-style: none; text-align: center; padding: 30px 0; }

/* 順位（まるいバッジ） */
.rank {
  display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 999px; background: #eef1f4; color: var(--muted); font-weight: 800; font-size: 12px;
}
.rank-1 { background: var(--pink-strong); color: #fff; }
.rank-2 { background: var(--sky-deep); color: #fff; }
.rank-3 { background: #d4a94a; color: #fff; }

/* カテゴリーの絵文字サムネイル */
.thumb {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; font-size: 28px; background: var(--pink-pale); border-radius: 18px;
}
.thumb.big { width: 80px; height: 80px; font-size: 40px; border-radius: 24px; }
.thumb-matching { background: var(--pink-soft); }
.thumb-deai { background: #e1f2fc; }
.thumb-mailfriend { background: var(--cream); }
.thumb-uranai { background: var(--lavender-soft); }
.thumb-other { background: #eef1f4; }

.cat-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--pink-soft); color: #b8394f; }
.cat-deai { background: #e1f2fc; color: #3b6ea0; }
.cat-mailfriend { background: var(--cream); color: #8c6d22; }
.cat-uranai { background: var(--lavender-soft); color: var(--lavender); }
.cat-other { background: #eef1f4; color: #6e6870; }

/* ページ送り */
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 18px 0 4px; }
.pg { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--sky-deep); text-decoration: none; font-size: 14px; font-weight: 700; background: #fff; border: 1.5px solid var(--sky-mid); }
.pg.current { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.pg.disabled { color: #cfd9e1; border-color: #e5edf3; }
.pg-gap { color: var(--muted); }

/* ===== サイドバー ===== */
.side-col { display: flex; flex-direction: column; gap: 16px; }
.side-box { background: var(--panel); padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow); }
.side-head { margin: 0 0 4px; font-size: 16px; color: var(--sky-deep); display: flex; align-items: center; gap: 6px; }
.side-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.side-list, .side-cats { list-style: none; margin: 0; padding: 0; }
.side-item { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.side-list li:last-child .side-item { border-bottom: none; }
.side-thumb { position: relative; flex: none; }
.side-thumb .thumb { width: 50px; height: 50px; font-size: 24px; border-radius: 16px; }
.side-rank {
  position: absolute; top: -4px; left: -4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-deep); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; border: 2px solid #fff;
}
.side-list li:first-child .side-rank { background: var(--pink-strong); }
.side-text { display: flex; flex-direction: column; min-width: 0; }
.side-title { font-weight: 700; font-size: 14px; line-height: 1.5; }
.side-meta { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.side-meta .ico { color: var(--sky-mid); }
.side-cats a { display: block; padding: 9px 4px; color: var(--text); text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--line); }
.side-cats li:last-child a { border-bottom: none; }
.side-cats a.active, .side-cats a:hover { color: var(--pink-strong); }

/* ===== 評価バー ===== */
.rating-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: #eef1f4; }
.rating-bar.big { height: 12px; }
.seg-good { background: #8ad3b3; }
.seg-normal { background: #f3d688; }
.seg-bad { background: #f5a3b2; }
.rating-legend { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; margin-top: 4px; color: var(--muted); }
.lg::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; }
.lg-good::before { background: #8ad3b3; }
.lg-normal::before { background: #f3d688; }
.lg-bad::before { background: #f5a3b2; }
.rating-empty { font-size: 12px; color: var(--muted); }

/* ===== 口コミページ ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 12px; overflow: hidden; white-space: nowrap; }
.breadcrumb a { color: var(--sky-deep); text-decoration: none; }
.bc-current { overflow: hidden; text-overflow: ellipsis; }
.thread-head { padding-bottom: 14px; }
.th-top { display: flex; gap: 14px; align-items: center; }
.th-text { min-width: 0; }
.page-title { font-size: 22px; line-height: 1.45; margin: 0; color: var(--text); }
.thread-domain { color: var(--muted); font-size: 13px; margin-top: 2px; }
.th-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.th-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.summary { background: var(--cream); padding: 10px 14px; border-radius: 16px; }
.summary-title { font-weight: 700; font-size: 13px; margin-bottom: 6px; color: #8c6d22; }

.post { padding: 14px 4px 12px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.post.highlight { background: var(--pink-pale); border-radius: 14px; }
.post-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-info { font-size: 13px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; }
.res-no {
  display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 999px; background: var(--sky); color: var(--sky-deep); font-weight: 800; font-size: 13px;
}
.post-name { color: var(--text); font-weight: 700; }
.gender { font-size: 12px; color: var(--muted); }
.post-time { color: var(--muted); font-size: 12px; }
.btn-reply {
  flex: none; background: #fff; border: 1.5px solid var(--sky-mid); border-radius: 999px; color: var(--sky-deep);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; padding: 2px 12px;
}
.post-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; margin-top: 4px; padding-left: 2px; }
.post-body { font-size: 16px; line-height: 1.9; padding: 8px 2px; color: var(--text); }
.post.deleted .post-head { justify-content: flex-start; gap: 8px; }
.anchor { color: var(--sky-deep); text-decoration: none; font-weight: 700; background: var(--sky-pale); border-radius: 6px; padding: 0 4px; }

.rate-badge { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.rate-good { background: var(--good-soft); color: var(--good); }
.rate-normal { background: var(--normal-soft); color: var(--normal); }
.rate-bad { background: var(--bad-soft); color: var(--bad); }

/* ＋／－ */
.vote { display: flex; align-items: center; gap: 8px; max-width: 420px; }
.pill {
  flex: none; border-radius: 999px; border: 2px solid; background: #fff; font: inherit; font-size: 13px; font-weight: 800;
  padding: 2px 14px; min-height: 32px; cursor: pointer;
}
.pill:active { transform: scale(0.94); }
.pill-plus { border-color: var(--pink); color: var(--pink-strong); }
.pill-minus { border-color: var(--sky-mid); color: var(--sky-deep); }
.pill-plus.voted { background: var(--pink-strong); border-color: var(--pink-strong); color: #fff; }
.pill-minus.voted { background: var(--sky-deep); border-color: var(--sky-deep); color: #fff; }
.pill:disabled { cursor: default; }
.pill:disabled:not(.voted) { opacity: 0.5; }
.vote-bar { flex: 1; display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: #eef1f4; }
.vote-fill { background: var(--pink); transition: width .3s; }
.vote-minus { background: var(--sky-mid); transition: width .3s; }

/* ===== フォーム ===== */
.form-card { margin-top: 18px; background: var(--pink-pale); padding: 16px 14px; border-radius: var(--radius); }
.section-title { font-size: 17px; margin: 0 0 10px; color: var(--pink-strong); }
.form-row { margin-bottom: 12px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { display: block; font-weight: 700; font-size: 13px; }
input[type="text"], input[type="url"], input[type="email"], input[type="password"], select, textarea {
  display: block; width: 100%; margin-top: 4px; border: 1.5px solid #dde6ee; border-radius: 14px; padding: 10px 12px;
  font: inherit; font-size: 16px; font-weight: 400; color: var(--text); background: #fff; outline: none;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
input:focus, select:focus, textarea:focus { border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }
.req, .opt { font-size: 10px; font-weight: 700; border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px; }
.req { background: var(--pink-strong); color: #fff; }
.opt { background: #eef1f4; color: var(--muted); }
.counter { text-align: right; }
.agree { text-align: center; margin: 4px 0 8px; }
.form-msg { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--bad); text-align: center; min-height: 1em; }
.form-msg.ok { color: var(--good); }
.hint { font-size: 12px; color: var(--muted); font-weight: 400; margin: 4px 0 0; }
.notice { background: var(--cream); color: #7d6020; padding: 10px 14px; font-size: 13px; border-radius: 14px; }
.notice a { font-weight: 700; }
.radio-cards { display: grid; grid-template-columns: 1fr; gap: 6px; margin-top: 6px; }
.radio-cards label { display: flex; align-items: center; gap: 8px; border: 1.5px solid #dde6ee; border-radius: 14px; padding: 10px 12px; cursor: pointer; background: #fff; }
.radio-cards input { accent-color: var(--pink-strong); width: 18px; height: 18px; margin: 0; }
.radio-cards label:has(input:checked) { border-color: var(--pink); background: var(--pink-pale); }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; margin-bottom: 8px; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--pink-strong); }

/* ===== ポップアップ（>>アンカー） ===== */
.popup {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom));
  width: calc(100% - 24px); max-width: 560px; max-height: 50vh; overflow-y: auto; z-index: 40;
  background: #fff; box-shadow: 0 8px 30px rgba(74, 67, 80, 0.22); border: 2px solid var(--sky-mid); border-radius: 18px; padding: 12px 14px;
}
.popup .post-body { font-size: 15px; }
.popup .btn-reply, .popup .admin-only { display: none; }
.popup-foot { display: flex; justify-content: space-between; margin-top: 6px; }

/* ===== 文章ページ ===== */
.doc h1 { font-size: 20px; margin-top: 0; }
.doc h2 { font-size: 15px; margin: 22px 0 6px; color: var(--sky-deep); }
.doc p, .doc li { font-size: 14px; }
.doc ol, .doc ul { padding-left: 1.4em; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.info-table th { background: var(--sky-pale); width: 32%; white-space: nowrap; }

/* ===== 管理 ===== */
.admin-only { background: var(--bad); color: #fff; border: none; border-radius: 999px; font: inherit; font-size: 11px; font-weight: 700; padding: 4px 10px; cursor: pointer; }
.admin-bar { position: fixed; top: 10px; right: 10px; z-index: 30; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.admin-item { background: #fff; border-left: 4px solid var(--pink); padding: 12px 14px; margin: 10px 0; border-radius: 12px; }
.admin-item .quote { background: var(--sky-pale); padding: 8px 10px; font-size: 13px; margin: 6px 0; white-space: pre-wrap; border-radius: 10px; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.card { background: #fff; padding: 14px 16px; margin: 10px 0; border-radius: 14px; }

/* ===== 広告枠 ===== */
.ad-row { list-style: none; border-top: 1px solid var(--line); }
.ad-inline { margin: 14px 0; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-label { font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.ad-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; min-height: 56px;
  padding: 4px 0 calc(4px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.ad-fixed .ad-label { display: none; }
.ad-placeholder span { font-size: 11px; color: #bcc7d0; letter-spacing: 0.1em; }
.ad-inline.ad-placeholder { border: 1.5px dashed #d8e3ec; border-radius: 16px; }
.ad-fixed.ad-placeholder { border-top: 1.5px dashed #d8e3ec; }

/* ===== フッター（上が波の形） ===== */
.site-footer { position: relative; background: var(--sky); text-align: center; margin-top: 30px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 14px;
  background: radial-gradient(circle at 12px 14px, var(--sky) 11px, transparent 12px) 0 0 / 24px 14px repeat-x;
}
.footer-inner { padding: 18px 14px 18px; }
.footer-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo .logo-mark { width: 40px; height: 40px; border-radius: 10px; }
.footer-logo .logo-name { font-size: 22px; }
.footer-nav { display: flex; justify-content: center; gap: 6px 20px; flex-wrap: wrap; margin-top: 8px; }
.footer-nav a { color: var(--sky-deep); text-decoration: none; font-size: 13px; font-weight: 700; }
.footer-nav a:hover { color: var(--pink-strong); }
.copyright { margin: 12px 0 0; font-size: 12px; color: var(--sky-deep); }
.footer-mini { margin: 10px 0 0; font-size: 10px; }
.footer-mini a { color: #9fc0d6; text-decoration: none; }

/* ===== パソコン ===== */
@media (min-width: 900px) {
  body { font-size: 16px; }
  .logo-mark { width: 56px; height: 56px; border-radius: 14px; }
  .logo-name { font-size: 30px; }
  .tagline { font-size: 12px; }
  .layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding-top: 22px; }
  .layout.single { grid-template-columns: minmax(0, 820px); justify-content: center; }
  .panel { padding: 22px 26px; }
  .form-card { padding: 20px 24px; }
  .thumb { width: 64px; height: 64px; font-size: 30px; }
  .topic-title { font-size: 17px; }
  .radio-cards { grid-template-columns: 1fr 1fr; }
  .page-title { font-size: 25px; }
  .sp-only { display: none !important; }
}
@media (max-width: 899px) {
  .search { flex-basis: 100%; max-width: none; }
  .btn-post.sp-only { margin-bottom: 12px; min-height: 52px; }
}

/* ロボット対策の見えない欄 */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ===== 固定スレッド（管理人より） ===== */
.pinned-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pinned { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 12px 14px; border-radius: 16px; background: var(--sky-pale); border: 1.5px solid var(--sky-mid); text-decoration: none; color: var(--text); }
.pinned:hover { border-color: var(--sky-deep); }
.pin-badge { flex: none; font-size: 11px; font-weight: 800; color: #fff; background: var(--pink-strong); border-radius: 6px; padding: 1px 8px; }
.pinned-title { font-weight: 700; font-size: 15px; line-height: 1.5; }
.pinned-meta { width: 100%; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.pinned-meta .ico { color: var(--sky-mid); }
.pin-thumb { object-fit: cover; padding: 0; background: #111; }
.post-name.is-admin { color: var(--pink-strong); }
.post-name.is-admin::after { content: "管理人"; margin-left: 6px; font-size: 10px; font-weight: 800; color: #fff; background: var(--pink-strong); border-radius: 6px; padding: 1px 6px; vertical-align: 1px; }

/* ===== 空のとき ===== */
.empty-mark { border-radius: 18px; display: block; margin: 0 auto 6px; }
.empty-title { font-weight: 800; font-size: 17px; margin: 6px 0 2px; }

/* ===== サイドバー：投稿ボタン・ルール ===== */
.side-post { display: flex; flex-direction: column; gap: 6px; }
.side-note { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.side-rules { list-style: none; margin: 6px 0 0; padding: 10px 12px; background: var(--sky-pale); border-radius: 14px; font-size: 14px; }
.side-rules li { padding: 3px 0 3px 1em; text-indent: -1em; }
.side-rules li::before { content: "・"; }

/* ===== スマホの「＋スレ作成」ボタン ===== */
.fab {
  position: fixed; right: 14px; z-index: 26; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 4px; padding: 0 18px 0 14px; height: 50px; border-radius: 999px;
  background: var(--pink-strong); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(221, 101, 132, 0.4); transition: opacity .2s, transform .2s;
}
.fab-plus { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--pink-strong); font-size: 17px; }
body.has-fixed-ad .fab { bottom: calc(56px + 22px + env(safe-area-inset-bottom)); } /* 広告の枠と、押しまちがえないだけの間をあける */
.fab.fab-hide { opacity: 0; transform: translateY(12px); pointer-events: none; }

