.pv-body { padding: 8px; background: #0d2217; }
.pv-head h1 { font-size: 17px; margin: 4px 0; }
.pv-head p { margin: 4px 0 8px; color: #b8d1c1; font-size: 13px; }
.pv-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pv-tabs button { background: #3b5b49; color: #f2efe4; padding: 6px 12px; }
.pv-tabs button.on { background: #e6c15a; color: #2b2208; }
.pv-sec { margin-bottom: 18px; }
.pv-sec h2 { font-size: 14px; margin: 0 0 4px; color: #ffd76a; }
.pv-sec .why { font-size: 12px; color: #b8d1c1; margin: 0 0 6px; }
.pv-wrap { width: 100%; max-width: 1100px; position: relative; }

/* 844 x 390 가로 화면 (폰 가로 기준) */
.frame {
  width: 844px; height: 390px; transform-origin: top left; position: absolute; left: 0; top: 0;
  background: radial-gradient(ellipse at center, #2b7a3e 0%, #1f5f31 70%, #184d28 100%);
  border: 6px solid #6b4a2a; border-radius: 14px; overflow: hidden; color: #f2efe4;
}
.frame .card { box-shadow: 0 1px 2px #0006; }
.card.tiny { width: 22px; height: 32px; padding: 0; border-width: 1px; border-radius: 3px; }
.card.tiny .m { font-size: 7px; padding-left: 1px; }
.card.tiny .e { font-size: 9px; }
.card.tiny .l { display: none; }
.card.tiny.pi-t .l { display: none; }
.card.hc { width: 46px; height: 69px; flex: 0 0 auto; }
.card.hc .e { font-size: 20px; }
.card.hc .l { font-size: 9px; }
.card.fl { width: 38px; height: 57px; }
.card.fl .e { font-size: 16px; }
.card.fl .l { font-size: 8px; padding: 0 2px; }
.card.fl .m { font-size: 11px; }

/* 공통 조각 */
.pv-av { width: 30px; height: 30px; border-radius: 50%; background: #e8dcb6; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: 0 0 auto; border: 2px solid #3a2f1c; }
.pv-nm { font-weight: 800; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-mt { font-size: 10px; color: #cfe3d6; white-space: nowrap; }
.pv-tag { background: #e6c15a; color: #2b2208; border-radius: 4px; font-size: 9px; font-weight: 800; padding: 0 3px; margin-left: 3px; }
.pv-chips { display: flex; gap: 3px; margin-top: 2px; }
.pv-chips i { font-style: normal; font-size: 10px; font-weight: 700; background: #0f2c1e; border-radius: 4px; padding: 0 4px; white-space: nowrap; }
.pv-chips i.g { color: #ffd76a; } .pv-chips i.y { color: #9cc4ff; } .pv-chips i.t { color: #ff9a9a; } .pv-chips i.p { color: #c9e0a0; }

/* 위쪽 작은 상대 패널 */
.op { background: #14391f; border: 1px solid #2f6a4b; border-radius: 8px; padding: 3px 6px; display: flex; flex-direction: column; min-width: 0; position: relative; cursor: pointer; }
.op .row1 { display: flex; gap: 5px; align-items: center; }
.op.turn { border-color: #e6c15a; box-shadow: 0 0 0 2px #e6c15a88; }
.op .pop { display: none; position: absolute; top: 100%; left: 0; margin-top: 3px; z-index: 30; background: #0f2c1e; border: 1px solid #e6c15a; border-radius: 8px; padding: 6px; width: 250px; }
.op.open .pop { display: block; }
.grp { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.grp .gl { font-size: 9px; width: 28px; color: #9fc2ad; flex: 0 0 auto; }
.strip { display: flex; }
.strip .card + .card { margin-left: -14px; }

/* 좌우 큰 패널 (B안) */
.side { position: absolute; top: 6px; bottom: 134px; width: 156px; background: #14391f; border: 1px solid #2f6a4b; border-radius: 8px; padding: 5px; overflow: hidden; }
.side.L { left: 6px; } .side.R { right: 6px; }
.side .hd { display: flex; gap: 5px; align-items: center; margin-bottom: 4px; }
.side .grp { margin-bottom: 4px; }
.side .grp .gl { width: 24px; }

/* 바닥 */
.floor2 { position: absolute; display: flex; flex-wrap: wrap; gap: 5px; align-content: center; justify-content: center; }
.fst { display: flex; }
.fst .card + .card { margin-left: -24px; }
.piles2 { display: flex; gap: 4px; margin-top: 6px; justify-content: center; }
.pile2 { width: 34px; height: 50px; border-radius: 4px; border: 2px solid #f0e3c0; background: repeating-linear-gradient(45deg, #7a1f1f, #7a1f1f 5px, #8e2a2a 5px, #8e2a2a 10px); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; text-shadow: 0 1px 2px #000; }
.center-box { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; }

/* 아래쪽: 내 먹은 패 / 손패 / 내 정보 */
.bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 128px; background: #0f2c1e99; border-top: 1px solid #2f6a4b; }
.mycap { position: absolute; left: 6px; top: 5px; width: 190px; }
.hand2 { position: absolute; left: 202px; right: 160px; bottom: 4px; display: flex; align-items: flex-end; }
.hand2 .card { transition: transform .1s; }
.hand2 .card:hover { transform: translateY(-8px); }
.myinfo { position: absolute; right: 6px; bottom: 4px; width: 150px; background: #17402d; border: 1px solid #2f6a4b; border-radius: 8px; padding: 5px; }
.btns { display: flex; gap: 4px; margin-top: 4px; }
.btns b { font-size: 10px; background: #3b5b49; border-radius: 5px; padding: 2px 6px; font-weight: 700; }
.btns b.y { background: #e6c15a; color: #2b2208; }
.opts { position: absolute; left: 6px; bottom: 4px; display: flex; flex-direction: column; gap: 3px; }
.opts b { font-size: 10px; background: #3b5b49; border-radius: 5px; padding: 3px 7px; font-weight: 700; }
.logo { position: absolute; font-size: 10px; color: #cfe3d655; right: 10px; top: 4px; }
