* {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  margin: 0px;
  padding: 0px;
  line-height: 150%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ページ全体の横スクロールを防ぐ */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

.smile {
  font-size: 13px;
}

.bbsform textarea {
  min-height: 174px;
  width: 100%;
  max-width: 100%;
  margin: 8px 0;
  padding: 8px;
  font-size: 14px;
  line-height: 20px;
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  transition: all 0.2s ease;
  background-color: var(--input-bg);
  color: var(--text-primary);
}

.bbsform textarea:focus {
  background: var(--input-focus-bg);
  border-color: var(--accent-color);
  outline: none;
}

input#title {
  font-size: 14px;
  width: 100%;
  max-width: 100%;
  padding: 8px;
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  transition: all 0.2s ease;
  background-color: var(--input-bg);
  color: var(--text-primary);
}

input#title:focus {
  background: var(--input-focus-bg);
  border-color: var(--accent-color);
  outline: none;
}

.postcategory {
  margin: 4px 0 2px;
}

input#submit {
  font-size: 14px;
  margin: 10px 0;
  width: auto;
  min-width: 120px;
  padding: 8px 20px;
  background: linear-gradient(to bottom, var(--btn-color, #4169e1), var(--btn-hover, #3658c8));
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

input#submit:hover {
  background: linear-gradient(to bottom, var(--btn-hover, #5179f1), var(--btn-color, #4668d8));
  transform: translateY(-1px);
}

.bbsform table,.bbsform td,.bbsform th {
  border: none;
  font-size: 13px;
}

input#indexsearch {
  width: 60%;
  margin: 6px 0 0;
  font-size: 12px;
}

input#name {
  margin: 12px 0 4px;
  font-size: 13px;
}

.submit_note {
  margin: 4px 0 6px;
}

.bbsform {
  font-size: 12px;
  padding: 1px 5px;
}

.btn_submit {
  margin: 0 8px 0px;
  font-size: 13px;
  padding-bottom: 2px;
}

.tools {
  font-size: 14px;
  margin: 6px 0 0;
}

body {
  margin: 0px;
  padding: 0px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: none;
  color: var(--text-link-hover);
}

a:link {
  color: var(--text-link);
}

a:visited {
  color: var(--text-link);
}

h1 {
  color: #1111cc;
}

img {
  max-width: 100%;
  max-height: 800px;
}

td,th {
}

#header {
  border-top: 4px solid var(--accent-color);
  width: 100%;
  background: var(--bg-primary);
}

#contents_top,#contents_th {
  background: var(--bg-primary);
  margin: 0;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

#footer {
  text-align: center;
  font-size: 12px;
  margin: 20px 0;
  padding: 15px;
  color: var(--text-secondary);
}

#head-int {
  margin: 0 auto;
  width: 100%;
  padding: 6px 4px;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

#title {
  flex: 0 0 auto;
  display: block !important;
  padding: 0 !important;
  min-width: 0;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

#title h1 {
  background: linear-gradient(to bottom, #4169e1, #3658c8);
  color: #ffffff;
  margin: 0;
  font-size: var(--font-size-header, 9px);
  padding: 5px 6px;
  font-weight: bold;
}

#title h1 a:link {
  color: #ffffff;
}

#title h1 a:visited {
  color: #ffffff;
}

#search {
  display: none !important;
}

.findform {
  margin: 10px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.searchform {
  background: #ff33aa;
  margin: 4px 0 12px;
  padding: 0 4px;
}

#create {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

#create input[type="button"] {
  font-size: 16px;
  padding: 5px 8px;
  background: linear-gradient(to bottom, var(--btn-color, #4169e1), var(--btn-hover, #3658c8));
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

#createsp a {
  color: #fff;
}

#contents {
  width: 100%;
  margin: 0;
  padding: 0;
}

#eyecatch {
  font-size: 13px;
  margin: 0;
  padding: 10px;
  text-align: left;
  line-height: 140%;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  width: 100%;
  box-sizing: border-box;
}

.introsp {
  margin: 4px 0;
}

#category {
  margin: 0;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

/* デスクトップ表示は非表示 */
.category-desktop {
  display: none;
}

