/* VamSeek 掲示板。2000 年代の 2ch の見た目（灰色の地・赤いスレタイ・緑の名前） */
body { margin: 0; padding: 8px 12px 24px; background: #efefef; color: #000; font: 16px/1.5 "MS PGothic", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic ProN", "Osaka", sans-serif; }
a { color: #00e; }
a:visited { color: #551a8b; }
h1 { margin: 0; font-size: 24px; line-height: 28px; color: #f00; font-weight: bold; }
#nav { display: flex; align-items: center; gap: 10px; min-height: 32px; margin: 2px 0 6px; }
#nav .spacer { flex: 1; }
#storeBadge { display: block; height: 28px; flex-shrink: 0; }
#storeBadge img { display: block; height: 28px; width: auto; border-radius: 4px; }
h1 a, h1 a:visited { color: #f00; text-decoration: none; }
.lead { margin: 0 0 10px; font-size: 14px; }
#top, .box { background: #fff; border: 1px solid #c0c0c0; padding: 8px 12px; margin-bottom: 10px; }
#top { background: #ffe; }
#backToVam { box-sizing: border-box; display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border: 1px solid #888; border-radius: 4px; background: #fff; color: #000; font-size: 14px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
#backToVam:hover { background: #eee; }
.box h2 { margin: 0 0 6px; font-size: 18px; color: #f00; }
.list { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.list li { padding: 1px 0; }
.list .n { color: #000; }
.thread-title { font-size: 20px; color: #f00; margin: 4px 0 10px; }
dl.posts { margin: 0; }
dl.posts dt { margin-top: 10px; font-size: 15px; }
dl.posts dt .no { cursor: pointer; }
dl.posts dt .name { color: #228b22; font-weight: bold; }
dl.posts dt .name.mail { color: #00e; text-decoration: underline; }
dl.posts dt .id { color: #000; }
dl.posts dt .name.admin { color: #c00; }
dl.posts dt .adminmark { display: inline-block; font-size: 11px; line-height: 1.4; color: #c00; border: 1px solid #c00; border-radius: 3px; padding: 2px 6px; vertical-align: 1px; }
.list li.pinned { background: #ffe; }
.list .pin { display: inline-block; font-size: 11px; line-height: 1.4; color: #c00; border: 1px solid #c00; border-radius: 3px; padding: 2px 6px; vertical-align: 1px; }
.list li.pinned { padding: 3px 4px; }
dl.posts dt a.tr { font-size: 12px; color: #888; text-decoration: none; }
dl.posts dt a.tr:hover { color: #00e; }
dl.posts dd .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
dl.posts dd .link-card { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border: 1px solid #aaa; border-radius: 12px; background: #f7f7f7; color: #000; font-size: 13px; text-decoration: none; white-space: nowrap; }
dl.posts dd .link-card:hover { background: #e8e8ff; border-color: #00e; }
dl.posts dd .trbox { margin-top: 6px; padding-left: 8px; border-left: 2px solid #c8c8c8; color: #444; }
dl.posts dd .trby { display: block; font-size: 11px; color: #999; }
dl.posts dt a.del { font-size: 12px; color: #888; text-decoration: none; }
dl.posts dt a.del:hover { color: #c00; }
dl.posts dd { margin: 2px 0 0 2em; white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; }
dl.posts dt.deleted, dl.posts dd.deleted { color: #888; }
dl.posts :target { background: #ffc; }
.over { margin: 12px 0; color: #f00; font-weight: bold; }
button.remove { margin-top: 10px; font: inherit; font-size: 13px; padding: 2px 10px; color: #c00; background: #fff; border: 1px solid #c00; border-radius: 3px; cursor: pointer; }
button.remove:hover { background: #fee; }
form.post { margin-top: 8px; }
form.post .row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 6px; font-size: 14px; }
form.post input { font: inherit; font-size: 14px; padding: 1px 3px; width: 12em; }
form.post .title-row input { width: 28em; max-width: 90vw; }
form.post textarea { display: block; width: 100%; max-width: 46em; box-sizing: border-box; font: inherit; font-size: 15px; }
form.post button { font: inherit; font-size: 14px; padding: 2px 14px; cursor: pointer; }
form.post .err { color: #f00; font-weight: bold; margin-top: 4px; font-size: 14px; }
form.post .err:empty { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nav { font-size: 14px; margin: 6px 0; }
#foot { margin-top: 18px; font-size: 13px; color: #555; }
@media (max-width: 600px) {
  h1 { font-size: 20px; }
  #nav { flex-wrap: wrap; }
  #nav h1 { flex-basis: 100%; }   /* 狭い幅では板の名前を 1 行目に、バッジと戻るを 2 行目に */
  #nav .spacer { flex: 1; }
  .lead { font-size: 13px; }
  body { padding: 6px 8px 20px; font-size: 15px; }
  dl.posts dd { margin-left: 0.6em; }
  form.post input { width: 100%; }
}
