/* ============================================================
   一米游 · 移动端（WAP）样式
   页面：首页 / 找游戏 / 礼包 / 个人中心
   设计语言：与 PC 新版一致（黄黑配色），移动端卡片式布局
   ============================================================ */

:root {
    /* 2026-11-20 与 PC 端黄黑配色对齐：主色黄、深黄做描边/hover、
       黄色文字在白底上不可读，文字场景统一走 --w-primary-ink */
    --w-primary: #f9da01;
    --w-primary-d: #e8c400;
    --w-primary-l: rgba(249, 218, 1, .16);
    --w-primary-ink: #a07c00;
    --w-on-primary: #111111;
    --w-bg: #f4f6f8;
    --w-card: #ffffff;
    --w-t1: #1a2126;
    --w-t2: #6b7580;
    --w-t3: #9aa4ae;
    --w-line: #eef1f4;
    --w-red: #ff5a5f;
    --w-hd-h: 50px;
    --w-tab-h: 54px;
    --w-r: 14px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
    background: var(--w-bg);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    color: var(--w-t1);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    border: 0;
}

input,
button {
    font-family: inherit;
    outline: none;
}

/* 页面容器：宽屏预览时居中，手机全宽 */
.w-page {
    max-width: 640px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: calc(var(--w-tab-h) + constant(safe-area-inset-bottom) + 8px);
    padding-bottom: calc(var(--w-tab-h) + env(safe-area-inset-bottom) + 8px);
    background: var(--w-bg);
    box-sizing: border-box;
}

/* ---------------- 顶部栏 ---------------- */

.w-hd {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--w-hd-h);
    padding: 0 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 30, 40, .04);
}

.w-hd.is-plain {
    background: transparent;
    box-shadow: none;
}

.w-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 28px;
}

.w-logo img {
    height: 26px;
    width: auto;
}

.w-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f2f4f6;
}

.w-search svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    color: var(--w-t3);
}

.w-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 13px;
    color: var(--w-t1);
}

.w-search input::placeholder {
    color: #b0b8c0;
}

.w-hd-ico {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--w-t2);
}

.w-hd-ico svg {
    width: 21px;
    height: 21px;
}

/* ---------------- 通用区块 ---------------- */

.w-sec {
    margin-top: 10px;
    padding: 12px 12px 4px;
    background: #fff;
}

.w-sec-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.w-sec-hd h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
}

.w-sec-hd h3::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 14px;
    margin-right: 7px;
    border-radius: 2px;
    background: var(--w-primary);
    vertical-align: -2px;
}

.w-more {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--w-t3);
}

.w-more::after {
    content: "";
    width: 5px;
    height: 5px;
    margin-left: 3px;
    border-top: 1.4px solid currentColor;
    border-right: 1.4px solid currentColor;
    transform: rotate(45deg);
}

/* ---------------- 轮播 ---------------- */

.w-hero {
    padding: 10px 0 0;
    background: #fff;
}

.w-hero-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w-hero-track::-webkit-scrollbar {
    display: none;
}

.w-hero-it {
    position: relative;
    flex: 0 0 84%;
    height: 150px;
    border-radius: var(--w-r);
    overflow: hidden;
    scroll-snap-align: center;
    background: #eaeef1;
}

.w-hero-it img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-hero-it span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 12px 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .62));
}

/* ---------------- 分类入口 ---------------- */

.w-cates {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 12px 12px;
    scrollbar-width: none;
}

.w-cates::-webkit-scrollbar {
    display: none;
}

.w-cate {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 14px;
    border-radius: 999px;
    background: #f3f5f7;
    color: var(--w-t2);
    font-size: 13px;
    line-height: 30px;
    white-space: nowrap;
}

.w-cate.is-on {
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-weight: 600;
}

/* ---------------- 游戏卡片：横滑大卡（首页推荐） ---------------- */

.w-feeds {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.w-feeds::-webkit-scrollbar {
    display: none;
}

.w-feed {
    flex: 0 0 246px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: #f7f9fa;
    box-sizing: border-box;
}

.w-feed img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 13px;
    object-fit: cover;
    background: #eef1f4;
}

.w-feed-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-feed-bd h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 19px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-feed-bd p {
    margin: 4px 0 0;
    font-size: 11.5px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------- 游戏网格（双列） ---------------- */

.w-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding: 0 0 12px;
}

.w-g {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px;
    border-radius: 12px;
    background: #f7f9fa;
    min-width: 0;
}

.w-g img {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    background: #eef1f4;
}

.w-g-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-g-bd h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 17px;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.w-g-bd p {
    margin: 3px 0 0;
    font-size: 11px;
    line-height: 15px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-g-btn {
    display: inline-block;
    margin-top: 5px;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    /* 卡片里的「下载」是主操作，用实心主色，与 PC 列表按钮一致 */
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 22px;
}

/* ---------------- 礼包列表 ---------------- */

.w-gifts {
    padding-bottom: 6px;
}

.w-gift {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--w-line);
}

.w-gift:last-child {
    border-bottom: 0;
}

.w-gift img {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    background: #eef1f4;
}

.w-gift-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-gift-game {
    margin: 0 0 2px;
    font-size: 11.5px;
    line-height: 16px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-gift-bd h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-gift-bd .w-gift-ct {
    margin: 4px 0 0;
    font-size: 11.5px;
    line-height: 17px;
    color: var(--w-t2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.w-gift-bd .w-gift-meta {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-gift-bd .w-gift-meta em {
    font-style: normal;
    color: var(--w-red);
}

.w-gift-btn {
    flex: 0 0 auto;
    align-self: center;
    height: 28px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 12.5px;
    font-weight: 600;
}

.w-gift-btn.is-done {
    background: #eef1f4;
    color: var(--w-t3);
}

/* ---------------- 开服表 ---------------- */

.w-srv {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--w-line);
}

.w-srv:last-child {
    border-bottom: 0;
}

.w-srv img {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
    background: #eef1f4;
}

.w-srv-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-srv-bd h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-srv-bd p {
    margin: 2px 0 0;
    font-size: 11px;
    color: var(--w-t3);
}

.w-srv-time {
    flex: 0 0 auto;
    font-size: 11.5px;
    color: var(--w-t2);
}

.w-srv-time.is-soon {
    color: var(--w-primary-ink);
}

/* ---------------- 空态 / 加载 ---------------- */

.w-empty {
    padding: 56px 0;
    text-align: center;
    color: var(--w-t3);
    font-size: 13px;
}

.w-loading {
    padding: 16px 0 20px;
    text-align: center;
    font-size: 12px;
    color: var(--w-t3);
}

.w-loading.is-end::before,
.w-loading.is-end::after {
    content: "";
    display: inline-block;
    width: 26px;
    height: 1px;
    margin: 0 8px;
    background: var(--w-line);
    vertical-align: middle;
}

/* ---------------- 底部标签栏 ---------------- */

.w-tab {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    height: var(--w-tab-h);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 -1px 0 rgba(20, 30, 40, .06);
}

.w-tab a {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--w-t3);
    font-size: 10.5px;
}

.w-tab a svg {
    width: 22px;
    height: 22px;
}

.w-tab a.is-on {
    color: #1a2126;
    font-weight: 600;
}

/* ---------------- 筛选条 ---------------- */

.w-filter {
    position: sticky;
    top: var(--w-hd-h);
    z-index: 55;
    padding: 8px 0 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 30, 40, .04);
}

.w-tabs {
    display: flex;
    gap: 18px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.w-tabs::-webkit-scrollbar {
    display: none;
}

.w-tabs a {
    position: relative;
    flex: 0 0 auto;
    padding-bottom: 9px;
    font-size: 14px;
    color: var(--w-t2);
}

.w-tabs a.is-on {
    color: var(--w-t1);
    font-weight: 700;
}

.w-tabs a.is-on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 18px;
    height: 3px;
    margin-left: -9px;
    border-radius: 2px;
    background: var(--w-primary);
}

/* ---------------- 个人中心 ---------------- */

.w-user-hd {
    padding: 18px 16px 22px;
    /* 黄黑：账号区由青绿渐变改主色黄渐变，文字转深色保证对比 */
    background: linear-gradient(135deg, #f9da01 0%, #e8c400 100%);
    color: var(--w-on-primary);
}

.w-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.w-user-row img {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .8);
    object-fit: cover;
    background: rgba(255, 255, 255, .45);
}

.w-user-info {
    flex: 1 1 auto;
    min-width: 0;
}

.w-user-info h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-user-info p {
    margin: 4px 0 0;
    font-size: 11.5px;
    opacity: .85;
}

.w-user-num {
    display: flex;
    margin-top: 16px;
    padding: 12px 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .45);
}

.w-user-num div {
    flex: 1 1 0;
    text-align: center;
    position: relative;
}

.w-user-num div + div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(17, 17, 17, .12);
}

.w-user-num b {
    display: block;
    font-size: 17px;
    font-weight: 700;
}

.w-user-num span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    opacity: .8;
}

.w-panel {
    margin: -12px 12px 0;
    padding: 4px 12px;
    border-radius: var(--w-r);
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(20, 40, 60, .06);
}

.w-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--w-line);
    font-size: 14px;
}

.w-cell:last-child {
    border-bottom: 0;
}

.w-cell-ico {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--w-primary-l);
    color: var(--w-primary-ink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-cell-ico svg {
    width: 17px;
    height: 17px;
}

.w-cell-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-cell-bd strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

.w-cell-bd span {
    display: block;
    margin-top: 1px;
    font-size: 11.5px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-cell-arrow {
    flex: 0 0 auto;
    color: #c6ccd3;
    font-size: 13px;
}

/* 已领取礼包码 */
.w-code {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--w-line);
}

.w-code:last-child {
    border-bottom: 0;
}

.w-code img {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    background: #eef1f4;
}

.w-code-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-code-bd h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-code-bd p {
    margin: 3px 0 0;
    font-size: 12px;
    font-family: Menlo, Consolas, monospace;
    color: var(--w-primary-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-copy {
    flex: 0 0 auto;
    height: 26px;
    padding: 0 12px;
    border: 1px solid rgba(160, 124, 0, .45);
    border-radius: 999px;
    background: #fff;
    color: var(--w-primary-ink);
    font-size: 12px;
}

/* ---------------- 登录卡 ---------------- */

.w-login {
    padding: 28px 22px 26px;
    margin: 14px 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(20, 40, 60, .06);
}

.w-login h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.w-login p.w-login-sub {
    margin: 6px 0 20px;
    font-size: 12.5px;
    color: var(--w-t3);
}

.w-field {
    display: flex;
    align-items: center;
    height: 46px;
    margin-bottom: 12px;
    padding: 0 6px 0 14px;
    border: 1px solid var(--w-line);
    border-radius: 12px;
    background: #f7f9fa;
}

.w-field:focus-within {
    border-color: var(--w-primary-d);
    background: #fff;
}

.w-field em {
    font-style: normal;
    margin-right: 8px;
    font-size: 13.5px;
    color: var(--w-t2);
}

.w-field input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: var(--w-t1);
}

.w-field input::placeholder {
    color: #b7bec6;
}

.w-code-btn {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: var(--w-primary-l);
    color: var(--w-primary-ink);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.w-code-btn.is-wait {
    background: #eef1f4;
    color: var(--w-t3);
}

.w-login-err {
    min-height: 18px;
    margin: 0 0 10px;
    font-size: 12.5px;
    color: var(--w-red);
}

.w-login-err.is-ok {
    color: var(--w-primary-ink);
}

.w-btn-main {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 15.5px;
    font-weight: 700;
}

.w-btn-main:disabled {
    opacity: .7;
}

.w-login-tip {
    margin: 14px 0 0;
    font-size: 11.5px;
    line-height: 17px;
    color: var(--w-t3);
    text-align: center;
}

/* ---------------- 底部弹层（礼包码 / 登录提示） ---------------- */

.w-mask {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    background: rgba(12, 18, 24, .5);
}

.w-mask.is-show {
    display: block;
}

.w-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 901;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 18px calc(18px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: #fff;
    transform: translateY(102%);
    transition: transform .24s ease;
}

.w-sheet.is-show {
    transform: translateY(0);
}

.w-sheet h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.w-sheet .w-sheet-sub {
    margin: 6px 0 14px;
    font-size: 12px;
    color: var(--w-t3);
    text-align: center;
}

.w-sheet-code {
    padding: 14px;
    border-radius: 12px;
    background: #fdfbe8;
    text-align: center;
    font-family: Menlo, Consolas, monospace;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--w-primary-ink);
    word-break: break-all;
}

.w-sheet-info {
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 19px;
    color: var(--w-t2);
}

.w-sheet-act {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.w-sheet-act button {
    flex: 1 1 0;
    height: 44px;
    border: 0;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 600;
}

.w-sheet-act .is-ghost {
    background: #f2f4f6;
    color: var(--w-t2);
}

.w-sheet-act .is-main {
    background: var(--w-primary);
    color: var(--w-on-primary);
}

/* 锚点定位时避开吸顶头部 */
#codes {
    scroll-margin-top: calc(var(--w-hd-h) + 10px);
}

/* ---------------- 顶部搜索页（找游戏 / 礼包共用） ---------------- */

.w-result-tip {
    padding: 10px 12px 0;
    font-size: 12px;
    color: var(--w-t3);
}

@media (max-width: 340px) {
    .w-g-bd h4 {
        font-size: 12.5px;
    }
    .w-feed {
        flex: 0 0 220px;
    }
}

/* ============================================================
   游戏详情
   ============================================================ */

.w-page-dt {
    padding-bottom: calc(64px + constant(safe-area-inset-bottom) + 10px);
    padding-bottom: calc(64px + env(safe-area-inset-bottom) + 10px);
}

.w-dt-hd {
    position: relative;
    padding: 16px 12px 14px;
    background: #fff;
    overflow: hidden;
}

.w-dt-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) saturate(1.3);
    opacity: .3;
}

.w-dt-hd::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .96) 70%, #fff);
}

.w-dt-in {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
}

.w-dt-ico {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-radius: 18px;
    object-fit: cover;
    background: #eef1f4;
    box-shadow: 0 6px 16px rgba(20, 30, 40, .14);
}

.w-dt-tx {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 2px;
}

.w-dt-tx h1 {
    margin: 0;
    font-size: 17px;
    line-height: 23px;
    font-weight: 700;
    color: var(--w-t1);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.w-dt-meta {
    margin: 5px 0 0;
    font-size: 11.5px;
    line-height: 16px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-dt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    max-height: 46px;
    overflow: hidden;
}

.w-dt-tags span {
    padding: 2px 8px;
    border-radius: 6px;
    background: #f2f4f6;
    color: var(--w-t2);
    font-size: 11px;
    line-height: 17px;
    white-space: nowrap;
}

.w-dt-tags span.is-score {
    background: rgba(255, 168, 0, .14);
    color: #e89700;
    font-weight: 600;
}

.w-dt-tags span.is-hot {
    background: var(--w-primary-l);
    color: var(--w-primary-ink);
    font-weight: 600;
}

.w-dt-cta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.w-dt-btn {
    flex: 1 1 auto;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9da01, #e8c400);
    color: var(--w-on-primary);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(232, 196, 0, .3);
}

.w-dt-cta-sub {
    flex: 0 0 auto;
    max-width: 42%;
    font-size: 11px;
    color: var(--w-t3);
    text-align: right;
}

.w-shots {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.w-shots::-webkit-scrollbar {
    display: none;
}

.w-shot {
    flex: 0 0 auto;
    width: 208px;
    height: 117px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
}

.w-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-dt-sum {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 22px;
    color: var(--w-t2);
}

.w-dt-text {
    font-size: 13px;
    line-height: 23px;
    color: #3f4a54;
    word-break: break-word;
}

.w-dt-text.is-fold {
    max-height: 92px;
    overflow: hidden;
}

.w-dt-fold {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0 2px;
    border: 0;
    background: none;
    color: var(--w-primary-ink);
    font-size: 12.5px;
    font-weight: 600;
    font-family: inherit;
}

.w-dt-gift {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--w-line);
}

.w-dt-gift:last-child {
    border-bottom: 0;
}

.w-dt-gift-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-dt-gift-bd h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-dt-gift-bd p {
    margin: 4px 0 0;
    font-size: 11.5px;
    line-height: 17px;
    color: var(--w-t2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.w-dt-gift-bd span {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    color: var(--w-t3);
}

.w-dt-gift-bd em {
    font-style: normal;
    color: var(--w-red);
}

.w-dt-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 12px;
    padding-bottom: calc(8px + constant(safe-area-inset-bottom));
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--w-line);
    box-sizing: border-box;
}

.w-dt-bar-ico {
    flex: 0 0 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--w-t2);
    font-size: 10.5px;
}

