/* ====================================
   1. 现代基础样式重置 (CSS Reset)
   ==================================== */
*, *::before, *::after {
    box-sizing: border-box; /* 移动端极其关键：让 padding 和 border 不撑大容器 */
}

body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {
    margin: 0;
    padding: 0;
}

body, button, input, select, textarea {
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 加上移动端系统默认字体 */
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}

address, cite, dfn, em, var {
    font-style: normal;
}

code, kbd, pre, samp {
    font-family: courier new, courier, monospace;
}

small {
    font-size: 12px;
}

ul, ol, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #2d374b;
    -webkit-tap-highlight-color: transparent; /* 清除移动端点击 A 标签时的阴影高亮 */
}

a:hover {
    color: #EA4335;
}

a:active, a:hover {
    outline: 0;
}

legend {
    color: #000;
}

fieldset, img {
    border: 0;
}

button, input, select, textarea {
    font-size: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    vertical-align: middle;
}

/* 选中后背景色（已修复全角空格） */
::selection {
    color: #fff;
    background: #fd6114;
} 
::-moz-selection {
    color: #fff;
    background: #fd6114;
}

/* 移动端 头部导航菜单基底 */
.qb_wap_header {
    background: #4285F4;
    color: #fff;
    height: 45px;          /* 移动端黄金高度 */
    line-height: 45px;     /* 确保内部所有行内文字默认垂直居中 */
    padding: 0 15px;       /* 两侧留出 15px 的安全间距 */
    position: relative;    /* 核心：作为绝对定位的基准父级 */
}

/* 砍掉不需要的清除浮动 */
.qb_wap_header::after {
    display: none;
}

/* 左侧对齐的盒子（比如返回键或菜单键） */
.qb_wap_header div {
    position: absolute;
    left: 15px;            /* 靠左对齐，距离左边 15px */
    top: 0;
    height: 100%;
}

/* 核心修改 1：靠最右对齐的盒子 */
.qb_wap_header .R {
    right: 15px;
    left: auto;
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 16px;
}
.size-icon {
    font-size: 26px !important; /* 自定义尺寸，可改px/em/rem */
    /* 如需宽高、行高同步 */
    width: 22px;
    height: 26px;
    line-height: 22px;
}

/* 核心修改 2：中间的 A 标签（绝对居中） */
.qb_wap_header a {
    color: #fff;
    font-size: 18px;       
    
    position: absolute;    /* 绝对定位 */
    left: 50%;             /* 移动到屏幕物理水平居中的位置 */
    top: 50%;              /* 移动到屏幕物理垂直居中的位置 */
    transform: translate(-50%, -50%); /* 完美的上下左右双居中，无视两侧宽度 */
    
    white-space: nowrap;   /* 强行不换行 */
    margin: 0;             /* 扔掉原先干扰居中的 margin */
    padding: 0;
}

/* 菜单按钮微调 */
.web_menu_btn {
    margin: 0 5px 0 15px;
}