/* モバイル表示のみ */
.category-mobile {
  display: block;
}

.category-scroll-row {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  padding: 5px 0;
  margin-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.category-scroll-row:last-child {
  margin-bottom: 0;
}

/* スクロールバーを完全に非表示 */
.category-scroll-row::-webkit-scrollbar {
  display: none;
}

.category-scroll-row {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* モバイル用カテゴリセル */
.category-mobile .cat_cell {
  flex: 0 0 auto;
  width: 100px;
  min-width: 100px;
  max-width: 100px;
  min-height: 34px;
  font-size: 11px;
  margin: 0;
  overflow: hidden;
  line-height: 1.3;
}

.category-mobile .cat_cell a {
  font-size: 11px;
  padding: 0 6px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}


.cat_cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-color-light);
  font-weight: bold;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 80px;
  min-height: 36px;
  padding: 4px 0;
}

.cat_cell a {
  color: var(--text-link);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-decoration: none;
}

.cat_cell:hover {
  background: #e8e8e8;
}

.cat_cell a:hover {
  color: #2c5aa0;
  text-decoration: none;
}


#contents_top,#contents_th {
  width: 100%;
  margin: 0;
}

table.thread-list {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  margin: 0;
  background: var(--bg-primary);
}

.tdres {
  text-align: center;
}

.tdres a {
  padding: 8px 12px;
}

table.thread-list th {
  padding: 8px;
  background: linear-gradient(to bottom, #4169e1, #3658c8);
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.thname {
  min-width: 74px;
}

td.name {
  color: #000;
  display: block;
  text-decoration: none;
  padding: 11px 12px 9px;
}

.tdposted {
  display: none;
}

.posted {
  display: none;
}

table.thread-list td {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  transition: background 0.2s ease;
}

table.thread-list tr:hover td {
  background: var(--bg-hover);
}

table.thread-list tr:last-child td {
  border-bottom: none;
}

table.thread-list a {
  display: block;
  text-decoration: none;
  color: var(--thread-title-color, var(--text-primary));
  transition: color 0.2s ease;
}

table.thread-list a:hover {
  color: var(--text-link);
}

.tdtitle {
  word-break: break-all;
  text-align: left;
}

.tdtitle a,.tdname a {
  display: block;
  padding: 10px 8px;
  line-height: 21px;
  color: var(--text-primary);
  font-weight: 500;
}

.tdtitle a {
  min-width: 240px;
}

.res {
  text-align: center;
  padding: 8px 8px 8px 8px;
}

.list-top {
  display: none;
}

.res_no {
  display: none;
}

.fdtitle {
  width: 40%;
}

.fdtitle a {
  padding: 8px 6px 8px 9px;
  line-height: 21px;
  min-width: 140px;
}

.named a {
  text-align: left;
  padding: 8px 6px 8px 6px;
  line-height: 21px;
  min-width: 106px;
}

.reslist {
  padding: 8px 8px 8px;
  text-align: center;
  display: none;
}

.sentence a {
  text-align: left;
  padding: 8px 9px 8px 6px;
  min-width: 133px;
  line-height: 21px;
}

.posted,.thposted {
  display: none;
}

#pager {
  margin: 20px 0 10px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

#pager ul.pages {
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-size: 12px;
  list-style: none;
}

#pager ul.pages li {
  float: left;
  margin: 0 9px 9px 0;
}

#pager ul.pages li span,
#pager ul.pages li a {
  float: left;
  padding: 5px 10px;
  background: var(--pager-bg);
  border: 1px solid var(--pager-border);
  color: var(--text-primary);
  border-radius: 4px;
  transition: all 0.2s ease;
}

#pager ul.pages li span {
  background: #4169e1;
  color: #ffffff;
  border-color: #4169e1;
  font-weight: bold;
}

#pager ul.pages li a:hover {
  background: #4169e1;
  color: #ffffff;
  border-color: #4169e1;
  text-decoration: none;
}

.bbsnav {
  padding: 10px;
  margin: 0;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
}

