.card-game-lobby{max-width:1040px;margin:0 auto 32px;color:#213e35}
.card-game-intro{position:relative;overflow:hidden;padding:40px;border-radius:24px;background:linear-gradient(115deg,#153e34,#326d56);color:#ffefd0;min-height:180px;box-sizing:border-box}
.card-game-eyebrow{font-size:11px;letter-spacing:2px;color:#d7c68d}.card-game-intro h2{font-size:34px;margin:16px 0 10px}.card-game-intro p{margin:0;line-height:1.8;max-width:75%;color:#f0ebd9}.card-game-emblem{position:absolute;right:36px;top:34px;display:grid;place-items:center;width:116px;height:142px;font:700 68px serif;color:#8f3e32;background:#fff5d9;border:7px solid #dacd9e;border-radius:14px;transform:rotate(12deg);box-shadow:8px 9px 0 #102a2440}
.card-game-choices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.card-game-choices button{display:flex;flex-direction:column;align-items:stretch;text-align:left;border-radius:20px;padding:26px;border:1px solid #dce3d1;background:#fffef4;color:#254335;cursor:pointer;transition:transform .15s,box-shadow .15s}.card-game-choices button:hover{transform:translateY(-2px);box-shadow:0 8px 20px #16392a12}.card-game-choices button:focus-visible{outline:3px solid #bb9130;outline-offset:3px}.card-game-choices button[data-card-play=formal]{background:#f8dd75;border-color:#eed05f}.card-game-choices button>span{font-size:12px;letter-spacing:1px}.card-game-choices strong{font-size:25px;display:flex;justify-content:space-between;gap:12px;margin:12px 0}.card-game-choices strong b{font-size:24px}.card-game-choices small{font-size:13px;line-height:1.8;color:#536446}
.card-game-balance{padding:22px 26px;display:flex;align-items:center;gap:24px;border:1px solid #dce3d1;border-radius:18px;background:#f0f4e9}.card-game-balance>div{flex:none}.card-game-balance span{font-size:12px;display:block;margin-bottom:5px}.card-game-balance strong{font-size:24px}.card-game-balance p{margin:0;font-size:13px;line-height:1.8;color:#596853}.card-game-rules{margin-top:28px}.card-game-rules h3{font-size:19px}.card-game-rules>div{padding:14px 0;border-bottom:1px solid #e3e7dc}.card-game-rules strong{font-size:14px}.card-game-rules p{line-height:1.9;font-size:13px;color:#626c58;margin:6px 0}.card-game-rules .card-game-note{margin-top:18px;font-size:12px}
.mj-trial-note{margin:8px 0;padding:8px 12px;background:#f4e2a7;color:#294937;border-radius:8px;font-size:12px}.mj-game-view .mj-trial-note{flex:none}.mj-view-switch[hidden],.nn-view-switch[hidden]{display:none!important}
@media(max-width:600px){.card-game-intro{padding:27px 23px;min-height:182px}.card-game-intro h2{font-size:29px}.card-game-emblem{width:60px;height:82px;font-size:42px;border-width:4px;right:21px;top:48px}.card-game-intro p{font-size:12px;max-width:70%}.card-game-eyebrow{font-size:9px;letter-spacing:1px}.card-game-choices{gap:10px;margin:14px 0}.card-game-choices button{padding:20px 15px;border-radius:16px}.card-game-choices strong{font-size:19px;gap:4px}.card-game-choices small{font-size:11px}.card-game-choices button>span{font-size:11px}.card-game-balance{padding:18px;gap:18px;align-items:flex-start}.card-game-balance strong{font-size:19px}.card-game-balance p{font-size:11px}.card-game-rules{margin-top:24px}}
@media(max-width:350px){.card-game-choices strong{font-size:17px}.card-game-choices strong b{font-size:19px}.card-game-choices button{padding:17px 12px}.card-game-balance{flex-direction:column;gap:10px}}
/* 两种模式共用横屏牌桌：手牌分列两侧，给中央结果留出空间。 */
.nn-game-view[data-orientation=landscape] .nn-game .nn-dealer{left:24%;top:50%;transform:translate(-50%,-50%);max-width:40%}
.nn-game-view[data-orientation=landscape] .nn-game .nn-player{left:76%;top:50%;bottom:auto;transform:translate(-50%,-50%);max-width:40%}
.nn-game-view[data-orientation=landscape] .nn-game .nn-table-center{left:50%;width:23%;gap:5px}
.nn-game-view[data-orientation=landscape] .nn-game .nn-table-center strong{font-size:12px}