.w-dt-bar-ico svg {
    width: 20px;
    height: 20px;
}

.w-dt-bar-main {
    flex: 1 1 auto;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f9da01, #e8c400);
    color: var(--w-on-primary);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   开服表 / 客服 / 协议
   ============================================================ */

.w-kf-week {
    margin-left: 6px;
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    color: var(--w-t3);
}

.w-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px 0 26px;
    font-size: 13px;
    color: var(--w-t2);
}

.w-pager a {
    color: var(--w-primary-ink);
}

.w-pager .is-off {
    color: #c2cad2;
}

.w-pager em {
    font-style: normal;
    font-weight: 600;
    color: var(--w-t1);
}

.w-kf-hd {
    padding: 22px 16px 18px;
    background: #fff;
}

.w-kf-hd h1 {
    margin: 0;
    font-size: 19px;
    line-height: 26px;
    font-weight: 700;
}

.w-kf-hd p {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 20px;
    color: var(--w-t2);
}

.w-kf-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #f0f0f0;
}

.w-kf-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-kf-ico svg {
    width: 28px;
    height: 28px;
}

.w-kf-main-tx {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.w-kf-main-tx b {
    font-size: 14px;
}

.w-kf-main-tx i {
    font-style: normal;
    font-size: 11.5px;
    line-height: 16px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-kf-go {
    flex: 0 0 auto;
    height: 28px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
}

.w-kf-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 2px;
    border-bottom: 1px solid var(--w-line);
}

.w-kf-row:last-child {
    border-bottom: 0;
}

.w-kf-row-k {
    flex: 0 0 68px;
    font-size: 13px;
    color: var(--w-t2);
}

.w-kf-row-v {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-kf-copy {
    flex: 0 0 auto;
    height: 26px;
    padding: 0 12px;
    border: 1px solid rgba(160, 124, 0, .45);
    border-radius: 999px;
    background: #fff;
    color: var(--w-primary-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 24px;
    font-family: inherit;
}

/* 常见问题：折叠手风琴（点标题展开，同时只开一项） */
.w-faq-it {
    border-bottom: 1px solid var(--w-line);
}

.w-faq-it:last-child {
    border-bottom: 0;
}

.w-faq-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 13px 0;
    border: 0;
    background: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 20px;
    color: var(--w-t1);
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.w-faq-hd span {
    flex: 1 1 auto;
    min-width: 0;
}

.w-faq-ic {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    color: #b8c0c8;
    transition: transform .22s ease;
}

.w-faq-it.is-open .w-faq-ic {
    transform: rotate(180deg);
}

.w-faq-bd {
    display: none;
    padding: 0 0 13px;
}

.w-faq-it.is-open .w-faq-bd {
    display: block;
}

.w-faq-bd p {
    margin: 0;
    font-size: 12.5px;
    line-height: 21px;
    color: var(--w-t2);
}

.w-ag {
    padding: 20px 16px 26px;
    background: #fff;
    font-size: 13px;
    line-height: 23px;
    color: #3f4a54;
}

.w-ag h1 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: var(--w-t1);
}

.w-ag-time {
    margin: 0 0 14px !important;
    font-size: 11.5px;
    color: var(--w-t3);
}

.w-ag h2 {
    margin: 20px 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--w-t1);
}

.w-ag p {
    margin: 0 0 8px;
}

.w-ag-foot {
    margin-top: 18px !important;
    font-size: 12px;
    color: var(--w-t3);
    text-align: center;
}

.w-empty.is-sm {
    padding: 26px 0;
}

/* ============================================================
   详情页：游戏视频 + 玩家评价（2026-11-20）
   ------------------------------------------------------------
   视频位只有 video 表有数据时才渲染；点击封面拉起全屏播放层。
   评价口径与 PC 详情页一致：头像 + 昵称 + 星级 + 正文 + 附图。
   ============================================================ */

/* ---------- 视频封面（16:9，等宽圆角） ---------- */
.w-video {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 0 56.25%;
    margin: 0 0 4px;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0f12;
}

.w-video img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.w-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: var(--w-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}

.w-video-play i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    margin: -9px 0 0 -5px;
    border-left: 16px solid var(--w-on-primary);
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

.w-video:active img {
    opacity: .76;
}

/* ---------- 全屏播放层 ---------- */
.w-vplayer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: #000;
}

.w-vplayer.is-on {
    display: flex;
}

.w-vplayer video {
    width: 100%;
    max-height: 100%;
    background: #000;
}

.w-vplayer-x {
    position: absolute;
    right: 12px;
    top: 12px;
    top: calc(12px + constant(safe-area-inset-top));
    top: calc(12px + env(safe-area-inset-top));
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}

/* ---------- 评价：综合分 ---------- */
.w-ev-count {
    font-size: 12px;
    color: var(--w-t3);
}

.w-ev-sum {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 2px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--w-primary-l);
}

.w-ev-sum b {
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    color: #1a2126;
}

.w-ev-sum-bd em {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    font-style: normal;
    color: var(--w-primary-ink);
}

/* ---------- 星级：灰底 + 按百分比裁切的实色星 ---------- */
.w-ev-stars {
    position: relative;
    display: inline-block;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 1.5px;
    color: #dfe3e8;
    vertical-align: middle;
    white-space: nowrap;
}

.w-ev-stars::before {
    content: "★★★★★";
}

.w-ev-stars i {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    overflow: hidden;
    width: var(--pct, 0%);
    color: #f5a623;
    font-style: normal;
    white-space: nowrap;
}

.w-ev-stars i::before {
    content: "★★★★★";
}

/* ---------- 评价列表 ---------- */
.w-ev-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.w-ev {
    display: block;
    padding: 14px 0;
    border-top: 1px solid var(--w-line);
}

.w-ev:first-child {
    border-top: 0;
}

.w-ev.is-hide {
    display: none;
}

.w-ev-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.w-ev-av {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: #eef1f4;
}

.w-ev-who {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.w-ev-name {
    display: flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 18px;
    color: var(--w-t1);
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-ev-who .w-ev-stars {
    font-size: 11.5px;
    letter-spacing: 1.2px;
}

.w-ev-best {
    flex: 0 0 auto;
    padding: 1px 5px;
    border-radius: 4px;
    background: #fff5e2;
    color: #d98600;
    font-size: 10px;
    font-weight: 600;
    font-style: normal;
    line-height: 15px;
}

.w-ev-txt {
    margin: 9px 0 0;
    font-size: 13.5px;
    line-height: 21px;
    color: #3f4a54;
    word-break: break-word;
}

.w-ev-imgs {
    display: flex;
    gap: 6px;
    margin-top: 9px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.w-ev-imgs img {
    width: 78px;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
}

.w-ev-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--w-t3);
}

.w-ev-time {
    flex: 1 1 auto;
}

.w-ev-act {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #b0b6bd;
}

.w-ev-act svg {
    display: block;
    width: 14px;
    height: 14px;
}

.w-ev-more {
    display: block;
    width: 100%;
    height: 38px;
    margin: 6px 0 2px;
    border: 0;
    border-radius: 999px;
    background: #f2f4f6;
    color: var(--w-t2);
    font-size: 13px;
    font-family: inherit;
}

.w-ev-more:active {
    background: #e9ecef;
}

/* ============================================================
   V2 版式：对齐 m.3387.com 的移动端语言（2026-11-20）
   ------------------------------------------------------------
   借用的是「版式」：灰底 #f4f5f6 + 白色圆角卡片分区块 + 卡片标题
   17px 粗体无装饰条 + 三列分类宫格 + 图标行列表（左上折扣角标、
   标题下标签芯片、灰副信息、右侧描边胶囊按钮）。
   配色仍是一米游的黄黑：主色 #f9da01 只出现在按钮/角标/选中态，
   白底上的文字一律走深黄墨色 #8a6b00，保证对比度。
   ============================================================ */

:root {
    --w-bg: #f4f5f6;
    --w-t1: #1b1b1f;
    --w-t2: #5a6169;
    --w-t3: rgba(0, 0, 0, .4);
    --w-line: #f1f2f4;
    --w-ink: #8a6b00;
    --w-gap: 10px;
    --w-r: 13px;
}

/* ---------------- 顶部栏：白底 + 浅灰搜索胶囊 ---------------- */

.w-hd {
    height: 50px;
    padding: 0 12px;
    gap: 9px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 30, 40, .05);
}

.w-logo img {
    height: 25px;
}

.w-search {
    height: 34px;
    padding: 0 13px;
    border-radius: 17px;
    background: #f4f5f6;
}

.w-search input {
    font-size: 13.5px;
}

.w-search svg {
    width: 14px;
    height: 14px;
    margin-right: 7px;
}

.w-hd-ico {
    width: 28px;
    height: 28px;
    color: var(--w-t2);
}

/* ---------------- 区块：白色圆角卡片 ---------------- */

.w-sec {
    margin: 0 12px var(--w-gap);
    padding: 15px 14px 6px;
    background: var(--w-card);
    border-radius: var(--w-r);
}

.w-sec-hd {
    margin-bottom: 12px;
}

.w-sec-hd h3 {
    font-size: 17px;
    line-height: 23px;
    font-weight: 700;
    letter-spacing: 0;
    color: #1b1b1f;
}

/* 3387 的区块标题是纯文字，去掉左侧色条 */
.w-sec-hd h3::before {
    display: none;
}

.w-more {
    font-size: 12.5px;
    color: var(--w-ink);
}

.w-more::after {
    width: 4.5px;
    height: 4.5px;
    margin-left: 2px;
    border-width: 1.2px 1.2px 0 0;
}

/* ---------------- 轮播：单张满宽圆角卡 ---------------- */

.w-hero {
    margin: 10px 12px var(--w-gap);
    padding: 0;
    background: transparent;
}

.w-hero-track {
    gap: 10px;
    padding: 0;
}

.w-hero-it {
    flex: 0 0 100%;
    height: 176px;
    border-radius: var(--w-r);
    background: #e9ebed;
}

.w-hero-it span {
    font-size: 13px;
    padding: 24px 12px 9px;
}

/* ---------------- 分类：三列宫格（首页） ---------------- */

.w-cates.is-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    padding: 0 0 8px;
    overflow: visible;
}

.w-cate {
    height: 31px;
    padding: 0 14px;
    border-radius: 16px;
    background: #f4f5f6;
    color: #4a5058;
    font-size: 13px;
    line-height: 31px;
    text-align: center;
}

.w-cates.is-grid .w-cate {
    height: 38px;
    padding: 0;
    border-radius: 19px;
    font-size: 13.5px;
    line-height: 38px;
}

.w-cate.is-on {
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-weight: 600;
}

.w-cate:active {
    opacity: .72;
}

/* ---------------- 游戏列表行（首页推荐 / 找游戏 / 相关推荐） ---------------- */

.w-list {
    padding-bottom: 8px;
}

.w-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
}

.w-row:active {
    background: #fafbfb;
}

.w-row-ico {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 15px;
    overflow: hidden;
    background: #eef1f4;
}

.w-row-ico img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 左上折扣角标：右下角切圆，压在图标上 */
.w-row-zhe {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 5px 1px;
    border-radius: 0 0 10px 0;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
    letter-spacing: -.2px;
}

.w-row-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-row-bd b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    color: #1b1b1f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-row-tags {
    display: flex;
    gap: 5px;
    margin-top: 5px;
    overflow: hidden;
}

.w-row-tags i {
    flex: 0 0 auto;
    padding: 0 6px;
    border-radius: 4px;
    background: #fff8d9;
    color: var(--w-ink);
    font-size: 11px;
    font-style: normal;
    line-height: 19px;
    white-space: nowrap;
}

.w-row-meta {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    line-height: 16px;
    color: var(--w-t3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 右侧描边胶囊：呼应 3387 的按钮形态，用深黄描边 + 深黄字 */
.w-row-btn {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 15px;
    border: 1px solid #edcb00;
    border-radius: 17px;
    background: #fff;
    color: var(--w-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 32px;
    white-space: nowrap;
}

.w-row:active .w-row-btn,
.w-row-btn:active {
    background: #fffae0;
}

/* ---------------- 新游上架：横滑小卡 ---------------- */

.w-feeds {
    gap: 9px;
    padding-bottom: 10px;
}

.w-feed {
    flex: 0 0 214px;
    gap: 9px;
    padding: 10px;
    border-radius: 12px;
    background: #f7f8f9;
}

.w-feed img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 13px;
}

.w-feed-bd h4 {
    font-size: 14px;
    line-height: 19px;
}

.w-feed-bd p {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--w-t3);
}

.w-g-btn {
    margin-top: 5px;
    height: 21px;
    padding: 0 9px;
    border-radius: 11px;
    font-size: 11px;
    line-height: 21px;
}

/* ---------------- 礼包 / 开服：行内分隔改浅线 ---------------- */

.w-gift {
    padding: 12px 0;
    border-bottom: 0;
}

.w-gift + .w-gift {
    border-top: 1px solid var(--w-line);
}

.w-gift img {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
}

.w-gift-bd h4 {
    font-size: 14px;
}

.w-gift-btn {
    height: 30px;
    padding: 0 14px;
    border-radius: 15px;
    font-size: 12.5px;
    line-height: 30px;
}

.w-srv {
    padding: 11px 0;
}

.w-srv + .w-srv {
    border-top: 1px solid var(--w-line);
}

.w-srv img {
    border-radius: 13px;
}

/* ---------------- 找游戏：筛选条 + 结果提示 ---------------- */

.w-filter {
    padding: 4px 0 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 30, 40, .05);
}

.w-tabs {
    gap: 20px;
    padding: 0 14px;
}

.w-tabs a {
    padding: 8px 0 9px;
    font-size: 14.5px;
    color: var(--w-t2);
}

.w-tabs a.is-on {
    color: #1b1b1f;
    font-weight: 700;
}

.w-tabs a.is-on::after {
    bottom: 2px;
    width: 20px;
    height: 3px;
    margin-left: -10px;
    background: var(--w-primary);
}

.w-filter .w-cates {
    padding: 8px 14px 11px;
    gap: 7px;
}

.w-result-tip {
    padding: 10px 14px 2px;
    font-size: 12px;
    color: var(--w-t3);
}

/* ---------------- 详情页：头部改白卡，图标带折扣角标 ---------------- */

.w-page-dt {
    background: var(--w-bg);
}

.w-dt-hd {
    margin: 10px 12px var(--w-gap);
    padding: 15px 14px 14px;
    border-radius: var(--w-r);
    background: #fff;
}

.w-dt-hd::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .96) 68%, #fff);
}

.w-dt-ico-wrap {
    position: relative;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
}

.w-dt-ico {
    display: block;
    width: 74px;
    height: 74px;
    border-radius: 17px;
    box-shadow: 0 5px 14px rgba(20, 30, 40, .12);
}

.w-dt-zhe {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 5px 1px;
    border-radius: 0 0 10px 0;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: 15px;
}

.w-dt-tx h1 {
    font-size: 17.5px;
    line-height: 23px;
}

.w-dt-tags span {
    border-radius: 4px;
    background: #f4f5f6;
    font-size: 11px;
    line-height: 18px;
}

.w-dt-tags span.is-hot {
    background: #fff8d9;
    color: var(--w-ink);
}

.w-dt-btn {
    height: 44px;
    border-radius: 22px;
    box-shadow: 0 6px 14px rgba(232, 196, 0, .26);
}

.w-dt-cta {
    margin-top: 13px;
}

.w-dt-bar-main {
    height: 44px;
    border-radius: 22px;
}

/* 详情页内区块：截图/视频/介绍等统一卡片内边距 */
.w-page-dt .w-sec {
    padding: 15px 14px 12px;
}

.w-shot {
    border-radius: 9px;
}

.w-ev-sum {
    background: #fff8d9;
}

