/* ============================================================
   掲示板 詳細（UFO体験談 詳細） トップ準拠ダークテーマ
   スコープ: body.ufo-top   .bd-*
   ============================================================ */
.bd-topbar {
    border-bottom: 1px solid #16202f;
    background:
        radial-gradient(60% 140% at 20% 0%, rgba(255, 138, 30, .12) 0%, rgba(6, 9, 17, 0) 70%),
        linear-gradient(180deg, #0a1120 0%, #060911 100%);
}

.bd-topbar__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 20px;
}

.bd-main {
    min-width: 0;
}

/* 記事カード */
.bd-article {
    border: 1px solid #1a2434;
    border-radius: 10px;
    background: #0c111c;
    overflow: hidden;
}

.bd-article__head {
    padding: 22px 26px 20px;
    border-bottom: 1px solid #16202f;
    background: linear-gradient(180deg, #0e1524 0%, #0c111c 100%);
}

.bd-catrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.bd-catrow__new {
    padding: 2px 8px;
    border-radius: 3px;
    background: #ff3d3d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.bd-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: .01em;
    color: #f0f4fa;
}

.bd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    font-size: 12px;
    color: #8d99ab;
}

.bd-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bd-meta i {
    color: #ff8a1e;
}

.bd-share {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.bd-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #22304a;
    background: #10151f;
    color: #cdd7e5;
    font-size: 14px;
}

.bd-share a:hover {
    border-color: #ff8a1e;
    color: #ff8a1e;
}

.bd-article__body {
    padding: 24px 26px 26px;
}

.bd-image {
    display: block;
    margin: 0 0 22px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1a2434;
}

.bd-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.bd-body {
    font-size: 15px;
    line-height: 1.95;
    color: #c3ccd9;
    word-break: break-word;
}

.bd-body p {
    margin: 0 0 1em;
}

.bd-body p:last-child {
    margin-bottom: 0;
}

.bd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #16202f;
}

.bd-tags a {
    padding: 5px 11px;
    border: 1px solid #2a3850;
    border-radius: 3px;
    font-size: 11px;
    color: #a4b0c2;
}

.bd-tags a::before {
    content: "#";
    color: #ff8a1e;
    margin-right: 2px;
}

.bd-tags a:hover {
    border-color: #ff8a1e;
    color: #ff8a1e;
}

/* 評価 */
.bd-react {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.bd-react span,
.bd-react__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid #22304a;
    border-radius: 20px;
    font-size: 12px;
    color: #b7c2d2;
}

.bd-react__btn {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, background .15s, color .15s;
}

.bd-react__btn:hover {
    border-color: #ff8a1e;
    background: rgba(255, 138, 30, .08);
    color: #fff;
}

.bd-react__btn.is-voted {
    border-color: #ff8a1e;
    background: rgba(255, 138, 30, .16);
    color: #fff;
}

.bd-react__btn b {
    font-weight: 700;
}

.bd-react i {
    color: #ff8a1e;
}

/* 前後ナビ */
.bd-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
}

.bd-nav a {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #1a2434;
    border-radius: 8px;
    background: #0c111c;
    font-size: 12px;
    color: #c8d2e0;
}

.bd-nav a:hover {
    border-color: #ff8a1e;
}

.bd-nav__label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    color: #7d8798;
}

.bd-nav__label i {
    color: #ff8a1e;
}

.bd-nav a.is-next {
    text-align: right;
}

.bd-nav__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

/* コメント */
.bd-section {
    margin-top: 34px;
}

.bd-secttl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a2434;
    font-size: 18px;
    font-weight: 700;
}

.bd-secttl i {
    color: #ff8a1e;
    font-size: 16px;
}

.bd-secttl b {
    color: #ff8a1e;
}

/* 目撃情報の絞り込み導線（conts_bbs_detail_view の bd-guide） */
.bd-guide__lead {
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #9aa6b8;
}

.bd-guide__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 40px;
    padding: 18px 20px;
    border: 1px solid #1a2434;
    border-radius: 10px;
    background: #0a1017;
}

.bd-guide__col {
    min-width: 200px;
}

.bd-guide__ttl {
    margin-bottom: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    color: #ff8a1e;
}

.bd-guide__col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bd-guide__col a {
    font-size: 13.5px;
    line-height: 1.5;
    color: #c3cddb;
}

.bd-guide__col a:hover {
    color: #ff8a1e;
}

@media screen and (max-width: 767px) {
    .bd-guide__grid {
        gap: 16px 24px;
        padding: 16px;
    }

    .bd-guide__col {
        min-width: 140px;
    }
}

