@charset "utf-8";
/* ==========================================================================
   base.css — 重置、全局排版、工具类
   复刻自 fu365 主页（晴天CMS / skin20）的实际计算样式
   ========================================================================== */

/* --- 重置 ---------------------------------------------------------------- */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, em, img, strong, b, i, dl, dt, dd, ol, ul, li,
form, fieldset, label, legend, input, button, textarea, select, iframe {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

ul, ol { list-style: none; }

/* 原站是 content-box，图标/边线宽度依赖它，不要改成 border-box */
* { box-sizing: content-box; }

html {
  zoom: 1;
  background: #f6f6f6;
}

body {
  font: 12px/1.5 Tahoma, Geneva, "Microsoft YaHei", sans-serif;
  color: #000;
  -webkit-text-size-adjust: none;
}

/* --- 链接 ---------------------------------------------------------------- */
a {
  color: #3d3d3d;
  text-decoration: none;
}

a:hover {
  color: #f00;
  text-decoration: underline;
}

img { vertical-align: baseline; }

input, button, textarea, select {
  font: 12px/1.5 Tahoma, Geneva, "Microsoft YaHei", sans-serif;
  outline: none;
}

input[type="text"], input[type="password"] { background: #fff; }

/* --- 工具类 -------------------------------------------------------------- */
/* .cf 与 .clearfix 同义：.clearfix 沿用原站类名，供换肤面板的分类条使用 */
.cf,
.clearfix { *zoom: 1; }

.cf::after,
.clearfix::after {
  content: "\0020";
  display: block;
  clear: both;
  height: 0;
}

.fl { display: inline; float: left; }
.fr { display: inline; float: right; }

.martop10 { margin-top: 10px; }

/* 仅供读屏，不影响布局 */
.u-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* hidden 属性兜底：作者样式里的 display 会覆盖 UA 的 [hidden]{display:none}，
   这里统一强制，元素只靠 hidden 属性显隐（搜索下拉面板、登录弹窗都靠它）。 */
[hidden] { display: none !important; }

/* --- 无障碍：键盘 Tab 时给链接/按钮保留焦点环 ---
   注：原站全局 outline:none，输入框即使聚焦也无描边；
   此处只对 a / button 生效，避免搜索框自动聚焦后多出蓝框。 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #4691d5;
  outline-offset: 1px;
}
