@charset "UTF-8";
/* このファイルは bbs.scss から生成されています。直接編集しないでください。 */
/* ============================================================
   bbs プラグイン専用スタイル（正本）
   scripts/compile_scss.php で bbs.css を生成する。.css は直接編集しない。
   /game/ 系と同じダーク基調（金×濃紺）に合わせる。
   規約：body は px／見出しは clamp／スマホ入力は 16px 固定／id・class はスネークケース小文字。
   ============================================================ */
.bbs {
  max-width: 820px;
  margin: 0 auto;
  color: #e6ebef;
}

/* ---- 見出し・導入 ---- */
.bbs_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_head_note {
  flex: 1 1 320px;
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: #b9c4cb;
}

.bbs_head_action {
  margin: 0;
}

.bbs_btn {
  display: inline-block;
  padding: 11px 24px;
  border: none;
  border-radius: 999px;
  background-color: #dd9a33;
  color: #16222e;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.bbs_btn:hover, .bbs_btn:focus-visible {
  background-color: #c4842a;
}
.bbs_btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.bbs_back {
  margin: 0 0 16px;
  font-size: 13px;
}
.bbs_back a {
  color: #dd9a33;
  text-decoration: none;
}
.bbs_back a:hover {
  text-decoration: underline;
}

/* 詳細ページの末尾に置く戻り導線（長いスレッドでも上に戻らず帰れるように） */
.bbs_back_bottom {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}
.bbs_back_bottom a {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(221, 154, 51, 0.45);
  border-radius: 999px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}
.bbs_back_bottom a:hover,
.bbs_back_bottom a:focus-visible {
  background-color: #dd9a33;
  color: #16222e;
  text-decoration: none;
}