.bd-comment {
    padding: 18px 20px;
    margin-bottom: 14px;
    border: 1px solid #1a2434;
    border-radius: 8px;
    background: #0c111c;
}

.bd-comment__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.bd-comment__name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #e6ecf5;
}

.bd-comment__name i {
    color: #ff8a1e;
}

.bd-comment__date {
    flex: none;
    font-size: 11px;
    color: #7d8798;
}

.bd-comment__body {
    font-size: 14px;
    line-height: 1.85;
    color: #c3ccd9;
    word-break: break-word;
}

.bd-comment__imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.bd-comment__imgs img {
    width: 120px;
    height: 90px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid #1a2434;
}

.bd-comment__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    font-size: 12px;
}

.bd-comment__foot a {
    color: #ff8a1e;
}

.bd-comment__foot a:hover {
    color: #ffb066;
}

.bd-comment__acts {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.bd-clike {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border: 1px solid #22304a;
    border-radius: 16px;
    background: transparent;
    color: #b7c2d2;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.bd-clike i {
    color: #ff8a1e;
}

.bd-clike:hover {
    border-color: #ff8a1e;
    background: rgba(255, 138, 30, .08);
    color: #fff;
}

.bd-clike.is-voted {
    border-color: #ff8a1e;
    background: rgba(255, 138, 30, .16);
    color: #fff;
}

.bd-clike b {
    font-weight: 700;
}

.bd-empty {
    padding: 26px 10px;
    text-align: center;
    font-size: 13px;
    color: #8d99ab;
}

/* コメント投稿フォーム */
.bd-form {
    padding: 22px 24px 24px;
    border: 1px solid #1a2434;
    border-radius: 10px;
    background: #0c111c;
}

.bd-form__lead {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #16202f;
}

.bd-form__lead img {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #22304a;
}

.bd-form__lead p {
    font-size: 12px;
    line-height: 1.7;
    color: #9aa6b8;
}

.bd-form__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #d4dbe6;
}

.bd-form__req,
.bd-form__opt {
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.bd-form__req {
    background: #ff8a1e;
    color: #0a1120;
}

.bd-form__opt {
    background: #1c283a;
    color: #8d99ab;
}

.bd-submit {
    width: 100%;
    height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg, #ff8a1e, #ff6f00);
    color: #12160f;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.bd-submit:disabled {
    opacity: .6;
    cursor: default;
}

.bd-form__msg {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    min-height: 1.2em;
    color: #ffb066;
}

/* サイドバー back ボタン */
.bd-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #4d3a22;
    border-radius: 8px;
    background: #1a1108;
    color: #ffb066;
    font-size: 13px;
    font-weight: 700;
}

.bd-back:hover {
    background: #221609;
    color: #ffb066;
}

/* ---- スレッド番号 ---- */
.bd-catrow__num {
    margin-left: auto;
    font-size: 13px;
    font-weight: 700;
    color: #ff8a1e;
}

/* ---- 投稿者行（アバター付き） ---- */
.bd-poster {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.bd-poster__ava {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8a1e, #ff6f00);
    color: #12160f;
    font-size: 18px;
}

.bd-poster__info {
    min-width: 0;
}

.bd-poster__name {
    font-size: 14px;
    font-weight: 700;
    color: #e6ecf5;
}

.bd-poster__date {
    margin-top: 2px;
    font-size: 12px;
    color: #8d99ab;
}

.bd-poster__views {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #a4b0c2;
}

.bd-poster__views i {
    color: #ff8a1e;
}

/* ---- いいね／返信／シェア バー ---- */
.bd-actbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #16202f;
}

.bd-act {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 1px solid #333b47;
    border-radius: 8px;
    background: #10151d;
    color: #c8d2e0;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s, filter .15s;
}

.bd-act i {
    color: #9aa6b8;
}

.bd-act:hover {
    filter: brightness(1.12);
}

/* いいね！: 琥珀フィル＋オレンジ枠＋白文字 */
.bd-act--like {
    background: linear-gradient(180deg, rgba(255, 138, 30, .22), rgba(255, 138, 30, .10));
    border-color: #ff8a1e;
    color: #fff;
    box-shadow: 0 2px 16px rgba(255, 138, 30, .16);
}

.bd-act--like i {
    color: #fff;
}

.bd-act--like b {
    color: #fff;
    font-weight: 800;
}

.bd-act--like.is-voted {
    background: linear-gradient(180deg, rgba(255, 138, 30, .34), rgba(255, 138, 30, .18));
}

/* 返信する: 暗色フィル＋オレンジ枠＋オレンジアイコン */
.bd-act--reply {
    border-color: #ff8a1e;
    color: #e9eef6;
}

.bd-act--reply i {
    color: #ff8a1e;
}