h1.th_title {
  color: var(--thread-title-color, var(--text-heading));
  font-size: 18px;
  margin: 0;
  padding: 15px 10px;
  background: linear-gradient(to right, #f0f5ff, transparent);
  border-left: 4px solid #4169e1;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}

.th_title b {
  text-decoration: none;
  cursor: default;
  color: var(--thread-title-color, inherit);
}

.th_title:hover b {
  text-decoration: none;
  color: var(--thread-title-color, #333);
}

.thres,.thposted,.thname {
  text-align: center;
  padding: 7px 9px 5px 9px;
}

.thsentence {
  min-width: 88px;
}

.thno {
  min-width: 28px;
}

.pager {
  margin: 12px 0;
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
}

.th_post {
  border-bottom: 1px solid var(--border-color);
  padding: 10px;
  margin: 0;
  transition: background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.th_post:hover {
  background: var(--bg-hover);
}

.th_post p {
  margin-left: 10px;
  margin-right: 0;
  max-width: 100%;
  word-wrap: break-word;
}

.th_post b,b.name {
  color: var(--text-link);
  font-weight: bold;
}

#pager2top {
  margin: 2px 0 12px 0;
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
}

#pager2bottom {
  padding: 8px 10px 0;
  margin: 0 0 4px 0;
  font-size: 13px;
  box-sizing: border-box;
}

#formbox {
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  background: var(--formbox-bg);
  border: none;
  box-sizing: border-box;
}

#formbox h3 {
  margin: -10px -10px 12px -10px !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
}

#formbox .bbsform {
  width: 100%;
}

#formbox .bbsform th {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 0 4px 0;
  font-weight: 600;
  font-size: 13px;
}

#formbox .bbsform td {
  display: block;
  width: 100%;
  padding: 0 0 12px 0;
}

#formbox .bbsform input[type="text"],
#formbox .bbsform input[type="password"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  padding: 8px;
  margin: 2px 0;
}

#formbox .bbsform input[type="file"] {
  width: 100%;
  max-width: 100%;
  font-size: 13px;
  margin-bottom: 4px;
}

#formbox .bbsform small {
  font-size: 11px;
}

#formbox #add-image-btn-container {
  margin-top: 0px;
}

#formbox #add-image-btn {
  font-size: 11px !important;
  padding: 4px 8px !important;
}

.contact textarea {
  font-size: 16px;
}

#contents h2 {
  font-size: 13px;
  margin: 72px auto;
  width: 240px;
  text-align: center;
}

.searchbox {
  font-size: 11px;
  padding: 1px 6px;
  width: 96%;
}

.searchform {
  padding: 22px 0;
}

.result {
  margin: 6px 0;
  padding: 0 10px;
  font-size: 11px;
  box-sizing: border-box;
}

.res {
  min-width: 34px;
}

td.res2 {
  border: none;
  width: 100%;
  font-size: 12px;
  padding: 0 2px;
}

td.res2 b a,
td.res2 a b {
  color: var(--username-color, inherit);
}

.res3 {
  word-break: break-all;
  font-size: var(--font-size-body, 14px);
  padding: 4px 3px 21px 4px;
  color: var(--text-primary);
}

.JT {
  width: 316px;
}

.contact_note {
  margin: 24px 0 6px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

h4 {
  padding: 10px 10px 0;
  margin: 0;
  box-sizing: border-box;
}

textarea.contact {
  font-size: 16px;
  width: 220px;
}

.findsearch input[type="submit"] {
  font-size: 16px;
  padding: 0 18px;
  vertical-align: middle;
}

input[type="text"] {
  font-size: 14px;
  padding: 6px 8px;
  border: 1px solid var(--border-color-light);
  border-radius: 4px;
  transition: all 0.2s ease;
  background-color: var(--input-bg);
  color: var(--text-primary);
}

input[type="text"]:focus {
  background: var(--input-focus-bg);
  border-color: var(--accent-color);
  outline: none;
}

input#indexkkfind {
  width: 333px;
  font-size: 15px;
}

input[type='radio'] {
  margin: 0 2px 0 0;
}
/*mobile*/
button,input[type="submit"],input[type="button"];
}

.mbr:before {
white-space: pre;
content: "\A";
}

.pc_block {
display: none;
}

.listpc {
display: none;
}

.intropc {
display: none;
}

a.numlink {
text-decoration: underline;
}

