@import url('/board.css?v=20260928-2');

:root {
  --ink: #292929;
  --muted: #696969;
  --line: #dcdcdc;
  --blue: #3474e8;
  --orange: #e69b40;
  --dark: #292929;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #484848;
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
.site-frame { width: min(1200px, 100%); min-height: 100vh; margin: 0 auto; background: #fff; }
.utility-bar {
  min-height: 35px;
  padding: 5px 14px;
  display: flex;
  gap: 24px;
  align-items: center;
  background: #3d3d3d;
  color: #e5e5e5;
  font-size: 12px;
}
.utility-bar a:hover { color: #fff; }
.site-header {
  min-height: 98px;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--dark);
  color: #f8f8f8;
}
.brand { display: inline-block; font-size: 34px; font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.brand span { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: .36em; }
.header-symbol { width: 42px; height: 42px; border: 2px solid #dedede; border-radius: 50%; display: grid; place-items: center; color: #dedede; font-size: 14px; font-weight: 700; }
.primary-nav { min-height: 50px; display: flex; background: #242424; border-top: 1px solid #4e4e4e; border-bottom: 2px solid #484848; }
.primary-nav a { min-width: 150px; padding: 12px 20px; border-right: 1px solid #4b4b4b; color: #f4f4f4; text-align: center; font-size: 15px; font-weight: 700; }
.primary-nav a::before { content: '◆'; color: var(--orange); font-size: 10px; margin-right: 9px; vertical-align: 2px; }
.primary-nav a:hover { background: #383838; }
.page-layout { display: grid; grid-template-columns: minmax(0, 900px) 300px; align-items: stretch; min-height: 640px; }
.main-column { min-width: 0; padding: 24px 32px 70px; background: #fff; }
.side-column { min-width: 0; padding: 22px 12px 60px; background: #efefef; }
.quick-links { display: flex; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.quick-links span { flex: 1; padding: 15px 20px; background: #22262a; color: #fff; font-size: 16px; font-weight: 700; }
.quick-links span:first-child { flex: 0 0 120px; text-align: center; }
.listing-section { margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; border-bottom: 2px solid #333; }
.section-heading h1, .section-heading h2 { margin: 0 0 10px; font-size: 23px; font-weight: 700; line-height: 1.4; }
.section-heading span { color: #868686; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.post { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 30px 0 36px; border-bottom: 1px solid var(--line); }
.post-cover { display: block; }
.post-cover img, .image-placeholder { display: block; width: 190px; height: 264px; object-fit: cover; background: #ededed; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: #555; font-size: 14px; }
.post-meta span { color: #888; }
.post h2 { margin: 15px 0 14px; color: var(--blue); font-size: 28px; line-height: 1.4; font-weight: 700; }
.post h2 a:hover, .post-more:hover { text-decoration: underline; }
.post p { margin: 0 0 18px; font-size: 16px; line-height: 1.7; }
.post-more { color: var(--blue); font-size: 14px; font-weight: 700; }
.empty-state { margin: 0; padding: 42px 8px; color: #777; font-size: 15px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-list .empty-state { width: 100%; }
.category-pill { padding: 7px 12px; background: #f1f1f1; border: 1px solid #ddd; font-size: 14px; }
.side-block { margin: 0 0 25px; }
.side-block h2 { margin: 0 0 15px; padding: 0 0 7px; border-bottom: 1px solid #d4d4d4; font-size: 17px; font-weight: 700; }
.side-block h2::before { content: '◆'; margin-right: 8px; color: #333; font-size: 10px; vertical-align: 2px; }
.side-block .empty-state { padding: 5px 2px 14px; font-size: 13px; }
.side-block a, .side-block span { display: block; margin-bottom: 9px; font-size: 14px; }
.side-block a { color: var(--blue); }
.search-row { display: flex; height: 40px; }
.search-row input { min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #ddd; background: #fff; font-size: 14px; }
.search-row button { width: 45px; flex: 0 0 45px; border: 0; background: var(--blue); color: white; cursor: pointer; font-size: 27px; line-height: 1; }
#search-results { margin-top: 12px; }
#search-results .empty-state { padding: 7px 0; }
#profile-block strong { font-size: 14px; }
#profile-block p { font-size: 13px; }
footer { min-height: 65px; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #292929; color: #d3d3d3; font-size: 13px; }
footer small { font-size: 12px; }

@media (max-width: 850px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 260px; }
  .post { grid-template-columns: 150px minmax(0, 1fr); }
  .post-cover img, .image-placeholder { width: 150px; height: 210px; }
  .post h2 { font-size: 23px; }
}
@media (max-width: 650px) {
  body { background: #fff; }
  .utility-bar { font-size: 11px; }
  .site-header { min-height: 77px; padding: 12px 16px; }
  .brand { font-size: 27px; }
  .brand span { font-size: 8px; }
  .header-symbol { width: 35px; height: 35px; font-size: 11px; }
  .primary-nav { overflow-x: auto; }
  .primary-nav a { min-width: 125px; white-space: nowrap; font-size: 13px; }
  .page-layout { display: block; }
  .main-column { padding: 20px 18px 48px; }
  .quick-links span { padding: 11px; font-size: 13px; }
  .quick-links span:first-child { flex-basis: 94px; }
  .section-heading h1, .section-heading h2 { font-size: 21px; }
  .post { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .post-cover img, .image-placeholder { width: 96px; height: 138px; }
  .post-meta { font-size: 12px; gap: 7px; }
  .post h2 { margin: 6px 0 8px; font-size: 17px; }
  .post p { margin-bottom: 8px; font-size: 13px; }
  .post-more { font-size: 12px; }
  .side-column { padding: 25px 18px 35px; }
  footer { padding: 18px; font-size: 12px; }
}