/* 新游上架小卡：标题单行省略，避免长名换行撑高卡片 */
.w-feed-bd h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 客服页头部：跟其它区块一样做成白卡，避免整块白底压在灰底上显得断裂 */
.w-kf-hd {
    margin: 10px 12px var(--w-gap);
    padding: 16px 14px 15px;
    border-radius: var(--w-r);
}

.w-kf-hd h1 {
    font-size: 18px;
    line-height: 24px;
}

.w-kf-hd p {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 19px;
}

/* 礼包/开服页的分类筛选：卡片内横滑，去掉行内 padding 覆盖 */
.w-cates.is-scroll {
    padding: 0 0 10px;
}

/* 协议页：整页正文也收进白卡，和列表页保持同一种容器观感 */
.w-ag {
    margin: 10px 12px var(--w-gap);
    padding: 18px 15px 22px;
    border-radius: var(--w-r);
}

/* ============================================================
   V3 版式：对齐 m.milu.com 的移动端（2026-11-20 晚）
   ------------------------------------------------------------
   和 V2（3387 灰底白卡）的区别：
   1. 页面底色回归纯白，去掉「灰底 + 圆角白卡」，模块之间只用
      18px 黑色粗标题 + 上下留白分隔，视觉更轻、更像原生 App；
   2. 轮播满宽 195px（约 2:1）贴边，不再有左右边距，底部圆点；
   3. 首屏 4 个彩色圆角图标入口（52px），替代三列文字宫格；
   4. 列表行图标放大到 78px，标题 16px 粗体，副信息一行灰字，
      标签芯片走浅橙底 + 棕字，右侧「下载」改实心黄圆角矩形；
   5. 底部标签栏选中态用品牌黄，白底细分割线。
   配色仍是一米游黄黑：主色 #f9da01 只做按钮底/角标，文字走深色。
   ============================================================ */

:root {
    --w-bg: #ffffff;
    --w-t3: #9b9b9b;
    --w-line: #f2f2f2;
    --w-r: 8px;
    --w-chip-bg: #fcf8ed;
    --w-chip-tx: #c08040;
    --w-gold: #d9b300;
}

html,
body,
.w-page {
    background: #fff;
}

/* ---------------- 顶部栏：白底 50px，胶囊搜索 ---------------- */

.w-hd {
    height: 50px;
    padding: 0 12px;
    gap: 8px;
    background: #fff;
    box-shadow: 0 .5px 0 rgba(0, 0, 0, .07);
}

.w-logo img {
    height: 24px;
}

/* 顶部文字导航（新游 / 排行榜），对应 milu 的「新游 · 排行榜」 */
.w-hd-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 2px;
}

.w-hd-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
}

.w-search {
    height: 33px;
    padding: 0 12px;
    border-radius: 17px;
    background: #f2f2f2;
}

.w-search input {
    height: 31px;
    font-size: 12.5px;
}

.w-search input::placeholder {
    color: #b4b4b4;
}

.w-search svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    color: #b4b4b4;
}

.w-hd-ico {
    width: 26px;
    height: 26px;
    color: #3a3a3a;
}

.w-hd-ico svg {
    width: 22px;
    height: 22px;
}

/* ---------------- 轮播：圆角卡片 + 露出下一张 + 图下标题（Swiper 驱动） ---------------- */

.w-hero {
    position: relative;
    margin: 0;
    padding: 10px 0 0;
    background: #fff;
}

/* Swiper 容器必须是 block + overflow:hidden；早期遗留的 display:flex 会让
   .swiper-wrapper 变成 flex item 被压缩（宽 70px），导致整块轮播不显示。 */
.w-hero-track {
    display: block;
    padding: 0 12px;
    overflow: hidden;
}

/* 显式兜底：无论引入的是 Swiper 3/4（.swiper-container）还是 Swiper 8（.swiper），
   都强制 wrapper 横向 flex，避免因版本/类名不匹配导致 wrapper 变 block、slide 纵向堆叠。 */
.w-hero .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
}

/* 圆角卡片：slidesPerView=1.12 露出下一张的边，16:9 等比，centeredSlides 居中。
   根因（两处）：
   1) slidesPerView:'auto' 会按内容定宽，而 slide 内容(img/span)全是 absolute 定位，
      宽度塌陷为 0 —— 改用固定 slidesPerView=1.12，Swiper 按容器宽精确分配宽度；
   2) slide 是 <a> 标签(默认 inline) + 早期遗留的 flex:0 0 84%/100%，
      需显式 display:block 并重置 flex，否则宽度/高度不生效。
   !important 覆盖 Swiper 内置 .swiper-slide{height:100%}。 */
.w-hero .w-hero-it {
    position: relative;
    display: block;
    flex: none;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #eceff1;
    box-shadow: 0 2px 10px rgba(20, 30, 40, .06);
}

.w-hero-it img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图下叠加游戏名：半透明渐变底，读得清又不过度遮挡 */
.w-hero-it span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 12px 9px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58));
}

/* Swiper 分页点：白色圆点 + 当前项拉长胶囊 */
.w-hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    pointer-events: none;
    z-index: 3;
}

.w-hero-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
    opacity: 1;
    margin: 0 !important;
    transition: width .2s, background .2s;
}

.w-hero-dots .swiper-pagination-bullet-active {
    width: 16px;
    background: #fff;
}

/* ---------------- 首屏四入口：彩色圆角图标 ---------------- */

.w-entry {
    display: flex;
    padding: 16px 4px 6px;
    background: #fff;
}

.w-entry a {
    flex: 1 1 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.w-entry i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 15px;
    color: #fff;
}

.w-entry i svg {
    width: 26px;
    height: 26px;
}

.w-entry span {
    font-size: 12.5px;
    line-height: 17px;
    color: #282828;
}

.w-entry a:nth-child(1) i {
    background: linear-gradient(135deg, #ffd83a, #f2b800);
    color: #3d2f00;
}

.w-entry a:nth-child(2) i {
    background: linear-gradient(135deg, #ff9d6b, #f4673c);
}

.w-entry a:nth-child(3) i {
    background: linear-gradient(135deg, #6cb6ff, #2f7fe0);
}

.w-entry a:nth-child(4) i {
    background: linear-gradient(135deg, #b092ff, #7a5cf0);
}

.w-entry a:active i {
    opacity: .82;
}

/* ---------------- 分类快筛：横向小胶囊 ---------------- */

.w-cats {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 10px 12px 2px;
    background: #fff;
    scrollbar-width: none;
}

.w-cats::-webkit-scrollbar {
    display: none;
}

.w-cats a {
    flex: 0 0 auto;
    height: 27px;
    padding: 0 12px;
    border-radius: 14px;
    background: #f5f5f5;
    color: #555;
    font-size: 12.5px;
    line-height: 27px;
    white-space: nowrap;
}

.w-cats a.is-on {
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-weight: 600;
}

/* ---------------- 区块：白底 + 18px 黑标题，不要卡片 ---------------- */

.w-sec {
    margin: 0;
    padding: 18px 12px 2px;
    background: #fff;
    border-radius: 0;
}

.w-sec-hd {
    margin-bottom: 2px;
}

.w-sec-hd h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0;
}

.w-more {
    gap: 1px;
    font-size: 12.5px;
    color: #c6c6c6;
}

.w-more::after {
    width: 5px;
    height: 5px;
    margin-left: 1px;
    border-width: 1.2px 1.2px 0 0;
    border-color: #cfcfcf;
}

/* ---------------- 列表行：大图标 + 灰副信息 + 实心黄按钮 ---------------- */

.w-list {
    padding: 0 0 6px;
}

.w-row {
    align-items: center;
    gap: 11px;
    padding: 15px 0 0;
}

.w-row:active {
    background: transparent;
}

.w-row-ico {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    border-radius: 14px;
    background: #f0f1f2;
}

.w-row-zhe {
    padding: 0 5px 1px;
    border-radius: 0 0 9px 0;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 10.5px;
    line-height: 16px;
}

.w-row-bd b {
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: #282828;
}

.w-row-meta {
    margin-top: 4px;
    font-size: 12.5px;
    line-height: 17px;
    color: #9b9b9b;
}

.w-row-tags {
    gap: 5px;
    margin-top: 6px;
}

.w-row-tags i {
    padding: 0 5px;
    border-radius: 2px;
    background: var(--w-chip-bg);
    color: var(--w-chip-tx);
    font-size: 11px;
    line-height: 18px;
}

/* 折扣芯片：从图标角标挪到标签行首位，红底白字对齐详情页的折扣标 */
.w-row-tags i.is-zhe {
    padding: 0 6px;
    border-radius: 3px;
    background: #f5483b;
    color: #fff;
    font-weight: 600;
}

/* 右侧「下载」：实心黄圆角矩形，黑字（milu 同形态，白字对比太低） */
.w-row-btn {
    height: 30px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 30px;
    box-shadow: none;
}

.w-row:active .w-row-btn,
.w-row-btn:active {
    background: var(--w-primary-d);
}

/* 列表中间的横幅广告（milu 的插屏广告位） */
/* 列表里插的通栏大图（第 1 款游戏下方，仿 m.milu.com） */
.w-ad {
    display: block;
    margin: 12px 0 2px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f1f2;
}

.w-ad img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    height: auto;
}

/* ---------------- 礼包 / 开服：去分隔线，跟列表行同一节奏 ---------------- */

.w-gift {
    padding: 15px 0 0;
    border-bottom: 0;
}

.w-gift + .w-gift {
    border-top: 0;
}

.w-gift img {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 13px;
}

.w-gift-bd h4 {
    font-size: 15px;
    line-height: 20px;
    color: #282828;
}

.w-gift-btn {
    height: 30px;
    padding: 0 13px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 30px;
}

.w-gift-btn.is-done {
    background: #f2f2f2;
    color: #a5a5a5;
}

.w-srv {
    padding: 15px 0 0;
}

.w-srv + .w-srv {
    border-top: 0;
}

.w-srv img {
    border-radius: 13px;
}

/* ---------------- 底部标签栏：白底 + 品牌黄选中 ---------------- */

.w-tab {
    background: #fff;
    box-shadow: 0 -0.5px 0 rgba(0, 0, 0, .08);
    backdrop-filter: none;
}

.w-tab a {
    gap: 3px;
    font-size: 10.5px;
    color: #9b9b9b;
}

.w-tab a.is-on {
    color: var(--w-gold);
    font-weight: 600;
}

/* ---------------- 找游戏：筛选条贴白底，标题短横线 ---------------- */

.w-filter {
    padding: 0;
    background: #fff;
    box-shadow: 0 .5px 0 rgba(0, 0, 0, .06);
}

.w-tabs {
    gap: 22px;
    padding: 0 12px;
}

.w-tabs a {
    padding: 10px 0 11px;
    font-size: 15px;
    color: #8a8a8a;
}

.w-tabs a.is-on {
    color: #111;
    font-weight: 700;
}

.w-tabs a.is-on::after {
    bottom: 4px;
    width: 18px;
    height: 3px;
    margin-left: -9px;
    border-radius: 2px;
    background: var(--w-primary);
}

.w-filter .w-cates {
    gap: 7px;
    padding: 10px 12px 12px;
}

.w-filter .w-cate {
    height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    background: #f5f5f5;
    color: #555;
    font-size: 12.5px;
    line-height: 28px;
}

.w-filter .w-cate.is-on {
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-weight: 600;
}

.w-result-tip {
    padding: 12px 12px 0;
    font-size: 12.5px;
    color: #9b9b9b;
}

.w-result-tip + .w-sec {
    padding-top: 4px;
}

/* ---------------- 详情页：白色基底，标题同首页，CTA 满宽黄条 ---------------- */

.w-page-dt {
    background: #fff;
}

.w-dt-hd {
    margin: 0;
    padding: 14px 12px 0;
    border-radius: 0;
}

.w-dt-hd::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .97) 66%, #fff);
}

.w-dt-ico-wrap,
.w-dt-ico {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
}

.w-dt-ico {
    border-radius: 17px;
    box-shadow: none;
}

.w-dt-tx h1 {
    font-size: 18px;
    line-height: 24px;
    color: #282828;
}

.w-dt-meta {
    margin-top: 5px;
    font-size: 12.5px;
    color: #9b9b9b;
}

.w-dt-tags {
    margin-top: 8px;
    gap: 5px;
}

.w-dt-tags span {
    padding: 1px 5px;
    border-radius: 2px;
    background: var(--w-chip-bg);
    color: var(--w-chip-tx);
    font-size: 11px;
    line-height: 18px;
}

.w-dt-tags span.is-score {
    background: #fff2e0;
    color: #e08a1e;
}

.w-dt-tags span.is-hot {
    background: var(--w-primary-l);
    color: var(--w-primary-ink);
}

.w-dt-cta {
    margin-top: 14px;
}

.w-dt-btn {
    height: 44px;
    border-radius: 8px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 16px;
    font-weight: 700;
    box-shadow: none;
}

.w-dt-btn:active {
    background: var(--w-primary-d);
}

.w-dt-cta-sub {
    font-size: 11px;
    color: #9b9b9b;
}

.w-page-dt .w-sec {
    padding: 20px 12px 4px;
}

.w-page-dt .w-sec-hd {
    margin-bottom: 8px;
}

.w-shot {
    border-radius: 8px;
}

.w-dt-bar {
    background: #fff;
    box-shadow: 0 -0.5px 0 rgba(0, 0, 0, .08);
}

.w-dt-bar-main {
    height: 44px;
    border-radius: 8px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 16px;
    font-weight: 700;
}

.w-ev-sum {
    background: #fbf7ea;
    border-radius: 8px;
}

/* 客服 / 协议页：白底直排，不再套卡片 */
.w-kf-hd {
    margin: 0;
    padding: 18px 14px 14px;
    border-radius: 0;
    box-shadow: 0 .5px 0 rgba(0, 0, 0, .06);
}

.w-kf-hd h1 {
    font-size: 19px;
    line-height: 25px;
}

.w-ag {
    margin: 0;
    padding: 16px 14px 24px;
    border-radius: 0;
}

/* ---------------- V3 补丁：礼包行收紧、按钮统一 8px 圆角 ---------------- */

.w-gift {
    align-items: center;
    gap: 11px;
    padding: 14px 0 0;
}

.w-gift img {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 13px;
}

.w-gift-bd h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #282828;
}

.w-gift-bd .w-gift-ct {
    margin-top: 3px;
    font-size: 12px;
    line-height: 17px;
    color: #9b9b9b;
    -webkit-line-clamp: 1;
}

.w-gift-bd .w-gift-meta {
    margin-top: 3px;
    font-size: 11.5px;
    line-height: 16px;
    color: #b3b3b3;
}

/* 详情页礼包列表保留两行内容，信息量比首页多 */
.w-page-dt .w-gift-bd .w-gift-ct {
    -webkit-line-clamp: 2;
}

.w-btn-main,
.w-login .w-btn-main {
    height: 46px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}

.w-code-btn {
    border-radius: 8px;
}

/* 登录/我的：白底页面上的卡片去掉外投影，改 1px 浅边，更像原生列表 */
.w-login {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #f0f0f0;
}

.w-panel {
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid #f0f0f0;
}

/* 详情页 CTA：满宽黄条 + 下方居中小字（milu 的按钮形态） */
.w-dt-hd {
    padding-bottom: 16px;
}

.w-dt-cta {
    display: block;
    margin-top: 16px;
}

.w-dt-btn {
    display: flex;
    width: 100%;
    box-sizing: border-box;
}

.w-dt-cta-sub {
    display: block;
    max-width: 100%;
    margin-top: 9px;
    font-size: 11.5px;
    text-align: center;
    color: #a5a5a5;
}

/* ============================================================
   V4 详情页改版：二级导航 + 顶部视频/截图 + 缩略图条 + 信息卡
   ============================================================ */

/* 二级导航：返回 + 详情/评价，吸在顶栏下面 */
.w-dt-nav {
    position: sticky;
    top: var(--w-hd-h);
    z-index: 55;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 44px;
    padding: 0 12px;
    background: #fff;
    box-shadow: 0 .5px 0 rgba(0, 0, 0, .06);
}

.w-dt-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: -4px;
    color: #111;
}

.w-dt-back svg {
    width: 21px;
    height: 21px;
}

.w-dt-nav > a:not(.w-dt-back) {
    position: relative;
    font-size: 15px;
    line-height: 44px;
    color: #8a8a8a;
}