.pic {
font-size: 13px!important;
}

#search {
display: none;
}

/* モバイルでも新規スレッドボタンを表示 */
#create {
  flex: 0 0 auto;
  margin: 0 !important;
  margin-right: 30px !important;
  padding: 0 !important;
  display: block !important;
}

/* モバイル用ボタンを表示、PC用ボタンを非表示 */
.create-button-pc {
  display: none !important;
}

.create-button-mobile {
  display: inline-block !important;
  padding: 12px 18px !important;
  font-size: 14px !important;
}

.chpc {
display: none;
}

input.contact {
font-size: 13px;
}

input#contact_text {
width: 320px;
height: 174px;
}

input#confirm {
font-size: 15px;
width: 84px;
}

.sub_note {
  word-break: break-all;
  max-width: 100%;
  font-size: 13px;
  margin: 4px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.posttitle {
  margin: 10px 0 4px 0;
  padding: 0 10px;
  font-weight: bold;
  box-sizing: border-box;
}

.chlimit {
  margin: 2px 0 12px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

td.res2.mbr {
color: #7d7d7d;
}

input#find {
width: 90%;
margin: 6px 0 6px;
font-size: 13px;
}

input#findfind {
font-size: 12px;
width: 74px;
margin: 0 0 10px;
}

input#indexfind {
margin: 0 0 0 10px;
font-size: 12px;
width: 64px;
}

