/* 全局重置与通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}
ul, ol {
    list-style: none;
}
a {
    color: #333;
    text-decoration: none;
}
a:hover {
    color: #ff6600;
}
img {
    max-width: 100%;
    border: none;
    vertical-align: middle;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.container {
    width: 1200px;
    margin: 0 auto;
}
/* 顶部导航 */
.top-bar {
  background: #2b2b2b;
  color: #fff;
  height: 36px;
  line-height: 36px;
  font-size: 14px;
}
.top-left {
  float: left;
}
.top-left a {
  color: #eee;
  margin-right: 10px;
}
.top-left span {
  color: #666;
}
.top-right {
  float: right;
  color: #d8d7d6;
  line-height: 36px;
}

/* 头部 */
.header {
  background: #fff;
  padding: 15px 0;
}
.logo {
  float: left;
}
.search-box {
  float: right;
  margin-top: 10px;
}
.search-box form {
  display: flex;
  width: 380px;
}
.search-box input[type="text"] {
  flex: 1;
  height: 36px;
  padding: 0 10px;
  border: 2px solid #ff6600;
  outline: none;
}
.search-box button {
  width: 80px;
  height: 36px;
  background: #ff6600;
  color: #fff;
  border: none;
  cursor: pointer;
}
.hot-search {
  margin-top: 5px;
  font-size: 12px;
}
.hot-search a {
  margin-right: 8px;
  color: #666;
}

/* 主导航 */
.nav {
  background: #ff6600;
}
.nav ul li {
  float: left;
}
.nav ul li a {
  display: block;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  color: #fff;
  font-size: 16px;
}
.nav ul li a:hover,
.nav ul li.active a {
  background: #e55a00;
}

/* 面包屑 */
.breadcrumb {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #666;
}
.breadcrumb a {
  color: #666;
}

/* 全局宽度容器 w_1200 */
.w_1200 {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* 清除浮动通用 */
.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {
    zoom: 1;
}

/* 空白间距 h20 */
.h20 {
    height: 20px;
    overflow: hidden;
}

/* 面包屑样式 跟内容页一致 */
.breadcrumb {
    width: 1200px;
    margin: 0 auto 15px;
    height: 38px;
    line-height: 38px;
    font-size: 14px;
    color: #666;
}
.breadcrumb a {
    color: #666;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #ff6600;
}

/* 白色内容盒子 box_style */
.box_style {
    background: #ffffff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* 盒子标题 box_title */
.box_title {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.box_title .h3 {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin: 0;
    padding: 0;
}
/* 游戏列表专用样式 — 不影响全站、不挤压、不变形 */
.breadcrumb {
  height: 40px;
  line-height: 40px;
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}
.breadcrumb a {
  color: #666;
}
.breadcrumb a:hover {
  color: #ff6600;
}

.table_wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.game_table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.game_table th {
  height: 42px;
  line-height: 42px;
  background: #f7f7f7;
  font-weight: bold;
  color: #333;
  text-align: center;
  border: 1px solid #eee;
}

.game_table td {
  height: 44px;
  line-height: 24px;
  text-align: center;
  border: 1px solid #eee;
  padding: 0 8px;
  color: #555;
}

.game_table tr:hover {
  background: #fafafa;
}

.game_name a {
  color: #333;
  font-weight: bold;
}
.game_name a:hover {
  color: #ff6600;
}

.btn_view {
  display: inline-block;
  width: 88px;
  height: 26px;
  line-height: 26px;
  background: #ff6600;
  color: #fff !important;
  border-radius: 3px;
  font-size: 12px;
  text-align: center;
}
.btn_view:hover {
  background: #e55a00;
  color: #fff !important;
  text-decoration: none;
}

.pagecode {
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
.pagecode a,
.pagecode span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border: 1px solid #eee;
  color: #666;
}
.pagecode span.disabled {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
}
.pagecode a:hover {
  background: #ff6600;
  color: #fff;
  border-color: #ff6600;
}

/* 底部 */
.footer {
    background: #333;
    color: #999;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 14px;
}
.footer p {
    margin-bottom: 10px;
}
.footer a {
    color: #999;
}