/* シェア: 暗色フィル＋グレー枠 */
.bd-act--share {
    border-color: #333b47;
    color: #b7c2d2;
}

.bd-act--share i {
    color: #b7c2d2;
}

.bd-act b {
    font-weight: 800;
}

/* ---- 返信カード ---- */
.bd-reply {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
    border: 1px solid #1a2434;
    border-radius: 8px;
    background: #0c111c;
}

.bd-reply--best {
    border-color: #ff8a1e;
    background: linear-gradient(180deg, rgba(255, 138, 30, .10), rgba(255, 138, 30, 0) 60%), #0c111c;
    box-shadow: 0 0 0 1px rgba(255, 138, 30, .35);
}

.bd-best-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 3px 12px;
    border-radius: 14px;
    background: #ff8a1e;
    color: #12160f;
    font-size: 12px;
    font-weight: 700;
}

.bd-clike--static {
    margin-left: auto;
    cursor: default;
}

.bd-reply__thumb {
    position: relative;
    flex: none;
    display: block;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #1a2434;
    background: #060911;
}

.bd-reply__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-reply__more {
    position: absolute;
    right: 5px;
    bottom: 5px;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(6, 9, 17, .82);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.bd-reply__main {
    flex: 1;
    min-width: 0;
}

.bd-reply__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bd-reply__ava {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1c283a;
    color: #ff8a1e;
    font-size: 13px;
}

.bd-reply__who {
    min-width: 0;
}

.bd-reply__name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e6ecf5;
}

.bd-reply__date {
    display: block;
    font-size: 11px;
    color: #7d8798;
}

.bd-reply__top .bd-clike {
    margin-left: auto;
}

.bd-reply__text {
    font-size: 14px;
    line-height: 1.85;
    color: #c3ccd9;
    word-break: break-word;
}

.bd-reply__imgs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.bd-reply__imgs img {
    width: 92px;
    height: 68px;
    border-radius: 5px;
    object-fit: cover;
    border: 1px solid #1a2434;
}

.bd-reply__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    font-size: 12px;
}

.bd-reply__foot a {
    color: #ff8a1e;
}

.bd-reply__foot a:hover {
    color: #ffb066;
}

/* 左側（投稿者ページ・コメント個別ページ）は補助リンクなので目立たせない */
.bd-reply__foot a:not(.bd-replybtn) {
    color: #7c8798;
}

.bd-reply__foot a:not(.bd-replybtn):hover {
    color: #a9b5c6;
}

/* 「返信する」は同ページの投稿フォームへ送る主動線 */
.bd-replybtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 5px 12px;
    border: 1px solid #33404f;
    border-radius: 4px;
    background: #131b27;
    font-weight: 700;
    white-space: nowrap;
}

.bd-replybtn:hover {
    border-color: #ff8a1e;
    background: #1b2331;
}

/* すべての返信を表示 */
.bd-showall {
    margin-top: 8px;
}

.bd-showall .bbs-pager {
    margin-top: 0;
}

.bd-page-status {
    margin: 6px 0 0;
    text-align: center;
    font-size: 12px;
    color: #8894a6;
}

.bd-page-status strong {
    color: #ff8a1e;
    font-size: 14px;
    font-weight: 700;
}

/* ---- サイドバー: 最新の投稿 ---- */
.bbs-latest {
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed #1a2434;
}

.bbs-latest:first-child {
    padding-top: 0;
}

.bbs-latest:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.bbs-latest__title {
    font-size: 13px;
    line-height: 1.6;
    color: #d4dbe6;
    transition: color .15s;
}

.bbs-latest:hover .bbs-latest__title {
    color: #ff8a1e;
}

.bbs-latest__date {
    margin-top: 4px;
    font-size: 11px;
    color: #7d8798;
}

/* ---- サイドバー: 注目のコンテンツ ---- */
.bbs-card--accent .bbs-card__head {
    color: #ff8a1e;
}

.bd-feat {
    display: block;
    position: relative;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #1a2434;
    background: #0a0f18;
}

.bd-feat:last-child {
    margin-bottom: 0;
}

.bd-feat__img {
    display: block;
    height: 96px;
    background-size: cover;
    background-position: center;
}

.bd-feat__body {
    display: block;
    padding: 12px 14px 14px;
}

.bd-feat__title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #f0f4fa;
}

.bd-feat__desc {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.6;
    color: #8d99ab;
}

.bd-feat__btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 16px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff8a1e, #ff6f00);
    color: #12160f;
    font-size: 12px;
    font-weight: 700;
}

.bd-feat:hover .bd-feat__title {
    color: #ff8a1e;
}

