/* MYSTICAL BBS legacy fallback + four-board shared archive view. */
.bbslog-page{--bbs-edge:rgba(122,185,207,.24);--bbs-ice:#8ac8de;--bbs-ink:#263748;--bbs-paper:#ffffff;max-width:100%;}
.bbslog-page *{box-sizing:border-box}
.bbslog-page .bbs-hero{padding:27px 29px 24px;margin:0 0 20px;border:1px solid var(--bbs-edge);background:radial-gradient(circle at 89% 4%,rgba(95,194,213,.18),transparent 33%),linear-gradient(125deg,#163247,#081824);}
.bbslog-page .bbs-kicker{margin:0 0 8px;color:#96d9e8;font-size:10px;font-weight:700;letter-spacing:.19em}
.category-archive .bbslog-page .bbs-hero h1{font-size:clamp(22px,3vw,32px);color:#f5fbff;background:none;border:0;box-shadow:none;padding:0;margin:0 0 9px;letter-spacing:.04em}
.bbslog-page .bbs-hero>p:not(.bbs-kicker){color:#c2d7e2;line-height:1.9;font-size:13px;margin:0}
.bbslog-page .bbs-hero-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.bbslog-page .bbs-hero-meta span{border:1px solid rgba(137,202,221,.26);padding:4px 9px;background:rgba(12,37,52,.7);font-size:11px;color:#c7e7f0}
.bbslog-page .bbs-record-note{padding:15px 17px;background:rgba(120,191,218,.07);border-left:3px solid #76bbd0;margin-bottom:20px}
.bbslog-page .bbs-record-note strong{color:#bde6f3;font-size:13px}
.bbslog-page .bbs-record-note p{font-size:12px;color:#c0d1d9;line-height:1.8;margin:4px 0 0}
.bbslog-page .bbs-pagination{margin:20px 0 24px;padding:15px 18px;border:1px solid var(--bbs-edge);background:linear-gradient(145deg,#102637,#0a1928)}
.bbslog-page .bbs-pagination-info{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#c5d8e3;font-size:12px;margin-bottom:10px}
.bbslog-page .bbs-progress{height:4px;background:#294358;overflow:hidden;margin-bottom:14px}
.bbslog-page .bbs-progress span{display:block;height:100%;background:#85d4e4}
.bbslog-page .bbs-pagination-controls{display:flex;align-items:stretch;gap:7px;flex-wrap:wrap}
.bbslog-page .bbs-pager-btn,.bbslog-page .bbs-pager-disabled{display:inline-flex;justify-content:center;align-items:center;min-height:41px;padding:8px 11px;border:1px solid #426780;border-radius:4px;background:#1b3b50;color:#f2faff;font-size:12px;text-decoration:none;white-space:nowrap}
.bbslog-page .bbs-pager-btn:hover,.bbslog-page .bbs-pager-btn:focus-visible{background:#28546b;border-color:#9dddf0;color:#fff}
.bbslog-page .bbs-pager-disabled{opacity:.43;cursor:not-allowed}
.bbslog-page .bbs-pager-select-label{flex:1;min-width:135px}
.bbslog-page .bbs-page-select{width:100%;min-height:41px;padding:7px 9px;background:#eaf4f8;color:#153044;border:1px solid #72bbd4;border-radius:4px;font-size:13px}
.bbslog-page .bbs-pagination-hint{font-size:11px;color:#9eb9c9;margin:10px 0 0}
.bbslog-page .bbs-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:26px 0 12px}
.category-archive .bbslog-page .bbs-section-heading h2{font-size:18px;color:#d6ecf4;margin:0;border:0;background:none;padding:0;box-shadow:none}
.bbslog-page .bbs-section-heading span{font-size:12px;color:#aac3cf}
.bbslog-page .bbs-post{margin:0 0 12px;border:1px solid #bdd2de;border-radius:5px;background:var(--bbs-paper);box-shadow:0 3px 13px rgba(0,0,0,.09);color:var(--bbs-ink);overflow:hidden;scroll-margin-top:70px}
.bbslog-page .bbs-post:target{outline:2px solid #64c0dc;outline-offset:2px}
.bbslog-page .bbs-post-head{display:flex;align-items:center;flex-wrap:wrap;gap:6px 15px;padding:11px 16px;background:#dceaf6;border-bottom:1px solid #d0dfe9;font-size:12px;color:#435e70}
.bbslog-page .bbs-author{font-weight:750;color:#193e59;font-size:13px}
.bbslog-page .bbs-date{flex:1;font-variant-numeric:tabular-nums}
.bbslog-page .bbs-permalink{color:#356c87;text-decoration:none}
.bbslog-page .bbs-post-body{padding:18px 20px;overflow-wrap:anywhere;line-height:1.95;font-size:14px;color:#26394b}
.bbslog-page .bbs-post-body p{margin:0 0 1em!important;line-height:1.95!important;color:inherit!important;font-size:inherit!important}
.bbslog-page .bbs-post-body p:last-child{margin-bottom:0!important}
.bbslog-page .bbs-post-body a{color:#176b98;text-decoration:underline}
.bbslog-page .bbs-return{margin:22px 0;font-size:13px}.bbslog-page .bbs-return a{color:#9bdae8;text-decoration:underline}
.bbslog-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:680px){.bbslog-page .bbs-hero{padding:23px 18px}.bbslog-page .bbs-pagination{padding:13px 11px}.bbslog-page .bbs-pager-btn,.bbslog-page .bbs-pager-disabled{padding:7px 8px}.bbslog-page .bbs-pagination-controls{gap:5px}.bbslog-page .bbs-pager-select-label{min-width:100%;order:-1}.bbslog-page .bbs-post-head{padding:11px 13px}.bbslog-page .bbs-post-body{padding:14px 14px;font-size:13.5px}}
@media(prefers-reduced-motion:reduce){.bbslog-page .bbs-post{scroll-behavior:auto}}
/* CSV-powered archive viewer */
.bbslog-page .bbs-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin:22px 0 50px}
.bbslog-page .bbs-main{min-width:0;width:100%}
.bbslog-page .bbs-notice{background:#102d41;color:#d3eaf2;border-left:3px solid #76c1d7;padding:12px 16px;font-size:12px}
.bbslog-page .bbs-error{border:2px solid #eaa3a3;background:#fff5f5;color:#792329;padding:12px}
.bbslog-page .bbs-range-form fieldset{border:1px solid #466c83;border-radius:4px;display:flex;flex-wrap:wrap;gap:10px;align-items:end;margin:12px 0;padding:12px}
.bbslog-page .bbs-range-form legend{color:#d9f1fa;font-size:13px;padding:0 6px}
.bbslog-page .bbs-range-form label,.bbslog-page .bbs-limit-form label,.bbslog-page .bbs-original-form label{display:flex;flex-direction:column;gap:4px;color:#dbeaf3;font-size:12px}
.bbslog-page .bbs-range-form input{box-sizing:border-box;width:135px;max-width:100%;min-height:44px}
.bbslog-page .bbs-range-form input,.bbslog-page .bbs-limit-form select,.bbslog-page .bbs-original-form select{border-radius:4px;border:1px solid #608ba4;background:#f3f8fc;color:#152d3f;padding:8px 10px;font:inherit}
.bbslog-page .bbs-range-form button,.bbslog-page .bbs-limit-form button,.bbslog-page .bbs-original-form button{min-height:44px;border:1px solid #82cadb;border-radius:4px;background:#20536b;color:#fff;padding:9px 16px;cursor:pointer}
.bbslog-page .bbs-limit-form,.bbslog-page .bbs-original-form{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0}
.bbslog-page .bbs-range-form button:focus-visible,.bbslog-page input:focus-visible,.bbslog-page select:focus-visible,.bbslog-page button:focus-visible{outline:3px solid #90e8fb;outline-offset:2px}
.bbslog-page .bbs-number{font-weight:700;color:#185f82}
@media(max-width:900px){.bbslog-page .bbs-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.bbslog-page .bbs-range-form fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bbslog-page .bbs-range-form input{width:100%}.bbslog-page .bbs-range-form button{grid-column:1/-1}.bbslog-page .bbs-range-form label{min-width:0}}

/* Place the original-page selector ahead of the article-range tools. */
.bbslog-page .bbs-page-number-form{margin:10px 0 17px;padding:0 0 15px;border-bottom:1px solid rgba(122,185,207,.28)}
.bbslog-page .bbs-page-number-form label{min-width:min(210px,100%)}

/* BBS総合案内：Informationハブと共通のカード構造を使用 */
.bbslog-index .information-card-list{margin:26px 0 24px}
.bbslog-index .information-card{position:relative;overflow:hidden}
.bbslog-index .information-card-no{color:var(--info-card-number)}
.bbslog-index .information-card-arrow{color:var(--info-accent)}
.bbslog-index .bbslog-index-card-note{margin-top:6px}
.bbslog-index .bbslog-index-pending{cursor:default;opacity:.8}
.bbslog-index .bbslog-index-pending:hover{transform:none}
.bbslog-index .bbslog-index-status{color:var(--info-text-soft);font-size:11px;text-align:right;white-space:nowrap}
.bbslog-index .bbslog-index-notice{margin:28px 0 12px;padding:18px 22px;border:1px solid var(--info-box-border);border-radius:7px;background:linear-gradient(105deg,var(--info-box-bg-start),var(--info-box-bg-end))}
.bbslog-index .bbslog-index-notice h2{margin:0 0 10px;font-size:16px}
.bbslog-index .bbslog-index-notice p{margin:0;color:var(--info-text);font-size:13px;line-height:1.9}
@media(max-width:650px){
 .bbslog-index .information-card{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:12px 13px}
 .bbslog-index .information-card-body strong{font-size:13px}
 .bbslog-index .information-card-body small{font-size:10px}
 .bbslog-index .bbslog-index-status{font-size:10px}
 .bbslog-index .bbslog-index-notice{padding:15px 17px}
}

/* The shared renderer shows a title only when the original CSV has one. */
.bbs-post-title{padding:0.75rem 1.25rem 0;font-weight:700;color:#245875;background:#fff;}

/* BBS title is part of the blue post header, not the white body. */
.bbslog-page .bbs-post-head .bbs-post-title{flex:0 0 100%;padding:5px 0 1px;font-size:14px;line-height:1.55;font-weight:700;color:#245875;background:transparent;}
.bbslog-page .bbs-original-number{font-size:11px;color:#486c86;}

/* Shared renderer uses .bbs-eyebrow; legacy fallback uses .bbs-kicker. */
.bbslog-page .bbs-eyebrow{margin:0 0 8px;color:#96d9e8;font-size:10px;font-weight:700;letter-spacing:.19em}
