/* v7.4 情侣飞行棋（#/chess）· 移动端优先（375px）· 大按钮 */
.hc.chess{border-left-color:var(--qc,#ff5c8a)}
body[data-view=chess]{padding-bottom:calc(150px + var(--sab))}
.ch-wrap{--cm:#ff5c8a;--cd:#4a2a5e;--cs:#ffe8ef;max-width:640px;margin:0 auto;padding:6px 2px 10px}
.ch-banner{margin:6px -2px 6px;border-radius:18px;overflow:hidden;box-shadow:0 6px 20px rgba(74,42,94,.12)}
.ch-banner img{display:block;width:100%;height:auto}
.ch-xhead{margin:8px 0;height:86px;border-radius:18px;background:linear-gradient(120deg,var(--cd),var(--cm));display:flex;align-items:center;justify-content:center;font-size:46px}
.ch-h1{font-size:22px;margin:10px 2px 4px}
.ch-h3{font-size:16px;margin:4px 0 10px}.ch-h3 small{font-weight:500;color:var(--muted);font-size:12px;display:block;margin-top:2px}
.ch-lead{font-size:14px;color:#5b5060;line-height:1.65;margin:4px 2px 10px}
.ch-small{font-size:12.5px;color:var(--muted);line-height:1.6;margin:6px 2px}
.ch-err{color:#d12c4c;font-weight:700;font-size:14px;min-height:1.2em;margin:8px 2px}
.ch-warn{background:#fff4d6;border-radius:12px;padding:10px 12px;font-size:13px;line-height:1.6;color:#6b5000}
.ch-big{width:100%;min-height:54px;font-size:17px;margin-top:10px;border-radius:16px;box-sizing:border-box}
.ch-row{display:flex;gap:8px;flex-wrap:wrap}.ch-row .ch-big{flex:1 1 45%}
.ch-x .cta,.ch-modal .cta{background:linear-gradient(90deg,var(--cm),var(--cd))}
.ch-tiers{display:flex;flex-direction:column;gap:10px;margin:8px 0 12px}
.ch-tier{display:flex;align-items:center;gap:12px;min-height:84px;padding:12px 14px;border-radius:18px;background:#fff;color:var(--ink);text-decoration:none;box-shadow:0 4px 16px rgba(43,34,48,.08);border-left:6px solid var(--cm)}
.ch-ti{font-size:34px;flex:0 0 auto}
.ch-tt{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.ch-tt b{font-size:17px}.ch-tt small{color:var(--muted);font-size:12.5px;line-height:1.45}.ch-tt i{font-style:normal;color:var(--cm);font-size:13px;font-weight:700}
.ch-go{font-size:28px;color:var(--cm)}
.ch-b{font-style:normal;font-size:11px;font-weight:800;border-radius:99px;padding:2px 7px;margin-left:4px;vertical-align:2px;color:#fff;background:#2bb673}.ch-b.r18{background:#ff5c8a}.ch-b.rx{background:#8e1046}
.ch-how summary{min-height:44px;display:flex;align-items:center;font-weight:800;cursor:pointer;list-style:none}
.ch-how ol,.ch-ol{padding-left:20px;margin:6px 0;font-size:14px;line-height:1.7;color:#4b4250}
.ch-xlink{text-align:center;margin:22px 0 6px}.ch-xlink a{font-size:12.5px;color:#9a8fa0;text-decoration:underline}
.ch-load{text-align:center;color:var(--muted);padding:60px 0}
.ch-dot{width:14px;height:14px;border-radius:50%;flex:0 0 14px;min-width:14px!important}
.ch-chk{display:flex;align-items:flex-start;gap:10px;min-height:48px;padding:8px 4px;font-size:14px;line-height:1.55;cursor:pointer}
.ch-chk input{position:absolute;opacity:0;pointer-events:none}
.ch-chk i{flex:0 0 26px;height:26px;border-radius:8px;border:2px solid #e3c9d3;background:#fff;margin-top:1px;position:relative}
.ch-chk input:checked+i{background:var(--cm);border-color:var(--cm)}
.ch-chk input:checked+i:after{content:"✓";position:absolute;inset:0;color:#fff;font-weight:900;text-align:center;line-height:22px}
.ch-chk input:focus-visible+i{outline:2.5px solid var(--cm);outline-offset:2px}
.ch-ul{padding-left:18px;font-size:13.5px;line-height:1.65;color:#4b4250;margin:4px 0 8px}
.ck-sheet{border:1.5px solid #f1dbe2;border-radius:14px;padding:6px 10px;margin:10px 0}
.ck-h{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;padding:4px 0 6px;border-bottom:1px dashed #f1dbe2}
.ck-h b{font-size:15px}
.ck-all{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:4px}
.ck-all button{min-height:34px;padding:0 8px;border-radius:9px;background:#f6eef1;font-size:12px;font-weight:700;color:#5b5060}
.ck-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;border-bottom:1px solid #faf0f3}
.ck-row:last-child{border-bottom:0}
.ck-row>span{font-size:14.5px;font-weight:700}
.ch-seg{display:flex;gap:4px;flex:0 0 auto}
.ch-seg button{min-width:58px;min-height:42px;border-radius:10px;background:#f6f2f4;font-size:13px;font-weight:800;color:#7d7282;border:1.5px solid transparent}
.ch-seg button.ok.on{background:#2bb673;color:#fff}.ch-seg button.ask.on{background:#f2a516;color:#fff}.ch-seg button.no.on{background:#d12c4c;color:#fff}
.ch-mode .ch-modeout{margin-top:8px;padding:12px;border-radius:12px;font-size:14.5px;text-align:center}
.ch-modeout.same{background:#eaf3ff;color:#1f4f9a}.ch-modeout.swap{background:#fdeaf1;color:#9b1b4d}
/* 对局 */
.ch-game{padding-top:4px}
.ch-top{display:flex;flex-direction:column;gap:6px;margin:6px 2px 8px}.ch-top>b{font-size:18px}
.ch-chips{display:flex;flex-wrap:wrap;gap:5px}
.chip{font-size:12px;font-weight:700;border-radius:99px;padding:4px 9px;background:#fff;color:#5b5060;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.chip.sw{background:var(--cs);color:var(--cm)}.chip.fo{background:#fff1d0;color:#8a5a00}.chip.same{background:#eaf3ff;color:#1f4f9a}.chip.swap{background:#fdeaf1;color:#9b1b4d}
.ch-ps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-bottom:8px}
.ch-p{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;column-gap:6px;align-items:center;background:#fff;border-radius:14px;padding:8px 10px;border:2px solid transparent;font-size:13px;min-width:0}
.ch-p .tk{grid-row:1/3}.ch-p b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-p span{grid-column:2;color:var(--muted);font-size:12px}.ch-p em{grid-row:1/3;grid-column:3;font-style:normal;font-size:12px;color:#7d7282}
.ch-p small{grid-column:2;font-size:11px;color:var(--muted)}.ch-p small.fo{color:#b97800;font-weight:800}
.ch-p.on{border-color:var(--pc);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.tk{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;color:#fff;font-size:11px;font-style:normal;font-weight:900;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.3)}
.ch-zero{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:12px;padding:8px 10px;margin-bottom:6px;font-size:13px;font-weight:700;color:#5b5060}
.ch-board{display:grid;gap:4px;background:linear-gradient(160deg,var(--cs),#fff);border-radius:18px;padding:6px;box-shadow:inset 0 0 0 2px rgba(0,0,0,.04)}
.cell{position:relative;aspect-ratio:1/1;background:#fff;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:10px;line-height:1.1;min-width:0;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.c6 .cell{font-size:9px}
.cell .cn{position:absolute;left:4px;top:2px;font-size:10px;font-weight:800;color:#b3a7b8}
.cell .ci{font-size:17px}.c6 .cell .ci{font-size:15px}
.cell .cl{color:#6b6070;font-weight:700;max-width:100%;padding:0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cell .tks{position:absolute;right:2px;bottom:2px;display:flex;flex-wrap:wrap-reverse;justify-content:flex-end;gap:1px;max-width:100%}
.cell .tks .tk{width:17px;height:17px;font-size:9px;border-width:1.5px}
.cell.fn{background:#fff7e6}.cell.start,.cell.end{background:var(--cm)}.cell.start .cl,.cell.end .cl,.cell.start .cn,.cell.end .cn{color:#fff}
.cell.s1{box-shadow:inset 0 -3px 0 #ffd3e0}.cell.s2{box-shadow:inset 0 -3px 0 #ff9bbb}.cell.s3{box-shadow:inset 0 -3px 0 #e4507f}.cell.s4{box-shadow:inset 0 -3px 0 #8e1046}
.cell.slow{background:repeating-linear-gradient(135deg,#fff,#fff 6px,#f4eef8 6px,#f4eef8 12px)}
.cell.hit{outline:3px solid var(--cm);outline-offset:-1px}
.ch-tools{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.ch-tools .ghost{flex:1 1 30%;min-height:44px;color:var(--cm);background:var(--cs)}
.ch-dock{position:fixed;left:0;right:0;bottom:0;z-index:20;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 -6px 20px rgba(43,34,48,.10);padding:10px 12px calc(10px + var(--sab))}
.ch-dock-in{max-width:640px;margin:0 auto;display:flex;gap:12px;align-items:center}
.die{flex:0 0 64px;height:64px;display:flex;align-items:center;justify-content:center;font-size:64px;line-height:1;color:var(--cd,#4a2a5e);background:#fff;border-radius:16px;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.die.rolling{animation:chRoll .35s linear infinite}
@keyframes chRoll{0%{transform:rotate(0) scale(1)}25%{transform:rotate(90deg) scale(.9)}50%{transform:rotate(180deg) scale(1.05)}75%{transform:rotate(270deg) scale(.92)}100%{transform:rotate(360deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.die.rolling{animation:none}}
.ch-dmain{flex:1;min-width:0}
.ch-roll{width:100%;min-height:56px;font-size:18px;border-radius:16px;background:linear-gradient(90deg,var(--cm),var(--cd))}
.ch-roll:disabled{opacity:.5}
.ch-note{margin:6px 2px 0;font-size:12.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-pause{position:fixed;right:12px;bottom:calc(104px + var(--sab));z-index:60;min-height:46px;padding:0 16px;border-radius:99px;background:#2b2230;color:#fff;font-weight:800;font-size:14px;box-shadow:0 6px 18px rgba(0,0,0,.25)}
.ch-modal{z-index:55}
.ch-card{text-align:left;padding-bottom:16px}
.ch-card h3{font-size:19px}
.ch-ctag{display:inline-block;font-size:12px;font-weight:800;border-radius:99px;padding:4px 10px;background:var(--cs);color:var(--cm);margin-bottom:8px}
.ch-ctag.fn{background:#fff1d0;color:#8a5a00}.ch-ctag.chk{background:#e8f8ee;color:#1d7a46}.ch-ctag.xt{background:var(--cd);color:#fff}
.ch-who{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:15px}
.ch-text{font-size:18px!important;line-height:1.7!important;font-weight:600;color:#2b2230;margin:8px 0}
.ch-target{font-size:13px!important;color:var(--muted);margin:2px 0}
.ch-big-t{text-align:center;font-size:17px!important;color:var(--cm);font-weight:800}
.ch-fnicon{font-size:52px;text-align:center}
.ch-tags{display:flex;gap:5px;flex-wrap:wrap}.ch-tags span{font-size:12px;font-weight:700;border-radius:8px;padding:3px 8px;background:#f6f2f4;color:#5b5060}.ch-tags .ty{background:var(--cm);color:#fff}.ch-tags .mi{background:#e7f0ff;color:#1f4f9a}
.rl{font-weight:800;color:var(--cm)}.rl small{font-weight:600;color:#8a7f8f;font-size:.8em}
.ch-note2{font-size:13.5px!important;background:#faf6f8;border-radius:10px;padding:8px 10px;margin:6px 0}
.ch-card .btns.col .cta,.ch-card .btns .cta{min-height:54px;font-size:17px}
.ch-card .btns.col .ghost{min-height:48px;background:#f6f2f4;color:#4b4250}
.ch-card .btns.col .cta.alt{background:linear-gradient(90deg,#f2a516,#ffcf5a)}
.ch-card .ghost.stop{color:#d12c4c!important}
.ch-card .ghost:disabled{opacity:.45}
.ch-lights .lrow{display:grid;grid-template-columns:64px repeat(3,1fr);gap:6px;align-items:center;margin:8px 0}
.ch-lights .lrow b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ch-lights .l{min-height:48px;border-radius:12px;background:#f6f2f4;font-weight:800;font-size:14px;border:2px solid transparent}
.ch-lights .l.g.on{background:#2bb673;color:#fff}.ch-lights .l.y.on{background:#f2a516;color:#fff}.ch-lights .l.r.on{background:#d12c4c;color:#fff}
.ch-pausebox{text-align:center}.ch-pausebox .ch-text{text-align:left}
.ch-stats{list-style:none;padding:0!important;margin:10px 0}.ch-stats li{display:flex;justify-content:space-between;border-bottom:1px dashed #eee;padding:6px 2px;font-size:14px}
.ch-prize{background:#fff4d6;border-radius:12px;padding:10px 12px;font-size:14px!important;color:#6b5000}
.ch-shot img{display:block;width:100%;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.12);min-height:120px;background:#f4f1ea}
.field select.inp{appearance:auto}
body.chess-x #footQR,body.chess-x .ad-slot{display:none!important}   /* 成人露骨页：不出二维码、不放广告位 */