.findform {
  margin: 0 0 6px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.hitresult {
  margin: 0 0 14px 0;
  padding: 0 10px;
  font-size: 13px;
  box-sizing: border-box;
}

.notepage {
  font-size: 14px;
  line-height: 20px;
  margin: 4px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.scr_up_pc {
display: none;
}

.scr_down_pc {
display: none;
}

.scr_up_sp {
position: fixed;
z-index: 1;
opacity: 0.3;
right: 20px;
bottom: 112px;
}

.scr_down_sp {
position: fixed;
z-index: 1;
opacity: 0.3;
right: 20px;
bottom: 74px;
}

.adpc1 {
display: none;
}

.adspp {
text-align: center;
}

.adsp1 {
margin: 0;
z-index: 2;
position: relative;
text-align: center;
}

.adsp2 {
margin: 16px 0 16px;
z-index: 2;
position: relative;
text-align: center;
}

.adsp3 {
margin: 0 0 30px;
z-index: 2;
position: relative;
display: inline-block;
}

.respsp3 {
width: 320px;
height: 50px;
}

.adheader {
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.smp_imgur {
margin: 10px 0 0;
}

.counter {
margin: 24px 0 18px;
text-align: center;
}

/* 問い合わせフォーム用スタイル（モバイル） */
#formWrap {
  padding: 10px !important;
}

#formWrap h4 {
  font-size: 16px;
  margin: 0 0 10px 0;
  padding: 10px;
  background: linear-gradient(to bottom, var(--btn-color, #4169e1), var(--btn-hover, #3658c8));
  color: white;
  border-radius: 4px;
}

#formWrap p {
  font-size: 13px;
  line-height: 1.6;
  margin: 10px 0;
}

table.formTable {
  border: none !important;
}

table.formTable th {
  display: block;
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  padding: 8px 0 4px 0 !important;
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}

table.formTable td {
  display: block;
  width: 100% !important;
  border: none !important;
  padding: 0 0 12px 0 !important;
}

table.formTable tr {
  display: block;
  margin-bottom: 8px;
}

table.formTable input[type="text"] {
  width: 100% !important;
  font-size: 14px;
  padding: 10px;
  margin-bottom: 4px;
}

table.formTable textarea {
  width: 100% !important;
  min-height: 150px !important;
  font-size: 14px;
  padding: 10px;
}

.required-mark {
  color: #dc3545;
  font-size: 12px;
  font-weight: normal;
}

/* TASK-009: 外部サービス埋め込み - モバイル対応 */

/* bilibili埋め込み（横長動画） */
.bilibili-embed-container {
    margin: 12px auto;
    padding: 8px;
    background: var(--embed-bg);
    border: 2px solid var(--embed-border);
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 100%;
}

.bilibili-embed-container iframe {
    width: 100% !important;
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
    display: block;
}

/* iwara リンクカード */
.iwara-embed-container {
    margin: 12px 0;
}

.iwara-link-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
}

.iwara-link-card:active {
    transform: scale(0.98);
}

.iwara-icon {
    font-size: 18px;
}

/* TikTok埋め込み（縦長動画） */
.tiktok-embed-container {
    margin: 12px auto;
    display: flex;
    justify-content: center;
}

.tiktok-embed-container blockquote.tiktok-embed {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
}

/* TikTok blockquote内のテキスト部分を非表示 */
.tiktok-embed-container blockquote.tiktok-embed > section {
    display: none !important;
}

/* Instagram埋め込み（縦長） */
.instagram-embed-container {
    margin: 12px auto;
    padding: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.instagram-embed-container blockquote.instagram-media {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: unset !important;
    background: white;
    border-radius: 8px;
}

/* Bluesky埋め込み */
.bluesky-embed-container {
    margin: 12px auto;
    padding: 8px;
    background: var(--embed-bg);
    border: 2px solid #0085ff;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,133,255,0.15);
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.bluesky-embed-container blockquote {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
/* TASK-009: 外部サービス埋め込み - モバイル対応 */

/* TASK-008: アンカー機能強化（ツリー表示） - モバイル対応 */
.reply-count-container {
  margin-top: 10px;
  padding-top: 8px;
}

.reply-count-btn {
  background: linear-gradient(to bottom, #e3f2fd, #bbdefb);
  border: 1px solid #90caf9;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 13px;
  color: #1565c0;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.reply-count-btn:active {
  background: linear-gradient(to bottom, #bbdefb, #90caf9);
  transform: scale(0.98);
}

.reply-count-btn.active {
  background: linear-gradient(to bottom, #1976d2, #1565c0);
  color: white;
  border-color: #1565c0;
}

/* 返信ツリー */
.reply-tree {
  margin-top: 12px;
  padding: 12px;
  background: var(--reply-tree-bg);
  border-left: 4px solid #64b5f6;
  border-radius: 0 8px 8px 0;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.tree-reply {
  padding: 12px;
  margin-bottom: 10px;
  background: var(--tree-reply-bg);
  border-radius: 8px;
  border: 1px solid var(--tree-reply-border);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.tree-reply:last-child {
  margin-bottom: 0;
}

.tree-reply-header {
  margin-bottom: 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.tree-resno {
  color: #1976d2;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  padding: 2px 6px;
  background: #e3f2fd;
  border-radius: 4px;
}

.tree-resno:active {
  background: #bbdefb;
}

.tree-name {
  color: #2e7d32;
  font-weight: bold;
  font-size: 13px;
}

.tree-date {
  color: #9e9e9e;
  font-size: 11px;
}

.tree-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
  word-break: break-word;
}

.tree-loading {
  padding: 20px;
  text-align: center;
  color: #757575;
  font-size: 14px;
}

.tree-loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #90caf9;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tree-error {
  padding: 16px;
  text-align: center;
  color: #d32f2f;
  font-size: 14px;
  background: #ffebee;
  border-radius: 6px;
}

.tree-empty {
  padding: 16px;
  text-align: center;
  color: #757575;
  font-size: 14px;
}

/* レスハイライト効果 */
.th_post.highlight-reply {
  animation: highlight-fade-mobile 2s ease-out;
}

@keyframes highlight-fade-mobile {
  0% {
    background-color: #fff9c4;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.6);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}
/* TASK-008: アンカー機能強化（ツリー表示） - モバイル対応 */

/*
     FILE ARCHIVED ON 17:19:29 Jul 11, 2019 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 23:17:12 Jul 13, 2020.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  exclusion.robots: 329.536
  load_resource: 325.31
  esindex: 0.018
  RedisCDXSource: 27.963
  LoadShardBlock: 286.309 (3)
  PetaboxLoader3.resolve: 223.948 (3)
  xauthn.identify: 329.151
  PetaboxLoader3.datanode: 275.36 (5)
  exclusion.robots.policy: 329.52
  xauthn.chkprivs: 0.056
  captures_list: 666.329
  CDXLines.iter: 12.817 (3)
*/