body, div, p, a, table, textarea, form, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    padding: 4px;
    margin: 0px;
    -webkit-text-size-adjust: none;
    /* v3.96：去掉 -webkit-user-select:none —— 玩家要能选中/复制正文（战报、数值、链接），
       原来整页禁选导致长按也无法复制。外观样式不变。 */
    /* v4.68.202：去掉顶部浅蓝渐变图（pgconvert.png，2x114 浅蓝→白 repeat-x）——
       用户要求删除（"浅蓝色去掉不需要了"）。顶部深蓝标题条是 .crumb-nav-large
       （home.css bar.gif 平铺），与本条无关，保持不动。改两份：res/css 与 res/res/css。 */
    background: #FFF;
    font-size: 19px;
    /* v3.77：行距恢复 1.5 —— v3.76 收到 1.35 后用户反馈整页太挤；
       用户真正要的是主页建筑区对齐（home.go 内处理），不是全局压行距。 */
    line-height: 1.5;
}

/* v4.68.205：玩家页 <b> 加粗黑体改正常字重 —— 任务/装备/道具页标题原本
   用 <b> 标签渲染成粗体，用户要求全部改正常字体。admin 后台用独立样式
   不受影响。改两份：res/css 与 res/res/css。 */
b, strong {
    font-weight: normal;
}

/* 输入框里保持可选中（v3.96 起全局已可选，这里只保证 iOS 聚焦不缩放字号）。 */
input:not(.btn), textarea, select {
    -webkit-user-select: text;
    user-select: text;
    font-size: 16px;
}

.game_nav {
    background: #302828;
    color: white;
    font-size: 15px;
    padding: 2px 0px 2px 3px;
    color: white;
    font-style: italic;
    padding-left: 10px;
}

.main {
}

div img {
    margin-right: 2px;
    vertical-align: middle;
}

img {
    display: inline;
    border: 0px;
}

div img {
    max-width: 100%;
    width: exPRession(document.body.clientWidth>250?"250px":"auto");
    overflow: hidden;
}

.logo {
    margin: 5px 5px;
    max-height: 120px;
}

.step-logo {
    max-height: 120px;
}

.head {
}

.title {
}

.content {
    /* v3.75：主页上下间距略微收紧（5px→2px） */
    margin: 2px 2px;
}

.item {
    margin-left: 2px;
}

.border {
    border-bottom: 1px dashed #9f8d8d;
}

.tips {
}

.menu {
}

.clear {
    height: 3px;
}

.foot {
}

a {
    text-decoration: none;
}

a:link {
    color: #1e5494;
    /* v4.42：对齐 121 mcStyle_1.css（display:inline; margin:4px 1px）。
       此前 inline-block + 左右 4px，链接之间空隙过宽（用户反馈「字体间隔有点宽」）。 */
    display: inline;
    margin: 4px 1px 4px 1px;
}

a:visited {
    color: #1e5494;
}

a:hover, a:active, a:focus {
    /* v3.62：必须 !important —— 页面级规则（.module-content a{color:#0051A4}、
       .Nick-* a{color:...}、内联 style="color:red" 等）与 a:hover 同优先级或更高，
       且 home.css 在 index.css 之后加载，会把这里的白字顶回深蓝/红色；
       而背景 #1e5494 没有任何规则覆盖，于是悬停/点击（手机点一下会残留 :focus）
       就变成「深蓝底 + 深蓝（红）字」，文字被背景吞掉看不清。
       本规则背景恒为 #1e5494，强制白字即可保证对比度。 */
    color: #FFFFFF !important;
    background: #1e5494;
}

