/* 通用栏目合并页：顶部标签 + 按需内容 */
.section-hub-lead{font-size:13px;color:var(--text-light);line-height:1.7;margin:-6px 0 12px}
.section-hub-tabs{display:flex;gap:4px;margin:0 0 16px;border-bottom:1px solid var(--border);
  overflow-x:auto;scrollbar-width:thin}
.section-hub-tab{flex:0 0 auto;padding:10px 16px;border:1px solid transparent;
  border-bottom:2px solid transparent;margin-bottom:-1px;border-radius:7px 7px 0 0;
  font-size:13.5px;font-weight:600;color:var(--text-light);text-decoration:none;
  white-space:nowrap;transition:color .15s,background .15s,border-color .15s}
.section-hub-tab:hover{color:var(--accent);background:var(--accent-soft)}
.section-hub-tab.is-active{color:var(--accent);border-bottom-color:var(--accent);
  background:var(--accent-soft)}
.section-hub-panel{display:none}
.section-hub-panel.is-active{display:block}
.section-hub-loading{padding:56px 20px;text-align:center;color:var(--text-faint);font-size:13px}
.section-hub-doc{background:var(--card-bg);border:1px solid var(--border);border-radius:10px;
  padding:16px 18px 18px;box-shadow:var(--shadow-sm);overflow:hidden}
.section-hub-doc-title{font-family:var(--serif);font-size:18px;font-weight:700;
  color:var(--text);margin-bottom:10px;line-height:1.4}
.section-hub-body{width:100%;overflow:auto;border:1px solid var(--border-soft);
  border-radius:7px;background:var(--card-bg);-webkit-overflow-scrolling:touch;padding:1px}
.section-hub-body table{width:100%;min-width:720px;border-collapse:collapse;font-size:13px;line-height:1.55;
  color:var(--text)}
.section-hub-body table + table{margin-top:10px}
.section-hub-body th,.section-hub-body td{border:1px solid var(--border-soft)!important;
  padding:4px 6px!important;vertical-align:top;text-align:left;white-space:normal;word-break:keep-all;overflow-wrap:normal}
.section-hub-body th{background:var(--table-header-bg)!important;color:var(--text-light)!important;
  font-weight:600!important;text-align:center;white-space:nowrap}
.section-hub-body caption{caption-side:top;text-align:left;font-weight:700;color:var(--text);
  padding:4px 2px 6px}
.section-hub-body td.t{background:var(--bg)!important}
.section-hub-body td[align="right"],.section-hub-body td.n{text-align:right!important}
.section-hub-body td[align="center"]{text-align:center!important}
.section-hub-body tr.y > td{background:var(--table-header-bg)!important}
.section-hub-body a{color:var(--accent)!important;text-decoration:none}
.section-hub-body a:hover{text-decoration:underline}
.section-hub-body img{max-width:100%;height:auto}
.section-hub-body h4{font-size:16px;color:var(--text);margin:0 0 8px}
.section-hub-body h5{font-size:14px;color:var(--text);margin:12px 0 6px}
.section-hub-body p{font-size:13px;line-height:1.7;color:var(--text);margin:0 0 8px}
.section-hub-body ul,.section-hub-body ol{margin:6px 0 8px;padding-left:22px}
.section-hub-body li{font-size:13px;line-height:1.7}
.section-hub-body small{font-size:11.5px;color:var(--text-light)}
.section-hub-body pre{white-space:pre-wrap;word-break:break-word;font-family:var(--sans);
  font-size:13px;line-height:1.7;color:var(--text);margin:0}
.section-hub-body input[type="text"],.section-hub-body input[type="number"]{
  background:var(--card-bg);border:1px solid var(--border);border-radius:5px;color:var(--text);
  font-family:inherit;font-size:13px;padding:3px 6px}
.section-hub-body input[type="button"],.section-hub-body button{
  background:var(--accent);border:1px solid var(--accent);border-radius:5px;color:#fff;
  font-family:inherit;font-size:12.5px;font-weight:600;padding:4px 10px;cursor:pointer}
.section-hub-body input[type="button"]:hover,.section-hub-body button:hover{filter:brightness(1.06)}

@media(max-width:768px){
  .section-hub-lead{font-size:12.5px;margin-bottom:10px}
  .section-hub-tabs{gap:2px;margin-bottom:12px}
  .section-hub-tab{padding:9px 11px;font-size:12.5px}
  .section-hub-doc{padding:11px}
  .section-hub-doc-title{font-size:16px}
  .section-hub-body table{font-size:12px}
  .section-hub-body th,.section-hub-body td{padding:3px 4px!important}
  .section-hub-body p,.section-hub-body li{font-size:12.5px}
}

/* 友情技能：三列表格在卡片内自适应 */
.section-hub-body table.friendship-skill-table{min-width:0!important;width:100%!important;table-layout:auto}
.section-hub-body table.friendship-skill-table th,
.section-hub-body table.friendship-skill-table td{white-space:normal!important;line-height:1.65}
.section-hub-body h3{font-family:var(--serif);font-size:15px;font-weight:700;color:var(--text);
  margin:18px 0 9px;padding-bottom:6px;border-bottom:1px solid var(--border-soft)}
.section-hub-body .friendship-armor{line-height:2;font-size:13px}
.section-hub-body .friendship-note{font-size:12px;color:var(--text-faint);margin-top:12px}

@media(min-width:769px){
  body[data-s7-rel="koneta/other.html"] .section-hub-tabs{flex-wrap:wrap;overflow:visible;row-gap:2px}
}
