/* cheat styles */
#cheat { background: radial-gradient(circle at 50% 25%, #5a1a1a, #1c0808 70%); }
.ch-main { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 6px var(--gutter-r) 6px var(--gutter-l); }
.ch-seats { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 0; flex: 0 0 auto; }
.ch-seats::-webkit-scrollbar { display: none; }
.ch-seat { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); border-radius: 12px; padding: 5px 8px; min-width: 112px; transition: box-shadow .2s, border-color .2s; }
.ch-seat .avatar { width: 30px; height: 30px; font-size: 12px; }
.ch-seat-info { display: grid; line-height: 1.15; }
.ch-seat-info b { font-size: 13px; white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }
.ch-seat-info small { font-size: 11px; color: var(--ink-dim); white-space: nowrap; }
.ch-seat.turn { border-color: var(--brass); box-shadow: 0 0 0 2px rgba(246,196,83,.3), 0 0 16px rgba(246,196,83,.35); }
.ch-seat.me { background: rgba(246,196,83,.12); }
.ch-seat.off { opacity: .45; }
.ch-seat.danger .ch-seat-info small { color: var(--bad); font-weight: 800; }
.ch-seat .tag { font-size: 9px; padding: 2px 6px; }
.ch-seat .tag.sweat { background: rgba(255,107,90,.3); color: #ffd1c8; animation: chPulse 1s infinite; }
@keyframes chPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.ch-table { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: center; flex: 0 0 auto; }
.ch-pile { position: relative; height: 96px; display: grid; place-items: center; grid-template-rows: 1fr auto auto; }
.ch-pile .ch-pb { position: absolute; width: 40px; height: 58px; left: calc(50% - 20px); top: 2px; }
.ch-pile .ch-pb1 { transform: rotate(-8deg) translate(-4px, 2px); } .ch-pile .ch-pb2 { transform: rotate(6deg) translate(5px, -1px); } .ch-pile .ch-pb3 { transform: rotate(-3deg) translate(2px, -4px); } .ch-pile .ch-pb4 { transform: rotate(11deg) translate(-6px, 1px); }
.ch-pile b { position: absolute; top: 22px; left: 0; right: 0; text-align: center; font-family: var(--display); font-size: 26px; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.8); z-index: 2; pointer-events: none; }
.ch-pile small { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--ink-dim); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ch-pile .ch-empty { position: absolute; top: 46px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--ink-dim); }
.ch-need { background: rgba(246,196,83,.12); border: 1.5px solid rgba(246,196,83,.4); border-radius: 14px; padding: 8px 10px; text-align: center; display: grid; gap: 2px; }
.ch-need small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-dim); font-weight: 800; }
.ch-need b { font-family: var(--display); font-size: 26px; color: var(--brass); line-height: 1.1; }