form {
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.a-nomargin {
    margin: 0;
}

.a-nodec {
    text-decoration: none;
}

.text-red {
    color: red;
}

    .text-red a {
        color: red;
    }

.fight-tag {
    display: inline-block;
    padding: 0 4px;
    margin-right: 4px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 18px;
    color: #fff;
    font-weight: normal;
    vertical-align: baseline;
}

.fight-tag-self {
    background: #2a9d8f;
}

.fight-tag-enemy {
    background: #d62828;
}

.fight-tag-atk {
    background: #3a86ff;
}

.fight-tag-def {
    background: #6c757d;
}

.fight-camp-atk {
    color: #2563eb;
    font-weight: normal;
}

.fight-camp-def {
    color: #d62828;
    font-weight: normal;
}

.page-msg {
    color: red;
}

.common {
}

    .common img {
        margin-right: 2px;
        vertical-align: middle;
    }

.PageTips {
    font-size: 15px;
    font-weight: normal;
}

.algin-center {
    text-align: center
}

.input {
    line-height: 30px;
}

.ipt {
    width: 60%;
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    /* v3.96：去掉 user-select:none，按钮文字也要能随正文一起复制；
       touch-action 保留，双击不会触发缩放。 */
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.btn-waring {
    color: #fff;
    background-color: #FE5E08;
    border-color: #FE5E08;
}

.btn-ret {
    border-color: #d2d2d2;
    background: 0 0;
    color: #666;
}

.chat {
    word-wrap: break-word;
}

    .chat img {
        margin-right: 2px;
        vertical-align: middle;
    }

.em {
    height: 22px;
    width: 22px;
}

.ftbtn {
    margin-top: 15px;
}

.equImg-min {
    width: 18px;
    height: 18px;
}

.user-head {
    max-height: 25px;
    max-width: 25px;
}
/******װ����ʽ******/
.equImg {
    max-width: 130px;
    max-height: 230px;
}

.tq {
    background-image: url('/images/site/equ/tq.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.ty {
    background-image: url('/images/site/equ/ty.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.ms {
    background-image: url('/images/site/equ/ms.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.zx {
    background-image: url('/images/site/equ/zx.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.sy {
    background-image: url('/images/site/equ/sy.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.gw {
    background-image: url('/images/site/equ/gw.png');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.ly {
    background-image: url('/images/site/equ/ly.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.hm {
    background-image: url('/images/site/equ/hm.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.j_r {
    background-image: url('/images/site/equ/r.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

.j_l {
    background-image: url('/images/site/equ/l.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px; /*����ͼƬ��С*/
}

/**********End*******/

/* Packaged fallback icons. The original 15px bitmaps are not in the release. */
.tq, .ty, .ms, .zx, .sy, .gw, .ly, .hm, .j_r, .j_l {
    background-image: none !important;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 3px;
    box-sizing: border-box;
}
.tq { background-color: #d6b04c; }
.ty { background-color: #c98a44; }
.ms { background-color: #73869b; }
.zx { background-color: #865bb5; }
.sy { background-color: #3b9f79; }
.gw { background-color: #ba5f55; }
.ly { background-color: #77a84c; }
.hm { background-color: #765a42; }
.j_r { background-color: #c85f5f; }
.j_l { background-color: #4f81bd; }
/***����***/
.dup {
    background-image: url('/images/site/dup/dup.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
}
/***����***/
.task-ret {
    background-image: url('/images/site/tr.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
}

.task-get {
    background-image: url('/images/site/tg.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
}
/*�Ź�ͼƬ*/
.gray {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}

/*�Ź���ʽ*/
.wrapper {
    display: grid;
    grid-template-columns: 51px 51px 51px;
    grid-template-rows: 51px 51px 51px;
    margin-left: 10px;
}

.list {
    background: #eee;
    margin-right: 1px;
    margin-bottom: 1px;
}

    .list img {
        width: 50px;
        height: 50px;
    }

/********����*******/
.mounthImg {
    width: 120px;
    height: 120px;
}

/***�㲥***/
.broad {
    font-size: 15px;
}

.broad-gift {
    background-image: url('/images/site/broad/gift.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
    border: 0;
}

.broad-system {
    background-image: url('/images/site/broad/system.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
}

.broad-award {
    background-image: url('/images/site/broad/award.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
}

.broad-remind {
    background-image: url('/images/site/broad/remind.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
}

.broad-promote {
    background-image: url('/images/site/broad/promote.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
}

.broad-hot1 {
    background-image: url('/images/site/broad/hot1.gif');
    background-repeat: no-repeat;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: 18px; /*����ͼƬ��С*/
    margin-right: 2px;
    vertical-align: middle;
}
/****����***/
.gift {
    width: 20px;
    height: 20px;
}

.attire {
    height: 200px;
    width: 125px;
}

/****��ʱ�****/
.act_item {
    margin-bottom: 10px;
    border: 1px solid #9f8d8d;
    border-radius: 16px;
    padding: 5px;
}

.act_menu a {
    font-size: 14px;
    font-weight: normal;
}

.act_content {
    font-size: 14px;
}

.act_header {
    text-align: center;
}

.m_act_head {
    text-align: center;
}

.m_act_head {
    text-align: center;
}

.m_act_item {
    border-bottom: 1px dashed #9f8d8d;
}

.m_act_title {
    font-weight: normal;
    font-size: 16px;
}

.m_act_con {
    font-size: 15px;
    padding: 3px;
    text-indent: 2em;
}

    .m_act_con a {
        font-size: 15px;
    }

.badge {
    max-height: 25px;
    max-width: 25px;
}

.nick-decoration {
    max-height: 25px;
    width: auto;
}

.badge.nick-decoration {
    max-width: none;
}

.maxname {
    max-height: 150px;
    max-width: 250px;
}

/* v4.68.176：底部可达性——不再用 body padding-bottom（UCWEB 老内核忽略），
   也不再放大页脚字体（用户反馈「不用变大字体」）。改为 page.go 页脚后输出
   真实占位 div，把布局下拉 64px，让最后一行离开屏幕底边。 */
.foot-spacer {
    height: 64px;
    overflow: hidden;
    font-size: 0;
    line-height: 0;
}
