/*
Theme Name: tg
Theme URI: http://google.com
Author: tg
Author URI: http://google.com
Version: 1.0
*/


/* 手机端样式 */
@media (max-width:767px){
    ul#main_menu> *:nth-child(n+4) {
        display: none;
    }
    .dvwewrff{
        display: block!important;
    }
}
.dvwewrff{
        display: none;
    }
nav.pager_wrap {
    text-align: center;
}
div#dev_page_content iframe {
    max-width: 100%;
}

div#dev_page_content h3 {
    border-left: 3px solid #33a8e5;
    line-height: 1.8em;
    padding-left: 10px;
}
/* ✅ 目录容器样式 */
.toc-container {
  max-width: 420px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin: 0 auto 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 标题 */
.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.toc-header h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

/* 操作按钮 */
.toc-actions button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  margin-left: 6px;
}

/* TOC 列表 */
.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list ul {
  padding-left: 20px;
}

.toc-list a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.toc-list a:hover {
  color: #007bff;
}

/* 禁用项 */
.toc-list .disabled {
  color: #aaa;
  pointer-events: none;
  text-decoration: line-through;
}

.hide {
  display: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