.ch-last { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.07); border-radius: 12px; padding: 8px 10px; font-size: 14px; line-height: 1.3; flex: 0 0 auto; }
.ch-last.live { border: 1.5px solid rgba(255,107,90,.5); }
.ch-last .avatar { width: 34px; height: 34px; font-size: 13px; flex: 0 0 auto; }
.ch-mini { display: flex; gap: 4px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.ch-mini .card.sm { width: 32px; height: 46px; } .ch-mini .card.sm .big { font-size: 16px; } .ch-mini .card.sm .corner { font-size: 8px; }
.ch-mini small { font-size: 11px; color: var(--ink-dim); }

.ch-window { display: grid; gap: 8px; flex: 0 0 auto; }
.ch-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.ch-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--bad), var(--brass)); transform-origin: left; transform: scaleX(1); }
.ch-bs { width: 100%; border: 0; border-radius: 18px; padding: 18px 10px; font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: .04em; color: #fff; background: linear-gradient(180deg, #ff5a3c, #b3001b); box-shadow: 0 7px 0 #6e0010, 0 12px 24px rgba(0,0,0,.4); cursor: pointer; animation: chShake 1.6s infinite; }
.ch-bs:active { transform: translateY(4px); box-shadow: 0 3px 0 #6e0010; }
@keyframes chShake { 0%, 90%, 100% { transform: rotate(0); } 93% { transform: rotate(-1.5deg); } 96% { transform: rotate(1.5deg); } }
.ch-win-row { display: flex; gap: 8px; }
.ch-win-row .btn { flex: 1 1 auto; }
.ch-snitch-btn { flex: 0 0 auto !important; border-color: var(--brass) !important; color: var(--brass) !important; }
.ch-sweat { text-align: center; font-size: 14px; color: var(--ink-dim); padding: 4px 0; line-height: 1.35; }
.ch-window.mine .ch-sweat { color: #ffd1c8; font-weight: 700; }

.ch-reveal { display: grid; gap: 4px; justify-items: center; background: rgba(255,255,255,.06); border-radius: 12px; padding: 8px; flex: 0 0 auto; border: 1.5px solid rgba(255,255,255,.1); }
.ch-reveal.lie { border-color: rgba(255,107,90,.5); } .ch-reveal.honest { border-color: rgba(74,209,124,.5); }
.ch-reveal small { font-size: 12px; color: var(--ink-dim); }
.ch-reveal b { font-family: var(--display); font-size: 16px; } .ch-reveal.lie b { color: var(--bad); } .ch-reveal.honest b { color: var(--good); }
.ch-audit { font-size: 12px; color: var(--ink-dim); text-align: center; flex: 0 0 auto; }
.ch-audit span { display: inline-flex; gap: 4px; margin-left: 4px; }
.ch-audit i { font-style: normal; background: rgba(74,209,124,.2); border-radius: 6px; padding: 1px 5px; color: var(--good); font-weight: 800; }
.ch-audit i.lie { background: rgba(255,107,90,.2); color: var(--bad); }
.ch-ticker { margin-top: auto; }

.ch-foot { gap: 6px; background: linear-gradient(180deg, rgba(28,8,8,0) 0%, rgba(28,8,8,.95) 30%); }
.ch-specials { display: flex; gap: 6px; align-items: center; min-height: 22px; overflow-x: auto; scrollbar-width: none; }
.ch-sp { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--ink); border-radius: 999px; padding: 5px 10px 5px 7px; font-size: 12px; font-weight: 800; cursor: pointer; opacity: .55; }
.ch-sp span { font-size: 16px; }
.ch-sp.usable { opacity: 1; border-color: var(--brass); background: rgba(246,196,83,.15); box-shadow: 0 0 12px rgba(246,196,83,.35); }
.ch-hint { font-size: 12px; color: var(--ink-dim); font-weight: 700; }
.ch-ranks { display: flex; gap: 3px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.ch-ranks::-webkit-scrollbar { display: none; }
.ch-rank { flex: 1 1 0; min-width: 24px; padding: 0; height: 32px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 14px; cursor: pointer; }
.ch-rank.have { border-color: rgba(74,209,124,.6); }
.ch-rank.on { background: var(--brass); color: #2a1d05; border-color: var(--brass); }
.ch-hand { justify-content: flex-start; padding-top: 16px; min-height: 100px; }
.ch-hand > :first-child { margin-left: auto; } .ch-hand > :last-child { margin-right: auto; }
.ch-hand.crowded .card { margin-left: -16px; } .ch-hand.crowded > :first-child { margin-left: auto; }
.ch-hand .card.ch-match { box-shadow: 0 0 0 2.5px var(--good), 0 4px 10px rgba(0,0,0,.35); }
.ch-hand .card.selected { box-shadow: 0 0 0 3px var(--brass), 0 8px 18px rgba(0,0,0,.4); }
.ch-foot .action-bar .btn-primary { flex: 1 1 auto; max-width: 320px; }

.ch-sp-text { font-size: 15px; line-height: 1.4; margin: 0 0 8px; }
.ch-targets { display: grid; gap: 8px; }
.ch-target { display: flex; align-items: center; gap: 10px; width: 100%; border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: var(--ink); border-radius: 12px; padding: 8px 10px; font-size: 15px; cursor: pointer; text-align: left; }
.ch-target small { margin-left: auto; color: var(--ink-dim); }

.ch-blast.honest { background: rgba(20, 90, 50, .95); }
.ch-blast-cards { display: flex; gap: 6px; justify-content: center; margin: 6px 0 4px; }
.ch-blast-cards .card.sm { width: 44px; height: 62px; } .ch-blast-cards .card.sm .big { font-size: 22px; }
.ch-blast .tb-to { max-width: 320px; margin: 0 auto; line-height: 1.3; }
