*{box-sizing:border-box;}
/* ===== スレッド詳細ページ ===== */
.breadcrumb{
  padding:14px 24px;font-size:13.5px;color:var(--muted);
  border-bottom:1px solid var(--line);
}
.breadcrumb a{color:var(--muted);text-decoration:none;}
.breadcrumb a:hover{color:var(--accent);}
.thread-header{padding:26px 24px 20px;border-bottom:1px solid var(--line);}
.thread-header .tags{display:flex;gap:6px;margin-bottom:12px;flex-wrap:wrap;}
.thread-header .tag{
  font-size:9.5px;font-weight:700;color:var(--accent);
  background:var(--accent-soft);border-radius:100px;padding:3px 9px;white-space:nowrap;
}
.thread-header .tag.area{color:var(--muted);background:var(--surface-2);border:1px solid var(--line);}
.thread-header h1{
  font-family:'Inter','Noto Sans JP',-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
  font-size:clamp(19px,3vw,25px);font-weight:800;margin:0 0 10px;line-height:1.4;
}
.thread-header .thread-meta{display:flex;gap:14px;font-size:13px;color:var(--muted);flex-wrap:wrap;}
.post{
  padding:22px 24px;
  border-bottom:1px solid var(--line);
  box-shadow:inset 0 -1px 0 var(--line);
}
.post-body{flex:1;min-width:0;}
.post-name-row{display:flex;align-items:baseline;gap:8px;margin-bottom:8px;flex-wrap:wrap;}
.post-name{font-size:15px;font-weight:700;color:var(--ink);}
.post-num{font-size:14px;font-weight:700;color:var(--accent);}
.post-badge{
  font-size:9px;font-weight:700;color:#fff;background:var(--gradient);
  border-radius:100px;padding:2px 8px;
}
.post-time{font-size:13px;color:var(--muted);}
.post-text{font-size:16px;color:var(--ink);line-height:1.8;white-space:pre-wrap;margin:0 0 12px;}
.post-actions{display:flex;gap:16px;}
.post-action{
  display:inline-flex;align-items:center;gap:5px;
  font-size:13px;color:var(--muted);background:none;border:none;cursor:pointer;font-family:inherit;
}
.post-action svg{width:15px;height:15px;}
.post-action:hover{color:var(--accent);}
.reply-count-bar{
  padding:14px 24px;font-size:14px;font-weight:700;color:var(--muted);
  background:var(--surface-2);border-bottom:1px solid var(--line);
}
.reply-form{
  padding:20px 24px;border-top:1px solid var(--line);background:var(--surface-2);
}
.reply-form textarea{
  width:100%;min-height:90px;border:1px solid var(--line);border-radius:10px;
  padding:12px 14px;font-size:15px;font-family:inherit;color:var(--ink);
  resize:vertical;background:var(--surface);
}
.reply-form-bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:10px;flex-wrap:wrap;}
.reply-form-note{font-size:13px;color:var(--muted);flex:1 1 200px;min-width:0;}
.reply-submit{
  background:var(--gradient);color:#fff;border:none;border-radius:100px;
  padding:11px 24px;font-size:15px;font-weight:700;cursor:pointer;font-family:inherit;
  flex:none;white-space:nowrap;
}
/* フローティング掲示板ボタン(全ページ共通) */
.float-board{
  position:fixed;right:22px;bottom:22px;z-index:50;
  display:flex;flex-direction:column;align-items:center;gap:6px;
  text-decoration:none;
}
.float-board .circle{
  width:56px;height:56px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--gradient);
  box-shadow:0 8px 22px -6px rgba(193,36,110,0.5);
  transition:transform 0.15s ease;
}
.float-board:hover .circle{transform:translateY(-2px);}
.float-board .circle-text{
  color:#fff;font-size:13px;font-weight:700;letter-spacing:0.02em;
  writing-mode:horizontal-tb;
}
@media (max-width:560px){
  .float-board{right:16px;bottom:16px;}
  .float-board .circle{width:54px;height:54px;}
  .float-board .circle-text{font-size:13px;}
}
.pf-tag{font-size:14px;color:rgba(255,255,255,0.55);margin:0 0 22px;line-height:1.7;}
@media (min-width:760px){
  .page-footer{padding:44px 24px 40px;}
  .pf-nav{flex-direction:row;flex-wrap:wrap;gap:0 26px;}
  .pf-nav a{border:none;padding:6px 0;}
  .pf-nav a:first-child{border-top:none;}
}