.w-dt-nav > a.is-on {
    color: #111;
    font-weight: 700;
}

.w-dt-nav > a.is-on::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7px;
    width: 18px;
    height: 3px;
    margin-left: -9px;
    border-radius: 2px;
    background: var(--w-primary);
}

/* ---------------- 媒体区：16:9 大图 + 缩略图 ---------------- */

.w-md {
    padding: 12px 12px 0;
    background: #fff;
}

.w-md-main {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    background: #eef0f2;
}

/* 主图：一律 contain，整张原图完整显示（横版海报不再被 16:9 裁掉左右），
   空出来的部分由同图模糊垫底补满 */
.w-md-main > img.w-md-shot {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.w-md-main > img.w-md-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    filter: blur(20px) saturate(1.2) brightness(.92);
    opacity: .9;
}

/* 视频：和 PC 一样内嵌在舞台里播，不再弹全屏层 */
.w-md-video {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.w-md-main.is-video > img.w-md-shot {
    visibility: hidden;
}

.w-md-main.is-video .w-md-video {
    display: block;
}

.w-md-main.is-video .w-md-play {
    display: none;
}

/* 切到某张截图时收起播放键，别再盖在图上 */
.w-md-main.is-photo .w-md-play {
    display: none;
}

.w-md-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .12);
}

.w-md-play i {
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 17px solid #fff;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .35));
}

.w-md-thumbs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 10px 0 2px;
    scrollbar-width: none;
}

.w-md-thumbs::-webkit-scrollbar {
    display: none;
}

.w-md-thumbs button {
    position: relative;
    flex: 0 0 80px;
    width: 80px;
    height: 45px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #eef0f2;
    box-sizing: border-box;
}

.w-md-thumbs button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.w-md-thumbs button.is-on {
    border-color: var(--w-primary-ink);
    box-shadow: none;
}

