/* 游戏多页版式 623（照体育 134）（12-03，照竞品 pgplays-html-qq 蜘蛛版）：米白渐变底，棕褐渐变 sticky 页头，每块一张圆角米白卡、标题下虚线；卡里瀑布流小卡 / 规格表 / 打勾列表；只用系统字体，不加载外部资源。 */
.mp623 { --wq4-ink: #2a241d; --wq4-ink2: #3f3528; --wq4-dim: #6e5a40; --wq4-a: #7a5c34; --wq4-line: #ddcbb2; --wq4-line2: #e2d2b8; --wq4-card: #fdfaf3; --wq4-card2: #fbf6ec; --wq4-chip: #efe2cc; --wq4-font: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif; }
body.mp623:not(.mp623-old) { margin: 0; color: var(--wq4-ink); font-family: var(--wq4-font); font-size: 15px; line-height: 1.72; background: linear-gradient(180deg, #f8f2e7 0%, #f2e8d8 100%); }
.mp623 a { color: var(--wq4-a); text-decoration: none; }
.mp623 a:hover { color: #4d3a20; text-decoration: underline; }
.mp623 img { display: block; max-width: 100%; height: auto; }
.wq4-wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* 页头 */
.wq4-site { position: sticky; top: 0; z-index: 30; background: linear-gradient(135deg, #d4b896 0%, #c6ab84 55%, #b8a082 100%); border-bottom: 1px solid #a68d6f; box-shadow: 0 1px 4px rgba(120, 95, 65, .14); font-family: var(--wq4-font); }
.wq4-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding-top: 9px; padding-bottom: 9px; }
.wq4-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wq4-mark img { height: 32px; width: auto; }
.wq4-sub { font-size: 12px; color: #4a3c2a; white-space: nowrap; }
.wq4-mid { margin: 0 .3em; color: #8a6c44; }
.wq4-join { order: 3; padding: 3px 14px; border: 1px solid #5b472e; border-radius: 20px; background: #3d3121; color: #fdf6e8 !important; font-size: 13px; text-decoration: none !important; }
.wq4-join:hover { background: #5b472e; }
.wq4-navbar { order: 2; flex: 1 1 auto; padding: 0; justify-content: flex-end; }
.wq4-links { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: flex-end; }
.wq4-links .nav-link { padding: 2px 0 !important; color: #332a1e !important; font-size: 14px; border-bottom: 1px solid transparent; }
.wq4-links .nav-link:hover, .wq4-links .nav-link.active { border-bottom-color: #5b472e; text-decoration: none; color: #1f180f !important; }
.wq4-toggle { display: none; order: 4; border: 1px solid #8a6c44; border-radius: 6px; padding: 6px 8px; background: transparent; }
.wq4-bars, .wq4-bars::before, .wq4-bars::after { display: block; width: 18px; height: 2px; background: #3d3121; content: ""; position: relative; }
.wq4-bars::before { position: absolute; top: -6px; } .wq4-bars::after { position: absolute; top: 6px; }
.wq4-bars { margin: 6px 0; }
.wq4-jump { background: rgba(253, 250, 243, .92); border-top: 1px solid #c9b18f; font-size: 13px; }
.wq4-jump .wq4-wrap { display: flex; gap: 4px 16px; overflow-x: auto; padding-top: 5px; padding-bottom: 5px; }
.wq4-jump a { white-space: nowrap; color: #5f4a2d; }

/* 卡片 */
.wq4-main { padding-top: 16px; padding-bottom: 4px; }
.wq4-hero, .wq4-blk { background: var(--wq4-card); border: 1px solid var(--wq4-line); border-radius: 9px; box-shadow: 0 1px 4px rgba(120, 95, 65, .08); margin-bottom: 14px; color: var(--wq4-ink); }
.wq4-hero { padding: 16px 18px; background-image: repeating-linear-gradient(0deg, rgba(212, 184, 150, .10) 0 1px, transparent 1px 4px); }
.wq4-blk { padding: 14px 16px 16px; }
.wq4-hero h1 { font-size: 23px; line-height: 1.4; margin: 6px 0 10px; color: #241d14; font-weight: 700; }
.wq4-lead { margin: 0 0 8px; line-height: 1.82; color: #3a3025; }
.wq4-hero-fig { margin: 12px 0 0; }
.wq4-hero-fig img { width: 100%; height: 190px; object-fit: cover; border-radius: 5px; border: 1px solid #e0d0b8; }
.wq4-blk h2 { font-size: 18px; line-height: 1.45; margin: 0 0 10px; padding-bottom: 7px; border-bottom: 1px dashed #d9c6a9; color: #241d14; font-weight: 700; }
.wq4-blk h3, .wq4-hero h3 { font-size: 15px; margin: 0 0 6px; color: #3d3121; font-weight: 700; }
.wq4-blk p { margin: 0 0 9px; }
.wq4-fig img { width: 100%; max-height: 190px; object-fit: cover; border-radius: 5px; border: 1px solid #e0d0b8; margin-top: 4px; }
.wq4-chip { display: inline-block; font-size: 12px; background: var(--wq4-chip); border: 1px solid #d8c4a4; border-radius: 20px; padding: 1px 9px; color: #5f4a2d; margin: 0 4px 6px 0; }
.wq4-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; }
.wq4-btn { display: inline-block; padding: 7px 18px; border-radius: 20px; font-size: 14px; text-decoration: none !important; border: 1px solid #5b472e; }
.wq4-btn-a { background: #3d3121; color: #fdf6e8 !important; }
.wq4-btn-b { background: var(--wq4-chip); color: #3d3121 !important; }
.wq4-btn:hover { background: #5b472e; color: #fff !important; }

/* 瀑布流小卡、规格表、打勾列表 */
.wq4-masonry { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; align-items: start; }
.wq4-news { column-count: 3; column-gap: 14px; }
.wq4-ni { break-inside: avoid; display: inline-block; width: 100%; margin-bottom: 14px; }
.wq4-card, .wq4-ni article { background: var(--wq4-card2); border: 1px solid var(--wq4-line2); border-radius: 7px; padding: 11px 12px; box-shadow: 0 1px 3px rgba(120, 95, 65, .06); font-size: 14.5px; line-height: 1.7; }
.wq4-card h3 { font-size: 14.5px; margin-bottom: 5px; }
.wq4-card p { margin: 0 0 6px; }
.wq4-card p:last-child { margin-bottom: 0; }
.wq4-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 4px; border: 1px solid #e4d5bd; margin-bottom: 8px; }
.wq4-tw { margin: 4px 0 4px; }
.wq4-spec { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; --bs-table-bg: transparent; }
.wq4-spec th, .wq4-spec td { border: 1px solid var(--wq4-line) !important; padding: 6px 8px !important; text-align: left; color: var(--wq4-ink); vertical-align: top; }
.wq4-spec th { background: var(--wq4-chip) !important; color: #3d3121; font-weight: 600; white-space: nowrap; }
.wq4-spec tbody tr:nth-child(even) td { background: #faf4e9; }
.wq4-spec .text-end { text-align: right; }
.wq4-day, .wq4-ver { white-space: nowrap; }
.wq4-v { margin: 0 .35em; color: #a08560; font-size: 12px; }
.wq4-res, .wq4-state { font-weight: 700; color: #4d3a20; white-space: nowrap; }
.wq4-tnote { margin: 6px 0 0; font-size: 13.5px; color: var(--wq4-dim); }
.wq4-tick { margin: 0 0 4px; padding-left: 20px; }
.wq4-tick li { margin-bottom: 8px; }
.wq4-tick li::marker { content: "✓ "; color: #8a6c44; }
.wq4-tick h3 { display: inline; margin: 0 6px 0 0 !important; }
.wq4-tick p { display: inline; margin: 0 !important; color: var(--wq4-ink2); }

/* 资讯：三栏小卡，日期 + 标题 + 摘要，每篇配图，头条图高一些 */
.wq4-npic img { width: 100%; height: 120px; object-fit: cover; border-radius: 4px; border: 1px solid #e4d5bd; margin-bottom: 8px; }
.wq4-ni-top .wq4-npic img { height: 190px; }
.wq4-ni h3 { font-size: 14.5px; line-height: 1.55; margin: 0 0 4px; }
.wq4-ni h3 a { color: #33291b; }
.wq4-date { display: block; font-size: 12px; color: #6f5a3b; margin-bottom: 6px; }
.wq4-ni p { font-size: 14px; margin: 0; color: var(--wq4-ink2); }
.wq4-more { margin: 2px 0 0 !important; font-size: 14px; }

/* 问答：照竞品 h3 + 段落直接列出 */
.wq4-qa { border-bottom: 1px dashed #d9c6a9; padding: 10px 0; }
.wq4-qa:last-child { border-bottom: 0; padding-bottom: 0; }
.wq4-qa h3 { color: #33291b; }
.wq4-qa p { font-size: 14.5px; margin: 0 !important; color: var(--wq4-ink2); }

/* 内页 */
.wq4-trail { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--wq4-dim); }
.wq4-trail li + li::before { content: "›"; margin-right: 6px; color: #a08560; }
.wq4-cgrid { display: flex; flex-wrap: wrap; gap: 12px; }
.wq4-cgrid .wq4-card { flex: 1 1 240px; min-width: 0; overflow-wrap: anywhere; }
.wq4-tables { margin-top: 4px; }

/* 收尾 + 页脚 */
.wq4-end { padding-bottom: 2px; }
.wq4-cta h2 { border-bottom: 0; padding-bottom: 0; }
.wq4-contact { padding: 14px 16px; }
.wq4-flogo { width: 150px; height: auto !important; border: 0 !important; margin-bottom: 8px; }
.wq4-foot { background: linear-gradient(135deg, #d4b896 0%, #b8a082 100%); border-top: 1px solid #a68d6f; margin-top: 10px; padding: 16px 0 18px; font-size: 13.5px; color: #2f2618; font-family: var(--wq4-font); line-height: 1.75; }
.wq4-foot p { margin: 0 0 6px; }
.wq4-foot a { color: #3a2d19 !important; text-decoration: underline; margin-right: 10px; }
.wq4-fbot { margin-top: 10px; padding-top: 9px; border-top: 1px solid #a68d6f; }
.wq4-beian a { margin: 0 0 0 6px; }

/* 列表、文章等老页面（还加载 module.css） */
.mp623-old .wq4-end, .mp623-old .wq4-tables { color: var(--wq4-ink); font-family: var(--wq4-font); font-size: 15px; line-height: 1.72; }
.mp623-old .wq4-tables { max-width: 1180px; margin: 20px auto 0; padding: 0 18px; }
.mp623-old .wq4-blk h2 { color: #241d14; }

@media (max-width: 991.98px) {
  .wq4-toggle { display: block; }
  .wq4-join { margin-left: auto; }
  .wq4-navbar { order: 5; flex-basis: 100%; }
  .wq4-links { flex-direction: column; gap: 0; justify-content: flex-start; padding: 4px 0; }
  .wq4-links .nav-link { padding: 7px 0 !important; border-bottom: 1px dashed #a68d6f; }
}
@media (max-width: 900px) {
  .wq4-news { column-count: 2; }
  .wq4-hero h1 { font-size: 20px; }
}
@media (max-width: 600px) {
  .wq4-news { column-count: 1; }
  .wq4-brand { flex-wrap: wrap; }
  .wq4-sub { white-space: normal; font-size: 11.5px; }
  .wq4-hero, .wq4-blk { padding: 12px; }
  .wq4-hero-fig img { height: 160px; }
}
