/* ==========================================================================
 * 上古世纪编年史 工具页样式 · 统一青碧暗夜主题
 * 变量与基础组件复用 gta6_tools.css / dianhv_v3.css，这里定义三个工具专属样式。
 * ========================================================================== */

#tool-app { color: var(--ink, #e6fbfa); }

/* ============ 工具 1：职业武器速查 ============ */
.ac-class-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:20px; }
.ac-class-card { position:relative; overflow:hidden; background:#0f2c2b; border:1px solid rgba(0,206,209,.18);
  border-radius:12px; padding:18px 20px; transition:.2s; }
.ac-class-card::before { content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--neon,#00ced1); opacity:.75; }
.ac-class-card:hover { border-color:rgba(0,206,209,.45); transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.3); }
.ac-class-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:12px; }
.ac-class-head h3 { margin:0; font-size:16px; font-weight:900; color:#e6fbfa; }
.ac-class-head h3 small { font:700 10px var(--mono,ui-monospace,monospace); color:#5e8a88; margin-left:7px; }
.ac-class-head span { font-size:11px; color:#8fc4c1; }
.ac-class-head span b { color:#00ced1; }
.ac-chips { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:12px; }
.ac-class-card p { margin:0 0 7px; font-size:12px; line-height:1.7; color:#b8e6e4; }
.ac-class-card p:last-child { margin-bottom:0; }
.ac-class-card p b { color:#00ced1; font-weight:800; }
.ac-attr-wrap { background:#0f2c2b; border:1px solid rgba(0,206,209,.18); border-radius:12px; padding:18px 20px; }
.ac-attr-wrap h3 { margin:0 0 12px; font-size:14px; font-weight:900; color:#e6fbfa; display:flex; align-items:center; gap:8px; }
.ac-attr-wrap h3::before { content:""; width:5px; height:5px; border-radius:50%; background:#00ced1;
  box-shadow:0 0 0 3px rgba(0,206,209,.14); }
.ac-attr-table { width:100%; border-collapse:collapse; font-size:12px; }
.ac-attr-table th,.ac-attr-table td { border:1px solid rgba(0,206,209,.14); padding:9px 12px; text-align:left; color:#b8e6e4; }
.ac-attr-table th { background:#16403e; color:#e6fbfa; font-weight:800; }
.ac-attr-table td.tt-key { color:#00ced1; font-weight:800; width:120px; }

/* ============ 工具 2：开荒进度助手 ============ */
.checklist-tool { background:#0f2c2b; border:1px solid rgba(0,206,209,.18); border-radius:14px; padding:22px 24px 26px; }
.cl-head { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.cl-head h3 { margin:0 0 4px; font-size:18px; color:#e6fbfa; }
.cl-head p { margin:0; color:#8fc4c1; font-size:12px; }
.cl-progress { text-align:right; }
.cl-progress strong { display:block; font:900 28px/1 ui-monospace,monospace; color:#00ced1; }
.cl-progress span { font-size:11px; color:#8fc4c1; }
.cl-bar { height:8px; background:rgba(0,0,0,.35); border-radius:99px; overflow:hidden; margin:16px 0 12px; }
.cl-bar i { display:block; height:100%; background:linear-gradient(90deg,#00ced1,#40e0d0); border-radius:99px; transition:width .25s ease; }
.cl-cats { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:14px; }
.cl-cats span { font-size:11px; color:#8fc4c1; background:#16403e; border:1px solid rgba(0,206,209,.16);
  border-radius:99px; padding:3px 10px; }
.cl-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.cl-item { display:flex; align-items:flex-start; gap:11px; background:#0b2524; border:1px solid rgba(0,206,209,.14);
  border-radius:9px; padding:12px 13px; cursor:pointer; transition:.18s; }
.cl-item:hover { border-color:rgba(0,206,209,.45); background:#123634; }
.cl-item input { position:absolute; opacity:0; width:0; height:0; }
.cl-box { flex:none; width:20px; height:20px; border:1.5px solid #00ced1; border-radius:6px; color:transparent;
  font-size:13px; line-height:17px; text-align:center; margin-top:1px; transition:.18s; }
.cl-item.done { border-color:rgba(0,206,209,.4); background:rgba(0,206,209,.07); }
.cl-item.done .cl-box { background:#00ced1; color:#041414; }
.cl-item.done .cl-body b { color:#5e8a88; text-decoration:line-through; }
.cl-body { flex:1; min-width:0; }
.cl-body b { display:block; font-size:13px; margin-bottom:3px; color:#e6fbfa; }
.cl-body small { display:block; color:#8fc4c1; font-size:11.5px; line-height:1.55; }
.cl-tag { flex:none; font-size:10.5px; color:#5e8a88; border:1px solid rgba(0,206,209,.16);
  border-radius:99px; padding:2px 8px; }
.cl-reset { margin-top:16px; border:1px solid rgba(0,206,209,.3); background:rgba(0,206,209,.1); color:#b8e6e4;
  border-radius:8px; padding:7px 14px; font-size:12px; cursor:pointer; transition:.18s; }
.cl-reset:hover { border-color:#00ced1; color:#fff; background:rgba(0,206,209,.2); }

/* ============ 工具 3：资源材料速查 ============ */
.res-tool { background:#0f2c2b; border:1px solid rgba(0,206,209,.18); border-radius:14px; padding:20px 22px 24px; }
.res-filter { display:flex; gap:7px; flex-wrap:wrap; margin-bottom:16px; }
.res-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; }
.res-card { background:#0b2524; border:1px solid rgba(0,206,209,.14); border-radius:10px; padding:15px 16px; transition:.2s; }
.res-card:hover { border-color:rgba(0,206,209,.45); transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,.3); }
.res-tag { display:inline-block; font-size:10.5px; color:#00ced1; background:#16403e; border:1px solid rgba(0,206,209,.16);
  border-radius:99px; padding:2px 9px; margin-bottom:8px; }
.res-card h3 { margin:0 0 10px; font-size:15px; color:#e6fbfa; }
.res-card p { margin:0 0 6px; font-size:12px; color:#b8e6e4; line-height:1.6; }
.res-card p:last-child { margin-bottom:0; }
.res-card b { color:#00ced1; }

@media (max-width:980px) {
  .res-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .ac-class-grid,.cl-list { grid-template-columns:1fr; }
}
@media (max-width:560px) {
  .res-grid { grid-template-columns:1fr; }
}