/* 视频位角标：PC 同款居中圆形播放键（替代原来的「视频」文字标签） */
.w-md-vplay {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: 26px;
    height: 26px;
    margin: -13px 0 0 -13px;
    border-radius: 50%;
    background: rgba(12, 20, 26, .55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.w-md-vplay i {
    position: absolute;
    left: 10px;
    top: 8px;
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* ---------------- 信息卡：图标 + 名称 + 评分 / 标签条 ---------------- */

.w-dt-hd {
    position: relative;
    margin: 0;
    padding: 14px 12px 16px;
    background: #fff;
    overflow: visible;
}

/* 旧版用来铺底图的渐变层在纯白改版里带不来任何效果，直接停掉 */
.w-dt-hd::after {
    display: none;
}

.w-dt-in {
    align-items: flex-start;
    gap: 10px;
}

.w-dt-ico-wrap,
.w-dt-ico {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
}

.w-dt-ico {
    border-radius: 13px;
    box-shadow: none;
}

.w-dt-tx h1 {
    display: -webkit-box;
    font-size: 17px;
    line-height: 23px;
    font-weight: 700;
    color: #1a1a1a;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.w-dt-meta {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: #9b9b9b;
}

/* 右侧评分：数字大、单位小，左侧一条淡竖线 */
.w-dt-score {
    flex: 0 0 auto;
    margin-left: auto;
    padding-left: 12px;
    border-left: 1px solid #f0f0f0;
    text-align: center;
    color: #1a1a1a;
}

.w-dt-score b {
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

.w-dt-score em {
    margin-left: 2px;
    font-size: 11px;
    font-style: normal;
    color: #9b9b9b;
}

/* 标签条：版本 / 包体 / 分类 / 自有标签，统一浅灰小方块 */
.w-dt-tags {
    margin-top: 10px;
    gap: 6px;
    max-height: none;
}

.w-dt-tags span,
.w-dt-tags span.is-hot,
.w-dt-tags span.is-score {
    padding: 2px 8px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #6b6b6b;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 18px;
}

/* 详情页信息卡：评分对齐图标中线；播放键加半透明底圈，亮图上也看得见 */
.w-dt-score {
    align-self: center;
}

.w-md-play i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-left: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .42);
    backdrop-filter: blur(2px);
}

/* 三角形用伪元素画在圆圈里 */
.w-md-play i::after {
    content: "";
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 15px solid #fff;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
}

/* V127 详情页顶部恢复全站顶栏，二级导航吸在顶栏下面 */
.w-dt-nav {
    top: var(--w-hd-h);
    gap: 26px;
    height: 50px;
    padding: 0 14px;
    z-index: 50;
}

.w-dt-nav > a:not(.w-dt-back) {
    font-size: 16px;
    line-height: 50px;
}

.w-dt-nav > a.is-on::after {
    bottom: 8px;
}

.w-dt-back {
    width: 26px;
    height: 26px;
    margin-left: -6px;
}

.w-dt-back svg {
    width: 22px;
    height: 22px;
}

/* 锚点跳转留出「顶栏 + 二级导航」高度 */
#dtMain,
#comment {
    scroll-margin-top: calc(var(--w-hd-h) + 56px);
}

/* App 内滚动模式：.w-page 自己就是滚动容器，二级导航的 sticky 基准改成容器顶 */
html.w-appscroll .w-dt-nav {
    top: 0;
}

/* 详情页礼包：标题与列表行同字号，正文按词换行，避免把数字劈成两行 */
.w-dt-gift {
    padding: 13px 0 0;
    border-bottom: 0;
}

.w-dt-gift + .w-dt-gift {
    border-top: 0;
}

.w-dt-gift-bd h4 {
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #282828;
}

.w-dt-gift-bd p {
    margin-top: 3px;
    font-size: 12px;
    line-height: 17px;
    color: #9b9b9b;
    word-break: normal;
    overflow-wrap: anywhere;
}

.w-dt-gift-bd span {
    margin-top: 3px;
    font-size: 11.5px;
    color: #b3b3b3;
}

/* 详情页空态：别把区块撑得太高，留一行提示就够 */
.w-page-dt .w-empty.is-sm {
    padding: 14px 0 18px;
    font-size: 12.5px;
}

/* ============================================================
   V5 详情页 / 评价页：浅灰底 + 圆角白卡（2026-11-20）
   ------------------------------------------------------------
   参考 m.milu 的评价页：
   1. 页面底改浅灰 #f4f5f6，所有内容收进 14px 圆角白卡，卡间 10px 灰缝；
   2. 媒体区 + 游戏信息合并成一张卡（上图下字，中间不断缝）；
   3. 卡片标题 16.5px 粗体，左侧一根竖黄条（原 V3 的纯文字标题作废）；
   4. 评价空态换成描边收纳盒图标 + 「暂无评论」，上下留白撑开卡片；
   5. 底部操作栏改浮动白卡 + 满宽黄色胶囊按钮，去掉首页/客服两个图标。
   ============================================================ */

.w-page-dt {
    background: #f4f5f6;
    padding-bottom: calc(88px + constant(safe-area-inset-bottom));
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

.w-dt-nav {
    background: #fff;
    box-shadow: 0 .5px 0 rgba(0, 0, 0, .05);
}

/* ---------------- 媒体 + 信息：同一张白卡 ---------------- */

.w-page-dt .w-md {
    margin: 10px 12px 0;
    padding: 12px 12px 0;
    background: #fff;
    border-radius: 14px 14px 0 0;
}

.w-page-dt .w-md-main {
    border-radius: 10px;
}

.w-page-dt .w-md-thumbs {
    padding: 10px 0 4px;
}

.w-page-dt .w-dt-hd {
    margin: 10px 12px;
    padding: 14px;
    background: #fff;
    border-radius: 14px;
}

/* 紧跟在媒体区后面时拼成一张卡 */
.w-page-dt .w-md + .w-dt-hd {
    margin-top: 0;
    padding-top: 12px;
    border-radius: 0 0 14px 14px;
}

/* 折扣标签从图标角上挪到游戏名后面，红色胶囊（参考图形态） */
.w-dt-zhe {
    display: none;
}

.w-dt-name {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.w-dt-name h1 {
    flex: 1 1 auto;
    min-width: 0;
}

.w-dt-zhe-in {
    flex: 0 0 auto;
    margin-top: 2px;
    padding: 0 6px;
    border-radius: 4px;
    background: #f5483b;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

/* ---------------- 各区块：白卡 + 竖黄条标题 ---------------- */

.w-page-dt .w-sec {
    margin: 0 12px 10px;
    padding: 16px 14px 14px;
    background: #fff;
    border-radius: 14px;
}

.w-page-dt .w-sec-hd {
    margin-bottom: 10px;
}

.w-page-dt .w-sec-hd h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 16.5px;
    line-height: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.w-page-dt .w-sec-hd h3::before {
    content: "";
    display: block;
    flex: 0 0 3px;
    width: 3px;
    height: 15px;
    border-radius: 2px;
    background: var(--w-primary);
}

.w-page-dt .w-more {
    font-size: 12px;
    color: #b0b0b0;
}

/* ---------------- 玩家评价 ---------------- */

.w-page-dt #comment {
    padding-bottom: 16px;
}

.w-ev-empty {
    padding: 34px 0 44px;
    text-align: center;
}

.w-ev-empty svg {
    width: 54px;
    height: 47px;
    color: #dcdcdc;
}

.w-ev-empty p {
    margin-top: 12px;
    font-size: 13px;
    line-height: 18px;
    color: #b3b3b3;
}

.w-ev-count {
    font-size: 12px;
    color: #b3b3b3;
}

/* ---------------- 底部：浮动白卡 + 黄色胶囊 ---------------- */

.w-dt-bar {
    left: 10px;
    right: 10px;
    bottom: 8px;
    gap: 0;
    max-width: 620px;
    padding: 9px;
    padding-bottom: calc(9px + constant(safe-area-inset-bottom));
    padding-bottom: calc(9px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 0;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .09);
}

.w-dt-bar-ico {
    display: none;
}

.w-dt-bar-main {
    flex: 1 1 auto;
    height: 46px;
    border-radius: 999px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
    line-height: 46px;
    text-align: center;
    box-shadow: none;
}

.w-dt-bar-main:active {
    background: var(--w-primary-d);
}

/* 评价空态：参考图里卡片偏矮偏宽，收一点上下留白 */
.w-ev-empty {
    padding: 30px 0 38px;
}

.w-ev-empty svg {
    width: 58px;
    height: 50px;
    color: #dedede;
}

/* 底部胶囊再留一点白边，接近参考图的浮动卡片 */
.w-dt-bar {
    padding: 10px;
    padding-bottom: calc(10px + constant(safe-area-inset-bottom));
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

/* 标签行的可点 chip：外观与纯文字 chip 完全一致，只多一个按下的反馈 */
.w-page-dt .w-dt-tags a {
    padding: 2px 8px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #6b6b6b;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 18px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.w-page-dt .w-dt-tags a:active {
    background: #ebebeb;
    color: #333;
}

/* ============================================================
   V6 礼包 / 开服：白卡里再套一层浅灰子卡（2026-11-20）
   ------------------------------------------------------------
   参考图形态：每个礼包是一张独立的浅灰圆角小卡，左边游戏图标，
   中间三行文字（礼包名 / 适用范围 / 礼包内容），右侧黄色胶囊「领取」；
   开服行用同一套子卡，图标收小，右侧只留「已开服 / 即将开服」。
   ============================================================ */

.w-gc {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    background: #fafafa;
}

.w-gc-ico {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 13px;
    overflow: hidden;
    background: #eceef0;
}

.w-gc-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-gc-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-gc-bd h4 {
    font-size: 15.5px;
    line-height: 21px;
    font-weight: 700;
    color: #232323;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-gc-use {
    margin-top: 3px;
    font-size: 12px;
    line-height: 17px;
    color: #c9a227;
}

.w-gc-use em {
    font-style: normal;
}

.w-gc-ct {
    display: -webkit-box;
    margin-top: 2px;
    font-size: 12px;
    line-height: 17px;
    color: #9b9b9b;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-all;
}

.w-gc-meta {
    display: block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 16px;
    color: #bcbcbc;
}

.w-gc-meta em {
    font-style: normal;
    color: #a0a0a0;
}

/* 领取按钮：胶囊，竖排三行文字里居中 */
.w-gc .w-gift-btn {
    flex: 0 0 auto;
    gap: 0;
    height: 34px;
    padding: 0 17px;
    border: 0;
    border-radius: 17px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 38px;
    box-shadow: none;
}

.w-gc .w-gift-btn:active {
    background: var(--w-primary-d);
}

.w-gc .w-gift-btn.is-done {
    background: #efefef;
    color: #a8a8a8;
}

/* ---------------- 开服：同一套子卡，图标收小 ---------------- */

.w-sc {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    background: #fafafa;
}

.w-sc-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    overflow: hidden;
    background: #eceef0;
}

.w-sc-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-sc-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-sc-bd h4 {
    font-size: 15px;
    line-height: 20px;
    font-weight: 700;
    color: #232323;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-sc-bd p {
    margin-top: 2px;
    font-size: 12px;
    line-height: 17px;
    color: #9b9b9b;
}

.w-sc-tag {
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 18px;
    color: #a8a8a8;
}

.w-sc-tag.is-soon {
    color: #c9a227;
    font-weight: 600;
}

/* 适用范围只占一行，长名直接省略，避免把礼包卡撑高 */
.w-gc-use {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 小屏（≤375）礼包卡再收一档：图标 56、按钮窄 4px、间距 10，给文字多留点位置 */
@media (max-width: 375px) {
    .w-gc {
        gap: 10px;
        padding: 11px;
    }

    .w-gc-ico {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .w-gc .w-gift-btn {
        height: 32px;
        padding: 0 13px;
        border-radius: 16px;
        font-size: 13px;
        line-height: 32px;
    }
}

/* 礼包/开服子卡最后校准：卡片内边距 13、按钮 36 高，接近参考图比例 */
.w-gc {
    padding: 13px;
    border-radius: 13px;
}

.w-gc .w-gift-btn {
    height: 36px;
    padding: 0 24px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 36px;
}

.w-sc {
    padding: 12px 13px;
    border-radius: 13px;
}

/* 详情页名称：显示完整游戏名，折扣胶囊紧跟名字后面（不推到行尾） */
.w-dt-name h1 {
    flex: 0 1 auto;
    font-size: 17.5px;
    line-height: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.w-dt-zhe-in {
    margin-top: 3px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 18px;
}

/* 全名较长时按括号自然折行，不要把「3280」这类数字拆开 */
.w-dt-name h1 {
    font-size: 16.5px;
    line-height: 23px;
    word-break: normal;
    overflow-wrap: anywhere;
}

/* 名称主行单行省略，括号补充信息单独一行（灰字），断行更自然 */
.w-dt-name h1 {
    flex: 0 1 auto;
    max-width: 100%;
    font-size: 17.5px;
    line-height: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
}

.w-dt-name-sub {
    margin-top: 2px;
    font-size: 12.5px;
    line-height: 17px;
    color: #9b9b9b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 没有括号副名的长标题（如「内置0.1折双生幻想_打金版」）允许两行，不截断成省略号 */
.w-dt-name h1.is-multi {
    display: -webkit-box;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* ============================================================
   V7 详情 / 评价双视图（2026-11-20 晚）
   ------------------------------------------------------------
   1. 顶部「详情 / 评价」从锚点跳转改成两个视图切换，互不干扰；
   2. 详情视图里的评价只留摘要（大分 + 好评率 + 2 条热评 + 查看全部）；
   3. 评价视图：评分总览（大分数 + 星级 + 好评率）与 5 档分布合并成
      一张卡，下面是筛选胶囊（全部 / 有图 / 精华）和完整评价列表；
   4. 所有块仍是灰底白卡，标题竖黄条沿用 V5。
   ============================================================ */

/* 导航上的评价条数：纯数字上标，灰字无底色（参考图样式） */
.w-dt-nav-num {
    position: relative;
    top: -6px;
    margin-left: 2px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #b3b3b3;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: baseline;
}

/* 当前在评价页时数字跟随文字一起变深 */
.w-dt-nav > a.is-on .w-dt-nav-num {
    color: #6f6f6f;
}

/* 视图切换 */
.w-dview.is-hide,
.w-rview.is-hide {
    display: none;
}

/* 媒体区右下角图集计数 */
.w-md-count {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    padding: 0 7px;
    border-radius: 9px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 10.5px;
    line-height: 18px;
    letter-spacing: .3px;
}

/* ---------------- 详情视图：评价摘要 ---------------- */

.w-ev-brief {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 0 10px;
}

.w-ev-brief > b {
    font-size: 28px;
    font-weight: 700;
    line-height: 32px;
    color: #1a1a1a;
    letter-spacing: -.5px;
}

.w-ev-brief-bd {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.w-ev-brief-bd em {
    font-size: 12px;
    font-style: normal;
    color: #9b9b9b;
}

.w-ev-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 100%;
    height: 38px;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: #fbf7e6;
    color: #8a6b00;
    font-size: 13.5px;
    font-weight: 600;
}

.w-ev-all svg {
    width: 15px;
    height: 15px;
    margin-left: 1px;
    opacity: .55;
}

.w-ev-all:active {
    background: #f5eed3;
}

/* ---------------- 评价视图：总览卡 ---------------- */

.w-rv-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 10px 12px 0;
    padding: 18px 16px 14px;
    background: #fff;
    border-radius: 14px 14px 0 0;
}

.w-rv-score {
    display: flex;
    align-items: baseline;
    gap: 2px;
    color: #1a1a1a;
}

.w-rv-score b {
    font-size: 38px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1.5px;
}

.w-rv-score span {
    font-size: 12px;
    color: #9b9b9b;
}

.w-rv-top-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-ev-stars.is-lg {
    font-size: 16px;
    letter-spacing: 2px;
}

.w-rv-top-bd p {
    margin-top: 7px;
    font-size: 12.5px;
    line-height: 17px;
    color: #9b9b9b;
}

.w-rv-top-bd p em {
    font-style: normal;
    font-weight: 700;
    color: #d99226;
}

/* 五星分布：与总览拼成同一张卡 */
.w-rv-dist {
    margin: 0 12px;
    padding: 0 16px 16px;
    background: #fff;
    border-radius: 0 0 14px 14px;
}

.w-rv-drow {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 0;
}

.w-rv-dlab {
    flex: 0 0 28px;
    font-size: 11px;
    color: #9b9b9b;
}

.w-rv-dbar {
    flex: 1 1 auto;
    height: 6px;
    border-radius: 3px;
    background: #f1f2f3;
    overflow: hidden;
}

.w-rv-dbar b {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #ffda45, #f2b800);
}

.w-rv-dnum {
    flex: 0 0 26px;
    font-size: 11px;
    font-style: normal;
    text-align: right;
    color: #b6b6b6;
}

/* ---------------- 评价视图：筛选 + 列表 ---------------- */

.w-rv-filter {
    display: flex;
    gap: 8px;
    padding: 12px 12px 0;
}

.w-rv-filter a {
    height: 29px;
    padding: 0 15px;
    border-radius: 15px;
    background: #fff;
    color: #666;
    font-size: 12.5px;
    line-height: 29px;
}

.w-rv-filter a.is-on {
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-weight: 600;
}

.w-rv-card {
    margin: 10px 12px 0;
    padding: 4px 14px 14px;
    background: #fff;
    border-radius: 14px;
}

.w-ev-list.is-rv .w-ev {
    padding: 14px 0;
}

.w-rv-none {
    padding: 34px 0 26px;
    text-align: center;
    font-size: 12.5px;
    color: #b3b3b3;
}

.w-rv-none.is-hide {
    display: none;
}

.w-rv-tip {
    margin: 6px 0 0;
    text-align: center;
    font-size: 11.5px;
    color: #bcbcbc;
}

/* 无评价 */
.w-rv-empty {
    margin: 10px 12px;
    padding: 54px 0 66px;
    background: #fff;
    border-radius: 14px;
    text-align: center;
}

.w-rv-empty svg {
    width: 60px;
    height: 52px;
    color: #dedede;
}

.w-rv-empty p {
    margin: 14px 0 0;
    font-size: 14px;
    color: #8f8f8f;
}

.w-rv-empty em {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
    color: #b8b8b8;
}

/* 区块右上角用 <button> 作的「全部 N 条」要去掉浏览器默认按钮样式 */
.w-sec-hd .w-more {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 12px;
    color: #b0b0b0;
}

/* 评价视图底部结束提示 */
.w-rv-end {
    margin: 18px 0 10px;
    text-align: center;
    font-size: 11.5px;
    color: #c6c6c6;
    letter-spacing: .5px;
}

/* 评价空态：卡片撑高一点，别让整页只剩一块小卡 */
.w-rv-empty {
    padding: 72px 0 88px;
}

/* 评价列表头像略放大，跟正文更协调 */
.w-ev-list.is-rv .w-ev-av {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
}

/* ============================================================
   V9：找游戏列表改「一款一张白卡」（2026-11-21）
   ------------------------------------------------------------
   页面浅灰底，每行独立成 14px 圆角白卡，图标放大到 86px，
   标题 / 副信息 / 标签芯片同步放大，间距按参考图收紧。
   ============================================================ */

.w-page-games {
    background: #f4f5f6;
}

/* 外层不再是大白卡，交给每一行自己成卡 */
.w-page-games .w-sec {
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.w-page-games .w-result-tip {
    padding: 12px 14px 8px;
    font-size: 12.5px;
    color: #9b9b9b;
}

.w-page-games .w-list {
    padding: 0 12px;
}

.w-page-games .w-row {
    gap: 12px;
    margin-bottom: 10px;
    padding: 12px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(17, 24, 32, .05);
}

.w-page-games .w-row:active {
    background: #fbfbfc;
}

.w-page-games .w-row-ico {
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 17px;
}

.w-page-games .w-row-bd b {
    font-size: 17.5px;
    line-height: 24px;
}

.w-page-games .w-row-meta {
    margin-top: 5px;
    font-size: 12.5px;
    line-height: 17px;
    color: #a2a2a2;
}

/* 标签多 / 窄屏放不下时换行，别把最后一个芯片的文字硬切掉 */
.w-page-games .w-row-tags {
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 7px;
    overflow: visible;
}

.w-page-games .w-row-tags i {
    padding: 0 7px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 21px;
}

.w-page-games .w-row-btn {
    height: 31px;
    padding: 0 13px;
    font-size: 13px;
    line-height: 31px;
}

/* 空态 / 上拉提示也在灰底上，给空态补一张白卡 */
.w-page-games .w-empty {
    margin: 4px 12px 0;
    padding: 56px 0;
    background: #fff;
    border-radius: 14px;
}

.w-page-games .w-loading {
    color: #a8a8a8;
}

/* ============================================================
   V8 领取礼包前的「温馨提示」弹窗（需下载 App）
   ------------------------------------------------------------
   1. 居中白卡，圆角 14，遮罩比底部弹层更重（.55）；
   2. 标题居中加粗，正文居中灰字两行内；
   3. 按钮左右等宽胶囊：取消浅灰底、确定琥珀金 #ffc000 白字，
      与参考图一致；点确定跳手机端 App 下载页。
   ============================================================ */

.w-dlg-mask {
    position: fixed;
    inset: 0;
    z-index: 920;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    background: rgba(12, 18, 24, .55);
}

.w-dlg-mask.is-show {
    display: flex;
}

.w-dlg {
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    padding: 26px 20px 20px;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
    animation: wDlgIn .18s ease-out both;
}

@keyframes wDlgIn {
    from {
        opacity: 0;
        transform: scale(.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.w-dlg h3 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    color: #1a1a1a;
    letter-spacing: .5px;
}

.w-dlg p {
    margin: 0;
    font-size: 13.5px;
    line-height: 22px;
    color: #5b5b5b;
    word-break: break-word;
}

.w-dlg-act {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.w-dlg-act button {
    flex: 1 1 0;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
}

.w-dlg-act .is-ghost {
    background: #f5f6f8;
    color: #333;
}

.w-dlg-act .is-main {
    background: #ffc000;
    color: #fff;
}

.w-dlg-act .is-ghost:active {
    background: #eceef1;
}

.w-dlg-act .is-main:active {
    background: #f0b400;
}

@media (max-width: 340px) {
    .w-dlg {
        padding: 22px 16px 18px;
    }

    .w-dlg h3 {
        font-size: 17px;
    }

    .w-dlg-act {
        gap: 10px;
        margin-top: 20px;
    }

    .w-dlg-act button {
        height: 42px;
        font-size: 14.5px;
    }
}

/* ============================================================
   V9 首屏四入口：去掉彩色方块底，改成立体图标（对齐 m.milu.com）
   ------------------------------------------------------------
   图标本身由内联 SVG 画好（渐变 + 高光 + 落地阴影），这里只负责
   尺寸与间距：56×56、无底色、文字 13.5px 半粗，上下留白放大。
   ============================================================ */

.w-entry {
    gap: 0;
    /* 分类快筛整行已去掉，底部留白补 6px，避免与「大家都在玩」标题贴太紧 */
    padding: 18px 4px 16px;
}

.w-entry a {
    gap: 9px;
}

.w-entry i {
    width: 56px;
    height: 56px;
    border-radius: 0;
    background: none;
    color: inherit;
}

.w-entry i svg {
    width: 56px;
    height: 56px;
}

.w-entry a:nth-child(1) i,
.w-entry a:nth-child(2) i,
.w-entry a:nth-child(3) i,
.w-entry a:nth-child(4) i {
    background: none;
}

/* 一米游APP logo 图标底部落地阴影：复刻其他 SVG 图标 <ellipse fill="#000" opacity=".10"> 的扁椭圆 */
.w-entry a:nth-child(1) i {
    position: relative;
}
.w-entry a:nth-child(1) i::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 24px;
    height: 6px;
    border-radius: 50%;
    background: #000;
    opacity: 0.10;
}

.w-entry span {
    font-size: 13.5px;
    line-height: 18px;
    font-weight: 500;
    color: #262626;
}

/* ============================================================
   V10 游戏介绍：折叠 + 底部渐隐 + 「展开详情」胶囊按钮
   ------------------------------------------------------------
   之前只有一个纯文字「展开全部」，视觉上几乎看不见；改成灰底胶囊
   + 下拉箭头，折叠态底部加一层白到透明的渐隐，明确提示「还有内容」。
   ============================================================ */

.w-dt-text {
    position: relative;
}

.w-dt-text.is-fold {
    max-height: 96px;
    overflow: hidden;
}

.w-dt-text.is-fold::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
    pointer-events: none;
}

.w-dt-fold {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 34px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    border-radius: 17px;
    background: #f5f6f8;
    color: #3c4249;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
}

.w-dt-fold svg {
    width: 12px;
    height: 12px;
    transition: transform .2s;
}

.w-dt-fold.is-on svg {
    transform: rotate(180deg);
}

.w-dt-fold:active {
    background: #eceef0;
}

/* ============================================================
   V11 详情页媒体区：满宽铺满，去掉左右白边
   ------------------------------------------------------------
   原来 .w-md 有 12px 内边距 + 10px 圆角，海报在实际屏宽少了 24px，
   左右各留一条白边；改成媒体整块贴边（0 内边距、直角），
   缩略图行自己补回 12px 内边距，信息卡恢复成独立圆角卡。
   ============================================================ */

/* 媒体区满宽（左右贴屏幕边），后面的缩略图行同样满宽、同一固定宽度，
   两者左/右边缘一律对齐在 0 / 100% */
.w-page-dt .w-md {
    margin: 0;
    padding: 0;
}

.w-page-dt .w-md-main {
    border-radius: 0;
}

.w-page-dt .w-md-thumbs {
    padding: 10px 0 4px;
}

.w-page-dt .w-md + .w-dt-hd {
    margin-top: 10px;
    padding-top: 14px;
    border-radius: 14px;
}

/* ============================================================
   V12 横图：舞台高度直接由图片本身决定（彻底消除白边 / 模糊条）
   ------------------------------------------------------------
   之前舞台高度靠 JS 量 naturalWidth/Height 再算 padding-bottom，
   一旦量到的图和正在显示的不是同一张（换图、加载时序差异），
   舞台比例就和图片不一致，左右或上下露出白条。改为：
   横图给 .md-fit，舞台 height:auto、图片 position:static，
   高度天然等于图片渲染高度，比例永远一致。
   竖图仍走 16:9 + contain + 同图模糊垫底。
   ============================================================ */

.w-page-dt .w-md-main.md-fit {
    height: auto;
    padding-bottom: 0;
    /* V27：和竖图舞台同一个浅灰底，万一垫底图没就位也不会露出深色 */
    background: #eef0f2;
}

.w-page-dt .w-md-main.md-fit > img.w-md-shot {
    /* V27：改 relative 让 z-index 生效，把舞台底下的模糊图压到下面；
       之前是 static，z-index 无效，模糊垫底只能 display:none，切图淡出时就露出深色底 */
    position: relative;
    z-index: 1;
    inset: auto;
    width: 100%;
    height: auto;
    display: block;
    object-fit: fill;
}

.w-page-dt .w-md-main.md-fit > img.w-md-bg {
    /* V27：横图舞台也保留同图模糊垫底，滑动/换图时不会再出现纯色（黑）闪一下 */
    display: block;
}

/* ============================================================
   V14 缩略图行：放大成 1.6:1 的小截图卡 + 亮金选中框 + 实心白播放键
   ------------------------------------------------------------
   参考 PC/米噜的样式：格子从 80×45（16:9）放大到 100×62（约 1.6:1），
   竖版截图能露出更多画面；选中的用亮金描边（原来是暗金，偏看不出来）；
   视频那一格的播放键改成白色实心圆 + 深色三角，比半透明黑圆更醒目。
   ============================================================ */

/* 用 .w-page-dt 前缀保证压过 V11 段的 .w-page-dt .w-md-thumbs{padding:10px 0 4px} */
.w-page-dt .w-md-thumbs {
    gap: 8px;
    /* 左右各留 12px，第一格/最后一格不再贴屏幕边，与下方信息卡左右对齐 */
    padding: 10px 12px 6px;
}

.w-md-thumbs button {
    flex: 0 0 100px;
    width: 100px;
    height: 62px;
    border-radius: 8px;
    border-width: 2px;
}

.w-md-thumbs button.is-on {
    /* 参考图那种沉稳的暖金描边（取样 #926B30），不再用高亮柠檬黄 + 光晕 */
    border-color: #c8942f;
    box-shadow: 0 0 0 1px rgba(146, 107, 48, .28);
}

.w-md-vplay {
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .28);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.w-md-vplay i {
    left: 9px;
    top: 7px;
    border-left-color: #1b1f24;
}

/* 详情页「玩家评价」摘要里的附图：比评价页小一号，最多 3 张 */
.w-ev-imgs.is-sm img {
    width: 64px;
    height: 64px;
    border-radius: 7px;
}

/* 评价页顶部的静态缩略图：与详情页 button 同尺寸 / 同描边，但不可点 */
.w-md-thumbs .w-thumb {
    position: relative;
    display: block;
    flex: 0 0 100px;
    width: 100px;
    height: 62px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #eef0f2;
    box-sizing: border-box;
}

.w-md-thumbs .w-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.w-md-thumbs .w-thumb.is-on {
    border-color: #c8942f;
    box-shadow: 0 0 0 1px rgba(146, 107, 48, .28);
}

/* ============================================================
   V15 评价页底部：下载 APP 引导（社区讨论条 + 盒子推广卡）
   ============================================================ */

/* 现在挂在第一条评价的 <li> 内部（评论下面），左右交给评价卡内边距 */
.w-app-inv {
    margin: 0;
    padding: 12px 0 2px;
}

/* 上：白底胶囊，灰字提示 + 右箭头 */
.w-app-inv-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 48px;
    padding: 0 16px;
    border-radius: 24px;
    border: 1px solid #ededed;
    background: #fff;
    color: #9d9d9d;
    font-size: 14.5px;
    line-height: 48px;
    text-align: center;
}

.w-app-inv-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 品牌名高亮：金黄（比卡片里的强调色更亮更黄一档） */
.w-app-inv-link em {
    font-style: normal;
    font-weight: 600;
    color: #e8b400;
}

.w-app-inv-link svg {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    opacity: .5;
}

.w-app-inv-link:active {
    background: #fafafa;
}

/* 白卡内部再套白底，靠描边勾出胶囊轮廓（与参考图一致） */

/* 下：浅黄推广卡（图标 + 文案 + 右下按钮） */
.w-app-inv-card {
    display: flex;
    gap: 11px;
    margin-top: 10px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, #fff9e4 0%, #fff5d6 100%);
}

.w-app-inv-ico {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 13px;
    background: var(--w-primary);
    overflow: hidden;
}

.w-app-inv-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-app-inv-bd {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.w-app-inv-bd p {
    font-size: 14.5px;
    line-height: 1.6;
    color: #3a3a3a;
}

.w-app-inv-bd p em {
    font-style: normal;
    font-weight: 700;
    color: #d08600;
}

.w-app-inv-btn {
    align-self: flex-end;
    height: 38px;
    margin-top: 10px;
    padding: 0 26px;
    border-radius: 19px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 38px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(249, 218, 1, .45);
}

.w-app-inv-btn:active {
    background: var(--w-primary-d);
}

/* ============================================================
   V16 礼包中心改版（对齐米噜 m.milu.com/gift 的版式）
   ------------------------------------------------------------
   结构：顶部满宽横幅 → Tab → 分类 → 白底通栏列表
   卡片：左大图标 + 游戏名与折扣标签同行 + 礼包名 + 说明 + 时效 + 右侧橙色领取钮
   ============================================================ */

.w-page-lb {
    background: #fff;
}

/* ---------------- 顶部横幅 ---------------- */

.w-lb-bn {
    position: relative;
    display: flex;
    align-items: center;
    aspect-ratio: 900 / 490;
    overflow: hidden;
    background:
        radial-gradient(85% 70% at 84% 6%, rgba(150, 182, 255, .55), rgba(150, 182, 255, 0) 64%),
        linear-gradient(165deg, #5b86f8 0%, #4a68ee 52%, #3b53dc 100%);
}

/* 底部深色弧：充当画面里的波浪底座 */
.w-lb-bn::after {
    content: "";
    position: absolute;
    left: -14%;
    right: -14%;
    bottom: -30%;
    height: 58%;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, #3f5ade 0%, #3350cf 100%);
    opacity: .92;
    z-index: 1;
}

.w-lb-bn-txt {
    position: relative;
    z-index: 3;
    padding-left: 22px;
    transform: translateY(-6px);
}

.w-lb-bn-t1 {
    display: block;
    font-size: clamp(23px, 8vw, 33px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 1px;
    color: #fff;
    -webkit-text-stroke: 1.1px #dbe6ff;
    text-shadow: 0 3px 0 #2e55d0, 0 6px 14px rgba(14, 36, 110, .35);
}

.w-lb-bn-t2 {
    display: block;
    margin-top: 7px;
    font-size: clamp(27px, 10vw, 41px);
    font-weight: 900;
    font-style: italic;
    line-height: 1;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #fffde8 0%, #ffe27a 42%, #ffc21a 82%, #f5a300 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 0 rgba(198, 124, 0, .42)) drop-shadow(0 6px 12px rgba(70, 35, 0, .2));
}

.w-lb-bn-art {
    position: absolute;
    right: -6px;
    bottom: 0;
    z-index: 2;
    width: 57%;
    height: auto;
}

/* ---------------- 页面骨架 ---------------- */

.w-page-lb .w-filter {
    margin-top: 0;
}

.w-page-lb .w-sec {
    margin-top: 0;
    padding: 0 0 4px;
    background: #fff;
}

.w-page-lb .w-cates {
    padding: 12px 14px 10px;
}

.w-page-lb .w-gifts {
    padding: 12px 14px 4px;
}

/* ============================================================
   V23（2026-11-23）礼包列表：顶部搜索条（标题 + 输入框 + 搜索按钮）
   ============================================================ */
.w-page-lb .w-lb-search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 14px;
    background: #fff;
}

.w-page-lb .w-lb-sh {
    flex: 0 0 auto;
    font-size: 17px;
    font-weight: 700;
    line-height: 22px;
    letter-spacing: .2px;
    color: #15181c;
    white-space: nowrap;
}

.w-page-lb .w-lb-si {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #eceef1;
    border-radius: 17px;
    background: #f6f7f9;
    font-size: 13px;
    color: #22262b;
    -webkit-appearance: none;
    appearance: none;
}

.w-page-lb .w-lb-si::-webkit-search-cancel-button {
    display: none;
}

.w-page-lb .w-lb-si::placeholder {
    color: #a9aeb4;
}

.w-page-lb .w-lb-si:focus {
    border-color: #ffd24a;
    background: #fff;
    outline: 0;
}

.w-page-lb .w-lb-sb {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 15px;
    border: 0;
    border-radius: 17px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 34px;
    white-space: nowrap;
}

.w-page-lb .w-empty {
    padding: 60px 14px;
}

.w-page-lb .w-loading {
    padding: 18px 14px 22px;
}

/* ---------------- 礼包行 ---------------- */

.w-page-lb .w-gift {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: 0;
}

.w-page-lb .w-gift + .w-gift {
    border-top: 1px solid #f1f2f4;
}

/* 图标 + 文字整块是一个链接：点哪里都进游戏详情，右侧领取按钮独立 */
.w-page-lb .w-gift-main {
    display: flex;
    flex: 1 1 auto;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    padding: 13px 0;
    color: inherit;
    text-decoration: none;
}

.w-page-lb .w-gift-main:active {
    opacity: .7;
}

.w-page-lb .w-gift-ico {
    display: block;
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef1f4;
}

.w-page-lb .w-gift-ico img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
}

.w-page-lb .w-gift-bd {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

/* 游戏名 + 折扣标签同行 */
.w-page-lb .w-gift-top {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-width: 0;
}

.w-page-lb .w-gift-game {
    flex: 0 0 auto;
    max-width: 62%;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    /* V24：游戏名由纯黑 #191919 调暗一档，避免整条太重 */
    color: #42474d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-page-lb .w-gift-tag {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 44%;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f4f5f7;
    color: #8b9096;
    font-size: 11.5px;
    line-height: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.w-page-lb .w-gift-name {
    display: block;
    margin: 5px 0 0;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 21px;
    /* V24：礼包名由 #23282d 调暗成中灰，与详情页礼包名同色 */
    color: #6b7079;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-page-lb .w-gift-bd .w-gift-ct {
    display: block;
    margin: 4px 0 0;
    font-size: 11.5px;
    line-height: 17px;
    color: #a3a8ae;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.w-page-lb .w-gift-bd .w-gift-meta {
    display: block;
    margin-top: 5px;
    font-size: 11px;
    line-height: 16px;
    color: #b3b8be;
}

/* 领取按钮：小圆角橙色渐变 + 白字 */
.w-page-lb .w-gift-btn {
    flex: 0 0 auto;
    /* V23：整行垂直居中（原来贴礼包名那一行，用户要求放中间） */
    align-self: center;
    margin-top: 0;
    min-width: 74px;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffc32a 0%, #ff9d00 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 36px;
    box-shadow: 0 2px 6px rgba(255, 157, 0, .28);
}

.w-page-lb .w-gift-btn:active {
    background: linear-gradient(180deg, #f5b500 0%, #ef8f00 100%);
}

.w-page-lb .w-gift-btn.is-done {
    background: #f2f3f5;
    color: #9aa0a6;
    box-shadow: none;
}

/* 320 级窄屏：图标与按钮各收一档，给文字块留出完整时效行 */
@media (max-width: 350px) {
    .w-page-lb .w-gift {
        gap: 8px;
    }

    .w-page-lb .w-gift-main {
        gap: 8px;
        padding: 12px 0;
    }

    .w-page-lb .w-gift-ico {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        border-radius: 9px;
    }

    .w-page-lb .w-gift-game {
        font-size: 15px;
    }

    .w-page-lb .w-gift-name {
        font-size: 14.5px;
    }

    .w-page-lb .w-gift-bd .w-gift-meta {
        font-size: 10px;
    }

    .w-page-lb .w-gift-btn {
        min-width: 58px;
        height: 34px;
        margin-top: 0;
        padding: 0 8px;
        font-size: 13px;
        line-height: 34px;
    }
}

/* ============================================================
   V17 详情页「专属礼包」改为米噜式
   ------------------------------------------------------------
   参考图：每条一张浅灰圆角卡，左侧「礼包名 + 内容」，右侧黄色胶囊「领取」；
   不再显示游戏图标、适用范围、剩余数量和有效期。
   ============================================================ */

.w-page-dt .w-gc {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    padding: 14px 16px;
    border: 0;
    border-radius: 12px;
    background: #f7f8fa;
}

.w-page-dt .w-gc-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-page-dt .w-gc-bd h4 {
    margin: 0;
    font-size: 15.5px;
    line-height: 21px;
    font-weight: 600;
    color: #6b7079;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 内容不再截断成 2 行，按容器宽度完整折行 */
.w-page-dt .w-gc-ct {
    display: block;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 20px;
    color: #8f959c;
    overflow: visible;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    word-break: break-word;
}

/* 领取按钮：黄橙渐变 + 白字，与礼包列表页一套；垂直居中于整张卡片 */
.w-page-dt .w-gc .w-gift-btn {
    flex: 0 0 auto;
    align-self: center;
    margin-top: 0;
    min-width: 76px;
    height: 34px;
    padding: 0 18px;
    border: 0;
    border-radius: 17px;
    background: linear-gradient(180deg, #ffc32a 0%, #ff9d00 100%);
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 34px;
    box-shadow: 0 2px 6px rgba(255, 157, 0, .26);
}

.w-page-dt .w-gc .w-gift-btn:active {
    background: linear-gradient(180deg, #f5b500 0%, #ef8f00 100%);
}

.w-page-dt .w-gc .w-gift-btn.is-done {
    background: #eef0f2;
    color: #9aa0a6;
    box-shadow: none;
}

@media (max-width: 350px) {
    .w-page-dt .w-gc {
        gap: 10px;
        padding: 12px 13px;
    }

    .w-page-dt .w-gc-bd h4 {
        font-size: 16px;
    }

    .w-page-dt .w-gc-ct {
        font-size: 12.5px;
    }

    .w-page-dt .w-gc .w-gift-btn {
        min-width: 66px;
        height: 32px;
        padding: 0 14px;
        border-radius: 16px;
        font-size: 13.5px;
        line-height: 32px;
    }
}

/* ============================================================
   V18（2026-11-23）找游戏：分类胶囊加大 + 顶部显示当前分类名
   ============================================================ */
.w-page-games .w-filter .w-cate {
    height: 32px;
    padding: 0 15px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 32px;
}

.w-page-games .w-filter .w-cate:not(.is-on) {
    /* V22：未选中的分类文字提亮（#555 → #303035），在浅灰胶囊上更清晰；
       用 :not(.is-on) 排除选中态，避免盖掉黄底白字 */
    color: #303035;
}

.w-page-games .w-filter .w-cate.is-on {
    font-weight: 600;
}

.w-page-games .w-result-tip {
    padding: 12px 14px 8px;
    font-size: 13px;
}

.w-tip-cate {
    margin-right: 1px;
    font-size: 15px;
    font-weight: 700;
    color: #1b1b1f;
    vertical-align: -1px;
}

.w-tip-dot {
    margin: 0 5px 0 2px;
    font-style: normal;
    font-weight: 400;
    color: #c9c9c9;
}

/* 窄屏（≤360）稍微收一点，避免胶囊挤成两行 */
@media (max-width: 360px) {
    .w-page-games .w-filter .w-cate {
        height: 30px;
        padding: 0 13px;
        font-size: 13.5px;
        line-height: 30px;
    }
}

/* ============================================================
   V19（2026-11-23）详情页大图：点击放大 + 左右滑动看图
   ============================================================ */
.w-page-dt .w-md-main {
    cursor: zoom-in;
}

.w-viewer {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    /* 半透明深色 + 轻微模糊：透出底下的页面轮廓，不再是一整块纯黑边 */
    background: rgba(0, 0, 0, .55);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overscroll-behavior: contain;
    -webkit-tap-highlight-color: transparent;
}

.w-viewer.is-on {
    display: block;
}

.w-viewer-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

.w-viewer-track::-webkit-scrollbar {
    display: none;
}

.w-viewer-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 按参考站（Viewer.js initialCoverage 0.9）：图片占视口约 90%，四周只留很窄的边 */
    padding: 5% 5%;
    box-sizing: border-box;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.w-viewer-item img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 横版大图（宣传横幅之类）：左右不留边、按满宽显示，视觉上更大 */
.w-viewer-item.is-wide {
    padding: 0;
    overflow: hidden;
}

/* 再放大一档：按 1.12 倍缩放，左右各裁掉约 6%（不影响布局宽度） */
.w-viewer-item.is-wide img {
    width: 100%;
    height: auto;
    max-height: 100%;
    transform: scale(1.12);
    transform-origin: center center;
}

.w-viewer-x {
    position: absolute;
    top: calc(10px + env(safe-area-inset-top));
    right: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .28);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-viewer-x i {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
}

.w-viewer-x i::before,
.w-viewer-x i::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.w-viewer-x i::before {
    transform: rotate(45deg);
}

.w-viewer-x i::after {
    transform: rotate(-45deg);
}

.w-viewer-num {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(18px + env(safe-area-inset-bottom));
    text-align: center;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
    pointer-events: none;
}

/* ============================================================
   V20（2026-11-23）列表页：文档不滚，内容在 .w-page 内滚
   ------------------------------------------------------------
   安卓自带浏览器只在「文档本身滚动」时才把地址栏收成细条，
   而且会把这个状态带进下一页。列表页改成内部滚动容器后，
   文档始终停在 0 位置，顶栏一直保持展开态，点进详情也继承展开态。
   ============================================================ */

html.w-appscroll,
html.w-appscroll body {
    height: 100%;
    overflow: hidden;
}

html.w-appscroll body {
    display: flex;
    flex-direction: column;
}

html.w-appscroll .w-hd {
    flex: 0 0 auto;
}

html.w-appscroll .w-page {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    /* 隐藏滚动条：否则桌面/部分安卓内核会给滚动条留 15px，把右侧按钮挤出去 */
    scrollbar-width: none;
}

html.w-appscroll .w-page::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

/* V21：内滚动下 .w-page 自己就是滚动容器，筛选条的 sticky 基准改成容器顶（0）。
   仍写 top:var(--w-hd-h) 的话，阈值变成了「容器顶 + 50px」，元素会被往下推 50px，
   分类条上方就露出一条灰色空隙。 */
html.w-appscroll .w-filter {
    top: 0;
}

/* ============================================================
   V26（2026-11-23）内滚动页补「下拉刷新」圆形指示器
   ------------------------------------------------------------
   .w-page 改成内滚动后文档不再滚动，安卓/Chrome 自带的 PTR
   （顶部下拉刷新）就再也不会触发。这里用 JS 接管手势，做成
   和游戏详情页（原生 PTR）一样的白色圆盘 + 蓝色旋转圈。
   ============================================================ */
.w-ptr {
    position: fixed;
    left: 50%;
    top: var(--w-hd-h);
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: -21px;
    /* 收起时整块藏在顶栏后面；下拉时从下沿滑出，底边始终贴着内容顶部，
       中间不会出现空档（原生 PTR 就是这个观感） */
    margin-top: -42px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px rgba(17, 24, 32, .16), 0 1px 2px rgba(17, 24, 32, .08);
    pointer-events: none;
    opacity: 0;
    transition: opacity .12s linear;
}

.w-ptr-ic {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #e2eaf6;
    border-top-color: #2f7ff0;
    border-radius: 50%;
    transform: rotate(0);
}

/* 松手后无限旋转 */
.w-ptr.is-loading .w-ptr-ic {
    animation: w-ptr-spin .7s linear infinite;
}

@keyframes w-ptr-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   V27（2026-11-23）详情大图滑动 / 换图不再「黑闪」
   ------------------------------------------------------------
   舞台底色在横图（.md-fit）时原来是 #0e1114，切图流程又把主图
   淡到 opacity:0，安卓上就会闪一下黑。现在改成：
   旧图始终不透明垫底，新图换成上层 .w-md-swap 淡入，
   换完再把主图 src 落定、覆盖层收起 —— 全程不露舞台底色。
   ============================================================ */
/* 覆盖层是一整屏（自带模糊垫底），滑入时不会在两张图之间露出空隙 */
.w-page-dt .w-md-main > .w-md-swap {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    background: #eef0f2;
    /* 滑入的「下一页」带一点层叠阴影，边界清楚，不会看成中间空了 */
    box-shadow: -10px 0 18px rgba(10, 14, 20, .26);
    opacity: 0;
    pointer-events: none;
}

.w-page-dt .w-md-main > .w-md-swap > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.w-page-dt .w-md-main > .w-md-swap > img.w-md-swapbg {
    object-fit: cover;
    transform: scale(1.15);
    filter: blur(20px) saturate(1.2) brightness(.92);
    opacity: .9;
}

/* ============================================================
   V28（2026-11-23）详情大图滑动的合成层优化
   ------------------------------------------------------------
   左右滑是「当前图 + 下一张」两层同步位移，每次 touchmove 都改
   transform。提前把它们提为合成层，避免每帧重绘整块媒体区
   （安卓低端机上就是那种黏手的掉帧感）。
   ============================================================ */
.w-page-dt .w-md-main > img.w-md-shot,
.w-page-dt .w-md-main > .w-md-swap {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 注意：这里不能给 .w-md-main 设 touch-action: pan-y —— 安卓 Chrome 会把
   横向手势判成「不允许的方向」，直接 touchcancel 掉整串事件，滑动就失效了。 */

/* ============================================================
   V29（2026-11-24）顶栏宽度与内容列对齐；个人中心入口移除
   ------------------------------------------------------------
   .w-page 和底部 .w-tab 都是「max-width:640px + 居中」，只有 .w-hd
   是整屏宽的白条。在平板/桌面浏览器里看，顶栏 logo 贴屏幕最左、
   搜索框拉到最右，和下面的内容列完全不在一条线上。这里让顶栏也按
   640 居中（手机宽度 ≤640 时表现不变，两者本来就同宽）。
   另外模板里已去掉右上角的「个人中心」图标，底部「我的」保留。
   ============================================================ */
.w-hd {
    box-sizing: border-box;
    /* 必须显式 width:100%：内滚动模式下 .w-hd 是 body 的 flex 子项，
       margin:0 auto 的自动外边距会让它的宽度变成「内容自适应」（只剩 356px），
       手机端就会缩在中间、左右各留一条空白 */
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

/* ============================================================
   V32（2026-11-24）开服表改「日期卡 + 状态筛选 + 卡片行」
   ------------------------------------------------------------
   按用户给的参考图重做，替掉 V31 时间轴：
   顶部标题 + 已开服/待开服统计 → 可横滑日期卡（黄色选中）→
   全部/已开服/未开服筛选 → 列表行：时间｜图标｜游戏名+标签+区服｜状态+进入游戏。
   ============================================================ */
.w-page-kf {
    background: #fff;
}

/* ---------- 标题条 ---------- */
.w-kf-top {
    padding: 16px 12px 10px;
    background: #fff;
}

.w-kf-row1 {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.w-kf-row1 h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 800;
    letter-spacing: -.2px;
    color: #1b1b1f;
}

.w-kf-sub {
    margin: 5px 0 0;
    font-size: 11.5px;
    line-height: 16px;
    color: #9aa4ae;
}

.w-kf-stat {
    flex: 0 0 auto;
    display: flex;
    gap: 9px;
    padding-top: 2px;
    font-size: 10.5px;
    line-height: 16px;
    color: #8a9099;
    white-space: nowrap;
}

.w-kf-stat b {
    font-size: 13px;
    font-weight: 700;
    color: #1b1b1f;
    font-variant-numeric: tabular-nums;
}

/* ---------- 日期卡（横向滚动） ---------- */
.w-kf-days {
    display: flex;
    gap: 8px;
    padding: 2px 12px 12px;
    background: #fff;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w-kf-days::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.w-kf-day {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 58px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #f4f5f7;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .16s ease;
}

.w-kf-day b {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: #1b1b1f;
    font-variant-numeric: tabular-nums;
}

.w-kf-day em {
    font-size: 10.5px;
    line-height: 14px;
    font-style: normal;
    color: #9aa4ae;
}

.w-kf-day.is-on {
    background: var(--w-primary);
}

.w-kf-day.is-on b {
    color: #111;
}

.w-kf-day.is-on em {
    color: rgba(17, 17, 17, .58);
}

/* ---------- 状态筛选 ---------- */
.w-kf-flt {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
    background: #fff;
}

.w-kf-flt button {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #f4f5f7;
    color: #5c6167;
    font: inherit;
    font-size: 12.5px;
    -webkit-tap-highlight-color: transparent;
}

.w-kf-flt button.is-on {
    background: #fff;
    border-color: #e4e7ea;
    color: #1b1b1f;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(20, 26, 34, .07);
}

/* ---------- 列表 ---------- */
.w-kf-list {
    background: #fff;
}

.w-kf-it {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid #f3f5f7;
    -webkit-tap-highlight-color: transparent;
}

.w-kf-it:last-of-type {
    border-bottom: 0;
}

.w-kf-it:active {
    background: #fafbfc;
}

.w-kf-it.is-hide,
.w-kf-empty.is-hide {
    display: none !important;
}

.w-kf-t {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: 40px;
}

.w-kf-t b {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: -.2px;
    color: #1b1b1f;
    font-variant-numeric: tabular-nums;
}

.w-kf-t em {
    margin-top: 1px;
    font-size: 10.5px;
    line-height: 14px;
    font-style: normal;
    color: #a3abb4;
    font-variant-numeric: tabular-nums;
}

.w-kf-it img {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #eef1f4;
    object-fit: cover;
}

.w-kf-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-kf-bd h4 {
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: #1b1b1f;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-kf-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 4px 0 0;
    overflow: hidden;
}

.w-kf-tag {
    flex: 0 0 auto;
    height: 16px;
    padding: 0 5px;
    border-radius: 4px;
    background: #f4f5f7;
    color: #71767d;
    font-size: 10px;
    line-height: 16px;
}

.w-kf-sv {
    flex: 1 1 60px;
    min-width: 0;
    overflow: hidden;
    color: #a3abb4;
    font-size: 10.5px;
    line-height: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-kf-act {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.w-kf-st {
    padding: 0 6px;
    border-radius: 4px;
    background: #f0f2f5;
    color: #8a9099;
    font-size: 10px;
    line-height: 15px;
    white-space: nowrap;
}

.w-kf-st.is-open {
    background: rgba(249, 218, 1, .2);
    color: #8f7000;
}

.w-kf-go {
    height: 28px;
    padding: 0 11px;
    border-radius: 14px;
    background: var(--w-primary);
    color: #111;
    font-size: 12px;
    font-weight: 600;
    line-height: 28px;
    white-space: nowrap;
}

.w-kf-empty {
    padding: 40px 0;
    color: #a3abb4;
    font-size: 13px;
    text-align: center;
}

/* ============================================================
   V33（2026-11-24）详情页「玩家评价」下方加下载 APP 引导
   ------------------------------------------------------------
   复用评价视图里的 .w-app-inv（社区讨论条 + 盒子推广卡），
   这里只补详情页主视图的外边距：落在灰底上、左右各 12px，
   与上下 .w-sec 白卡左右对齐。
   ============================================================ */
.w-app-inv-sec {
    margin: 0;
    padding: 12px 0 2px;
}

/* 评价列表最后一条如果自带分隔线，引导块前面就不用再叠一条 */
.w-page-dt .w-ev-list > .w-ev:last-child {
    border-bottom: 0;
}

/* 详情页全局 p 带默认 margin，会把推广卡文案撑高一行 */
.w-app-inv-sec .w-app-inv-bd p {
    margin: 0;
}

/* 文案在 366px 宽下按词换行，别把「手游折扣平台」从中间劈开 */
.w-app-inv-sec .w-app-inv-bd p {
    font-size: 13.5px;
    line-height: 1.62;
}

.w-app-inv-sec .w-app-inv-bd p em {
    white-space: nowrap;
}

.w-app-inv-sec .w-app-inv-link {
    height: 52px;
    line-height: 52px;
    font-size: 14px;
}

.w-app-inv-sec .w-app-inv-btn {
    height: 40px;
    margin-top: 12px;
    line-height: 40px;
    border-radius: 20px;
}

/* ============================================================
   V34（2026-11-24）详情页评价空态与「评价」视图统一
   ------------------------------------------------------------
   参考图：图标居中、标题「还没有玩家评价」、下面一行浅灰副标题。
   之前这里只有一行「暂无评论」，文案与评价视图不一致。
   ============================================================ */
.w-ev-empty svg {
    width: 60px;
    height: 52px;
    color: #dedede;
}

.w-ev-empty p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 20px;
    color: #b3b3b3;
}

.w-ev-empty em {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-style: normal;
    line-height: 17px;
    color: #b8b8b8;
}

/* ============================================================
   V35（2026-11-24）评价视图「无评价」卡片里也放下载 APP 引导
   ------------------------------------------------------------
   空态卡片是 text-align:center、没有左右内边距，而且原有的
   `.w-rv-empty svg / p / em` 是后代选择器，会连带命中引导块里的
   箭头图标、品牌名 em、推广文案 p。这里两头都要管：
   1）空态本体只作用于直接子元素，别再外溢；
   2）引导块内部按自己的规则重置字号、颜色、对齐。
   ============================================================ */
.w-rv-empty {
    padding: 46px 14px 15px;
}

/* 空态本体：只认直接子元素，避免污染引导块 */
.w-rv-empty > svg {
    width: 60px;
    height: 52px;
    color: #dedede;
}

.w-rv-empty > p {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 20px;
    color: #b3b3b3;
}

.w-rv-empty > em {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 17px;
    font-style: normal;
    color: #b8b8b8;
}

/* 引导块内部全部按原版尺寸还原 */
.w-rv-empty .w-rv-appinv {
    margin: 26px 0 0;
    padding: 0;
    text-align: left;
}

.w-rv-empty .w-rv-appinv svg {
    flex: 0 0 auto;
    width: 13px;
    height: 13px;
    opacity: .5;
}

.w-rv-empty .w-rv-appinv .w-app-inv-link em {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: 600;
    line-height: inherit;
    color: #e8b400;
}

/* 全局 p 带默认 margin，会把推广卡文案撑高一行 */
.w-rv-empty .w-app-inv-bd p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.62;
    color: #3a3a3a;
    text-align: left;
}

.w-rv-empty .w-app-inv-bd p em {
    display: inline;
    margin: 0;
    font-size: inherit;
    font-weight: 700;
    line-height: inherit;
    white-space: nowrap;
    color: #d08600;
}

.w-rv-empty .w-app-inv-link {
    height: 52px;
    line-height: 52px;
    font-size: 14px;
}

.w-rv-empty .w-app-inv-btn {
    height: 40px;
    margin-top: 12px;
    line-height: 40px;
    border-radius: 20px;
}

/* ============================================================
   V36（2026-11-24）详情页评价空态对齐「评价」视图的版式
   ------------------------------------------------------------
   目标：详情页 #comment 里的空态 + 下载引导，纵向留白与
   评价视图 .w-rv-empty 完全一致（图标→标题 19、标题→副标题 6、
   副标题→引导条 26、卡片底部 16）。
   原来这里空态自带 38px 底内边距，再叠引导条 12px 顶内边距，
   副标题到引导条拉开 38px，比评价视图松一半。
   ============================================================ */
.w-page-dt .w-ev-empty {
    padding: 30px 0 0;
}

.w-page-dt .w-ev-empty p {
    margin: 14px 0 0;
}

.w-page-dt .w-app-inv-sec {
    padding: 26px 0 0;
}

/* ============================================================
   V37（2026-11-24）人数改成准确数字后，窄屏放得下就换行
   ------------------------------------------------------------
   「19362人在玩 · 动态开服」在 320 宽会被省略号切掉后半段，
   这里让它在窄屏换行显示完整，宽屏仍保持单行。
   ============================================================ */
@media (max-width: 340px) {
    .w-dt-meta {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

/* 换行只允许发生在「人数」和「开服状态」之间，别把「动态开服」拆两半 */
.w-dt-meta-i {
    white-space: nowrap;
}

/* ============================================================
   V38（2026-11-24）顶栏右侧加「下载APP」按钮
   ------------------------------------------------------------
   原来这里放的是个人中心图标（已下线），改成常驻的下载入口。
   搜索框是 flex:1 + min-width:0，会自己让位，不用改宽度。
   窄屏（≤360）把内边距和字号收一档，避免搜索框被挤成一条缝。
   ============================================================ */
.w-hd-dl {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 0 13px;
    border-radius: 15px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.2px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(249, 218, 1, .38);
}

.w-hd-dl:active {
    background: var(--w-primary-d);
}

@media (max-width: 360px) {
    .w-hd-dl {
        height: 28px;
        padding: 0 10px;
        border-radius: 14px;
        font-size: 11.5px;
    }

    .w-hd-nav {
        gap: 10px;
    }

    .w-hd-nav a {
        font-size: 13.5px;
    }
}

/* ============================================================
   V128（2026-11-24）新增排行榜页 /m/rank.html
   ------------------------------------------------------------
   顶栏「礼包」换成「排行榜」，该页承接入口：
   标题条 + 人气/新游/评分三个胶囊 → 白卡榜单（名次 + 图标 + 名称/分类人气 + 按钮）。
   名次 1~3 用主色红标出，4 名之后是普通灰数字；评分榜右侧显示分数。
   ============================================================ */

.w-page-rk {
    background: #f4f5f6;
}

/* ---------- 标题条 ---------- */

.w-rk-top {
    padding: 14px 12px 10px;
    background: #fff;
}

.w-rk-tt {
    display: flex;
    align-items: center;
    gap: 6px;
}

.w-rk-tt h2 {
    margin: 0;
    font-size: 19px;
    line-height: 26px;
    font-weight: 700;
    color: #1b1b1f;
}

.w-rk-sub {
    margin: 4px 0 0;
    font-size: 11.5px;
    line-height: 16px;
    color: #9aa4ae;
}

/* ---------- 榜单切换 ---------- */

.w-rk-tabs {
    display: flex;
    gap: 8px;
    padding: 0 12px 12px;
    background: #fff;
}

.w-rk-tabs a {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: #f4f5f7;
    color: #5c6167;
    font-size: 12.5px;
    line-height: 28px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.w-rk-tabs a.is-on {
    background: #fff;
    border-color: #e4e7ea;
    color: #1b1b1f;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(20, 26, 34, .07);
}

/* ---------- 榜单卡片 ---------- */

.w-rk-card {
    margin: 10px 12px 0;
    padding: 0 12px;
    border-radius: 14px;
    background: #fff;
}

.w-rk-it {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f5f7;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.w-rk-it:last-of-type {
    border-bottom: 0;
}

.w-rk-it:active {
    background: #fafbfc;
}

/* 名次 */
.w-rk-no {
    flex: 0 0 20px;
    text-align: center;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: #b3b7bd;
    font-variant-numeric: tabular-nums;
}

.w-rk-no.is-top {
    color: #f5483b;
    font-size: 15px;
}

/* 图标 */
.w-rk-ico {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 13px;
    overflow: hidden;
    background: #eef1f4;
}

.w-rk-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 文案 */
.w-rk-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-rk-bd b {
    display: block;
    overflow: hidden;
    font-size: 15px;
    line-height: 21px;
    font-weight: 700;
    color: #282828;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-rk-meta {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    font-size: 12px;
    line-height: 16px;
    color: #9b9b9b;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-rk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 5px;
    margin-top: 5px;
}

.w-rk-tags i {
    flex: 0 0 auto;
    padding: 0 5px;
    border-radius: 2px;
    background: var(--w-chip-bg);
    color: var(--w-chip-tx);
    font-size: 11px;
    line-height: 18px;
    font-style: normal;
}

.w-rk-tags i.is-zhe {
    padding: 0 6px;
    border-radius: 3px;
    background: #f5483b;
    color: #fff;
    font-weight: 600;
}

/* 右侧：下载按钮 / 评分 */
.w-rk-rt {
    flex: 0 0 auto;
}

.w-rk-go {
    display: block;
    height: 28px;
    padding: 0 12px;
    border-radius: 5px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 12.5px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    white-space: nowrap;
}

.w-rk-score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
}

.w-rk-score b {
    font-size: 16px;
    font-weight: 700;
    color: #f5483b;
    font-variant-numeric: tabular-nums;
}

.w-rk-score em {
    margin-top: 3px;
    font-size: 10.5px;
    font-style: normal;
    color: #9aa4ae;
}

.w-rk-end {
    padding: 14px 0 16px;
    border-top: 1px solid #f3f5f7;
    text-align: center;
    font-size: 11.5px;
    line-height: 16px;
    color: #b3b7bd;
}

/* 320 及以下：图标与名次收一档，给名称留宽度 */
@media (max-width: 340px) {
    .w-rk-ico {
        flex: 0 0 54px;
        width: 54px;
        height: 54px;
    }

    .w-rk-bd b {
        font-size: 14px;
    }

    .w-rk-go {
        height: 26px;
        padding: 0 10px;
        font-size: 12px;
        line-height: 26px;
    }
}

/* 320 及以下：顶栏多了「排行榜」三字，比「礼包」宽，这里统一收一档，
   把省下的宽度还给搜索胶囊（否则「搜索游戏」会被切成省略号） */
@media (max-width: 340px) {
    .w-hd {
        gap: 8px;
        padding: 0 10px;
    }

    .w-hd-nav {
        gap: 8px;
    }

    .w-hd-nav a {
        font-size: 13px;
    }

    .w-hd-dl {
        padding: 0 9px;
        font-size: 11px;
    }

    .w-search {
        padding: 0 9px;
    }

    .w-search svg {
        margin-right: 5px;
    }
}

/* ============================================================
   V137（2026-11-24）顶栏搜索恢复单胶囊 + 点击进搜索页
   ------------------------------------------------------------
   撤回 V130 的「灰胶囊 + 框外橙色搜索按钮」：顶栏只留一颗浅灰胶囊
   （放大镜 + 「搜索游戏」），整条可点，进 /m/search.html 再打字。
   搜索页样式见本文件末尾 .w-sc-*。
   ============================================================ */

.w-search {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 33px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f6f8;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.w-search:active {
    background: #eef0f3;
}

.w-search svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    color: #9a9a9a;
}

.w-search-tx {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 33px;
    color: #a8a8a8;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-search.is-val .w-search-tx {
    color: #4a4a4a;
}

/* 360~375 段：导航与下载APP 各收一档，给胶囊留出宽度 */
@media (max-width: 375px) {
    .w-hd {
        gap: 7px;
    }

    .w-hd-nav {
        gap: 10px;
    }

    .w-hd-nav a {
        font-size: 12.5px;
    }

    .w-hd-dl {
        padding: 0 10px;
        font-size: 11px;
    }

    .w-search {
        padding: 0 10px;
    }
}

/* ============================================================
   V137（2026-11-24）搜索页 /m/search.html
   ------------------------------------------------------------
   版式参考 m.milu.com/search/：顶部「返回 + 灰胶囊输入框」，
   下面「搜索热词」标签云（第一个带 🔥），再下面是「猜你想搜 /
   热门搜索」两张白卡。390 下两卡横排、右侧露出一角提示可横滑。
   ============================================================ */

.w-page-sc {
    min-height: 100vh;
    padding-bottom: 20px;
    background: #fff;
}

/* ---------- 顶部搜索条 ---------- */

.w-sc-hd {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 6px;
    height: 50px;
    padding: 0 12px;
    background: #fff;
}

.w-sc-back {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: -6px;
    color: #1b1b1f;
    text-decoration: none;
}

.w-sc-back svg {
    width: 21px;
    height: 21px;
}

.w-sc-back:active {
    opacity: .55;
}

.w-sc-form {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    height: 33px;
    padding: 0 12px;
    border-radius: 999px;
    background: #f5f6f8;
}

.w-sc-form svg {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    color: #9a9a9a;
}

.w-sc-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 31px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    color: #1b1b1f;
    -webkit-appearance: none;
    appearance: none;
}

.w-sc-form input::placeholder {
    color: #a8a8a8;
}

/* 系统自带的清除「×」在 33px 的胶囊里很挤，聚焦后退格即可清空 */
.w-sc-form input::-webkit-search-cancel-button,
.w-sc-form input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* ---------- 搜索热词 ---------- */

.w-sc-blk {
    padding: 14px 12px 0;
}

.w-sc-tt {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 21px;
    font-weight: 700;
    color: #1b1b1f;
}

.w-sc-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.w-sc-word {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 30px;
    padding: 0 11px;
    border-radius: 6px;
    background: #f4f5f6;
    color: #4a4a4a;
    font-size: 12.5px;
    line-height: 30px;
    text-decoration: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.w-sc-word:active {
    background: #eceef0;
}

/* 第一个热词：只保留火焰图标，底色跟其他热词一样（2026-11-24
   用户要求去掉白底与橙描边，别再像「被选中」的样子） */
.w-sc-word.is-hot {
    color: #1b1b1f;
    font-weight: 600;
}

.w-sc-fire {
    font-size: 11px;
    font-style: normal;
    line-height: 1;
}

/* ---------- 猜你想搜 / 热门搜索 ---------- */

.w-sc-cols {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding: 0 12px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* snap 会把卡片吸到容器内容起点，不加 scroll-padding 的话第一张会贴到
       屏幕最左（12px 内边距被吃掉），所以这里把吸附基准也推进 12px */
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.w-sc-cols::-webkit-scrollbar {
    display: none;
}

.w-sc-card {
    flex: 0 0 68%;
    box-sizing: border-box;
    padding: 12px 12px 4px;
    border: 1px solid #ececec;
    border-radius: 10px;
    background: #fff;
    scroll-snap-align: start;
}

.w-sc-ctt {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 21px;
    font-weight: 700;
    color: #1b1b1f;
}

.w-sc-it {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.w-sc-it:active {
    opacity: .7;
}

/* 名次：1~3 红斜体，4 名之后浅灰 */
.w-sc-no {
    flex: 0 0 13px;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    font-weight: 700;
    line-height: 18px;
    color: #c2c6cc;
    font-variant-numeric: tabular-nums;
}

.w-sc-no.is-top {
    color: #f5483b;
}

.w-sc-ico {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 9px;
    overflow: hidden;
    background: #eef1f4;
}

.w-sc-ico img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-sc-bd {
    flex: 1 1 auto;
    min-width: 0;
}

.w-sc-bd b {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 14px;
    line-height: 19px;
    font-weight: 700;
    color: #282828;
}

.w-sc-nm {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.w-sc-bdge {
    flex: 0 0 auto;
    padding: 0 3px;
    border-radius: 2px;
    background: #f5483b;
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 14px;
}

.w-sc-bd em {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    font-size: 11.5px;
    font-style: normal;
    line-height: 16px;
    color: #9b9b9b;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 320 及以下：两卡各占 92%，图标与标题各收一档 */
@media (max-width: 340px) {
    .w-sc-card {
        flex: 0 0 76%;
    }

    /* 320 顶栏胶囊只有 80px，「搜索游戏」放不下，收成「搜索」两字；
       带了关键词时按原样显示（is-val） */
    .w-search-tx {
        font-size: 0;
    }

    .w-search-tx::after {
        content: "搜索";
        font-size: 13px;
    }

    .w-search.is-val .w-search-tx {
        font-size: 13px;
    }

    .w-search.is-val .w-search-tx::after {
        content: none;
    }

    .w-sc-ico {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .w-sc-bd b {
        font-size: 13.5px;
    }
}

/* ============================================================
   V141（2026-11-24）账号设置页
   ------------------------------------------------------------
   个人中心「账号设置」原来跳旧手机皮肤的「个人信息」页（橙色、只能看不能改），
   这里在新皮肤里做成可编辑页：头像九宫格选择 + 昵称输入 + 保存。
   结构见 templates/wapx/user/setting.html，保存走
   POST /?ct=wapx&ac=setting&do=save（json）。
   ============================================================ */

.w-page-set {
    min-height: 100vh;
    padding-bottom: 28px;
    background: var(--w-bg);
}

.w-set-hd {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    height: var(--w-hd-h);
    padding: 0 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(20, 30, 40, .04);
}

.w-set-back {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-left: -6px;
    color: #1b1b1f;
    text-decoration: none;
}

.w-set-back svg {
    width: 21px;
    height: 21px;
}

.w-set-back:active {
    opacity: .55;
}

.w-set-hd h1 {
    flex: 1 1 auto;
    margin: 0;
    padding-right: 24px;
    font-size: 16.5px;
    font-weight: 700;
    line-height: var(--w-hd-h);
    text-align: center;
    color: var(--w-t1);
}

.w-set-blk {
    margin: 12px 12px 0;
    padding: 14px 14px 16px;
    border-radius: var(--w-r);
    background: #fff;
    box-shadow: 0 6px 20px rgba(20, 40, 60, .04);
}

.w-set-tt {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    color: var(--w-t2);
}

/* 当前头像预览 */
.w-set-cur {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
}

.w-set-cur img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f6f8;
    object-fit: cover;
}

.w-set-cur span {
    font-size: 12.5px;
    line-height: 17px;
    color: var(--w-t3);
}

/* 头像选择：一行 5 个，选中打黄圈 */
.w-set-faces {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.w-set-face {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: #f5f6f8;
    overflow: hidden;
    box-sizing: border-box;
    aspect-ratio: 1 / 1;
}

.w-set-face img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.w-set-face.is-on {
    border-color: var(--w-primary);
    box-shadow: 0 0 0 2px rgba(249, 218, 1, .28);
}

.w-set-face.is-on::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--w-primary);
    /* 勾号 */
    background-image: linear-gradient(45deg, transparent 46%, #111 46%, #111 54%, transparent 54%),
                      linear-gradient(-45deg, transparent 58%, #111 58%, #111 66%, transparent 66%);
    background-size: 9px 9px, 9px 9px;
    background-position: 3px 3px, 5px 3px;
    background-repeat: no-repeat;
    border: 2px solid #fff;
    box-sizing: border-box;
}

/* 昵称输入 */
.w-set-field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f5f6f8;
}

.w-set-field input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    font-size: 15px;
    line-height: 22px;
    color: var(--w-t1);
}

.w-set-field input::placeholder {
    color: #b3bcc5;
}

.w-set-count {
    flex: 0 0 auto;
    font-size: 12px;
    color: var(--w-t3);
}

.w-set-count em {
    font-style: normal;
    font-weight: 600;
    color: var(--w-primary-ink);
}

/* 只读信息 / 其它入口 */
.w-set-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    border-bottom: 1px solid var(--w-line);
    font-size: 14px;
    color: var(--w-t1);
}

.w-set-row:last-child {
    border-bottom: 0;
}

.w-set-row > span {
    flex: 0 0 auto;
    color: var(--w-t2);
}

.w-set-row b {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    font-weight: 400;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.w-set-row b i {
    margin-left: 2px;
    font-style: normal;
    color: #c2c6cc;
}

/* 保存按钮 */
.w-set-save {
    display: block;
    width: calc(100% - 24px);
    height: 46px;
    margin: 18px 12px 0;
    border: 0;
    border-radius: 23px;
    background: var(--w-primary);
    color: var(--w-on-primary);
    font-size: 16px;
    font-weight: 700;
}

.w-set-save:active {
    background: var(--w-primary-d);
}

.w-set-save[disabled] {
    opacity: .6;
}

.w-set-tip {
    margin: 10px 0 0;
    padding: 0 12px;
    text-align: center;
    font-size: 12px;
    line-height: 17px;
    color: var(--w-t3);
}

/* 轻提示 */
.w-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 200;
    max-width: 70%;
    padding: 10px 16px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 13.5px;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.94);
    transition: opacity .18s ease, transform .18s ease;
}

.w-toast.is-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ============================================================
   V142（2026-11-24）实名认证页
   ------------------------------------------------------------
   原来设置页点「实名认证」跳旧皮肤 ?ct=wap&ac=idcard，
   返回键指向旧版「账户信息」页，跟新皮肤对不上。
   现在改为新皮肤页 ?ct=wapx&ac=idcard，返回固定回账号设置。
   ============================================================ */

.w-idc-gap {
    margin-top: 10px;
}

.w-idc-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 18px;
    color: var(--w-t3);
}

/* 已认证状态 */
.w-idc-done .w-set-row:first-of-type {
    margin-top: 2px;
}

.w-idc-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(10, 160, 110, .09);
    font-size: 14.5px;
    font-weight: 700;
    color: #0a8f63;
}

.w-idc-badge svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
}

/* ============================================================
   V143（2026-11-24）注册页
   ------------------------------------------------------------
   手机端原来只有「手机号+验证码登录、未注册自动建号」，
   现在加独立注册页 ?ct=wapx&ac=register（手机号+验证码+密码）。
   复用 .w-login / .w-field / .w-btn-main，这里只补协议勾选与切换链接。
   ============================================================ */

.w-reg-agree {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 2px 0 14px;
    font-size: 12px;
    line-height: 18px;
    color: var(--w-t3);
}

.w-reg-agree input {
    flex: 0 0 auto;
    margin: 2px 0 0;
}

.w-reg-agree a {
    color: var(--w-primary-ink);
    text-decoration: none;
}

.w-login-switch {
    margin-left: 4px;
    color: var(--w-primary-ink);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================================
   登录页「验证码登录 / 账号密码登录」切换（2026-11-24）
   ============================================================ */
.w-login-tabs {
    display: flex;
    gap: 4px;
    margin: 12px 0 10px;
    padding: 3px;
    border-radius: 10px;
    background: #f5f6f8;
}

.w-login-tab {
    flex: 1 1 0;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #8a9099;
    cursor: pointer;
}

.w-login-tab.is-on {
    background: #fff;
    color: #17181a;
}

.w-pane[hidden] {
    display: none;
}

/* ============================================================
   注册弹层（2026-11-24）：点「立即注册」底部弹出，不跳页
   ============================================================ */
.w-rmask {
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    z-index: 9998;
    background: rgba(17, 24, 32, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
}

.w-rmask.is-open {
    opacity: 1;
    visibility: visible;
}

.w-rsheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9999;
    max-height: 88vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 16px 22px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-sizing: border-box;
    transform: translateY(100%);
    transition: transform .26s ease;
}

.w-rsheet.is-open {
    transform: translateY(0);
}

.w-rsheet-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.w-rsheet-hd h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--w-t1);
}

.w-rsheet-x {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    padding: 0;
    margin-right: -4px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #9aa4ae;
}

.w-rsheet-x svg {
    display: block;
    width: 19px;
    height: 19px;
    margin: 0 auto;
}

.w-rsheet .w-reg-tabs {
    margin: 2px 0 10px;
}

.w-rsheet .w-login-sub {
    margin: 0 0 14px;
    font-size: 12.5px;
    line-height: 18px;
    color: var(--w-t3);
}

.w-rsheet .w-login-tip {
    margin-top: 10px;
}

/* ============================================================
   客服入口 / 客服页字重（2026-11-24）
   ============================================================ */

/* 登录页底部「联系客服」：浅灰圆底 + 深灰线性耳麦图标 */
.w-cell-ico--plain {
    border-radius: 50%;
    background: #f2f3f5;
    color: #3d454c;
}

.w-cell-ico--plain svg {
    width: 19px;
    height: 19px;
}

.w-cell--kf .w-cell-bd strong {
    font-weight: 400;
    color: var(--w-t1);
}

/* 客服页区块标题比全站默认（700）轻一档，避免整页字过重 */
.w-page-kf .w-sec-hd h3 {
    font-weight: 500;
}

/* ================= 微信下载引导（箭头指引遮罩） ================= */
.w-wx-guide {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    background: rgba(0, 0, 0, .78);
}
.w-wx-guide.is-show {
    display: block;
}

/* 右上角手绘虚线箭头：圈出「···」菜单位置 */
.w-wx-arrow {
    position: absolute;
    top: 4px;
    right: 14px;
    width: 110px;
    height: 90px;
    pointer-events: none;
}

/* 主体文案区 */
.w-wx-body {
    position: absolute;
    top: 110px;
    left: 16px;
    right: 16px;
    color: #fff;
}

.w-wx-tip {
    margin: 0 0 16px;
    font-size: 19px;
    font-weight: 700;
}

.w-wx-steps {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.w-wx-steps li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.4;
}
.w-wx-steps li i {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8493c;
    color: #fff;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.w-wx-ok {
    display: block;
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 23px;
    background: #ffd21f;
    color: #332700;
    font-size: 16px;
    font-weight: 700;
}