/* ---- スレッド一覧 ---- */
.bbs_threads {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_thread {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_thread_link {
  display: block;
  padding: 16px 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.bbs_thread_link:hover, .bbs_thread_link:focus-visible {
  background-color: rgba(255, 255, 255, 0.04);
}

.bbs_thread_title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.bbs_thread_meta {
  display: block;
  font-size: 12px;
  color: #b9c4cb;
}

.bbs_empty {
  padding: 28px 6px;
  text-align: center;
  font-size: 13.5px;
  color: #b9c4cb;
}

/* ---- スレッド詳細 ---- */
.bbs_thread_head {
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_posts {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.bbs_post {
  padding: 16px 18px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  /* メンションから飛んできた時に、その投稿を目立たせる */
}
.bbs_post:target {
  border-color: #dd9a33;
  background-color: rgba(221, 154, 51, 0.08);
}

.bbs_post_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 12px;
}

.bbs_post_author {
  font-weight: 700;
  color: #fff;
}

.bbs_post_at {
  color: #b9c4cb;
}

.bbs_post_lock {
  padding: 2px 9px;
  border-radius: 999px;
  background-color: rgba(221, 154, 51, 0.16);
  color: #dd9a33;
  font-size: 11px;
  font-weight: 700;
}

.bbs_post_del {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: #b9c4cb;
  font-family: inherit;
  font-size: 11px;
  cursor: pointer;
}
.bbs_post_del:hover {
  border-color: #ffb0a8;
  color: #ffb0a8;
}

.bbs_post_body {
  font-size: 14px;
  line-height: 1.95;
  color: #e6ebef;
  word-break: break-word;
}

.bbs_mention {
  color: #dd9a33;
  font-weight: 700;
}

/* ---- 投稿フォーム ---- */
.bbs_form {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
}

.bbs_form_head {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.bbs_label {
  display: block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #b9c4cb;
}

.bbs_input,
.bbs_textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 16px; /* スマホでの自動ズーム防止（規約：フォーム入力は16px固定） */
  font-weight: 400;
  line-height: 1.8;
}
.bbs_input::placeholder,
.bbs_textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.bbs_input:focus-visible,
.bbs_textarea:focus-visible {
  outline: none;
  border-color: #dd9a33;
}

.bbs_textarea {
  resize: vertical;
}

/* select の候補リスト。
   ★ ネイティブのドロップダウンは OS 側の白背景で描かれるため、暗いテーマの
     文字色（白）をそのまま継承すると「白地に白文字」で読めなくなる。
     option に配色を明示して回避する。 */
select.bbs_input option {
  background-color: #1b2733;
  color: #ffffff;
}

.bbs_check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: #b9c4cb;
  cursor: pointer;
}

.bbs_form_msg {
  margin: 0 0 12px;
  min-height: 1em;
  font-size: 12.5px;
  line-height: 1.7;
  color: #ffb0a8;
}

.bbs_form_actions {
  margin: 0;
}

.bbs_login_notice {
  margin: 24px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  text-align: center;
  font-size: 13px;
  line-height: 1.85;
  color: #b9c4cb;
}
.bbs_login_notice a {
  color: #dd9a33;
  font-weight: 700;
  text-decoration: none;
}
.bbs_login_notice a:hover {
  text-decoration: underline;
}

/* ---- メンション候補 ---- */
.bbs_mention_box {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.bbs_mention_cand {
  padding: 6px 14px;
  border: 1px solid rgba(221, 154, 51, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #dd9a33;
  font-family: inherit;
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.bbs_mention_cand:hover, .bbs_mention_cand:focus-visible {
  background-color: #dd9a33;
  color: #16222e;
}

.bbs_mention_hint {
  margin: 0 0 10px;
  font-size: 11.5px;
  color: #b9c4cb;
}
.bbs_mention_hint code {
  padding: 1px 6px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
}

.bbs_chosen {
  margin: 0 0 12px;
  font-size: 12px;
  color: #b9c4cb;
}

.bbs_chosen_tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: rgba(221, 154, 51, 0.16);
  color: #dd9a33;
  font-weight: 700;
}

/* ---- ニックネーム（この名前で書き込みます） ---- */
.bbs_me {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.03);
}

.bbs_me_line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 12.5px;
  color: #b9c4cb;
}

.bbs_me_name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.bbs_me_edit {
  padding: 4px 14px;
  border: 1px solid rgba(221, 154, 51, 0.5);
  border-radius: 999px;
  background: transparent;
  color: #dd9a33;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.bbs_me_edit:hover, .bbs_me_edit:focus-visible {
  background-color: #dd9a33;
  color: #16222e;
}

.bbs_me_form {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  /* 入力欄は .bbs_input を流用するが、ここでは1行に収める */
}
.bbs_me_form .bbs_input {
  margin-top: 0;
}
.bbs_me_form .bbs_btn {
  padding: 10px 22px;
  font-size: 13px;
  white-space: nowrap;
}

.bbs_me_cancel {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #b9c4cb;
  font-family: inherit;
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.bbs_me_cancel:hover, .bbs_me_cancel:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* メッセージと注記はフォームの下に横幅いっぱいで置く */
.bbs_me_msg,
.bbs_me_note {
  grid-column: 1/-1;
  margin: 0;
}

.bbs_me_msg {
  min-height: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #ffb0a8;
}
.bbs_me_msg:empty {
  display: none;
}

.bbs_me_note {
  font-size: 11.5px;
  line-height: 1.8;
  color: #b9c4cb;
  padding: 10px 12px;
  border-left: 2px solid rgba(221, 154, 51, 0.5);
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 0 6px 6px 0;
}

@media (max-width: 560px) {
  .bbs_me_form {
    grid-template-columns: 1fr;
  }
  .bbs_me_form .bbs_btn,
  .bbs_me_form .bbs_me_cancel {
    width: 100%;
  }
}
/* ---- 板（ゲーム）の切り替えタブ ---- */
.bbs_boards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.bbs_board_tab {
  padding: 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #b9c4cb;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.bbs_board_tab:hover, .bbs_board_tab:focus-visible {
  border-color: #dd9a33;
  color: #dd9a33;
}
.bbs_board_tab.is_active {
  background-color: #dd9a33;
  border-color: #dd9a33;
  color: #16222e;
}

/* ---- カテゴリー（総合／質問／不具合報告 …） ---- */
.bbs_cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_cat_tab {
  padding: 5px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #b9c4cb;
  font-size: 12px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.bbs_cat_tab:hover, .bbs_cat_tab:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.bbs_cat_tab.is_active {
  background-color: rgba(221, 154, 51, 0.16);
  border-color: rgba(221, 154, 51, 0.5);
  color: #dd9a33;
  font-weight: 700;
}

/* スレッド一覧のカテゴリーバッジ */
.bbs_cat_badge {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 8px;
  border-radius: 4px;
  background-color: rgba(221, 154, 51, 0.16);
  color: #dd9a33;
  font-size: 11px;
  font-weight: 700;
}

/* ---- あなた宛てメンション ---- */
.bbs_inbox {
  margin-bottom: 26px;
  padding: 18px 20px;
  border: 1px solid rgba(221, 154, 51, 0.4);
  border-radius: 12px;
  background-color: rgba(221, 154, 51, 0.06);
}

.bbs_inbox_title {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #dd9a33;
}

.bbs_inbox_list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bbs_inbox_list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.bbs_inbox_list a {
  display: block;
  padding: 9px 0;
  text-decoration: none;
}
.bbs_inbox_list a:hover .bbs_inbox_text {
  color: #fff;
}

.bbs_inbox_from {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.bbs_inbox_text {
  font-size: 13px;
  color: #b9c4cb;
  transition: color 0.2s;
}

.bbs_inbox_thread {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(185, 196, 203, 0.75);
}

/* ---- 最新の書き込みウィジェット（/game/ 等） ---- */
.bbs_latest {
  padding: clamp(40px, 6vw, 72px) 0;
  background-color: #101b26;
}

.bbs_latest_title {
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 22px;
}

.bbs_latest_list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.bbs_latest_item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.bbs_latest_item a {
  display: block;
  padding: 14px 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}
.bbs_latest_item a:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.bbs_latest_thread {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #dd9a33;
  margin-bottom: 3px;
}

.bbs_latest_excerpt {
  display: block;
  font-size: 13.5px;
  line-height: 1.8;
  color: #e6ebef;
  margin-bottom: 3px;
}

.bbs_latest_meta {
  display: block;
  font-size: 11.5px;
  color: #b9c4cb;
}

.bbs_latest_lock {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  border-radius: 999px;
  background-color: rgba(221, 154, 51, 0.16);
  color: #dd9a33;
  font-weight: 700;
}

.bbs_latest_more {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
}
.bbs_latest_more a {
  color: #dd9a33;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.bbs_latest_more a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .bbs_head {
    flex-direction: column;
    align-items: stretch;
  }
  .bbs_post {
    padding: 14px;
  }
}